2026-01-01 02:25:56,605 - INFO - Domain Default found not creating 2026-01-01 02:25:56,795 - INFO - Project ctest-TestRouters-88950943 not found, creating it 2026-01-01 02:25:57,547 - INFO - Created Project:ctest-TestRouters-88950943, ID : 4be4f6ea-3d58-4eea-97b2-c13d53f1a879 2026-01-01 02:25:59,235 - INFO - ================================================================================ 2026-01-01 02:25:59,236 - INFO - STARTING TEST : test_basic_router_behavior 2026-01-01 02:25:59,236 - 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-01 02:25:59,492 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.241': '0'}} with 2026-01-01 02:25:59,492 - INFO - Initial checks done. Running the testcase now 2026-01-01 02:25:59,492 - INFO - 2026-01-01 02:26:00,135 - DEBUG - Response for create_network : {'network': {'id': '46039129-fe5a-42ab-9d96-8be796abeb0c', 'name': 'ctest-vn1-81758307', 'tenant_id': '4be4f6ea3d584eea97b2c13d53f1a879', 'project_id': '4be4f6ea3d584eea97b2c13d53f1a879', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88950943', 'ctest-vn1-81758307'], 'port_security_enabled': True, 'description': ''}} 2026-01-01 02:26:00,393 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d5aa87a-53d1-4505-9393-b8dc755731d8', 'name': '', 'tenant_id': '4be4f6ea3d584eea97b2c13d53f1a879', 'network_id': '46039129-fe5a-42ab-9d96-8be796abeb0c', 'ip_version': 4, 'cidr': '193.128.191.128/26', 'allocation_pools': [{'start': '193.128.191.130', 'end': '193.128.191.190'}], 'gateway_ip': '193.128.191.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.128.191.130', 'tags': [], 'project_id': '4be4f6ea3d584eea97b2c13d53f1a879'}} 2026-01-01 02:26:00,412 - INFO - Created VN ctest-vn1-81758307 2026-01-01 02:26:00,466 - DEBUG - VN ctest-vn1-81758307 UUID is 46039129-fe5a-42ab-9d96-8be796abeb0c 2026-01-01 02:26:00,781 - DEBUG - Response for create_network : {'network': {'id': '91ba6969-e75a-4ab6-be5f-9a92727e2e72', 'name': 'ctest-vn2-27228839', 'tenant_id': '4be4f6ea3d584eea97b2c13d53f1a879', 'project_id': '4be4f6ea3d584eea97b2c13d53f1a879', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88950943', 'ctest-vn2-27228839'], 'port_security_enabled': True, 'description': ''}} 2026-01-01 02:26:01,039 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f639d868-574c-4aeb-ae94-339019eb3774', 'name': '', 'tenant_id': '4be4f6ea3d584eea97b2c13d53f1a879', 'network_id': '91ba6969-e75a-4ab6-be5f-9a92727e2e72', 'ip_version': 4, 'cidr': '64.133.89.0/26', 'allocation_pools': [{'start': '64.133.89.2', 'end': '64.133.89.62'}], 'gateway_ip': '64.133.89.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.133.89.2', 'tags': [], 'project_id': '4be4f6ea3d584eea97b2c13d53f1a879'}} 2026-01-01 02:26:01,063 - INFO - Created VN ctest-vn2-27228839 2026-01-01 02:26:01,118 - DEBUG - VN ctest-vn2-27228839 UUID is 91ba6969-e75a-4ab6-be5f-9a92727e2e72 2026-01-01 02:26:01,295 - DEBUG - Services list from nova: [, , ] 2026-01-01 02:26:02,790 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4948-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4948-1) 2026-01-01 02:26:04,169 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4948-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4948-1) 2026-01-01 02:26:04,260 - INFO - Adding interface with subnet_id 3d5aa87a-53d1-4505-9393-b8dc755731d8, port_id None to router ed9cdf3b-cb3e-4971-92ff-18f2e0ff4d39 2026-01-01 02:26:04,557 - INFO - Waiting for VM ctest-vn1-vm1-54187806 to be up.. 2026-01-01 02:26:04,663 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-01-01 02:26:09,742 - DEBUG - VM is in ACTIVE state now 2026-01-01 02:26:09,742 - INFO - VM name : ctest-vn1-vm1-54187806 2026-01-01 02:26:09,821 - DEBUG - VM ctest-vn1-vm1-54187806 ID is 27342a39-1d24-463e-8387-e46b02a6a34e 2026-01-01 02:26:09,841 - DEBUG - VM ctest-vn1-vm1-54187806 launched on Node cn-jenkins-deploy-platform-ansible-os-4948-1 2026-01-01 02:26:09,933 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/27342a39-1d24-463e-8387-e46b02a6a34e 2026-01-01 02:26:10,295 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/27342a39-1d24-463e-8387-e46b02a6a34e 2026-01-01 02:26:10,339 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/12048f2e-51ca-4b67-87ba-af7d161a0f7b 2026-01-01 02:26:13,604 - 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 1018ms') 2026-01-01 02:26:13,605 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54187806 failed! 2026-01-01 02:26:13,658 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-88950943:ctest-vn1-81758307 is 193.128.191.129 and allocation pool is NOT set 2026-01-01 02:26:15,723 - 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.96 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.677 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.677/2.317/3.958/1.640 ms') 2026-01-01 02:26:15,723 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-54187806 passed 2026-01-01 02:26:15,878 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 02:26:15,878 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54187806, IP 193.128.191.131, Port 22 2026-01-01 02:26:15,943 - 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-01 02:26:16,028 - DEBUG - VM ctest-vn1-vm1-54187806 is NOT ready for SSH connections, VM status: ACTIVE 2026-01-01 02:26:21,030 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 02:26:21,030 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-54187806, IP 193.128.191.131, Port 22 2026-01-01 02:26:21,185 - DEBUG - VM ctest-vn1-vm1-54187806 is ready for SSH connections 2026-01-01 02:26:21,185 - INFO - Waiting for VM ctest-vn2-vm1-48424090 to be up.. 2026-01-01 02:26:21,262 - DEBUG - VM is in ACTIVE state now 2026-01-01 02:26:21,262 - INFO - VM name : ctest-vn2-vm1-48424090 2026-01-01 02:26:21,340 - DEBUG - VM ctest-vn2-vm1-48424090 ID is fb836072-d035-45bf-bcac-6d85d4850063 2026-01-01 02:26:21,340 - DEBUG - VM ctest-vn2-vm1-48424090 launched on Node cn-jenkins-deploy-platform-ansible-os-4948-1 2026-01-01 02:26:21,417 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/fb836072-d035-45bf-bcac-6d85d4850063 2026-01-01 02:26:21,427 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/95d9b7ef-c992-45c8-b1e1-09025f53f837 2026-01-01 02:26:22,664 - 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=3.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.438 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.438/1.903/3.368/1.465 ms') 2026-01-01 02:26:22,664 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-48424090 passed 2026-01-01 02:26:22,818 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 02:26:22,818 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-48424090, IP 64.133.89.3, Port 22 2026-01-01 02:26:22,987 - DEBUG - VM ctest-vn2-vm1-48424090 is ready for SSH connections 2026-01-01 02:26:22,987 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 02:26:22,987 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.133.89.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-01-01 02:26:22,987 - DEBUG - ping -s 56 -c 3 -W 1 64.133.89.3 2026-01-01 02:26:28,095 - DEBUG - PING 64.133.89.3 (64.133.89.3): 56 data bytes --- 64.133.89.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-01 02:26:28,096 - WARNING - Ping to IP 64.133.89.3 from VM ctest-vn1-vm1-54187806 failed 2026-01-01 02:26:28,096 - INFO - Adding interface with subnet_id f639d868-574c-4aeb-ae94-339019eb3774, port_id None to router ed9cdf3b-cb3e-4971-92ff-18f2e0ff4d39 2026-01-01 02:26:28,410 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 02:26:28,410 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.133.89.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-01-01 02:26:28,411 - DEBUG - ping -s 56 -c 3 -W 1 64.133.89.3 2026-01-01 02:26:31,634 - DEBUG - PING 64.133.89.3 (64.133.89.3): 56 data bytes 64 bytes from 64.133.89.3: seq=1 ttl=63 time=2.977 ms 64 bytes from 64.133.89.3: seq=2 ttl=63 time=1.122 ms --- 64.133.89.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.122/2.049/2.977 ms 2026-01-01 02:26:31,634 - WARNING - Ping to IP 64.133.89.3 from VM ctest-vn1-vm1-54187806 failed 2026-01-01 02:26:32,635 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.133.89.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-01-01 02:26:32,635 - DEBUG - ping -s 56 -c 3 -W 1 64.133.89.3 2026-01-01 02:26:34,853 - DEBUG - PING 64.133.89.3 (64.133.89.3): 56 data bytes 64 bytes from 64.133.89.3: seq=0 ttl=63 time=1.781 ms 64 bytes from 64.133.89.3: seq=1 ttl=63 time=0.958 ms 64 bytes from 64.133.89.3: seq=2 ttl=63 time=0.853 ms --- 64.133.89.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.853/1.197/1.781 ms 2026-01-01 02:26:34,854 - INFO - Ping to IP 64.133.89.3 from VM ctest-vn1-vm1-54187806 passed 2026-01-01 02:26:34,854 - INFO - Deleting interface with subnet_id 3d5aa87a-53d1-4505-9393-b8dc755731d8, port_id None from router ed9cdf3b-cb3e-4971-92ff-18f2e0ff4d39 2026-01-01 02:26:34,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 02:26:34,978 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.133.89.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-01-01 02:26:34,978 - DEBUG - ping -s 56 -c 3 -W 1 64.133.89.3 2026-01-01 02:26:38,204 - DEBUG - PING 64.133.89.3 (64.133.89.3): 56 data bytes --- 64.133.89.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-01-01 02:26:38,204 - WARNING - Ping to IP 64.133.89.3 from VM ctest-vn1-vm1-54187806 failed 2026-01-01 02:26:38,204 - INFO - Adding interface with subnet_id 3d5aa87a-53d1-4505-9393-b8dc755731d8, port_id None to router ed9cdf3b-cb3e-4971-92ff-18f2e0ff4d39 2026-01-01 02:26:38,415 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-01-01 02:26:38,415 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.133.89.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2026-01-01 02:26:38,415 - DEBUG - ping -s 56 -c 3 -W 1 64.133.89.3 2026-01-01 02:26:40,636 - DEBUG - PING 64.133.89.3 (64.133.89.3): 56 data bytes 64 bytes from 64.133.89.3: seq=0 ttl=63 time=1.582 ms 64 bytes from 64.133.89.3: seq=1 ttl=63 time=0.894 ms 64 bytes from 64.133.89.3: seq=2 ttl=63 time=1.143 ms --- 64.133.89.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.894/1.206/1.582 ms 2026-01-01 02:26:40,636 - INFO - Ping to IP 64.133.89.3 from VM ctest-vn1-vm1-54187806 passed 2026-01-01 02:26:40,636 - INFO - Deleting interface with subnet_id f639d868-574c-4aeb-ae94-339019eb3774, port_id None from router ed9cdf3b-cb3e-4971-92ff-18f2e0ff4d39 2026-01-01 02:26:40,745 - INFO - Deleting interface with subnet_id 3d5aa87a-53d1-4505-9393-b8dc755731d8, port_id None from router ed9cdf3b-cb3e-4971-92ff-18f2e0ff4d39 2026-01-01 02:26:40,925 - INFO - Deleting VM ctest-vn2-vm1-48424090 2026-01-01 02:26:40,999 - INFO - Deleting VM ctest-vn1-vm1-54187806 2026-01-01 02:26:41,076 - INFO - Deleting VN ctest-vn2-27228839 2026-01-01 02:26:41,118 - DEBUG - VN 91ba6969-e75a-4ab6-be5f-9a92727e2e72 still in use: Unable to complete operation on network 91ba6969-e75a-4ab6-be5f-9a92727e2e72. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-88bccc21-a5a5-499e-91e8-ca30a1612e14'] 2026-01-01 02:26:41,118 - WARNING - Deleting VN ctest-vn2-27228839 failed..Will retry 2026-01-01 02:26:43,221 - DEBUG - Response for deleting network () 2026-01-01 02:26:43,221 - INFO - Deleting VN ctest-vn1-81758307 2026-01-01 02:26:43,326 - DEBUG - Response for deleting network () 2026-01-01 02:26:43,602 - DEBUG - No XMPP flaps were noticed during the test
2026-01-01 02:26:43,602 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2026-01-01 02:26:43,602 - INFO - -------------------------------------------------------------------------------- 2026-01-01 02:26:44,335 - INFO - Deleted project: ctest-TestRouters-88950943, ID : 4be4f6ea-3d58-4eea-97b2-c13d53f1a879