2026-06-04 13:16:53,707 - INFO - Domain Default found not creating 2026-06-04 13:16:53,914 - INFO - Project ctest-TestRouters-99658426 not found, creating it 2026-06-04 13:16:54,474 - INFO - Created Project:ctest-TestRouters-99658426, ID : d064224a-7f26-4740-98c4-a63b8e756b3e 2026-06-04 13:16:56,037 - INFO - ================================================================================ 2026-06-04 13:16:56,037 - INFO - STARTING TEST : test_basic_router_behavior 2026-06-04 13:16:56,037 - 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-06-04 13:16:57,336 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.25': '0', '10.20.0.14': '0'}, '10.0.0.19': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2026-06-04 13:16:57,336 - INFO - Initial checks done. Running the testcase now 2026-06-04 13:16:57,336 - INFO - 2026-06-04 13:16:58,101 - DEBUG - Response for create_network : {'network': {'id': '4677779c-4f88-407b-8669-ae8363fdc996', 'name': 'ctest-vn1-51760260', 'tenant_id': 'd064224a7f26474098c4a63b8e756b3e', 'project_id': 'd064224a7f26474098c4a63b8e756b3e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99658426', 'ctest-vn1-51760260'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 13:16:58,384 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b872d03b-c587-472f-a75a-5fa679aeac2f', 'name': '', 'tenant_id': 'd064224a7f26474098c4a63b8e756b3e', 'network_id': '4677779c-4f88-407b-8669-ae8363fdc996', 'ip_version': 4, 'cidr': '81.12.107.0/26', 'allocation_pools': [{'start': '81.12.107.2', 'end': '81.12.107.62'}], 'gateway_ip': '81.12.107.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.12.107.2', 'tags': [], 'project_id': 'd064224a7f26474098c4a63b8e756b3e'}} 2026-06-04 13:16:58,416 - INFO - Created VN ctest-vn1-51760260 2026-06-04 13:16:58,432 - DEBUG - VN ctest-vn1-51760260 UUID is 4677779c-4f88-407b-8669-ae8363fdc996 2026-06-04 13:16:58,844 - DEBUG - Response for create_network : {'network': {'id': 'faf36583-3724-4a53-bd2d-7e75f385b660', 'name': 'ctest-vn2-55076287', 'tenant_id': 'd064224a7f26474098c4a63b8e756b3e', 'project_id': 'd064224a7f26474098c4a63b8e756b3e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99658426', 'ctest-vn2-55076287'], 'port_security_enabled': True, 'description': ''}} 2026-06-04 13:16:59,066 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd557525c-79ad-4a70-9754-f0b24fae6b01', 'name': '', 'tenant_id': 'd064224a7f26474098c4a63b8e756b3e', 'network_id': 'faf36583-3724-4a53-bd2d-7e75f385b660', 'ip_version': 4, 'cidr': '62.225.165.128/26', 'allocation_pools': [{'start': '62.225.165.130', 'end': '62.225.165.190'}], 'gateway_ip': '62.225.165.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '62.225.165.130', 'tags': [], 'project_id': 'd064224a7f26474098c4a63b8e756b3e'}} 2026-06-04 13:16:59,090 - INFO - Created VN ctest-vn2-55076287 2026-06-04 13:16:59,103 - DEBUG - VN ctest-vn2-55076287 UUID is faf36583-3724-4a53-bd2d-7e75f385b660 2026-06-04 13:16:59,269 - DEBUG - Services list from nova: [, , , ] 2026-06-04 13:17:00,527 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5890-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5890-2) 2026-06-04 13:17:02,243 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5890-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5890-1) 2026-06-04 13:17:02,392 - INFO - Adding interface with subnet_id b872d03b-c587-472f-a75a-5fa679aeac2f, port_id None to router c04c4076-ed95-4369-b6c7-300afee3d505 2026-06-04 13:17:02,796 - INFO - Waiting for VM ctest-vn1-vm1-23756460 to be up.. 2026-06-04 13:17:02,973 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-04 13:17:08,068 - DEBUG - VM is in ACTIVE state now 2026-06-04 13:17:08,068 - INFO - VM name : ctest-vn1-vm1-23756460 2026-06-04 13:17:08,197 - DEBUG - VM ctest-vn1-vm1-23756460 ID is e7a3e153-3650-4232-9f16-889fbe239edd 2026-06-04 13:17:08,235 - DEBUG - VM ctest-vn1-vm1-23756460 launched on Node an-jenkins-deploy-platform-ansible-os-5890-2 2026-06-04 13:17:08,347 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e7a3e153-3650-4232-9f16-889fbe239edd 2026-06-04 13:17:08,668 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/e7a3e153-3650-4232-9f16-889fbe239edd 2026-06-04 13:17:08,706 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/680db37e-f7c0-496b-8fa1-1d394146facd 2026-06-04 13:17:11,872 - 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 1003ms') 2026-06-04 13:17:11,872 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23756460 failed! 2026-06-04 13:17:11,890 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-99658426:ctest-vn1-51760260 is 81.12.107.1 and allocation pool is NOT set 2026-06-04 13:17:13,965 - 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=11.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.66 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.663/6.987/11.311/4.324 ms') 2026-06-04 13:17:13,965 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-23756460 passed 2026-06-04 13:17:14,038 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 13:17:14,038 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23756460, IP 81.12.107.3, Port 22 2026-06-04 13:17:14,118 - 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-06-04 13:17:14,224 - DEBUG - VM ctest-vn1-vm1-23756460 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-04 13:17:19,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 13:17:19,225 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-23756460, IP 81.12.107.3, Port 22 2026-06-04 13:17:19,385 - DEBUG - VM ctest-vn1-vm1-23756460 is ready for SSH connections 2026-06-04 13:17:19,385 - INFO - Waiting for VM ctest-vn2-vm1-69555307 to be up.. 2026-06-04 13:17:19,469 - DEBUG - VM is in ACTIVE state now 2026-06-04 13:17:19,469 - INFO - VM name : ctest-vn2-vm1-69555307 2026-06-04 13:17:19,566 - DEBUG - VM ctest-vn2-vm1-69555307 ID is 85e61b02-e5e3-43b5-aa7f-9385061df97e 2026-06-04 13:17:19,566 - DEBUG - VM ctest-vn2-vm1-69555307 launched on Node an-jenkins-deploy-platform-ansible-os-5890-1 2026-06-04 13:17:19,648 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine/85e61b02-e5e3-43b5-aa7f-9385061df97e 2026-06-04 13:17:19,658 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-machine-interface/2b583079-c157-4037-aca8-433aeeb8ce7f 2026-06-04 13:17:20,822 - 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.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.424 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.424/1.441/2.459/1.017 ms') 2026-06-04 13:17:20,822 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-69555307 passed 2026-06-04 13:17:20,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 13:17:20,900 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-69555307, IP 62.225.165.131, Port 22 2026-06-04 13:17:21,080 - DEBUG - VM ctest-vn2-vm1-69555307 is ready for SSH connections 2026-06-04 13:17:21,080 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 13:17:21,080 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.225.165.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-04 13:17:21,080 - DEBUG - ping -s 56 -c 3 -W 1 62.225.165.131 2026-06-04 13:17:25,054 - DEBUG - PING 62.225.165.131 (62.225.165.131): 56 data bytes --- 62.225.165.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-04 13:17:25,055 - WARNING - Ping to IP 62.225.165.131 from VM ctest-vn1-vm1-23756460 failed 2026-06-04 13:17:25,055 - INFO - Adding interface with subnet_id d557525c-79ad-4a70-9754-f0b24fae6b01, port_id None to router c04c4076-ed95-4369-b6c7-300afee3d505 2026-06-04 13:17:25,527 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 13:17:25,527 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.225.165.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-04 13:17:25,527 - DEBUG - ping -s 56 -c 3 -W 1 62.225.165.131 2026-06-04 13:17:28,751 - DEBUG - PING 62.225.165.131 (62.225.165.131): 56 data bytes 64 bytes from 62.225.165.131: seq=1 ttl=63 time=6.890 ms 64 bytes from 62.225.165.131: seq=2 ttl=63 time=1.575 ms --- 62.225.165.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.575/4.232/6.890 ms 2026-06-04 13:17:28,751 - WARNING - Ping to IP 62.225.165.131 from VM ctest-vn1-vm1-23756460 failed 2026-06-04 13:17:29,752 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.225.165.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-04 13:17:29,752 - DEBUG - ping -s 56 -c 3 -W 1 62.225.165.131 2026-06-04 13:17:31,958 - DEBUG - PING 62.225.165.131 (62.225.165.131): 56 data bytes 64 bytes from 62.225.165.131: seq=0 ttl=63 time=7.801 ms 64 bytes from 62.225.165.131: seq=1 ttl=63 time=1.335 ms 64 bytes from 62.225.165.131: seq=2 ttl=63 time=1.455 ms --- 62.225.165.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.335/3.530/7.801 ms 2026-06-04 13:17:31,958 - INFO - Ping to IP 62.225.165.131 from VM ctest-vn1-vm1-23756460 passed 2026-06-04 13:17:31,958 - INFO - Deleting interface with subnet_id b872d03b-c587-472f-a75a-5fa679aeac2f, port_id None from router c04c4076-ed95-4369-b6c7-300afee3d505 2026-06-04 13:17:32,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 13:17:32,280 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.225.165.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-04 13:17:32,280 - DEBUG - ping -s 56 -c 3 -W 1 62.225.165.131 2026-06-04 13:17:35,481 - DEBUG - PING 62.225.165.131 (62.225.165.131): 56 data bytes --- 62.225.165.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-06-04 13:17:35,482 - WARNING - Ping to IP 62.225.165.131 from VM ctest-vn1-vm1-23756460 failed 2026-06-04 13:17:35,482 - INFO - Adding interface with subnet_id b872d03b-c587-472f-a75a-5fa679aeac2f, port_id None to router c04c4076-ed95-4369-b6c7-300afee3d505 2026-06-04 13:17:35,857 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-04 13:17:35,857 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 62.225.165.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-06-04 13:17:35,857 - DEBUG - ping -s 56 -c 3 -W 1 62.225.165.131 2026-06-04 13:17:38,058 - DEBUG - PING 62.225.165.131 (62.225.165.131): 56 data bytes 64 bytes from 62.225.165.131: seq=0 ttl=63 time=3.179 ms 64 bytes from 62.225.165.131: seq=1 ttl=63 time=1.330 ms 64 bytes from 62.225.165.131: seq=2 ttl=63 time=1.355 ms --- 62.225.165.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.330/1.954/3.179 ms 2026-06-04 13:17:38,058 - INFO - Ping to IP 62.225.165.131 from VM ctest-vn1-vm1-23756460 passed 2026-06-04 13:17:38,059 - INFO - Deleting interface with subnet_id d557525c-79ad-4a70-9754-f0b24fae6b01, port_id None from router c04c4076-ed95-4369-b6c7-300afee3d505 2026-06-04 13:17:38,292 - INFO - Deleting interface with subnet_id b872d03b-c587-472f-a75a-5fa679aeac2f, port_id None from router c04c4076-ed95-4369-b6c7-300afee3d505 2026-06-04 13:17:38,666 - INFO - Deleting VM ctest-vn2-vm1-69555307 2026-06-04 13:17:38,787 - INFO - Deleting VM ctest-vn1-vm1-23756460 2026-06-04 13:17:38,857 - INFO - Deleting VN ctest-vn2-55076287 2026-06-04 13:17:38,905 - DEBUG - VN faf36583-3724-4a53-bd2d-7e75f385b660 still in use: Unable to complete operation on network faf36583-3724-4a53-bd2d-7e75f385b660. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3a71e9d3-8d44-48ad-811c-addae5f352c1'] 2026-06-04 13:17:38,905 - WARNING - Deleting VN ctest-vn2-55076287 failed..Will retry 2026-06-04 13:17:41,129 - DEBUG - Response for deleting network () 2026-06-04 13:17:41,129 - INFO - Deleting VN ctest-vn1-51760260 2026-06-04 13:17:41,332 - DEBUG - Response for deleting network () 2026-06-04 13:17:42,611 - DEBUG - No XMPP flaps were noticed during the test
2026-06-04 13:17:42,611 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:46]
2026-06-04 13:17:42,611 - INFO - -------------------------------------------------------------------------------- 2026-06-04 13:17:43,412 - INFO - Deleted project: ctest-TestRouters-99658426, ID : d064224a-7f26-4740-98c4-a63b8e756b3e