2025-09-18 01:48:45,229 - INFO - Domain Default found not creating 2025-09-18 01:48:45,437 - INFO - Project ctest-TestRouters-52497829 not found, creating it 2025-09-18 01:48:45,891 - INFO - Created Project:ctest-TestRouters-52497829, ID : 72b58f29-34ff-42b8-b8f4-e875780aef40 2025-09-18 01:48:47,283 - INFO - ================================================================================ 2025-09-18 01:48:47,283 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-18 01:48:47,284 - 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-09-18 01:48:47,538 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with 2025-09-18 01:48:47,538 - INFO - Initial checks done. Running the testcase now 2025-09-18 01:48:47,540 - INFO - 2025-09-18 01:48:48,065 - DEBUG - Response for create_network : {'network': {'id': '4596cf17-6d9f-44f5-bcb3-fd39aee62a3b', 'name': 'ctest-vn1-24432583', 'tenant_id': '72b58f2934ff42b8b8f4e875780aef40', 'project_id': '72b58f2934ff42b8b8f4e875780aef40', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-52497829', 'ctest-vn1-24432583'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 01:48:48,250 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ae75e379-870d-4b42-9982-c567217f94b9', 'name': '', 'tenant_id': '72b58f2934ff42b8b8f4e875780aef40', 'network_id': '4596cf17-6d9f-44f5-bcb3-fd39aee62a3b', 'ip_version': 4, 'cidr': '1.188.195.64/26', 'allocation_pools': [{'start': '1.188.195.66', 'end': '1.188.195.126'}], 'gateway_ip': '1.188.195.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '1.188.195.66', 'tags': [], 'project_id': '72b58f2934ff42b8b8f4e875780aef40'}} 2025-09-18 01:48:48,264 - INFO - Created VN ctest-vn1-24432583 2025-09-18 01:48:48,313 - DEBUG - VN ctest-vn1-24432583 UUID is 4596cf17-6d9f-44f5-bcb3-fd39aee62a3b 2025-09-18 01:48:48,617 - DEBUG - Response for create_network : {'network': {'id': 'e505115a-a0f4-4260-99b8-6c49caf4aa4d', 'name': 'ctest-vn2-79938516', 'tenant_id': '72b58f2934ff42b8b8f4e875780aef40', 'project_id': '72b58f2934ff42b8b8f4e875780aef40', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-52497829', 'ctest-vn2-79938516'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 01:48:48,777 - DEBUG - Response for create_subnet : {'subnet': {'id': '775230af-df92-4bb5-abeb-8d5c0f8b316f', 'name': '', 'tenant_id': '72b58f2934ff42b8b8f4e875780aef40', 'network_id': 'e505115a-a0f4-4260-99b8-6c49caf4aa4d', 'ip_version': 4, 'cidr': '203.180.118.64/26', 'allocation_pools': [{'start': '203.180.118.66', 'end': '203.180.118.126'}], 'gateway_ip': '203.180.118.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.180.118.66', 'tags': [], 'project_id': '72b58f2934ff42b8b8f4e875780aef40'}} 2025-09-18 01:48:48,799 - INFO - Created VN ctest-vn2-79938516 2025-09-18 01:48:48,857 - DEBUG - VN ctest-vn2-79938516 UUID is e505115a-a0f4-4260-99b8-6c49caf4aa4d 2025-09-18 01:48:49,060 - DEBUG - Services list from nova: [, , ] 2025-09-18 01:48:50,024 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4133-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4133-1) 2025-09-18 01:48:51,183 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4133-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4133-1) 2025-09-18 01:48:51,244 - INFO - Adding interface with subnet_id ae75e379-870d-4b42-9982-c567217f94b9, port_id None to router 155febac-a041-499b-a2a7-88f21c7b0e9d 2025-09-18 01:48:51,503 - INFO - Waiting for VM ctest-vn1-vm1-52616706 to be up.. 2025-09-18 01:48:51,593 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 01:48:56,663 - DEBUG - VM is in ACTIVE state now 2025-09-18 01:48:56,663 - INFO - VM name : ctest-vn1-vm1-52616706 2025-09-18 01:48:56,729 - DEBUG - VM ctest-vn1-vm1-52616706 ID is 20d3731c-11e8-42c5-9c8f-a8745a316c5e 2025-09-18 01:48:56,746 - DEBUG - VM ctest-vn1-vm1-52616706 launched on Node cn-jenkins-deploy-platform-ansible-os-4133-1 2025-09-18 01:48:56,809 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/20d3731c-11e8-42c5-9c8f-a8745a316c5e 2025-09-18 01:48:57,101 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/20d3731c-11e8-42c5-9c8f-a8745a316c5e 2025-09-18 01:48:57,128 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/bfcd5db3-4d58-4596-8ee6-01b09ad07d43 2025-09-18 01:49:00,373 - 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 1015ms') 2025-09-18 01:49:00,373 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52616706 failed! 2025-09-18 01:49:00,429 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-52497829:ctest-vn1-24432583 is 1.188.195.65 and allocation pool is NOT set 2025-09-18 01:49:02,494 - 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=2.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.504 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.504/1.641/2.779/1.137 ms') 2025-09-18 01:49:02,494 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52616706 passed 2025-09-18 01:49:02,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:49:02,641 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52616706, IP 1.188.195.67, Port 22 2025-09-18 01:49:02,801 - DEBUG - VM ctest-vn1-vm1-52616706 is ready for SSH connections 2025-09-18 01:49:02,801 - INFO - Waiting for VM ctest-vn2-vm1-71559194 to be up.. 2025-09-18 01:49:02,866 - DEBUG - VM is in ACTIVE state now 2025-09-18 01:49:02,867 - INFO - VM name : ctest-vn2-vm1-71559194 2025-09-18 01:49:02,934 - DEBUG - VM ctest-vn2-vm1-71559194 ID is ca5ab3c5-20d0-4b6f-8f95-84ea9d3c3341 2025-09-18 01:49:02,935 - DEBUG - VM ctest-vn2-vm1-71559194 launched on Node cn-jenkins-deploy-platform-ansible-os-4133-1 2025-09-18 01:49:03,003 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/ca5ab3c5-20d0-4b6f-8f95-84ea9d3c3341 2025-09-18 01:49:03,011 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/6d0a5d07-e779-4390-8e14-50e06e540c36 2025-09-18 01:49:04,242 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.457 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.457/1.722/2.988/1.265 ms') 2025-09-18 01:49:04,242 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-71559194 passed 2025-09-18 01:49:04,393 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:49:04,393 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-71559194, IP 203.180.118.67, Port 22 2025-09-18 01:49:04,552 - DEBUG - VM ctest-vn2-vm1-71559194 is ready for SSH connections 2025-09-18 01:49:04,552 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:49:04,552 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.180.118.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-09-18 01:49:04,552 - DEBUG - ping -s 56 -c 3 -W 1 203.180.118.67 2025-09-18 01:49:09,213 - DEBUG - PING 203.180.118.67 (203.180.118.67): 56 data bytes --- 203.180.118.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-18 01:49:09,213 - WARNING - Ping to IP 203.180.118.67 from VM ctest-vn1-vm1-52616706 failed 2025-09-18 01:49:09,213 - INFO - Adding interface with subnet_id 775230af-df92-4bb5-abeb-8d5c0f8b316f, port_id None to router 155febac-a041-499b-a2a7-88f21c7b0e9d 2025-09-18 01:49:09,445 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:49:09,446 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.180.118.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-09-18 01:49:09,446 - DEBUG - ping -s 56 -c 3 -W 1 203.180.118.67 2025-09-18 01:49:12,639 - DEBUG - PING 203.180.118.67 (203.180.118.67): 56 data bytes 64 bytes from 203.180.118.67: seq=1 ttl=63 time=2.582 ms 64 bytes from 203.180.118.67: seq=2 ttl=63 time=1.012 ms --- 203.180.118.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.012/1.797/2.582 ms 2025-09-18 01:49:12,639 - WARNING - Ping to IP 203.180.118.67 from VM ctest-vn1-vm1-52616706 failed 2025-09-18 01:49:13,640 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.180.118.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-09-18 01:49:13,640 - DEBUG - ping -s 56 -c 3 -W 1 203.180.118.67 2025-09-18 01:49:15,840 - DEBUG - PING 203.180.118.67 (203.180.118.67): 56 data bytes 64 bytes from 203.180.118.67: seq=0 ttl=63 time=1.226 ms 64 bytes from 203.180.118.67: seq=1 ttl=63 time=0.744 ms 64 bytes from 203.180.118.67: seq=2 ttl=63 time=0.718 ms --- 203.180.118.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.718/0.896/1.226 ms 2025-09-18 01:49:15,840 - INFO - Ping to IP 203.180.118.67 from VM ctest-vn1-vm1-52616706 passed 2025-09-18 01:49:15,840 - INFO - Deleting interface with subnet_id ae75e379-870d-4b42-9982-c567217f94b9, port_id None from router 155febac-a041-499b-a2a7-88f21c7b0e9d 2025-09-18 01:49:15,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:49:15,949 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.180.118.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-09-18 01:49:15,949 - DEBUG - ping -s 56 -c 3 -W 1 203.180.118.67 2025-09-18 01:49:19,150 - DEBUG - PING 203.180.118.67 (203.180.118.67): 56 data bytes --- 203.180.118.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-18 01:49:19,150 - WARNING - Ping to IP 203.180.118.67 from VM ctest-vn1-vm1-52616706 failed 2025-09-18 01:49:19,151 - INFO - Adding interface with subnet_id ae75e379-870d-4b42-9982-c567217f94b9, port_id None to router 155febac-a041-499b-a2a7-88f21c7b0e9d 2025-09-18 01:49:19,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 01:49:19,350 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.180.118.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-09-18 01:49:19,350 - DEBUG - ping -s 56 -c 3 -W 1 203.180.118.67 2025-09-18 01:49:21,543 - DEBUG - PING 203.180.118.67 (203.180.118.67): 56 data bytes 64 bytes from 203.180.118.67: seq=0 ttl=63 time=1.453 ms 64 bytes from 203.180.118.67: seq=1 ttl=63 time=1.092 ms 64 bytes from 203.180.118.67: seq=2 ttl=63 time=1.366 ms --- 203.180.118.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.092/1.303/1.453 ms 2025-09-18 01:49:21,543 - INFO - Ping to IP 203.180.118.67 from VM ctest-vn1-vm1-52616706 passed 2025-09-18 01:49:21,543 - INFO - Deleting interface with subnet_id 775230af-df92-4bb5-abeb-8d5c0f8b316f, port_id None from router 155febac-a041-499b-a2a7-88f21c7b0e9d 2025-09-18 01:49:21,690 - INFO - Deleting interface with subnet_id ae75e379-870d-4b42-9982-c567217f94b9, port_id None from router 155febac-a041-499b-a2a7-88f21c7b0e9d 2025-09-18 01:49:21,876 - INFO - Deleting VM ctest-vn2-vm1-71559194 2025-09-18 01:49:21,942 - INFO - Deleting VM ctest-vn1-vm1-52616706 2025-09-18 01:49:22,011 - INFO - Deleting VN ctest-vn2-79938516 2025-09-18 01:49:22,049 - DEBUG - VN e505115a-a0f4-4260-99b8-6c49caf4aa4d still in use: Unable to complete operation on network e505115a-a0f4-4260-99b8-6c49caf4aa4d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ba60aafd-a766-45ac-9263-e75243706ee9'] 2025-09-18 01:49:22,049 - WARNING - Deleting VN ctest-vn2-79938516 failed..Will retry 2025-09-18 01:49:24,132 - DEBUG - Response for deleting network () 2025-09-18 01:49:24,132 - INFO - Deleting VN ctest-vn1-24432583 2025-09-18 01:49:24,212 - DEBUG - Response for deleting network () 2025-09-18 01:49:24,469 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 01:49:24,469 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-09-18 01:49:24,469 - INFO - -------------------------------------------------------------------------------- 2025-09-18 01:49:25,137 - INFO - Deleted project: ctest-TestRouters-52497829, ID : 72b58f29-34ff-42b8-b8f4-e875780aef40