2026-04-17 13:14:24,271 - INFO - Domain Default found not creating 2026-04-17 13:14:24,448 - INFO - Project ctest-TestRouters-41305493 not found, creating it 2026-04-17 13:14:24,918 - INFO - Created Project:ctest-TestRouters-41305493, ID : c8f10f82-e1d4-4f48-9437-973cda74985c 2026-04-17 13:14:26,568 - INFO - ================================================================================ 2026-04-17 13:14:26,568 - INFO - STARTING TEST : test_basic_router_behavior 2026-04-17 13:14:26,568 - 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-04-17 13:14:26,825 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-04-17 13:14:26,825 - INFO - Initial checks done. Running the testcase now 2026-04-17 13:14:26,825 - INFO - 2026-04-17 13:14:27,467 - DEBUG - Response for create_network : {'network': {'id': '81f60af8-cea4-434f-9ad0-8a3ecdd7de86', 'name': 'ctest-vn1-55759513', 'tenant_id': 'c8f10f82e1d44f489437973cda74985c', 'project_id': 'c8f10f82e1d44f489437973cda74985c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41305493', 'ctest-vn1-55759513'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 13:14:27,662 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e1a3099-74da-4927-8567-8f8b5138c88c', 'name': '', 'tenant_id': 'c8f10f82e1d44f489437973cda74985c', 'network_id': '81f60af8-cea4-434f-9ad0-8a3ecdd7de86', 'ip_version': 4, 'cidr': '56.108.228.128/26', 'allocation_pools': [{'start': '56.108.228.130', 'end': '56.108.228.190'}], 'gateway_ip': '56.108.228.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.108.228.130', 'tags': [], 'project_id': 'c8f10f82e1d44f489437973cda74985c'}} 2026-04-17 13:14:27,687 - INFO - Created VN ctest-vn1-55759513 2026-04-17 13:14:27,744 - DEBUG - VN ctest-vn1-55759513 UUID is 81f60af8-cea4-434f-9ad0-8a3ecdd7de86 2026-04-17 13:14:28,064 - DEBUG - Response for create_network : {'network': {'id': '97bb0a79-9c4a-47b9-b15a-c8a235cd502a', 'name': 'ctest-vn2-90340340', 'tenant_id': 'c8f10f82e1d44f489437973cda74985c', 'project_id': 'c8f10f82e1d44f489437973cda74985c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41305493', 'ctest-vn2-90340340'], 'port_security_enabled': True, 'description': ''}} 2026-04-17 13:14:28,353 - DEBUG - Response for create_subnet : {'subnet': {'id': '09979a6b-3967-4745-b690-eb8213d6f8cf', 'name': '', 'tenant_id': 'c8f10f82e1d44f489437973cda74985c', 'network_id': '97bb0a79-9c4a-47b9-b15a-c8a235cd502a', 'ip_version': 4, 'cidr': '48.168.88.128/26', 'allocation_pools': [{'start': '48.168.88.130', 'end': '48.168.88.190'}], 'gateway_ip': '48.168.88.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.168.88.130', 'tags': [], 'project_id': 'c8f10f82e1d44f489437973cda74985c'}} 2026-04-17 13:14:28,372 - INFO - Created VN ctest-vn2-90340340 2026-04-17 13:14:28,424 - DEBUG - VN ctest-vn2-90340340 UUID is 97bb0a79-9c4a-47b9-b15a-c8a235cd502a 2026-04-17 13:14:28,594 - DEBUG - Services list from nova: [, , ] 2026-04-17 13:14:29,732 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5635-1) 2026-04-17 13:14:31,164 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5635-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5635-1) 2026-04-17 13:14:31,240 - INFO - Adding interface with subnet_id 0e1a3099-74da-4927-8567-8f8b5138c88c, port_id None to router 6848746f-f106-413c-b1e1-02efe5f381ef 2026-04-17 13:14:31,525 - INFO - Waiting for VM ctest-vn1-vm1-80680461 to be up.. 2026-04-17 13:14:31,658 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-17 13:14:36,748 - DEBUG - VM is in ACTIVE state now 2026-04-17 13:14:36,748 - INFO - VM name : ctest-vn1-vm1-80680461 2026-04-17 13:14:36,831 - DEBUG - VM ctest-vn1-vm1-80680461 ID is 695c78f7-ad3a-4355-94d9-a8078f63cc3b 2026-04-17 13:14:36,854 - DEBUG - VM ctest-vn1-vm1-80680461 launched on Node cn-jenkins-deploy-platform-ansible-os-5635-1 2026-04-17 13:14:36,932 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/695c78f7-ad3a-4355-94d9-a8078f63cc3b 2026-04-17 13:14:37,284 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/695c78f7-ad3a-4355-94d9-a8078f63cc3b 2026-04-17 13:14:37,321 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/956e312a-139e-43d7-972d-646fff9f3faa 2026-04-17 13:14:40,588 - 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-04-17 13:14:40,588 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80680461 failed! 2026-04-17 13:14:40,644 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-41305493:ctest-vn1-55759513 is 56.108.228.129 and allocation pool is NOT set 2026-04-17 13:14:42,717 - 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.21 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.46 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 = 2.458/3.334/4.211/0.876 ms') 2026-04-17 13:14:42,717 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-80680461 passed 2026-04-17 13:14:42,868 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:14:42,868 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-80680461, IP 56.108.228.131, Port 22 2026-04-17 13:14:43,023 - DEBUG - VM ctest-vn1-vm1-80680461 is ready for SSH connections 2026-04-17 13:14:43,023 - INFO - Waiting for VM ctest-vn2-vm1-07501740 to be up.. 2026-04-17 13:14:43,106 - DEBUG - VM is in ACTIVE state now 2026-04-17 13:14:43,106 - INFO - VM name : ctest-vn2-vm1-07501740 2026-04-17 13:14:43,189 - DEBUG - VM ctest-vn2-vm1-07501740 ID is 4ec37750-6b12-4478-9c8c-992dd3b9a2d2 2026-04-17 13:14:43,189 - DEBUG - VM ctest-vn2-vm1-07501740 launched on Node cn-jenkins-deploy-platform-ansible-os-5635-1 2026-04-17 13:14:43,266 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4ec37750-6b12-4478-9c8c-992dd3b9a2d2 2026-04-17 13:14:43,275 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/2459ae1a-9c1b-4e75-a958-db5811d67945 2026-04-17 13:14:44,520 - 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.22 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=3.04 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.043/3.129/3.215/0.086 ms') 2026-04-17 13:14:44,520 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-07501740 passed 2026-04-17 13:14:44,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:14:44,668 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-07501740, IP 48.168.88.131, Port 22 2026-04-17 13:14:44,733 - 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-04-17 13:14:44,812 - DEBUG - VM ctest-vn2-vm1-07501740 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-17 13:14:49,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:14:49,813 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-07501740, IP 48.168.88.131, Port 22 2026-04-17 13:14:49,868 - 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-04-17 13:14:49,951 - DEBUG - VM ctest-vn2-vm1-07501740 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-17 13:14:54,952 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:14:54,953 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-07501740, IP 48.168.88.131, Port 22 2026-04-17 13:14:55,118 - DEBUG - VM ctest-vn2-vm1-07501740 is ready for SSH connections 2026-04-17 13:14:55,118 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:14:55,118 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.168.88.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-17 13:14:55,118 - DEBUG - ping -s 56 -c 3 -W 1 48.168.88.131 2026-04-17 13:15:00,192 - DEBUG - PING 48.168.88.131 (48.168.88.131): 56 data bytes --- 48.168.88.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-17 13:15:00,192 - WARNING - Ping to IP 48.168.88.131 from VM ctest-vn1-vm1-80680461 failed 2026-04-17 13:15:00,192 - INFO - Adding interface with subnet_id 09979a6b-3967-4745-b690-eb8213d6f8cf, port_id None to router 6848746f-f106-413c-b1e1-02efe5f381ef 2026-04-17 13:15:00,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:15:00,450 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.168.88.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-17 13:15:00,450 - DEBUG - ping -s 56 -c 3 -W 1 48.168.88.131 2026-04-17 13:15:03,669 - DEBUG - PING 48.168.88.131 (48.168.88.131): 56 data bytes 64 bytes from 48.168.88.131: seq=1 ttl=63 time=3.047 ms 64 bytes from 48.168.88.131: seq=2 ttl=63 time=0.904 ms --- 48.168.88.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.904/1.975/3.047 ms 2026-04-17 13:15:03,669 - WARNING - Ping to IP 48.168.88.131 from VM ctest-vn1-vm1-80680461 failed 2026-04-17 13:15:04,670 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.168.88.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-17 13:15:04,670 - DEBUG - ping -s 56 -c 3 -W 1 48.168.88.131 2026-04-17 13:15:06,900 - DEBUG - PING 48.168.88.131 (48.168.88.131): 56 data bytes 64 bytes from 48.168.88.131: seq=0 ttl=63 time=1.579 ms 64 bytes from 48.168.88.131: seq=1 ttl=63 time=0.952 ms 64 bytes from 48.168.88.131: seq=2 ttl=63 time=0.863 ms --- 48.168.88.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.863/1.131/1.579 ms 2026-04-17 13:15:06,900 - INFO - Ping to IP 48.168.88.131 from VM ctest-vn1-vm1-80680461 passed 2026-04-17 13:15:06,901 - INFO - Deleting interface with subnet_id 0e1a3099-74da-4927-8567-8f8b5138c88c, port_id None from router 6848746f-f106-413c-b1e1-02efe5f381ef 2026-04-17 13:15:07,018 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:15:07,019 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.168.88.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-17 13:15:07,019 - DEBUG - ping -s 56 -c 3 -W 1 48.168.88.131 2026-04-17 13:15:10,242 - DEBUG - PING 48.168.88.131 (48.168.88.131): 56 data bytes --- 48.168.88.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-17 13:15:10,242 - WARNING - Ping to IP 48.168.88.131 from VM ctest-vn1-vm1-80680461 failed 2026-04-17 13:15:10,242 - INFO - Adding interface with subnet_id 0e1a3099-74da-4927-8567-8f8b5138c88c, port_id None to router 6848746f-f106-413c-b1e1-02efe5f381ef 2026-04-17 13:15:10,458 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-17 13:15:10,459 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.168.88.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-04-17 13:15:10,459 - DEBUG - ping -s 56 -c 3 -W 1 48.168.88.131 2026-04-17 13:15:12,688 - DEBUG - PING 48.168.88.131 (48.168.88.131): 56 data bytes 64 bytes from 48.168.88.131: seq=0 ttl=63 time=1.644 ms 64 bytes from 48.168.88.131: seq=1 ttl=63 time=1.018 ms 64 bytes from 48.168.88.131: seq=2 ttl=63 time=0.865 ms --- 48.168.88.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.865/1.175/1.644 ms 2026-04-17 13:15:12,688 - INFO - Ping to IP 48.168.88.131 from VM ctest-vn1-vm1-80680461 passed 2026-04-17 13:15:12,688 - INFO - Deleting interface with subnet_id 09979a6b-3967-4745-b690-eb8213d6f8cf, port_id None from router 6848746f-f106-413c-b1e1-02efe5f381ef 2026-04-17 13:15:12,825 - INFO - Deleting interface with subnet_id 0e1a3099-74da-4927-8567-8f8b5138c88c, port_id None from router 6848746f-f106-413c-b1e1-02efe5f381ef 2026-04-17 13:15:13,057 - INFO - Deleting VM ctest-vn2-vm1-07501740 2026-04-17 13:15:13,141 - INFO - Deleting VM ctest-vn1-vm1-80680461 2026-04-17 13:15:13,230 - INFO - Deleting VN ctest-vn2-90340340 2026-04-17 13:15:13,272 - DEBUG - VN 97bb0a79-9c4a-47b9-b15a-c8a235cd502a still in use: Unable to complete operation on network 97bb0a79-9c4a-47b9-b15a-c8a235cd502a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1d5da665-aec0-458d-a8ca-d315f2852f96'] 2026-04-17 13:15:13,272 - WARNING - Deleting VN ctest-vn2-90340340 failed..Will retry 2026-04-17 13:15:15,385 - DEBUG - Response for deleting network () 2026-04-17 13:15:15,385 - INFO - Deleting VN ctest-vn1-55759513 2026-04-17 13:15:15,492 - DEBUG - Response for deleting network () 2026-04-17 13:15:15,774 - DEBUG - No XMPP flaps were noticed during the test
2026-04-17 13:15:15,774 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:49]
2026-04-17 13:15:15,774 - INFO - -------------------------------------------------------------------------------- 2026-04-17 13:15:16,541 - INFO - Deleted project: ctest-TestRouters-41305493, ID : c8f10f82-e1d4-4f48-9437-973cda74985c