2025-07-23 14:55:45,098 - INFO - Domain Default found not creating 2025-07-23 14:55:45,380 - INFO - Project ctest-TestRouters-93145445 not found, creating it 2025-07-23 14:55:45,861 - INFO - Created Project:ctest-TestRouters-93145445, ID : 3b7b8a1b-be0e-44ed-9a39-a8f23b478933 2025-07-23 14:55:47,382 - INFO - ================================================================================ 2025-07-23 14:55:47,382 - INFO - STARTING TEST : test_basic_router_behavior 2025-07-23 14:55:47,382 - 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-07-23 14:55:47,640 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.25': '0'}} with 2025-07-23 14:55:47,640 - INFO - Initial checks done. Running the testcase now 2025-07-23 14:55:47,641 - INFO - 2025-07-23 14:55:48,234 - DEBUG - Response for create_network : {'network': {'id': '555a78ff-628a-4dfd-8902-758849c6e590', 'name': 'ctest-vn1-11229006', 'tenant_id': '3b7b8a1bbe0e44ed9a39a8f23b478933', 'project_id': '3b7b8a1bbe0e44ed9a39a8f23b478933', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-93145445', 'ctest-vn1-11229006'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 14:55:48,476 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1446802-85c8-4fbe-9598-cf8281d441b1', 'name': '', 'tenant_id': '3b7b8a1bbe0e44ed9a39a8f23b478933', 'network_id': '555a78ff-628a-4dfd-8902-758849c6e590', 'ip_version': 4, 'cidr': '93.108.89.0/26', 'allocation_pools': [{'start': '93.108.89.2', 'end': '93.108.89.62'}], 'gateway_ip': '93.108.89.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.108.89.2', 'tags': [], 'project_id': '3b7b8a1bbe0e44ed9a39a8f23b478933'}} 2025-07-23 14:55:48,498 - INFO - Created VN ctest-vn1-11229006 2025-07-23 14:55:48,553 - DEBUG - VN ctest-vn1-11229006 UUID is 555a78ff-628a-4dfd-8902-758849c6e590 2025-07-23 14:55:48,886 - DEBUG - Response for create_network : {'network': {'id': 'f81c91c3-3fac-4544-9e75-e87edbf77efb', 'name': 'ctest-vn2-09267488', 'tenant_id': '3b7b8a1bbe0e44ed9a39a8f23b478933', 'project_id': '3b7b8a1bbe0e44ed9a39a8f23b478933', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-93145445', 'ctest-vn2-09267488'], 'port_security_enabled': True, 'description': ''}} 2025-07-23 14:55:49,073 - DEBUG - Response for create_subnet : {'subnet': {'id': '501b2a52-3bc9-4b1d-99e8-40a487b2f242', 'name': '', 'tenant_id': '3b7b8a1bbe0e44ed9a39a8f23b478933', 'network_id': 'f81c91c3-3fac-4544-9e75-e87edbf77efb', 'ip_version': 4, 'cidr': '153.96.252.192/26', 'allocation_pools': [{'start': '153.96.252.194', 'end': '153.96.252.254'}], 'gateway_ip': '153.96.252.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '153.96.252.194', 'tags': [], 'project_id': '3b7b8a1bbe0e44ed9a39a8f23b478933'}} 2025-07-23 14:55:49,093 - INFO - Created VN ctest-vn2-09267488 2025-07-23 14:55:49,149 - DEBUG - VN ctest-vn2-09267488 UUID is f81c91c3-3fac-4544-9e75-e87edbf77efb 2025-07-23 14:55:49,333 - DEBUG - Services list from nova: [, , ] 2025-07-23 14:55:50,346 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3705-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3705-1) 2025-07-23 14:55:51,614 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3705-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3705-1) 2025-07-23 14:55:51,733 - INFO - Adding interface with subnet_id d1446802-85c8-4fbe-9598-cf8281d441b1, port_id None to router 6cd143d0-fbef-4c63-a06f-7ab1ad442f20 2025-07-23 14:55:52,084 - INFO - Waiting for VM ctest-vn1-vm1-05566356 to be up.. 2025-07-23 14:55:52,197 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-07-23 14:55:57,283 - DEBUG - VM is in ACTIVE state now 2025-07-23 14:55:57,283 - INFO - VM name : ctest-vn1-vm1-05566356 2025-07-23 14:55:57,378 - DEBUG - VM ctest-vn1-vm1-05566356 ID is ab88b049-667d-47fb-87cb-7eb2f59c21f2 2025-07-23 14:55:57,403 - DEBUG - VM ctest-vn1-vm1-05566356 launched on Node cn-jenkins-deploy-platform-ansible-os-3705-1 2025-07-23 14:55:57,500 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/ab88b049-667d-47fb-87cb-7eb2f59c21f2 2025-07-23 14:55:57,795 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/ab88b049-667d-47fb-87cb-7eb2f59c21f2 2025-07-23 14:55:57,827 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/1ed97f31-4043-4a0e-a28d-f7cda459a2dd 2025-07-23 14:56:01,100 - 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 1010ms') 2025-07-23 14:56:01,100 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05566356 failed! 2025-07-23 14:56:01,157 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-93145445:ctest-vn1-11229006 is 93.108.89.1 and allocation pool is NOT set 2025-07-23 14:56:03,215 - 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.29 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.13 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 = 1.129/2.708/4.288/1.579 ms') 2025-07-23 14:56:03,216 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05566356 passed 2025-07-23 14:56:03,369 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 14:56:03,369 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05566356, IP 93.108.89.3, Port 22 2025-07-23 14:56:03,524 - DEBUG - VM ctest-vn1-vm1-05566356 is ready for SSH connections 2025-07-23 14:56:03,524 - INFO - Waiting for VM ctest-vn2-vm1-46898721 to be up.. 2025-07-23 14:56:03,599 - DEBUG - VM is in ACTIVE state now 2025-07-23 14:56:03,599 - INFO - VM name : ctest-vn2-vm1-46898721 2025-07-23 14:56:03,673 - DEBUG - VM ctest-vn2-vm1-46898721 ID is 87035897-a052-40ca-99df-ea4fe812a6f6 2025-07-23 14:56:03,674 - DEBUG - VM ctest-vn2-vm1-46898721 launched on Node cn-jenkins-deploy-platform-ansible-os-3705-1 2025-07-23 14:56:03,752 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine/87035897-a052-40ca-99df-ea4fe812a6f6 2025-07-23 14:56:03,762 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-machine-interface/3d145637-7c4e-4af3-ab45-253e4f883727 2025-07-23 14:56:05,006 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.698 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.698/1.710/2.723/1.012 ms') 2025-07-23 14:56:05,006 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-46898721 passed 2025-07-23 14:56:05,161 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 14:56:05,161 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-46898721, IP 153.96.252.195, Port 22 2025-07-23 14:56:05,320 - DEBUG - VM ctest-vn2-vm1-46898721 is ready for SSH connections 2025-07-23 14:56:05,320 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 14:56:05,320 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.96.252.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-07-23 14:56:05,321 - DEBUG - ping -s 56 -c 3 -W 1 153.96.252.195 2025-07-23 14:56:09,966 - DEBUG - PING 153.96.252.195 (153.96.252.195): 56 data bytes --- 153.96.252.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 14:56:09,966 - WARNING - Ping to IP 153.96.252.195 from VM ctest-vn1-vm1-05566356 failed 2025-07-23 14:56:09,966 - INFO - Adding interface with subnet_id 501b2a52-3bc9-4b1d-99e8-40a487b2f242, port_id None to router 6cd143d0-fbef-4c63-a06f-7ab1ad442f20 2025-07-23 14:56:10,259 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 14:56:10,259 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.96.252.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-07-23 14:56:10,259 - DEBUG - ping -s 56 -c 3 -W 1 153.96.252.195 2025-07-23 14:56:13,496 - DEBUG - PING 153.96.252.195 (153.96.252.195): 56 data bytes 64 bytes from 153.96.252.195: seq=1 ttl=63 time=3.805 ms 64 bytes from 153.96.252.195: seq=2 ttl=63 time=0.965 ms --- 153.96.252.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.965/2.385/3.805 ms 2025-07-23 14:56:13,496 - WARNING - Ping to IP 153.96.252.195 from VM ctest-vn1-vm1-05566356 failed 2025-07-23 14:56:14,497 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.96.252.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-07-23 14:56:14,497 - DEBUG - ping -s 56 -c 3 -W 1 153.96.252.195 2025-07-23 14:56:16,727 - DEBUG - PING 153.96.252.195 (153.96.252.195): 56 data bytes 64 bytes from 153.96.252.195: seq=0 ttl=63 time=2.153 ms 64 bytes from 153.96.252.195: seq=1 ttl=63 time=0.744 ms 64 bytes from 153.96.252.195: seq=2 ttl=63 time=0.976 ms --- 153.96.252.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.744/1.291/2.153 ms 2025-07-23 14:56:16,727 - INFO - Ping to IP 153.96.252.195 from VM ctest-vn1-vm1-05566356 passed 2025-07-23 14:56:16,727 - INFO - Deleting interface with subnet_id d1446802-85c8-4fbe-9598-cf8281d441b1, port_id None from router 6cd143d0-fbef-4c63-a06f-7ab1ad442f20 2025-07-23 14:56:16,887 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 14:56:16,887 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.96.252.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-07-23 14:56:16,887 - DEBUG - ping -s 56 -c 3 -W 1 153.96.252.195 2025-07-23 14:56:20,099 - DEBUG - PING 153.96.252.195 (153.96.252.195): 56 data bytes --- 153.96.252.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-07-23 14:56:20,099 - WARNING - Ping to IP 153.96.252.195 from VM ctest-vn1-vm1-05566356 failed 2025-07-23 14:56:20,099 - INFO - Adding interface with subnet_id d1446802-85c8-4fbe-9598-cf8281d441b1, port_id None to router 6cd143d0-fbef-4c63-a06f-7ab1ad442f20 2025-07-23 14:56:20,379 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-23 14:56:20,379 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 153.96.252.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.129, gateway password: c0ntrail123 2025-07-23 14:56:20,379 - DEBUG - ping -s 56 -c 3 -W 1 153.96.252.195 2025-07-23 14:56:22,596 - DEBUG - PING 153.96.252.195 (153.96.252.195): 56 data bytes 64 bytes from 153.96.252.195: seq=0 ttl=63 time=1.566 ms 64 bytes from 153.96.252.195: seq=1 ttl=63 time=0.916 ms 64 bytes from 153.96.252.195: seq=2 ttl=63 time=0.966 ms --- 153.96.252.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.916/1.149/1.566 ms 2025-07-23 14:56:22,596 - INFO - Ping to IP 153.96.252.195 from VM ctest-vn1-vm1-05566356 passed 2025-07-23 14:56:22,596 - INFO - Deleting interface with subnet_id 501b2a52-3bc9-4b1d-99e8-40a487b2f242, port_id None from router 6cd143d0-fbef-4c63-a06f-7ab1ad442f20 2025-07-23 14:56:22,747 - INFO - Deleting interface with subnet_id d1446802-85c8-4fbe-9598-cf8281d441b1, port_id None from router 6cd143d0-fbef-4c63-a06f-7ab1ad442f20 2025-07-23 14:56:22,958 - INFO - Deleting VM ctest-vn2-vm1-46898721 2025-07-23 14:56:23,036 - INFO - Deleting VM ctest-vn1-vm1-05566356 2025-07-23 14:56:23,120 - INFO - Deleting VN ctest-vn2-09267488 2025-07-23 14:56:23,164 - DEBUG - VN f81c91c3-3fac-4544-9e75-e87edbf77efb still in use: Unable to complete operation on network f81c91c3-3fac-4544-9e75-e87edbf77efb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c90ce9ca-f48a-470e-8492-b3e23d4fb228'] 2025-07-23 14:56:23,164 - WARNING - Deleting VN ctest-vn2-09267488 failed..Will retry 2025-07-23 14:56:25,286 - DEBUG - Response for deleting network () 2025-07-23 14:56:25,286 - INFO - Deleting VN ctest-vn1-11229006 2025-07-23 14:56:25,413 - DEBUG - Response for deleting network () 2025-07-23 14:56:25,675 - DEBUG - No XMPP flaps were noticed during the test
2025-07-23 14:56:25,675 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38]
2025-07-23 14:56:25,675 - INFO - -------------------------------------------------------------------------------- 2025-07-23 14:56:26,373 - INFO - Deleted project: ctest-TestRouters-93145445, ID : 3b7b8a1b-be0e-44ed-9a39-a8f23b478933