2025-08-28 18:38:56,356 - INFO - Domain Default found not creating 2025-08-28 18:38:56,538 - INFO - Project ctest-TestRouters-55069381 not found, creating it 2025-08-28 18:38:57,025 - INFO - Created Project:ctest-TestRouters-55069381, ID : dcf2cce1-a324-404c-97b5-b28f940526a7 2025-08-28 18:38:58,590 - INFO - ================================================================================ 2025-08-28 18:38:58,590 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-28 18:38:58,590 - 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-28 18:38:58,864 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-28 18:38:58,864 - INFO - Initial checks done. Running the testcase now 2025-08-28 18:38:58,864 - INFO - 2025-08-28 18:38:59,453 - DEBUG - Response for create_network : {'network': {'id': '9cc36eae-784a-415e-badf-6d66288e8d2d', 'name': 'ctest-vn1-78126381', 'tenant_id': 'dcf2cce1a324404c97b5b28f940526a7', 'project_id': 'dcf2cce1a324404c97b5b28f940526a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55069381', 'ctest-vn1-78126381'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 18:38:59,684 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a8535d5-a196-4f00-b3fa-bbe408becc80', 'name': '', 'tenant_id': 'dcf2cce1a324404c97b5b28f940526a7', 'network_id': '9cc36eae-784a-415e-badf-6d66288e8d2d', 'ip_version': 4, 'cidr': '61.144.10.128/26', 'allocation_pools': [{'start': '61.144.10.130', 'end': '61.144.10.190'}], 'gateway_ip': '61.144.10.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.144.10.130', 'tags': [], 'project_id': 'dcf2cce1a324404c97b5b28f940526a7'}} 2025-08-28 18:38:59,705 - INFO - Created VN ctest-vn1-78126381 2025-08-28 18:38:59,757 - DEBUG - VN ctest-vn1-78126381 UUID is 9cc36eae-784a-415e-badf-6d66288e8d2d 2025-08-28 18:39:00,106 - DEBUG - Response for create_network : {'network': {'id': '88b910f0-20f2-495c-9eea-1ed3b3efdea7', 'name': 'ctest-vn2-91597116', 'tenant_id': 'dcf2cce1a324404c97b5b28f940526a7', 'project_id': 'dcf2cce1a324404c97b5b28f940526a7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55069381', 'ctest-vn2-91597116'], 'port_security_enabled': True, 'description': ''}} 2025-08-28 18:39:00,334 - DEBUG - Response for create_subnet : {'subnet': {'id': '5bd37caa-4149-46e0-a98e-fb002ad3e9ba', 'name': '', 'tenant_id': 'dcf2cce1a324404c97b5b28f940526a7', 'network_id': '88b910f0-20f2-495c-9eea-1ed3b3efdea7', 'ip_version': 4, 'cidr': '105.222.106.128/26', 'allocation_pools': [{'start': '105.222.106.130', 'end': '105.222.106.190'}], 'gateway_ip': '105.222.106.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.222.106.130', 'tags': [], 'project_id': 'dcf2cce1a324404c97b5b28f940526a7'}} 2025-08-28 18:39:00,352 - INFO - Created VN ctest-vn2-91597116 2025-08-28 18:39:00,405 - DEBUG - VN ctest-vn2-91597116 UUID is 88b910f0-20f2-495c-9eea-1ed3b3efdea7 2025-08-28 18:39:00,588 - DEBUG - Services list from nova: [, , ] 2025-08-28 18:39:01,897 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3965-1) 2025-08-28 18:39:03,256 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3965-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3965-1) 2025-08-28 18:39:03,349 - INFO - Adding interface with subnet_id 9a8535d5-a196-4f00-b3fa-bbe408becc80, port_id None to router 6c7c3f20-35b0-460d-9e7b-53f5344748ec 2025-08-28 18:39:03,680 - INFO - Waiting for VM ctest-vn1-vm1-07671375 to be up.. 2025-08-28 18:39:03,786 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-28 18:39:08,864 - DEBUG - VM is in ACTIVE state now 2025-08-28 18:39:08,864 - INFO - VM name : ctest-vn1-vm1-07671375 2025-08-28 18:39:08,943 - DEBUG - VM ctest-vn1-vm1-07671375 ID is eab26f25-b032-442d-9b8e-fd89a909fd26 2025-08-28 18:39:08,964 - DEBUG - VM ctest-vn1-vm1-07671375 launched on Node cn-jenkins-deploy-platform-ansible-os-3965-1 2025-08-28 18:39:09,047 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/eab26f25-b032-442d-9b8e-fd89a909fd26 2025-08-28 18:39:09,350 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/eab26f25-b032-442d-9b8e-fd89a909fd26 2025-08-28 18:39:09,384 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b66826cb-17e7-4ed6-b978-5f801fb38e6a 2025-08-28 18:39:12,651 - 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 1030ms') 2025-08-28 18:39:12,651 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07671375 failed! 2025-08-28 18:39:12,709 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-55069381:ctest-vn1-78126381 is 61.144.10.129 and allocation pool is NOT set 2025-08-28 18:39:14,772 - 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.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.556 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.556/1.730/2.905/1.174 ms') 2025-08-28 18:39:14,773 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-07671375 passed 2025-08-28 18:39:14,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:39:14,925 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-07671375, IP 61.144.10.131, Port 22 2025-08-28 18:39:15,099 - DEBUG - VM ctest-vn1-vm1-07671375 is ready for SSH connections 2025-08-28 18:39:15,099 - INFO - Waiting for VM ctest-vn2-vm1-15962325 to be up.. 2025-08-28 18:39:15,181 - DEBUG - VM is in ACTIVE state now 2025-08-28 18:39:15,182 - INFO - VM name : ctest-vn2-vm1-15962325 2025-08-28 18:39:15,268 - DEBUG - VM ctest-vn2-vm1-15962325 ID is a4344646-30fc-4ead-b1cf-207eef8946e5 2025-08-28 18:39:15,268 - DEBUG - VM ctest-vn2-vm1-15962325 launched on Node cn-jenkins-deploy-platform-ansible-os-3965-1 2025-08-28 18:39:15,358 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a4344646-30fc-4ead-b1cf-207eef8946e5 2025-08-28 18:39:15,367 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/ff8a6ec1-0af5-461a-a0bb-b4e00f4cc153 2025-08-28 18:39:16,620 - 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=10.3 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.989 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.989/5.661/10.333/4.672 ms') 2025-08-28 18:39:16,620 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-15962325 passed 2025-08-28 18:39:16,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:39:16,774 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-15962325, IP 105.222.106.131, Port 22 2025-08-28 18:39:16,929 - DEBUG - VM ctest-vn2-vm1-15962325 is ready for SSH connections 2025-08-28 18:39:16,929 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:39:16,929 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.222.106.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-28 18:39:16,929 - DEBUG - ping -s 56 -c 3 -W 1 105.222.106.131 2025-08-28 18:39:21,968 - DEBUG - PING 105.222.106.131 (105.222.106.131): 56 data bytes --- 105.222.106.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-28 18:39:21,968 - WARNING - Ping to IP 105.222.106.131 from VM ctest-vn1-vm1-07671375 failed 2025-08-28 18:39:21,968 - INFO - Adding interface with subnet_id 5bd37caa-4149-46e0-a98e-fb002ad3e9ba, port_id None to router 6c7c3f20-35b0-460d-9e7b-53f5344748ec 2025-08-28 18:39:22,229 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:39:22,230 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.222.106.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-28 18:39:22,230 - DEBUG - ping -s 56 -c 3 -W 1 105.222.106.131 2025-08-28 18:39:25,443 - DEBUG - PING 105.222.106.131 (105.222.106.131): 56 data bytes 64 bytes from 105.222.106.131: seq=1 ttl=63 time=3.235 ms 64 bytes from 105.222.106.131: seq=2 ttl=63 time=1.105 ms --- 105.222.106.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.105/2.170/3.235 ms 2025-08-28 18:39:25,443 - WARNING - Ping to IP 105.222.106.131 from VM ctest-vn1-vm1-07671375 failed 2025-08-28 18:39:26,444 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.222.106.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-28 18:39:26,444 - DEBUG - ping -s 56 -c 3 -W 1 105.222.106.131 2025-08-28 18:39:28,679 - DEBUG - PING 105.222.106.131 (105.222.106.131): 56 data bytes 64 bytes from 105.222.106.131: seq=0 ttl=63 time=1.964 ms 64 bytes from 105.222.106.131: seq=1 ttl=63 time=1.316 ms 64 bytes from 105.222.106.131: seq=2 ttl=63 time=1.095 ms --- 105.222.106.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.095/1.458/1.964 ms 2025-08-28 18:39:28,679 - INFO - Ping to IP 105.222.106.131 from VM ctest-vn1-vm1-07671375 passed 2025-08-28 18:39:28,679 - INFO - Deleting interface with subnet_id 9a8535d5-a196-4f00-b3fa-bbe408becc80, port_id None from router 6c7c3f20-35b0-460d-9e7b-53f5344748ec 2025-08-28 18:39:28,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:39:28,810 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.222.106.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-28 18:39:28,810 - DEBUG - ping -s 56 -c 3 -W 1 105.222.106.131 2025-08-28 18:39:32,022 - DEBUG - PING 105.222.106.131 (105.222.106.131): 56 data bytes --- 105.222.106.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-28 18:39:32,022 - WARNING - Ping to IP 105.222.106.131 from VM ctest-vn1-vm1-07671375 failed 2025-08-28 18:39:32,022 - INFO - Adding interface with subnet_id 9a8535d5-a196-4f00-b3fa-bbe408becc80, port_id None to router 6c7c3f20-35b0-460d-9e7b-53f5344748ec 2025-08-28 18:39:32,288 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-28 18:39:32,288 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 105.222.106.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-28 18:39:32,288 - DEBUG - ping -s 56 -c 3 -W 1 105.222.106.131 2025-08-28 18:39:34,527 - DEBUG - PING 105.222.106.131 (105.222.106.131): 56 data bytes 64 bytes from 105.222.106.131: seq=0 ttl=63 time=1.720 ms 64 bytes from 105.222.106.131: seq=1 ttl=63 time=0.938 ms 64 bytes from 105.222.106.131: seq=2 ttl=63 time=1.252 ms --- 105.222.106.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.938/1.303/1.720 ms 2025-08-28 18:39:34,528 - INFO - Ping to IP 105.222.106.131 from VM ctest-vn1-vm1-07671375 passed 2025-08-28 18:39:34,528 - INFO - Deleting interface with subnet_id 5bd37caa-4149-46e0-a98e-fb002ad3e9ba, port_id None from router 6c7c3f20-35b0-460d-9e7b-53f5344748ec 2025-08-28 18:39:34,694 - INFO - Deleting interface with subnet_id 9a8535d5-a196-4f00-b3fa-bbe408becc80, port_id None from router 6c7c3f20-35b0-460d-9e7b-53f5344748ec 2025-08-28 18:39:34,916 - INFO - Deleting VM ctest-vn2-vm1-15962325 2025-08-28 18:39:35,016 - INFO - Deleting VM ctest-vn1-vm1-07671375 2025-08-28 18:39:35,114 - INFO - Deleting VN ctest-vn2-91597116 2025-08-28 18:39:35,167 - DEBUG - VN 88b910f0-20f2-495c-9eea-1ed3b3efdea7 still in use: Unable to complete operation on network 88b910f0-20f2-495c-9eea-1ed3b3efdea7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bcfbd8d8-b8c3-44f7-9193-fd8cc815881e'] 2025-08-28 18:39:35,167 - WARNING - Deleting VN ctest-vn2-91597116 failed..Will retry 2025-08-28 18:39:37,277 - DEBUG - Response for deleting network () 2025-08-28 18:39:37,277 - INFO - Deleting VN ctest-vn1-78126381 2025-08-28 18:39:37,387 - DEBUG - Response for deleting network () 2025-08-28 18:39:37,652 - DEBUG - No XMPP flaps were noticed during the test
2025-08-28 18:39:37,652 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-08-28 18:39:37,652 - INFO - -------------------------------------------------------------------------------- 2025-08-28 18:39:38,351 - INFO - Deleted project: ctest-TestRouters-55069381, ID : dcf2cce1-a324-404c-97b5-b28f940526a7