2025-08-22 22:23:04,667 - INFO - Domain Default found not creating 2025-08-22 22:23:05,000 - INFO - Project ctest-TestRouters-35741598 not found, creating it 2025-08-22 22:23:05,623 - INFO - Created Project:ctest-TestRouters-35741598, ID : 9b64ce7e-cebc-41fa-aad6-e7772a1cf261 2025-08-22 22:23:07,459 - INFO - ================================================================================ 2025-08-22 22:23:07,459 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-22 22:23:07,459 - 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-22 22:23:07,787 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-22 22:23:07,787 - INFO - Initial checks done. Running the testcase now 2025-08-22 22:23:07,788 - INFO - 2025-08-22 22:23:08,495 - DEBUG - Response for create_network : {'network': {'id': '81bf6668-1421-41c3-a85c-212c92cf5ffd', 'name': 'ctest-vn1-85396127', 'tenant_id': '9b64ce7ecebc41faaad6e7772a1cf261', 'project_id': '9b64ce7ecebc41faaad6e7772a1cf261', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-35741598', 'ctest-vn1-85396127'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 22:23:08,784 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b02ef733-4a81-4a30-8374-90fc90afe0dd', 'name': '', 'tenant_id': '9b64ce7ecebc41faaad6e7772a1cf261', 'network_id': '81bf6668-1421-41c3-a85c-212c92cf5ffd', 'ip_version': 4, 'cidr': '113.234.55.128/26', 'allocation_pools': [{'start': '113.234.55.130', 'end': '113.234.55.190'}], 'gateway_ip': '113.234.55.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.234.55.130', 'tags': [], 'project_id': '9b64ce7ecebc41faaad6e7772a1cf261'}} 2025-08-22 22:23:08,817 - INFO - Created VN ctest-vn1-85396127 2025-08-22 22:23:08,889 - DEBUG - VN ctest-vn1-85396127 UUID is 81bf6668-1421-41c3-a85c-212c92cf5ffd 2025-08-22 22:23:09,466 - DEBUG - Response for create_network : {'network': {'id': '115d9eab-f3b0-4b8e-b050-1e0993c966e1', 'name': 'ctest-vn2-54688887', 'tenant_id': '9b64ce7ecebc41faaad6e7772a1cf261', 'project_id': '9b64ce7ecebc41faaad6e7772a1cf261', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-35741598', 'ctest-vn2-54688887'], 'port_security_enabled': True, 'description': ''}} 2025-08-22 22:23:09,661 - DEBUG - Response for create_subnet : {'subnet': {'id': '0711c6c4-b0d4-43ff-b281-9c065407a5b2', 'name': '', 'tenant_id': '9b64ce7ecebc41faaad6e7772a1cf261', 'network_id': '115d9eab-f3b0-4b8e-b050-1e0993c966e1', 'ip_version': 4, 'cidr': '196.92.138.64/26', 'allocation_pools': [{'start': '196.92.138.66', 'end': '196.92.138.126'}], 'gateway_ip': '196.92.138.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.92.138.66', 'tags': [], 'project_id': '9b64ce7ecebc41faaad6e7772a1cf261'}} 2025-08-22 22:23:09,677 - INFO - Created VN ctest-vn2-54688887 2025-08-22 22:23:09,728 - DEBUG - VN ctest-vn2-54688887 UUID is 115d9eab-f3b0-4b8e-b050-1e0993c966e1 2025-08-22 22:23:10,067 - DEBUG - Services list from nova: [, , ] 2025-08-22 22:23:11,340 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3913-1) 2025-08-22 22:23:12,729 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3913-1) 2025-08-22 22:23:12,802 - INFO - Adding interface with subnet_id b02ef733-4a81-4a30-8374-90fc90afe0dd, port_id None to router b2672776-8148-4f58-8ba5-0c0dd4e5f36f 2025-08-22 22:23:13,151 - INFO - Waiting for VM ctest-vn1-vm1-60329988 to be up.. 2025-08-22 22:23:13,335 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-22 22:23:18,457 - DEBUG - VM is in ACTIVE state now 2025-08-22 22:23:18,457 - INFO - VM name : ctest-vn1-vm1-60329988 2025-08-22 22:23:18,548 - DEBUG - VM ctest-vn1-vm1-60329988 ID is d567df09-9ba8-41ba-8d87-01d7bd8b59a0 2025-08-22 22:23:18,566 - DEBUG - VM ctest-vn1-vm1-60329988 launched on Node cn-jenkins-deploy-platform-ansible-os-3913-1 2025-08-22 22:23:18,632 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d567df09-9ba8-41ba-8d87-01d7bd8b59a0 2025-08-22 22:23:18,921 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/d567df09-9ba8-41ba-8d87-01d7bd8b59a0 2025-08-22 22:23:18,983 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/fe83014a-3d29-4634-939c-729c315f3ea3 2025-08-22 22:23:22,276 - 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 1005ms') 2025-08-22 22:23:22,276 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60329988 failed! 2025-08-22 22:23:22,336 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-35741598:ctest-vn1-85396127 is 113.234.55.129 and allocation pool is NOT set 2025-08-22 22:23:24,399 - 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.49 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=5.00 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 = 4.485/4.744/5.003/0.259 ms') 2025-08-22 22:23:24,399 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-60329988 passed 2025-08-22 22:23:24,564 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 22:23:24,565 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-60329988, IP 113.234.55.131, Port 22 2025-08-22 22:23:24,761 - DEBUG - VM ctest-vn1-vm1-60329988 is ready for SSH connections 2025-08-22 22:23:24,762 - INFO - Waiting for VM ctest-vn2-vm1-56406110 to be up.. 2025-08-22 22:23:24,968 - DEBUG - VM is in ACTIVE state now 2025-08-22 22:23:24,968 - INFO - VM name : ctest-vn2-vm1-56406110 2025-08-22 22:23:25,115 - DEBUG - VM ctest-vn2-vm1-56406110 ID is de4c905e-8984-4502-b669-b94f9491bc8a 2025-08-22 22:23:25,115 - DEBUG - VM ctest-vn2-vm1-56406110 launched on Node cn-jenkins-deploy-platform-ansible-os-3913-1 2025-08-22 22:23:25,268 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/de4c905e-8984-4502-b669-b94f9491bc8a 2025-08-22 22:23:25,291 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/2ab39db3-30ca-454e-a816-c5037a19ba82 2025-08-22 22:23:26,647 - 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.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.349 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.349/1.980/3.611/1.631 ms') 2025-08-22 22:23:26,648 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-56406110 passed 2025-08-22 22:23:26,840 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 22:23:26,841 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-56406110, IP 196.92.138.67, Port 22 2025-08-22 22:23:27,040 - DEBUG - VM ctest-vn2-vm1-56406110 is ready for SSH connections 2025-08-22 22:23:27,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 22:23:27,040 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.92.138.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-22 22:23:27,041 - DEBUG - ping -s 56 -c 3 -W 1 196.92.138.67 2025-08-22 22:23:32,404 - DEBUG - PING 196.92.138.67 (196.92.138.67): 56 data bytes --- 196.92.138.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-22 22:23:32,404 - WARNING - Ping to IP 196.92.138.67 from VM ctest-vn1-vm1-60329988 failed 2025-08-22 22:23:32,404 - INFO - Adding interface with subnet_id 0711c6c4-b0d4-43ff-b281-9c065407a5b2, port_id None to router b2672776-8148-4f58-8ba5-0c0dd4e5f36f 2025-08-22 22:23:32,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 22:23:32,774 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.92.138.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-22 22:23:32,774 - DEBUG - ping -s 56 -c 3 -W 1 196.92.138.67 2025-08-22 22:23:34,989 - DEBUG - PING 196.92.138.67 (196.92.138.67): 56 data bytes 64 bytes from 196.92.138.67: seq=0 ttl=63 time=2.721 ms 64 bytes from 196.92.138.67: seq=1 ttl=63 time=1.459 ms 64 bytes from 196.92.138.67: seq=2 ttl=63 time=1.676 ms --- 196.92.138.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.459/1.952/2.721 ms 2025-08-22 22:23:34,990 - INFO - Ping to IP 196.92.138.67 from VM ctest-vn1-vm1-60329988 passed 2025-08-22 22:23:34,990 - INFO - Deleting interface with subnet_id b02ef733-4a81-4a30-8374-90fc90afe0dd, port_id None from router b2672776-8148-4f58-8ba5-0c0dd4e5f36f 2025-08-22 22:23:35,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 22:23:35,197 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.92.138.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-22 22:23:35,197 - DEBUG - ping -s 56 -c 3 -W 1 196.92.138.67 2025-08-22 22:23:38,423 - DEBUG - PING 196.92.138.67 (196.92.138.67): 56 data bytes --- 196.92.138.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-22 22:23:38,423 - WARNING - Ping to IP 196.92.138.67 from VM ctest-vn1-vm1-60329988 failed 2025-08-22 22:23:38,423 - INFO - Adding interface with subnet_id b02ef733-4a81-4a30-8374-90fc90afe0dd, port_id None to router b2672776-8148-4f58-8ba5-0c0dd4e5f36f 2025-08-22 22:23:38,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-22 22:23:38,843 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 196.92.138.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-22 22:23:38,843 - DEBUG - ping -s 56 -c 3 -W 1 196.92.138.67 2025-08-22 22:23:41,063 - DEBUG - PING 196.92.138.67 (196.92.138.67): 56 data bytes 64 bytes from 196.92.138.67: seq=0 ttl=63 time=2.217 ms 64 bytes from 196.92.138.67: seq=1 ttl=63 time=1.250 ms 64 bytes from 196.92.138.67: seq=2 ttl=63 time=1.916 ms --- 196.92.138.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.250/1.794/2.217 ms 2025-08-22 22:23:41,063 - INFO - Ping to IP 196.92.138.67 from VM ctest-vn1-vm1-60329988 passed 2025-08-22 22:23:41,063 - INFO - Deleting interface with subnet_id 0711c6c4-b0d4-43ff-b281-9c065407a5b2, port_id None from router b2672776-8148-4f58-8ba5-0c0dd4e5f36f 2025-08-22 22:23:41,254 - INFO - Deleting interface with subnet_id b02ef733-4a81-4a30-8374-90fc90afe0dd, port_id None from router b2672776-8148-4f58-8ba5-0c0dd4e5f36f 2025-08-22 22:23:41,457 - INFO - Deleting VM ctest-vn2-vm1-56406110 2025-08-22 22:23:41,522 - INFO - Deleting VM ctest-vn1-vm1-60329988 2025-08-22 22:23:41,593 - INFO - Deleting VN ctest-vn2-54688887 2025-08-22 22:23:41,632 - DEBUG - VN 115d9eab-f3b0-4b8e-b050-1e0993c966e1 still in use: Unable to complete operation on network 115d9eab-f3b0-4b8e-b050-1e0993c966e1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fa77fc22-8a87-4384-bee8-96fd760bf46f'] 2025-08-22 22:23:41,632 - WARNING - Deleting VN ctest-vn2-54688887 failed..Will retry 2025-08-22 22:23:43,888 - DEBUG - Response for deleting network () 2025-08-22 22:23:43,889 - INFO - Deleting VN ctest-vn1-85396127 2025-08-22 22:23:44,068 - DEBUG - Response for deleting network () 2025-08-22 22:23:44,378 - DEBUG - No XMPP flaps were noticed during the test 2025-08-22 22:23:44,379 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37] 2025-08-22 22:23:44,379 - INFO - -------------------------------------------------------------------------------- 2025-08-22 22:23:45,229 - INFO - Deleted project: ctest-TestRouters-35741598, ID : 9b64ce7e-cebc-41fa-aad6-e7772a1cf261