2025-09-18 23:50:25,838 - INFO - Domain Default found not creating 2025-09-18 23:50:25,996 - INFO - Project ctest-TestRouters-88583919 not found, creating it 2025-09-18 23:50:26,475 - INFO - Created Project:ctest-TestRouters-88583919, ID : 92589fbf-5f2c-4541-b32b-f27e20392624 2025-09-18 23:50:27,951 - INFO - ================================================================================ 2025-09-18 23:50:27,951 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-18 23:50:27,952 - 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-09-18 23:50:28,206 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-18 23:50:28,206 - INFO - Initial checks done. Running the testcase now 2025-09-18 23:50:28,206 - INFO - 2025-09-18 23:50:28,776 - DEBUG - Response for create_network : {'network': {'id': '4f7e6e0d-f2be-405a-93c1-8f89948673b4', 'name': 'ctest-vn1-55846388', 'tenant_id': '92589fbf5f2c4541b32bf27e20392624', 'project_id': '92589fbf5f2c4541b32bf27e20392624', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88583919', 'ctest-vn1-55846388'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 23:50:28,939 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c02fe8a8-742c-43b5-9f36-b1d1dff087a8', 'name': '', 'tenant_id': '92589fbf5f2c4541b32bf27e20392624', 'network_id': '4f7e6e0d-f2be-405a-93c1-8f89948673b4', 'ip_version': 4, 'cidr': '44.234.230.192/26', 'allocation_pools': [{'start': '44.234.230.194', 'end': '44.234.230.254'}], 'gateway_ip': '44.234.230.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '44.234.230.194', 'tags': [], 'project_id': '92589fbf5f2c4541b32bf27e20392624'}} 2025-09-18 23:50:28,955 - INFO - Created VN ctest-vn1-55846388 2025-09-18 23:50:29,006 - DEBUG - VN ctest-vn1-55846388 UUID is 4f7e6e0d-f2be-405a-93c1-8f89948673b4 2025-09-18 23:50:29,341 - DEBUG - Response for create_network : {'network': {'id': '0822e064-91ed-4d51-bf29-961bcebdce2a', 'name': 'ctest-vn2-41320216', 'tenant_id': '92589fbf5f2c4541b32bf27e20392624', 'project_id': '92589fbf5f2c4541b32bf27e20392624', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-88583919', 'ctest-vn2-41320216'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 23:50:29,525 - DEBUG - Response for create_subnet : {'subnet': {'id': '7040872a-325b-4f81-84f0-a08741520fe0', 'name': '', 'tenant_id': '92589fbf5f2c4541b32bf27e20392624', 'network_id': '0822e064-91ed-4d51-bf29-961bcebdce2a', 'ip_version': 4, 'cidr': '74.207.114.128/26', 'allocation_pools': [{'start': '74.207.114.130', 'end': '74.207.114.190'}], 'gateway_ip': '74.207.114.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.207.114.130', 'tags': [], 'project_id': '92589fbf5f2c4541b32bf27e20392624'}} 2025-09-18 23:50:29,546 - INFO - Created VN ctest-vn2-41320216 2025-09-18 23:50:29,601 - DEBUG - VN ctest-vn2-41320216 UUID is 0822e064-91ed-4d51-bf29-961bcebdce2a 2025-09-18 23:50:29,817 - DEBUG - Services list from nova: [, , ] 2025-09-18 23:50:30,943 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4143-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4143-1) 2025-09-18 23:50:32,116 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4143-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4143-1) 2025-09-18 23:50:32,192 - INFO - Adding interface with subnet_id c02fe8a8-742c-43b5-9f36-b1d1dff087a8, port_id None to router 24ce2119-00ef-4c5d-a7eb-dcfc886360b8 2025-09-18 23:50:32,451 - INFO - Waiting for VM ctest-vn1-vm1-30238414 to be up.. 2025-09-18 23:50:32,541 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 23:50:37,611 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 23:50:42,682 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 23:50:47,750 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 23:50:52,829 - DEBUG - VM is in ACTIVE state now 2025-09-18 23:50:52,830 - INFO - VM name : ctest-vn1-vm1-30238414 2025-09-18 23:50:52,916 - DEBUG - VM ctest-vn1-vm1-30238414 ID is bb79db46-1ca5-41ce-b78c-b53951f39108 2025-09-18 23:50:52,937 - DEBUG - VM ctest-vn1-vm1-30238414 launched on Node cn-jenkins-deploy-platform-ansible-os-4143-1 2025-09-18 23:50:53,007 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bb79db46-1ca5-41ce-b78c-b53951f39108 2025-09-18 23:50:53,308 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/bb79db46-1ca5-41ce-b78c-b53951f39108 2025-09-18 23:50:53,342 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5d4174bb-fed1-46cf-b3f3-3774a0b135fd 2025-09-18 23:50:56,599 - 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 1023ms') 2025-09-18 23:50:56,599 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30238414 failed! 2025-09-18 23:50:56,657 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-88583919:ctest-vn1-55846388 is 44.234.230.193 and allocation pool is NOT set 2025-09-18 23:50:58,719 - 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=12.1 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.17 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 = 4.170/8.159/12.148/3.989 ms') 2025-09-18 23:50:58,719 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-30238414 passed 2025-09-18 23:50:58,869 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:50:58,869 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-30238414, IP 44.234.230.195, Port 22 2025-09-18 23:50:58,935 - 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-09-18 23:50:59,008 - DEBUG - VM ctest-vn1-vm1-30238414 is NOT ready for SSH connections, VM status: ACTIVE 2025-09-18 23:51:04,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:51:04,009 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-30238414, IP 44.234.230.195, Port 22 2025-09-18 23:51:04,194 - DEBUG - VM ctest-vn1-vm1-30238414 is ready for SSH connections 2025-09-18 23:51:04,194 - INFO - Waiting for VM ctest-vn2-vm1-29734734 to be up.. 2025-09-18 23:51:04,265 - DEBUG - VM is in ACTIVE state now 2025-09-18 23:51:04,265 - INFO - VM name : ctest-vn2-vm1-29734734 2025-09-18 23:51:04,345 - DEBUG - VM ctest-vn2-vm1-29734734 ID is 6b276014-b7e5-46c8-8d5b-18a3cf6a7a97 2025-09-18 23:51:04,346 - DEBUG - VM ctest-vn2-vm1-29734734 launched on Node cn-jenkins-deploy-platform-ansible-os-4143-1 2025-09-18 23:51:04,421 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6b276014-b7e5-46c8-8d5b-18a3cf6a7a97 2025-09-18 23:51:04,430 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/16051162-0a38-420f-855d-ef2229d7d48c 2025-09-18 23:51:05,664 - 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.00 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.486 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.486/1.743/3.000/1.257 ms') 2025-09-18 23:51:05,664 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-29734734 passed 2025-09-18 23:51:05,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:51:05,813 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-29734734, IP 74.207.114.131, Port 22 2025-09-18 23:51:05,985 - DEBUG - VM ctest-vn2-vm1-29734734 is ready for SSH connections 2025-09-18 23:51:05,985 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:51:05,985 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.207.114.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-18 23:51:05,985 - DEBUG - ping -s 56 -c 3 -W 1 74.207.114.131 2025-09-18 23:51:10,975 - DEBUG - PING 74.207.114.131 (74.207.114.131): 56 data bytes --- 74.207.114.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-18 23:51:10,975 - WARNING - Ping to IP 74.207.114.131 from VM ctest-vn1-vm1-30238414 failed 2025-09-18 23:51:10,975 - INFO - Adding interface with subnet_id 7040872a-325b-4f81-84f0-a08741520fe0, port_id None to router 24ce2119-00ef-4c5d-a7eb-dcfc886360b8 2025-09-18 23:51:11,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:51:11,244 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.207.114.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-18 23:51:11,244 - DEBUG - ping -s 56 -c 3 -W 1 74.207.114.131 2025-09-18 23:51:13,450 - DEBUG - PING 74.207.114.131 (74.207.114.131): 56 data bytes 64 bytes from 74.207.114.131: seq=0 ttl=63 time=2.352 ms 64 bytes from 74.207.114.131: seq=1 ttl=63 time=0.889 ms 64 bytes from 74.207.114.131: seq=2 ttl=63 time=0.919 ms --- 74.207.114.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.889/1.386/2.352 ms 2025-09-18 23:51:13,451 - INFO - Ping to IP 74.207.114.131 from VM ctest-vn1-vm1-30238414 passed 2025-09-18 23:51:13,451 - INFO - Deleting interface with subnet_id c02fe8a8-742c-43b5-9f36-b1d1dff087a8, port_id None from router 24ce2119-00ef-4c5d-a7eb-dcfc886360b8 2025-09-18 23:51:13,557 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:51:13,557 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.207.114.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-18 23:51:13,557 - DEBUG - ping -s 56 -c 3 -W 1 74.207.114.131 2025-09-18 23:51:16,761 - DEBUG - PING 74.207.114.131 (74.207.114.131): 56 data bytes --- 74.207.114.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-18 23:51:16,761 - WARNING - Ping to IP 74.207.114.131 from VM ctest-vn1-vm1-30238414 failed 2025-09-18 23:51:16,761 - INFO - Adding interface with subnet_id c02fe8a8-742c-43b5-9f36-b1d1dff087a8, port_id None to router 24ce2119-00ef-4c5d-a7eb-dcfc886360b8 2025-09-18 23:51:16,986 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 23:51:16,986 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.207.114.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-18 23:51:16,986 - DEBUG - ping -s 56 -c 3 -W 1 74.207.114.131 2025-09-18 23:51:19,196 - DEBUG - PING 74.207.114.131 (74.207.114.131): 56 data bytes 64 bytes from 74.207.114.131: seq=0 ttl=63 time=3.022 ms 64 bytes from 74.207.114.131: seq=1 ttl=63 time=1.094 ms 64 bytes from 74.207.114.131: seq=2 ttl=63 time=1.026 ms --- 74.207.114.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.026/1.714/3.022 ms 2025-09-18 23:51:19,196 - INFO - Ping to IP 74.207.114.131 from VM ctest-vn1-vm1-30238414 passed 2025-09-18 23:51:19,196 - INFO - Deleting interface with subnet_id 7040872a-325b-4f81-84f0-a08741520fe0, port_id None from router 24ce2119-00ef-4c5d-a7eb-dcfc886360b8 2025-09-18 23:51:19,349 - INFO - Deleting interface with subnet_id c02fe8a8-742c-43b5-9f36-b1d1dff087a8, port_id None from router 24ce2119-00ef-4c5d-a7eb-dcfc886360b8 2025-09-18 23:51:19,539 - INFO - Deleting VM ctest-vn2-vm1-29734734 2025-09-18 23:51:19,619 - INFO - Deleting VM ctest-vn1-vm1-30238414 2025-09-18 23:51:19,684 - INFO - Deleting VN ctest-vn2-41320216 2025-09-18 23:51:19,722 - DEBUG - VN 0822e064-91ed-4d51-bf29-961bcebdce2a still in use: Unable to complete operation on network 0822e064-91ed-4d51-bf29-961bcebdce2a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a07853af-6bd5-43b7-bd2b-4115fcb50af3'] 2025-09-18 23:51:19,722 - WARNING - Deleting VN ctest-vn2-41320216 failed..Will retry 2025-09-18 23:51:21,833 - DEBUG - Response for deleting network () 2025-09-18 23:51:21,833 - INFO - Deleting VN ctest-vn1-55846388 2025-09-18 23:51:21,929 - DEBUG - Response for deleting network () 2025-09-18 23:51:22,190 - DEBUG - No XMPP flaps were noticed during the test
2025-09-18 23:51:22,190 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:55]
2025-09-18 23:51:22,191 - INFO - -------------------------------------------------------------------------------- 2025-09-18 23:51:22,861 - INFO - Deleted project: ctest-TestRouters-88583919, ID : 92589fbf-5f2c-4541-b32b-f27e20392624