2025-08-11 13:36:52,398 - INFO - Domain Default found not creating 2025-08-11 13:36:52,525 - INFO - Project ctest-TestRouters-47454699 not found, creating it 2025-08-11 13:36:53,011 - INFO - Created Project:ctest-TestRouters-47454699, ID : 3195b0f3-8b9b-420e-a9fb-ae30f90f70f9 2025-08-11 13:36:54,379 - INFO - ================================================================================ 2025-08-11 13:36:54,379 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-11 13:36:54,380 - 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-11 13:36:54,641 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.18': '0'}} with 2025-08-11 13:36:54,641 - INFO - Initial checks done. Running the testcase now 2025-08-11 13:36:54,641 - INFO - 2025-08-11 13:36:55,171 - DEBUG - Response for create_network : {'network': {'id': 'fa44e592-9169-4e85-9c53-4a77754f2fac', 'name': 'ctest-vn1-13982466', 'tenant_id': '3195b0f38b9b420ea9fbae30f90f70f9', 'project_id': '3195b0f38b9b420ea9fbae30f90f70f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-47454699', 'ctest-vn1-13982466'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 13:36:55,361 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ff714a60-8190-472b-9d8c-3137226070e7', 'name': '', 'tenant_id': '3195b0f38b9b420ea9fbae30f90f70f9', 'network_id': 'fa44e592-9169-4e85-9c53-4a77754f2fac', 'ip_version': 4, 'cidr': '32.44.235.128/26', 'allocation_pools': [{'start': '32.44.235.130', 'end': '32.44.235.190'}], 'gateway_ip': '32.44.235.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.44.235.130', 'tags': [], 'project_id': '3195b0f38b9b420ea9fbae30f90f70f9'}} 2025-08-11 13:36:55,378 - INFO - Created VN ctest-vn1-13982466 2025-08-11 13:36:55,431 - DEBUG - VN ctest-vn1-13982466 UUID is fa44e592-9169-4e85-9c53-4a77754f2fac 2025-08-11 13:36:55,775 - DEBUG - Response for create_network : {'network': {'id': '74464aa7-7b0f-4c05-b688-e2600fff74c4', 'name': 'ctest-vn2-51320382', 'tenant_id': '3195b0f38b9b420ea9fbae30f90f70f9', 'project_id': '3195b0f38b9b420ea9fbae30f90f70f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-47454699', 'ctest-vn2-51320382'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 13:36:56,022 - DEBUG - Response for create_subnet : {'subnet': {'id': '4412ca57-6180-4898-ac0a-0566d3de6432', 'name': '', 'tenant_id': '3195b0f38b9b420ea9fbae30f90f70f9', 'network_id': '74464aa7-7b0f-4c05-b688-e2600fff74c4', 'ip_version': 4, 'cidr': '159.23.202.128/26', 'allocation_pools': [{'start': '159.23.202.130', 'end': '159.23.202.190'}], 'gateway_ip': '159.23.202.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '159.23.202.130', 'tags': [], 'project_id': '3195b0f38b9b420ea9fbae30f90f70f9'}} 2025-08-11 13:36:56,038 - INFO - Created VN ctest-vn2-51320382 2025-08-11 13:36:56,099 - DEBUG - VN ctest-vn2-51320382 UUID is 74464aa7-7b0f-4c05-b688-e2600fff74c4 2025-08-11 13:36:56,320 - DEBUG - Services list from nova: [, , ] 2025-08-11 13:36:57,280 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3807-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3807-1) 2025-08-11 13:36:58,451 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3807-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3807-1) 2025-08-11 13:36:58,530 - INFO - Adding interface with subnet_id ff714a60-8190-472b-9d8c-3137226070e7, port_id None to router ce8715da-776d-44d9-bfe1-76027f2586da 2025-08-11 13:36:58,800 - INFO - Waiting for VM ctest-vn1-vm1-76622043 to be up.. 2025-08-11 13:36:58,915 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 13:37:03,982 - DEBUG - VM is in ACTIVE state now 2025-08-11 13:37:03,982 - INFO - VM name : ctest-vn1-vm1-76622043 2025-08-11 13:37:04,045 - DEBUG - VM ctest-vn1-vm1-76622043 ID is 2e48a674-6626-4dce-8a4d-3b8c82696d46 2025-08-11 13:37:04,061 - DEBUG - VM ctest-vn1-vm1-76622043 launched on Node cn-jenkins-deploy-platform-ansible-os-3807-1 2025-08-11 13:37:04,121 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2e48a674-6626-4dce-8a4d-3b8c82696d46 2025-08-11 13:37:04,409 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2e48a674-6626-4dce-8a4d-3b8c82696d46 2025-08-11 13:37:04,440 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/af4dda8f-456b-4b66-92f2-bf34b0f014b0 2025-08-11 13:37:07,702 - 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=11.6 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1020ms\r\nrtt min/avg/max/mdev = 11.610/11.610/11.610/0.000 ms') 2025-08-11 13:37:07,702 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-76622043 passed 2025-08-11 13:37:07,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:37:07,855 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-76622043, IP 32.44.235.131, Port 22 2025-08-11 13:37:08,011 - DEBUG - VM ctest-vn1-vm1-76622043 is ready for SSH connections 2025-08-11 13:37:08,011 - INFO - Waiting for VM ctest-vn2-vm1-80282885 to be up.. 2025-08-11 13:37:08,090 - DEBUG - VM is in ACTIVE state now 2025-08-11 13:37:08,091 - INFO - VM name : ctest-vn2-vm1-80282885 2025-08-11 13:37:08,161 - DEBUG - VM ctest-vn2-vm1-80282885 ID is cc1686f2-8b94-4a81-910c-ca5f7cd7e9de 2025-08-11 13:37:08,162 - DEBUG - VM ctest-vn2-vm1-80282885 launched on Node cn-jenkins-deploy-platform-ansible-os-3807-1 2025-08-11 13:37:08,230 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/cc1686f2-8b94-4a81-910c-ca5f7cd7e9de 2025-08-11 13:37:08,239 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cc614229-4c39-4449-85da-8bf8a14bacaf 2025-08-11 13:37:09,484 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/1.602/2.790/1.188 ms') 2025-08-11 13:37:09,484 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-80282885 passed 2025-08-11 13:37:09,647 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:37:09,647 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-80282885, IP 159.23.202.131, Port 22 2025-08-11 13:37:09,811 - DEBUG - VM ctest-vn2-vm1-80282885 is ready for SSH connections 2025-08-11 13:37:09,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:37:09,811 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.23.202.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 13:37:09,811 - DEBUG - ping -s 56 -c 3 -W 1 159.23.202.131 2025-08-11 13:37:14,421 - DEBUG - PING 159.23.202.131 (159.23.202.131): 56 data bytes --- 159.23.202.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 13:37:14,421 - WARNING - Ping to IP 159.23.202.131 from VM ctest-vn1-vm1-76622043 failed 2025-08-11 13:37:14,422 - INFO - Adding interface with subnet_id 4412ca57-6180-4898-ac0a-0566d3de6432, port_id None to router ce8715da-776d-44d9-bfe1-76027f2586da 2025-08-11 13:37:14,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:37:14,681 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.23.202.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 13:37:14,681 - DEBUG - ping -s 56 -c 3 -W 1 159.23.202.131 2025-08-11 13:37:16,881 - DEBUG - PING 159.23.202.131 (159.23.202.131): 56 data bytes 64 bytes from 159.23.202.131: seq=0 ttl=63 time=2.417 ms 64 bytes from 159.23.202.131: seq=1 ttl=63 time=0.888 ms 64 bytes from 159.23.202.131: seq=2 ttl=63 time=0.922 ms --- 159.23.202.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.888/1.409/2.417 ms 2025-08-11 13:37:16,881 - INFO - Ping to IP 159.23.202.131 from VM ctest-vn1-vm1-76622043 passed 2025-08-11 13:37:16,881 - INFO - Deleting interface with subnet_id ff714a60-8190-472b-9d8c-3137226070e7, port_id None from router ce8715da-776d-44d9-bfe1-76027f2586da 2025-08-11 13:37:17,010 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:37:17,011 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.23.202.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 13:37:17,011 - DEBUG - ping -s 56 -c 3 -W 1 159.23.202.131 2025-08-11 13:37:20,220 - DEBUG - PING 159.23.202.131 (159.23.202.131): 56 data bytes --- 159.23.202.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 13:37:20,221 - WARNING - Ping to IP 159.23.202.131 from VM ctest-vn1-vm1-76622043 failed 2025-08-11 13:37:20,221 - INFO - Adding interface with subnet_id ff714a60-8190-472b-9d8c-3137226070e7, port_id None to router ce8715da-776d-44d9-bfe1-76027f2586da 2025-08-11 13:37:20,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 13:37:20,419 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 159.23.202.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 13:37:20,419 - DEBUG - ping -s 56 -c 3 -W 1 159.23.202.131 2025-08-11 13:37:22,622 - DEBUG - PING 159.23.202.131 (159.23.202.131): 56 data bytes 64 bytes from 159.23.202.131: seq=0 ttl=63 time=1.674 ms 64 bytes from 159.23.202.131: seq=1 ttl=63 time=0.911 ms 64 bytes from 159.23.202.131: seq=2 ttl=63 time=1.039 ms --- 159.23.202.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.911/1.208/1.674 ms 2025-08-11 13:37:22,623 - INFO - Ping to IP 159.23.202.131 from VM ctest-vn1-vm1-76622043 passed 2025-08-11 13:37:22,623 - INFO - Deleting interface with subnet_id 4412ca57-6180-4898-ac0a-0566d3de6432, port_id None from router ce8715da-776d-44d9-bfe1-76027f2586da 2025-08-11 13:37:22,747 - INFO - Deleting interface with subnet_id ff714a60-8190-472b-9d8c-3137226070e7, port_id None from router ce8715da-776d-44d9-bfe1-76027f2586da 2025-08-11 13:37:22,911 - INFO - Deleting VM ctest-vn2-vm1-80282885 2025-08-11 13:37:22,974 - INFO - Deleting VM ctest-vn1-vm1-76622043 2025-08-11 13:37:23,031 - INFO - Deleting VN ctest-vn2-51320382 2025-08-11 13:37:23,069 - DEBUG - VN 74464aa7-7b0f-4c05-b688-e2600fff74c4 still in use: Unable to complete operation on network 74464aa7-7b0f-4c05-b688-e2600fff74c4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3758ce67-4c40-4110-8413-5bfe59b03637'] 2025-08-11 13:37:23,069 - WARNING - Deleting VN ctest-vn2-51320382 failed..Will retry 2025-08-11 13:37:25,180 - DEBUG - Response for deleting network () 2025-08-11 13:37:25,180 - INFO - Deleting VN ctest-vn1-13982466 2025-08-11 13:37:25,273 - DEBUG - Response for deleting network () 2025-08-11 13:37:25,536 - DEBUG - No XMPP flaps were noticed during the test
2025-08-11 13:37:25,536 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:31]
2025-08-11 13:37:25,536 - INFO - -------------------------------------------------------------------------------- 2025-08-11 13:37:26,191 - INFO - Deleted project: ctest-TestRouters-47454699, ID : 3195b0f3-8b9b-420e-a9fb-ae30f90f70f9