2025-12-19 17:07:10,606 - INFO - Domain Default found not creating 2025-12-19 17:07:10,781 - INFO - Project ctest-TestRouters-16950417 not found, creating it 2025-12-19 17:07:11,305 - INFO - Created Project:ctest-TestRouters-16950417, ID : 2d824ab1-7cf4-48a5-9b27-e55afcbca644 2025-12-19 17:07:12,973 - INFO - ================================================================================ 2025-12-19 17:07:12,974 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-19 17:07:12,974 - 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-12-19 17:07:13,229 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2025-12-19 17:07:13,229 - INFO - Initial checks done. Running the testcase now 2025-12-19 17:07:13,229 - INFO - 2025-12-19 17:07:13,855 - DEBUG - Response for create_network : {'network': {'id': 'd4c99028-cac9-4532-ba17-dfd5c2238634', 'name': 'ctest-vn1-72458495', 'tenant_id': '2d824ab17cf448a59b27e55afcbca644', 'project_id': '2d824ab17cf448a59b27e55afcbca644', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-16950417', 'ctest-vn1-72458495'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 17:07:14,108 - DEBUG - Response for create_subnet : {'subnet': {'id': '8eb33acd-aab1-4e27-b950-f24a30116933', 'name': '', 'tenant_id': '2d824ab17cf448a59b27e55afcbca644', 'network_id': 'd4c99028-cac9-4532-ba17-dfd5c2238634', 'ip_version': 4, 'cidr': '9.184.175.64/26', 'allocation_pools': [{'start': '9.184.175.66', 'end': '9.184.175.126'}], 'gateway_ip': '9.184.175.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.184.175.66', 'tags': [], 'project_id': '2d824ab17cf448a59b27e55afcbca644'}} 2025-12-19 17:07:14,130 - INFO - Created VN ctest-vn1-72458495 2025-12-19 17:07:14,183 - DEBUG - VN ctest-vn1-72458495 UUID is d4c99028-cac9-4532-ba17-dfd5c2238634 2025-12-19 17:07:14,550 - DEBUG - Response for create_network : {'network': {'id': '1cbf1029-6de0-4b89-9007-bdd2367d7ec1', 'name': 'ctest-vn2-86919297', 'tenant_id': '2d824ab17cf448a59b27e55afcbca644', 'project_id': '2d824ab17cf448a59b27e55afcbca644', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-16950417', 'ctest-vn2-86919297'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 17:07:14,757 - DEBUG - Response for create_subnet : {'subnet': {'id': '1daf2894-4636-4ed0-85b6-73bae3721dc9', 'name': '', 'tenant_id': '2d824ab17cf448a59b27e55afcbca644', 'network_id': '1cbf1029-6de0-4b89-9007-bdd2367d7ec1', 'ip_version': 4, 'cidr': '100.177.160.192/26', 'allocation_pools': [{'start': '100.177.160.194', 'end': '100.177.160.254'}], 'gateway_ip': '100.177.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '100.177.160.194', 'tags': [], 'project_id': '2d824ab17cf448a59b27e55afcbca644'}} 2025-12-19 17:07:14,777 - INFO - Created VN ctest-vn2-86919297 2025-12-19 17:07:14,839 - DEBUG - VN ctest-vn2-86919297 UUID is 1cbf1029-6de0-4b89-9007-bdd2367d7ec1 2025-12-19 17:07:15,011 - DEBUG - Services list from nova: [, , ] 2025-12-19 17:07:16,140 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4911-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4911-1) 2025-12-19 17:07:17,501 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4911-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4911-1) 2025-12-19 17:07:17,575 - INFO - Adding interface with subnet_id 8eb33acd-aab1-4e27-b950-f24a30116933, port_id None to router 0467b7f0-5d1f-4d7d-a0d9-c7ba13c03bb1 2025-12-19 17:07:17,852 - INFO - Waiting for VM ctest-vn1-vm1-47148581 to be up.. 2025-12-19 17:07:17,947 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-19 17:07:23,027 - DEBUG - VM is in ACTIVE state now 2025-12-19 17:07:23,027 - INFO - VM name : ctest-vn1-vm1-47148581 2025-12-19 17:07:23,116 - DEBUG - VM ctest-vn1-vm1-47148581 ID is 4ef7a904-fb9f-419e-9fc8-435df6dc6a27 2025-12-19 17:07:23,137 - DEBUG - VM ctest-vn1-vm1-47148581 launched on Node cn-jenkins-deploy-platform-ansible-os-4911-1 2025-12-19 17:07:23,213 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4ef7a904-fb9f-419e-9fc8-435df6dc6a27 2025-12-19 17:07:23,557 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4ef7a904-fb9f-419e-9fc8-435df6dc6a27 2025-12-19 17:07:23,593 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/42e7a14b-fe66-437f-a850-9bdda8c00f38 2025-12-19 17:07:26,842 - 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 1002ms') 2025-12-19 17:07:26,842 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47148581 failed! 2025-12-19 17:07:26,895 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-16950417:ctest-vn1-72458495 is 9.184.175.65 and allocation pool is NOT set 2025-12-19 17:07:28,955 - 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=4.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.725 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.725/2.476/4.228/1.751 ms') 2025-12-19 17:07:28,955 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-47148581 passed 2025-12-19 17:07:29,111 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:07:29,111 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-47148581, IP 9.184.175.67, Port 22 2025-12-19 17:07:29,267 - DEBUG - VM ctest-vn1-vm1-47148581 is ready for SSH connections 2025-12-19 17:07:29,267 - INFO - Waiting for VM ctest-vn2-vm1-08148198 to be up.. 2025-12-19 17:07:29,350 - DEBUG - VM is in ACTIVE state now 2025-12-19 17:07:29,350 - INFO - VM name : ctest-vn2-vm1-08148198 2025-12-19 17:07:29,438 - DEBUG - VM ctest-vn2-vm1-08148198 ID is 1879af97-9af1-497b-88b7-13728c96c4c1 2025-12-19 17:07:29,438 - DEBUG - VM ctest-vn2-vm1-08148198 launched on Node cn-jenkins-deploy-platform-ansible-os-4911-1 2025-12-19 17:07:29,524 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/1879af97-9af1-497b-88b7-13728c96c4c1 2025-12-19 17:07:29,533 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c2a06597-3a48-4933-8669-738962edf159 2025-12-19 17:07:30,769 - 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=3.41 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.97 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.969/3.189/3.409/0.220 ms') 2025-12-19 17:07:30,769 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-08148198 passed 2025-12-19 17:07:30,919 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:07:30,919 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-08148198, IP 100.177.160.195, Port 22 2025-12-19 17:07:30,986 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-19 17:07:31,065 - DEBUG - VM ctest-vn2-vm1-08148198 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-19 17:07:36,066 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:07:36,066 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-08148198, IP 100.177.160.195, Port 22 2025-12-19 17:07:36,222 - DEBUG - VM ctest-vn2-vm1-08148198 is ready for SSH connections 2025-12-19 17:07:36,222 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:07:36,222 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.177.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-19 17:07:36,222 - DEBUG - ping -s 56 -c 3 -W 1 100.177.160.195 2025-12-19 17:07:41,295 - DEBUG - PING 100.177.160.195 (100.177.160.195): 56 data bytes --- 100.177.160.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-19 17:07:41,295 - WARNING - Ping to IP 100.177.160.195 from VM ctest-vn1-vm1-47148581 failed 2025-12-19 17:07:41,295 - INFO - Adding interface with subnet_id 1daf2894-4636-4ed0-85b6-73bae3721dc9, port_id None to router 0467b7f0-5d1f-4d7d-a0d9-c7ba13c03bb1 2025-12-19 17:07:41,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:07:41,549 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.177.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-19 17:07:41,549 - DEBUG - ping -s 56 -c 3 -W 1 100.177.160.195 2025-12-19 17:07:44,774 - DEBUG - PING 100.177.160.195 (100.177.160.195): 56 data bytes 64 bytes from 100.177.160.195: seq=1 ttl=63 time=2.761 ms 64 bytes from 100.177.160.195: seq=2 ttl=63 time=0.894 ms --- 100.177.160.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.894/1.827/2.761 ms 2025-12-19 17:07:44,774 - WARNING - Ping to IP 100.177.160.195 from VM ctest-vn1-vm1-47148581 failed 2025-12-19 17:07:45,775 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.177.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-19 17:07:45,775 - DEBUG - ping -s 56 -c 3 -W 1 100.177.160.195 2025-12-19 17:07:48,002 - DEBUG - PING 100.177.160.195 (100.177.160.195): 56 data bytes 64 bytes from 100.177.160.195: seq=0 ttl=63 time=1.577 ms 64 bytes from 100.177.160.195: seq=1 ttl=63 time=0.835 ms 64 bytes from 100.177.160.195: seq=2 ttl=63 time=0.851 ms --- 100.177.160.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.835/1.087/1.577 ms 2025-12-19 17:07:48,002 - INFO - Ping to IP 100.177.160.195 from VM ctest-vn1-vm1-47148581 passed 2025-12-19 17:07:48,002 - INFO - Deleting interface with subnet_id 8eb33acd-aab1-4e27-b950-f24a30116933, port_id None from router 0467b7f0-5d1f-4d7d-a0d9-c7ba13c03bb1 2025-12-19 17:07:48,122 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:07:48,122 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.177.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-19 17:07:48,123 - DEBUG - ping -s 56 -c 3 -W 1 100.177.160.195 2025-12-19 17:07:51,356 - DEBUG - PING 100.177.160.195 (100.177.160.195): 56 data bytes --- 100.177.160.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-19 17:07:51,356 - WARNING - Ping to IP 100.177.160.195 from VM ctest-vn1-vm1-47148581 failed 2025-12-19 17:07:51,356 - INFO - Adding interface with subnet_id 8eb33acd-aab1-4e27-b950-f24a30116933, port_id None to router 0467b7f0-5d1f-4d7d-a0d9-c7ba13c03bb1 2025-12-19 17:07:51,573 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 17:07:51,574 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 100.177.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-12-19 17:07:51,574 - DEBUG - ping -s 56 -c 3 -W 1 100.177.160.195 2025-12-19 17:07:53,812 - DEBUG - PING 100.177.160.195 (100.177.160.195): 56 data bytes 64 bytes from 100.177.160.195: seq=0 ttl=63 time=1.761 ms 64 bytes from 100.177.160.195: seq=1 ttl=63 time=0.994 ms 64 bytes from 100.177.160.195: seq=2 ttl=63 time=0.796 ms --- 100.177.160.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.796/1.183/1.761 ms 2025-12-19 17:07:53,812 - INFO - Ping to IP 100.177.160.195 from VM ctest-vn1-vm1-47148581 passed 2025-12-19 17:07:53,812 - INFO - Deleting interface with subnet_id 1daf2894-4636-4ed0-85b6-73bae3721dc9, port_id None from router 0467b7f0-5d1f-4d7d-a0d9-c7ba13c03bb1 2025-12-19 17:07:53,925 - INFO - Deleting interface with subnet_id 8eb33acd-aab1-4e27-b950-f24a30116933, port_id None from router 0467b7f0-5d1f-4d7d-a0d9-c7ba13c03bb1 2025-12-19 17:07:54,110 - INFO - Deleting VM ctest-vn2-vm1-08148198 2025-12-19 17:07:54,192 - INFO - Deleting VM ctest-vn1-vm1-47148581 2025-12-19 17:07:54,267 - INFO - Deleting VN ctest-vn2-86919297 2025-12-19 17:07:54,305 - DEBUG - VN 1cbf1029-6de0-4b89-9007-bdd2367d7ec1 still in use: Unable to complete operation on network 1cbf1029-6de0-4b89-9007-bdd2367d7ec1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d11f8a2d-9ca7-46a8-9819-1e516e72f1fa'] 2025-12-19 17:07:54,306 - WARNING - Deleting VN ctest-vn2-86919297 failed..Will retry 2025-12-19 17:07:56,413 - DEBUG - Response for deleting network () 2025-12-19 17:07:56,413 - INFO - Deleting VN ctest-vn1-72458495 2025-12-19 17:07:56,513 - DEBUG - Response for deleting network () 2025-12-19 17:07:56,769 - DEBUG - No XMPP flaps were noticed during the test 2025-12-19 17:07:56,769 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-12-19 17:07:56,769 - INFO - -------------------------------------------------------------------------------- 2025-12-19 17:07:57,495 - INFO - Deleted project: ctest-TestRouters-16950417, ID : 2d824ab1-7cf4-48a5-9b27-e55afcbca644