2025-08-13 15:23:11,589 - INFO - Domain Default found not creating 2025-08-13 15:23:11,720 - INFO - Project ctest-TestRouters-69946909 not found, creating it 2025-08-13 15:23:12,237 - INFO - Created Project:ctest-TestRouters-69946909, ID : 629d38dc-d2f4-4806-b15f-5c444d955db8 2025-08-13 15:23:13,643 - INFO - ================================================================================ 2025-08-13 15:23:13,644 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-13 15:23:13,644 - 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-08-13 15:23:13,898 - DEBUG - Nothing to compare xmpp stats {'10.0.0.133': {'10.20.0.254': '0'}} with 2025-08-13 15:23:13,898 - INFO - Initial checks done. Running the testcase now 2025-08-13 15:23:13,899 - INFO - 2025-08-13 15:23:14,448 - DEBUG - Response for create_network : {'network': {'id': 'e0f6c270-6702-4f1b-b26d-5d6edee7b874', 'name': 'ctest-vn1-94050511', 'tenant_id': '629d38dcd2f44806b15f5c444d955db8', 'project_id': '629d38dcd2f44806b15f5c444d955db8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-69946909', 'ctest-vn1-94050511'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 15:23:14,681 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ddf89b81-84fc-4bce-9d03-2ce668fa0ea2', 'name': '', 'tenant_id': '629d38dcd2f44806b15f5c444d955db8', 'network_id': 'e0f6c270-6702-4f1b-b26d-5d6edee7b874', 'ip_version': 4, 'cidr': '79.105.162.128/26', 'allocation_pools': [{'start': '79.105.162.130', 'end': '79.105.162.190'}], 'gateway_ip': '79.105.162.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.105.162.130', 'tags': [], 'project_id': '629d38dcd2f44806b15f5c444d955db8'}} 2025-08-13 15:23:14,698 - INFO - Created VN ctest-vn1-94050511 2025-08-13 15:23:14,749 - DEBUG - VN ctest-vn1-94050511 UUID is e0f6c270-6702-4f1b-b26d-5d6edee7b874 2025-08-13 15:23:15,104 - DEBUG - Response for create_network : {'network': {'id': '76c86643-7fc7-459a-8e47-7368888ef332', 'name': 'ctest-vn2-18440794', 'tenant_id': '629d38dcd2f44806b15f5c444d955db8', 'project_id': '629d38dcd2f44806b15f5c444d955db8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-69946909', 'ctest-vn2-18440794'], 'port_security_enabled': True, 'description': ''}} 2025-08-13 15:23:15,289 - DEBUG - Response for create_subnet : {'subnet': {'id': '7fe614cc-48a9-4986-9a85-f0b1a53d844d', 'name': '', 'tenant_id': '629d38dcd2f44806b15f5c444d955db8', 'network_id': '76c86643-7fc7-459a-8e47-7368888ef332', 'ip_version': 4, 'cidr': '134.237.155.0/26', 'allocation_pools': [{'start': '134.237.155.2', 'end': '134.237.155.62'}], 'gateway_ip': '134.237.155.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '134.237.155.2', 'tags': [], 'project_id': '629d38dcd2f44806b15f5c444d955db8'}} 2025-08-13 15:23:15,306 - INFO - Created VN ctest-vn2-18440794 2025-08-13 15:23:15,361 - DEBUG - VN ctest-vn2-18440794 UUID is 76c86643-7fc7-459a-8e47-7368888ef332 2025-08-13 15:23:15,571 - DEBUG - Services list from nova: [, , ] 2025-08-13 15:23:16,556 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3840-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3840-1) 2025-08-13 15:23:17,820 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3840-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3840-1) 2025-08-13 15:23:17,889 - INFO - Adding interface with subnet_id ddf89b81-84fc-4bce-9d03-2ce668fa0ea2, port_id None to router bdecd94b-97eb-4d08-b9af-9d7f268e1bf9 2025-08-13 15:23:18,292 - INFO - Waiting for VM ctest-vn1-vm1-52562756 to be up.. 2025-08-13 15:23:18,439 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-13 15:23:23,512 - DEBUG - VM is in ACTIVE state now 2025-08-13 15:23:23,513 - INFO - VM name : ctest-vn1-vm1-52562756 2025-08-13 15:23:23,592 - DEBUG - VM ctest-vn1-vm1-52562756 ID is a19edb40-f422-4796-8961-7bd24d28dc1f 2025-08-13 15:23:23,610 - DEBUG - VM ctest-vn1-vm1-52562756 launched on Node cn-jenkins-deploy-platform-ansible-os-3840-1 2025-08-13 15:23:23,681 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/a19edb40-f422-4796-8961-7bd24d28dc1f 2025-08-13 15:23:23,986 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/a19edb40-f422-4796-8961-7bd24d28dc1f 2025-08-13 15:23:24,022 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/c0dbd95c-8af8-4585-8894-a7354130356b 2025-08-13 15:23:27,294 - 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 1027ms') 2025-08-13 15:23:27,294 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52562756 failed! 2025-08-13 15:23:27,361 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-69946909:ctest-vn1-94050511 is 79.105.162.129 and allocation pool is NOT set 2025-08-13 15:23:29,419 - 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.34 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.408 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.408/1.873/3.338/1.465 ms') 2025-08-13 15:23:29,419 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-52562756 passed 2025-08-13 15:23:29,569 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:23:29,569 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-52562756, IP 79.105.162.131, Port 22 2025-08-13 15:23:29,724 - DEBUG - VM ctest-vn1-vm1-52562756 is ready for SSH connections 2025-08-13 15:23:29,725 - INFO - Waiting for VM ctest-vn2-vm1-57931278 to be up.. 2025-08-13 15:23:29,800 - DEBUG - VM is in ACTIVE state now 2025-08-13 15:23:29,800 - INFO - VM name : ctest-vn2-vm1-57931278 2025-08-13 15:23:29,870 - DEBUG - VM ctest-vn2-vm1-57931278 ID is 8c417c2b-3a20-4e8e-a209-687906183f26 2025-08-13 15:23:29,871 - DEBUG - VM ctest-vn2-vm1-57931278 launched on Node cn-jenkins-deploy-platform-ansible-os-3840-1 2025-08-13 15:23:29,942 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine/8c417c2b-3a20-4e8e-a209-687906183f26 2025-08-13 15:23:29,950 - DEBUG - Requesting: http://10.0.0.133:8082/virtual-machine-interface/16ddaed4-920c-4b0d-a82a-d124bc404288 2025-08-13 15:23:31,188 - 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.63 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 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.370/1.500/2.630/1.130 ms') 2025-08-13 15:23:31,188 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-57931278 passed 2025-08-13 15:23:31,345 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:23:31,345 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-57931278, IP 134.237.155.3, Port 22 2025-08-13 15:23:31,500 - DEBUG - VM ctest-vn2-vm1-57931278 is ready for SSH connections 2025-08-13 15:23:31,500 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:23:31,500 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.237.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-08-13 15:23:31,500 - DEBUG - ping -s 56 -c 3 -W 1 134.237.155.3 2025-08-13 15:23:36,416 - DEBUG - PING 134.237.155.3 (134.237.155.3): 56 data bytes --- 134.237.155.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-13 15:23:36,416 - WARNING - Ping to IP 134.237.155.3 from VM ctest-vn1-vm1-52562756 failed 2025-08-13 15:23:36,416 - INFO - Adding interface with subnet_id 7fe614cc-48a9-4986-9a85-f0b1a53d844d, port_id None to router bdecd94b-97eb-4d08-b9af-9d7f268e1bf9 2025-08-13 15:23:36,705 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:23:36,705 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.237.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-08-13 15:23:36,705 - DEBUG - ping -s 56 -c 3 -W 1 134.237.155.3 2025-08-13 15:23:38,903 - DEBUG - PING 134.237.155.3 (134.237.155.3): 56 data bytes 64 bytes from 134.237.155.3: seq=0 ttl=63 time=2.697 ms 64 bytes from 134.237.155.3: seq=1 ttl=63 time=0.840 ms 64 bytes from 134.237.155.3: seq=2 ttl=63 time=0.832 ms --- 134.237.155.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.832/1.456/2.697 ms 2025-08-13 15:23:38,903 - INFO - Ping to IP 134.237.155.3 from VM ctest-vn1-vm1-52562756 passed 2025-08-13 15:23:38,903 - INFO - Deleting interface with subnet_id ddf89b81-84fc-4bce-9d03-2ce668fa0ea2, port_id None from router bdecd94b-97eb-4d08-b9af-9d7f268e1bf9 2025-08-13 15:23:39,025 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:23:39,025 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.237.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-08-13 15:23:39,025 - DEBUG - ping -s 56 -c 3 -W 1 134.237.155.3 2025-08-13 15:23:42,223 - DEBUG - PING 134.237.155.3 (134.237.155.3): 56 data bytes --- 134.237.155.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-13 15:23:42,224 - WARNING - Ping to IP 134.237.155.3 from VM ctest-vn1-vm1-52562756 failed 2025-08-13 15:23:42,224 - INFO - Adding interface with subnet_id ddf89b81-84fc-4bce-9d03-2ce668fa0ea2, port_id None to router bdecd94b-97eb-4d08-b9af-9d7f268e1bf9 2025-08-13 15:23:42,450 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-13 15:23:42,450 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.237.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-08-13 15:23:42,450 - DEBUG - ping -s 56 -c 3 -W 1 134.237.155.3 2025-08-13 15:23:45,651 - DEBUG - PING 134.237.155.3 (134.237.155.3): 56 data bytes 64 bytes from 134.237.155.3: seq=1 ttl=63 time=1.430 ms 64 bytes from 134.237.155.3: seq=2 ttl=63 time=0.874 ms --- 134.237.155.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.874/1.152/1.430 ms 2025-08-13 15:23:45,651 - WARNING - Ping to IP 134.237.155.3 from VM ctest-vn1-vm1-52562756 failed 2025-08-13 15:23:46,652 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 134.237.155.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.133, gateway password: c0ntrail123 2025-08-13 15:23:46,652 - DEBUG - ping -s 56 -c 3 -W 1 134.237.155.3 2025-08-13 15:23:48,850 - DEBUG - PING 134.237.155.3 (134.237.155.3): 56 data bytes 64 bytes from 134.237.155.3: seq=0 ttl=63 time=1.338 ms 64 bytes from 134.237.155.3: seq=1 ttl=63 time=0.853 ms 64 bytes from 134.237.155.3: seq=2 ttl=63 time=0.913 ms --- 134.237.155.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.853/1.034/1.338 ms 2025-08-13 15:23:48,850 - INFO - Ping to IP 134.237.155.3 from VM ctest-vn1-vm1-52562756 passed 2025-08-13 15:23:48,850 - INFO - Deleting interface with subnet_id 7fe614cc-48a9-4986-9a85-f0b1a53d844d, port_id None from router bdecd94b-97eb-4d08-b9af-9d7f268e1bf9 2025-08-13 15:23:48,973 - INFO - Deleting interface with subnet_id ddf89b81-84fc-4bce-9d03-2ce668fa0ea2, port_id None from router bdecd94b-97eb-4d08-b9af-9d7f268e1bf9 2025-08-13 15:23:49,137 - INFO - Deleting VM ctest-vn2-vm1-57931278 2025-08-13 15:23:49,206 - INFO - Deleting VM ctest-vn1-vm1-52562756 2025-08-13 15:23:49,275 - INFO - Deleting VN ctest-vn2-18440794 2025-08-13 15:23:49,310 - DEBUG - VN 76c86643-7fc7-459a-8e47-7368888ef332 still in use: Unable to complete operation on network 76c86643-7fc7-459a-8e47-7368888ef332. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5b20f2ba-6c9f-42bc-bfd1-75192969a3af'] 2025-08-13 15:23:49,310 - WARNING - Deleting VN ctest-vn2-18440794 failed..Will retry 2025-08-13 15:23:51,404 - DEBUG - Response for deleting network () 2025-08-13 15:23:51,404 - INFO - Deleting VN ctest-vn1-94050511 2025-08-13 15:23:51,495 - DEBUG - Response for deleting network () 2025-08-13 15:23:51,758 - DEBUG - No XMPP flaps were noticed during the test 2025-08-13 15:23:51,758 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-08-13 15:23:51,758 - INFO - -------------------------------------------------------------------------------- 2025-08-13 15:23:52,413 - INFO - Deleted project: ctest-TestRouters-69946909, ID : 629d38dc-d2f4-4806-b15f-5c444d955db8