2025-08-11 20:41:08,353 - INFO - Domain Default found not creating 2025-08-11 20:41:08,481 - INFO - Project ctest-TestRouters-58015897 not found, creating it 2025-08-11 20:41:08,914 - INFO - Created Project:ctest-TestRouters-58015897, ID : b7706cf3-4a65-4c9c-a89c-403f8406cb01 2025-08-11 20:41:10,251 - INFO - ================================================================================ 2025-08-11 20:41:10,251 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-11 20:41:10,251 - 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-11 20:41:10,512 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-11 20:41:10,512 - INFO - Initial checks done. Running the testcase now 2025-08-11 20:41:10,513 - INFO - 2025-08-11 20:41:11,014 - DEBUG - Response for create_network : {'network': {'id': '32b2f3ed-8c72-4448-8f10-b92ee2fe0fec', 'name': 'ctest-vn1-12896601', 'tenant_id': 'b7706cf34a654c9ca89c403f8406cb01', 'project_id': 'b7706cf34a654c9ca89c403f8406cb01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-58015897', 'ctest-vn1-12896601'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 20:41:11,177 - DEBUG - Response for create_subnet : {'subnet': {'id': '8354c1f0-0af8-42fc-ab46-de31e7f7955f', 'name': '', 'tenant_id': 'b7706cf34a654c9ca89c403f8406cb01', 'network_id': '32b2f3ed-8c72-4448-8f10-b92ee2fe0fec', 'ip_version': 4, 'cidr': '2.81.68.192/26', 'allocation_pools': [{'start': '2.81.68.194', 'end': '2.81.68.254'}], 'gateway_ip': '2.81.68.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.81.68.194', 'tags': [], 'project_id': 'b7706cf34a654c9ca89c403f8406cb01'}} 2025-08-11 20:41:11,194 - INFO - Created VN ctest-vn1-12896601 2025-08-11 20:41:11,247 - DEBUG - VN ctest-vn1-12896601 UUID is 32b2f3ed-8c72-4448-8f10-b92ee2fe0fec 2025-08-11 20:41:11,557 - DEBUG - Response for create_network : {'network': {'id': 'baeb2cdd-69dd-4ba1-a2ee-91a63fd9ee19', 'name': 'ctest-vn2-97645649', 'tenant_id': 'b7706cf34a654c9ca89c403f8406cb01', 'project_id': 'b7706cf34a654c9ca89c403f8406cb01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-58015897', 'ctest-vn2-97645649'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 20:41:11,745 - DEBUG - Response for create_subnet : {'subnet': {'id': '68c72334-64d7-432b-a9c6-67bfd8e1e8aa', 'name': '', 'tenant_id': 'b7706cf34a654c9ca89c403f8406cb01', 'network_id': 'baeb2cdd-69dd-4ba1-a2ee-91a63fd9ee19', 'ip_version': 4, 'cidr': '181.16.32.0/26', 'allocation_pools': [{'start': '181.16.32.2', 'end': '181.16.32.62'}], 'gateway_ip': '181.16.32.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.16.32.2', 'tags': [], 'project_id': 'b7706cf34a654c9ca89c403f8406cb01'}} 2025-08-11 20:41:11,761 - INFO - Created VN ctest-vn2-97645649 2025-08-11 20:41:11,811 - DEBUG - VN ctest-vn2-97645649 UUID is baeb2cdd-69dd-4ba1-a2ee-91a63fd9ee19 2025-08-11 20:41:11,996 - DEBUG - Services list from nova: [, , ] 2025-08-11 20:41:12,925 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3821-1) 2025-08-11 20:41:14,064 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3821-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3821-1) 2025-08-11 20:41:14,142 - INFO - Adding interface with subnet_id 8354c1f0-0af8-42fc-ab46-de31e7f7955f, port_id None to router 8e110678-bc43-4825-a8e5-adf20d24a006 2025-08-11 20:41:14,386 - INFO - Waiting for VM ctest-vn1-vm1-94689046 to be up.. 2025-08-11 20:41:14,493 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-11 20:41:19,565 - DEBUG - VM is in ACTIVE state now 2025-08-11 20:41:19,565 - INFO - VM name : ctest-vn1-vm1-94689046 2025-08-11 20:41:19,637 - DEBUG - VM ctest-vn1-vm1-94689046 ID is a74291ee-a911-41b5-84bd-11946ab171f2 2025-08-11 20:41:19,654 - DEBUG - VM ctest-vn1-vm1-94689046 launched on Node cn-jenkins-deploy-platform-ansible-os-3821-1 2025-08-11 20:41:19,720 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a74291ee-a911-41b5-84bd-11946ab171f2 2025-08-11 20:41:20,008 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a74291ee-a911-41b5-84bd-11946ab171f2 2025-08-11 20:41:20,036 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/0fabecc2-109a-4017-aa17-395689e5bb97 2025-08-11 20:41:23,291 - 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=2 ttl=63 time=8.09 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1024ms\r\nrtt min/avg/max/mdev = 8.091/8.091/8.091/0.000 ms') 2025-08-11 20:41:23,291 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94689046 passed 2025-08-11 20:41:23,439 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:41:23,439 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-94689046, IP 2.81.68.195, Port 22 2025-08-11 20:41:23,608 - DEBUG - VM ctest-vn1-vm1-94689046 is ready for SSH connections 2025-08-11 20:41:23,608 - INFO - Waiting for VM ctest-vn2-vm1-08652481 to be up.. 2025-08-11 20:41:23,712 - DEBUG - VM is in ACTIVE state now 2025-08-11 20:41:23,712 - INFO - VM name : ctest-vn2-vm1-08652481 2025-08-11 20:41:23,770 - DEBUG - VM ctest-vn2-vm1-08652481 ID is 57e29f25-d012-45ba-9fe0-2c7132c394d1 2025-08-11 20:41:23,770 - DEBUG - VM ctest-vn2-vm1-08652481 launched on Node cn-jenkins-deploy-platform-ansible-os-3821-1 2025-08-11 20:41:23,825 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/57e29f25-d012-45ba-9fe0-2c7132c394d1 2025-08-11 20:41:23,832 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/d27fcb93-91af-4825-be81-4b9c05324a11 2025-08-11 20:41:25,069 - 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.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.49 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 = 2.493/2.686/2.879/0.193 ms') 2025-08-11 20:41:25,069 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-08652481 passed 2025-08-11 20:41:25,219 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:41:25,219 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-08652481, IP 181.16.32.3, Port 22 2025-08-11 20:41:25,370 - DEBUG - VM ctest-vn2-vm1-08652481 is ready for SSH connections 2025-08-11 20:41:25,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:41:25,370 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.16.32.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 20:41:25,370 - DEBUG - ping -s 56 -c 3 -W 1 181.16.32.3 2025-08-11 20:41:29,987 - DEBUG - PING 181.16.32.3 (181.16.32.3): 56 data bytes --- 181.16.32.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 20:41:29,987 - WARNING - Ping to IP 181.16.32.3 from VM ctest-vn1-vm1-94689046 failed 2025-08-11 20:41:29,987 - INFO - Adding interface with subnet_id 68c72334-64d7-432b-a9c6-67bfd8e1e8aa, port_id None to router 8e110678-bc43-4825-a8e5-adf20d24a006 2025-08-11 20:41:30,211 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:41:30,211 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.16.32.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 20:41:30,211 - DEBUG - ping -s 56 -c 3 -W 1 181.16.32.3 2025-08-11 20:41:32,407 - DEBUG - PING 181.16.32.3 (181.16.32.3): 56 data bytes 64 bytes from 181.16.32.3: seq=0 ttl=63 time=2.800 ms 64 bytes from 181.16.32.3: seq=1 ttl=63 time=0.688 ms 64 bytes from 181.16.32.3: seq=2 ttl=63 time=1.009 ms --- 181.16.32.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.688/1.499/2.800 ms 2025-08-11 20:41:32,407 - INFO - Ping to IP 181.16.32.3 from VM ctest-vn1-vm1-94689046 passed 2025-08-11 20:41:32,407 - INFO - Deleting interface with subnet_id 8354c1f0-0af8-42fc-ab46-de31e7f7955f, port_id None from router 8e110678-bc43-4825-a8e5-adf20d24a006 2025-08-11 20:41:32,509 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:41:32,509 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.16.32.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 20:41:32,509 - DEBUG - ping -s 56 -c 3 -W 1 181.16.32.3 2025-08-11 20:41:35,696 - DEBUG - PING 181.16.32.3 (181.16.32.3): 56 data bytes --- 181.16.32.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-11 20:41:35,697 - WARNING - Ping to IP 181.16.32.3 from VM ctest-vn1-vm1-94689046 failed 2025-08-11 20:41:35,697 - INFO - Adding interface with subnet_id 8354c1f0-0af8-42fc-ab46-de31e7f7955f, port_id None to router 8e110678-bc43-4825-a8e5-adf20d24a006 2025-08-11 20:41:35,907 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-11 20:41:35,907 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.16.32.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 20:41:35,907 - DEBUG - ping -s 56 -c 3 -W 1 181.16.32.3 2025-08-11 20:41:39,109 - DEBUG - PING 181.16.32.3 (181.16.32.3): 56 data bytes 64 bytes from 181.16.32.3: seq=1 ttl=63 time=1.338 ms 64 bytes from 181.16.32.3: seq=2 ttl=63 time=0.817 ms --- 181.16.32.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.817/1.077/1.338 ms 2025-08-11 20:41:39,109 - WARNING - Ping to IP 181.16.32.3 from VM ctest-vn1-vm1-94689046 failed 2025-08-11 20:41:40,110 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.16.32.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-11 20:41:40,110 - DEBUG - ping -s 56 -c 3 -W 1 181.16.32.3 2025-08-11 20:41:42,310 - DEBUG - PING 181.16.32.3 (181.16.32.3): 56 data bytes 64 bytes from 181.16.32.3: seq=0 ttl=63 time=1.418 ms 64 bytes from 181.16.32.3: seq=1 ttl=63 time=0.742 ms 64 bytes from 181.16.32.3: seq=2 ttl=63 time=0.807 ms --- 181.16.32.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.742/0.989/1.418 ms 2025-08-11 20:41:42,310 - INFO - Ping to IP 181.16.32.3 from VM ctest-vn1-vm1-94689046 passed 2025-08-11 20:41:42,310 - INFO - Deleting interface with subnet_id 68c72334-64d7-432b-a9c6-67bfd8e1e8aa, port_id None from router 8e110678-bc43-4825-a8e5-adf20d24a006 2025-08-11 20:41:42,454 - INFO - Deleting interface with subnet_id 8354c1f0-0af8-42fc-ab46-de31e7f7955f, port_id None from router 8e110678-bc43-4825-a8e5-adf20d24a006 2025-08-11 20:41:42,609 - INFO - Deleting VM ctest-vn2-vm1-08652481 2025-08-11 20:41:42,673 - INFO - Deleting VM ctest-vn1-vm1-94689046 2025-08-11 20:41:42,733 - INFO - Deleting VN ctest-vn2-97645649 2025-08-11 20:41:42,766 - DEBUG - VN baeb2cdd-69dd-4ba1-a2ee-91a63fd9ee19 still in use: Unable to complete operation on network baeb2cdd-69dd-4ba1-a2ee-91a63fd9ee19. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-366e460f-327c-405b-9189-2610248f5673'] 2025-08-11 20:41:42,766 - WARNING - Deleting VN ctest-vn2-97645649 failed..Will retry 2025-08-11 20:41:44,856 - DEBUG - Response for deleting network () 2025-08-11 20:41:44,856 - INFO - Deleting VN ctest-vn1-12896601 2025-08-11 20:41:44,945 - DEBUG - Response for deleting network () 2025-08-11 20:41:45,196 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 20:41:45,196 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:35] 2025-08-11 20:41:45,196 - INFO - -------------------------------------------------------------------------------- 2025-08-11 20:41:45,835 - INFO - Deleted project: ctest-TestRouters-58015897, ID : b7706cf3-4a65-4c9c-a89c-403f8406cb01