2025-11-22 06:35:39,080 - INFO - Domain Default found not creating 2025-11-22 06:35:39,294 - INFO - Project ctest-TestRouters-54248606 not found, creating it 2025-11-22 06:35:39,957 - INFO - Created Project:ctest-TestRouters-54248606, ID : bcc23581-3289-4363-bedb-182f58ac6590 2025-11-22 06:35:41,516 - INFO - ================================================================================ 2025-11-22 06:35:41,516 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-22 06:35:41,517 - 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-22 06:35:41,802 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-22 06:35:41,802 - INFO - Initial checks done. Running the testcase now 2025-11-22 06:35:41,802 - INFO - 2025-11-22 06:35:42,433 - DEBUG - Response for create_network : {'network': {'id': '3348e021-2582-4224-a5a9-c6de05e70423', 'name': 'ctest-vn1-74186157', 'tenant_id': 'bcc2358132894363bedb182f58ac6590', 'project_id': 'bcc2358132894363bedb182f58ac6590', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-54248606', 'ctest-vn1-74186157'], 'port_security_enabled': True, 'description': ''}} 2025-11-22 06:35:42,655 - DEBUG - Response for create_subnet : {'subnet': {'id': '60b34e27-cfaf-483a-a995-5163a13ffd06', 'name': '', 'tenant_id': 'bcc2358132894363bedb182f58ac6590', 'network_id': '3348e021-2582-4224-a5a9-c6de05e70423', 'ip_version': 4, 'cidr': '116.195.241.128/26', 'allocation_pools': [{'start': '116.195.241.130', 'end': '116.195.241.190'}], 'gateway_ip': '116.195.241.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '116.195.241.130', 'tags': [], 'project_id': 'bcc2358132894363bedb182f58ac6590'}} 2025-11-22 06:35:42,676 - INFO - Created VN ctest-vn1-74186157 2025-11-22 06:35:42,734 - DEBUG - VN ctest-vn1-74186157 UUID is 3348e021-2582-4224-a5a9-c6de05e70423 2025-11-22 06:35:43,068 - DEBUG - Response for create_network : {'network': {'id': '44ce986b-525a-447e-a904-e41f676a4e57', 'name': 'ctest-vn2-81836367', 'tenant_id': 'bcc2358132894363bedb182f58ac6590', 'project_id': 'bcc2358132894363bedb182f58ac6590', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-54248606', 'ctest-vn2-81836367'], 'port_security_enabled': True, 'description': ''}} 2025-11-22 06:35:43,308 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd72771eb-d4af-4893-a8e0-a2aab3b7e82e', 'name': '', 'tenant_id': 'bcc2358132894363bedb182f58ac6590', 'network_id': '44ce986b-525a-447e-a904-e41f676a4e57', 'ip_version': 4, 'cidr': '56.143.84.0/26', 'allocation_pools': [{'start': '56.143.84.2', 'end': '56.143.84.62'}], 'gateway_ip': '56.143.84.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.143.84.2', 'tags': [], 'project_id': 'bcc2358132894363bedb182f58ac6590'}} 2025-11-22 06:35:43,327 - INFO - Created VN ctest-vn2-81836367 2025-11-22 06:35:43,380 - DEBUG - VN ctest-vn2-81836367 UUID is 44ce986b-525a-447e-a904-e41f676a4e57 2025-11-22 06:35:43,549 - DEBUG - Services list from nova: [, , ] 2025-11-22 06:35:44,777 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4797-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4797-1) 2025-11-22 06:35:46,021 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4797-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4797-1) 2025-11-22 06:35:46,103 - INFO - Adding interface with subnet_id 60b34e27-cfaf-483a-a995-5163a13ffd06, port_id None to router 8bec0665-3668-4491-b65d-13c570296161 2025-11-22 06:35:46,401 - INFO - Waiting for VM ctest-vn1-vm1-29709908 to be up.. 2025-11-22 06:35:46,495 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-22 06:35:51,585 - DEBUG - VM is in ACTIVE state now 2025-11-22 06:35:51,585 - INFO - VM name : ctest-vn1-vm1-29709908 2025-11-22 06:35:51,673 - DEBUG - VM ctest-vn1-vm1-29709908 ID is ca6b82c2-c1ae-43db-b21a-d4a07ac60af4 2025-11-22 06:35:51,694 - DEBUG - VM ctest-vn1-vm1-29709908 launched on Node cn-jenkins-deploy-platform-ansible-os-4797-1 2025-11-22 06:35:51,781 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ca6b82c2-c1ae-43db-b21a-d4a07ac60af4 2025-11-22 06:35:52,085 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ca6b82c2-c1ae-43db-b21a-d4a07ac60af4 2025-11-22 06:35:52,120 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1cbd3ea2-779b-4126-9fe3-59b1166a18ea 2025-11-22 06:35:55,375 - 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 1006ms') 2025-11-22 06:35:55,375 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29709908 failed! 2025-11-22 06:35:55,432 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-54248606:ctest-vn1-74186157 is 116.195.241.129 and allocation pool is NOT set 2025-11-22 06:35:57,498 - 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=8.97 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.00 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.002/5.487/8.972/3.485 ms') 2025-11-22 06:35:57,498 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-29709908 passed 2025-11-22 06:35:57,652 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:35:57,652 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-29709908, IP 116.195.241.131, Port 22 2025-11-22 06:35:57,712 - 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-22 06:35:57,804 - DEBUG - VM ctest-vn1-vm1-29709908 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-22 06:36:02,804 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:36:02,805 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-29709908, IP 116.195.241.131, Port 22 2025-11-22 06:36:02,959 - DEBUG - VM ctest-vn1-vm1-29709908 is ready for SSH connections 2025-11-22 06:36:02,959 - INFO - Waiting for VM ctest-vn2-vm1-93418249 to be up.. 2025-11-22 06:36:03,043 - DEBUG - VM is in ACTIVE state now 2025-11-22 06:36:03,043 - INFO - VM name : ctest-vn2-vm1-93418249 2025-11-22 06:36:03,128 - DEBUG - VM ctest-vn2-vm1-93418249 ID is 2339ed47-f5e7-4f38-b796-26be5cc9ada3 2025-11-22 06:36:03,128 - DEBUG - VM ctest-vn2-vm1-93418249 launched on Node cn-jenkins-deploy-platform-ansible-os-4797-1 2025-11-22 06:36:03,208 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2339ed47-f5e7-4f38-b796-26be5cc9ada3 2025-11-22 06:36:03,217 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1b9df047-a1f1-4b7b-8fe2-1b848da217ad 2025-11-22 06:36:04,466 - 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.57 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.437 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.437/2.005/3.574/1.568 ms') 2025-11-22 06:36:04,466 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-93418249 passed 2025-11-22 06:36:04,579 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:36:04,580 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-93418249, IP 56.143.84.3, Port 22 2025-11-22 06:36:04,758 - DEBUG - VM ctest-vn2-vm1-93418249 is ready for SSH connections 2025-11-22 06:36:04,758 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:36:04,758 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.143.84.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-22 06:36:04,758 - DEBUG - ping -s 56 -c 3 -W 1 56.143.84.3 2025-11-22 06:36:09,833 - DEBUG - PING 56.143.84.3 (56.143.84.3): 56 data bytes --- 56.143.84.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-22 06:36:09,833 - WARNING - Ping to IP 56.143.84.3 from VM ctest-vn1-vm1-29709908 failed 2025-11-22 06:36:09,833 - INFO - Adding interface with subnet_id d72771eb-d4af-4893-a8e0-a2aab3b7e82e, port_id None to router 8bec0665-3668-4491-b65d-13c570296161 2025-11-22 06:36:10,095 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:36:10,095 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.143.84.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-22 06:36:10,095 - DEBUG - ping -s 56 -c 3 -W 1 56.143.84.3 2025-11-22 06:36:13,311 - DEBUG - PING 56.143.84.3 (56.143.84.3): 56 data bytes 64 bytes from 56.143.84.3: seq=1 ttl=63 time=3.105 ms 64 bytes from 56.143.84.3: seq=2 ttl=63 time=0.944 ms --- 56.143.84.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.944/2.024/3.105 ms 2025-11-22 06:36:13,311 - WARNING - Ping to IP 56.143.84.3 from VM ctest-vn1-vm1-29709908 failed 2025-11-22 06:36:14,312 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.143.84.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-22 06:36:14,312 - DEBUG - ping -s 56 -c 3 -W 1 56.143.84.3 2025-11-22 06:36:16,526 - DEBUG - PING 56.143.84.3 (56.143.84.3): 56 data bytes 64 bytes from 56.143.84.3: seq=0 ttl=63 time=1.611 ms 64 bytes from 56.143.84.3: seq=1 ttl=63 time=0.972 ms 64 bytes from 56.143.84.3: seq=2 ttl=63 time=1.066 ms --- 56.143.84.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.972/1.216/1.611 ms 2025-11-22 06:36:16,526 - INFO - Ping to IP 56.143.84.3 from VM ctest-vn1-vm1-29709908 passed 2025-11-22 06:36:16,526 - INFO - Deleting interface with subnet_id 60b34e27-cfaf-483a-a995-5163a13ffd06, port_id None from router 8bec0665-3668-4491-b65d-13c570296161 2025-11-22 06:36:16,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:36:16,661 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.143.84.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-22 06:36:16,661 - DEBUG - ping -s 56 -c 3 -W 1 56.143.84.3 2025-11-22 06:36:19,879 - DEBUG - PING 56.143.84.3 (56.143.84.3): 56 data bytes --- 56.143.84.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-22 06:36:19,879 - WARNING - Ping to IP 56.143.84.3 from VM ctest-vn1-vm1-29709908 failed 2025-11-22 06:36:19,879 - INFO - Adding interface with subnet_id 60b34e27-cfaf-483a-a995-5163a13ffd06, port_id None to router 8bec0665-3668-4491-b65d-13c570296161 2025-11-22 06:36:20,110 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-22 06:36:20,110 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 56.143.84.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-22 06:36:20,111 - DEBUG - ping -s 56 -c 3 -W 1 56.143.84.3 2025-11-22 06:36:22,330 - DEBUG - PING 56.143.84.3 (56.143.84.3): 56 data bytes 64 bytes from 56.143.84.3: seq=0 ttl=63 time=1.611 ms 64 bytes from 56.143.84.3: seq=1 ttl=63 time=1.113 ms 64 bytes from 56.143.84.3: seq=2 ttl=63 time=1.056 ms --- 56.143.84.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.056/1.260/1.611 ms 2025-11-22 06:36:22,331 - INFO - Ping to IP 56.143.84.3 from VM ctest-vn1-vm1-29709908 passed 2025-11-22 06:36:22,331 - INFO - Deleting interface with subnet_id d72771eb-d4af-4893-a8e0-a2aab3b7e82e, port_id None from router 8bec0665-3668-4491-b65d-13c570296161 2025-11-22 06:36:22,442 - INFO - Deleting interface with subnet_id 60b34e27-cfaf-483a-a995-5163a13ffd06, port_id None from router 8bec0665-3668-4491-b65d-13c570296161 2025-11-22 06:36:22,622 - INFO - Deleting VM ctest-vn2-vm1-93418249 2025-11-22 06:36:22,704 - INFO - Deleting VM ctest-vn1-vm1-29709908 2025-11-22 06:36:22,779 - INFO - Deleting VN ctest-vn2-81836367 2025-11-22 06:36:22,821 - DEBUG - VN 44ce986b-525a-447e-a904-e41f676a4e57 still in use: Unable to complete operation on network 44ce986b-525a-447e-a904-e41f676a4e57. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d2634742-c8d1-4d5f-b186-72fa04edcc39'] 2025-11-22 06:36:22,821 - WARNING - Deleting VN ctest-vn2-81836367 failed..Will retry 2025-11-22 06:36:24,929 - DEBUG - Response for deleting network () 2025-11-22 06:36:24,930 - INFO - Deleting VN ctest-vn1-74186157 2025-11-22 06:36:25,045 - DEBUG - Response for deleting network () 2025-11-22 06:36:25,316 - DEBUG - No XMPP flaps were noticed during the test 2025-11-22 06:36:25,316 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-11-22 06:36:25,316 - INFO - -------------------------------------------------------------------------------- 2025-11-22 06:36:26,021 - INFO - Deleted project: ctest-TestRouters-54248606, ID : bcc23581-3289-4363-bedb-182f58ac6590