2025-10-13 16:54:17,473 - INFO - Domain Default found not creating 2025-10-13 16:54:17,686 - INFO - Project ctest-TestRouters-64836934 not found, creating it 2025-10-13 16:54:18,222 - INFO - Created Project:ctest-TestRouters-64836934, ID : b5539df5-abdd-45d0-a1e6-8d698f65a35f 2025-10-13 16:54:19,892 - INFO - ================================================================================ 2025-10-13 16:54:19,892 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-13 16:54:19,893 - 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-10-13 16:54:20,162 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-13 16:54:20,162 - INFO - Initial checks done. Running the testcase now 2025-10-13 16:54:20,162 - INFO - 2025-10-13 16:54:20,824 - DEBUG - Response for create_network : {'network': {'id': 'bc682921-9e67-44ee-aec3-b040992d15ee', 'name': 'ctest-vn1-88203079', 'tenant_id': 'b5539df5abdd45d0a1e68d698f65a35f', 'project_id': 'b5539df5abdd45d0a1e68d698f65a35f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-64836934', 'ctest-vn1-88203079'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:54:21,005 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa6f28c2-33b3-4668-9bae-7af21c1f847c', 'name': '', 'tenant_id': 'b5539df5abdd45d0a1e68d698f65a35f', 'network_id': 'bc682921-9e67-44ee-aec3-b040992d15ee', 'ip_version': 4, 'cidr': '222.145.140.192/26', 'allocation_pools': [{'start': '222.145.140.194', 'end': '222.145.140.254'}], 'gateway_ip': '222.145.140.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.145.140.194', 'tags': [], 'project_id': 'b5539df5abdd45d0a1e68d698f65a35f'}} 2025-10-13 16:54:21,028 - INFO - Created VN ctest-vn1-88203079 2025-10-13 16:54:21,079 - DEBUG - VN ctest-vn1-88203079 UUID is bc682921-9e67-44ee-aec3-b040992d15ee 2025-10-13 16:54:21,398 - DEBUG - Response for create_network : {'network': {'id': 'c1c18ae5-eb79-4eab-a3ed-b2500d234a90', 'name': 'ctest-vn2-70198809', 'tenant_id': 'b5539df5abdd45d0a1e68d698f65a35f', 'project_id': 'b5539df5abdd45d0a1e68d698f65a35f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-64836934', 'ctest-vn2-70198809'], 'port_security_enabled': True, 'description': ''}} 2025-10-13 16:54:21,627 - DEBUG - Response for create_subnet : {'subnet': {'id': '59925dd3-7b32-442f-9ec1-ce2e0d1e1f79', 'name': '', 'tenant_id': 'b5539df5abdd45d0a1e68d698f65a35f', 'network_id': 'c1c18ae5-eb79-4eab-a3ed-b2500d234a90', 'ip_version': 4, 'cidr': '191.180.126.192/26', 'allocation_pools': [{'start': '191.180.126.194', 'end': '191.180.126.254'}], 'gateway_ip': '191.180.126.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.180.126.194', 'tags': [], 'project_id': 'b5539df5abdd45d0a1e68d698f65a35f'}} 2025-10-13 16:54:21,647 - INFO - Created VN ctest-vn2-70198809 2025-10-13 16:54:21,699 - DEBUG - VN ctest-vn2-70198809 UUID is c1c18ae5-eb79-4eab-a3ed-b2500d234a90 2025-10-13 16:54:21,893 - DEBUG - Services list from nova: [, , ] 2025-10-13 16:54:22,981 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4308-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4308-1) 2025-10-13 16:54:24,402 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4308-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4308-1) 2025-10-13 16:54:24,487 - INFO - Adding interface with subnet_id fa6f28c2-33b3-4668-9bae-7af21c1f847c, port_id None to router d424e800-edd7-4dde-8ead-509d826ef43d 2025-10-13 16:54:24,897 - INFO - Waiting for VM ctest-vn1-vm1-00220853 to be up.. 2025-10-13 16:54:25,096 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-13 16:54:30,183 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:54:30,184 - INFO - VM name : ctest-vn1-vm1-00220853 2025-10-13 16:54:30,271 - DEBUG - VM ctest-vn1-vm1-00220853 ID is 38e05681-f53a-4438-ad55-86c7100f8bde 2025-10-13 16:54:30,293 - DEBUG - VM ctest-vn1-vm1-00220853 launched on Node cn-jenkins-deploy-platform-ansible-os-4308-1 2025-10-13 16:54:30,385 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/38e05681-f53a-4438-ad55-86c7100f8bde 2025-10-13 16:54:30,693 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/38e05681-f53a-4438-ad55-86c7100f8bde 2025-10-13 16:54:30,726 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/6a663458-46f6-4f0d-b185-8bc5225f28b9 2025-10-13 16:54:33,999 - 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 1032ms') 2025-10-13 16:54:33,999 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00220853 failed! 2025-10-13 16:54:34,055 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-64836934:ctest-vn1-88203079 is 222.145.140.193 and allocation pool is NOT set 2025-10-13 16:54:36,112 - 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=5.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.980 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.980/3.285/5.591/2.305 ms') 2025-10-13 16:54:36,112 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-00220853 passed 2025-10-13 16:54:36,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:54:36,267 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-00220853, IP 222.145.140.195, Port 22 2025-10-13 16:54:36,437 - DEBUG - VM ctest-vn1-vm1-00220853 is ready for SSH connections 2025-10-13 16:54:36,437 - INFO - Waiting for VM ctest-vn2-vm1-84843883 to be up.. 2025-10-13 16:54:36,534 - DEBUG - VM is in ACTIVE state now 2025-10-13 16:54:36,534 - INFO - VM name : ctest-vn2-vm1-84843883 2025-10-13 16:54:36,622 - DEBUG - VM ctest-vn2-vm1-84843883 ID is 98e22d9a-248e-4181-858d-5c519679526d 2025-10-13 16:54:36,622 - DEBUG - VM ctest-vn2-vm1-84843883 launched on Node cn-jenkins-deploy-platform-ansible-os-4308-1 2025-10-13 16:54:36,699 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/98e22d9a-248e-4181-858d-5c519679526d 2025-10-13 16:54:36,706 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/e2cd6c05-d647-439f-b75c-108532770148 2025-10-13 16:54:37,954 - 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.59 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.459 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.459/2.525/4.591/2.066 ms') 2025-10-13 16:54:37,954 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-84843883 passed 2025-10-13 16:54:38,103 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:54:38,103 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-84843883, IP 191.180.126.195, Port 22 2025-10-13 16:54:38,273 - DEBUG - VM ctest-vn2-vm1-84843883 is ready for SSH connections 2025-10-13 16:54:38,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:54:38,273 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.180.126.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-13 16:54:38,273 - DEBUG - ping -s 56 -c 3 -W 1 191.180.126.195 2025-10-13 16:54:43,423 - DEBUG - PING 191.180.126.195 (191.180.126.195): 56 data bytes --- 191.180.126.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 16:54:43,423 - WARNING - Ping to IP 191.180.126.195 from VM ctest-vn1-vm1-00220853 failed 2025-10-13 16:54:43,423 - INFO - Adding interface with subnet_id 59925dd3-7b32-442f-9ec1-ce2e0d1e1f79, port_id None to router d424e800-edd7-4dde-8ead-509d826ef43d 2025-10-13 16:54:43,709 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:54:43,710 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.180.126.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-13 16:54:43,710 - DEBUG - ping -s 56 -c 3 -W 1 191.180.126.195 2025-10-13 16:54:46,935 - DEBUG - PING 191.180.126.195 (191.180.126.195): 56 data bytes 64 bytes from 191.180.126.195: seq=1 ttl=63 time=4.246 ms 64 bytes from 191.180.126.195: seq=2 ttl=63 time=1.160 ms --- 191.180.126.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.160/2.703/4.246 ms 2025-10-13 16:54:46,935 - WARNING - Ping to IP 191.180.126.195 from VM ctest-vn1-vm1-00220853 failed 2025-10-13 16:54:47,936 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.180.126.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-13 16:54:47,936 - DEBUG - ping -s 56 -c 3 -W 1 191.180.126.195 2025-10-13 16:54:50,170 - DEBUG - PING 191.180.126.195 (191.180.126.195): 56 data bytes 64 bytes from 191.180.126.195: seq=0 ttl=63 time=1.833 ms 64 bytes from 191.180.126.195: seq=1 ttl=63 time=0.777 ms 64 bytes from 191.180.126.195: seq=2 ttl=63 time=0.910 ms --- 191.180.126.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.777/1.173/1.833 ms 2025-10-13 16:54:50,171 - INFO - Ping to IP 191.180.126.195 from VM ctest-vn1-vm1-00220853 passed 2025-10-13 16:54:50,171 - INFO - Deleting interface with subnet_id fa6f28c2-33b3-4668-9bae-7af21c1f847c, port_id None from router d424e800-edd7-4dde-8ead-509d826ef43d 2025-10-13 16:54:50,339 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:54:50,340 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.180.126.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-13 16:54:50,340 - DEBUG - ping -s 56 -c 3 -W 1 191.180.126.195 2025-10-13 16:54:53,573 - DEBUG - PING 191.180.126.195 (191.180.126.195): 56 data bytes --- 191.180.126.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-13 16:54:53,573 - WARNING - Ping to IP 191.180.126.195 from VM ctest-vn1-vm1-00220853 failed 2025-10-13 16:54:53,573 - INFO - Adding interface with subnet_id fa6f28c2-33b3-4668-9bae-7af21c1f847c, port_id None to router d424e800-edd7-4dde-8ead-509d826ef43d 2025-10-13 16:54:53,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-13 16:54:53,847 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 191.180.126.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-13 16:54:53,847 - DEBUG - ping -s 56 -c 3 -W 1 191.180.126.195 2025-10-13 16:54:56,085 - DEBUG - PING 191.180.126.195 (191.180.126.195): 56 data bytes 64 bytes from 191.180.126.195: seq=0 ttl=63 time=1.669 ms 64 bytes from 191.180.126.195: seq=1 ttl=63 time=0.837 ms 64 bytes from 191.180.126.195: seq=2 ttl=63 time=0.944 ms --- 191.180.126.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.837/1.150/1.669 ms 2025-10-13 16:54:56,085 - INFO - Ping to IP 191.180.126.195 from VM ctest-vn1-vm1-00220853 passed 2025-10-13 16:54:56,085 - INFO - Deleting interface with subnet_id 59925dd3-7b32-442f-9ec1-ce2e0d1e1f79, port_id None from router d424e800-edd7-4dde-8ead-509d826ef43d 2025-10-13 16:54:56,233 - INFO - Deleting interface with subnet_id fa6f28c2-33b3-4668-9bae-7af21c1f847c, port_id None from router d424e800-edd7-4dde-8ead-509d826ef43d 2025-10-13 16:54:56,484 - INFO - Deleting VM ctest-vn2-vm1-84843883 2025-10-13 16:54:56,577 - INFO - Deleting VM ctest-vn1-vm1-00220853 2025-10-13 16:54:56,687 - INFO - Deleting VN ctest-vn2-70198809 2025-10-13 16:54:56,741 - DEBUG - VN c1c18ae5-eb79-4eab-a3ed-b2500d234a90 still in use: Unable to complete operation on network c1c18ae5-eb79-4eab-a3ed-b2500d234a90. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-48ae343b-0b87-491e-8032-9ae367084f23'] 2025-10-13 16:54:56,741 - WARNING - Deleting VN ctest-vn2-70198809 failed..Will retry 2025-10-13 16:54:58,882 - DEBUG - Response for deleting network () 2025-10-13 16:54:58,882 - INFO - Deleting VN ctest-vn1-88203079 2025-10-13 16:54:59,002 - DEBUG - Response for deleting network () 2025-10-13 16:54:59,274 - DEBUG - No XMPP flaps were noticed during the test
2025-10-13 16:54:59,274 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:40]
2025-10-13 16:54:59,275 - INFO - -------------------------------------------------------------------------------- 2025-10-13 16:54:59,981 - INFO - Deleted project: ctest-TestRouters-64836934, ID : b5539df5-abdd-45d0-a1e6-8d698f65a35f