2025-08-28 21:25:34,080 - INFO - Domain Default found not creating 2025-08-28 21:25:34,197 - INFO - Project ctest-TestRouters-13898601 not found, creating it 2025-08-28 21:25:34,628 - INFO - Created Project:ctest-TestRouters-13898601, ID : 927a4a9d-4b39-4b40-b5ef-37720ff7d481 2025-08-28 21:25:36,015 - INFO - ================================================================================ 2025-08-28 21:25:36,015 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-28 21:25:36,015 - INFO - TEST DESCRIPTION : Validate a router is able to route packets between two VNs Create a router Create 2 VNs, and a VM in each Add router port from each VN Ping between VMs 2025-08-28 21:25:36,271 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.254': '0'}} with 2025-08-28 21:25:36,271 - INFO - Initial checks done. Running the testcase now 2025-08-28 21:25:36,271 - INFO - 2025-08-28 21:25:36,789 - DEBUG - Response for create_network : {'network': {'id': '3ff67b20-0e75-46fe-9ecf-d3af760366cb', 'name': 'ctest-vn1-81553140', 'tenant_id': '927a4a9d4b394b40b5ef37720ff7d481', 'project_id': '927a4a9d4b394b40b5ef37720ff7d481', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-13898601', 'ctest-vn1-81553140'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 21:25:36,982 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aad5eb5f-5a3e-4794-8d73-42dcfdffa4a6', 'name': '', 'tenant_id': '927a4a9d4b394b40b5ef37720ff7d481', 'network_id': '3ff67b20-0e75-46fe-9ecf-d3af760366cb', 'ip_version': 4, 'cidr': '38.26.37.64/26', 'allocation_pools': [{'start': '38.26.37.66', 'end': '38.26.37.126'}], 'gateway_ip': '38.26.37.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.26.37.66', 'tags': [], 'project_id': '927a4a9d4b394b40b5ef37720ff7d481'}} 2025-08-28 21:25:36,996 - INFO - Created VN ctest-vn1-81553140 2025-08-28 21:25:37,047 - DEBUG - VN ctest-vn1-81553140 UUID is 3ff67b20-0e75-46fe-9ecf-d3af760366cb 2025-08-28 21:25:37,357 - DEBUG - Response for create_network : {'network': {'id': '5efe4d58-f18a-466b-b7c3-fe7bdf189541', 'name': 'ctest-vn2-21609779', 'tenant_id': '927a4a9d4b394b40b5ef37720ff7d481', 'project_id': '927a4a9d4b394b40b5ef37720ff7d481', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-13898601', 'ctest-vn2-21609779'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 21:25:37,540 - DEBUG - Response for create_subnet : {'subnet': {'id': '61ef64f1-036c-4542-bd21-f478c59bd775', 'name': '', 'tenant_id': '927a4a9d4b394b40b5ef37720ff7d481', 'network_id': '5efe4d58-f18a-466b-b7c3-fe7bdf189541', 'ip_version': 4, 'cidr': '149.0.214.128/26', 'allocation_pools': [{'start': '149.0.214.130', 'end': '149.0.214.190'}], 'gateway_ip': '149.0.214.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.0.214.130', 'tags': [], 'project_id': '927a4a9d4b394b40b5ef37720ff7d481'}} 2025-08-28 21:25:37,557 - INFO - Created VN ctest-vn2-21609779 2025-08-28 21:25:37,623 - DEBUG - VN ctest-vn2-21609779 UUID is 5efe4d58-f18a-466b-b7c3-fe7bdf189541 2025-08-28 21:25:37,852 - DEBUG - Services list from nova: [, , ] 2025-08-28 21:25:38,792 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3967-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3967-1) 2025-08-28 21:25:39,934 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3967-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3967-1) 2025-08-28 21:25:39,990 - INFO - Adding interface with subnet_id aad5eb5f-5a3e-4794-8d73-42dcfdffa4a6, port_id None to router 79474043-85fb-4827-bf8b-bb384ed7f70b 2025-08-28 21:25:40,376 - INFO - Waiting for VM ctest-vn1-vm1-55025490 to be up.. 2025-08-28 21:25:40,506 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 21:25:45,571 - DEBUG - VM is in ACTIVE state now 2025-08-28 21:25:45,572 - INFO - VM name : ctest-vn1-vm1-55025490 2025-08-28 21:25:45,635 - DEBUG - VM ctest-vn1-vm1-55025490 ID is 558170a5-953d-4727-9e92-cb0b309422d5 2025-08-28 21:25:45,653 - DEBUG - VM ctest-vn1-vm1-55025490 launched on Node cn-jenkins-deploy-platform-ansible-os-3967-1 2025-08-28 21:25:45,719 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/558170a5-953d-4727-9e92-cb0b309422d5 2025-08-28 21:25:46,009 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/558170a5-953d-4727-9e92-cb0b309422d5 2025-08-28 21:25:46,036 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/5753de61-12e6-4200-9a71-873028608c3b 2025-08-28 21:25:49,289 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=9.19 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1024ms\r\nrtt min/avg/max/mdev = 9.187/9.187/9.187/0.000 ms') 2025-08-28 21:25:49,289 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-55025490 passed 2025-08-28 21:25:49,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 21:25:49,439 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-55025490, IP 38.26.37.67, Port 22 2025-08-28 21:25:49,594 - DEBUG - VM ctest-vn1-vm1-55025490 is ready for SSH connections 2025-08-28 21:25:49,594 - INFO - Waiting for VM ctest-vn2-vm1-84910204 to be up.. 2025-08-28 21:25:49,658 - DEBUG - VM is in ACTIVE state now 2025-08-28 21:25:49,658 - INFO - VM name : ctest-vn2-vm1-84910204 2025-08-28 21:25:49,719 - DEBUG - VM ctest-vn2-vm1-84910204 ID is ae91bdce-3c94-4465-9f6f-46fb56fb774b 2025-08-28 21:25:49,719 - DEBUG - VM ctest-vn2-vm1-84910204 launched on Node cn-jenkins-deploy-platform-ansible-os-3967-1 2025-08-28 21:25:49,779 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/ae91bdce-3c94-4465-9f6f-46fb56fb774b 2025-08-28 21:25:49,786 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/1c8f83f0-6638-4cfb-8c9e-94537b254480 2025-08-28 21:25:51,025 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.89 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.92 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.889/2.902/2.916/0.013 ms') 2025-08-28 21:25:51,025 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-84910204 passed 2025-08-28 21:25:51,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 21:25:51,179 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-84910204, IP 149.0.214.131, Port 22 2025-08-28 21:25:51,342 - DEBUG - VM ctest-vn2-vm1-84910204 is ready for SSH connections 2025-08-28 21:25:51,342 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 21:25:51,342 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.0.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-28 21:25:51,342 - DEBUG - ping -s 56 -c 3 -W 1 149.0.214.131 2025-08-28 21:25:55,987 - DEBUG - PING 149.0.214.131 (149.0.214.131): 56 data bytes --- 149.0.214.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-28 21:25:55,987 - WARNING - Ping to IP 149.0.214.131 from VM ctest-vn1-vm1-55025490 failed 2025-08-28 21:25:55,987 - INFO - Adding interface with subnet_id 61ef64f1-036c-4542-bd21-f478c59bd775, port_id None to router 79474043-85fb-4827-bf8b-bb384ed7f70b 2025-08-28 21:25:56,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 21:25:56,236 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.0.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-28 21:25:56,236 - DEBUG - ping -s 56 -c 3 -W 1 149.0.214.131 2025-08-28 21:25:58,428 - DEBUG - PING 149.0.214.131 (149.0.214.131): 56 data bytes 64 bytes from 149.0.214.131: seq=0 ttl=63 time=2.380 ms 64 bytes from 149.0.214.131: seq=1 ttl=63 time=0.791 ms 64 bytes from 149.0.214.131: seq=2 ttl=63 time=0.727 ms --- 149.0.214.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.727/1.299/2.380 ms 2025-08-28 21:25:58,428 - INFO - Ping to IP 149.0.214.131 from VM ctest-vn1-vm1-55025490 passed 2025-08-28 21:25:58,428 - INFO - Deleting interface with subnet_id aad5eb5f-5a3e-4794-8d73-42dcfdffa4a6, port_id None from router 79474043-85fb-4827-bf8b-bb384ed7f70b 2025-08-28 21:25:58,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 21:25:58,523 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.0.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-28 21:25:58,523 - DEBUG - ping -s 56 -c 3 -W 1 149.0.214.131 2025-08-28 21:26:01,711 - DEBUG - PING 149.0.214.131 (149.0.214.131): 56 data bytes --- 149.0.214.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-28 21:26:01,711 - WARNING - Ping to IP 149.0.214.131 from VM ctest-vn1-vm1-55025490 failed 2025-08-28 21:26:01,711 - INFO - Adding interface with subnet_id aad5eb5f-5a3e-4794-8d73-42dcfdffa4a6, port_id None to router 79474043-85fb-4827-bf8b-bb384ed7f70b 2025-08-28 21:26:01,914 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 21:26:01,914 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 149.0.214.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-28 21:26:01,914 - DEBUG - ping -s 56 -c 3 -W 1 149.0.214.131 2025-08-28 21:26:04,110 - DEBUG - PING 149.0.214.131 (149.0.214.131): 56 data bytes 64 bytes from 149.0.214.131: seq=0 ttl=63 time=1.331 ms 64 bytes from 149.0.214.131: seq=1 ttl=63 time=0.750 ms 64 bytes from 149.0.214.131: seq=2 ttl=63 time=0.749 ms --- 149.0.214.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.749/0.943/1.331 ms 2025-08-28 21:26:04,110 - INFO - Ping to IP 149.0.214.131 from VM ctest-vn1-vm1-55025490 passed 2025-08-28 21:26:04,110 - INFO - Deleting interface with subnet_id 61ef64f1-036c-4542-bd21-f478c59bd775, port_id None from router 79474043-85fb-4827-bf8b-bb384ed7f70b 2025-08-28 21:26:04,221 - INFO - Deleting interface with subnet_id aad5eb5f-5a3e-4794-8d73-42dcfdffa4a6, port_id None from router 79474043-85fb-4827-bf8b-bb384ed7f70b 2025-08-28 21:26:04,359 - INFO - Deleting VM ctest-vn2-vm1-84910204 2025-08-28 21:26:04,418 - INFO - Deleting VM ctest-vn1-vm1-55025490 2025-08-28 21:26:04,479 - INFO - Deleting VN ctest-vn2-21609779 2025-08-28 21:26:04,512 - DEBUG - VN 5efe4d58-f18a-466b-b7c3-fe7bdf189541 still in use: Unable to complete operation on network 5efe4d58-f18a-466b-b7c3-fe7bdf189541. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-794aa017-e97c-4361-a84c-86580ce7b52e'] 2025-08-28 21:26:04,512 - WARNING - Deleting VN ctest-vn2-21609779 failed..Will retry 2025-08-28 21:26:06,601 - DEBUG - Response for deleting network () 2025-08-28 21:26:06,601 - INFO - Deleting VN ctest-vn1-81553140 2025-08-28 21:26:06,683 - DEBUG - Response for deleting network () 2025-08-28 21:26:06,939 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 21:26:06,939 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:30]
2025-08-28 21:26:06,939 - INFO - -------------------------------------------------------------------------------- 2025-08-28 21:26:07,576 - INFO - Deleted project: ctest-TestRouters-13898601, ID : 927a4a9d-4b39-4b40-b5ef-37720ff7d481