2025-11-17 13:37:57,505 - INFO - Domain Default found not creating 2025-11-17 13:37:57,678 - INFO - Project ctest-TestRouters-41754053 not found, creating it 2025-11-17 13:37:58,126 - INFO - Created Project:ctest-TestRouters-41754053, ID : f2b9a360-529c-401e-8634-5d1151761841 2025-11-17 13:37:59,634 - INFO - ================================================================================ 2025-11-17 13:37:59,634 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-17 13:37:59,634 - 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-17 13:37:59,892 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-11-17 13:37:59,892 - INFO - Initial checks done. Running the testcase now 2025-11-17 13:37:59,892 - INFO - 2025-11-17 13:38:00,478 - DEBUG - Response for create_network : {'network': {'id': '34ddc80f-1e36-4a20-a186-9ab96ffcd15f', 'name': 'ctest-vn1-47513960', 'tenant_id': 'f2b9a360529c401e86345d1151761841', 'project_id': 'f2b9a360529c401e86345d1151761841', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41754053', 'ctest-vn1-47513960'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 13:38:00,649 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ec938c86-437f-4ee8-94ab-41675ec9abfc', 'name': '', 'tenant_id': 'f2b9a360529c401e86345d1151761841', 'network_id': '34ddc80f-1e36-4a20-a186-9ab96ffcd15f', 'ip_version': 4, 'cidr': '23.247.212.128/26', 'allocation_pools': [{'start': '23.247.212.130', 'end': '23.247.212.190'}], 'gateway_ip': '23.247.212.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.247.212.130', 'tags': [], 'project_id': 'f2b9a360529c401e86345d1151761841'}} 2025-11-17 13:38:00,665 - INFO - Created VN ctest-vn1-47513960 2025-11-17 13:38:00,718 - DEBUG - VN ctest-vn1-47513960 UUID is 34ddc80f-1e36-4a20-a186-9ab96ffcd15f 2025-11-17 13:38:01,099 - DEBUG - Response for create_network : {'network': {'id': '9125e75a-ba9c-4bf1-8f53-373fdb151e71', 'name': 'ctest-vn2-71696119', 'tenant_id': 'f2b9a360529c401e86345d1151761841', 'project_id': 'f2b9a360529c401e86345d1151761841', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-41754053', 'ctest-vn2-71696119'], 'port_security_enabled': True, 'description': ''}} 2025-11-17 13:38:01,330 - DEBUG - Response for create_subnet : {'subnet': {'id': '55d9e1ff-76be-499f-b64c-00edb9939b56', 'name': '', 'tenant_id': 'f2b9a360529c401e86345d1151761841', 'network_id': '9125e75a-ba9c-4bf1-8f53-373fdb151e71', 'ip_version': 4, 'cidr': '41.225.115.128/26', 'allocation_pools': [{'start': '41.225.115.130', 'end': '41.225.115.190'}], 'gateway_ip': '41.225.115.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '41.225.115.130', 'tags': [], 'project_id': 'f2b9a360529c401e86345d1151761841'}} 2025-11-17 13:38:01,347 - INFO - Created VN ctest-vn2-71696119 2025-11-17 13:38:01,406 - DEBUG - VN ctest-vn2-71696119 UUID is 9125e75a-ba9c-4bf1-8f53-373fdb151e71 2025-11-17 13:38:01,617 - DEBUG - Services list from nova: [, , ] 2025-11-17 13:38:02,928 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4741-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4741-1) 2025-11-17 13:38:04,208 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4741-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4741-1) 2025-11-17 13:38:04,298 - INFO - Adding interface with subnet_id ec938c86-437f-4ee8-94ab-41675ec9abfc, port_id None to router 238c95dd-2c32-42b5-96f5-6e77139f358e 2025-11-17 13:38:04,597 - INFO - Waiting for VM ctest-vn1-vm1-00430752 to be up.. 2025-11-17 13:38:04,692 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-17 13:38:09,761 - DEBUG - VM is in ACTIVE state now 2025-11-17 13:38:09,761 - INFO - VM name : ctest-vn1-vm1-00430752 2025-11-17 13:38:09,835 - DEBUG - VM ctest-vn1-vm1-00430752 ID is 98d35af1-d31f-4378-a63a-d7640735eb66 2025-11-17 13:38:09,853 - DEBUG - VM ctest-vn1-vm1-00430752 launched on Node cn-jenkins-deploy-platform-ansible-os-4741-1 2025-11-17 13:38:09,926 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/98d35af1-d31f-4378-a63a-d7640735eb66 2025-11-17 13:38:10,248 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/98d35af1-d31f-4378-a63a-d7640735eb66 2025-11-17 13:38:10,282 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/8bc2b14e-e1a7-4ac7-8e2b-666de8238a05 2025-11-17 13:38:13,532 - 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=2 ttl=63 time=9.73 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 9.729/9.729/9.729/0.000 ms') 2025-11-17 13:38:13,533 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00430752 passed 2025-11-17 13:38:13,682 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 13:38:13,682 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00430752, IP 23.247.212.131, Port 22 2025-11-17 13:38:13,846 - DEBUG - VM ctest-vn1-vm1-00430752 is ready for SSH connections 2025-11-17 13:38:13,846 - INFO - Waiting for VM ctest-vn2-vm1-14647973 to be up.. 2025-11-17 13:38:13,920 - DEBUG - VM is in ACTIVE state now 2025-11-17 13:38:13,920 - INFO - VM name : ctest-vn2-vm1-14647973 2025-11-17 13:38:13,995 - DEBUG - VM ctest-vn2-vm1-14647973 ID is 6cccfff2-239f-40c8-b1b3-4f25a1febd61 2025-11-17 13:38:13,995 - DEBUG - VM ctest-vn2-vm1-14647973 launched on Node cn-jenkins-deploy-platform-ansible-os-4741-1 2025-11-17 13:38:14,059 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6cccfff2-239f-40c8-b1b3-4f25a1febd61 2025-11-17 13:38:14,070 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c9901df5-3465-4041-be6d-27909fb3c893 2025-11-17 13:38:15,311 - 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.24 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.489 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.489/1.862/3.235/1.373 ms') 2025-11-17 13:38:15,311 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-14647973 passed 2025-11-17 13:38:15,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 13:38:15,466 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-14647973, IP 41.225.115.131, Port 22 2025-11-17 13:38:15,626 - DEBUG - VM ctest-vn2-vm1-14647973 is ready for SSH connections 2025-11-17 13:38:15,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 13:38:15,626 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.225.115.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 13:38:15,626 - DEBUG - ping -s 56 -c 3 -W 1 41.225.115.131 2025-11-17 13:38:20,524 - DEBUG - PING 41.225.115.131 (41.225.115.131): 56 data bytes --- 41.225.115.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 13:38:20,524 - WARNING - Ping to IP 41.225.115.131 from VM ctest-vn1-vm1-00430752 failed 2025-11-17 13:38:20,524 - INFO - Adding interface with subnet_id 55d9e1ff-76be-499f-b64c-00edb9939b56, port_id None to router 238c95dd-2c32-42b5-96f5-6e77139f358e 2025-11-17 13:38:20,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 13:38:20,776 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.225.115.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 13:38:20,776 - DEBUG - ping -s 56 -c 3 -W 1 41.225.115.131 2025-11-17 13:38:22,898 - DEBUG - PING 41.225.115.131 (41.225.115.131): 56 data bytes 64 bytes from 41.225.115.131: seq=0 ttl=63 time=2.468 ms 64 bytes from 41.225.115.131: seq=1 ttl=63 time=1.011 ms 64 bytes from 41.225.115.131: seq=2 ttl=63 time=1.213 ms --- 41.225.115.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.011/1.564/2.468 ms 2025-11-17 13:38:22,898 - INFO - Ping to IP 41.225.115.131 from VM ctest-vn1-vm1-00430752 passed 2025-11-17 13:38:22,898 - INFO - Deleting interface with subnet_id ec938c86-437f-4ee8-94ab-41675ec9abfc, port_id None from router 238c95dd-2c32-42b5-96f5-6e77139f358e 2025-11-17 13:38:23,020 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 13:38:23,020 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.225.115.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 13:38:23,020 - DEBUG - ping -s 56 -c 3 -W 1 41.225.115.131 2025-11-17 13:38:26,135 - DEBUG - PING 41.225.115.131 (41.225.115.131): 56 data bytes --- 41.225.115.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-17 13:38:26,135 - WARNING - Ping to IP 41.225.115.131 from VM ctest-vn1-vm1-00430752 failed 2025-11-17 13:38:26,135 - INFO - Adding interface with subnet_id ec938c86-437f-4ee8-94ab-41675ec9abfc, port_id None to router 238c95dd-2c32-42b5-96f5-6e77139f358e 2025-11-17 13:38:26,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-17 13:38:26,367 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 41.225.115.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-11-17 13:38:26,367 - DEBUG - ping -s 56 -c 3 -W 1 41.225.115.131 2025-11-17 13:38:28,491 - DEBUG - PING 41.225.115.131 (41.225.115.131): 56 data bytes 64 bytes from 41.225.115.131: seq=0 ttl=63 time=1.426 ms 64 bytes from 41.225.115.131: seq=1 ttl=63 time=0.803 ms 64 bytes from 41.225.115.131: seq=2 ttl=63 time=0.944 ms --- 41.225.115.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.803/1.057/1.426 ms 2025-11-17 13:38:28,491 - INFO - Ping to IP 41.225.115.131 from VM ctest-vn1-vm1-00430752 passed 2025-11-17 13:38:28,491 - INFO - Deleting interface with subnet_id 55d9e1ff-76be-499f-b64c-00edb9939b56, port_id None from router 238c95dd-2c32-42b5-96f5-6e77139f358e 2025-11-17 13:38:28,602 - INFO - Deleting interface with subnet_id ec938c86-437f-4ee8-94ab-41675ec9abfc, port_id None from router 238c95dd-2c32-42b5-96f5-6e77139f358e 2025-11-17 13:38:28,749 - INFO - Deleting VM ctest-vn2-vm1-14647973 2025-11-17 13:38:28,821 - INFO - Deleting VM ctest-vn1-vm1-00430752 2025-11-17 13:38:28,892 - INFO - Deleting VN ctest-vn2-71696119 2025-11-17 13:38:28,925 - DEBUG - VN 9125e75a-ba9c-4bf1-8f53-373fdb151e71 still in use: Unable to complete operation on network 9125e75a-ba9c-4bf1-8f53-373fdb151e71. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f1e05056-a3b8-483e-a60f-52474551af56'] 2025-11-17 13:38:28,926 - WARNING - Deleting VN ctest-vn2-71696119 failed..Will retry 2025-11-17 13:38:31,025 - DEBUG - Response for deleting network () 2025-11-17 13:38:31,025 - INFO - Deleting VN ctest-vn1-47513960 2025-11-17 13:38:31,120 - DEBUG - Response for deleting network () 2025-11-17 13:38:31,379 - DEBUG - No XMPP flaps were noticed during the test 2025-11-17 13:38:31,379 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:32] 2025-11-17 13:38:31,379 - INFO - -------------------------------------------------------------------------------- 2025-11-17 13:38:32,108 - INFO - Deleted project: ctest-TestRouters-41754053, ID : f2b9a360-529c-401e-8634-5d1151761841