2025-11-21 17:18:07,645 - INFO - Domain Default found not creating 2025-11-21 17:18:07,848 - INFO - Project ctest-TestRouters-71767480 not found, creating it 2025-11-21 17:18:08,330 - INFO - Created Project:ctest-TestRouters-71767480, ID : 721a91f4-ce2f-4caa-981b-4f2a39e9fef0 2025-11-21 17:18:09,886 - INFO - ================================================================================ 2025-11-21 17:18:09,886 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-21 17:18:09,886 - 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 2025-11-21 17:18:10,145 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.192': '0'}} with 2025-11-21 17:18:10,145 - INFO - Initial checks done. Running the testcase now 2025-11-21 17:18:10,146 - INFO - 2025-11-21 17:18:10,794 - DEBUG - Response for create_network : {'network': {'id': '45a66a38-9109-4b7c-8494-4e9be0e5c305', 'name': 'ctest-vn1-53963644', 'tenant_id': '721a91f4ce2f4caa981b4f2a39e9fef0', 'project_id': '721a91f4ce2f4caa981b4f2a39e9fef0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-71767480', 'ctest-vn1-53963644'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:18:11,011 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2a9e0d6-baaa-40cf-81bc-9d5fcba1a246', 'name': '', 'tenant_id': '721a91f4ce2f4caa981b4f2a39e9fef0', 'network_id': '45a66a38-9109-4b7c-8494-4e9be0e5c305', 'ip_version': 4, 'cidr': '36.211.217.192/26', 'allocation_pools': [{'start': '36.211.217.194', 'end': '36.211.217.254'}], 'gateway_ip': '36.211.217.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.211.217.194', 'tags': [], 'project_id': '721a91f4ce2f4caa981b4f2a39e9fef0'}} 2025-11-21 17:18:11,032 - INFO - Created VN ctest-vn1-53963644 2025-11-21 17:18:11,090 - DEBUG - VN ctest-vn1-53963644 UUID is 45a66a38-9109-4b7c-8494-4e9be0e5c305 2025-11-21 17:18:11,405 - DEBUG - Response for create_network : {'network': {'id': 'ea18d399-1587-4110-b077-500c5eca89d7', 'name': 'ctest-vn2-23180604', 'tenant_id': '721a91f4ce2f4caa981b4f2a39e9fef0', 'project_id': '721a91f4ce2f4caa981b4f2a39e9fef0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-71767480', 'ctest-vn2-23180604'], 'port_security_enabled': True, 'description': ''}} 2025-11-21 17:18:11,661 - DEBUG - Response for create_subnet : {'subnet': {'id': '310a68f4-e68f-4f71-924f-15778c6e9c76', 'name': '', 'tenant_id': '721a91f4ce2f4caa981b4f2a39e9fef0', 'network_id': 'ea18d399-1587-4110-b077-500c5eca89d7', 'ip_version': 4, 'cidr': '203.106.228.192/26', 'allocation_pools': [{'start': '203.106.228.194', 'end': '203.106.228.254'}], 'gateway_ip': '203.106.228.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.106.228.194', 'tags': [], 'project_id': '721a91f4ce2f4caa981b4f2a39e9fef0'}} 2025-11-21 17:18:11,685 - INFO - Created VN ctest-vn2-23180604 2025-11-21 17:18:11,738 - DEBUG - VN ctest-vn2-23180604 UUID is ea18d399-1587-4110-b077-500c5eca89d7 2025-11-21 17:18:11,921 - DEBUG - Services list from nova: [, , ] 2025-11-21 17:18:13,146 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4791-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4791-1) 2025-11-21 17:18:14,382 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4791-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4791-1) 2025-11-21 17:18:14,467 - INFO - Adding interface with subnet_id a2a9e0d6-baaa-40cf-81bc-9d5fcba1a246, port_id None to router 9b04185d-7c8d-41cc-8e5a-b6b46b9e6d6e 2025-11-21 17:18:14,818 - INFO - Waiting for VM ctest-vn1-vm1-90760394 to be up.. 2025-11-21 17:18:14,944 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-21 17:18:20,047 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:18:20,047 - INFO - VM name : ctest-vn1-vm1-90760394 2025-11-21 17:18:20,148 - DEBUG - VM ctest-vn1-vm1-90760394 ID is ed54115d-8ff8-46da-9ad8-cb2b667474d8 2025-11-21 17:18:20,172 - DEBUG - VM ctest-vn1-vm1-90760394 launched on Node cn-jenkins-deploy-platform-ansible-os-4791-1 2025-11-21 17:18:20,264 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ed54115d-8ff8-46da-9ad8-cb2b667474d8 2025-11-21 17:18:20,598 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ed54115d-8ff8-46da-9ad8-cb2b667474d8 2025-11-21 17:18:20,639 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/302627df-9b1d-4490-8054-807b8925cc43 2025-11-21 17:18:23,902 - 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') 2025-11-21 17:18:23,903 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90760394 failed! 2025-11-21 17:18:23,958 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-71767480:ctest-vn1-53963644 is 36.211.217.193 and allocation pool is NOT set 2025-11-21 17:18:26,021 - 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=3.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.551 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 = 0.551/2.153/3.755/1.602 ms') 2025-11-21 17:18:26,021 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90760394 passed 2025-11-21 17:18:26,182 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:18:26,182 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-90760394, IP 36.211.217.195, Port 22 2025-11-21 17:18:26,249 - 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': ''} 2025-11-21 17:18:26,344 - DEBUG - VM ctest-vn1-vm1-90760394 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-21 17:18:31,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:18:31,345 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-90760394, IP 36.211.217.195, Port 22 2025-11-21 17:18:31,502 - DEBUG - VM ctest-vn1-vm1-90760394 is ready for SSH connections 2025-11-21 17:18:31,502 - INFO - Waiting for VM ctest-vn2-vm1-90217825 to be up.. 2025-11-21 17:18:31,588 - DEBUG - VM is in ACTIVE state now 2025-11-21 17:18:31,588 - INFO - VM name : ctest-vn2-vm1-90217825 2025-11-21 17:18:31,672 - DEBUG - VM ctest-vn2-vm1-90217825 ID is 93dae1e0-a013-4dec-b94d-068620a2e906 2025-11-21 17:18:31,672 - DEBUG - VM ctest-vn2-vm1-90217825 launched on Node cn-jenkins-deploy-platform-ansible-os-4791-1 2025-11-21 17:18:31,763 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/93dae1e0-a013-4dec-b94d-068620a2e906 2025-11-21 17:18:31,772 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/46fab55b-819b-42d4-8007-77c0c70eb5af 2025-11-21 17:18:33,009 - 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.18 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.306 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.306/1.743/3.181/1.437 ms') 2025-11-21 17:18:33,009 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-90217825 passed 2025-11-21 17:18:33,166 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:18:33,167 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-90217825, IP 203.106.228.195, Port 22 2025-11-21 17:18:33,330 - DEBUG - VM ctest-vn2-vm1-90217825 is ready for SSH connections 2025-11-21 17:18:33,330 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:18:33,330 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.106.228.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-21 17:18:33,330 - DEBUG - ping -s 56 -c 3 -W 1 203.106.228.195 2025-11-21 17:18:38,378 - DEBUG - PING 203.106.228.195 (203.106.228.195): 56 data bytes --- 203.106.228.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-21 17:18:38,378 - WARNING - Ping to IP 203.106.228.195 from VM ctest-vn1-vm1-90760394 failed 2025-11-21 17:18:38,378 - INFO - Adding interface with subnet_id 310a68f4-e68f-4f71-924f-15778c6e9c76, port_id None to router 9b04185d-7c8d-41cc-8e5a-b6b46b9e6d6e 2025-11-21 17:18:38,642 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:18:38,643 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.106.228.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-21 17:18:38,643 - DEBUG - ping -s 56 -c 3 -W 1 203.106.228.195 2025-11-21 17:18:41,852 - DEBUG - PING 203.106.228.195 (203.106.228.195): 56 data bytes 64 bytes from 203.106.228.195: seq=1 ttl=63 time=2.784 ms 64 bytes from 203.106.228.195: seq=2 ttl=63 time=1.033 ms --- 203.106.228.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.033/1.908/2.784 ms 2025-11-21 17:18:41,852 - WARNING - Ping to IP 203.106.228.195 from VM ctest-vn1-vm1-90760394 failed 2025-11-21 17:18:42,853 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.106.228.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-21 17:18:42,853 - DEBUG - ping -s 56 -c 3 -W 1 203.106.228.195 2025-11-21 17:18:45,078 - DEBUG - PING 203.106.228.195 (203.106.228.195): 56 data bytes 64 bytes from 203.106.228.195: seq=0 ttl=63 time=2.544 ms 64 bytes from 203.106.228.195: seq=1 ttl=63 time=1.192 ms 64 bytes from 203.106.228.195: seq=2 ttl=63 time=1.038 ms --- 203.106.228.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.038/1.591/2.544 ms 2025-11-21 17:18:45,078 - INFO - Ping to IP 203.106.228.195 from VM ctest-vn1-vm1-90760394 passed 2025-11-21 17:18:45,078 - INFO - Deleting interface with subnet_id a2a9e0d6-baaa-40cf-81bc-9d5fcba1a246, port_id None from router 9b04185d-7c8d-41cc-8e5a-b6b46b9e6d6e 2025-11-21 17:18:45,199 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:18:45,200 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.106.228.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-21 17:18:45,200 - DEBUG - ping -s 56 -c 3 -W 1 203.106.228.195 2025-11-21 17:18:48,424 - DEBUG - PING 203.106.228.195 (203.106.228.195): 56 data bytes --- 203.106.228.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-21 17:18:48,424 - WARNING - Ping to IP 203.106.228.195 from VM ctest-vn1-vm1-90760394 failed 2025-11-21 17:18:48,424 - INFO - Adding interface with subnet_id a2a9e0d6-baaa-40cf-81bc-9d5fcba1a246, port_id None to router 9b04185d-7c8d-41cc-8e5a-b6b46b9e6d6e 2025-11-21 17:18:48,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-21 17:18:48,662 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 203.106.228.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-21 17:18:48,662 - DEBUG - ping -s 56 -c 3 -W 1 203.106.228.195 2025-11-21 17:18:50,887 - DEBUG - PING 203.106.228.195 (203.106.228.195): 56 data bytes 64 bytes from 203.106.228.195: seq=0 ttl=63 time=2.316 ms 64 bytes from 203.106.228.195: seq=1 ttl=63 time=1.742 ms 64 bytes from 203.106.228.195: seq=2 ttl=63 time=1.028 ms --- 203.106.228.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.028/1.695/2.316 ms 2025-11-21 17:18:50,888 - INFO - Ping to IP 203.106.228.195 from VM ctest-vn1-vm1-90760394 passed 2025-11-21 17:18:50,888 - INFO - Deleting interface with subnet_id 310a68f4-e68f-4f71-924f-15778c6e9c76, port_id None from router 9b04185d-7c8d-41cc-8e5a-b6b46b9e6d6e 2025-11-21 17:18:51,039 - INFO - Deleting interface with subnet_id a2a9e0d6-baaa-40cf-81bc-9d5fcba1a246, port_id None from router 9b04185d-7c8d-41cc-8e5a-b6b46b9e6d6e 2025-11-21 17:18:51,258 - INFO - Deleting VM ctest-vn2-vm1-90217825 2025-11-21 17:18:51,364 - INFO - Deleting VM ctest-vn1-vm1-90760394 2025-11-21 17:18:51,452 - INFO - Deleting VN ctest-vn2-23180604 2025-11-21 17:18:51,500 - DEBUG - VN ea18d399-1587-4110-b077-500c5eca89d7 still in use: Unable to complete operation on network ea18d399-1587-4110-b077-500c5eca89d7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-538a5623-f640-4e01-9c14-104f6a928190'] 2025-11-21 17:18:51,501 - WARNING - Deleting VN ctest-vn2-23180604 failed..Will retry 2025-11-21 17:18:53,642 - DEBUG - Response for deleting network () 2025-11-21 17:18:53,642 - INFO - Deleting VN ctest-vn1-53963644 2025-11-21 17:18:53,784 - DEBUG - Response for deleting network () 2025-11-21 17:18:54,059 - DEBUG - No XMPP flaps were noticed during the test 2025-11-21 17:18:54,059 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45] 2025-11-21 17:18:54,059 - INFO - -------------------------------------------------------------------------------- 2025-11-21 17:18:54,787 - INFO - Deleted project: ctest-TestRouters-71767480, ID : 721a91f4-ce2f-4caa-981b-4f2a39e9fef0