2025-07-22 08:58:04,741 - INFO - Domain Default found not creating
2025-07-22 08:58:04,999 - INFO - Project ctest-TestRouters-99811437 not found, creating it
2025-07-22 08:58:05,568 - INFO - Created Project:ctest-TestRouters-99811437, ID : aae3c7bd-5376-4bfe-a29f-75c3bf473045
2025-07-22 08:58:07,687 - INFO - ================================================================================
2025-07-22 08:58:07,687 - INFO - STARTING TEST : test_basic_router_behavior
2025-07-22 08:58:07,687 - 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-07-22 08:58:07,970 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2025-07-22 08:58:07,970 - INFO - Initial checks done. Running the testcase now
2025-07-22 08:58:07,970 - INFO -
2025-07-22 08:58:08,758 - DEBUG - Response for create_network : {'network': {'id': '335e2971-4c15-460a-ab48-1ff305e96fe4', 'name': 'ctest-vn1-75651198', 'tenant_id': 'aae3c7bd53764bfea29f75c3bf473045', 'project_id': 'aae3c7bd53764bfea29f75c3bf473045', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99811437', 'ctest-vn1-75651198'], 'port_security_enabled': True, 'description': ''}}
2025-07-22 08:58:08,948 - DEBUG - Response for create_subnet : {'subnet': {'id': '753fc858-5470-4a47-a3cc-d41a7826008e', 'name': '', 'tenant_id': 'aae3c7bd53764bfea29f75c3bf473045', 'network_id': '335e2971-4c15-460a-ab48-1ff305e96fe4', 'ip_version': 4, 'cidr': '76.231.0.192/26', 'allocation_pools': [{'start': '76.231.0.194', 'end': '76.231.0.254'}], 'gateway_ip': '76.231.0.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.231.0.194', 'tags': [], 'project_id': 'aae3c7bd53764bfea29f75c3bf473045'}}
2025-07-22 08:58:08,969 - INFO - Created VN ctest-vn1-75651198
2025-07-22 08:58:09,025 - DEBUG - VN ctest-vn1-75651198 UUID is 335e2971-4c15-460a-ab48-1ff305e96fe4
2025-07-22 08:58:09,497 - DEBUG - Response for create_network : {'network': {'id': '5a13db92-0cbf-4219-828f-2d4689deb775', 'name': 'ctest-vn2-63477963', 'tenant_id': 'aae3c7bd53764bfea29f75c3bf473045', 'project_id': 'aae3c7bd53764bfea29f75c3bf473045', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99811437', 'ctest-vn2-63477963'], 'port_security_enabled': True, 'description': ''}}
2025-07-22 08:58:09,757 - DEBUG - Response for create_subnet : {'subnet': {'id': '6637c6cc-16e8-42a9-a4a0-a2bdfca04430', 'name': '', 'tenant_id': 'aae3c7bd53764bfea29f75c3bf473045', 'network_id': '5a13db92-0cbf-4219-828f-2d4689deb775', 'ip_version': 4, 'cidr': '22.124.191.128/26', 'allocation_pools': [{'start': '22.124.191.130', 'end': '22.124.191.190'}], 'gateway_ip': '22.124.191.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.124.191.130', 'tags': [], 'project_id': 'aae3c7bd53764bfea29f75c3bf473045'}}
2025-07-22 08:58:09,778 - INFO - Created VN ctest-vn2-63477963
2025-07-22 08:58:09,833 - DEBUG - VN ctest-vn2-63477963 UUID is 5a13db92-0cbf-4219-828f-2d4689deb775
2025-07-22 08:58:10,161 - DEBUG - Services list from nova: [, , ]
2025-07-22 08:58:11,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3685-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3685-1)
2025-07-22 08:58:13,350 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3685-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3685-1)
2025-07-22 08:58:13,437 - INFO - Adding interface with subnet_id 753fc858-5470-4a47-a3cc-d41a7826008e, port_id None to router 9c3fce4b-cac7-4ed1-8116-beaa154872b9
2025-07-22 08:58:13,779 - INFO - Waiting for VM ctest-vn1-vm1-42765682 to be up..
2025-07-22 08:58:13,888 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-07-22 08:58:19,008 - DEBUG - VM is in ACTIVE state now
2025-07-22 08:58:19,008 - INFO - VM name : ctest-vn1-vm1-42765682
2025-07-22 08:58:19,124 - DEBUG - VM ctest-vn1-vm1-42765682 ID is 39e2d6f9-2df2-4d72-8543-c36c1273e0c0
2025-07-22 08:58:19,146 - DEBUG - VM ctest-vn1-vm1-42765682 launched on Node cn-jenkins-deploy-platform-ansible-os-3685-1
2025-07-22 08:58:19,246 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/39e2d6f9-2df2-4d72-8543-c36c1273e0c0
2025-07-22 08:58:19,561 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/39e2d6f9-2df2-4d72-8543-c36c1273e0c0
2025-07-22 08:58:19,596 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/fe50905d-1c04-47e2-96aa-041f2e6df674
2025-07-22 08:58:22,895 - 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 1007ms')
2025-07-22 08:58:22,895 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42765682 failed!
2025-07-22 08:58:22,973 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-99811437:ctest-vn1-75651198 is 76.231.0.193 and allocation pool is NOT set
2025-07-22 08:58:25,045 - 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=6.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.24 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 = 2.241/4.260/6.279/2.019 ms')
2025-07-22 08:58:25,045 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-42765682 passed
2025-07-22 08:58:25,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 08:58:25,209 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-42765682, IP 76.231.0.195, Port 22
2025-07-22 08:58:25,400 - DEBUG - VM ctest-vn1-vm1-42765682 is ready for SSH connections
2025-07-22 08:58:25,400 - INFO - Waiting for VM ctest-vn2-vm1-27849156 to be up..
2025-07-22 08:58:25,510 - DEBUG - VM is in ACTIVE state now
2025-07-22 08:58:25,510 - INFO - VM name : ctest-vn2-vm1-27849156
2025-07-22 08:58:25,633 - DEBUG - VM ctest-vn2-vm1-27849156 ID is ac9b9fa2-3afc-48fd-9625-e31e7b629287
2025-07-22 08:58:25,633 - DEBUG - VM ctest-vn2-vm1-27849156 launched on Node cn-jenkins-deploy-platform-ansible-os-3685-1
2025-07-22 08:58:25,758 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ac9b9fa2-3afc-48fd-9625-e31e7b629287
2025-07-22 08:58:25,773 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b3dd39af-a755-428e-8156-3d9571fb04b9
2025-07-22 08:58:27,067 - 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=5.80 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.06 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 = 2.055/3.927/5.799/1.872 ms')
2025-07-22 08:58:27,068 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-27849156 passed
2025-07-22 08:58:27,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 08:58:27,249 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-27849156, IP 22.124.191.131, Port 22
2025-07-22 08:58:27,433 - DEBUG - VM ctest-vn2-vm1-27849156 is ready for SSH connections
2025-07-22 08:58:27,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 08:58:27,433 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.124.191.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-22 08:58:27,434 - DEBUG - ping -s 56 -c 3 -W 1 22.124.191.131
2025-07-22 08:58:32,826 - DEBUG - PING 22.124.191.131 (22.124.191.131): 56 data bytes
--- 22.124.191.131 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-07-22 08:58:32,827 - WARNING - Ping to IP 22.124.191.131 from VM ctest-vn1-vm1-42765682 failed
2025-07-22 08:58:32,827 - INFO - Adding interface with subnet_id 6637c6cc-16e8-42a9-a4a0-a2bdfca04430, port_id None to router 9c3fce4b-cac7-4ed1-8116-beaa154872b9
2025-07-22 08:58:33,207 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 08:58:33,207 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.124.191.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-22 08:58:33,207 - DEBUG - ping -s 56 -c 3 -W 1 22.124.191.131
2025-07-22 08:58:35,494 - DEBUG - PING 22.124.191.131 (22.124.191.131): 56 data bytes
64 bytes from 22.124.191.131: seq=0 ttl=63 time=3.333 ms
64 bytes from 22.124.191.131: seq=1 ttl=63 time=2.634 ms
64 bytes from 22.124.191.131: seq=2 ttl=63 time=2.056 ms
--- 22.124.191.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 2.056/2.674/3.333 ms
2025-07-22 08:58:35,494 - INFO - Ping to IP 22.124.191.131 from VM ctest-vn1-vm1-42765682 passed
2025-07-22 08:58:35,495 - INFO - Deleting interface with subnet_id 753fc858-5470-4a47-a3cc-d41a7826008e, port_id None from router 9c3fce4b-cac7-4ed1-8116-beaa154872b9
2025-07-22 08:58:35,791 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 08:58:35,791 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.124.191.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-22 08:58:35,791 - DEBUG - ping -s 56 -c 3 -W 1 22.124.191.131
2025-07-22 08:58:39,079 - DEBUG - PING 22.124.191.131 (22.124.191.131): 56 data bytes
--- 22.124.191.131 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
2025-07-22 08:58:39,079 - WARNING - Ping to IP 22.124.191.131 from VM ctest-vn1-vm1-42765682 failed
2025-07-22 08:58:39,079 - INFO - Adding interface with subnet_id 753fc858-5470-4a47-a3cc-d41a7826008e, port_id None to router 9c3fce4b-cac7-4ed1-8116-beaa154872b9
2025-07-22 08:58:39,494 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-07-22 08:58:39,494 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 22.124.191.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2025-07-22 08:58:39,494 - DEBUG - ping -s 56 -c 3 -W 1 22.124.191.131
2025-07-22 08:58:41,760 - DEBUG - PING 22.124.191.131 (22.124.191.131): 56 data bytes
64 bytes from 22.124.191.131: seq=0 ttl=63 time=2.956 ms
64 bytes from 22.124.191.131: seq=1 ttl=63 time=1.543 ms
64 bytes from 22.124.191.131: seq=2 ttl=63 time=5.772 ms
--- 22.124.191.131 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.543/3.423/5.772 ms
2025-07-22 08:58:41,760 - INFO - Ping to IP 22.124.191.131 from VM ctest-vn1-vm1-42765682 passed
2025-07-22 08:58:41,760 - INFO - Deleting interface with subnet_id 6637c6cc-16e8-42a9-a4a0-a2bdfca04430, port_id None from router 9c3fce4b-cac7-4ed1-8116-beaa154872b9
2025-07-22 08:58:41,932 - INFO - Deleting interface with subnet_id 753fc858-5470-4a47-a3cc-d41a7826008e, port_id None from router 9c3fce4b-cac7-4ed1-8116-beaa154872b9
2025-07-22 08:58:42,130 - INFO - Deleting VM ctest-vn2-vm1-27849156
2025-07-22 08:58:42,214 - INFO - Deleting VM ctest-vn1-vm1-42765682
2025-07-22 08:58:42,308 - INFO - Deleting VN ctest-vn2-63477963
2025-07-22 08:58:42,356 - DEBUG - VN 5a13db92-0cbf-4219-828f-2d4689deb775 still in use: Unable to complete operation on network 5a13db92-0cbf-4219-828f-2d4689deb775. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-5cf515e8-7931-4566-abbc-2d744a3a500d']
2025-07-22 08:58:42,356 - WARNING - Deleting VN ctest-vn2-63477963 failed..Will retry
2025-07-22 08:58:44,570 - DEBUG - Response for deleting network ()
2025-07-22 08:58:44,570 - INFO - Deleting VN ctest-vn1-75651198
2025-07-22 08:58:44,715 - DEBUG - Response for deleting network ()
2025-07-22 08:58:45,012 - DEBUG - No XMPP flaps were noticed during the test
2025-07-22 08:58:45,012 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-07-22 08:58:45,012 - INFO - --------------------------------------------------------------------------------
2025-07-22 08:58:45,937 - INFO - Deleted project: ctest-TestRouters-99811437, ID : aae3c7bd-5376-4bfe-a29f-75c3bf473045