2026-08-20 19:15:26,155 - INFO - Domain Default found not creating 2026-08-20 19:15:26,331 - INFO - Project ctest-TestRouters-07687460 not found, creating it 2026-08-20 19:15:26,846 - INFO - Created Project:ctest-TestRouters-07687460, ID : 862dd20d-892e-4fce-b711-30e3db8e1ea4 2026-08-20 19:15:28,628 - INFO - ================================================================================ 2026-08-20 19:15:28,628 - INFO - STARTING TEST : test_basic_router_behavior 2026-08-20 19:15:28,628 - 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-08-20 19:15:28,912 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with 2026-08-20 19:15:28,912 - INFO - Initial checks done. Running the testcase now 2026-08-20 19:15:28,912 - INFO - 2026-08-20 19:15:30,282 - DEBUG - Response for create_network : {'network': {'id': '40ad0cdb-6a7c-498f-ab5f-fdeadab334c3', 'name': 'ctest-vn1-80388252', 'tenant_id': '862dd20d892e4fceb71130e3db8e1ea4', 'project_id': '862dd20d892e4fceb71130e3db8e1ea4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-07687460', 'ctest-vn1-80388252'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 19:15:30,563 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fca6b1aa-6985-43be-b272-fcc0e34c33d3', 'name': '', 'tenant_id': '862dd20d892e4fceb71130e3db8e1ea4', 'network_id': '40ad0cdb-6a7c-498f-ab5f-fdeadab334c3', 'ip_version': 4, 'cidr': '112.61.200.64/26', 'allocation_pools': [{'start': '112.61.200.66', 'end': '112.61.200.126'}], 'gateway_ip': '112.61.200.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.61.200.66', 'tags': [], 'project_id': '862dd20d892e4fceb71130e3db8e1ea4'}} 2026-08-20 19:15:30,583 - INFO - Created VN ctest-vn1-80388252 2026-08-20 19:15:30,640 - DEBUG - VN ctest-vn1-80388252 UUID is 40ad0cdb-6a7c-498f-ab5f-fdeadab334c3 2026-08-20 19:15:30,985 - DEBUG - Response for create_network : {'network': {'id': '27a01248-efbb-4c97-a496-9ea914cdd48f', 'name': 'ctest-vn2-65227202', 'tenant_id': '862dd20d892e4fceb71130e3db8e1ea4', 'project_id': '862dd20d892e4fceb71130e3db8e1ea4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-07687460', 'ctest-vn2-65227202'], 'port_security_enabled': True, 'description': ''}} 2026-08-20 19:15:31,218 - DEBUG - Response for create_subnet : {'subnet': {'id': '16203d3d-e611-406c-80f0-3f87f7946c9c', 'name': '', 'tenant_id': '862dd20d892e4fceb71130e3db8e1ea4', 'network_id': '27a01248-efbb-4c97-a496-9ea914cdd48f', 'ip_version': 4, 'cidr': '146.23.173.64/26', 'allocation_pools': [{'start': '146.23.173.66', 'end': '146.23.173.126'}], 'gateway_ip': '146.23.173.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.23.173.66', 'tags': [], 'project_id': '862dd20d892e4fceb71130e3db8e1ea4'}} 2026-08-20 19:15:31,243 - INFO - Created VN ctest-vn2-65227202 2026-08-20 19:15:31,308 - DEBUG - VN ctest-vn2-65227202 UUID is 27a01248-efbb-4c97-a496-9ea914cdd48f 2026-08-20 19:15:31,570 - DEBUG - Services list from nova: [, , ] 2026-08-20 19:15:32,149 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6194-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6194-1) 2026-08-20 19:15:32,642 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6194-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6194-1) 2026-08-20 19:15:32,726 - INFO - Adding interface with subnet_id fca6b1aa-6985-43be-b272-fcc0e34c33d3, port_id None to router 1d2ba965-6686-430d-a738-9a2749f67afa 2026-08-20 19:15:32,995 - INFO - Waiting for VM ctest-vn1-vm1-35080410 to be up.. 2026-08-20 19:15:33,064 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:15:38,150 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:15:43,239 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:15:48,383 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:15:53,470 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:15:58,551 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:16:03,643 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-20 19:16:08,729 - DEBUG - VM is in ACTIVE state now 2026-08-20 19:16:08,730 - INFO - VM name : ctest-vn1-vm1-35080410 2026-08-20 19:16:08,808 - DEBUG - VM ctest-vn1-vm1-35080410 ID is e5d5d1d0-8611-47a6-b0d3-19577460252c 2026-08-20 19:16:08,831 - DEBUG - VM ctest-vn1-vm1-35080410 launched on Node cn-jenkins-deploy-platform-ansible-os-6194-1 2026-08-20 19:16:08,914 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/e5d5d1d0-8611-47a6-b0d3-19577460252c 2026-08-20 19:16:09,297 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/e5d5d1d0-8611-47a6-b0d3-19577460252c 2026-08-20 19:16:09,331 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/0fc992c2-c30e-45a3-a724-c003130d7aa5 2026-08-20 19:16:12,607 - 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 1025ms') 2026-08-20 19:16:12,607 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35080410 failed! 2026-08-20 19:16:12,664 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-07687460:ctest-vn1-80388252 is 112.61.200.65 and allocation pool is NOT set 2026-08-20 19:16:16,759 - 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=4.73 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1034ms\r\nrtt min/avg/max/mdev = 4.730/4.730/4.730/0.000 ms') 2026-08-20 19:16:16,760 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-35080410 passed 2026-08-20 19:16:16,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 19:16:16,913 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-35080410, IP 112.61.200.67, Port 22 2026-08-20 19:16:17,082 - DEBUG - VM ctest-vn1-vm1-35080410 is ready for SSH connections 2026-08-20 19:16:17,082 - INFO - Waiting for VM ctest-vn2-vm1-81038483 to be up.. 2026-08-20 19:16:17,167 - DEBUG - VM is in ACTIVE state now 2026-08-20 19:16:17,167 - INFO - VM name : ctest-vn2-vm1-81038483 2026-08-20 19:16:17,252 - DEBUG - VM ctest-vn2-vm1-81038483 ID is 5077aab9-dd2e-4a0d-bed6-18a355087fd7 2026-08-20 19:16:17,252 - DEBUG - VM ctest-vn2-vm1-81038483 launched on Node cn-jenkins-deploy-platform-ansible-os-6194-1 2026-08-20 19:16:17,334 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine/5077aab9-dd2e-4a0d-bed6-18a355087fd7 2026-08-20 19:16:17,344 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-machine-interface/47de2cd6-d72b-40df-aaa6-ad602786edc8 2026-08-20 19:16:20,598 - 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 1001ms') 2026-08-20 19:16:20,599 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-81038483 failed! 2026-08-20 19:16:20,652 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-07687460:ctest-vn2-65227202 is 146.23.173.65 and allocation pool is NOT set 2026-08-20 19:16:22,714 - 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=12.1 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.35 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 = 3.350/7.735/12.121/4.385 ms') 2026-08-20 19:16:22,714 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-81038483 passed 2026-08-20 19:16:22,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 19:16:22,869 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-81038483, IP 146.23.173.67, Port 22 2026-08-20 19:16:22,934 - 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-08-20 19:16:23,023 - DEBUG - VM ctest-vn2-vm1-81038483 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-20 19:16:28,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 19:16:28,024 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-81038483, IP 146.23.173.67, Port 22 2026-08-20 19:16:28,194 - DEBUG - VM ctest-vn2-vm1-81038483 is ready for SSH connections 2026-08-20 19:16:28,195 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 19:16:28,195 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.23.173.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-20 19:16:28,195 - DEBUG - ping -s 56 -c 3 -W 1 146.23.173.67 2026-08-20 19:16:33,260 - DEBUG - PING 146.23.173.67 (146.23.173.67): 56 data bytes --- 146.23.173.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-08-20 19:16:33,260 - WARNING - Ping to IP 146.23.173.67 from VM ctest-vn1-vm1-35080410 failed 2026-08-20 19:16:33,261 - INFO - Adding interface with subnet_id 16203d3d-e611-406c-80f0-3f87f7946c9c, port_id None to router 1d2ba965-6686-430d-a738-9a2749f67afa 2026-08-20 19:16:33,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 19:16:33,559 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.23.173.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-20 19:16:33,560 - DEBUG - ping -s 56 -c 3 -W 1 146.23.173.67 2026-08-20 19:16:36,703 - DEBUG - PING 146.23.173.67 (146.23.173.67): 56 data bytes 64 bytes from 146.23.173.67: seq=1 ttl=63 time=3.867 ms 64 bytes from 146.23.173.67: seq=2 ttl=63 time=1.256 ms --- 146.23.173.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.256/2.561/3.867 ms 2026-08-20 19:16:36,704 - WARNING - Ping to IP 146.23.173.67 from VM ctest-vn1-vm1-35080410 failed 2026-08-20 19:16:37,704 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.23.173.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-20 19:16:37,704 - DEBUG - ping -s 56 -c 3 -W 1 146.23.173.67 2026-08-20 19:16:39,836 - DEBUG - PING 146.23.173.67 (146.23.173.67): 56 data bytes 64 bytes from 146.23.173.67: seq=0 ttl=63 time=1.861 ms 64 bytes from 146.23.173.67: seq=1 ttl=63 time=1.108 ms 64 bytes from 146.23.173.67: seq=2 ttl=63 time=1.129 ms --- 146.23.173.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.108/1.366/1.861 ms 2026-08-20 19:16:39,836 - INFO - Ping to IP 146.23.173.67 from VM ctest-vn1-vm1-35080410 passed 2026-08-20 19:16:39,836 - INFO - Deleting interface with subnet_id fca6b1aa-6985-43be-b272-fcc0e34c33d3, port_id None from router 1d2ba965-6686-430d-a738-9a2749f67afa 2026-08-20 19:16:39,977 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 19:16:39,977 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.23.173.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-20 19:16:39,977 - DEBUG - ping -s 56 -c 3 -W 1 146.23.173.67 2026-08-20 19:16:43,112 - DEBUG - PING 146.23.173.67 (146.23.173.67): 56 data bytes --- 146.23.173.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-08-20 19:16:43,112 - WARNING - Ping to IP 146.23.173.67 from VM ctest-vn1-vm1-35080410 failed 2026-08-20 19:16:43,112 - INFO - Adding interface with subnet_id fca6b1aa-6985-43be-b272-fcc0e34c33d3, port_id None to router 1d2ba965-6686-430d-a738-9a2749f67afa 2026-08-20 19:16:43,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-20 19:16:43,407 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 146.23.173.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.177, gateway password: c0ntrail123 2026-08-20 19:16:43,407 - DEBUG - ping -s 56 -c 3 -W 1 146.23.173.67 2026-08-20 19:16:45,545 - DEBUG - PING 146.23.173.67 (146.23.173.67): 56 data bytes 64 bytes from 146.23.173.67: seq=0 ttl=63 time=1.617 ms 64 bytes from 146.23.173.67: seq=1 ttl=63 time=1.165 ms 64 bytes from 146.23.173.67: seq=2 ttl=63 time=1.101 ms --- 146.23.173.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.101/1.294/1.617 ms 2026-08-20 19:16:45,545 - INFO - Ping to IP 146.23.173.67 from VM ctest-vn1-vm1-35080410 passed 2026-08-20 19:16:45,545 - INFO - Deleting interface with subnet_id 16203d3d-e611-406c-80f0-3f87f7946c9c, port_id None from router 1d2ba965-6686-430d-a738-9a2749f67afa 2026-08-20 19:16:45,680 - INFO - Deleting interface with subnet_id fca6b1aa-6985-43be-b272-fcc0e34c33d3, port_id None from router 1d2ba965-6686-430d-a738-9a2749f67afa 2026-08-20 19:16:45,883 - INFO - Deleting VM ctest-vn2-vm1-81038483 2026-08-20 19:16:45,965 - INFO - Deleting VM ctest-vn1-vm1-35080410 2026-08-20 19:16:46,047 - INFO - Deleting VN ctest-vn2-65227202 2026-08-20 19:16:46,088 - DEBUG - VN 27a01248-efbb-4c97-a496-9ea914cdd48f still in use: Unable to complete operation on network 27a01248-efbb-4c97-a496-9ea914cdd48f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-16dfa982-34ce-43fc-967d-c27f52228b92'] 2026-08-20 19:16:46,088 - WARNING - Deleting VN ctest-vn2-65227202 failed..Will retry 2026-08-20 19:16:48,251 - DEBUG - Response for deleting network () 2026-08-20 19:16:48,251 - INFO - Deleting VN ctest-vn1-80388252 2026-08-20 19:16:48,379 - DEBUG - Response for deleting network () 2026-08-20 19:16:48,651 - DEBUG - No XMPP flaps were noticed during the test
2026-08-20 19:16:48,651 - INFO - END TEST : test_basic_router_behavior : PASSED[0:01:20]
2026-08-20 19:16:48,651 - INFO - -------------------------------------------------------------------------------- 2026-08-20 19:16:49,454 - INFO - Deleted project: ctest-TestRouters-07687460, ID : 862dd20d-892e-4fce-b711-30e3db8e1ea4