2025-08-14 02:03:48,964 - INFO - Domain Default found not creating 2025-08-14 02:03:49,181 - INFO - Project ctest-TestRouters-26928790 not found, creating it 2025-08-14 02:03:49,653 - INFO - Created Project:ctest-TestRouters-26928790, ID : ee28e328-37a3-4d22-b601-da57a8cbb408 2025-08-14 02:03:51,090 - INFO - ================================================================================ 2025-08-14 02:03:51,090 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-14 02:03:51,090 - 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-14 02:03:51,346 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.14': '0'}} with 2025-08-14 02:03:51,346 - INFO - Initial checks done. Running the testcase now 2025-08-14 02:03:51,346 - INFO - 2025-08-14 02:03:51,890 - DEBUG - Response for create_network : {'network': {'id': '8495c64b-7fc9-48dc-a893-72d344b59665', 'name': 'ctest-vn1-47485957', 'tenant_id': 'ee28e32837a34d22b601da57a8cbb408', 'project_id': 'ee28e32837a34d22b601da57a8cbb408', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-26928790', 'ctest-vn1-47485957'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:03:52,078 - DEBUG - Response for create_subnet : {'subnet': {'id': '37fe305a-1f2f-43d8-8f01-87ead3a7cea9', 'name': '', 'tenant_id': 'ee28e32837a34d22b601da57a8cbb408', 'network_id': '8495c64b-7fc9-48dc-a893-72d344b59665', 'ip_version': 4, 'cidr': '169.172.127.64/26', 'allocation_pools': [{'start': '169.172.127.66', 'end': '169.172.127.126'}], 'gateway_ip': '169.172.127.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '169.172.127.66', 'tags': [], 'project_id': 'ee28e32837a34d22b601da57a8cbb408'}} 2025-08-14 02:03:52,095 - INFO - Created VN ctest-vn1-47485957 2025-08-14 02:03:52,148 - DEBUG - VN ctest-vn1-47485957 UUID is 8495c64b-7fc9-48dc-a893-72d344b59665 2025-08-14 02:03:52,553 - DEBUG - Response for create_network : {'network': {'id': 'ed42d71c-0a82-4904-8b9e-7438d01679df', 'name': 'ctest-vn2-77898685', 'tenant_id': 'ee28e32837a34d22b601da57a8cbb408', 'project_id': 'ee28e32837a34d22b601da57a8cbb408', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-26928790', 'ctest-vn2-77898685'], 'port_security_enabled': True, 'description': ''}} 2025-08-14 02:03:52,758 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e24d67d6-ba5c-4305-b31d-b2ca0f64a2a0', 'name': '', 'tenant_id': 'ee28e32837a34d22b601da57a8cbb408', 'network_id': 'ed42d71c-0a82-4904-8b9e-7438d01679df', 'ip_version': 4, 'cidr': '150.235.67.128/26', 'allocation_pools': [{'start': '150.235.67.130', 'end': '150.235.67.190'}], 'gateway_ip': '150.235.67.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.235.67.130', 'tags': [], 'project_id': 'ee28e32837a34d22b601da57a8cbb408'}} 2025-08-14 02:03:52,777 - INFO - Created VN ctest-vn2-77898685 2025-08-14 02:03:52,832 - DEBUG - VN ctest-vn2-77898685 UUID is ed42d71c-0a82-4904-8b9e-7438d01679df 2025-08-14 02:03:53,032 - DEBUG - Services list from nova: [, , ] 2025-08-14 02:03:54,067 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3850-1) 2025-08-14 02:03:55,313 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3850-1) 2025-08-14 02:03:55,386 - INFO - Adding interface with subnet_id 37fe305a-1f2f-43d8-8f01-87ead3a7cea9, port_id None to router c341134c-cb16-4fec-88c0-62dd814b5235 2025-08-14 02:03:55,659 - INFO - Waiting for VM ctest-vn1-vm1-90980345 to be up.. 2025-08-14 02:03:55,781 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-14 02:04:00,851 - DEBUG - VM is in ACTIVE state now 2025-08-14 02:04:00,851 - INFO - VM name : ctest-vn1-vm1-90980345 2025-08-14 02:04:00,920 - DEBUG - VM ctest-vn1-vm1-90980345 ID is 00bca011-9299-4335-acfe-f9e1d29a60b0 2025-08-14 02:04:00,938 - DEBUG - VM ctest-vn1-vm1-90980345 launched on Node cn-jenkins-deploy-platform-ansible-os-3850-1 2025-08-14 02:04:01,007 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/00bca011-9299-4335-acfe-f9e1d29a60b0 2025-08-14 02:04:01,296 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/00bca011-9299-4335-acfe-f9e1d29a60b0 2025-08-14 02:04:01,325 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/269f55f5-ef03-4120-a104-3ff2993526db 2025-08-14 02:04:04,573 - 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 1016ms') 2025-08-14 02:04:04,573 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90980345 failed! 2025-08-14 02:04:04,628 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-26928790:ctest-vn1-47485957 is 169.172.127.65 and allocation pool is NOT set 2025-08-14 02:04:06,690 - 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=2.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.472 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.472/1.608/2.744/1.136 ms') 2025-08-14 02:04:06,690 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-90980345 passed 2025-08-14 02:04:06,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:04:06,844 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-90980345, IP 169.172.127.67, Port 22 2025-08-14 02:04:06,995 - DEBUG - VM ctest-vn1-vm1-90980345 is ready for SSH connections 2025-08-14 02:04:06,995 - INFO - Waiting for VM ctest-vn2-vm1-17785374 to be up.. 2025-08-14 02:04:07,069 - DEBUG - VM is in ACTIVE state now 2025-08-14 02:04:07,069 - INFO - VM name : ctest-vn2-vm1-17785374 2025-08-14 02:04:07,147 - DEBUG - VM ctest-vn2-vm1-17785374 ID is 297a01c0-306d-45f8-a906-6b45a7b0f4a6 2025-08-14 02:04:07,147 - DEBUG - VM ctest-vn2-vm1-17785374 launched on Node cn-jenkins-deploy-platform-ansible-os-3850-1 2025-08-14 02:04:07,226 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/297a01c0-306d-45f8-a906-6b45a7b0f4a6 2025-08-14 02:04:07,238 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fab35a32-2960-4254-8bfd-217f74f4f3e1 2025-08-14 02:04:08,472 - 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.54 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.326 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.326/1.433/2.540/1.107 ms') 2025-08-14 02:04:08,473 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-17785374 passed 2025-08-14 02:04:08,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:04:08,624 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-17785374, IP 150.235.67.131, Port 22 2025-08-14 02:04:08,779 - DEBUG - VM ctest-vn2-vm1-17785374 is ready for SSH connections 2025-08-14 02:04:08,779 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:04:08,779 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.235.67.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-14 02:04:08,779 - DEBUG - ping -s 56 -c 3 -W 1 150.235.67.131 2025-08-14 02:04:13,730 - DEBUG - PING 150.235.67.131 (150.235.67.131): 56 data bytes --- 150.235.67.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 02:04:13,731 - WARNING - Ping to IP 150.235.67.131 from VM ctest-vn1-vm1-90980345 failed 2025-08-14 02:04:13,731 - INFO - Adding interface with subnet_id e24d67d6-ba5c-4305-b31d-b2ca0f64a2a0, port_id None to router c341134c-cb16-4fec-88c0-62dd814b5235 2025-08-14 02:04:14,046 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:04:14,047 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.235.67.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-14 02:04:14,047 - DEBUG - ping -s 56 -c 3 -W 1 150.235.67.131 2025-08-14 02:04:16,254 - DEBUG - PING 150.235.67.131 (150.235.67.131): 56 data bytes 64 bytes from 150.235.67.131: seq=0 ttl=63 time=2.380 ms 64 bytes from 150.235.67.131: seq=1 ttl=63 time=0.760 ms 64 bytes from 150.235.67.131: seq=2 ttl=63 time=0.858 ms --- 150.235.67.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.760/1.332/2.380 ms 2025-08-14 02:04:16,254 - INFO - Ping to IP 150.235.67.131 from VM ctest-vn1-vm1-90980345 passed 2025-08-14 02:04:16,255 - INFO - Deleting interface with subnet_id 37fe305a-1f2f-43d8-8f01-87ead3a7cea9, port_id None from router c341134c-cb16-4fec-88c0-62dd814b5235 2025-08-14 02:04:16,383 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:04:16,383 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.235.67.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-14 02:04:16,383 - DEBUG - ping -s 56 -c 3 -W 1 150.235.67.131 2025-08-14 02:04:19,606 - DEBUG - PING 150.235.67.131 (150.235.67.131): 56 data bytes --- 150.235.67.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-14 02:04:19,606 - WARNING - Ping to IP 150.235.67.131 from VM ctest-vn1-vm1-90980345 failed 2025-08-14 02:04:19,606 - INFO - Adding interface with subnet_id 37fe305a-1f2f-43d8-8f01-87ead3a7cea9, port_id None to router c341134c-cb16-4fec-88c0-62dd814b5235 2025-08-14 02:04:19,824 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-14 02:04:19,824 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.235.67.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-14 02:04:19,824 - DEBUG - ping -s 56 -c 3 -W 1 150.235.67.131 2025-08-14 02:04:23,025 - DEBUG - PING 150.235.67.131 (150.235.67.131): 56 data bytes 64 bytes from 150.235.67.131: seq=1 ttl=63 time=1.444 ms 64 bytes from 150.235.67.131: seq=2 ttl=63 time=0.887 ms --- 150.235.67.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.887/1.165/1.444 ms 2025-08-14 02:04:23,025 - WARNING - Ping to IP 150.235.67.131 from VM ctest-vn1-vm1-90980345 failed 2025-08-14 02:04:24,026 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 150.235.67.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-14 02:04:24,027 - DEBUG - ping -s 56 -c 3 -W 1 150.235.67.131 2025-08-14 02:04:26,222 - DEBUG - PING 150.235.67.131 (150.235.67.131): 56 data bytes 64 bytes from 150.235.67.131: seq=0 ttl=63 time=1.369 ms 64 bytes from 150.235.67.131: seq=1 ttl=63 time=0.885 ms 64 bytes from 150.235.67.131: seq=2 ttl=63 time=0.851 ms --- 150.235.67.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.851/1.035/1.369 ms 2025-08-14 02:04:26,223 - INFO - Ping to IP 150.235.67.131 from VM ctest-vn1-vm1-90980345 passed 2025-08-14 02:04:26,223 - INFO - Deleting interface with subnet_id e24d67d6-ba5c-4305-b31d-b2ca0f64a2a0, port_id None from router c341134c-cb16-4fec-88c0-62dd814b5235 2025-08-14 02:04:26,363 - INFO - Deleting interface with subnet_id 37fe305a-1f2f-43d8-8f01-87ead3a7cea9, port_id None from router c341134c-cb16-4fec-88c0-62dd814b5235 2025-08-14 02:04:26,585 - INFO - Deleting VM ctest-vn2-vm1-17785374 2025-08-14 02:04:26,659 - INFO - Deleting VM ctest-vn1-vm1-90980345 2025-08-14 02:04:26,725 - INFO - Deleting VN ctest-vn2-77898685 2025-08-14 02:04:26,761 - DEBUG - VN ed42d71c-0a82-4904-8b9e-7438d01679df still in use: Unable to complete operation on network ed42d71c-0a82-4904-8b9e-7438d01679df. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9c6decec-3ba9-4700-bfe2-4c40d6e5fdc8'] 2025-08-14 02:04:26,761 - WARNING - Deleting VN ctest-vn2-77898685 failed..Will retry 2025-08-14 02:04:28,862 - DEBUG - Response for deleting network () 2025-08-14 02:04:28,862 - INFO - Deleting VN ctest-vn1-47485957 2025-08-14 02:04:28,959 - DEBUG - Response for deleting network () 2025-08-14 02:04:29,218 - DEBUG - No XMPP flaps were noticed during the test 2025-08-14 02:04:29,218 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-08-14 02:04:29,218 - INFO - -------------------------------------------------------------------------------- 2025-08-14 02:04:29,872 - INFO - Deleted project: ctest-TestRouters-26928790, ID : ee28e328-37a3-4d22-b601-da57a8cbb408