2026-10-26 15:04:07,753 - INFO - Domain Default found not creating 2026-10-26 15:04:08,064 - INFO - Project ctest-TestRouters-27151625 not found, creating it 2026-10-26 15:04:08,746 - INFO - Created Project:ctest-TestRouters-27151625, ID : 905166d3-1a87-4e55-a3cb-fbaa98837c63 2026-10-26 15:04:11,086 - INFO - ================================================================================ 2026-10-26 15:04:11,087 - INFO - STARTING TEST : test_basic_router_behavior 2026-10-26 15:04:11,087 - 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-10-26 15:04:11,389 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-10-26 15:04:11,390 - INFO - Initial checks done. Running the testcase now 2026-10-26 15:04:11,390 - INFO - 2026-10-26 15:04:12,238 - DEBUG - Response for create_network : {'network': {'id': '0267b800-ec42-4579-b5d7-5feab465bdc4', 'name': 'ctest-vn1-56363864', 'tenant_id': '905166d31a874e55a3cbfbaa98837c63', 'project_id': '905166d31a874e55a3cbfbaa98837c63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27151625', 'ctest-vn1-56363864'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 15:04:12,594 - DEBUG - Response for create_subnet : {'subnet': {'id': '4549606f-8278-4665-8420-ae66472884db', 'name': '', 'tenant_id': '905166d31a874e55a3cbfbaa98837c63', 'network_id': '0267b800-ec42-4579-b5d7-5feab465bdc4', 'ip_version': 4, 'cidr': '31.159.202.64/26', 'allocation_pools': [{'start': '31.159.202.66', 'end': '31.159.202.126'}], 'gateway_ip': '31.159.202.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.159.202.66', 'tags': [], 'project_id': '905166d31a874e55a3cbfbaa98837c63'}} 2026-10-26 15:04:12,622 - INFO - Created VN ctest-vn1-56363864 2026-10-26 15:04:12,686 - DEBUG - VN ctest-vn1-56363864 UUID is 0267b800-ec42-4579-b5d7-5feab465bdc4 2026-10-26 15:04:13,226 - DEBUG - Response for create_network : {'network': {'id': 'd44a2caf-7b99-4e76-ba94-80ff00ab1626', 'name': 'ctest-vn2-71749349', 'tenant_id': '905166d31a874e55a3cbfbaa98837c63', 'project_id': '905166d31a874e55a3cbfbaa98837c63', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-27151625', 'ctest-vn2-71749349'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 15:04:13,527 - DEBUG - Response for create_subnet : {'subnet': {'id': '28266189-18f0-4f63-a655-cd2d8d612198', 'name': '', 'tenant_id': '905166d31a874e55a3cbfbaa98837c63', 'network_id': 'd44a2caf-7b99-4e76-ba94-80ff00ab1626', 'ip_version': 4, 'cidr': '221.35.157.64/26', 'allocation_pools': [{'start': '221.35.157.66', 'end': '221.35.157.126'}], 'gateway_ip': '221.35.157.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.35.157.66', 'tags': [], 'project_id': '905166d31a874e55a3cbfbaa98837c63'}} 2026-10-26 15:04:13,556 - INFO - Created VN ctest-vn2-71749349 2026-10-26 15:04:13,622 - DEBUG - VN ctest-vn2-71749349 UUID is d44a2caf-7b99-4e76-ba94-80ff00ab1626 2026-10-26 15:04:13,940 - DEBUG - Services list from nova: [, , ] 2026-10-26 15:04:14,565 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6413-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6413-1) 2026-10-26 15:04:15,294 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6413-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6413-1) 2026-10-26 15:04:15,403 - INFO - Adding interface with subnet_id 4549606f-8278-4665-8420-ae66472884db, port_id None to router 880b1822-943f-4573-b6d1-0da80e27feb5 2026-10-26 15:04:15,795 - INFO - Waiting for VM ctest-vn1-vm1-49104842 to be up.. 2026-10-26 15:04:15,904 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:04:21,023 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:04:26,164 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:04:31,288 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:04:36,419 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:04:41,533 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:04:46,680 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:04:51,811 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:04:57,040 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:05:02,166 - DEBUG - VM is in ACTIVE state now 2026-10-26 15:05:02,166 - INFO - VM name : ctest-vn1-vm1-49104842 2026-10-26 15:05:02,287 - DEBUG - VM ctest-vn1-vm1-49104842 ID is 24f4f618-0a72-4870-a7b8-7fa2022287d4 2026-10-26 15:05:02,317 - DEBUG - VM ctest-vn1-vm1-49104842 launched on Node cn-jenkins-deploy-platform-ansible-os-6413-1 2026-10-26 15:05:02,439 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/24f4f618-0a72-4870-a7b8-7fa2022287d4 2026-10-26 15:05:02,861 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/24f4f618-0a72-4870-a7b8-7fa2022287d4 2026-10-26 15:05:02,905 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/928e8f2e-af3b-46ad-b4af-f4a99e6a959a 2026-10-26 15:05:06,203 - 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 1022ms') 2026-10-26 15:05:06,204 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49104842 failed! 2026-10-26 15:05:06,270 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-27151625:ctest-vn1-56363864 is 31.159.202.65 and allocation pool is NOT set 2026-10-26 15:05:10,366 - 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=2 ttl=63 time=7.17 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1023ms\r\nrtt min/avg/max/mdev = 7.168/7.168/7.168/0.000 ms') 2026-10-26 15:05:10,366 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-49104842 passed 2026-10-26 15:05:10,534 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:05:10,535 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-49104842, IP 31.159.202.67, Port 22 2026-10-26 15:05:10,714 - DEBUG - VM ctest-vn1-vm1-49104842 is ready for SSH connections 2026-10-26 15:05:10,714 - INFO - Waiting for VM ctest-vn2-vm1-40759226 to be up.. 2026-10-26 15:05:10,851 - DEBUG - VM is in ACTIVE state now 2026-10-26 15:05:10,851 - INFO - VM name : ctest-vn2-vm1-40759226 2026-10-26 15:05:10,978 - DEBUG - VM ctest-vn2-vm1-40759226 ID is 92c4b48a-f82b-4b29-b716-960753733626 2026-10-26 15:05:10,978 - DEBUG - VM ctest-vn2-vm1-40759226 launched on Node cn-jenkins-deploy-platform-ansible-os-6413-1 2026-10-26 15:05:11,103 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/92c4b48a-f82b-4b29-b716-960753733626 2026-10-26 15:05:11,119 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/b19cc4a7-6ee4-4ccf-95a4-dc2bea1e510a 2026-10-26 15:05:14,431 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms') 2026-10-26 15:05:14,431 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-40759226 failed! 2026-10-26 15:05:14,494 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-27151625:ctest-vn2-71749349 is 221.35.157.65 and allocation pool is NOT set 2026-10-26 15:05:16,568 - 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=9.37 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.68 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 2.681/6.026/9.372/3.345 ms') 2026-10-26 15:05:16,568 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-40759226 passed 2026-10-26 15:05:16,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:05:16,726 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-40759226, IP 221.35.157.67, Port 22 2026-10-26 15:05:16,792 - 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-10-26 15:05:16,896 - DEBUG - VM ctest-vn2-vm1-40759226 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-26 15:05:21,897 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:05:21,897 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-40759226, IP 221.35.157.67, Port 22 2026-10-26 15:05:22,068 - DEBUG - VM ctest-vn2-vm1-40759226 is ready for SSH connections 2026-10-26 15:05:22,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:05:22,069 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.35.157.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-26 15:05:22,069 - DEBUG - ping -s 56 -c 3 -W 1 221.35.157.67 2026-10-26 15:05:27,396 - DEBUG - PING 221.35.157.67 (221.35.157.67): 56 data bytes --- 221.35.157.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-10-26 15:05:27,396 - WARNING - Ping to IP 221.35.157.67 from VM ctest-vn1-vm1-49104842 failed 2026-10-26 15:05:27,396 - INFO - Adding interface with subnet_id 28266189-18f0-4f63-a655-cd2d8d612198, port_id None to router 880b1822-943f-4573-b6d1-0da80e27feb5 2026-10-26 15:05:27,967 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:05:27,967 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.35.157.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-26 15:05:27,967 - DEBUG - ping -s 56 -c 3 -W 1 221.35.157.67 2026-10-26 15:05:31,165 - DEBUG - PING 221.35.157.67 (221.35.157.67): 56 data bytes 64 bytes from 221.35.157.67: seq=1 ttl=63 time=5.630 ms 64 bytes from 221.35.157.67: seq=2 ttl=63 time=1.843 ms --- 221.35.157.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.843/3.736/5.630 ms 2026-10-26 15:05:31,165 - WARNING - Ping to IP 221.35.157.67 from VM ctest-vn1-vm1-49104842 failed 2026-10-26 15:05:32,166 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.35.157.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-26 15:05:32,166 - DEBUG - ping -s 56 -c 3 -W 1 221.35.157.67 2026-10-26 15:05:34,359 - DEBUG - PING 221.35.157.67 (221.35.157.67): 56 data bytes 64 bytes from 221.35.157.67: seq=0 ttl=63 time=2.193 ms 64 bytes from 221.35.157.67: seq=1 ttl=63 time=2.135 ms 64 bytes from 221.35.157.67: seq=2 ttl=63 time=1.689 ms --- 221.35.157.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.689/2.005/2.193 ms 2026-10-26 15:05:34,359 - INFO - Ping to IP 221.35.157.67 from VM ctest-vn1-vm1-49104842 passed 2026-10-26 15:05:34,359 - INFO - Deleting interface with subnet_id 4549606f-8278-4665-8420-ae66472884db, port_id None from router 880b1822-943f-4573-b6d1-0da80e27feb5 2026-10-26 15:05:34,653 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:05:34,653 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.35.157.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-26 15:05:34,654 - DEBUG - ping -s 56 -c 3 -W 1 221.35.157.67 2026-10-26 15:05:37,837 - DEBUG - PING 221.35.157.67 (221.35.157.67): 56 data bytes --- 221.35.157.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-10-26 15:05:37,838 - WARNING - Ping to IP 221.35.157.67 from VM ctest-vn1-vm1-49104842 failed 2026-10-26 15:05:37,838 - INFO - Adding interface with subnet_id 4549606f-8278-4665-8420-ae66472884db, port_id None to router 880b1822-943f-4573-b6d1-0da80e27feb5 2026-10-26 15:05:38,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:05:38,253 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 221.35.157.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-26 15:05:38,253 - DEBUG - ping -s 56 -c 3 -W 1 221.35.157.67 2026-10-26 15:05:40,448 - DEBUG - PING 221.35.157.67 (221.35.157.67): 56 data bytes 64 bytes from 221.35.157.67: seq=0 ttl=63 time=2.338 ms 64 bytes from 221.35.157.67: seq=1 ttl=63 time=1.366 ms 64 bytes from 221.35.157.67: seq=2 ttl=63 time=1.280 ms --- 221.35.157.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.280/1.661/2.338 ms 2026-10-26 15:05:40,449 - INFO - Ping to IP 221.35.157.67 from VM ctest-vn1-vm1-49104842 passed 2026-10-26 15:05:40,449 - INFO - Deleting interface with subnet_id 28266189-18f0-4f63-a655-cd2d8d612198, port_id None from router 880b1822-943f-4573-b6d1-0da80e27feb5 2026-10-26 15:05:40,662 - INFO - Deleting interface with subnet_id 4549606f-8278-4665-8420-ae66472884db, port_id None from router 880b1822-943f-4573-b6d1-0da80e27feb5 2026-10-26 15:05:41,000 - INFO - Deleting VM ctest-vn2-vm1-40759226 2026-10-26 15:05:41,134 - INFO - Deleting VM ctest-vn1-vm1-49104842 2026-10-26 15:05:41,261 - INFO - Deleting VN ctest-vn2-71749349 2026-10-26 15:05:41,313 - DEBUG - VN d44a2caf-7b99-4e76-ba94-80ff00ab1626 still in use: Unable to complete operation on network d44a2caf-7b99-4e76-ba94-80ff00ab1626. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8997a7ad-4752-4791-be62-04934e804488'] 2026-10-26 15:05:41,313 - WARNING - Deleting VN ctest-vn2-71749349 failed..Will retry 2026-10-26 15:05:43,372 - DEBUG - VN d44a2caf-7b99-4e76-ba94-80ff00ab1626 still in use: Unable to complete operation on network d44a2caf-7b99-4e76-ba94-80ff00ab1626. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6dc02b83-30b8-4724-8286-338c6475841e'] 2026-10-26 15:05:43,372 - WARNING - Deleting VN ctest-vn2-71749349 failed..Will retry 2026-10-26 15:05:45,586 - DEBUG - Response for deleting network () 2026-10-26 15:05:45,587 - INFO - Deleting VN ctest-vn1-56363864 2026-10-26 15:05:45,802 - DEBUG - Response for deleting network () 2026-10-26 15:05:46,094 - DEBUG - No XMPP flaps were noticed during the test
2026-10-26 15:05:46,094 - INFO - END TEST : test_basic_router_behavior : PASSED[0:01:35]
2026-10-26 15:05:46,095 - INFO - -------------------------------------------------------------------------------- 2026-10-26 15:05:47,254 - INFO - Deleted project: ctest-TestRouters-27151625, ID : 905166d3-1a87-4e55-a3cb-fbaa98837c63