2025-10-20 11:44:20,202 - INFO - Domain Default found not creating 2025-10-20 11:44:20,353 - INFO - Project ctest-TestRouters-48945866 not found, creating it 2025-10-20 11:44:20,795 - INFO - Created Project:ctest-TestRouters-48945866, ID : 966dac28-bad8-45c9-a18b-51a757b648cc 2025-10-20 11:44:22,246 - INFO - ================================================================================ 2025-10-20 11:44:22,246 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-20 11:44:22,246 - 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-10-20 11:44:22,509 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.129': '0'}} with 2025-10-20 11:44:22,509 - INFO - Initial checks done. Running the testcase now 2025-10-20 11:44:22,509 - INFO - 2025-10-20 11:44:23,161 - DEBUG - Response for create_network : {'network': {'id': '2f8b7775-1efa-47c3-8b49-03ff697fa01b', 'name': 'ctest-vn1-79540572', 'tenant_id': '966dac28bad845c9a18b51a757b648cc', 'project_id': '966dac28bad845c9a18b51a757b648cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48945866', 'ctest-vn1-79540572'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 11:44:23,340 - DEBUG - Response for create_subnet : {'subnet': {'id': '95cee066-2119-4c26-b79e-3fd77f1a0f44', 'name': '', 'tenant_id': '966dac28bad845c9a18b51a757b648cc', 'network_id': '2f8b7775-1efa-47c3-8b49-03ff697fa01b', 'ip_version': 4, 'cidr': '103.32.254.128/26', 'allocation_pools': [{'start': '103.32.254.130', 'end': '103.32.254.190'}], 'gateway_ip': '103.32.254.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.32.254.130', 'tags': [], 'project_id': '966dac28bad845c9a18b51a757b648cc'}} 2025-10-20 11:44:23,359 - INFO - Created VN ctest-vn1-79540572 2025-10-20 11:44:23,411 - DEBUG - VN ctest-vn1-79540572 UUID is 2f8b7775-1efa-47c3-8b49-03ff697fa01b 2025-10-20 11:44:23,770 - DEBUG - Response for create_network : {'network': {'id': '8e12bb40-b9a1-4ff2-8e84-62bce133b7f4', 'name': 'ctest-vn2-44751177', 'tenant_id': '966dac28bad845c9a18b51a757b648cc', 'project_id': '966dac28bad845c9a18b51a757b648cc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-48945866', 'ctest-vn2-44751177'], 'port_security_enabled': True, 'description': ''}} 2025-10-20 11:44:24,027 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0bde04a-1d5b-43f5-8a26-5085533bd582', 'name': '', 'tenant_id': '966dac28bad845c9a18b51a757b648cc', 'network_id': '8e12bb40-b9a1-4ff2-8e84-62bce133b7f4', 'ip_version': 4, 'cidr': '178.153.14.64/26', 'allocation_pools': [{'start': '178.153.14.66', 'end': '178.153.14.126'}], 'gateway_ip': '178.153.14.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.153.14.66', 'tags': [], 'project_id': '966dac28bad845c9a18b51a757b648cc'}} 2025-10-20 11:44:24,045 - INFO - Created VN ctest-vn2-44751177 2025-10-20 11:44:24,099 - DEBUG - VN ctest-vn2-44751177 UUID is 8e12bb40-b9a1-4ff2-8e84-62bce133b7f4 2025-10-20 11:44:24,270 - DEBUG - Services list from nova: [, , ] 2025-10-20 11:44:25,263 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4374-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4374-1) 2025-10-20 11:44:26,519 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4374-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4374-1) 2025-10-20 11:44:26,597 - INFO - Adding interface with subnet_id 95cee066-2119-4c26-b79e-3fd77f1a0f44, port_id None to router 70b94066-a8bf-48ac-95c3-08cff5b139ba 2025-10-20 11:44:26,876 - INFO - Waiting for VM ctest-vn1-vm1-94224714 to be up.. 2025-10-20 11:44:26,991 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-20 11:44:32,064 - DEBUG - VM is in ACTIVE state now 2025-10-20 11:44:32,064 - INFO - VM name : ctest-vn1-vm1-94224714 2025-10-20 11:44:32,141 - DEBUG - VM ctest-vn1-vm1-94224714 ID is f364ee7b-8154-4e25-9753-d5b9cf244bf1 2025-10-20 11:44:32,159 - DEBUG - VM ctest-vn1-vm1-94224714 launched on Node cn-jenkins-deploy-platform-ansible-os-4374-1 2025-10-20 11:44:32,229 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/f364ee7b-8154-4e25-9753-d5b9cf244bf1 2025-10-20 11:44:32,521 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/f364ee7b-8154-4e25-9753-d5b9cf244bf1 2025-10-20 11:44:32,553 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/95bb8122-adf9-48d7-9c3b-ca6b13892698 2025-10-20 11:44:35,793 - 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 1003ms') 2025-10-20 11:44:35,793 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94224714 failed! 2025-10-20 11:44:35,847 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-48945866:ctest-vn1-79540572 is 103.32.254.129 and allocation pool is NOT set 2025-10-20 11:44:37,909 - 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.24 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.452 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 = 0.452/1.844/3.237/1.392 ms') 2025-10-20 11:44:37,909 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94224714 passed 2025-10-20 11:44:38,055 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 11:44:38,055 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-94224714, IP 103.32.254.131, Port 22 2025-10-20 11:44:38,211 - DEBUG - VM ctest-vn1-vm1-94224714 is ready for SSH connections 2025-10-20 11:44:38,211 - INFO - Waiting for VM ctest-vn2-vm1-35884587 to be up.. 2025-10-20 11:44:38,283 - DEBUG - VM is in ACTIVE state now 2025-10-20 11:44:38,283 - INFO - VM name : ctest-vn2-vm1-35884587 2025-10-20 11:44:38,357 - DEBUG - VM ctest-vn2-vm1-35884587 ID is e2be2d1d-4a15-452f-896f-d6b29b0487b8 2025-10-20 11:44:38,357 - DEBUG - VM ctest-vn2-vm1-35884587 launched on Node cn-jenkins-deploy-platform-ansible-os-4374-1 2025-10-20 11:44:38,428 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine/e2be2d1d-4a15-452f-896f-d6b29b0487b8 2025-10-20 11:44:38,436 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-machine-interface/a5814172-d70c-494a-8224-1f2b2e35b53b 2025-10-20 11:44:39,668 - 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=2.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.566 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.566/1.672/2.779/1.106 ms') 2025-10-20 11:44:39,668 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-35884587 passed 2025-10-20 11:44:39,815 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 11:44:39,815 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-35884587, IP 178.153.14.67, Port 22 2025-10-20 11:44:39,975 - DEBUG - VM ctest-vn2-vm1-35884587 is ready for SSH connections 2025-10-20 11:44:39,975 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 11:44:39,976 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.153.14.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-20 11:44:39,976 - DEBUG - ping -s 56 -c 3 -W 1 178.153.14.67 2025-10-20 11:44:45,058 - DEBUG - PING 178.153.14.67 (178.153.14.67): 56 data bytes --- 178.153.14.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-20 11:44:45,058 - WARNING - Ping to IP 178.153.14.67 from VM ctest-vn1-vm1-94224714 failed 2025-10-20 11:44:45,058 - INFO - Adding interface with subnet_id c0bde04a-1d5b-43f5-8a26-5085533bd582, port_id None to router 70b94066-a8bf-48ac-95c3-08cff5b139ba 2025-10-20 11:44:45,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 11:44:45,300 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.153.14.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-20 11:44:45,301 - DEBUG - ping -s 56 -c 3 -W 1 178.153.14.67 2025-10-20 11:44:47,510 - DEBUG - PING 178.153.14.67 (178.153.14.67): 56 data bytes 64 bytes from 178.153.14.67: seq=0 ttl=63 time=2.542 ms 64 bytes from 178.153.14.67: seq=1 ttl=63 time=0.862 ms 64 bytes from 178.153.14.67: seq=2 ttl=63 time=0.813 ms --- 178.153.14.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.813/1.405/2.542 ms 2025-10-20 11:44:47,510 - INFO - Ping to IP 178.153.14.67 from VM ctest-vn1-vm1-94224714 passed 2025-10-20 11:44:47,510 - INFO - Deleting interface with subnet_id 95cee066-2119-4c26-b79e-3fd77f1a0f44, port_id None from router 70b94066-a8bf-48ac-95c3-08cff5b139ba 2025-10-20 11:44:47,614 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 11:44:47,614 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.153.14.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-20 11:44:47,614 - DEBUG - ping -s 56 -c 3 -W 1 178.153.14.67 2025-10-20 11:44:50,821 - DEBUG - PING 178.153.14.67 (178.153.14.67): 56 data bytes --- 178.153.14.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-20 11:44:50,821 - WARNING - Ping to IP 178.153.14.67 from VM ctest-vn1-vm1-94224714 failed 2025-10-20 11:44:50,821 - INFO - Adding interface with subnet_id 95cee066-2119-4c26-b79e-3fd77f1a0f44, port_id None to router 70b94066-a8bf-48ac-95c3-08cff5b139ba 2025-10-20 11:44:51,016 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-20 11:44:51,016 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.153.14.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-20 11:44:51,016 - DEBUG - ping -s 56 -c 3 -W 1 178.153.14.67 2025-10-20 11:44:54,216 - DEBUG - PING 178.153.14.67 (178.153.14.67): 56 data bytes 64 bytes from 178.153.14.67: seq=1 ttl=63 time=1.454 ms 64 bytes from 178.153.14.67: seq=2 ttl=63 time=0.815 ms --- 178.153.14.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.815/1.134/1.454 ms 2025-10-20 11:44:54,216 - WARNING - Ping to IP 178.153.14.67 from VM ctest-vn1-vm1-94224714 failed 2025-10-20 11:44:55,217 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 178.153.14.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.130, gateway password: c0ntrail123 2025-10-20 11:44:55,218 - DEBUG - ping -s 56 -c 3 -W 1 178.153.14.67 2025-10-20 11:44:57,418 - DEBUG - PING 178.153.14.67 (178.153.14.67): 56 data bytes 64 bytes from 178.153.14.67: seq=0 ttl=63 time=1.444 ms 64 bytes from 178.153.14.67: seq=1 ttl=63 time=0.792 ms 64 bytes from 178.153.14.67: seq=2 ttl=63 time=0.827 ms --- 178.153.14.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.792/1.021/1.444 ms 2025-10-20 11:44:57,419 - INFO - Ping to IP 178.153.14.67 from VM ctest-vn1-vm1-94224714 passed 2025-10-20 11:44:57,419 - INFO - Deleting interface with subnet_id c0bde04a-1d5b-43f5-8a26-5085533bd582, port_id None from router 70b94066-a8bf-48ac-95c3-08cff5b139ba 2025-10-20 11:44:57,525 - INFO - Deleting interface with subnet_id 95cee066-2119-4c26-b79e-3fd77f1a0f44, port_id None from router 70b94066-a8bf-48ac-95c3-08cff5b139ba 2025-10-20 11:44:57,694 - INFO - Deleting VM ctest-vn2-vm1-35884587 2025-10-20 11:44:57,763 - INFO - Deleting VM ctest-vn1-vm1-94224714 2025-10-20 11:44:57,834 - INFO - Deleting VN ctest-vn2-44751177 2025-10-20 11:44:57,875 - DEBUG - VN 8e12bb40-b9a1-4ff2-8e84-62bce133b7f4 still in use: Unable to complete operation on network 8e12bb40-b9a1-4ff2-8e84-62bce133b7f4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3e5c232b-d858-4929-8ea0-fc56adf0066e'] 2025-10-20 11:44:57,875 - WARNING - Deleting VN ctest-vn2-44751177 failed..Will retry 2025-10-20 11:44:59,975 - DEBUG - Response for deleting network () 2025-10-20 11:44:59,975 - INFO - Deleting VN ctest-vn1-79540572 2025-10-20 11:45:00,075 - DEBUG - Response for deleting network () 2025-10-20 11:45:00,328 - DEBUG - No XMPP flaps were noticed during the test 2025-10-20 11:45:00,328 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-20 11:45:00,328 - INFO - -------------------------------------------------------------------------------- 2025-10-20 11:45:01,000 - INFO - Deleted project: ctest-TestRouters-48945866, ID : 966dac28-bad8-45c9-a18b-51a757b648cc