2025-08-11 06:09:18,215 - INFO - Domain Default found not creating 2025-08-11 06:09:18,377 - INFO - Project ctest-TestRouters-95497612 not found, creating it 2025-08-11 06:09:18,856 - INFO - Created Project:ctest-TestRouters-95497612, ID : 71e4ab0f-0978-4e16-bd84-70f2ae3d7eb6 2025-08-11 06:09:20,299 - INFO - ================================================================================ 2025-08-11 06:09:20,299 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-11 06:09:20,299 - 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 06:09:20,555 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.14': '0'}} with 2025-08-11 06:09:20,555 - INFO - Initial checks done. Running the testcase now 2025-08-11 06:09:20,556 - INFO - 2025-08-11 06:09:21,111 - DEBUG - Response for create_network : {'network': {'id': '277462c2-1373-4c28-bebf-393a16fbb93f', 'name': 'ctest-vn1-02045539', 'tenant_id': '71e4ab0f09784e16bd8470f2ae3d7eb6', 'project_id': '71e4ab0f09784e16bd8470f2ae3d7eb6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-95497612', 'ctest-vn1-02045539'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 06:09:21,277 - DEBUG - Response for create_subnet : {'subnet': {'id': '46875779-c21f-4470-b6b4-bc79c228d4b6', 'name': '', 'tenant_id': '71e4ab0f09784e16bd8470f2ae3d7eb6', 'network_id': '277462c2-1373-4c28-bebf-393a16fbb93f', 'ip_version': 4, 'cidr': '142.214.155.192/26', 'allocation_pools': [{'start': '142.214.155.194', 'end': '142.214.155.254'}], 'gateway_ip': '142.214.155.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.214.155.194', 'tags': [], 'project_id': '71e4ab0f09784e16bd8470f2ae3d7eb6'}} 2025-08-11 06:09:21,294 - INFO - Created VN ctest-vn1-02045539 2025-08-11 06:09:21,345 - DEBUG - VN ctest-vn1-02045539 UUID is 277462c2-1373-4c28-bebf-393a16fbb93f 2025-08-11 06:09:21,700 - DEBUG - Response for create_network : {'network': {'id': 'e3c08a3d-0842-446a-a473-5c6c953b7096', 'name': 'ctest-vn2-66952102', 'tenant_id': '71e4ab0f09784e16bd8470f2ae3d7eb6', 'project_id': '71e4ab0f09784e16bd8470f2ae3d7eb6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-95497612', 'ctest-vn2-66952102'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 06:09:21,934 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e0f4890e-eb2b-4518-a79f-b3aa467c4716', 'name': '', 'tenant_id': '71e4ab0f09784e16bd8470f2ae3d7eb6', 'network_id': 'e3c08a3d-0842-446a-a473-5c6c953b7096', 'ip_version': 4, 'cidr': '5.213.107.192/26', 'allocation_pools': [{'start': '5.213.107.194', 'end': '5.213.107.254'}], 'gateway_ip': '5.213.107.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.213.107.194', 'tags': [], 'project_id': '71e4ab0f09784e16bd8470f2ae3d7eb6'}} 2025-08-11 06:09:21,953 - INFO - Created VN ctest-vn2-66952102 2025-08-11 06:09:22,009 - DEBUG - VN ctest-vn2-66952102 UUID is e3c08a3d-0842-446a-a473-5c6c953b7096 2025-08-11 06:09:22,248 - DEBUG - Services list from nova: [, , ] 2025-08-11 06:09:23,248 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3799-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3799-1) 2025-08-11 06:09:24,482 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3799-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3799-1) 2025-08-11 06:09:24,568 - INFO - Adding interface with subnet_id 46875779-c21f-4470-b6b4-bc79c228d4b6, port_id None to router f05126f1-95c5-4c02-9e27-3b063e66fb10 2025-08-11 06:09:24,824 - INFO - Waiting for VM ctest-vn1-vm1-46729538 to be up.. 2025-08-11 06:09:24,960 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 06:09:30,031 - DEBUG - VM is in ACTIVE state now 2025-08-11 06:09:30,031 - INFO - VM name : ctest-vn1-vm1-46729538 2025-08-11 06:09:30,109 - DEBUG - VM ctest-vn1-vm1-46729538 ID is 0d196817-2361-4f54-b7a5-2e62b1803afa 2025-08-11 06:09:30,145 - DEBUG - VM ctest-vn1-vm1-46729538 launched on Node cn-jenkins-deploy-platform-ansible-os-3799-1 2025-08-11 06:09:30,231 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/0d196817-2361-4f54-b7a5-2e62b1803afa 2025-08-11 06:09:30,530 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/0d196817-2361-4f54-b7a5-2e62b1803afa 2025-08-11 06:09:30,572 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/c9db5cdd-eabe-4270-952a-387215d0649b 2025-08-11 06:09:33,923 - 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 1012ms') 2025-08-11 06:09:33,923 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46729538 failed! 2025-08-11 06:09:33,993 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-95497612:ctest-vn1-02045539 is 142.214.155.193 and allocation pool is NOT set 2025-08-11 06:09:36,058 - 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=4.23 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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 = 1.196/2.713/4.230/1.517 ms') 2025-08-11 06:09:36,058 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-46729538 passed 2025-08-11 06:09:36,214 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:09:36,214 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-46729538, IP 142.214.155.195, Port 22 2025-08-11 06:09:36,372 - DEBUG - VM ctest-vn1-vm1-46729538 is ready for SSH connections 2025-08-11 06:09:36,373 - INFO - Waiting for VM ctest-vn2-vm1-98562309 to be up.. 2025-08-11 06:09:36,460 - DEBUG - VM is in ACTIVE state now 2025-08-11 06:09:36,460 - INFO - VM name : ctest-vn2-vm1-98562309 2025-08-11 06:09:36,540 - DEBUG - VM ctest-vn2-vm1-98562309 ID is 48245be7-8582-4f8a-b30f-f89dfa73840b 2025-08-11 06:09:36,541 - DEBUG - VM ctest-vn2-vm1-98562309 launched on Node cn-jenkins-deploy-platform-ansible-os-3799-1 2025-08-11 06:09:36,611 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/48245be7-8582-4f8a-b30f-f89dfa73840b 2025-08-11 06:09:36,620 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/10a1e638-5587-493e-a02b-899519449c3a 2025-08-11 06:09:37,860 - 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.35 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.412 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.412/1.882/3.353/1.470 ms') 2025-08-11 06:09:37,860 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-98562309 passed 2025-08-11 06:09:38,009 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:09:38,009 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-98562309, IP 5.213.107.195, Port 22 2025-08-11 06:09:38,161 - DEBUG - VM ctest-vn2-vm1-98562309 is ready for SSH connections 2025-08-11 06:09:38,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:09:38,162 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.213.107.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-11 06:09:38,162 - DEBUG - ping -s 56 -c 3 -W 1 5.213.107.195 2025-08-11 06:09:43,094 - DEBUG - PING 5.213.107.195 (5.213.107.195): 56 data bytes --- 5.213.107.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 06:09:43,094 - WARNING - Ping to IP 5.213.107.195 from VM ctest-vn1-vm1-46729538 failed 2025-08-11 06:09:43,094 - INFO - Adding interface with subnet_id e0f4890e-eb2b-4518-a79f-b3aa467c4716, port_id None to router f05126f1-95c5-4c02-9e27-3b063e66fb10 2025-08-11 06:09:43,344 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:09:43,344 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.213.107.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-11 06:09:43,344 - DEBUG - ping -s 56 -c 3 -W 1 5.213.107.195 2025-08-11 06:09:46,549 - DEBUG - PING 5.213.107.195 (5.213.107.195): 56 data bytes 64 bytes from 5.213.107.195: seq=1 ttl=63 time=2.671 ms 64 bytes from 5.213.107.195: seq=2 ttl=63 time=1.028 ms --- 5.213.107.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.028/1.849/2.671 ms 2025-08-11 06:09:46,549 - WARNING - Ping to IP 5.213.107.195 from VM ctest-vn1-vm1-46729538 failed 2025-08-11 06:09:47,550 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.213.107.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-11 06:09:47,550 - DEBUG - ping -s 56 -c 3 -W 1 5.213.107.195 2025-08-11 06:09:49,749 - DEBUG - PING 5.213.107.195 (5.213.107.195): 56 data bytes 64 bytes from 5.213.107.195: seq=0 ttl=63 time=1.589 ms 64 bytes from 5.213.107.195: seq=1 ttl=63 time=0.807 ms 64 bytes from 5.213.107.195: seq=2 ttl=63 time=0.752 ms --- 5.213.107.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.752/1.049/1.589 ms 2025-08-11 06:09:49,749 - INFO - Ping to IP 5.213.107.195 from VM ctest-vn1-vm1-46729538 passed 2025-08-11 06:09:49,749 - INFO - Deleting interface with subnet_id 46875779-c21f-4470-b6b4-bc79c228d4b6, port_id None from router f05126f1-95c5-4c02-9e27-3b063e66fb10 2025-08-11 06:09:49,871 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:09:49,872 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.213.107.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-11 06:09:49,872 - DEBUG - ping -s 56 -c 3 -W 1 5.213.107.195 2025-08-11 06:09:53,066 - DEBUG - PING 5.213.107.195 (5.213.107.195): 56 data bytes --- 5.213.107.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 06:09:53,067 - WARNING - Ping to IP 5.213.107.195 from VM ctest-vn1-vm1-46729538 failed 2025-08-11 06:09:53,067 - INFO - Adding interface with subnet_id 46875779-c21f-4470-b6b4-bc79c228d4b6, port_id None to router f05126f1-95c5-4c02-9e27-3b063e66fb10 2025-08-11 06:09:53,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 06:09:53,313 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.213.107.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.48, gateway password: c0ntrail123 2025-08-11 06:09:53,313 - DEBUG - ping -s 56 -c 3 -W 1 5.213.107.195 2025-08-11 06:09:55,517 - DEBUG - PING 5.213.107.195 (5.213.107.195): 56 data bytes 64 bytes from 5.213.107.195: seq=0 ttl=63 time=1.301 ms 64 bytes from 5.213.107.195: seq=1 ttl=63 time=1.184 ms 64 bytes from 5.213.107.195: seq=2 ttl=63 time=0.918 ms --- 5.213.107.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.918/1.134/1.301 ms 2025-08-11 06:09:55,517 - INFO - Ping to IP 5.213.107.195 from VM ctest-vn1-vm1-46729538 passed 2025-08-11 06:09:55,517 - INFO - Deleting interface with subnet_id e0f4890e-eb2b-4518-a79f-b3aa467c4716, port_id None from router f05126f1-95c5-4c02-9e27-3b063e66fb10 2025-08-11 06:09:55,655 - INFO - Deleting interface with subnet_id 46875779-c21f-4470-b6b4-bc79c228d4b6, port_id None from router f05126f1-95c5-4c02-9e27-3b063e66fb10 2025-08-11 06:09:55,853 - INFO - Deleting VM ctest-vn2-vm1-98562309 2025-08-11 06:09:55,943 - INFO - Deleting VM ctest-vn1-vm1-46729538 2025-08-11 06:09:56,011 - INFO - Deleting VN ctest-vn2-66952102 2025-08-11 06:09:56,050 - DEBUG - VN e3c08a3d-0842-446a-a473-5c6c953b7096 still in use: Unable to complete operation on network e3c08a3d-0842-446a-a473-5c6c953b7096. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4bd33ec7-bd7e-4c4d-baa0-dc478fefa107'] 2025-08-11 06:09:56,050 - WARNING - Deleting VN ctest-vn2-66952102 failed..Will retry 2025-08-11 06:09:58,152 - DEBUG - Response for deleting network () 2025-08-11 06:09:58,152 - INFO - Deleting VN ctest-vn1-02045539 2025-08-11 06:09:58,250 - DEBUG - Response for deleting network () 2025-08-11 06:09:58,502 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 06:09:58,502 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-08-11 06:09:58,502 - INFO - -------------------------------------------------------------------------------- 2025-08-11 06:09:59,160 - INFO - Deleted project: ctest-TestRouters-95497612, ID : 71e4ab0f-0978-4e16-bd84-70f2ae3d7eb6