2025-09-19 22:43:01,950 - INFO - Domain Default found not creating 2025-09-19 22:43:02,144 - INFO - Project ctest-TestRouters-62502793 not found, creating it 2025-09-19 22:43:02,561 - INFO - Created Project:ctest-TestRouters-62502793, ID : 38e8cb16-8ee2-41c5-a0ef-8af8e38b829a 2025-09-19 22:43:03,884 - INFO - ================================================================================ 2025-09-19 22:43:03,884 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-19 22:43:03,884 - 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-19 22:43:04,138 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2025-09-19 22:43:04,138 - INFO - Initial checks done. Running the testcase now 2025-09-19 22:43:04,138 - INFO - 2025-09-19 22:43:04,640 - DEBUG - Response for create_network : {'network': {'id': 'ecd01e2e-969e-4260-b30e-ed313bef0c79', 'name': 'ctest-vn1-29349920', 'tenant_id': '38e8cb168ee241c5a0ef8af8e38b829a', 'project_id': '38e8cb168ee241c5a0ef8af8e38b829a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-62502793', 'ctest-vn1-29349920'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 22:43:04,807 - DEBUG - Response for create_subnet : {'subnet': {'id': '5c1e05ff-4a82-447f-b7d7-cd8871abe0f3', 'name': '', 'tenant_id': '38e8cb168ee241c5a0ef8af8e38b829a', 'network_id': 'ecd01e2e-969e-4260-b30e-ed313bef0c79', 'ip_version': 4, 'cidr': '105.16.229.128/26', 'allocation_pools': [{'start': '105.16.229.130', 'end': '105.16.229.190'}], 'gateway_ip': '105.16.229.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.16.229.130', 'tags': [], 'project_id': '38e8cb168ee241c5a0ef8af8e38b829a'}} 2025-09-19 22:43:04,823 - INFO - Created VN ctest-vn1-29349920 2025-09-19 22:43:04,877 - DEBUG - VN ctest-vn1-29349920 UUID is ecd01e2e-969e-4260-b30e-ed313bef0c79 2025-09-19 22:43:05,169 - DEBUG - Response for create_network : {'network': {'id': '5c0e4ea9-f3e3-4cf5-9f93-fd138781b362', 'name': 'ctest-vn2-87845160', 'tenant_id': '38e8cb168ee241c5a0ef8af8e38b829a', 'project_id': '38e8cb168ee241c5a0ef8af8e38b829a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-62502793', 'ctest-vn2-87845160'], 'port_security_enabled': True, 'description': ''}} 2025-09-19 22:43:05,365 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b20d1a47-5800-46df-bc64-a9ba25661e0f', 'name': '', 'tenant_id': '38e8cb168ee241c5a0ef8af8e38b829a', 'network_id': '5c0e4ea9-f3e3-4cf5-9f93-fd138781b362', 'ip_version': 4, 'cidr': '29.90.159.64/26', 'allocation_pools': [{'start': '29.90.159.66', 'end': '29.90.159.126'}], 'gateway_ip': '29.90.159.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.90.159.66', 'tags': [], 'project_id': '38e8cb168ee241c5a0ef8af8e38b829a'}} 2025-09-19 22:43:05,380 - INFO - Created VN ctest-vn2-87845160 2025-09-19 22:43:05,433 - DEBUG - VN ctest-vn2-87845160 UUID is 5c0e4ea9-f3e3-4cf5-9f93-fd138781b362 2025-09-19 22:43:05,625 - DEBUG - Services list from nova: [, , ] 2025-09-19 22:43:06,558 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4155-1) 2025-09-19 22:43:07,695 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4155-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4155-1) 2025-09-19 22:43:07,756 - INFO - Adding interface with subnet_id 5c1e05ff-4a82-447f-b7d7-cd8871abe0f3, port_id None to router 352603a7-4504-4076-96b1-d5a3c1ab2f6c 2025-09-19 22:43:07,988 - INFO - Waiting for VM ctest-vn1-vm1-67558555 to be up.. 2025-09-19 22:43:08,070 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-19 22:43:13,132 - DEBUG - VM is in ACTIVE state now 2025-09-19 22:43:13,132 - INFO - VM name : ctest-vn1-vm1-67558555 2025-09-19 22:43:13,192 - DEBUG - VM ctest-vn1-vm1-67558555 ID is 3d5d9826-76cb-4c74-bc12-3a1ba1c96545 2025-09-19 22:43:13,208 - DEBUG - VM ctest-vn1-vm1-67558555 launched on Node cn-jenkins-deploy-platform-ansible-os-4155-1 2025-09-19 22:43:13,264 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3d5d9826-76cb-4c74-bc12-3a1ba1c96545 2025-09-19 22:43:13,554 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3d5d9826-76cb-4c74-bc12-3a1ba1c96545 2025-09-19 22:43:13,579 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b75d7251-a234-410f-b4a9-ae87309a6ea2 2025-09-19 22:43:16,817 - 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 1008ms') 2025-09-19 22:43:16,817 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67558555 failed! 2025-09-19 22:43:16,869 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-62502793:ctest-vn1-29349920 is 105.16.229.129 and allocation pool is NOT set 2025-09-19 22:43:18,927 - 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.63 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.373 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.373/1.499/2.625/1.126 ms') 2025-09-19 22:43:18,927 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-67558555 passed 2025-09-19 22:43:19,069 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 22:43:19,070 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-67558555, IP 105.16.229.131, Port 22 2025-09-19 22:43:19,229 - DEBUG - VM ctest-vn1-vm1-67558555 is ready for SSH connections 2025-09-19 22:43:19,229 - INFO - Waiting for VM ctest-vn2-vm1-82144644 to be up.. 2025-09-19 22:43:19,293 - DEBUG - VM is in ACTIVE state now 2025-09-19 22:43:19,293 - INFO - VM name : ctest-vn2-vm1-82144644 2025-09-19 22:43:19,359 - DEBUG - VM ctest-vn2-vm1-82144644 ID is 3217febe-a515-4103-936a-6b8c06e6a5c0 2025-09-19 22:43:19,359 - DEBUG - VM ctest-vn2-vm1-82144644 launched on Node cn-jenkins-deploy-platform-ansible-os-4155-1 2025-09-19 22:43:19,427 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3217febe-a515-4103-936a-6b8c06e6a5c0 2025-09-19 22:43:19,435 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/32a048fe-4551-427c-9124-63e94f734209 2025-09-19 22:43:20,669 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.381 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 = 0.381/1.486/2.592/1.105 ms') 2025-09-19 22:43:20,669 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-82144644 passed 2025-09-19 22:43:20,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 22:43:20,830 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-82144644, IP 29.90.159.67, Port 22 2025-09-19 22:43:20,989 - DEBUG - VM ctest-vn2-vm1-82144644 is ready for SSH connections 2025-09-19 22:43:20,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 22:43:20,989 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.90.159.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 22:43:20,990 - DEBUG - ping -s 56 -c 3 -W 1 29.90.159.67 2025-09-19 22:43:25,624 - DEBUG - PING 29.90.159.67 (29.90.159.67): 56 data bytes --- 29.90.159.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-19 22:43:25,624 - WARNING - Ping to IP 29.90.159.67 from VM ctest-vn1-vm1-67558555 failed 2025-09-19 22:43:25,624 - INFO - Adding interface with subnet_id b20d1a47-5800-46df-bc64-a9ba25661e0f, port_id None to router 352603a7-4504-4076-96b1-d5a3c1ab2f6c 2025-09-19 22:43:25,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 22:43:25,835 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.90.159.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 22:43:25,836 - DEBUG - ping -s 56 -c 3 -W 1 29.90.159.67 2025-09-19 22:43:28,028 - DEBUG - PING 29.90.159.67 (29.90.159.67): 56 data bytes 64 bytes from 29.90.159.67: seq=0 ttl=63 time=2.266 ms 64 bytes from 29.90.159.67: seq=1 ttl=63 time=0.884 ms 64 bytes from 29.90.159.67: seq=2 ttl=63 time=0.699 ms --- 29.90.159.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.699/1.283/2.266 ms 2025-09-19 22:43:28,028 - INFO - Ping to IP 29.90.159.67 from VM ctest-vn1-vm1-67558555 passed 2025-09-19 22:43:28,028 - INFO - Deleting interface with subnet_id 5c1e05ff-4a82-447f-b7d7-cd8871abe0f3, port_id None from router 352603a7-4504-4076-96b1-d5a3c1ab2f6c 2025-09-19 22:43:28,128 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 22:43:28,128 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.90.159.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 22:43:28,129 - DEBUG - ping -s 56 -c 3 -W 1 29.90.159.67 2025-09-19 22:43:31,320 - DEBUG - PING 29.90.159.67 (29.90.159.67): 56 data bytes --- 29.90.159.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-19 22:43:31,320 - WARNING - Ping to IP 29.90.159.67 from VM ctest-vn1-vm1-67558555 failed 2025-09-19 22:43:31,320 - INFO - Adding interface with subnet_id 5c1e05ff-4a82-447f-b7d7-cd8871abe0f3, port_id None to router 352603a7-4504-4076-96b1-d5a3c1ab2f6c 2025-09-19 22:43:31,501 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-19 22:43:31,501 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 29.90.159.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-09-19 22:43:31,501 - DEBUG - ping -s 56 -c 3 -W 1 29.90.159.67 2025-09-19 22:43:33,707 - DEBUG - PING 29.90.159.67 (29.90.159.67): 56 data bytes 64 bytes from 29.90.159.67: seq=0 ttl=63 time=1.250 ms 64 bytes from 29.90.159.67: seq=1 ttl=63 time=0.823 ms 64 bytes from 29.90.159.67: seq=2 ttl=63 time=0.753 ms --- 29.90.159.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.753/0.942/1.250 ms 2025-09-19 22:43:33,707 - INFO - Ping to IP 29.90.159.67 from VM ctest-vn1-vm1-67558555 passed 2025-09-19 22:43:33,707 - INFO - Deleting interface with subnet_id b20d1a47-5800-46df-bc64-a9ba25661e0f, port_id None from router 352603a7-4504-4076-96b1-d5a3c1ab2f6c 2025-09-19 22:43:33,806 - INFO - Deleting interface with subnet_id 5c1e05ff-4a82-447f-b7d7-cd8871abe0f3, port_id None from router 352603a7-4504-4076-96b1-d5a3c1ab2f6c 2025-09-19 22:43:33,938 - INFO - Deleting VM ctest-vn2-vm1-82144644 2025-09-19 22:43:33,998 - INFO - Deleting VM ctest-vn1-vm1-67558555 2025-09-19 22:43:34,058 - INFO - Deleting VN ctest-vn2-87845160 2025-09-19 22:43:34,093 - DEBUG - VN 5c0e4ea9-f3e3-4cf5-9f93-fd138781b362 still in use: Unable to complete operation on network 5c0e4ea9-f3e3-4cf5-9f93-fd138781b362. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-91e6d99b-466e-4cef-ac33-03c8a2186b39'] 2025-09-19 22:43:34,093 - WARNING - Deleting VN ctest-vn2-87845160 failed..Will retry 2025-09-19 22:43:36,173 - DEBUG - Response for deleting network () 2025-09-19 22:43:36,173 - INFO - Deleting VN ctest-vn1-29349920 2025-09-19 22:43:36,268 - DEBUG - Response for deleting network () 2025-09-19 22:43:36,525 - DEBUG - No XMPP flaps were noticed during the test
2025-09-19 22:43:36,525 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:33]
2025-09-19 22:43:36,525 - INFO - -------------------------------------------------------------------------------- 2025-09-19 22:43:37,162 - INFO - Deleted project: ctest-TestRouters-62502793, ID : 38e8cb16-8ee2-41c5-a0ef-8af8e38b829a