2025-09-18 12:41:57,364 - INFO - Domain Default found not creating 2025-09-18 12:41:57,595 - INFO - Project ctest-TestRouters-19462332 not found, creating it 2025-09-18 12:41:58,039 - INFO - Created Project:ctest-TestRouters-19462332, ID : 24e025ed-a366-41e0-8532-daf822ebae4c 2025-09-18 12:41:59,449 - INFO - ================================================================================ 2025-09-18 12:41:59,449 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-18 12:41:59,449 - 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-09-18 12:41:59,703 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-18 12:41:59,703 - INFO - Initial checks done. Running the testcase now 2025-09-18 12:41:59,703 - INFO - 2025-09-18 12:42:00,230 - DEBUG - Response for create_network : {'network': {'id': 'a6c5afa3-e3d9-4683-8d00-e6cfe4225a33', 'name': 'ctest-vn1-58293982', 'tenant_id': '24e025eda36641e08532daf822ebae4c', 'project_id': '24e025eda36641e08532daf822ebae4c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19462332', 'ctest-vn1-58293982'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 12:42:00,409 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ccae46e-9dd8-41bd-a536-0e93a0351c22', 'name': '', 'tenant_id': '24e025eda36641e08532daf822ebae4c', 'network_id': 'a6c5afa3-e3d9-4683-8d00-e6cfe4225a33', 'ip_version': 4, 'cidr': '99.161.45.0/26', 'allocation_pools': [{'start': '99.161.45.2', 'end': '99.161.45.62'}], 'gateway_ip': '99.161.45.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.161.45.2', 'tags': [], 'project_id': '24e025eda36641e08532daf822ebae4c'}} 2025-09-18 12:42:00,426 - INFO - Created VN ctest-vn1-58293982 2025-09-18 12:42:00,478 - DEBUG - VN ctest-vn1-58293982 UUID is a6c5afa3-e3d9-4683-8d00-e6cfe4225a33 2025-09-18 12:42:00,796 - DEBUG - Response for create_network : {'network': {'id': 'e8b70c7f-6825-4504-9e1e-64dc06d03dab', 'name': 'ctest-vn2-38838234', 'tenant_id': '24e025eda36641e08532daf822ebae4c', 'project_id': '24e025eda36641e08532daf822ebae4c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-19462332', 'ctest-vn2-38838234'], 'port_security_enabled': True, 'description': ''}} 2025-09-18 12:42:01,036 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e2fd558-99b8-43ad-aa5c-696b99ab8049', 'name': '', 'tenant_id': '24e025eda36641e08532daf822ebae4c', 'network_id': 'e8b70c7f-6825-4504-9e1e-64dc06d03dab', 'ip_version': 4, 'cidr': '152.207.255.64/26', 'allocation_pools': [{'start': '152.207.255.66', 'end': '152.207.255.126'}], 'gateway_ip': '152.207.255.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.207.255.66', 'tags': [], 'project_id': '24e025eda36641e08532daf822ebae4c'}} 2025-09-18 12:42:01,058 - INFO - Created VN ctest-vn2-38838234 2025-09-18 12:42:01,114 - DEBUG - VN ctest-vn2-38838234 UUID is e8b70c7f-6825-4504-9e1e-64dc06d03dab 2025-09-18 12:42:01,333 - DEBUG - Services list from nova: [, , ] 2025-09-18 12:42:02,337 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4138-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4138-1) 2025-09-18 12:42:03,549 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4138-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4138-1) 2025-09-18 12:42:03,621 - INFO - Adding interface with subnet_id 5ccae46e-9dd8-41bd-a536-0e93a0351c22, port_id None to router cff41b70-ea08-4d12-8165-ed9947610487 2025-09-18 12:42:03,915 - INFO - Waiting for VM ctest-vn1-vm1-74868341 to be up.. 2025-09-18 12:42:04,038 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-18 12:42:09,148 - DEBUG - VM is in ACTIVE state now 2025-09-18 12:42:09,148 - INFO - VM name : ctest-vn1-vm1-74868341 2025-09-18 12:42:09,224 - DEBUG - VM ctest-vn1-vm1-74868341 ID is b52886cc-2588-47d3-912b-c89cf2611e76 2025-09-18 12:42:09,246 - DEBUG - VM ctest-vn1-vm1-74868341 launched on Node cn-jenkins-deploy-platform-ansible-os-4138-1 2025-09-18 12:42:09,322 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b52886cc-2588-47d3-912b-c89cf2611e76 2025-09-18 12:42:09,614 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/b52886cc-2588-47d3-912b-c89cf2611e76 2025-09-18 12:42:09,643 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/0cff76b2-ea39-46a5-b878-2c313b655671 2025-09-18 12:42:12,893 - 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-09-18 12:42:12,893 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74868341 failed! 2025-09-18 12:42:12,946 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-19462332:ctest-vn1-58293982 is 99.161.45.1 and allocation pool is NOT set 2025-09-18 12:42:15,006 - 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=3.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.431 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.431/1.768/3.105/1.337 ms') 2025-09-18 12:42:15,006 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74868341 passed 2025-09-18 12:42:15,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:15,162 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74868341, IP 99.161.45.3, Port 22 2025-09-18 12:42:15,318 - DEBUG - VM ctest-vn1-vm1-74868341 is ready for SSH connections 2025-09-18 12:42:15,318 - INFO - Waiting for VM ctest-vn2-vm1-75936230 to be up.. 2025-09-18 12:42:15,392 - DEBUG - VM is in ACTIVE state now 2025-09-18 12:42:15,392 - INFO - VM name : ctest-vn2-vm1-75936230 2025-09-18 12:42:15,463 - DEBUG - VM ctest-vn2-vm1-75936230 ID is 6589bcdb-a819-42ff-96a5-595c473675c3 2025-09-18 12:42:15,463 - DEBUG - VM ctest-vn2-vm1-75936230 launched on Node cn-jenkins-deploy-platform-ansible-os-4138-1 2025-09-18 12:42:15,531 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/6589bcdb-a819-42ff-96a5-595c473675c3 2025-09-18 12:42:15,539 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3baef784-b43d-4866-82c5-8b77088014aa 2025-09-18 12:42:16,781 - 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.70 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.384 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.384/1.540/2.696/1.156 ms') 2025-09-18 12:42:16,781 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-75936230 passed 2025-09-18 12:42:16,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:16,930 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-75936230, IP 152.207.255.67, Port 22 2025-09-18 12:42:17,081 - DEBUG - VM ctest-vn2-vm1-75936230 is ready for SSH connections 2025-09-18 12:42:17,081 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:17,081 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.207.255.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 12:42:17,081 - DEBUG - ping -s 56 -c 3 -W 1 152.207.255.67 2025-09-18 12:42:21,750 - DEBUG - PING 152.207.255.67 (152.207.255.67): 56 data bytes --- 152.207.255.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-18 12:42:21,750 - WARNING - Ping to IP 152.207.255.67 from VM ctest-vn1-vm1-74868341 failed 2025-09-18 12:42:21,750 - INFO - Adding interface with subnet_id 0e2fd558-99b8-43ad-aa5c-696b99ab8049, port_id None to router cff41b70-ea08-4d12-8165-ed9947610487 2025-09-18 12:42:21,991 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:21,992 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.207.255.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 12:42:21,992 - DEBUG - ping -s 56 -c 3 -W 1 152.207.255.67 2025-09-18 12:42:25,185 - DEBUG - PING 152.207.255.67 (152.207.255.67): 56 data bytes 64 bytes from 152.207.255.67: seq=1 ttl=63 time=2.394 ms 64 bytes from 152.207.255.67: seq=2 ttl=63 time=0.965 ms --- 152.207.255.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.965/1.679/2.394 ms 2025-09-18 12:42:25,185 - WARNING - Ping to IP 152.207.255.67 from VM ctest-vn1-vm1-74868341 failed 2025-09-18 12:42:26,186 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.207.255.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 12:42:26,186 - DEBUG - ping -s 56 -c 3 -W 1 152.207.255.67 2025-09-18 12:42:28,388 - DEBUG - PING 152.207.255.67 (152.207.255.67): 56 data bytes 64 bytes from 152.207.255.67: seq=0 ttl=63 time=1.291 ms 64 bytes from 152.207.255.67: seq=1 ttl=63 time=0.715 ms 64 bytes from 152.207.255.67: seq=2 ttl=63 time=0.774 ms --- 152.207.255.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.715/0.926/1.291 ms 2025-09-18 12:42:28,388 - INFO - Ping to IP 152.207.255.67 from VM ctest-vn1-vm1-74868341 passed 2025-09-18 12:42:28,389 - INFO - Deleting interface with subnet_id 5ccae46e-9dd8-41bd-a536-0e93a0351c22, port_id None from router cff41b70-ea08-4d12-8165-ed9947610487 2025-09-18 12:42:28,496 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:28,496 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.207.255.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 12:42:28,496 - DEBUG - ping -s 56 -c 3 -W 1 152.207.255.67 2025-09-18 12:42:31,694 - DEBUG - PING 152.207.255.67 (152.207.255.67): 56 data bytes --- 152.207.255.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-18 12:42:31,694 - WARNING - Ping to IP 152.207.255.67 from VM ctest-vn1-vm1-74868341 failed 2025-09-18 12:42:31,694 - INFO - Adding interface with subnet_id 5ccae46e-9dd8-41bd-a536-0e93a0351c22, port_id None to router cff41b70-ea08-4d12-8165-ed9947610487 2025-09-18 12:42:31,886 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-18 12:42:31,886 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 152.207.255.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-18 12:42:31,886 - DEBUG - ping -s 56 -c 3 -W 1 152.207.255.67 2025-09-18 12:42:34,103 - DEBUG - PING 152.207.255.67 (152.207.255.67): 56 data bytes 64 bytes from 152.207.255.67: seq=0 ttl=63 time=1.742 ms 64 bytes from 152.207.255.67: seq=1 ttl=63 time=0.784 ms 64 bytes from 152.207.255.67: seq=2 ttl=63 time=0.717 ms --- 152.207.255.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.717/1.081/1.742 ms 2025-09-18 12:42:34,103 - INFO - Ping to IP 152.207.255.67 from VM ctest-vn1-vm1-74868341 passed 2025-09-18 12:42:34,103 - INFO - Deleting interface with subnet_id 0e2fd558-99b8-43ad-aa5c-696b99ab8049, port_id None from router cff41b70-ea08-4d12-8165-ed9947610487 2025-09-18 12:42:34,199 - INFO - Deleting interface with subnet_id 5ccae46e-9dd8-41bd-a536-0e93a0351c22, port_id None from router cff41b70-ea08-4d12-8165-ed9947610487 2025-09-18 12:42:34,352 - INFO - Deleting VM ctest-vn2-vm1-75936230 2025-09-18 12:42:34,420 - INFO - Deleting VM ctest-vn1-vm1-74868341 2025-09-18 12:42:34,486 - INFO - Deleting VN ctest-vn2-38838234 2025-09-18 12:42:34,517 - DEBUG - VN e8b70c7f-6825-4504-9e1e-64dc06d03dab still in use: Unable to complete operation on network e8b70c7f-6825-4504-9e1e-64dc06d03dab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1bc449f0-8516-4abb-ae1c-2522d25cc409'] 2025-09-18 12:42:34,517 - WARNING - Deleting VN ctest-vn2-38838234 failed..Will retry 2025-09-18 12:42:36,598 - DEBUG - Response for deleting network () 2025-09-18 12:42:36,598 - INFO - Deleting VN ctest-vn1-58293982 2025-09-18 12:42:36,687 - DEBUG - Response for deleting network () 2025-09-18 12:42:36,954 - DEBUG - No XMPP flaps were noticed during the test 2025-09-18 12:42:36,954 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-09-18 12:42:36,954 - INFO - -------------------------------------------------------------------------------- 2025-09-18 12:42:37,620 - INFO - Deleted project: ctest-TestRouters-19462332, ID : 24e025ed-a366-41e0-8532-daf822ebae4c