2025-12-10 02:27:57,802 - INFO - Domain Default found not creating 2025-12-10 02:27:58,003 - INFO - Project ctest-TestRouters-41637839 not found, creating it 2025-12-10 02:27:58,541 - INFO - Created Project:ctest-TestRouters-41637839, ID : bff70ddb-f57c-4a44-8b5e-bed47ede924e 2025-12-10 02:28:00,380 - INFO - ================================================================================ 2025-12-10 02:28:00,381 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-10 02:28:00,381 - 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-10 02:28:00,658 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with 2025-12-10 02:28:00,658 - INFO - Initial checks done. Running the testcase now 2025-12-10 02:28:00,658 - INFO - 2025-12-10 02:28:01,394 - DEBUG - Response for create_network : {'network': {'id': 'b8b7193f-4f31-4596-81da-fb7cdc77f3c3', 'name': 'ctest-vn1-06343407', 'tenant_id': 'bff70ddbf57c4a448b5ebed47ede924e', 'project_id': 'bff70ddbf57c4a448b5ebed47ede924e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41637839', 'ctest-vn1-06343407'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 02:28:01,618 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ca717b9-0b78-41b2-8b8c-be6ca86cf4dc', 'name': '', 'tenant_id': 'bff70ddbf57c4a448b5ebed47ede924e', 'network_id': 'b8b7193f-4f31-4596-81da-fb7cdc77f3c3', 'ip_version': 4, 'cidr': '202.211.84.0/26', 'allocation_pools': [{'start': '202.211.84.2', 'end': '202.211.84.62'}], 'gateway_ip': '202.211.84.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.211.84.2', 'tags': [], 'project_id': 'bff70ddbf57c4a448b5ebed47ede924e'}} 2025-12-10 02:28:01,651 - INFO - Created VN ctest-vn1-06343407 2025-12-10 02:28:01,708 - DEBUG - VN ctest-vn1-06343407 UUID is b8b7193f-4f31-4596-81da-fb7cdc77f3c3 2025-12-10 02:28:02,010 - DEBUG - Response for create_network : {'network': {'id': '461a50b9-f199-4597-a296-31f0f544ea05', 'name': 'ctest-vn2-56174559', 'tenant_id': 'bff70ddbf57c4a448b5ebed47ede924e', 'project_id': 'bff70ddbf57c4a448b5ebed47ede924e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41637839', 'ctest-vn2-56174559'], 'port_security_enabled': True, 'description': ''}} 2025-12-10 02:28:02,201 - DEBUG - Response for create_subnet : {'subnet': {'id': '25b07c25-7d49-486f-afc5-4ce66e25eabd', 'name': '', 'tenant_id': 'bff70ddbf57c4a448b5ebed47ede924e', 'network_id': '461a50b9-f199-4597-a296-31f0f544ea05', 'ip_version': 4, 'cidr': '198.126.147.128/26', 'allocation_pools': [{'start': '198.126.147.130', 'end': '198.126.147.190'}], 'gateway_ip': '198.126.147.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.126.147.130', 'tags': [], 'project_id': 'bff70ddbf57c4a448b5ebed47ede924e'}} 2025-12-10 02:28:02,221 - INFO - Created VN ctest-vn2-56174559 2025-12-10 02:28:02,272 - DEBUG - VN ctest-vn2-56174559 UUID is 461a50b9-f199-4597-a296-31f0f544ea05 2025-12-10 02:28:02,460 - DEBUG - Services list from nova: [, , ] 2025-12-10 02:28:03,674 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4874-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4874-1) 2025-12-10 02:28:05,096 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4874-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4874-1) 2025-12-10 02:28:05,174 - INFO - Adding interface with subnet_id 0ca717b9-0b78-41b2-8b8c-be6ca86cf4dc, port_id None to router 321b51c3-91c2-4a68-8234-dea5ad6edba7 2025-12-10 02:28:05,508 - INFO - Waiting for VM ctest-vn1-vm1-07949881 to be up.. 2025-12-10 02:28:05,681 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-10 02:28:10,769 - DEBUG - VM is in ACTIVE state now 2025-12-10 02:28:10,769 - INFO - VM name : ctest-vn1-vm1-07949881 2025-12-10 02:28:10,853 - DEBUG - VM ctest-vn1-vm1-07949881 ID is f4efc781-bceb-4b37-a248-b0e0d794b200 2025-12-10 02:28:10,881 - DEBUG - VM ctest-vn1-vm1-07949881 launched on Node cn-jenkins-deploy-platform-ansible-os-4874-1 2025-12-10 02:28:10,965 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f4efc781-bceb-4b37-a248-b0e0d794b200 2025-12-10 02:28:11,312 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f4efc781-bceb-4b37-a248-b0e0d794b200 2025-12-10 02:28:11,350 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/0aa481d1-d4e9-472e-82a7-4c42239f1daa 2025-12-10 02:28:14,623 - 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 1025ms') 2025-12-10 02:28:14,623 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07949881 failed! 2025-12-10 02:28:14,680 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-41637839:ctest-vn1-06343407 is 202.211.84.1 and allocation pool is NOT set 2025-12-10 02:28:16,748 - 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=5.61 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.28 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 = 2.275/3.944/5.614/1.669 ms') 2025-12-10 02:28:16,748 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07949881 passed 2025-12-10 02:28:16,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 02:28:16,908 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07949881, IP 202.211.84.3, Port 22 2025-12-10 02:28:16,974 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-12-10 02:28:17,065 - DEBUG - VM ctest-vn1-vm1-07949881 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-10 02:28:22,065 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 02:28:22,066 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07949881, IP 202.211.84.3, Port 22 2025-12-10 02:28:22,223 - DEBUG - VM ctest-vn1-vm1-07949881 is ready for SSH connections 2025-12-10 02:28:22,224 - INFO - Waiting for VM ctest-vn2-vm1-34232431 to be up.. 2025-12-10 02:28:22,305 - DEBUG - VM is in ACTIVE state now 2025-12-10 02:28:22,305 - INFO - VM name : ctest-vn2-vm1-34232431 2025-12-10 02:28:22,392 - DEBUG - VM ctest-vn2-vm1-34232431 ID is 40c2d5a8-4367-4bf3-9d15-facb453424bb 2025-12-10 02:28:22,392 - DEBUG - VM ctest-vn2-vm1-34232431 launched on Node cn-jenkins-deploy-platform-ansible-os-4874-1 2025-12-10 02:28:22,486 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/40c2d5a8-4367-4bf3-9d15-facb453424bb 2025-12-10 02:28:22,496 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/75646845-7432-47a4-85fd-8210ff332e86 2025-12-10 02:28:23,749 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 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 = 0.462/2.572/4.683/2.110 ms') 2025-12-10 02:28:23,749 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-34232431 passed 2025-12-10 02:28:23,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 02:28:23,912 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-34232431, IP 198.126.147.131, Port 22 2025-12-10 02:28:24,083 - DEBUG - VM ctest-vn2-vm1-34232431 is ready for SSH connections 2025-12-10 02:28:24,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 02:28:24,083 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.126.147.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-10 02:28:24,083 - DEBUG - ping -s 56 -c 3 -W 1 198.126.147.131 2025-12-10 02:28:29,331 - DEBUG - PING 198.126.147.131 (198.126.147.131): 56 data bytes --- 198.126.147.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-10 02:28:29,331 - WARNING - Ping to IP 198.126.147.131 from VM ctest-vn1-vm1-07949881 failed 2025-12-10 02:28:29,332 - INFO - Adding interface with subnet_id 25b07c25-7d49-486f-afc5-4ce66e25eabd, port_id None to router 321b51c3-91c2-4a68-8234-dea5ad6edba7 2025-12-10 02:28:29,608 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 02:28:29,608 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.126.147.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-10 02:28:29,608 - DEBUG - ping -s 56 -c 3 -W 1 198.126.147.131 2025-12-10 02:28:31,879 - DEBUG - PING 198.126.147.131 (198.126.147.131): 56 data bytes 64 bytes from 198.126.147.131: seq=0 ttl=63 time=3.249 ms 64 bytes from 198.126.147.131: seq=1 ttl=63 time=1.160 ms 64 bytes from 198.126.147.131: seq=2 ttl=63 time=1.214 ms --- 198.126.147.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.160/1.874/3.249 ms 2025-12-10 02:28:31,879 - INFO - Ping to IP 198.126.147.131 from VM ctest-vn1-vm1-07949881 passed 2025-12-10 02:28:31,879 - INFO - Deleting interface with subnet_id 0ca717b9-0b78-41b2-8b8c-be6ca86cf4dc, port_id None from router 321b51c3-91c2-4a68-8234-dea5ad6edba7 2025-12-10 02:28:32,060 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 02:28:32,060 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.126.147.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-10 02:28:32,060 - DEBUG - ping -s 56 -c 3 -W 1 198.126.147.131 2025-12-10 02:28:35,308 - DEBUG - PING 198.126.147.131 (198.126.147.131): 56 data bytes --- 198.126.147.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-10 02:28:35,308 - WARNING - Ping to IP 198.126.147.131 from VM ctest-vn1-vm1-07949881 failed 2025-12-10 02:28:35,308 - INFO - Adding interface with subnet_id 0ca717b9-0b78-41b2-8b8c-be6ca86cf4dc, port_id None to router 321b51c3-91c2-4a68-8234-dea5ad6edba7 2025-12-10 02:28:35,528 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-10 02:28:35,528 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.126.147.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-10 02:28:35,528 - DEBUG - ping -s 56 -c 3 -W 1 198.126.147.131 2025-12-10 02:28:37,775 - DEBUG - PING 198.126.147.131 (198.126.147.131): 56 data bytes 64 bytes from 198.126.147.131: seq=0 ttl=63 time=1.885 ms 64 bytes from 198.126.147.131: seq=1 ttl=63 time=1.243 ms 64 bytes from 198.126.147.131: seq=2 ttl=63 time=0.928 ms --- 198.126.147.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.928/1.352/1.885 ms 2025-12-10 02:28:37,775 - INFO - Ping to IP 198.126.147.131 from VM ctest-vn1-vm1-07949881 passed 2025-12-10 02:28:37,775 - INFO - Deleting interface with subnet_id 25b07c25-7d49-486f-afc5-4ce66e25eabd, port_id None from router 321b51c3-91c2-4a68-8234-dea5ad6edba7 2025-12-10 02:28:37,933 - INFO - Deleting interface with subnet_id 0ca717b9-0b78-41b2-8b8c-be6ca86cf4dc, port_id None from router 321b51c3-91c2-4a68-8234-dea5ad6edba7 2025-12-10 02:28:38,135 - INFO - Deleting VM ctest-vn2-vm1-34232431 2025-12-10 02:28:38,223 - INFO - Deleting VM ctest-vn1-vm1-07949881 2025-12-10 02:28:38,315 - INFO - Deleting VN ctest-vn2-56174559 2025-12-10 02:28:38,357 - DEBUG - VN 461a50b9-f199-4597-a296-31f0f544ea05 still in use: Unable to complete operation on network 461a50b9-f199-4597-a296-31f0f544ea05. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d285a937-7fdc-46ee-b22d-26e380194fed'] 2025-12-10 02:28:38,358 - WARNING - Deleting VN ctest-vn2-56174559 failed..Will retry 2025-12-10 02:28:40,463 - DEBUG - Response for deleting network () 2025-12-10 02:28:40,463 - INFO - Deleting VN ctest-vn1-06343407 2025-12-10 02:28:40,569 - DEBUG - Response for deleting network () 2025-12-10 02:28:40,826 - DEBUG - No XMPP flaps were noticed during the test 2025-12-10 02:28:40,826 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40] 2025-12-10 02:28:40,826 - INFO - -------------------------------------------------------------------------------- 2025-12-10 02:28:41,566 - INFO - Deleted project: ctest-TestRouters-41637839, ID : bff70ddb-f57c-4a44-8b5e-bed47ede924e