2026-01-23 13:38:28,785 - INFO - Domain Default found not creating 2026-01-23 13:38:28,957 - INFO - Project ctest-TestRouters-88301703 not found, creating it 2026-01-23 13:38:29,588 - INFO - Created Project:ctest-TestRouters-88301703, ID : c32d2319-875f-4c15-ae12-013bff891449 2026-01-23 13:38:31,155 - INFO - ================================================================================ 2026-01-23 13:38:31,155 - INFO - STARTING TEST : test_basic_router_behavior 2026-01-23 13:38:31,155 - 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-01-23 13:38:32,452 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.192': '0', '10.20.0.252': '0'}, '10.0.0.65': {'10.20.0.192': '0', '10.20.0.252': '0'}} with 2026-01-23 13:38:32,452 - INFO - Initial checks done. Running the testcase now 2026-01-23 13:38:32,452 - INFO - 2026-01-23 13:38:33,226 - DEBUG - Response for create_network : {'network': {'id': 'f95caf6e-126c-4b66-aa83-cfb16175ec02', 'name': 'ctest-vn1-07977847', 'tenant_id': 'c32d2319875f4c15ae12013bff891449', 'project_id': 'c32d2319875f4c15ae12013bff891449', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88301703', 'ctest-vn1-07977847'], 'port_security_enabled': True, 'description': ''}} 2026-01-23 13:38:33,565 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd68c2a98-6d7f-4c30-a32e-378892e0e0eb', 'name': '', 'tenant_id': 'c32d2319875f4c15ae12013bff891449', 'network_id': 'f95caf6e-126c-4b66-aa83-cfb16175ec02', 'ip_version': 4, 'cidr': '215.10.24.0/26', 'allocation_pools': [{'start': '215.10.24.2', 'end': '215.10.24.62'}], 'gateway_ip': '215.10.24.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.10.24.2', 'tags': [], 'project_id': 'c32d2319875f4c15ae12013bff891449'}} 2026-01-23 13:38:33,593 - INFO - Created VN ctest-vn1-07977847 2026-01-23 13:38:33,613 - DEBUG - VN ctest-vn1-07977847 UUID is f95caf6e-126c-4b66-aa83-cfb16175ec02 2026-01-23 13:38:34,022 - DEBUG - Response for create_network : {'network': {'id': '2142106c-9b9b-4152-937e-d1c627c122b9', 'name': 'ctest-vn2-95978647', 'tenant_id': 'c32d2319875f4c15ae12013bff891449', 'project_id': 'c32d2319875f4c15ae12013bff891449', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88301703', 'ctest-vn2-95978647'], 'port_security_enabled': True, 'description': ''}} 2026-01-23 13:38:34,311 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd064656c-f142-458b-b6cb-19def2a475fd', 'name': '', 'tenant_id': 'c32d2319875f4c15ae12013bff891449', 'network_id': '2142106c-9b9b-4152-937e-d1c627c122b9', 'ip_version': 4, 'cidr': '41.168.14.192/26', 'allocation_pools': [{'start': '41.168.14.194', 'end': '41.168.14.254'}], 'gateway_ip': '41.168.14.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.168.14.194', 'tags': [], 'project_id': 'c32d2319875f4c15ae12013bff891449'}} 2026-01-23 13:38:34,335 - INFO - Created VN ctest-vn2-95978647 2026-01-23 13:38:34,346 - DEBUG - VN ctest-vn2-95978647 UUID is 2142106c-9b9b-4152-937e-d1c627c122b9 2026-01-23 13:38:34,491 - DEBUG - Services list from nova: [, , , ] 2026-01-23 13:38:35,675 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5069-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5069-2) 2026-01-23 13:38:37,264 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5069-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5069-1) 2026-01-23 13:38:37,417 - INFO - Adding interface with subnet_id d68c2a98-6d7f-4c30-a32e-378892e0e0eb, port_id None to router 2be351e2-fff4-4c61-b4e5-cb7be5db2b20 2026-01-23 13:38:37,957 - INFO - Waiting for VM ctest-vn1-vm1-31224903 to be up.. 2026-01-23 13:38:38,134 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-23 13:38:43,242 - DEBUG - VM is in ACTIVE state now 2026-01-23 13:38:43,242 - INFO - VM name : ctest-vn1-vm1-31224903 2026-01-23 13:38:43,328 - DEBUG - VM ctest-vn1-vm1-31224903 ID is 1516f10d-b222-44a3-9e94-cde9d4d1cbe2 2026-01-23 13:38:43,352 - DEBUG - VM ctest-vn1-vm1-31224903 launched on Node an-jenkins-deploy-platform-ansible-os-5069-2 2026-01-23 13:38:43,445 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/1516f10d-b222-44a3-9e94-cde9d4d1cbe2 2026-01-23 13:38:43,766 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/1516f10d-b222-44a3-9e94-cde9d4d1cbe2 2026-01-23 13:38:43,804 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/03d868bf-5a78-45db-9a62-13894cd70643 2026-01-23 13:38:47,027 - 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 1026ms') 2026-01-23 13:38:47,027 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31224903 failed! 2026-01-23 13:38:47,042 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-88301703:ctest-vn1-07977847 is 215.10.24.1 and allocation pool is NOT set 2026-01-23 13:38:49,106 - 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=15.6 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.65 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.649/9.624/15.600/5.975 ms') 2026-01-23 13:38:49,106 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31224903 passed 2026-01-23 13:38:49,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 13:38:49,219 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31224903, IP 215.10.24.3, Port 22 2026-01-23 13:38:49,284 - 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-01-23 13:38:49,380 - DEBUG - VM ctest-vn1-vm1-31224903 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-23 13:38:54,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 13:38:54,381 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31224903, IP 215.10.24.3, Port 22 2026-01-23 13:38:54,556 - DEBUG - VM ctest-vn1-vm1-31224903 is ready for SSH connections 2026-01-23 13:38:54,556 - INFO - Waiting for VM ctest-vn2-vm1-22682308 to be up.. 2026-01-23 13:38:54,647 - DEBUG - VM is in ACTIVE state now 2026-01-23 13:38:54,647 - INFO - VM name : ctest-vn2-vm1-22682308 2026-01-23 13:38:54,752 - DEBUG - VM ctest-vn2-vm1-22682308 ID is 67659afc-6917-4810-bf89-a41e6254102c 2026-01-23 13:38:54,752 - DEBUG - VM ctest-vn2-vm1-22682308 launched on Node an-jenkins-deploy-platform-ansible-os-5069-1 2026-01-23 13:38:54,839 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/67659afc-6917-4810-bf89-a41e6254102c 2026-01-23 13:38:54,850 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/1f0587a8-357a-49ff-8459-db78a5102acf 2026-01-23 13:38:56,066 - 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=3.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.366 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.366/1.872/3.379/1.506 ms') 2026-01-23 13:38:56,066 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-22682308 passed 2026-01-23 13:38:56,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 13:38:56,179 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-22682308, IP 41.168.14.195, Port 22 2026-01-23 13:38:56,351 - DEBUG - VM ctest-vn2-vm1-22682308 is ready for SSH connections 2026-01-23 13:38:56,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 13:38:56,351 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.168.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-01-23 13:38:56,351 - DEBUG - ping -s 56 -c 3 -W 1 41.168.14.195 2026-01-23 13:39:01,329 - DEBUG - PING 41.168.14.195 (41.168.14.195): 56 data bytes --- 41.168.14.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-23 13:39:01,329 - WARNING - Ping to IP 41.168.14.195 from VM ctest-vn1-vm1-31224903 failed 2026-01-23 13:39:01,329 - INFO - Adding interface with subnet_id d064656c-f142-458b-b6cb-19def2a475fd, port_id None to router 2be351e2-fff4-4c61-b4e5-cb7be5db2b20 2026-01-23 13:39:01,962 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 13:39:01,962 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.168.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-01-23 13:39:01,963 - DEBUG - ping -s 56 -c 3 -W 1 41.168.14.195 2026-01-23 13:39:04,204 - DEBUG - PING 41.168.14.195 (41.168.14.195): 56 data bytes 64 bytes from 41.168.14.195: seq=0 ttl=63 time=8.660 ms 64 bytes from 41.168.14.195: seq=1 ttl=63 time=1.360 ms 64 bytes from 41.168.14.195: seq=2 ttl=63 time=1.227 ms --- 41.168.14.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.227/3.749/8.660 ms 2026-01-23 13:39:04,204 - INFO - Ping to IP 41.168.14.195 from VM ctest-vn1-vm1-31224903 passed 2026-01-23 13:39:04,204 - INFO - Deleting interface with subnet_id d68c2a98-6d7f-4c30-a32e-378892e0e0eb, port_id None from router 2be351e2-fff4-4c61-b4e5-cb7be5db2b20 2026-01-23 13:39:04,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 13:39:04,539 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.168.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-01-23 13:39:04,539 - DEBUG - ping -s 56 -c 3 -W 1 41.168.14.195 2026-01-23 13:39:07,802 - DEBUG - PING 41.168.14.195 (41.168.14.195): 56 data bytes --- 41.168.14.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-23 13:39:07,802 - WARNING - Ping to IP 41.168.14.195 from VM ctest-vn1-vm1-31224903 failed 2026-01-23 13:39:07,802 - INFO - Adding interface with subnet_id d68c2a98-6d7f-4c30-a32e-378892e0e0eb, port_id None to router 2be351e2-fff4-4c61-b4e5-cb7be5db2b20 2026-01-23 13:39:08,354 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-23 13:39:08,355 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.168.14.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-01-23 13:39:08,355 - DEBUG - ping -s 56 -c 3 -W 1 41.168.14.195 2026-01-23 13:39:10,561 - DEBUG - PING 41.168.14.195 (41.168.14.195): 56 data bytes 64 bytes from 41.168.14.195: seq=0 ttl=63 time=2.813 ms 64 bytes from 41.168.14.195: seq=1 ttl=63 time=1.455 ms 64 bytes from 41.168.14.195: seq=2 ttl=63 time=1.366 ms --- 41.168.14.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.366/1.878/2.813 ms 2026-01-23 13:39:10,561 - INFO - Ping to IP 41.168.14.195 from VM ctest-vn1-vm1-31224903 passed 2026-01-23 13:39:10,561 - INFO - Deleting interface with subnet_id d064656c-f142-458b-b6cb-19def2a475fd, port_id None from router 2be351e2-fff4-4c61-b4e5-cb7be5db2b20 2026-01-23 13:39:10,822 - INFO - Deleting interface with subnet_id d68c2a98-6d7f-4c30-a32e-378892e0e0eb, port_id None from router 2be351e2-fff4-4c61-b4e5-cb7be5db2b20 2026-01-23 13:39:11,208 - INFO - Deleting VM ctest-vn2-vm1-22682308 2026-01-23 13:39:11,321 - INFO - Deleting VM ctest-vn1-vm1-31224903 2026-01-23 13:39:11,395 - INFO - Deleting VN ctest-vn2-95978647 2026-01-23 13:39:11,446 - DEBUG - VN 2142106c-9b9b-4152-937e-d1c627c122b9 still in use: Unable to complete operation on network 2142106c-9b9b-4152-937e-d1c627c122b9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6a849d02-e71b-4dc4-bfc9-9c1be00ee904'] 2026-01-23 13:39:11,446 - WARNING - Deleting VN ctest-vn2-95978647 failed..Will retry 2026-01-23 13:39:13,623 - DEBUG - Response for deleting network () 2026-01-23 13:39:13,623 - INFO - Deleting VN ctest-vn1-07977847 2026-01-23 13:39:13,848 - DEBUG - Response for deleting network () 2026-01-23 13:39:15,131 - DEBUG - No XMPP flaps were noticed during the test
2026-01-23 13:39:15,131 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2026-01-23 13:39:15,131 - INFO - -------------------------------------------------------------------------------- 2026-01-23 13:39:15,900 - INFO - Deleted project: ctest-TestRouters-88301703, ID : c32d2319-875f-4c15-ae12-013bff891449