2025-11-20 17:08:05,727 - INFO - Domain Default found not creating 2025-11-20 17:08:05,913 - INFO - Project ctest-TestRouters-78479940 not found, creating it 2025-11-20 17:08:06,440 - INFO - Created Project:ctest-TestRouters-78479940, ID : 40c99104-485f-439b-894e-190e2da0a691 2025-11-20 17:08:08,103 - INFO - ================================================================================ 2025-11-20 17:08:08,103 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-20 17:08:08,103 - 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-11-20 17:08:08,365 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.5': '0'}} with 2025-11-20 17:08:08,365 - INFO - Initial checks done. Running the testcase now 2025-11-20 17:08:08,365 - INFO - 2025-11-20 17:08:08,996 - DEBUG - Response for create_network : {'network': {'id': '6dfef174-29a3-4a2f-b8d5-3092006a2c9b', 'name': 'ctest-vn1-68537864', 'tenant_id': '40c99104485f439b894e190e2da0a691', 'project_id': '40c99104485f439b894e190e2da0a691', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-78479940', 'ctest-vn1-68537864'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:08:09,171 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8c543f2-a5e9-4c95-8a0d-c1c0946de643', 'name': '', 'tenant_id': '40c99104485f439b894e190e2da0a691', 'network_id': '6dfef174-29a3-4a2f-b8d5-3092006a2c9b', 'ip_version': 4, 'cidr': '17.127.105.64/26', 'allocation_pools': [{'start': '17.127.105.66', 'end': '17.127.105.126'}], 'gateway_ip': '17.127.105.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '17.127.105.66', 'tags': [], 'project_id': '40c99104485f439b894e190e2da0a691'}} 2025-11-20 17:08:09,193 - INFO - Created VN ctest-vn1-68537864 2025-11-20 17:08:09,247 - DEBUG - VN ctest-vn1-68537864 UUID is 6dfef174-29a3-4a2f-b8d5-3092006a2c9b 2025-11-20 17:08:09,591 - DEBUG - Response for create_network : {'network': {'id': '5505a3ef-0005-4b51-9db8-43518431cab7', 'name': 'ctest-vn2-81387503', 'tenant_id': '40c99104485f439b894e190e2da0a691', 'project_id': '40c99104485f439b894e190e2da0a691', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-78479940', 'ctest-vn2-81387503'], 'port_security_enabled': True, 'description': ''}} 2025-11-20 17:08:09,803 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3fb7e26-4d72-4e6d-9892-1a5ba8902739', 'name': '', 'tenant_id': '40c99104485f439b894e190e2da0a691', 'network_id': '5505a3ef-0005-4b51-9db8-43518431cab7', 'ip_version': 4, 'cidr': '6.134.37.192/26', 'allocation_pools': [{'start': '6.134.37.194', 'end': '6.134.37.254'}], 'gateway_ip': '6.134.37.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.134.37.194', 'tags': [], 'project_id': '40c99104485f439b894e190e2da0a691'}} 2025-11-20 17:08:09,824 - INFO - Created VN ctest-vn2-81387503 2025-11-20 17:08:09,879 - DEBUG - VN ctest-vn2-81387503 UUID is 5505a3ef-0005-4b51-9db8-43518431cab7 2025-11-20 17:08:10,060 - DEBUG - Services list from nova: [, , ] 2025-11-20 17:08:11,267 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4781-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4781-1) 2025-11-20 17:08:12,504 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4781-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4781-1) 2025-11-20 17:08:12,598 - INFO - Adding interface with subnet_id d8c543f2-a5e9-4c95-8a0d-c1c0946de643, port_id None to router 2327311d-9611-4e49-8ea6-b153dec0e883 2025-11-20 17:08:12,955 - INFO - Waiting for VM ctest-vn1-vm1-72807568 to be up.. 2025-11-20 17:08:13,116 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-20 17:08:18,202 - DEBUG - VM is in ACTIVE state now 2025-11-20 17:08:18,202 - INFO - VM name : ctest-vn1-vm1-72807568 2025-11-20 17:08:18,291 - DEBUG - VM ctest-vn1-vm1-72807568 ID is fe7c5136-9903-4c3d-8618-ca98e80fbccf 2025-11-20 17:08:18,311 - DEBUG - VM ctest-vn1-vm1-72807568 launched on Node cn-jenkins-deploy-platform-ansible-os-4781-1 2025-11-20 17:08:18,394 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/fe7c5136-9903-4c3d-8618-ca98e80fbccf 2025-11-20 17:08:18,700 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/fe7c5136-9903-4c3d-8618-ca98e80fbccf 2025-11-20 17:08:18,760 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/02cf6ccf-c224-4f40-a98c-50d6ea22fc56 2025-11-20 17:08:22,052 - 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 1032ms') 2025-11-20 17:08:22,052 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72807568 failed! 2025-11-20 17:08:22,111 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-78479940:ctest-vn1-68537864 is 17.127.105.65 and allocation pool is NOT set 2025-11-20 17:08:24,175 - 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=12.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.98 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 = 3.984/8.030/12.076/4.046 ms') 2025-11-20 17:08:24,175 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-72807568 passed 2025-11-20 17:08:24,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:08:24,339 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-72807568, IP 17.127.105.67, Port 22 2025-11-20 17:08:24,503 - DEBUG - VM ctest-vn1-vm1-72807568 is ready for SSH connections 2025-11-20 17:08:24,503 - INFO - Waiting for VM ctest-vn2-vm1-69891077 to be up.. 2025-11-20 17:08:24,589 - DEBUG - VM is in ACTIVE state now 2025-11-20 17:08:24,589 - INFO - VM name : ctest-vn2-vm1-69891077 2025-11-20 17:08:24,676 - DEBUG - VM ctest-vn2-vm1-69891077 ID is 40367044-3b1e-424b-82a9-08f57db4d2ce 2025-11-20 17:08:24,676 - DEBUG - VM ctest-vn2-vm1-69891077 launched on Node cn-jenkins-deploy-platform-ansible-os-4781-1 2025-11-20 17:08:24,769 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/40367044-3b1e-424b-82a9-08f57db4d2ce 2025-11-20 17:08:24,780 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/90e8a45c-8a8c-44cb-abb8-484446f26a93 2025-11-20 17:08:26,047 - 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=4.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.76 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 = 1.756/3.030/4.305/1.274 ms') 2025-11-20 17:08:26,048 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-69891077 passed 2025-11-20 17:08:26,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:08:26,211 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-69891077, IP 6.134.37.195, Port 22 2025-11-20 17:08:26,378 - DEBUG - VM ctest-vn2-vm1-69891077 is ready for SSH connections 2025-11-20 17:08:26,378 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:08:26,378 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.134.37.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-20 17:08:26,379 - DEBUG - ping -s 56 -c 3 -W 1 6.134.37.195 2025-11-20 17:08:31,412 - DEBUG - PING 6.134.37.195 (6.134.37.195): 56 data bytes --- 6.134.37.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-20 17:08:31,412 - WARNING - Ping to IP 6.134.37.195 from VM ctest-vn1-vm1-72807568 failed 2025-11-20 17:08:31,412 - INFO - Adding interface with subnet_id e3fb7e26-4d72-4e6d-9892-1a5ba8902739, port_id None to router 2327311d-9611-4e49-8ea6-b153dec0e883 2025-11-20 17:08:31,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:08:31,663 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.134.37.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-20 17:08:31,663 - DEBUG - ping -s 56 -c 3 -W 1 6.134.37.195 2025-11-20 17:08:34,872 - DEBUG - PING 6.134.37.195 (6.134.37.195): 56 data bytes 64 bytes from 6.134.37.195: seq=1 ttl=63 time=4.250 ms 64 bytes from 6.134.37.195: seq=2 ttl=63 time=1.186 ms --- 6.134.37.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.186/2.718/4.250 ms 2025-11-20 17:08:34,872 - WARNING - Ping to IP 6.134.37.195 from VM ctest-vn1-vm1-72807568 failed 2025-11-20 17:08:35,873 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.134.37.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-20 17:08:35,873 - DEBUG - ping -s 56 -c 3 -W 1 6.134.37.195 2025-11-20 17:08:38,088 - DEBUG - PING 6.134.37.195 (6.134.37.195): 56 data bytes 64 bytes from 6.134.37.195: seq=0 ttl=63 time=1.740 ms 64 bytes from 6.134.37.195: seq=1 ttl=63 time=1.025 ms 64 bytes from 6.134.37.195: seq=2 ttl=63 time=1.319 ms --- 6.134.37.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.025/1.361/1.740 ms 2025-11-20 17:08:38,088 - INFO - Ping to IP 6.134.37.195 from VM ctest-vn1-vm1-72807568 passed 2025-11-20 17:08:38,089 - INFO - Deleting interface with subnet_id d8c543f2-a5e9-4c95-8a0d-c1c0946de643, port_id None from router 2327311d-9611-4e49-8ea6-b153dec0e883 2025-11-20 17:08:38,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:08:38,211 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.134.37.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-20 17:08:38,211 - DEBUG - ping -s 56 -c 3 -W 1 6.134.37.195 2025-11-20 17:08:41,456 - DEBUG - PING 6.134.37.195 (6.134.37.195): 56 data bytes --- 6.134.37.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-20 17:08:41,456 - WARNING - Ping to IP 6.134.37.195 from VM ctest-vn1-vm1-72807568 failed 2025-11-20 17:08:41,456 - INFO - Adding interface with subnet_id d8c543f2-a5e9-4c95-8a0d-c1c0946de643, port_id None to router 2327311d-9611-4e49-8ea6-b153dec0e883 2025-11-20 17:08:41,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-20 17:08:41,685 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 6.134.37.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-11-20 17:08:41,685 - DEBUG - ping -s 56 -c 3 -W 1 6.134.37.195 2025-11-20 17:08:43,915 - DEBUG - PING 6.134.37.195 (6.134.37.195): 56 data bytes 64 bytes from 6.134.37.195: seq=0 ttl=63 time=2.064 ms 64 bytes from 6.134.37.195: seq=1 ttl=63 time=1.446 ms 64 bytes from 6.134.37.195: seq=2 ttl=63 time=0.965 ms --- 6.134.37.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.965/1.491/2.064 ms 2025-11-20 17:08:43,915 - INFO - Ping to IP 6.134.37.195 from VM ctest-vn1-vm1-72807568 passed 2025-11-20 17:08:43,915 - INFO - Deleting interface with subnet_id e3fb7e26-4d72-4e6d-9892-1a5ba8902739, port_id None from router 2327311d-9611-4e49-8ea6-b153dec0e883 2025-11-20 17:08:44,056 - INFO - Deleting interface with subnet_id d8c543f2-a5e9-4c95-8a0d-c1c0946de643, port_id None from router 2327311d-9611-4e49-8ea6-b153dec0e883 2025-11-20 17:08:44,271 - INFO - Deleting VM ctest-vn2-vm1-69891077 2025-11-20 17:08:44,358 - INFO - Deleting VM ctest-vn1-vm1-72807568 2025-11-20 17:08:44,451 - INFO - Deleting VN ctest-vn2-81387503 2025-11-20 17:08:44,494 - DEBUG - VN 5505a3ef-0005-4b51-9db8-43518431cab7 still in use: Unable to complete operation on network 5505a3ef-0005-4b51-9db8-43518431cab7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ee3891f1-9834-4980-8213-adc716fba844'] 2025-11-20 17:08:44,494 - WARNING - Deleting VN ctest-vn2-81387503 failed..Will retry 2025-11-20 17:08:46,604 - DEBUG - Response for deleting network () 2025-11-20 17:08:46,604 - INFO - Deleting VN ctest-vn1-68537864 2025-11-20 17:08:46,724 - DEBUG - Response for deleting network () 2025-11-20 17:08:46,996 - DEBUG - No XMPP flaps were noticed during the test
2025-11-20 17:08:46,996 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-11-20 17:08:46,996 - INFO - -------------------------------------------------------------------------------- 2025-11-20 17:08:47,730 - INFO - Deleted project: ctest-TestRouters-78479940, ID : 40c99104-485f-439b-894e-190e2da0a691