2026-05-28 15:29:57,747 - INFO - Domain Default found not creating 2026-05-28 15:29:57,968 - INFO - Project ctest-TestRouters-13797106 not found, creating it 2026-05-28 15:29:58,492 - INFO - Created Project:ctest-TestRouters-13797106, ID : b2fcc54a-234a-4bc4-a2a2-dd785bb4becc 2026-05-28 15:30:00,194 - INFO - ================================================================================ 2026-05-28 15:30:00,194 - INFO - STARTING TEST : test_basic_router_behavior 2026-05-28 15:30:00,195 - 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-05-28 15:30:00,458 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.17': '0'}} with 2026-05-28 15:30:00,458 - INFO - Initial checks done. Running the testcase now 2026-05-28 15:30:00,458 - INFO - 2026-05-28 15:30:01,137 - DEBUG - Response for create_network : {'network': {'id': '05a73733-af01-4929-bed0-4be1ce79d644', 'name': 'ctest-vn1-07780107', 'tenant_id': 'b2fcc54a234a4bc4a2a2dd785bb4becc', 'project_id': 'b2fcc54a234a4bc4a2a2dd785bb4becc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-13797106', 'ctest-vn1-07780107'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 15:30:01,360 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d16dd08-3a23-49f8-b6c5-ab3540dc5543', 'name': '', 'tenant_id': 'b2fcc54a234a4bc4a2a2dd785bb4becc', 'network_id': '05a73733-af01-4929-bed0-4be1ce79d644', 'ip_version': 4, 'cidr': '197.201.207.192/26', 'allocation_pools': [{'start': '197.201.207.194', 'end': '197.201.207.254'}], 'gateway_ip': '197.201.207.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.201.207.194', 'tags': [], 'project_id': 'b2fcc54a234a4bc4a2a2dd785bb4becc'}} 2026-05-28 15:30:01,384 - INFO - Created VN ctest-vn1-07780107 2026-05-28 15:30:01,447 - DEBUG - VN ctest-vn1-07780107 UUID is 05a73733-af01-4929-bed0-4be1ce79d644 2026-05-28 15:30:01,814 - DEBUG - Response for create_network : {'network': {'id': '23fe0dc8-bd13-4b7e-999a-3bff0ec7d8a9', 'name': 'ctest-vn2-83752356', 'tenant_id': 'b2fcc54a234a4bc4a2a2dd785bb4becc', 'project_id': 'b2fcc54a234a4bc4a2a2dd785bb4becc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-13797106', 'ctest-vn2-83752356'], 'port_security_enabled': True, 'description': ''}} 2026-05-28 15:30:02,028 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ced0cfd-0373-4a5d-a8f0-5a73d568c815', 'name': '', 'tenant_id': 'b2fcc54a234a4bc4a2a2dd785bb4becc', 'network_id': '23fe0dc8-bd13-4b7e-999a-3bff0ec7d8a9', 'ip_version': 4, 'cidr': '174.149.0.0/26', 'allocation_pools': [{'start': '174.149.0.2', 'end': '174.149.0.62'}], 'gateway_ip': '174.149.0.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.149.0.2', 'tags': [], 'project_id': 'b2fcc54a234a4bc4a2a2dd785bb4becc'}} 2026-05-28 15:30:02,048 - INFO - Created VN ctest-vn2-83752356 2026-05-28 15:30:02,099 - DEBUG - VN ctest-vn2-83752356 UUID is 23fe0dc8-bd13-4b7e-999a-3bff0ec7d8a9 2026-05-28 15:30:02,296 - DEBUG - Services list from nova: [, , ] 2026-05-28 15:30:03,594 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5846-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5846-1) 2026-05-28 15:30:04,902 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5846-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5846-1) 2026-05-28 15:30:04,995 - INFO - Adding interface with subnet_id 5d16dd08-3a23-49f8-b6c5-ab3540dc5543, port_id None to router a5586f2c-0e93-4da1-afde-442583bb5f4b 2026-05-28 15:30:05,323 - INFO - Waiting for VM ctest-vn1-vm1-98865302 to be up.. 2026-05-28 15:30:05,436 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-28 15:30:10,541 - DEBUG - VM is in ACTIVE state now 2026-05-28 15:30:10,541 - INFO - VM name : ctest-vn1-vm1-98865302 2026-05-28 15:30:10,635 - DEBUG - VM ctest-vn1-vm1-98865302 ID is 7bcd7703-afe5-4cec-a41d-3c2211be636e 2026-05-28 15:30:10,658 - DEBUG - VM ctest-vn1-vm1-98865302 launched on Node cn-jenkins-deploy-platform-ansible-os-5846-1 2026-05-28 15:30:10,751 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/7bcd7703-afe5-4cec-a41d-3c2211be636e 2026-05-28 15:30:11,064 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/7bcd7703-afe5-4cec-a41d-3c2211be636e 2026-05-28 15:30:11,109 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/460beae6-6eee-44f4-b9da-e939a3c06f0f 2026-05-28 15:30:14,399 - 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 1023ms') 2026-05-28 15:30:14,399 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98865302 failed! 2026-05-28 15:30:14,459 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-13797106:ctest-vn1-07780107 is 197.201.207.193 and allocation pool is NOT set 2026-05-28 15:30:16,519 - 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.38 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.613 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.613/2.498/4.383/1.885 ms') 2026-05-28 15:30:16,520 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-98865302 passed 2026-05-28 15:30:16,675 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 15:30:16,675 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-98865302, IP 197.201.207.195, Port 22 2026-05-28 15:30:16,841 - DEBUG - VM ctest-vn1-vm1-98865302 is ready for SSH connections 2026-05-28 15:30:16,842 - INFO - Waiting for VM ctest-vn2-vm1-60408996 to be up.. 2026-05-28 15:30:16,936 - DEBUG - VM is in ACTIVE state now 2026-05-28 15:30:16,936 - INFO - VM name : ctest-vn2-vm1-60408996 2026-05-28 15:30:17,043 - DEBUG - VM ctest-vn2-vm1-60408996 ID is 6994c03c-c685-4dae-a522-74d803f70972 2026-05-28 15:30:17,043 - DEBUG - VM ctest-vn2-vm1-60408996 launched on Node cn-jenkins-deploy-platform-ansible-os-5846-1 2026-05-28 15:30:17,129 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine/6994c03c-c685-4dae-a522-74d803f70972 2026-05-28 15:30:17,139 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-machine-interface/6083d6f2-355f-4147-9645-97d0c3bd90f1 2026-05-28 15:30:18,387 - 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.91 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.07 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.072/2.990/3.909/0.918 ms') 2026-05-28 15:30:18,387 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-60408996 passed 2026-05-28 15:30:18,547 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 15:30:18,547 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-60408996, IP 174.149.0.3, Port 22 2026-05-28 15:30:18,616 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-28 15:30:18,709 - DEBUG - VM ctest-vn2-vm1-60408996 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 15:30:23,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 15:30:23,709 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-60408996, IP 174.149.0.3, Port 22 2026-05-28 15:30:23,778 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-05-28 15:30:23,887 - DEBUG - VM ctest-vn2-vm1-60408996 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-28 15:30:28,888 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 15:30:28,888 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-60408996, IP 174.149.0.3, Port 22 2026-05-28 15:30:29,047 - DEBUG - VM ctest-vn2-vm1-60408996 is ready for SSH connections 2026-05-28 15:30:29,047 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 15:30:29,047 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.149.0.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-28 15:30:29,047 - DEBUG - ping -s 56 -c 3 -W 1 174.149.0.3 2026-05-28 15:30:34,161 - DEBUG - PING 174.149.0.3 (174.149.0.3): 56 data bytes --- 174.149.0.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-28 15:30:34,161 - WARNING - Ping to IP 174.149.0.3 from VM ctest-vn1-vm1-98865302 failed 2026-05-28 15:30:34,161 - INFO - Adding interface with subnet_id 5ced0cfd-0373-4a5d-a8f0-5a73d568c815, port_id None to router a5586f2c-0e93-4da1-afde-442583bb5f4b 2026-05-28 15:30:34,453 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 15:30:34,453 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.149.0.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-28 15:30:34,453 - DEBUG - ping -s 56 -c 3 -W 1 174.149.0.3 2026-05-28 15:30:36,692 - DEBUG - PING 174.149.0.3 (174.149.0.3): 56 data bytes 64 bytes from 174.149.0.3: seq=0 ttl=63 time=4.940 ms 64 bytes from 174.149.0.3: seq=1 ttl=63 time=1.956 ms 64 bytes from 174.149.0.3: seq=2 ttl=63 time=1.460 ms --- 174.149.0.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.460/2.785/4.940 ms 2026-05-28 15:30:36,693 - INFO - Ping to IP 174.149.0.3 from VM ctest-vn1-vm1-98865302 passed 2026-05-28 15:30:36,693 - INFO - Deleting interface with subnet_id 5d16dd08-3a23-49f8-b6c5-ab3540dc5543, port_id None from router a5586f2c-0e93-4da1-afde-442583bb5f4b 2026-05-28 15:30:36,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 15:30:36,847 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.149.0.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-28 15:30:36,847 - DEBUG - ping -s 56 -c 3 -W 1 174.149.0.3 2026-05-28 15:30:40,070 - DEBUG - PING 174.149.0.3 (174.149.0.3): 56 data bytes --- 174.149.0.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-28 15:30:40,070 - WARNING - Ping to IP 174.149.0.3 from VM ctest-vn1-vm1-98865302 failed 2026-05-28 15:30:40,070 - INFO - Adding interface with subnet_id 5d16dd08-3a23-49f8-b6c5-ab3540dc5543, port_id None to router a5586f2c-0e93-4da1-afde-442583bb5f4b 2026-05-28 15:30:40,354 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-28 15:30:40,354 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 174.149.0.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-05-28 15:30:40,354 - DEBUG - ping -s 56 -c 3 -W 1 174.149.0.3 2026-05-28 15:30:42,614 - DEBUG - PING 174.149.0.3 (174.149.0.3): 56 data bytes 64 bytes from 174.149.0.3: seq=0 ttl=63 time=1.829 ms 64 bytes from 174.149.0.3: seq=1 ttl=63 time=1.190 ms 64 bytes from 174.149.0.3: seq=2 ttl=63 time=1.392 ms --- 174.149.0.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.190/1.470/1.829 ms 2026-05-28 15:30:42,614 - INFO - Ping to IP 174.149.0.3 from VM ctest-vn1-vm1-98865302 passed 2026-05-28 15:30:42,614 - INFO - Deleting interface with subnet_id 5ced0cfd-0373-4a5d-a8f0-5a73d568c815, port_id None from router a5586f2c-0e93-4da1-afde-442583bb5f4b 2026-05-28 15:30:42,763 - INFO - Deleting interface with subnet_id 5d16dd08-3a23-49f8-b6c5-ab3540dc5543, port_id None from router a5586f2c-0e93-4da1-afde-442583bb5f4b 2026-05-28 15:30:42,999 - INFO - Deleting VM ctest-vn2-vm1-60408996 2026-05-28 15:30:43,094 - INFO - Deleting VM ctest-vn1-vm1-98865302 2026-05-28 15:30:43,190 - INFO - Deleting VN ctest-vn2-83752356 2026-05-28 15:30:43,240 - DEBUG - VN 23fe0dc8-bd13-4b7e-999a-3bff0ec7d8a9 still in use: Unable to complete operation on network 23fe0dc8-bd13-4b7e-999a-3bff0ec7d8a9. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bb75bef2-da9b-4a33-bc0a-9b71650c9acd'] 2026-05-28 15:30:43,240 - WARNING - Deleting VN ctest-vn2-83752356 failed..Will retry 2026-05-28 15:30:45,382 - DEBUG - Response for deleting network () 2026-05-28 15:30:45,382 - INFO - Deleting VN ctest-vn1-07780107 2026-05-28 15:30:45,498 - DEBUG - Response for deleting network () 2026-05-28 15:30:45,770 - DEBUG - No XMPP flaps were noticed during the test
2026-05-28 15:30:45,771 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2026-05-28 15:30:45,771 - INFO - -------------------------------------------------------------------------------- 2026-05-28 15:30:46,553 - INFO - Deleted project: ctest-TestRouters-13797106, ID : b2fcc54a-234a-4bc4-a2a2-dd785bb4becc