2026-02-12 02:26:28,801 - INFO - Domain Default found not creating 2026-02-12 02:26:28,953 - INFO - Project ctest-TestRouters-34040950 not found, creating it 2026-02-12 02:26:29,487 - INFO - Created Project:ctest-TestRouters-34040950, ID : 969c97ee-e4b5-4a0f-8a73-9608e93c3101 2026-02-12 02:26:31,017 - INFO - ================================================================================ 2026-02-12 02:26:31,018 - INFO - STARTING TEST : test_basic_router_behavior 2026-02-12 02:26:31,018 - 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-02-12 02:26:32,328 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0', '10.20.0.14': '0'}, '10.0.0.131': {'10.20.0.254': '0', '10.20.0.14': '0'}} with 2026-02-12 02:26:32,328 - INFO - Initial checks done. Running the testcase now 2026-02-12 02:26:32,328 - INFO - 2026-02-12 02:26:32,992 - DEBUG - Response for create_network : {'network': {'id': '99915fd0-c695-4586-b309-c3d55610644b', 'name': 'ctest-vn1-36243471', 'tenant_id': '969c97eee4b54a0f8a739608e93c3101', 'project_id': '969c97eee4b54a0f8a739608e93c3101', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-34040950', 'ctest-vn1-36243471'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 02:26:33,264 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e6e0ab66-26e8-42de-a3ca-c0d5c3fe3cbd', 'name': '', 'tenant_id': '969c97eee4b54a0f8a739608e93c3101', 'network_id': '99915fd0-c695-4586-b309-c3d55610644b', 'ip_version': 4, 'cidr': '61.174.249.128/26', 'allocation_pools': [{'start': '61.174.249.130', 'end': '61.174.249.190'}], 'gateway_ip': '61.174.249.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.174.249.130', 'tags': [], 'project_id': '969c97eee4b54a0f8a739608e93c3101'}} 2026-02-12 02:26:33,285 - INFO - Created VN ctest-vn1-36243471 2026-02-12 02:26:33,298 - DEBUG - VN ctest-vn1-36243471 UUID is 99915fd0-c695-4586-b309-c3d55610644b 2026-02-12 02:26:33,695 - DEBUG - Response for create_network : {'network': {'id': 'e33867ef-b40f-48f4-b63a-ae3c852f5e08', 'name': 'ctest-vn2-88452337', 'tenant_id': '969c97eee4b54a0f8a739608e93c3101', 'project_id': '969c97eee4b54a0f8a739608e93c3101', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-34040950', 'ctest-vn2-88452337'], 'port_security_enabled': True, 'description': ''}} 2026-02-12 02:26:33,895 - DEBUG - Response for create_subnet : {'subnet': {'id': '00571982-34b5-4031-8dbf-199f9d8f4da9', 'name': '', 'tenant_id': '969c97eee4b54a0f8a739608e93c3101', 'network_id': 'e33867ef-b40f-48f4-b63a-ae3c852f5e08', 'ip_version': 4, 'cidr': '24.38.67.64/26', 'allocation_pools': [{'start': '24.38.67.66', 'end': '24.38.67.126'}], 'gateway_ip': '24.38.67.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '24.38.67.66', 'tags': [], 'project_id': '969c97eee4b54a0f8a739608e93c3101'}} 2026-02-12 02:26:33,917 - INFO - Created VN ctest-vn2-88452337 2026-02-12 02:26:33,929 - DEBUG - VN ctest-vn2-88452337 UUID is e33867ef-b40f-48f4-b63a-ae3c852f5e08 2026-02-12 02:26:34,050 - DEBUG - Services list from nova: [, , , ] 2026-02-12 02:26:35,061 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5305-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5305-2) 2026-02-12 02:26:36,398 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5305-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5305-1) 2026-02-12 02:26:36,514 - INFO - Adding interface with subnet_id e6e0ab66-26e8-42de-a3ca-c0d5c3fe3cbd, port_id None to router 44b6fdb8-6897-44da-9129-a0fa7443edf4 2026-02-12 02:26:36,866 - INFO - Waiting for VM ctest-vn1-vm1-84607390 to be up.. 2026-02-12 02:26:36,983 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-12 02:26:42,061 - DEBUG - VM is in ACTIVE state now 2026-02-12 02:26:42,061 - INFO - VM name : ctest-vn1-vm1-84607390 2026-02-12 02:26:42,145 - DEBUG - VM ctest-vn1-vm1-84607390 ID is e6740dbf-681d-4a0e-b695-5e578761a2bb 2026-02-12 02:26:42,172 - DEBUG - VM ctest-vn1-vm1-84607390 launched on Node an-jenkins-deploy-platform-ansible-os-5305-2 2026-02-12 02:26:42,257 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e6740dbf-681d-4a0e-b695-5e578761a2bb 2026-02-12 02:26:42,556 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/e6740dbf-681d-4a0e-b695-5e578761a2bb 2026-02-12 02:26:42,596 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/f8e1cb5d-f8a8-4ef9-b900-f23ffb5c6c61 2026-02-12 02:26:45,769 - 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 1014ms') 2026-02-12 02:26:45,769 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84607390 failed! 2026-02-12 02:26:45,782 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-34040950:ctest-vn1-36243471 is 61.174.249.129 and allocation pool is NOT set 2026-02-12 02:26:47,861 - 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.44 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.831 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.831/2.634/4.438/1.803 ms') 2026-02-12 02:26:47,861 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-84607390 passed 2026-02-12 02:26:47,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:26:47,930 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-84607390, IP 61.174.249.131, Port 22 2026-02-12 02:26:48,097 - DEBUG - VM ctest-vn1-vm1-84607390 is ready for SSH connections 2026-02-12 02:26:48,097 - INFO - Waiting for VM ctest-vn2-vm1-01704727 to be up.. 2026-02-12 02:26:48,178 - DEBUG - VM is in ACTIVE state now 2026-02-12 02:26:48,178 - INFO - VM name : ctest-vn2-vm1-01704727 2026-02-12 02:26:48,273 - DEBUG - VM ctest-vn2-vm1-01704727 ID is 60dda425-af18-4631-9938-163a63236051 2026-02-12 02:26:48,273 - DEBUG - VM ctest-vn2-vm1-01704727 launched on Node an-jenkins-deploy-platform-ansible-os-5305-1 2026-02-12 02:26:48,366 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/60dda425-af18-4631-9938-163a63236051 2026-02-12 02:26:48,377 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/ad7d78c1-0d50-4fd1-ada9-16db305a8084 2026-02-12 02:26:49,559 - 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.30 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.685 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.685/2.994/5.303/2.309 ms') 2026-02-12 02:26:49,560 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-01704727 passed 2026-02-12 02:26:49,634 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:26:49,634 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-01704727, IP 24.38.67.67, Port 22 2026-02-12 02:26:49,702 - 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-02-12 02:26:49,779 - DEBUG - VM ctest-vn2-vm1-01704727 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-12 02:26:54,780 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:26:54,780 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-01704727, IP 24.38.67.67, Port 22 2026-02-12 02:26:54,949 - DEBUG - VM ctest-vn2-vm1-01704727 is ready for SSH connections 2026-02-12 02:26:54,949 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:26:54,949 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.38.67.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-02-12 02:26:54,949 - DEBUG - ping -s 56 -c 3 -W 1 24.38.67.67 2026-02-12 02:26:58,902 - DEBUG - PING 24.38.67.67 (24.38.67.67): 56 data bytes --- 24.38.67.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-12 02:26:58,902 - WARNING - Ping to IP 24.38.67.67 from VM ctest-vn1-vm1-84607390 failed 2026-02-12 02:26:58,902 - INFO - Adding interface with subnet_id 00571982-34b5-4031-8dbf-199f9d8f4da9, port_id None to router 44b6fdb8-6897-44da-9129-a0fa7443edf4 2026-02-12 02:26:59,279 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:26:59,279 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.38.67.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-02-12 02:26:59,279 - DEBUG - ping -s 56 -c 3 -W 1 24.38.67.67 2026-02-12 02:27:02,482 - DEBUG - PING 24.38.67.67 (24.38.67.67): 56 data bytes 64 bytes from 24.38.67.67: seq=1 ttl=63 time=4.221 ms 64 bytes from 24.38.67.67: seq=2 ttl=63 time=1.372 ms --- 24.38.67.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.372/2.796/4.221 ms 2026-02-12 02:27:02,482 - WARNING - Ping to IP 24.38.67.67 from VM ctest-vn1-vm1-84607390 failed 2026-02-12 02:27:03,482 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.38.67.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-02-12 02:27:03,482 - DEBUG - ping -s 56 -c 3 -W 1 24.38.67.67 2026-02-12 02:27:05,693 - DEBUG - PING 24.38.67.67 (24.38.67.67): 56 data bytes 64 bytes from 24.38.67.67: seq=0 ttl=63 time=2.779 ms 64 bytes from 24.38.67.67: seq=1 ttl=63 time=1.137 ms 64 bytes from 24.38.67.67: seq=2 ttl=63 time=1.344 ms --- 24.38.67.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.137/1.753/2.779 ms 2026-02-12 02:27:05,693 - INFO - Ping to IP 24.38.67.67 from VM ctest-vn1-vm1-84607390 passed 2026-02-12 02:27:05,693 - INFO - Deleting interface with subnet_id e6e0ab66-26e8-42de-a3ca-c0d5c3fe3cbd, port_id None from router 44b6fdb8-6897-44da-9129-a0fa7443edf4 2026-02-12 02:27:05,931 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:27:05,932 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.38.67.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-02-12 02:27:05,932 - DEBUG - ping -s 56 -c 3 -W 1 24.38.67.67 2026-02-12 02:27:09,133 - DEBUG - PING 24.38.67.67 (24.38.67.67): 56 data bytes --- 24.38.67.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-12 02:27:09,133 - WARNING - Ping to IP 24.38.67.67 from VM ctest-vn1-vm1-84607390 failed 2026-02-12 02:27:09,134 - INFO - Adding interface with subnet_id e6e0ab66-26e8-42de-a3ca-c0d5c3fe3cbd, port_id None to router 44b6fdb8-6897-44da-9129-a0fa7443edf4 2026-02-12 02:27:09,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-12 02:27:09,521 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 24.38.67.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.131, gateway password: c0ntrail123 2026-02-12 02:27:09,521 - DEBUG - ping -s 56 -c 3 -W 1 24.38.67.67 2026-02-12 02:27:11,741 - DEBUG - PING 24.38.67.67 (24.38.67.67): 56 data bytes 64 bytes from 24.38.67.67: seq=0 ttl=63 time=2.718 ms 64 bytes from 24.38.67.67: seq=1 ttl=63 time=1.489 ms 64 bytes from 24.38.67.67: seq=2 ttl=63 time=1.105 ms --- 24.38.67.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.105/1.770/2.718 ms 2026-02-12 02:27:11,741 - INFO - Ping to IP 24.38.67.67 from VM ctest-vn1-vm1-84607390 passed 2026-02-12 02:27:11,741 - INFO - Deleting interface with subnet_id 00571982-34b5-4031-8dbf-199f9d8f4da9, port_id None from router 44b6fdb8-6897-44da-9129-a0fa7443edf4 2026-02-12 02:27:11,947 - INFO - Deleting interface with subnet_id e6e0ab66-26e8-42de-a3ca-c0d5c3fe3cbd, port_id None from router 44b6fdb8-6897-44da-9129-a0fa7443edf4 2026-02-12 02:27:12,330 - INFO - Deleting VM ctest-vn2-vm1-01704727 2026-02-12 02:27:12,445 - INFO - Deleting VM ctest-vn1-vm1-84607390 2026-02-12 02:27:12,514 - INFO - Deleting VN ctest-vn2-88452337 2026-02-12 02:27:12,554 - DEBUG - VN e33867ef-b40f-48f4-b63a-ae3c852f5e08 still in use: Unable to complete operation on network e33867ef-b40f-48f4-b63a-ae3c852f5e08. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-659f8218-dffa-4fde-8c48-757ca995f8e5'] 2026-02-12 02:27:12,554 - WARNING - Deleting VN ctest-vn2-88452337 failed..Will retry 2026-02-12 02:27:14,744 - DEBUG - Response for deleting network () 2026-02-12 02:27:14,744 - INFO - Deleting VN ctest-vn1-36243471 2026-02-12 02:27:14,872 - DEBUG - Response for deleting network () 2026-02-12 02:27:16,177 - DEBUG - No XMPP flaps were noticed during the test
2026-02-12 02:27:16,177 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2026-02-12 02:27:16,177 - INFO - -------------------------------------------------------------------------------- 2026-02-12 02:27:16,935 - INFO - Deleted project: ctest-TestRouters-34040950, ID : 969c97ee-e4b5-4a0f-8a73-9608e93c3101