2026-02-19 02:11:08,011 - INFO - Domain Default found not creating 2026-02-19 02:11:08,182 - INFO - Project ctest-TestRouters-40281461 not found, creating it 2026-02-19 02:11:08,646 - INFO - Created Project:ctest-TestRouters-40281461, ID : e6ef5228-dee8-4755-9f0d-b5ff2a3b7a1a 2026-02-19 02:11:10,187 - INFO - ================================================================================ 2026-02-19 02:11:10,187 - INFO - STARTING TEST : test_basic_router_behavior 2026-02-19 02:11:10,187 - 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-02-19 02:11:10,441 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.254': '0'}} with 2026-02-19 02:11:10,441 - INFO - Initial checks done. Running the testcase now 2026-02-19 02:11:10,441 - INFO - 2026-02-19 02:11:11,026 - DEBUG - Response for create_network : {'network': {'id': '630b17d5-7431-444c-ad5c-a4ed28562820', 'name': 'ctest-vn1-79324802', 'tenant_id': 'e6ef5228dee847559f0db5ff2a3b7a1a', 'project_id': 'e6ef5228dee847559f0db5ff2a3b7a1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-40281461', 'ctest-vn1-79324802'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 02:11:11,267 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fde9440e-56d6-4d97-bfa0-fc0d8d1fcfba', 'name': '', 'tenant_id': 'e6ef5228dee847559f0db5ff2a3b7a1a', 'network_id': '630b17d5-7431-444c-ad5c-a4ed28562820', 'ip_version': 4, 'cidr': '103.146.72.0/26', 'allocation_pools': [{'start': '103.146.72.2', 'end': '103.146.72.62'}], 'gateway_ip': '103.146.72.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.146.72.2', 'tags': [], 'project_id': 'e6ef5228dee847559f0db5ff2a3b7a1a'}} 2026-02-19 02:11:11,291 - INFO - Created VN ctest-vn1-79324802 2026-02-19 02:11:11,354 - DEBUG - VN ctest-vn1-79324802 UUID is 630b17d5-7431-444c-ad5c-a4ed28562820 2026-02-19 02:11:11,654 - DEBUG - Response for create_network : {'network': {'id': '34f03a14-410a-4b78-90e3-71d59de7e538', 'name': 'ctest-vn2-95611685', 'tenant_id': 'e6ef5228dee847559f0db5ff2a3b7a1a', 'project_id': 'e6ef5228dee847559f0db5ff2a3b7a1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-40281461', 'ctest-vn2-95611685'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 02:11:11,826 - DEBUG - Response for create_subnet : {'subnet': {'id': '73208beb-4804-42a0-897d-089dd9fdee25', 'name': '', 'tenant_id': 'e6ef5228dee847559f0db5ff2a3b7a1a', 'network_id': '34f03a14-410a-4b78-90e3-71d59de7e538', 'ip_version': 4, 'cidr': '47.175.5.192/26', 'allocation_pools': [{'start': '47.175.5.194', 'end': '47.175.5.254'}], 'gateway_ip': '47.175.5.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.175.5.194', 'tags': [], 'project_id': 'e6ef5228dee847559f0db5ff2a3b7a1a'}} 2026-02-19 02:11:11,853 - INFO - Created VN ctest-vn2-95611685 2026-02-19 02:11:11,910 - DEBUG - VN ctest-vn2-95611685 UUID is 34f03a14-410a-4b78-90e3-71d59de7e538 2026-02-19 02:11:12,085 - DEBUG - Services list from nova: [, , ] 2026-02-19 02:11:13,137 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5347-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5347-1) 2026-02-19 02:11:14,483 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5347-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5347-1) 2026-02-19 02:11:14,572 - INFO - Adding interface with subnet_id fde9440e-56d6-4d97-bfa0-fc0d8d1fcfba, port_id None to router 463f7270-d2d7-4d78-99bc-04cbcd2eb6b9 2026-02-19 02:11:14,867 - INFO - Waiting for VM ctest-vn1-vm1-30568010 to be up.. 2026-02-19 02:11:14,981 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-19 02:11:20,060 - DEBUG - VM is in ACTIVE state now 2026-02-19 02:11:20,060 - INFO - VM name : ctest-vn1-vm1-30568010 2026-02-19 02:11:20,132 - DEBUG - VM ctest-vn1-vm1-30568010 ID is e919a5e3-7d51-47f6-81c4-2b43c57899dd 2026-02-19 02:11:20,150 - DEBUG - VM ctest-vn1-vm1-30568010 launched on Node cn-jenkins-deploy-platform-ansible-os-5347-1 2026-02-19 02:11:20,227 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/e919a5e3-7d51-47f6-81c4-2b43c57899dd 2026-02-19 02:11:20,528 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/e919a5e3-7d51-47f6-81c4-2b43c57899dd 2026-02-19 02:11:20,571 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/01957015-bd8e-4aad-ad35-fd4f4a05f1f6 2026-02-19 02:11:23,848 - 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 1029ms') 2026-02-19 02:11:23,849 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30568010 failed! 2026-02-19 02:11:23,902 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-40281461:ctest-vn1-79324802 is 103.146.72.1 and allocation pool is NOT set 2026-02-19 02:11:25,965 - 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=14.7 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 1002ms\r\nrtt min/avg/max/mdev = 2.463/8.557/14.651/6.094 ms') 2026-02-19 02:11:25,965 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30568010 passed 2026-02-19 02:11:26,114 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:11:26,114 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-30568010, IP 103.146.72.3, Port 22 2026-02-19 02:11:26,169 - 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-02-19 02:11:26,251 - DEBUG - VM ctest-vn1-vm1-30568010 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-19 02:11:31,252 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:11:31,252 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-30568010, IP 103.146.72.3, Port 22 2026-02-19 02:11:31,428 - DEBUG - VM ctest-vn1-vm1-30568010 is ready for SSH connections 2026-02-19 02:11:31,428 - INFO - Waiting for VM ctest-vn2-vm1-61320913 to be up.. 2026-02-19 02:11:31,505 - DEBUG - VM is in ACTIVE state now 2026-02-19 02:11:31,505 - INFO - VM name : ctest-vn2-vm1-61320913 2026-02-19 02:11:31,596 - DEBUG - VM ctest-vn2-vm1-61320913 ID is 0408774c-0f69-447e-8232-2f9d829942af 2026-02-19 02:11:31,596 - DEBUG - VM ctest-vn2-vm1-61320913 launched on Node cn-jenkins-deploy-platform-ansible-os-5347-1 2026-02-19 02:11:31,670 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/0408774c-0f69-447e-8232-2f9d829942af 2026-02-19 02:11:31,678 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/945881ce-adfd-49c4-94e6-95e4f2a12143 2026-02-19 02:11:32,917 - 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=4.07 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.360 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.360/2.212/4.065/1.852 ms') 2026-02-19 02:11:32,917 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-61320913 passed 2026-02-19 02:11:33,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:11:33,074 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-61320913, IP 47.175.5.195, Port 22 2026-02-19 02:11:33,230 - DEBUG - VM ctest-vn2-vm1-61320913 is ready for SSH connections 2026-02-19 02:11:33,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:11:33,231 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.175.5.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-02-19 02:11:33,231 - DEBUG - ping -s 56 -c 3 -W 1 47.175.5.195 2026-02-19 02:11:38,286 - DEBUG - PING 47.175.5.195 (47.175.5.195): 56 data bytes --- 47.175.5.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-19 02:11:38,286 - WARNING - Ping to IP 47.175.5.195 from VM ctest-vn1-vm1-30568010 failed 2026-02-19 02:11:38,286 - INFO - Adding interface with subnet_id 73208beb-4804-42a0-897d-089dd9fdee25, port_id None to router 463f7270-d2d7-4d78-99bc-04cbcd2eb6b9 2026-02-19 02:11:38,526 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:11:38,526 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.175.5.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-02-19 02:11:38,526 - DEBUG - ping -s 56 -c 3 -W 1 47.175.5.195 2026-02-19 02:11:41,735 - DEBUG - PING 47.175.5.195 (47.175.5.195): 56 data bytes 64 bytes from 47.175.5.195: seq=1 ttl=63 time=2.672 ms 64 bytes from 47.175.5.195: seq=2 ttl=63 time=0.873 ms --- 47.175.5.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.873/1.772/2.672 ms 2026-02-19 02:11:41,735 - WARNING - Ping to IP 47.175.5.195 from VM ctest-vn1-vm1-30568010 failed 2026-02-19 02:11:42,736 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.175.5.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-02-19 02:11:42,736 - DEBUG - ping -s 56 -c 3 -W 1 47.175.5.195 2026-02-19 02:11:44,948 - DEBUG - PING 47.175.5.195 (47.175.5.195): 56 data bytes 64 bytes from 47.175.5.195: seq=0 ttl=63 time=1.302 ms 64 bytes from 47.175.5.195: seq=1 ttl=63 time=0.877 ms 64 bytes from 47.175.5.195: seq=2 ttl=63 time=0.685 ms --- 47.175.5.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.685/0.954/1.302 ms 2026-02-19 02:11:44,948 - INFO - Ping to IP 47.175.5.195 from VM ctest-vn1-vm1-30568010 passed 2026-02-19 02:11:44,948 - INFO - Deleting interface with subnet_id fde9440e-56d6-4d97-bfa0-fc0d8d1fcfba, port_id None from router 463f7270-d2d7-4d78-99bc-04cbcd2eb6b9 2026-02-19 02:11:45,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:11:45,083 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.175.5.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-02-19 02:11:45,083 - DEBUG - ping -s 56 -c 3 -W 1 47.175.5.195 2026-02-19 02:11:48,321 - DEBUG - PING 47.175.5.195 (47.175.5.195): 56 data bytes --- 47.175.5.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-19 02:11:48,321 - WARNING - Ping to IP 47.175.5.195 from VM ctest-vn1-vm1-30568010 failed 2026-02-19 02:11:48,321 - INFO - Adding interface with subnet_id fde9440e-56d6-4d97-bfa0-fc0d8d1fcfba, port_id None to router 463f7270-d2d7-4d78-99bc-04cbcd2eb6b9 2026-02-19 02:11:48,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 02:11:48,530 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 47.175.5.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2026-02-19 02:11:48,530 - DEBUG - ping -s 56 -c 3 -W 1 47.175.5.195 2026-02-19 02:11:50,747 - DEBUG - PING 47.175.5.195 (47.175.5.195): 56 data bytes 64 bytes from 47.175.5.195: seq=0 ttl=63 time=1.848 ms 64 bytes from 47.175.5.195: seq=1 ttl=63 time=0.849 ms 64 bytes from 47.175.5.195: seq=2 ttl=63 time=1.060 ms --- 47.175.5.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.849/1.252/1.848 ms 2026-02-19 02:11:50,747 - INFO - Ping to IP 47.175.5.195 from VM ctest-vn1-vm1-30568010 passed 2026-02-19 02:11:50,747 - INFO - Deleting interface with subnet_id 73208beb-4804-42a0-897d-089dd9fdee25, port_id None from router 463f7270-d2d7-4d78-99bc-04cbcd2eb6b9 2026-02-19 02:11:50,862 - INFO - Deleting interface with subnet_id fde9440e-56d6-4d97-bfa0-fc0d8d1fcfba, port_id None from router 463f7270-d2d7-4d78-99bc-04cbcd2eb6b9 2026-02-19 02:11:51,034 - INFO - Deleting VM ctest-vn2-vm1-61320913 2026-02-19 02:11:51,105 - INFO - Deleting VM ctest-vn1-vm1-30568010 2026-02-19 02:11:51,180 - INFO - Deleting VN ctest-vn2-95611685 2026-02-19 02:11:51,220 - DEBUG - VN 34f03a14-410a-4b78-90e3-71d59de7e538 still in use: Unable to complete operation on network 34f03a14-410a-4b78-90e3-71d59de7e538. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0ca0938f-e5f4-4b9a-8535-9f04d16c9940'] 2026-02-19 02:11:51,220 - WARNING - Deleting VN ctest-vn2-95611685 failed..Will retry 2026-02-19 02:11:53,321 - DEBUG - Response for deleting network () 2026-02-19 02:11:53,321 - INFO - Deleting VN ctest-vn1-79324802 2026-02-19 02:11:53,434 - DEBUG - Response for deleting network () 2026-02-19 02:11:53,704 - DEBUG - No XMPP flaps were noticed during the test 2026-02-19 02:11:53,704 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43] 2026-02-19 02:11:53,704 - INFO - -------------------------------------------------------------------------------- 2026-02-19 02:11:54,390 - INFO - Deleted project: ctest-TestRouters-40281461, ID : e6ef5228-dee8-4755-9f0d-b5ff2a3b7a1a