2025-10-30 09:45:07,762 - INFO - Domain Default found not creating 2025-10-30 09:45:07,905 - INFO - Project ctest-TestRouters-68020358 not found, creating it 2025-10-30 09:45:08,368 - INFO - Created Project:ctest-TestRouters-68020358, ID : 48b6cea3-c733-4e18-8ef5-be07e3048e6b 2025-10-30 09:45:09,769 - INFO - ================================================================================ 2025-10-30 09:45:09,769 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-30 09:45:09,769 - 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-30 09:45:10,019 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.5': '0'}} with 2025-10-30 09:45:10,019 - INFO - Initial checks done. Running the testcase now 2025-10-30 09:45:10,019 - INFO - 2025-10-30 09:45:10,555 - DEBUG - Response for create_network : {'network': {'id': '40d922f3-3be3-40c0-9792-1e706c27122c', 'name': 'ctest-vn1-54273222', 'tenant_id': '48b6cea3c7334e188ef5be07e3048e6b', 'project_id': '48b6cea3c7334e188ef5be07e3048e6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-68020358', 'ctest-vn1-54273222'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:45:10,726 - DEBUG - Response for create_subnet : {'subnet': {'id': '398b1b97-3a31-4f14-8f21-cf10093aadf2', 'name': '', 'tenant_id': '48b6cea3c7334e188ef5be07e3048e6b', 'network_id': '40d922f3-3be3-40c0-9792-1e706c27122c', 'ip_version': 4, 'cidr': '58.44.182.0/26', 'allocation_pools': [{'start': '58.44.182.2', 'end': '58.44.182.62'}], 'gateway_ip': '58.44.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.44.182.2', 'tags': [], 'project_id': '48b6cea3c7334e188ef5be07e3048e6b'}} 2025-10-30 09:45:10,743 - INFO - Created VN ctest-vn1-54273222 2025-10-30 09:45:10,797 - DEBUG - VN ctest-vn1-54273222 UUID is 40d922f3-3be3-40c0-9792-1e706c27122c 2025-10-30 09:45:11,081 - DEBUG - Response for create_network : {'network': {'id': 'c1249aa2-0340-4912-838f-4c4df5e1baad', 'name': 'ctest-vn2-33204072', 'tenant_id': '48b6cea3c7334e188ef5be07e3048e6b', 'project_id': '48b6cea3c7334e188ef5be07e3048e6b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-68020358', 'ctest-vn2-33204072'], 'port_security_enabled': True, 'description': ''}} 2025-10-30 09:45:11,285 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c1c0b97-2857-4a0d-b41c-9ccf9f1aaf24', 'name': '', 'tenant_id': '48b6cea3c7334e188ef5be07e3048e6b', 'network_id': 'c1249aa2-0340-4912-838f-4c4df5e1baad', 'ip_version': 4, 'cidr': '110.208.143.192/26', 'allocation_pools': [{'start': '110.208.143.194', 'end': '110.208.143.254'}], 'gateway_ip': '110.208.143.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.208.143.194', 'tags': [], 'project_id': '48b6cea3c7334e188ef5be07e3048e6b'}} 2025-10-30 09:45:11,306 - INFO - Created VN ctest-vn2-33204072 2025-10-30 09:45:11,361 - DEBUG - VN ctest-vn2-33204072 UUID is c1249aa2-0340-4912-838f-4c4df5e1baad 2025-10-30 09:45:11,580 - DEBUG - Services list from nova: [, , ] 2025-10-30 09:45:12,547 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4539-1) 2025-10-30 09:45:13,703 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4539-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4539-1) 2025-10-30 09:45:13,773 - INFO - Adding interface with subnet_id 398b1b97-3a31-4f14-8f21-cf10093aadf2, port_id None to router 7a6ba993-d200-47b0-a4cc-55f12dd4a59a 2025-10-30 09:45:14,044 - INFO - Waiting for VM ctest-vn1-vm1-08048239 to be up.. 2025-10-30 09:45:14,133 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-30 09:45:19,220 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:45:19,220 - INFO - VM name : ctest-vn1-vm1-08048239 2025-10-30 09:45:19,311 - DEBUG - VM ctest-vn1-vm1-08048239 ID is b8bfae75-eb94-4d58-8941-315bc3f98520 2025-10-30 09:45:19,332 - DEBUG - VM ctest-vn1-vm1-08048239 launched on Node cn-jenkins-deploy-platform-ansible-os-4539-1 2025-10-30 09:45:19,403 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b8bfae75-eb94-4d58-8941-315bc3f98520 2025-10-30 09:45:19,697 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b8bfae75-eb94-4d58-8941-315bc3f98520 2025-10-30 09:45:19,729 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/cc609bfd-562e-45cc-98a7-8de219091a8c 2025-10-30 09:45:22,983 - 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 1015ms') 2025-10-30 09:45:22,983 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08048239 failed! 2025-10-30 09:45:23,037 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-68020358:ctest-vn1-54273222 is 58.44.182.1 and allocation pool is NOT set 2025-10-30 09:45:25,100 - 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.68 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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.422/1.550/2.678/1.128 ms') 2025-10-30 09:45:25,100 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-08048239 passed 2025-10-30 09:45:25,249 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:45:25,249 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-08048239, IP 58.44.182.3, Port 22 2025-10-30 09:45:25,400 - DEBUG - VM ctest-vn1-vm1-08048239 is ready for SSH connections 2025-10-30 09:45:25,400 - INFO - Waiting for VM ctest-vn2-vm1-37574105 to be up.. 2025-10-30 09:45:25,470 - DEBUG - VM is in ACTIVE state now 2025-10-30 09:45:25,470 - INFO - VM name : ctest-vn2-vm1-37574105 2025-10-30 09:45:25,533 - DEBUG - VM ctest-vn2-vm1-37574105 ID is b23b0c8c-507c-4e7c-9483-7f96a63d19da 2025-10-30 09:45:25,533 - DEBUG - VM ctest-vn2-vm1-37574105 launched on Node cn-jenkins-deploy-platform-ansible-os-4539-1 2025-10-30 09:45:25,606 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/b23b0c8c-507c-4e7c-9483-7f96a63d19da 2025-10-30 09:45:25,614 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/fbfba134-7a84-4cd8-9777-255c8d7cd292 2025-10-30 09:45:26,847 - 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.83 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.584 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.584/1.709/2.834/1.125 ms') 2025-10-30 09:45:26,847 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-37574105 passed 2025-10-30 09:45:26,997 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:45:26,997 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-37574105, IP 110.208.143.195, Port 22 2025-10-30 09:45:27,162 - DEBUG - VM ctest-vn2-vm1-37574105 is ready for SSH connections 2025-10-30 09:45:27,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:45:27,163 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.208.143.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-30 09:45:27,163 - DEBUG - ping -s 56 -c 3 -W 1 110.208.143.195 2025-10-30 09:45:31,803 - DEBUG - PING 110.208.143.195 (110.208.143.195): 56 data bytes --- 110.208.143.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 09:45:31,803 - WARNING - Ping to IP 110.208.143.195 from VM ctest-vn1-vm1-08048239 failed 2025-10-30 09:45:31,803 - INFO - Adding interface with subnet_id 7c1c0b97-2857-4a0d-b41c-9ccf9f1aaf24, port_id None to router 7a6ba993-d200-47b0-a4cc-55f12dd4a59a 2025-10-30 09:45:32,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:45:32,040 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.208.143.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-30 09:45:32,040 - DEBUG - ping -s 56 -c 3 -W 1 110.208.143.195 2025-10-30 09:45:34,276 - DEBUG - PING 110.208.143.195 (110.208.143.195): 56 data bytes 64 bytes from 110.208.143.195: seq=0 ttl=63 time=2.857 ms 64 bytes from 110.208.143.195: seq=1 ttl=63 time=0.906 ms 64 bytes from 110.208.143.195: seq=2 ttl=63 time=0.951 ms --- 110.208.143.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.906/1.571/2.857 ms 2025-10-30 09:45:34,276 - INFO - Ping to IP 110.208.143.195 from VM ctest-vn1-vm1-08048239 passed 2025-10-30 09:45:34,276 - INFO - Deleting interface with subnet_id 398b1b97-3a31-4f14-8f21-cf10093aadf2, port_id None from router 7a6ba993-d200-47b0-a4cc-55f12dd4a59a 2025-10-30 09:45:34,486 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:45:34,487 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.208.143.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-30 09:45:34,487 - DEBUG - ping -s 56 -c 3 -W 1 110.208.143.195 2025-10-30 09:45:37,732 - DEBUG - PING 110.208.143.195 (110.208.143.195): 56 data bytes --- 110.208.143.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-30 09:45:37,732 - WARNING - Ping to IP 110.208.143.195 from VM ctest-vn1-vm1-08048239 failed 2025-10-30 09:45:37,733 - INFO - Adding interface with subnet_id 398b1b97-3a31-4f14-8f21-cf10093aadf2, port_id None to router 7a6ba993-d200-47b0-a4cc-55f12dd4a59a 2025-10-30 09:45:37,933 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-30 09:45:37,933 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.208.143.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-30 09:45:37,933 - DEBUG - ping -s 56 -c 3 -W 1 110.208.143.195 2025-10-30 09:45:41,136 - DEBUG - PING 110.208.143.195 (110.208.143.195): 56 data bytes 64 bytes from 110.208.143.195: seq=1 ttl=63 time=1.529 ms 64 bytes from 110.208.143.195: seq=2 ttl=63 time=0.849 ms --- 110.208.143.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.849/1.189/1.529 ms 2025-10-30 09:45:41,137 - WARNING - Ping to IP 110.208.143.195 from VM ctest-vn1-vm1-08048239 failed 2025-10-30 09:45:42,137 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 110.208.143.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-30 09:45:42,137 - DEBUG - ping -s 56 -c 3 -W 1 110.208.143.195 2025-10-30 09:45:44,379 - DEBUG - PING 110.208.143.195 (110.208.143.195): 56 data bytes 64 bytes from 110.208.143.195: seq=0 ttl=63 time=1.704 ms 64 bytes from 110.208.143.195: seq=1 ttl=63 time=0.747 ms 64 bytes from 110.208.143.195: seq=2 ttl=63 time=0.786 ms --- 110.208.143.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.747/1.079/1.704 ms 2025-10-30 09:45:44,379 - INFO - Ping to IP 110.208.143.195 from VM ctest-vn1-vm1-08048239 passed 2025-10-30 09:45:44,379 - INFO - Deleting interface with subnet_id 7c1c0b97-2857-4a0d-b41c-9ccf9f1aaf24, port_id None from router 7a6ba993-d200-47b0-a4cc-55f12dd4a59a 2025-10-30 09:45:44,490 - INFO - Deleting interface with subnet_id 398b1b97-3a31-4f14-8f21-cf10093aadf2, port_id None from router 7a6ba993-d200-47b0-a4cc-55f12dd4a59a 2025-10-30 09:45:44,652 - INFO - Deleting VM ctest-vn2-vm1-37574105 2025-10-30 09:45:44,728 - INFO - Deleting VM ctest-vn1-vm1-08048239 2025-10-30 09:45:44,791 - INFO - Deleting VN ctest-vn2-33204072 2025-10-30 09:45:44,824 - DEBUG - VN c1249aa2-0340-4912-838f-4c4df5e1baad still in use: Unable to complete operation on network c1249aa2-0340-4912-838f-4c4df5e1baad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-aa973142-c6cf-4027-886c-b4732791e4f5'] 2025-10-30 09:45:44,824 - WARNING - Deleting VN ctest-vn2-33204072 failed..Will retry 2025-10-30 09:45:46,926 - DEBUG - Response for deleting network () 2025-10-30 09:45:46,926 - INFO - Deleting VN ctest-vn1-54273222 2025-10-30 09:45:47,019 - DEBUG - Response for deleting network () 2025-10-30 09:45:47,274 - DEBUG - No XMPP flaps were noticed during the test 2025-10-30 09:45:47,274 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-30 09:45:47,274 - INFO - -------------------------------------------------------------------------------- 2025-10-30 09:45:47,925 - INFO - Deleted project: ctest-TestRouters-68020358, ID : 48b6cea3-c733-4e18-8ef5-be07e3048e6b