2025-08-12 18:39:23,602 - INFO - Domain Default found not creating 2025-08-12 18:39:23,728 - INFO - Project ctest-TestRouters-64244046 not found, creating it 2025-08-12 18:39:24,187 - INFO - Created Project:ctest-TestRouters-64244046, ID : 1a42a1c4-b923-444e-9bc4-0e1cf41cb0eb 2025-08-12 18:39:25,623 - INFO - ================================================================================ 2025-08-12 18:39:25,623 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-12 18:39:25,623 - 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-12 18:39:25,877 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-08-12 18:39:25,877 - INFO - Initial checks done. Running the testcase now 2025-08-12 18:39:25,877 - INFO - 2025-08-12 18:39:26,463 - DEBUG - Response for create_network : {'network': {'id': '89a0eeeb-cd36-42a4-a616-65d312cb71d8', 'name': 'ctest-vn1-36303743', 'tenant_id': '1a42a1c4b923444e9bc40e1cf41cb0eb', 'project_id': '1a42a1c4b923444e9bc40e1cf41cb0eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-64244046', 'ctest-vn1-36303743'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 18:39:26,720 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a9387fa0-bb15-435b-8bfa-20bc4715cc05', 'name': '', 'tenant_id': '1a42a1c4b923444e9bc40e1cf41cb0eb', 'network_id': '89a0eeeb-cd36-42a4-a616-65d312cb71d8', 'ip_version': 4, 'cidr': '197.89.107.128/26', 'allocation_pools': [{'start': '197.89.107.130', 'end': '197.89.107.190'}], 'gateway_ip': '197.89.107.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.89.107.130', 'tags': [], 'project_id': '1a42a1c4b923444e9bc40e1cf41cb0eb'}} 2025-08-12 18:39:26,737 - INFO - Created VN ctest-vn1-36303743 2025-08-12 18:39:26,796 - DEBUG - VN ctest-vn1-36303743 UUID is 89a0eeeb-cd36-42a4-a616-65d312cb71d8 2025-08-12 18:39:27,141 - DEBUG - Response for create_network : {'network': {'id': '741317bb-0f9d-4eab-a77e-6cc3f82a7ec5', 'name': 'ctest-vn2-97012415', 'tenant_id': '1a42a1c4b923444e9bc40e1cf41cb0eb', 'project_id': '1a42a1c4b923444e9bc40e1cf41cb0eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-64244046', 'ctest-vn2-97012415'], 'port_security_enabled': True, 'description': ''}} 2025-08-12 18:39:27,390 - DEBUG - Response for create_subnet : {'subnet': {'id': '8c7790dc-9e43-4938-92ad-0e9d280c26b2', 'name': '', 'tenant_id': '1a42a1c4b923444e9bc40e1cf41cb0eb', 'network_id': '741317bb-0f9d-4eab-a77e-6cc3f82a7ec5', 'ip_version': 4, 'cidr': '223.29.25.0/26', 'allocation_pools': [{'start': '223.29.25.2', 'end': '223.29.25.62'}], 'gateway_ip': '223.29.25.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '223.29.25.2', 'tags': [], 'project_id': '1a42a1c4b923444e9bc40e1cf41cb0eb'}} 2025-08-12 18:39:27,410 - INFO - Created VN ctest-vn2-97012415 2025-08-12 18:39:27,468 - DEBUG - VN ctest-vn2-97012415 UUID is 741317bb-0f9d-4eab-a77e-6cc3f82a7ec5 2025-08-12 18:39:27,714 - DEBUG - Services list from nova: [, , ] 2025-08-12 18:39:28,726 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3837-1) 2025-08-12 18:39:29,966 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3837-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3837-1) 2025-08-12 18:39:30,050 - INFO - Adding interface with subnet_id a9387fa0-bb15-435b-8bfa-20bc4715cc05, port_id None to router 5982e868-2924-40f5-b065-13175143fb29 2025-08-12 18:39:30,391 - INFO - Waiting for VM ctest-vn1-vm1-91504161 to be up.. 2025-08-12 18:39:30,547 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-12 18:39:35,619 - DEBUG - VM is in ACTIVE state now 2025-08-12 18:39:35,619 - INFO - VM name : ctest-vn1-vm1-91504161 2025-08-12 18:39:35,686 - DEBUG - VM ctest-vn1-vm1-91504161 ID is 299e7dd2-d911-4f81-b523-7ae672a5ca88 2025-08-12 18:39:35,703 - DEBUG - VM ctest-vn1-vm1-91504161 launched on Node cn-jenkins-deploy-platform-ansible-os-3837-1 2025-08-12 18:39:35,770 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/299e7dd2-d911-4f81-b523-7ae672a5ca88 2025-08-12 18:39:36,058 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/299e7dd2-d911-4f81-b523-7ae672a5ca88 2025-08-12 18:39:36,088 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7e00e742-6863-4a8f-9fa1-eb9b80279186 2025-08-12 18:39:39,362 - 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.0 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1024ms\r\nrtt min/avg/max/mdev = 11.028/11.028/11.028/0.000 ms') 2025-08-12 18:39:39,362 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-91504161 passed 2025-08-12 18:39:39,516 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 18:39:39,516 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-91504161, IP 197.89.107.131, Port 22 2025-08-12 18:39:39,671 - DEBUG - VM ctest-vn1-vm1-91504161 is ready for SSH connections 2025-08-12 18:39:39,671 - INFO - Waiting for VM ctest-vn2-vm1-34324673 to be up.. 2025-08-12 18:39:39,748 - DEBUG - VM is in ACTIVE state now 2025-08-12 18:39:39,748 - INFO - VM name : ctest-vn2-vm1-34324673 2025-08-12 18:39:39,824 - DEBUG - VM ctest-vn2-vm1-34324673 ID is 8d96bb2a-8593-4955-a23e-ee29b8863094 2025-08-12 18:39:39,824 - DEBUG - VM ctest-vn2-vm1-34324673 launched on Node cn-jenkins-deploy-platform-ansible-os-3837-1 2025-08-12 18:39:39,884 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/8d96bb2a-8593-4955-a23e-ee29b8863094 2025-08-12 18:39:39,891 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/7549d7f0-fdbb-42e3-a5f4-b948b7291661 2025-08-12 18:39:41,138 - 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=4.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.642 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.642/2.670/4.699/2.028 ms') 2025-08-12 18:39:41,138 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-34324673 passed 2025-08-12 18:39:41,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 18:39:41,288 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-34324673, IP 223.29.25.3, Port 22 2025-08-12 18:39:41,455 - DEBUG - VM ctest-vn2-vm1-34324673 is ready for SSH connections 2025-08-12 18:39:41,455 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 18:39:41,455 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.29.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-12 18:39:41,455 - DEBUG - ping -s 56 -c 3 -W 1 223.29.25.3 2025-08-12 18:39:46,428 - DEBUG - PING 223.29.25.3 (223.29.25.3): 56 data bytes --- 223.29.25.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-12 18:39:46,428 - WARNING - Ping to IP 223.29.25.3 from VM ctest-vn1-vm1-91504161 failed 2025-08-12 18:39:46,428 - INFO - Adding interface with subnet_id 8c7790dc-9e43-4938-92ad-0e9d280c26b2, port_id None to router 5982e868-2924-40f5-b065-13175143fb29 2025-08-12 18:39:46,680 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 18:39:46,680 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.29.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-12 18:39:46,680 - DEBUG - ping -s 56 -c 3 -W 1 223.29.25.3 2025-08-12 18:39:48,873 - DEBUG - PING 223.29.25.3 (223.29.25.3): 56 data bytes 64 bytes from 223.29.25.3: seq=0 ttl=63 time=2.493 ms 64 bytes from 223.29.25.3: seq=1 ttl=63 time=0.823 ms 64 bytes from 223.29.25.3: seq=2 ttl=63 time=0.861 ms --- 223.29.25.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.823/1.392/2.493 ms 2025-08-12 18:39:48,873 - INFO - Ping to IP 223.29.25.3 from VM ctest-vn1-vm1-91504161 passed 2025-08-12 18:39:48,873 - INFO - Deleting interface with subnet_id a9387fa0-bb15-435b-8bfa-20bc4715cc05, port_id None from router 5982e868-2924-40f5-b065-13175143fb29 2025-08-12 18:39:48,978 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 18:39:48,978 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.29.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-12 18:39:48,978 - DEBUG - ping -s 56 -c 3 -W 1 223.29.25.3 2025-08-12 18:39:52,169 - DEBUG - PING 223.29.25.3 (223.29.25.3): 56 data bytes --- 223.29.25.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-12 18:39:52,169 - WARNING - Ping to IP 223.29.25.3 from VM ctest-vn1-vm1-91504161 failed 2025-08-12 18:39:52,169 - INFO - Adding interface with subnet_id a9387fa0-bb15-435b-8bfa-20bc4715cc05, port_id None to router 5982e868-2924-40f5-b065-13175143fb29 2025-08-12 18:39:52,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-12 18:39:52,367 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.29.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-12 18:39:52,367 - DEBUG - ping -s 56 -c 3 -W 1 223.29.25.3 2025-08-12 18:39:55,563 - DEBUG - PING 223.29.25.3 (223.29.25.3): 56 data bytes 64 bytes from 223.29.25.3: seq=1 ttl=63 time=1.896 ms 64 bytes from 223.29.25.3: seq=2 ttl=63 time=0.783 ms --- 223.29.25.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.783/1.339/1.896 ms 2025-08-12 18:39:55,563 - WARNING - Ping to IP 223.29.25.3 from VM ctest-vn1-vm1-91504161 failed 2025-08-12 18:39:56,563 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 223.29.25.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-08-12 18:39:56,564 - DEBUG - ping -s 56 -c 3 -W 1 223.29.25.3 2025-08-12 18:39:58,760 - DEBUG - PING 223.29.25.3 (223.29.25.3): 56 data bytes 64 bytes from 223.29.25.3: seq=0 ttl=63 time=1.610 ms 64 bytes from 223.29.25.3: seq=1 ttl=63 time=0.816 ms 64 bytes from 223.29.25.3: seq=2 ttl=63 time=0.763 ms --- 223.29.25.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.763/1.063/1.610 ms 2025-08-12 18:39:58,760 - INFO - Ping to IP 223.29.25.3 from VM ctest-vn1-vm1-91504161 passed 2025-08-12 18:39:58,760 - INFO - Deleting interface with subnet_id 8c7790dc-9e43-4938-92ad-0e9d280c26b2, port_id None from router 5982e868-2924-40f5-b065-13175143fb29 2025-08-12 18:39:58,910 - INFO - Deleting interface with subnet_id a9387fa0-bb15-435b-8bfa-20bc4715cc05, port_id None from router 5982e868-2924-40f5-b065-13175143fb29 2025-08-12 18:39:59,099 - INFO - Deleting VM ctest-vn2-vm1-34324673 2025-08-12 18:39:59,169 - INFO - Deleting VM ctest-vn1-vm1-91504161 2025-08-12 18:39:59,232 - INFO - Deleting VN ctest-vn2-97012415 2025-08-12 18:39:59,273 - DEBUG - VN 741317bb-0f9d-4eab-a77e-6cc3f82a7ec5 still in use: Unable to complete operation on network 741317bb-0f9d-4eab-a77e-6cc3f82a7ec5. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8e7ffbbd-cb22-476f-a779-efad5220443b'] 2025-08-12 18:39:59,273 - WARNING - Deleting VN ctest-vn2-97012415 failed..Will retry 2025-08-12 18:40:01,374 - DEBUG - Response for deleting network () 2025-08-12 18:40:01,374 - INFO - Deleting VN ctest-vn1-36303743 2025-08-12 18:40:01,482 - DEBUG - Response for deleting network () 2025-08-12 18:40:01,737 - DEBUG - No XMPP flaps were noticed during the test
2025-08-12 18:40:01,737 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:36]
2025-08-12 18:40:01,737 - INFO - -------------------------------------------------------------------------------- 2025-08-12 18:40:02,404 - INFO - Deleted project: ctest-TestRouters-64244046, ID : 1a42a1c4-b923-444e-9bc4-0e1cf41cb0eb