2025-08-19 16:02:39,756 - INFO - Domain Default found not creating 2025-08-19 16:02:39,896 - INFO - Project ctest-TestRouters-15447887 not found, creating it 2025-08-19 16:02:40,380 - INFO - Created Project:ctest-TestRouters-15447887, ID : 5522fbdf-11fc-4e74-8fdd-454ba00743e8 2025-08-19 16:02:41,941 - INFO - ================================================================================ 2025-08-19 16:02:41,941 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-19 16:02:41,941 - 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-19 16:02:42,200 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-19 16:02:42,200 - INFO - Initial checks done. Running the testcase now 2025-08-19 16:02:42,200 - INFO - 2025-08-19 16:02:42,770 - DEBUG - Response for create_network : {'network': {'id': '60c6db88-5bd1-4d35-8a74-686ea0664c02', 'name': 'ctest-vn1-41772554', 'tenant_id': '5522fbdf11fc4e748fdd454ba00743e8', 'project_id': '5522fbdf11fc4e748fdd454ba00743e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-15447887', 'ctest-vn1-41772554'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 16:02:42,968 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f6ff95f-1d40-4293-a6d9-e95f96dbfdb4', 'name': '', 'tenant_id': '5522fbdf11fc4e748fdd454ba00743e8', 'network_id': '60c6db88-5bd1-4d35-8a74-686ea0664c02', 'ip_version': 4, 'cidr': '43.12.187.64/26', 'allocation_pools': [{'start': '43.12.187.66', 'end': '43.12.187.126'}], 'gateway_ip': '43.12.187.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '43.12.187.66', 'tags': [], 'project_id': '5522fbdf11fc4e748fdd454ba00743e8'}} 2025-08-19 16:02:42,983 - INFO - Created VN ctest-vn1-41772554 2025-08-19 16:02:43,051 - DEBUG - VN ctest-vn1-41772554 UUID is 60c6db88-5bd1-4d35-8a74-686ea0664c02 2025-08-19 16:02:43,421 - DEBUG - Response for create_network : {'network': {'id': 'a8fcf0ee-6170-450d-871e-1c44df6ce3e4', 'name': 'ctest-vn2-86663233', 'tenant_id': '5522fbdf11fc4e748fdd454ba00743e8', 'project_id': '5522fbdf11fc4e748fdd454ba00743e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-15447887', 'ctest-vn2-86663233'], 'port_security_enabled': True, 'description': ''}} 2025-08-19 16:02:43,674 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dc6df002-14ac-4e4a-964b-19901bd58677', 'name': '', 'tenant_id': '5522fbdf11fc4e748fdd454ba00743e8', 'network_id': 'a8fcf0ee-6170-450d-871e-1c44df6ce3e4', 'ip_version': 4, 'cidr': '128.171.247.192/26', 'allocation_pools': [{'start': '128.171.247.194', 'end': '128.171.247.254'}], 'gateway_ip': '128.171.247.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.171.247.194', 'tags': [], 'project_id': '5522fbdf11fc4e748fdd454ba00743e8'}} 2025-08-19 16:02:43,697 - INFO - Created VN ctest-vn2-86663233 2025-08-19 16:02:43,751 - DEBUG - VN ctest-vn2-86663233 UUID is a8fcf0ee-6170-450d-871e-1c44df6ce3e4 2025-08-19 16:02:43,945 - DEBUG - Services list from nova: [, , ] 2025-08-19 16:02:44,892 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3887-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3887-1) 2025-08-19 16:02:46,132 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3887-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3887-1) 2025-08-19 16:02:46,215 - INFO - Adding interface with subnet_id 0f6ff95f-1d40-4293-a6d9-e95f96dbfdb4, port_id None to router eff57497-d469-4433-bfba-c04854f86f55 2025-08-19 16:02:46,568 - INFO - Waiting for VM ctest-vn1-vm1-09177268 to be up.. 2025-08-19 16:02:46,698 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-19 16:02:51,764 - DEBUG - VM is in ACTIVE state now 2025-08-19 16:02:51,765 - INFO - VM name : ctest-vn1-vm1-09177268 2025-08-19 16:02:51,840 - DEBUG - VM ctest-vn1-vm1-09177268 ID is 2e475a6d-e5ff-4867-b198-4a010b03f387 2025-08-19 16:02:51,856 - DEBUG - VM ctest-vn1-vm1-09177268 launched on Node cn-jenkins-deploy-platform-ansible-os-3887-1 2025-08-19 16:02:51,919 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2e475a6d-e5ff-4867-b198-4a010b03f387 2025-08-19 16:02:52,225 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/2e475a6d-e5ff-4867-b198-4a010b03f387 2025-08-19 16:02:52,268 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b63813c0-e866-4b0d-b369-d81e89403665 2025-08-19 16:02:55,512 - 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=6.52 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 6.516/6.516/6.516/0.000 ms') 2025-08-19 16:02:55,513 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-09177268 passed 2025-08-19 16:02:55,663 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 16:02:55,664 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-09177268, IP 43.12.187.67, Port 22 2025-08-19 16:02:55,829 - DEBUG - VM ctest-vn1-vm1-09177268 is ready for SSH connections 2025-08-19 16:02:55,830 - INFO - Waiting for VM ctest-vn2-vm1-79440813 to be up.. 2025-08-19 16:02:55,899 - DEBUG - VM is in ACTIVE state now 2025-08-19 16:02:55,899 - INFO - VM name : ctest-vn2-vm1-79440813 2025-08-19 16:02:56,008 - DEBUG - VM ctest-vn2-vm1-79440813 ID is aa81d256-7ca2-4306-86b8-844ef7d9d0ec 2025-08-19 16:02:56,009 - DEBUG - VM ctest-vn2-vm1-79440813 launched on Node cn-jenkins-deploy-platform-ansible-os-3887-1 2025-08-19 16:02:56,081 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/aa81d256-7ca2-4306-86b8-844ef7d9d0ec 2025-08-19 16:02:56,094 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1bdf6654-2a42-4a48-8d88-31ad7e2107c6 2025-08-19 16:02:57,332 - 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.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.99 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 = 1.988/2.987/3.986/0.999 ms') 2025-08-19 16:02:57,332 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-79440813 passed 2025-08-19 16:02:57,483 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 16:02:57,484 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-79440813, IP 128.171.247.195, Port 22 2025-08-19 16:02:57,658 - DEBUG - VM ctest-vn2-vm1-79440813 is ready for SSH connections 2025-08-19 16:02:57,658 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 16:02:57,658 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.171.247.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-19 16:02:57,659 - DEBUG - ping -s 56 -c 3 -W 1 128.171.247.195 2025-08-19 16:03:02,299 - DEBUG - PING 128.171.247.195 (128.171.247.195): 56 data bytes --- 128.171.247.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-19 16:03:02,299 - WARNING - Ping to IP 128.171.247.195 from VM ctest-vn1-vm1-09177268 failed 2025-08-19 16:03:02,299 - INFO - Adding interface with subnet_id dc6df002-14ac-4e4a-964b-19901bd58677, port_id None to router eff57497-d469-4433-bfba-c04854f86f55 2025-08-19 16:03:02,584 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 16:03:02,584 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.171.247.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-19 16:03:02,584 - DEBUG - ping -s 56 -c 3 -W 1 128.171.247.195 2025-08-19 16:03:04,781 - DEBUG - PING 128.171.247.195 (128.171.247.195): 56 data bytes 64 bytes from 128.171.247.195: seq=0 ttl=63 time=3.482 ms 64 bytes from 128.171.247.195: seq=1 ttl=63 time=0.792 ms 64 bytes from 128.171.247.195: seq=2 ttl=63 time=0.772 ms --- 128.171.247.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.772/1.682/3.482 ms 2025-08-19 16:03:04,781 - INFO - Ping to IP 128.171.247.195 from VM ctest-vn1-vm1-09177268 passed 2025-08-19 16:03:04,782 - INFO - Deleting interface with subnet_id 0f6ff95f-1d40-4293-a6d9-e95f96dbfdb4, port_id None from router eff57497-d469-4433-bfba-c04854f86f55 2025-08-19 16:03:04,908 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 16:03:04,908 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.171.247.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-19 16:03:04,908 - DEBUG - ping -s 56 -c 3 -W 1 128.171.247.195 2025-08-19 16:03:08,101 - DEBUG - PING 128.171.247.195 (128.171.247.195): 56 data bytes --- 128.171.247.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-19 16:03:08,101 - WARNING - Ping to IP 128.171.247.195 from VM ctest-vn1-vm1-09177268 failed 2025-08-19 16:03:08,101 - INFO - Adding interface with subnet_id 0f6ff95f-1d40-4293-a6d9-e95f96dbfdb4, port_id None to router eff57497-d469-4433-bfba-c04854f86f55 2025-08-19 16:03:08,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-19 16:03:08,342 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 128.171.247.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-19 16:03:08,342 - DEBUG - ping -s 56 -c 3 -W 1 128.171.247.195 2025-08-19 16:03:10,536 - DEBUG - PING 128.171.247.195 (128.171.247.195): 56 data bytes 64 bytes from 128.171.247.195: seq=0 ttl=63 time=1.248 ms 64 bytes from 128.171.247.195: seq=1 ttl=63 time=0.700 ms 64 bytes from 128.171.247.195: seq=2 ttl=63 time=0.734 ms --- 128.171.247.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.700/0.894/1.248 ms 2025-08-19 16:03:10,536 - INFO - Ping to IP 128.171.247.195 from VM ctest-vn1-vm1-09177268 passed 2025-08-19 16:03:10,536 - INFO - Deleting interface with subnet_id dc6df002-14ac-4e4a-964b-19901bd58677, port_id None from router eff57497-d469-4433-bfba-c04854f86f55 2025-08-19 16:03:10,672 - INFO - Deleting interface with subnet_id 0f6ff95f-1d40-4293-a6d9-e95f96dbfdb4, port_id None from router eff57497-d469-4433-bfba-c04854f86f55 2025-08-19 16:03:10,875 - INFO - Deleting VM ctest-vn2-vm1-79440813 2025-08-19 16:03:10,937 - INFO - Deleting VM ctest-vn1-vm1-09177268 2025-08-19 16:03:11,006 - INFO - Deleting VN ctest-vn2-86663233 2025-08-19 16:03:11,054 - DEBUG - VN a8fcf0ee-6170-450d-871e-1c44df6ce3e4 still in use: Unable to complete operation on network a8fcf0ee-6170-450d-871e-1c44df6ce3e4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-463c0e63-3a9a-4cd6-9437-9e99c75903b8'] 2025-08-19 16:03:11,054 - WARNING - Deleting VN ctest-vn2-86663233 failed..Will retry 2025-08-19 16:03:13,150 - DEBUG - Response for deleting network () 2025-08-19 16:03:13,150 - INFO - Deleting VN ctest-vn1-41772554 2025-08-19 16:03:13,246 - DEBUG - Response for deleting network () 2025-08-19 16:03:13,513 - DEBUG - No XMPP flaps were noticed during the test 2025-08-19 16:03:13,513 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:32] 2025-08-19 16:03:13,513 - INFO - -------------------------------------------------------------------------------- 2025-08-19 16:03:14,177 - INFO - Deleted project: ctest-TestRouters-15447887, ID : 5522fbdf-11fc-4e74-8fdd-454ba00743e8