2025-12-18 02:17:53,231 - INFO - Domain Default found not creating 2025-12-18 02:17:53,435 - INFO - Project ctest-TestRouters-77990115 not found, creating it 2025-12-18 02:17:53,945 - INFO - Created Project:ctest-TestRouters-77990115, ID : 47a309f6-a4ad-4e53-b300-6eb89fcbbb8e 2025-12-18 02:17:55,848 - INFO - ================================================================================ 2025-12-18 02:17:55,849 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-18 02:17:55,849 - 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-12-18 02:17:56,129 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.5': '0'}} with 2025-12-18 02:17:56,129 - INFO - Initial checks done. Running the testcase now 2025-12-18 02:17:56,131 - INFO - 2025-12-18 02:17:57,059 - DEBUG - Response for create_network : {'network': {'id': '804193ce-2ce3-4ef3-914b-117b9974f3c7', 'name': 'ctest-vn1-75913132', 'tenant_id': '47a309f6a4ad4e53b3006eb89fcbbb8e', 'project_id': '47a309f6a4ad4e53b3006eb89fcbbb8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-77990115', 'ctest-vn1-75913132'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:17:57,264 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f2893f39-d5ef-43a3-bb0a-cb8124f11866', 'name': '', 'tenant_id': '47a309f6a4ad4e53b3006eb89fcbbb8e', 'network_id': '804193ce-2ce3-4ef3-914b-117b9974f3c7', 'ip_version': 4, 'cidr': '123.177.243.64/26', 'allocation_pools': [{'start': '123.177.243.66', 'end': '123.177.243.126'}], 'gateway_ip': '123.177.243.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.177.243.66', 'tags': [], 'project_id': '47a309f6a4ad4e53b3006eb89fcbbb8e'}} 2025-12-18 02:17:57,286 - INFO - Created VN ctest-vn1-75913132 2025-12-18 02:17:57,344 - DEBUG - VN ctest-vn1-75913132 UUID is 804193ce-2ce3-4ef3-914b-117b9974f3c7 2025-12-18 02:17:57,695 - DEBUG - Response for create_network : {'network': {'id': '2519af70-202e-4824-a518-f03491a707d3', 'name': 'ctest-vn2-52060860', 'tenant_id': '47a309f6a4ad4e53b3006eb89fcbbb8e', 'project_id': '47a309f6a4ad4e53b3006eb89fcbbb8e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-77990115', 'ctest-vn2-52060860'], 'port_security_enabled': True, 'description': ''}} 2025-12-18 02:17:57,876 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ecd9cdd-4ec1-4299-ad95-27f0ac491c6a', 'name': '', 'tenant_id': '47a309f6a4ad4e53b3006eb89fcbbb8e', 'network_id': '2519af70-202e-4824-a518-f03491a707d3', 'ip_version': 4, 'cidr': '216.235.165.64/26', 'allocation_pools': [{'start': '216.235.165.66', 'end': '216.235.165.126'}], 'gateway_ip': '216.235.165.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.235.165.66', 'tags': [], 'project_id': '47a309f6a4ad4e53b3006eb89fcbbb8e'}} 2025-12-18 02:17:57,897 - INFO - Created VN ctest-vn2-52060860 2025-12-18 02:17:57,955 - DEBUG - VN ctest-vn2-52060860 UUID is 2519af70-202e-4824-a518-f03491a707d3 2025-12-18 02:17:58,156 - DEBUG - Services list from nova: [, , ] 2025-12-18 02:17:59,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4902-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4902-1) 2025-12-18 02:18:01,032 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4902-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4902-1) 2025-12-18 02:18:01,139 - INFO - Adding interface with subnet_id f2893f39-d5ef-43a3-bb0a-cb8124f11866, port_id None to router 50e32e28-b63c-444d-a279-9fee481ec74f 2025-12-18 02:18:01,466 - INFO - Waiting for VM ctest-vn1-vm1-25583951 to be up.. 2025-12-18 02:18:01,575 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-18 02:18:06,667 - DEBUG - VM is in ACTIVE state now 2025-12-18 02:18:06,667 - INFO - VM name : ctest-vn1-vm1-25583951 2025-12-18 02:18:06,757 - DEBUG - VM ctest-vn1-vm1-25583951 ID is 62c372dd-5b86-4346-acb8-afafb16b3abf 2025-12-18 02:18:06,782 - DEBUG - VM ctest-vn1-vm1-25583951 launched on Node cn-jenkins-deploy-platform-ansible-os-4902-1 2025-12-18 02:18:06,873 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/62c372dd-5b86-4346-acb8-afafb16b3abf 2025-12-18 02:18:07,224 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/62c372dd-5b86-4346-acb8-afafb16b3abf 2025-12-18 02:18:07,275 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/59a21bd7-e5d9-41ad-9214-db22d39bd6a2 2025-12-18 02:18:10,545 - 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 1020ms') 2025-12-18 02:18:10,545 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25583951 failed! 2025-12-18 02:18:10,603 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-77990115:ctest-vn1-75913132 is 123.177.243.65 and allocation pool is NOT set 2025-12-18 02:18:12,676 - 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=6.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.43 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.431/4.330/6.230/1.899 ms') 2025-12-18 02:18:12,677 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-25583951 passed 2025-12-18 02:18:12,831 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:18:12,832 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25583951, IP 123.177.243.67, Port 22 2025-12-18 02:18:12,902 - 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-12-18 02:18:13,004 - DEBUG - VM ctest-vn1-vm1-25583951 is NOT ready for SSH connections, VM status: ACTIVE 2025-12-18 02:18:18,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:18:18,005 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-25583951, IP 123.177.243.67, Port 22 2025-12-18 02:18:18,174 - DEBUG - VM ctest-vn1-vm1-25583951 is ready for SSH connections 2025-12-18 02:18:18,174 - INFO - Waiting for VM ctest-vn2-vm1-31352315 to be up.. 2025-12-18 02:18:18,281 - DEBUG - VM is in ACTIVE state now 2025-12-18 02:18:18,281 - INFO - VM name : ctest-vn2-vm1-31352315 2025-12-18 02:18:18,376 - DEBUG - VM ctest-vn2-vm1-31352315 ID is 76e01b07-8b9a-4ee2-954c-d13cd7d01067 2025-12-18 02:18:18,377 - DEBUG - VM ctest-vn2-vm1-31352315 launched on Node cn-jenkins-deploy-platform-ansible-os-4902-1 2025-12-18 02:18:18,469 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/76e01b07-8b9a-4ee2-954c-d13cd7d01067 2025-12-18 02:18:18,478 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/4de50e8c-51a9-4937-a497-0ed47714e4c6 2025-12-18 02:18:19,723 - 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.31 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.462 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.462/1.885/3.309/1.423 ms') 2025-12-18 02:18:19,723 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-31352315 passed 2025-12-18 02:18:19,875 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:18:19,875 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-31352315, IP 216.235.165.67, Port 22 2025-12-18 02:18:20,049 - DEBUG - VM ctest-vn2-vm1-31352315 is ready for SSH connections 2025-12-18 02:18:20,049 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:18:20,050 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.235.165.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-18 02:18:20,050 - DEBUG - ping -s 56 -c 3 -W 1 216.235.165.67 2025-12-18 02:18:25,179 - DEBUG - PING 216.235.165.67 (216.235.165.67): 56 data bytes --- 216.235.165.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-18 02:18:25,179 - WARNING - Ping to IP 216.235.165.67 from VM ctest-vn1-vm1-25583951 failed 2025-12-18 02:18:25,179 - INFO - Adding interface with subnet_id 1ecd9cdd-4ec1-4299-ad95-27f0ac491c6a, port_id None to router 50e32e28-b63c-444d-a279-9fee481ec74f 2025-12-18 02:18:25,473 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:18:25,473 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.235.165.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-18 02:18:25,473 - DEBUG - ping -s 56 -c 3 -W 1 216.235.165.67 2025-12-18 02:18:27,732 - DEBUG - PING 216.235.165.67 (216.235.165.67): 56 data bytes 64 bytes from 216.235.165.67: seq=0 ttl=63 time=3.824 ms 64 bytes from 216.235.165.67: seq=1 ttl=63 time=1.239 ms 64 bytes from 216.235.165.67: seq=2 ttl=63 time=1.332 ms --- 216.235.165.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.239/2.131/3.824 ms 2025-12-18 02:18:27,732 - INFO - Ping to IP 216.235.165.67 from VM ctest-vn1-vm1-25583951 passed 2025-12-18 02:18:27,732 - INFO - Deleting interface with subnet_id f2893f39-d5ef-43a3-bb0a-cb8124f11866, port_id None from router 50e32e28-b63c-444d-a279-9fee481ec74f 2025-12-18 02:18:27,853 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:18:27,853 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.235.165.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-18 02:18:27,853 - DEBUG - ping -s 56 -c 3 -W 1 216.235.165.67 2025-12-18 02:18:31,083 - DEBUG - PING 216.235.165.67 (216.235.165.67): 56 data bytes --- 216.235.165.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-18 02:18:31,083 - WARNING - Ping to IP 216.235.165.67 from VM ctest-vn1-vm1-25583951 failed 2025-12-18 02:18:31,083 - INFO - Adding interface with subnet_id f2893f39-d5ef-43a3-bb0a-cb8124f11866, port_id None to router 50e32e28-b63c-444d-a279-9fee481ec74f 2025-12-18 02:18:31,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-18 02:18:31,370 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 216.235.165.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123 2025-12-18 02:18:31,370 - DEBUG - ping -s 56 -c 3 -W 1 216.235.165.67 2025-12-18 02:18:33,612 - DEBUG - PING 216.235.165.67 (216.235.165.67): 56 data bytes 64 bytes from 216.235.165.67: seq=0 ttl=63 time=1.974 ms 64 bytes from 216.235.165.67: seq=1 ttl=63 time=1.038 ms 64 bytes from 216.235.165.67: seq=2 ttl=63 time=1.050 ms --- 216.235.165.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.038/1.354/1.974 ms 2025-12-18 02:18:33,612 - INFO - Ping to IP 216.235.165.67 from VM ctest-vn1-vm1-25583951 passed 2025-12-18 02:18:33,612 - INFO - Deleting interface with subnet_id 1ecd9cdd-4ec1-4299-ad95-27f0ac491c6a, port_id None from router 50e32e28-b63c-444d-a279-9fee481ec74f 2025-12-18 02:18:33,751 - INFO - Deleting interface with subnet_id f2893f39-d5ef-43a3-bb0a-cb8124f11866, port_id None from router 50e32e28-b63c-444d-a279-9fee481ec74f 2025-12-18 02:18:33,944 - INFO - Deleting VM ctest-vn2-vm1-31352315 2025-12-18 02:18:34,036 - INFO - Deleting VM ctest-vn1-vm1-25583951 2025-12-18 02:18:34,120 - INFO - Deleting VN ctest-vn2-52060860 2025-12-18 02:18:34,165 - DEBUG - VN 2519af70-202e-4824-a518-f03491a707d3 still in use: Unable to complete operation on network 2519af70-202e-4824-a518-f03491a707d3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-be7b2fd4-c20a-4928-be96-03145e6547dd'] 2025-12-18 02:18:34,165 - WARNING - Deleting VN ctest-vn2-52060860 failed..Will retry 2025-12-18 02:18:36,286 - DEBUG - Response for deleting network () 2025-12-18 02:18:36,286 - INFO - Deleting VN ctest-vn1-75913132 2025-12-18 02:18:36,418 - DEBUG - Response for deleting network () 2025-12-18 02:18:36,688 - DEBUG - No XMPP flaps were noticed during the test 2025-12-18 02:18:36,688 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:41] 2025-12-18 02:18:36,688 - INFO - -------------------------------------------------------------------------------- 2025-12-18 02:18:37,451 - INFO - Deleted project: ctest-TestRouters-77990115, ID : 47a309f6-a4ad-4e53-b300-6eb89fcbbb8e