2025-08-20 09:12:44,605 - INFO - Domain Default found not creating 2025-08-20 09:12:44,735 - INFO - Project ctest-TestRouters-88096455 not found, creating it 2025-08-20 09:12:45,232 - INFO - Created Project:ctest-TestRouters-88096455, ID : 8af29213-8186-4dc5-93b8-f5b032cedfbc 2025-08-20 09:12:46,642 - INFO - ================================================================================ 2025-08-20 09:12:46,642 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-20 09:12:46,642 - 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-20 09:12:46,900 - DEBUG - Nothing to compare xmpp stats {'10.0.0.49': {'10.20.0.17': '0'}} with 2025-08-20 09:12:46,900 - INFO - Initial checks done. Running the testcase now 2025-08-20 09:12:46,900 - INFO - 2025-08-20 09:12:47,428 - DEBUG - Response for create_network : {'network': {'id': 'fca001f9-3d6d-4c54-9f81-b9aecb7408bf', 'name': 'ctest-vn1-93251622', 'tenant_id': '8af2921381864dc593b8f5b032cedfbc', 'project_id': '8af2921381864dc593b8f5b032cedfbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88096455', 'ctest-vn1-93251622'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:12:47,600 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ddae0de-70d4-447c-b77c-5023ea0d7e05', 'name': '', 'tenant_id': '8af2921381864dc593b8f5b032cedfbc', 'network_id': 'fca001f9-3d6d-4c54-9f81-b9aecb7408bf', 'ip_version': 4, 'cidr': '216.166.121.0/26', 'allocation_pools': [{'start': '216.166.121.2', 'end': '216.166.121.62'}], 'gateway_ip': '216.166.121.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.166.121.2', 'tags': [], 'project_id': '8af2921381864dc593b8f5b032cedfbc'}} 2025-08-20 09:12:47,614 - INFO - Created VN ctest-vn1-93251622 2025-08-20 09:12:47,664 - DEBUG - VN ctest-vn1-93251622 UUID is fca001f9-3d6d-4c54-9f81-b9aecb7408bf 2025-08-20 09:12:47,965 - DEBUG - Response for create_network : {'network': {'id': '40188591-3c1e-48f3-9639-c58fa56a12b0', 'name': 'ctest-vn2-72136494', 'tenant_id': '8af2921381864dc593b8f5b032cedfbc', 'project_id': '8af2921381864dc593b8f5b032cedfbc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88096455', 'ctest-vn2-72136494'], 'port_security_enabled': True, 'description': ''}} 2025-08-20 09:12:48,140 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ff23dc0-d569-499c-88b4-7552cf2322d7', 'name': '', 'tenant_id': '8af2921381864dc593b8f5b032cedfbc', 'network_id': '40188591-3c1e-48f3-9639-c58fa56a12b0', 'ip_version': 4, 'cidr': '16.52.231.64/26', 'allocation_pools': [{'start': '16.52.231.66', 'end': '16.52.231.126'}], 'gateway_ip': '16.52.231.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.52.231.66', 'tags': [], 'project_id': '8af2921381864dc593b8f5b032cedfbc'}} 2025-08-20 09:12:48,156 - INFO - Created VN ctest-vn2-72136494 2025-08-20 09:12:48,208 - DEBUG - VN ctest-vn2-72136494 UUID is 40188591-3c1e-48f3-9639-c58fa56a12b0 2025-08-20 09:12:48,399 - DEBUG - Services list from nova: [, , ] 2025-08-20 09:12:49,328 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3890-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3890-1) 2025-08-20 09:12:50,458 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3890-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3890-1) 2025-08-20 09:12:50,520 - INFO - Adding interface with subnet_id 0ddae0de-70d4-447c-b77c-5023ea0d7e05, port_id None to router 46a779ed-6044-4e91-ba3b-8bf026cbf6dc 2025-08-20 09:12:50,837 - INFO - Waiting for VM ctest-vn1-vm1-43455398 to be up.. 2025-08-20 09:12:50,972 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-20 09:12:56,039 - DEBUG - VM is in ACTIVE state now 2025-08-20 09:12:56,039 - INFO - VM name : ctest-vn1-vm1-43455398 2025-08-20 09:12:56,102 - DEBUG - VM ctest-vn1-vm1-43455398 ID is e3bf5160-8f19-4bd4-b648-071a4ec664ff 2025-08-20 09:12:56,118 - DEBUG - VM ctest-vn1-vm1-43455398 launched on Node cn-jenkins-deploy-platform-ansible-os-3890-1 2025-08-20 09:12:56,181 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/e3bf5160-8f19-4bd4-b648-071a4ec664ff 2025-08-20 09:12:56,468 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/e3bf5160-8f19-4bd4-b648-071a4ec664ff 2025-08-20 09:12:56,494 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/efd8a0dd-45ff-4384-b30c-cf695496768f 2025-08-20 09:12:59,749 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1020ms') 2025-08-20 09:12:59,750 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43455398 failed! 2025-08-20 09:12:59,804 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-88096455:ctest-vn1-93251622 is 216.166.121.1 and allocation pool is NOT set 2025-08-20 09:13:01,863 - 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=1 ttl=63 time=6.14 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.375 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.375/3.258/6.142/2.883 ms') 2025-08-20 09:13:01,863 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-43455398 passed 2025-08-20 09:13:02,012 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:13:02,012 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-43455398, IP 216.166.121.3, Port 22 2025-08-20 09:13:02,171 - DEBUG - VM ctest-vn1-vm1-43455398 is ready for SSH connections 2025-08-20 09:13:02,171 - INFO - Waiting for VM ctest-vn2-vm1-39120065 to be up.. 2025-08-20 09:13:02,249 - DEBUG - VM is in ACTIVE state now 2025-08-20 09:13:02,249 - INFO - VM name : ctest-vn2-vm1-39120065 2025-08-20 09:13:02,317 - DEBUG - VM ctest-vn2-vm1-39120065 ID is 3256c3c0-460c-4330-88ab-434d90b5f11f 2025-08-20 09:13:02,317 - DEBUG - VM ctest-vn2-vm1-39120065 launched on Node cn-jenkins-deploy-platform-ansible-os-3890-1 2025-08-20 09:13:02,388 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine/3256c3c0-460c-4330-88ab-434d90b5f11f 2025-08-20 09:13:02,397 - DEBUG - Requesting: http://10.0.0.49:8082/virtual-machine-interface/52f22a8a-a7b7-4dac-aa78-806fc2086f42 2025-08-20 09:13:03,627 - 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.65 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.304 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.304/1.478/2.652/1.174 ms') 2025-08-20 09:13:03,627 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-39120065 passed 2025-08-20 09:13:03,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:13:03,776 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-39120065, IP 16.52.231.67, Port 22 2025-08-20 09:13:03,927 - DEBUG - VM ctest-vn2-vm1-39120065 is ready for SSH connections 2025-08-20 09:13:03,927 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:13:03,927 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.52.231.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-20 09:13:03,927 - DEBUG - ping -s 56 -c 3 -W 1 16.52.231.67 2025-08-20 09:13:08,638 - DEBUG - PING 16.52.231.67 (16.52.231.67): 56 data bytes --- 16.52.231.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 09:13:08,638 - WARNING - Ping to IP 16.52.231.67 from VM ctest-vn1-vm1-43455398 failed 2025-08-20 09:13:08,638 - INFO - Adding interface with subnet_id 9ff23dc0-d569-499c-88b4-7552cf2322d7, port_id None to router 46a779ed-6044-4e91-ba3b-8bf026cbf6dc 2025-08-20 09:13:08,877 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:13:08,877 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.52.231.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-20 09:13:08,877 - DEBUG - ping -s 56 -c 3 -W 1 16.52.231.67 2025-08-20 09:13:11,074 - DEBUG - PING 16.52.231.67 (16.52.231.67): 56 data bytes 64 bytes from 16.52.231.67: seq=0 ttl=63 time=2.265 ms 64 bytes from 16.52.231.67: seq=1 ttl=63 time=0.769 ms 64 bytes from 16.52.231.67: seq=2 ttl=63 time=0.620 ms --- 16.52.231.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.620/1.218/2.265 ms 2025-08-20 09:13:11,074 - INFO - Ping to IP 16.52.231.67 from VM ctest-vn1-vm1-43455398 passed 2025-08-20 09:13:11,075 - INFO - Deleting interface with subnet_id 0ddae0de-70d4-447c-b77c-5023ea0d7e05, port_id None from router 46a779ed-6044-4e91-ba3b-8bf026cbf6dc 2025-08-20 09:13:11,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:13:11,182 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.52.231.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-20 09:13:11,182 - DEBUG - ping -s 56 -c 3 -W 1 16.52.231.67 2025-08-20 09:13:14,375 - DEBUG - PING 16.52.231.67 (16.52.231.67): 56 data bytes --- 16.52.231.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-20 09:13:14,376 - WARNING - Ping to IP 16.52.231.67 from VM ctest-vn1-vm1-43455398 failed 2025-08-20 09:13:14,376 - INFO - Adding interface with subnet_id 0ddae0de-70d4-447c-b77c-5023ea0d7e05, port_id None to router 46a779ed-6044-4e91-ba3b-8bf026cbf6dc 2025-08-20 09:13:14,583 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-20 09:13:14,583 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.52.231.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-20 09:13:14,583 - DEBUG - ping -s 56 -c 3 -W 1 16.52.231.67 2025-08-20 09:13:17,775 - DEBUG - PING 16.52.231.67 (16.52.231.67): 56 data bytes 64 bytes from 16.52.231.67: seq=1 ttl=63 time=1.229 ms 64 bytes from 16.52.231.67: seq=2 ttl=63 time=0.728 ms --- 16.52.231.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.728/0.978/1.229 ms 2025-08-20 09:13:17,775 - WARNING - Ping to IP 16.52.231.67 from VM ctest-vn1-vm1-43455398 failed 2025-08-20 09:13:18,776 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.52.231.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-20 09:13:18,776 - DEBUG - ping -s 56 -c 3 -W 1 16.52.231.67 2025-08-20 09:13:20,978 - DEBUG - PING 16.52.231.67 (16.52.231.67): 56 data bytes 64 bytes from 16.52.231.67: seq=0 ttl=63 time=1.279 ms 64 bytes from 16.52.231.67: seq=1 ttl=63 time=0.696 ms 64 bytes from 16.52.231.67: seq=2 ttl=63 time=0.715 ms --- 16.52.231.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.696/0.896/1.279 ms 2025-08-20 09:13:20,978 - INFO - Ping to IP 16.52.231.67 from VM ctest-vn1-vm1-43455398 passed 2025-08-20 09:13:20,978 - INFO - Deleting interface with subnet_id 9ff23dc0-d569-499c-88b4-7552cf2322d7, port_id None from router 46a779ed-6044-4e91-ba3b-8bf026cbf6dc 2025-08-20 09:13:21,080 - INFO - Deleting interface with subnet_id 0ddae0de-70d4-447c-b77c-5023ea0d7e05, port_id None from router 46a779ed-6044-4e91-ba3b-8bf026cbf6dc 2025-08-20 09:13:21,252 - INFO - Deleting VM ctest-vn2-vm1-39120065 2025-08-20 09:13:21,316 - INFO - Deleting VM ctest-vn1-vm1-43455398 2025-08-20 09:13:21,383 - INFO - Deleting VN ctest-vn2-72136494 2025-08-20 09:13:21,415 - DEBUG - VN 40188591-3c1e-48f3-9639-c58fa56a12b0 still in use: Unable to complete operation on network 40188591-3c1e-48f3-9639-c58fa56a12b0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-44d2b094-2548-49a1-a91c-8dc4e001731a'] 2025-08-20 09:13:21,415 - WARNING - Deleting VN ctest-vn2-72136494 failed..Will retry 2025-08-20 09:13:23,503 - DEBUG - Response for deleting network () 2025-08-20 09:13:23,503 - INFO - Deleting VN ctest-vn1-93251622 2025-08-20 09:13:23,626 - DEBUG - Response for deleting network () 2025-08-20 09:13:23,876 - DEBUG - No XMPP flaps were noticed during the test
2025-08-20 09:13:23,876 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-08-20 09:13:23,876 - INFO - -------------------------------------------------------------------------------- 2025-08-20 09:13:24,518 - INFO - Deleted project: ctest-TestRouters-88096455, ID : 8af29213-8186-4dc5-93b8-f5b032cedfbc