2025-09-05 12:43:41,354 - INFO - Domain Default found not creating 2025-09-05 12:43:41,492 - INFO - Project ctest-TestRouters-70432047 not found, creating it 2025-09-05 12:43:41,948 - INFO - Created Project:ctest-TestRouters-70432047, ID : 48550deb-d22a-4e95-9a4d-849597b26e22 2025-09-05 12:43:43,587 - INFO - ================================================================================ 2025-09-05 12:43:43,587 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-05 12:43:43,587 - 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-05 12:43:43,843 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-09-05 12:43:43,843 - INFO - Initial checks done. Running the testcase now 2025-09-05 12:43:43,843 - INFO - 2025-09-05 12:43:44,468 - DEBUG - Response for create_network : {'network': {'id': 'd02d93b7-2438-443b-8bf0-53553fa50b17', 'name': 'ctest-vn1-96539056', 'tenant_id': '48550debd22a4e959a4d849597b26e22', 'project_id': '48550debd22a4e959a4d849597b26e22', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-70432047', 'ctest-vn1-96539056'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 12:43:44,708 - DEBUG - Response for create_subnet : {'subnet': {'id': '446b9a31-969b-44f6-b6e7-57564b413150', 'name': '', 'tenant_id': '48550debd22a4e959a4d849597b26e22', 'network_id': 'd02d93b7-2438-443b-8bf0-53553fa50b17', 'ip_version': 4, 'cidr': '66.122.120.64/26', 'allocation_pools': [{'start': '66.122.120.66', 'end': '66.122.120.126'}], 'gateway_ip': '66.122.120.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.122.120.66', 'tags': [], 'project_id': '48550debd22a4e959a4d849597b26e22'}} 2025-09-05 12:43:44,731 - INFO - Created VN ctest-vn1-96539056 2025-09-05 12:43:44,785 - DEBUG - VN ctest-vn1-96539056 UUID is d02d93b7-2438-443b-8bf0-53553fa50b17 2025-09-05 12:43:45,141 - DEBUG - Response for create_network : {'network': {'id': 'e997dd25-b80a-463d-9b98-eb756819c0e7', 'name': 'ctest-vn2-92850893', 'tenant_id': '48550debd22a4e959a4d849597b26e22', 'project_id': '48550debd22a4e959a4d849597b26e22', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-70432047', 'ctest-vn2-92850893'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 12:43:45,374 - DEBUG - Response for create_subnet : {'subnet': {'id': '85548555-5494-43b8-b35f-a8a15c50d3d2', 'name': '', 'tenant_id': '48550debd22a4e959a4d849597b26e22', 'network_id': 'e997dd25-b80a-463d-9b98-eb756819c0e7', 'ip_version': 4, 'cidr': '16.157.143.192/26', 'allocation_pools': [{'start': '16.157.143.194', 'end': '16.157.143.254'}], 'gateway_ip': '16.157.143.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.157.143.194', 'tags': [], 'project_id': '48550debd22a4e959a4d849597b26e22'}} 2025-09-05 12:43:45,391 - INFO - Created VN ctest-vn2-92850893 2025-09-05 12:43:45,441 - DEBUG - VN ctest-vn2-92850893 UUID is e997dd25-b80a-463d-9b98-eb756819c0e7 2025-09-05 12:43:45,644 - DEBUG - Services list from nova: [, , ] 2025-09-05 12:43:46,799 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4024-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4024-1) 2025-09-05 12:43:48,159 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4024-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4024-1) 2025-09-05 12:43:48,245 - INFO - Adding interface with subnet_id 446b9a31-969b-44f6-b6e7-57564b413150, port_id None to router 4d1401d1-5f7b-4abb-a110-813c22cf3b3d 2025-09-05 12:43:48,531 - INFO - Waiting for VM ctest-vn1-vm1-01817024 to be up.. 2025-09-05 12:43:48,621 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-05 12:43:53,701 - DEBUG - VM is in ACTIVE state now 2025-09-05 12:43:53,701 - INFO - VM name : ctest-vn1-vm1-01817024 2025-09-05 12:43:53,775 - DEBUG - VM ctest-vn1-vm1-01817024 ID is 4d1d3dc3-85a9-4263-b080-d2b7b8a21551 2025-09-05 12:43:53,794 - DEBUG - VM ctest-vn1-vm1-01817024 launched on Node cn-jenkins-deploy-platform-ansible-os-4024-1 2025-09-05 12:43:53,869 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4d1d3dc3-85a9-4263-b080-d2b7b8a21551 2025-09-05 12:43:54,229 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4d1d3dc3-85a9-4263-b080-d2b7b8a21551 2025-09-05 12:43:54,259 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/38368990-a2cd-4698-91aa-92e16e581151 2025-09-05 12:43:57,524 - 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 1011ms') 2025-09-05 12:43:57,524 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01817024 failed! 2025-09-05 12:43:57,577 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-70432047:ctest-vn1-96539056 is 66.122.120.65 and allocation pool is NOT set 2025-09-05 12:43:59,651 - 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=9.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.08 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 = 4.080/6.968/9.856/2.888 ms') 2025-09-05 12:43:59,651 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-01817024 passed 2025-09-05 12:43:59,809 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:43:59,809 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-01817024, IP 66.122.120.67, Port 22 2025-09-05 12:43:59,982 - DEBUG - VM ctest-vn1-vm1-01817024 is ready for SSH connections 2025-09-05 12:43:59,983 - INFO - Waiting for VM ctest-vn2-vm1-11182573 to be up.. 2025-09-05 12:44:00,069 - DEBUG - VM is in ACTIVE state now 2025-09-05 12:44:00,069 - INFO - VM name : ctest-vn2-vm1-11182573 2025-09-05 12:44:00,150 - DEBUG - VM ctest-vn2-vm1-11182573 ID is 4872ae3f-28f4-4c3c-bcbe-7f087aa06baf 2025-09-05 12:44:00,150 - DEBUG - VM ctest-vn2-vm1-11182573 launched on Node cn-jenkins-deploy-platform-ansible-os-4024-1 2025-09-05 12:44:00,229 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/4872ae3f-28f4-4c3c-bcbe-7f087aa06baf 2025-09-05 12:44:00,239 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/3bccf83f-7232-4dec-87bf-7db34df1f604 2025-09-05 12:44:01,495 - 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=4.60 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.85 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 = 1.850/3.227/4.604/1.377 ms') 2025-09-05 12:44:01,495 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-11182573 passed 2025-09-05 12:44:01,641 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:44:01,641 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-11182573, IP 16.157.143.195, Port 22 2025-09-05 12:44:01,807 - DEBUG - VM ctest-vn2-vm1-11182573 is ready for SSH connections 2025-09-05 12:44:01,807 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:44:01,807 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.157.143.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-05 12:44:01,808 - DEBUG - ping -s 56 -c 3 -W 1 16.157.143.195 2025-09-05 12:44:06,886 - DEBUG - PING 16.157.143.195 (16.157.143.195): 56 data bytes --- 16.157.143.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-05 12:44:06,886 - WARNING - Ping to IP 16.157.143.195 from VM ctest-vn1-vm1-01817024 failed 2025-09-05 12:44:06,886 - INFO - Adding interface with subnet_id 85548555-5494-43b8-b35f-a8a15c50d3d2, port_id None to router 4d1401d1-5f7b-4abb-a110-813c22cf3b3d 2025-09-05 12:44:07,152 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:44:07,152 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.157.143.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-05 12:44:07,152 - DEBUG - ping -s 56 -c 3 -W 1 16.157.143.195 2025-09-05 12:44:10,380 - DEBUG - PING 16.157.143.195 (16.157.143.195): 56 data bytes 64 bytes from 16.157.143.195: seq=1 ttl=63 time=2.901 ms 64 bytes from 16.157.143.195: seq=2 ttl=63 time=0.921 ms --- 16.157.143.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.921/1.911/2.901 ms 2025-09-05 12:44:10,380 - WARNING - Ping to IP 16.157.143.195 from VM ctest-vn1-vm1-01817024 failed 2025-09-05 12:44:11,381 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.157.143.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-05 12:44:11,381 - DEBUG - ping -s 56 -c 3 -W 1 16.157.143.195 2025-09-05 12:44:13,599 - DEBUG - PING 16.157.143.195 (16.157.143.195): 56 data bytes 64 bytes from 16.157.143.195: seq=0 ttl=63 time=1.444 ms 64 bytes from 16.157.143.195: seq=1 ttl=63 time=0.961 ms 64 bytes from 16.157.143.195: seq=2 ttl=63 time=0.819 ms --- 16.157.143.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/1.074/1.444 ms 2025-09-05 12:44:13,599 - INFO - Ping to IP 16.157.143.195 from VM ctest-vn1-vm1-01817024 passed 2025-09-05 12:44:13,599 - INFO - Deleting interface with subnet_id 446b9a31-969b-44f6-b6e7-57564b413150, port_id None from router 4d1401d1-5f7b-4abb-a110-813c22cf3b3d 2025-09-05 12:44:13,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:44:13,829 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.157.143.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-05 12:44:13,829 - DEBUG - ping -s 56 -c 3 -W 1 16.157.143.195 2025-09-05 12:44:17,063 - DEBUG - PING 16.157.143.195 (16.157.143.195): 56 data bytes --- 16.157.143.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-05 12:44:17,063 - WARNING - Ping to IP 16.157.143.195 from VM ctest-vn1-vm1-01817024 failed 2025-09-05 12:44:17,063 - INFO - Adding interface with subnet_id 446b9a31-969b-44f6-b6e7-57564b413150, port_id None to router 4d1401d1-5f7b-4abb-a110-813c22cf3b3d 2025-09-05 12:44:17,323 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 12:44:17,323 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 16.157.143.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-09-05 12:44:17,323 - DEBUG - ping -s 56 -c 3 -W 1 16.157.143.195 2025-09-05 12:44:19,554 - DEBUG - PING 16.157.143.195 (16.157.143.195): 56 data bytes 64 bytes from 16.157.143.195: seq=0 ttl=63 time=1.559 ms 64 bytes from 16.157.143.195: seq=1 ttl=63 time=0.940 ms 64 bytes from 16.157.143.195: seq=2 ttl=63 time=0.875 ms --- 16.157.143.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.875/1.124/1.559 ms 2025-09-05 12:44:19,554 - INFO - Ping to IP 16.157.143.195 from VM ctest-vn1-vm1-01817024 passed 2025-09-05 12:44:19,554 - INFO - Deleting interface with subnet_id 85548555-5494-43b8-b35f-a8a15c50d3d2, port_id None from router 4d1401d1-5f7b-4abb-a110-813c22cf3b3d 2025-09-05 12:44:19,693 - INFO - Deleting interface with subnet_id 446b9a31-969b-44f6-b6e7-57564b413150, port_id None from router 4d1401d1-5f7b-4abb-a110-813c22cf3b3d 2025-09-05 12:44:19,878 - INFO - Deleting VM ctest-vn2-vm1-11182573 2025-09-05 12:44:19,953 - INFO - Deleting VM ctest-vn1-vm1-01817024 2025-09-05 12:44:20,030 - INFO - Deleting VN ctest-vn2-92850893 2025-09-05 12:44:20,070 - DEBUG - VN e997dd25-b80a-463d-9b98-eb756819c0e7 still in use: Unable to complete operation on network e997dd25-b80a-463d-9b98-eb756819c0e7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-6375545e-e94f-441d-b439-638555444676'] 2025-09-05 12:44:20,070 - WARNING - Deleting VN ctest-vn2-92850893 failed..Will retry 2025-09-05 12:44:22,175 - DEBUG - Response for deleting network () 2025-09-05 12:44:22,175 - INFO - Deleting VN ctest-vn1-96539056 2025-09-05 12:44:22,278 - DEBUG - Response for deleting network () 2025-09-05 12:44:22,535 - DEBUG - No XMPP flaps were noticed during the test
2025-09-05 12:44:22,535 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-09-05 12:44:22,535 - INFO - -------------------------------------------------------------------------------- 2025-09-05 12:44:23,250 - INFO - Deleted project: ctest-TestRouters-70432047, ID : 48550deb-d22a-4e95-9a4d-849597b26e22