2025-11-03 12:23:51,222 - INFO - Domain Default found not creating 2025-11-03 12:23:51,347 - INFO - Project ctest-TestRouters-64663413 not found, creating it 2025-11-03 12:23:51,803 - INFO - Created Project:ctest-TestRouters-64663413, ID : 3ed39ad9-3163-49e6-8a99-84b35ee32464 2025-11-03 12:23:53,260 - INFO - ================================================================================ 2025-11-03 12:23:53,260 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-03 12:23:53,260 - 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-11-03 12:23:53,512 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with 2025-11-03 12:23:53,512 - INFO - Initial checks done. Running the testcase now 2025-11-03 12:23:53,512 - INFO - 2025-11-03 12:23:54,036 - DEBUG - Response for create_network : {'network': {'id': '330ba5d8-c8ee-4fa6-ad3d-209b6c36af6a', 'name': 'ctest-vn1-87798486', 'tenant_id': '3ed39ad9316349e68a9984b35ee32464', 'project_id': '3ed39ad9316349e68a9984b35ee32464', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-64663413', 'ctest-vn1-87798486'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 12:23:54,238 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b9970864-1a26-4a1b-86cb-ee16fbdea208', 'name': '', 'tenant_id': '3ed39ad9316349e68a9984b35ee32464', 'network_id': '330ba5d8-c8ee-4fa6-ad3d-209b6c36af6a', 'ip_version': 4, 'cidr': '82.78.174.0/26', 'allocation_pools': [{'start': '82.78.174.2', 'end': '82.78.174.62'}], 'gateway_ip': '82.78.174.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.78.174.2', 'tags': [], 'project_id': '3ed39ad9316349e68a9984b35ee32464'}} 2025-11-03 12:23:54,257 - INFO - Created VN ctest-vn1-87798486 2025-11-03 12:23:54,308 - DEBUG - VN ctest-vn1-87798486 UUID is 330ba5d8-c8ee-4fa6-ad3d-209b6c36af6a 2025-11-03 12:23:54,648 - DEBUG - Response for create_network : {'network': {'id': 'b594c07b-57b3-4f44-b6ad-890ebaedef3a', 'name': 'ctest-vn2-48637083', 'tenant_id': '3ed39ad9316349e68a9984b35ee32464', 'project_id': '3ed39ad9316349e68a9984b35ee32464', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-64663413', 'ctest-vn2-48637083'], 'port_security_enabled': True, 'description': ''}} 2025-11-03 12:23:54,849 - DEBUG - Response for create_subnet : {'subnet': {'id': '866acc6f-f814-4bf1-975e-206da59f3c71', 'name': '', 'tenant_id': '3ed39ad9316349e68a9984b35ee32464', 'network_id': 'b594c07b-57b3-4f44-b6ad-890ebaedef3a', 'ip_version': 4, 'cidr': '162.17.209.0/26', 'allocation_pools': [{'start': '162.17.209.2', 'end': '162.17.209.62'}], 'gateway_ip': '162.17.209.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.17.209.2', 'tags': [], 'project_id': '3ed39ad9316349e68a9984b35ee32464'}} 2025-11-03 12:23:54,865 - INFO - Created VN ctest-vn2-48637083 2025-11-03 12:23:54,916 - DEBUG - VN ctest-vn2-48637083 UUID is b594c07b-57b3-4f44-b6ad-890ebaedef3a 2025-11-03 12:23:55,166 - DEBUG - Services list from nova: [, , ] 2025-11-03 12:23:56,133 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4605-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4605-1) 2025-11-03 12:23:57,318 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4605-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4605-1) 2025-11-03 12:23:57,407 - INFO - Adding interface with subnet_id b9970864-1a26-4a1b-86cb-ee16fbdea208, port_id None to router 72795fcd-4bd7-4dcf-a242-90df34df94fb 2025-11-03 12:23:57,721 - INFO - Waiting for VM ctest-vn1-vm1-97845090 to be up.. 2025-11-03 12:23:57,866 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-03 12:24:02,936 - DEBUG - VM is in ACTIVE state now 2025-11-03 12:24:02,936 - INFO - VM name : ctest-vn1-vm1-97845090 2025-11-03 12:24:03,007 - DEBUG - VM ctest-vn1-vm1-97845090 ID is 85aec224-439f-480b-a6ce-c28a7fb1982f 2025-11-03 12:24:03,025 - DEBUG - VM ctest-vn1-vm1-97845090 launched on Node cn-jenkins-deploy-platform-ansible-os-4605-1 2025-11-03 12:24:03,103 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/85aec224-439f-480b-a6ce-c28a7fb1982f 2025-11-03 12:24:03,411 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/85aec224-439f-480b-a6ce-c28a7fb1982f 2025-11-03 12:24:03,439 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5de84263-d2fe-4f11-9d15-327cf7b0e602 2025-11-03 12:24:06,696 - 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 1007ms') 2025-11-03 12:24:06,696 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97845090 failed! 2025-11-03 12:24:06,752 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-64663413:ctest-vn1-87798486 is 82.78.174.1 and allocation pool is NOT set 2025-11-03 12:24:08,811 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.409 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.409/1.579/2.749/1.170 ms') 2025-11-03 12:24:08,811 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-97845090 passed 2025-11-03 12:24:08,964 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 12:24:08,964 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-97845090, IP 82.78.174.3, Port 22 2025-11-03 12:24:09,123 - DEBUG - VM ctest-vn1-vm1-97845090 is ready for SSH connections 2025-11-03 12:24:09,123 - INFO - Waiting for VM ctest-vn2-vm1-42291281 to be up.. 2025-11-03 12:24:09,192 - DEBUG - VM is in ACTIVE state now 2025-11-03 12:24:09,192 - INFO - VM name : ctest-vn2-vm1-42291281 2025-11-03 12:24:09,260 - DEBUG - VM ctest-vn2-vm1-42291281 ID is aa55fe3f-21d0-43ab-bbc8-efba7982edc1 2025-11-03 12:24:09,260 - DEBUG - VM ctest-vn2-vm1-42291281 launched on Node cn-jenkins-deploy-platform-ansible-os-4605-1 2025-11-03 12:24:09,326 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/aa55fe3f-21d0-43ab-bbc8-efba7982edc1 2025-11-03 12:24:09,333 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/578d39a7-66cc-42ea-ae51-d16977c00b34 2025-11-03 12:24:10,559 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.370 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.370/1.616/2.862/1.246 ms') 2025-11-03 12:24:10,560 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-42291281 passed 2025-11-03 12:24:10,707 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 12:24:10,708 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-42291281, IP 162.17.209.3, Port 22 2025-11-03 12:24:10,863 - DEBUG - VM ctest-vn2-vm1-42291281 is ready for SSH connections 2025-11-03 12:24:10,863 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 12:24:10,863 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.17.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-03 12:24:10,863 - DEBUG - ping -s 56 -c 3 -W 1 162.17.209.3 2025-11-03 12:24:15,532 - DEBUG - PING 162.17.209.3 (162.17.209.3): 56 data bytes --- 162.17.209.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 12:24:15,532 - WARNING - Ping to IP 162.17.209.3 from VM ctest-vn1-vm1-97845090 failed 2025-11-03 12:24:15,532 - INFO - Adding interface with subnet_id 866acc6f-f814-4bf1-975e-206da59f3c71, port_id None to router 72795fcd-4bd7-4dcf-a242-90df34df94fb 2025-11-03 12:24:15,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 12:24:15,753 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.17.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-03 12:24:15,753 - DEBUG - ping -s 56 -c 3 -W 1 162.17.209.3 2025-11-03 12:24:17,954 - DEBUG - PING 162.17.209.3 (162.17.209.3): 56 data bytes 64 bytes from 162.17.209.3: seq=0 ttl=63 time=2.458 ms 64 bytes from 162.17.209.3: seq=1 ttl=63 time=0.977 ms 64 bytes from 162.17.209.3: seq=2 ttl=63 time=0.716 ms --- 162.17.209.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.716/1.383/2.458 ms 2025-11-03 12:24:17,954 - INFO - Ping to IP 162.17.209.3 from VM ctest-vn1-vm1-97845090 passed 2025-11-03 12:24:17,955 - INFO - Deleting interface with subnet_id b9970864-1a26-4a1b-86cb-ee16fbdea208, port_id None from router 72795fcd-4bd7-4dcf-a242-90df34df94fb 2025-11-03 12:24:18,053 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 12:24:18,053 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.17.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-03 12:24:18,054 - DEBUG - ping -s 56 -c 3 -W 1 162.17.209.3 2025-11-03 12:24:21,270 - DEBUG - PING 162.17.209.3 (162.17.209.3): 56 data bytes --- 162.17.209.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-03 12:24:21,270 - WARNING - Ping to IP 162.17.209.3 from VM ctest-vn1-vm1-97845090 failed 2025-11-03 12:24:21,270 - INFO - Adding interface with subnet_id b9970864-1a26-4a1b-86cb-ee16fbdea208, port_id None to router 72795fcd-4bd7-4dcf-a242-90df34df94fb 2025-11-03 12:24:21,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-03 12:24:21,521 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.17.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-03 12:24:21,521 - DEBUG - ping -s 56 -c 3 -W 1 162.17.209.3 2025-11-03 12:24:24,726 - DEBUG - PING 162.17.209.3 (162.17.209.3): 56 data bytes 64 bytes from 162.17.209.3: seq=1 ttl=63 time=1.524 ms 64 bytes from 162.17.209.3: seq=2 ttl=63 time=0.748 ms --- 162.17.209.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.748/1.136/1.524 ms 2025-11-03 12:24:24,726 - WARNING - Ping to IP 162.17.209.3 from VM ctest-vn1-vm1-97845090 failed 2025-11-03 12:24:25,727 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 162.17.209.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.22, gateway password: c0ntrail123 2025-11-03 12:24:25,727 - DEBUG - ping -s 56 -c 3 -W 1 162.17.209.3 2025-11-03 12:24:27,941 - DEBUG - PING 162.17.209.3 (162.17.209.3): 56 data bytes 64 bytes from 162.17.209.3: seq=0 ttl=63 time=1.400 ms 64 bytes from 162.17.209.3: seq=1 ttl=63 time=0.833 ms 64 bytes from 162.17.209.3: seq=2 ttl=63 time=0.798 ms --- 162.17.209.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.798/1.010/1.400 ms 2025-11-03 12:24:27,941 - INFO - Ping to IP 162.17.209.3 from VM ctest-vn1-vm1-97845090 passed 2025-11-03 12:24:27,941 - INFO - Deleting interface with subnet_id 866acc6f-f814-4bf1-975e-206da59f3c71, port_id None from router 72795fcd-4bd7-4dcf-a242-90df34df94fb 2025-11-03 12:24:28,048 - INFO - Deleting interface with subnet_id b9970864-1a26-4a1b-86cb-ee16fbdea208, port_id None from router 72795fcd-4bd7-4dcf-a242-90df34df94fb 2025-11-03 12:24:28,205 - INFO - Deleting VM ctest-vn2-vm1-42291281 2025-11-03 12:24:28,273 - INFO - Deleting VM ctest-vn1-vm1-97845090 2025-11-03 12:24:28,334 - INFO - Deleting VN ctest-vn2-48637083 2025-11-03 12:24:28,365 - DEBUG - VN b594c07b-57b3-4f44-b6ad-890ebaedef3a still in use: Unable to complete operation on network b594c07b-57b3-4f44-b6ad-890ebaedef3a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8092af88-bd93-48eb-b630-7bc98a4aeed6'] 2025-11-03 12:24:28,366 - WARNING - Deleting VN ctest-vn2-48637083 failed..Will retry 2025-11-03 12:24:30,458 - DEBUG - Response for deleting network () 2025-11-03 12:24:30,458 - INFO - Deleting VN ctest-vn1-87798486 2025-11-03 12:24:30,543 - DEBUG - Response for deleting network () 2025-11-03 12:24:30,797 - DEBUG - No XMPP flaps were noticed during the test
2025-11-03 12:24:30,797 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:37]
2025-11-03 12:24:30,797 - INFO - -------------------------------------------------------------------------------- 2025-11-03 12:24:31,440 - INFO - Deleted project: ctest-TestRouters-64663413, ID : 3ed39ad9-3163-49e6-8a99-84b35ee32464