2026-10-12 02:35:48,105 - INFO - Domain Default found not creating 2026-10-12 02:35:48,232 - INFO - Project ctest-TestRouters-87090307 not found, creating it 2026-10-12 02:35:48,751 - INFO - Created Project:ctest-TestRouters-87090307, ID : 94ab5a1c-3621-450e-a7db-c2520caec157 2026-10-12 02:35:50,400 - INFO - ================================================================================ 2026-10-12 02:35:50,401 - INFO - STARTING TEST : test_basic_router_behavior 2026-10-12 02:35:50,401 - 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 2026-10-12 02:35:51,666 - DEBUG - Nothing to compare xmpp stats {'10.0.0.188': {'10.20.0.30': '0', '10.20.0.25': '0'}, '10.0.0.189': {'10.20.0.30': '0', '10.20.0.25': '0'}} with 2026-10-12 02:35:51,666 - INFO - Initial checks done. Running the testcase now 2026-10-12 02:35:51,666 - INFO - 2026-10-12 02:35:52,344 - DEBUG - Response for create_network : {'network': {'id': '3d82d73e-291e-43ca-9be2-6a6d5affbdef', 'name': 'ctest-vn1-94809618', 'tenant_id': '94ab5a1c3621450ea7dbc2520caec157', 'project_id': '94ab5a1c3621450ea7dbc2520caec157', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-87090307', 'ctest-vn1-94809618'], 'port_security_enabled': True, 'description': ''}} 2026-10-12 02:35:52,538 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1cd73fe-7aad-41f7-aa42-7f48fd8c5952', 'name': '', 'tenant_id': '94ab5a1c3621450ea7dbc2520caec157', 'network_id': '3d82d73e-291e-43ca-9be2-6a6d5affbdef', 'ip_version': 4, 'cidr': '55.70.55.128/26', 'allocation_pools': [{'start': '55.70.55.130', 'end': '55.70.55.190'}], 'gateway_ip': '55.70.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '55.70.55.130', 'tags': [], 'project_id': '94ab5a1c3621450ea7dbc2520caec157'}} 2026-10-12 02:35:52,554 - INFO - Created VN ctest-vn1-94809618 2026-10-12 02:35:52,563 - DEBUG - VN ctest-vn1-94809618 UUID is 3d82d73e-291e-43ca-9be2-6a6d5affbdef 2026-10-12 02:35:52,899 - DEBUG - Response for create_network : {'network': {'id': 'db7842fc-7b90-41d1-8984-72be6258d155', 'name': 'ctest-vn2-99286378', 'tenant_id': '94ab5a1c3621450ea7dbc2520caec157', 'project_id': '94ab5a1c3621450ea7dbc2520caec157', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-87090307', 'ctest-vn2-99286378'], 'port_security_enabled': True, 'description': ''}} 2026-10-12 02:35:53,143 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e49c64a-e714-4f0a-be9b-5a1815a3dbd2', 'name': '', 'tenant_id': '94ab5a1c3621450ea7dbc2520caec157', 'network_id': 'db7842fc-7b90-41d1-8984-72be6258d155', 'ip_version': 4, 'cidr': '187.116.223.128/26', 'allocation_pools': [{'start': '187.116.223.130', 'end': '187.116.223.190'}], 'gateway_ip': '187.116.223.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.116.223.130', 'tags': [], 'project_id': '94ab5a1c3621450ea7dbc2520caec157'}} 2026-10-12 02:35:53,174 - INFO - Created VN ctest-vn2-99286378 2026-10-12 02:35:53,187 - DEBUG - VN ctest-vn2-99286378 UUID is db7842fc-7b90-41d1-8984-72be6258d155 2026-10-12 02:35:53,337 - DEBUG - Services list from nova: [, , , ] 2026-10-12 02:35:53,707 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6357-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6357-1) 2026-10-12 02:35:54,065 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-6357-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-6357-2) 2026-10-12 02:35:54,159 - INFO - Adding interface with subnet_id d1cd73fe-7aad-41f7-aa42-7f48fd8c5952, port_id None to router 51b2f85c-ddb0-4f61-964e-f6b4fe50f289 2026-10-12 02:35:54,501 - INFO - Waiting for VM ctest-vn1-vm1-73811156 to be up.. 2026-10-12 02:35:54,575 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:35:59,650 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:36:04,718 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:36:09,785 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:36:14,852 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 02:36:19,918 - DEBUG - VM is in ACTIVE state now 2026-10-12 02:36:19,918 - INFO - VM name : ctest-vn1-vm1-73811156 2026-10-12 02:36:19,980 - DEBUG - VM ctest-vn1-vm1-73811156 ID is 5fbea96d-0879-4310-b188-1d6ab4f96844 2026-10-12 02:36:20,002 - DEBUG - VM ctest-vn1-vm1-73811156 launched on Node an-jenkins-deploy-platform-ansible-os-6357-1 2026-10-12 02:36:20,070 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/5fbea96d-0879-4310-b188-1d6ab4f96844 2026-10-12 02:36:20,431 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/5fbea96d-0879-4310-b188-1d6ab4f96844 2026-10-12 02:36:20,457 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/25272747-6207-410e-a7ce-e624c177ac64 2026-10-12 02:36:23,641 - 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 1035ms') 2026-10-12 02:36:23,641 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73811156 failed! 2026-10-12 02:36:23,654 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-87090307:ctest-vn1-94809618 is 55.70.55.129 and allocation pool is NOT set 2026-10-12 02:36:25,718 - 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=9.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.328 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.328/4.835/9.342/4.507 ms') 2026-10-12 02:36:25,718 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-73811156 passed 2026-10-12 02:36:25,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:36:25,791 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-73811156, IP 55.70.55.131, Port 22 2026-10-12 02:36:25,962 - DEBUG - VM ctest-vn1-vm1-73811156 is ready for SSH connections 2026-10-12 02:36:25,962 - INFO - Waiting for VM ctest-vn2-vm1-94150234 to be up.. 2026-10-12 02:36:26,032 - DEBUG - VM is in ACTIVE state now 2026-10-12 02:36:26,032 - INFO - VM name : ctest-vn2-vm1-94150234 2026-10-12 02:36:26,099 - DEBUG - VM ctest-vn2-vm1-94150234 ID is e4714074-1c62-4d32-a4fe-57208551d10d 2026-10-12 02:36:26,099 - DEBUG - VM ctest-vn2-vm1-94150234 launched on Node an-jenkins-deploy-platform-ansible-os-6357-2 2026-10-12 02:36:26,169 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine/e4714074-1c62-4d32-a4fe-57208551d10d 2026-10-12 02:36:26,179 - DEBUG - Requesting: http://10.0.0.191:8082/virtual-machine-interface/a5b51514-904c-4e61-b521-76becb62d52c 2026-10-12 02:36:27,333 - 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.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.86 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 = 3.860/4.275/4.691/0.415 ms') 2026-10-12 02:36:27,334 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-94150234 passed 2026-10-12 02:36:27,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:36:27,402 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-94150234, IP 187.116.223.131, Port 22 2026-10-12 02:36:27,468 - 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': ''} 2026-10-12 02:36:27,534 - DEBUG - VM ctest-vn2-vm1-94150234 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-12 02:36:32,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:36:32,535 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-94150234, IP 187.116.223.131, Port 22 2026-10-12 02:36:32,700 - DEBUG - VM ctest-vn2-vm1-94150234 is ready for SSH connections 2026-10-12 02:36:32,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:36:32,700 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.116.223.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.188, gateway password: c0ntrail123 2026-10-12 02:36:32,700 - DEBUG - ping -s 56 -c 3 -W 1 187.116.223.131 2026-10-12 02:36:36,543 - DEBUG - PING 187.116.223.131 (187.116.223.131): 56 data bytes --- 187.116.223.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-10-12 02:36:36,543 - WARNING - Ping to IP 187.116.223.131 from VM ctest-vn1-vm1-73811156 failed 2026-10-12 02:36:36,543 - INFO - Adding interface with subnet_id 5e49c64a-e714-4f0a-be9b-5a1815a3dbd2, port_id None to router 51b2f85c-ddb0-4f61-964e-f6b4fe50f289 2026-10-12 02:36:36,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:36:36,891 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.116.223.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.188, gateway password: c0ntrail123 2026-10-12 02:36:36,891 - DEBUG - ping -s 56 -c 3 -W 1 187.116.223.131 2026-10-12 02:36:39,006 - DEBUG - PING 187.116.223.131 (187.116.223.131): 56 data bytes 64 bytes from 187.116.223.131: seq=0 ttl=63 time=4.212 ms 64 bytes from 187.116.223.131: seq=1 ttl=63 time=1.242 ms 64 bytes from 187.116.223.131: seq=2 ttl=63 time=1.056 ms --- 187.116.223.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.056/2.170/4.212 ms 2026-10-12 02:36:39,007 - INFO - Ping to IP 187.116.223.131 from VM ctest-vn1-vm1-73811156 passed 2026-10-12 02:36:39,007 - INFO - Deleting interface with subnet_id d1cd73fe-7aad-41f7-aa42-7f48fd8c5952, port_id None from router 51b2f85c-ddb0-4f61-964e-f6b4fe50f289 2026-10-12 02:36:39,184 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:36:39,184 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.116.223.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.188, gateway password: c0ntrail123 2026-10-12 02:36:39,185 - DEBUG - ping -s 56 -c 3 -W 1 187.116.223.131 2026-10-12 02:36:42,298 - DEBUG - PING 187.116.223.131 (187.116.223.131): 56 data bytes --- 187.116.223.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-10-12 02:36:42,299 - WARNING - Ping to IP 187.116.223.131 from VM ctest-vn1-vm1-73811156 failed 2026-10-12 02:36:42,299 - INFO - Adding interface with subnet_id d1cd73fe-7aad-41f7-aa42-7f48fd8c5952, port_id None to router 51b2f85c-ddb0-4f61-964e-f6b4fe50f289 2026-10-12 02:36:42,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 02:36:42,653 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 187.116.223.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.188, gateway password: c0ntrail123 2026-10-12 02:36:42,654 - DEBUG - ping -s 56 -c 3 -W 1 187.116.223.131 2026-10-12 02:36:44,779 - DEBUG - PING 187.116.223.131 (187.116.223.131): 56 data bytes 64 bytes from 187.116.223.131: seq=0 ttl=63 time=2.077 ms 64 bytes from 187.116.223.131: seq=1 ttl=63 time=1.046 ms 64 bytes from 187.116.223.131: seq=2 ttl=63 time=1.234 ms --- 187.116.223.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.046/1.452/2.077 ms 2026-10-12 02:36:44,779 - INFO - Ping to IP 187.116.223.131 from VM ctest-vn1-vm1-73811156 passed 2026-10-12 02:36:44,779 - INFO - Deleting interface with subnet_id 5e49c64a-e714-4f0a-be9b-5a1815a3dbd2, port_id None from router 51b2f85c-ddb0-4f61-964e-f6b4fe50f289 2026-10-12 02:36:44,971 - INFO - Deleting interface with subnet_id d1cd73fe-7aad-41f7-aa42-7f48fd8c5952, port_id None from router 51b2f85c-ddb0-4f61-964e-f6b4fe50f289 2026-10-12 02:36:45,244 - INFO - Deleting VM ctest-vn2-vm1-94150234 2026-10-12 02:36:45,313 - INFO - Deleting VM ctest-vn1-vm1-73811156 2026-10-12 02:36:45,370 - INFO - Deleting VN ctest-vn2-99286378 2026-10-12 02:36:45,405 - DEBUG - VN db7842fc-7b90-41d1-8984-72be6258d155 still in use: Unable to complete operation on network db7842fc-7b90-41d1-8984-72be6258d155. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-914719f8-8258-4cf9-875d-e932459b0478'] 2026-10-12 02:36:45,405 - WARNING - Deleting VN ctest-vn2-99286378 failed..Will retry 2026-10-12 02:36:47,603 - DEBUG - Response for deleting network () 2026-10-12 02:36:47,603 - INFO - Deleting VN ctest-vn1-94809618 2026-10-12 02:36:47,718 - DEBUG - Response for deleting network () 2026-10-12 02:36:48,989 - DEBUG - No XMPP flaps were noticed during the test
2026-10-12 02:36:48,989 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:58]
2026-10-12 02:36:48,989 - INFO - -------------------------------------------------------------------------------- 2026-10-12 02:36:49,766 - INFO - Deleted project: ctest-TestRouters-87090307, ID : 94ab5a1c-3621-450e-a7db-c2520caec157