2025-12-03 16:12:21,250 - INFO - Domain Default found not creating 2025-12-03 16:12:21,443 - INFO - Project ctest-TestRouters-75405570 not found, creating it 2025-12-03 16:12:21,957 - INFO - Created Project:ctest-TestRouters-75405570, ID : 2f7e0f78-7b17-4266-95f7-9c021611c180 2025-12-03 16:12:23,593 - INFO - ================================================================================ 2025-12-03 16:12:23,593 - INFO - STARTING TEST : test_basic_router_behavior 2025-12-03 16:12:23,593 - 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-12-03 16:12:23,855 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2025-12-03 16:12:23,855 - INFO - Initial checks done. Running the testcase now 2025-12-03 16:12:23,856 - INFO - 2025-12-03 16:12:24,470 - DEBUG - Response for create_network : {'network': {'id': 'c4946386-be64-4162-b90d-a653f30afb74', 'name': 'ctest-vn1-95189430', 'tenant_id': '2f7e0f787b17426695f79c021611c180', 'project_id': '2f7e0f787b17426695f79c021611c180', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-75405570', 'ctest-vn1-95189430'], 'port_security_enabled': True, 'description': ''}} 2025-12-03 16:12:24,695 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ca4d7205-701f-4cc6-954e-d15732869abb', 'name': '', 'tenant_id': '2f7e0f787b17426695f79c021611c180', 'network_id': 'c4946386-be64-4162-b90d-a653f30afb74', 'ip_version': 4, 'cidr': '79.45.174.64/26', 'allocation_pools': [{'start': '79.45.174.66', 'end': '79.45.174.126'}], 'gateway_ip': '79.45.174.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.45.174.66', 'tags': [], 'project_id': '2f7e0f787b17426695f79c021611c180'}} 2025-12-03 16:12:24,720 - INFO - Created VN ctest-vn1-95189430 2025-12-03 16:12:24,774 - DEBUG - VN ctest-vn1-95189430 UUID is c4946386-be64-4162-b90d-a653f30afb74 2025-12-03 16:12:25,105 - DEBUG - Response for create_network : {'network': {'id': '34b15cb1-3ec8-4f71-8571-873add9df69c', 'name': 'ctest-vn2-32976159', 'tenant_id': '2f7e0f787b17426695f79c021611c180', 'project_id': '2f7e0f787b17426695f79c021611c180', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-75405570', 'ctest-vn2-32976159'], 'port_security_enabled': True, 'description': ''}} 2025-12-03 16:12:25,320 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa0a900f-6fc2-4c1f-87b8-c1ede7944873', 'name': '', 'tenant_id': '2f7e0f787b17426695f79c021611c180', 'network_id': '34b15cb1-3ec8-4f71-8571-873add9df69c', 'ip_version': 4, 'cidr': '181.213.3.192/26', 'allocation_pools': [{'start': '181.213.3.194', 'end': '181.213.3.254'}], 'gateway_ip': '181.213.3.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '181.213.3.194', 'tags': [], 'project_id': '2f7e0f787b17426695f79c021611c180'}} 2025-12-03 16:12:25,342 - INFO - Created VN ctest-vn2-32976159 2025-12-03 16:12:25,398 - DEBUG - VN ctest-vn2-32976159 UUID is 34b15cb1-3ec8-4f71-8571-873add9df69c 2025-12-03 16:12:25,582 - DEBUG - Services list from nova: [, , ] 2025-12-03 16:12:26,705 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4834-1) 2025-12-03 16:12:28,040 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4834-1) 2025-12-03 16:12:28,107 - INFO - Adding interface with subnet_id ca4d7205-701f-4cc6-954e-d15732869abb, port_id None to router 968939da-14cb-470c-8901-fad368d9c7c6 2025-12-03 16:12:28,446 - INFO - Waiting for VM ctest-vn1-vm1-05316996 to be up.. 2025-12-03 16:12:28,564 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-03 16:12:33,645 - DEBUG - VM is in ACTIVE state now 2025-12-03 16:12:33,645 - INFO - VM name : ctest-vn1-vm1-05316996 2025-12-03 16:12:33,726 - DEBUG - VM ctest-vn1-vm1-05316996 ID is 85f652d3-ef66-4a0e-a413-cd378c9da97a 2025-12-03 16:12:33,750 - DEBUG - VM ctest-vn1-vm1-05316996 launched on Node cn-jenkins-deploy-platform-ansible-os-4834-1 2025-12-03 16:12:33,836 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/85f652d3-ef66-4a0e-a413-cd378c9da97a 2025-12-03 16:12:34,178 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/85f652d3-ef66-4a0e-a413-cd378c9da97a 2025-12-03 16:12:34,216 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/f0005924-bacd-4c4c-805a-4e860ccb45a7 2025-12-03 16:12:37,481 - 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 1022ms') 2025-12-03 16:12:37,481 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05316996 failed! 2025-12-03 16:12:37,538 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-75405570:ctest-vn1-95189430 is 79.45.174.65 and allocation pool is NOT set 2025-12-03 16:12:39,607 - 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=3.42 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.555 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.555/1.986/3.417/1.431 ms') 2025-12-03 16:12:39,607 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-05316996 passed 2025-12-03 16:12:39,762 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 16:12:39,762 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-05316996, IP 79.45.174.67, Port 22 2025-12-03 16:12:39,931 - DEBUG - VM ctest-vn1-vm1-05316996 is ready for SSH connections 2025-12-03 16:12:39,932 - INFO - Waiting for VM ctest-vn2-vm1-68068603 to be up.. 2025-12-03 16:12:40,023 - DEBUG - VM is in ACTIVE state now 2025-12-03 16:12:40,023 - INFO - VM name : ctest-vn2-vm1-68068603 2025-12-03 16:12:40,105 - DEBUG - VM ctest-vn2-vm1-68068603 ID is 57cbcb3b-5551-4279-921c-379cf5c4d37f 2025-12-03 16:12:40,105 - DEBUG - VM ctest-vn2-vm1-68068603 launched on Node cn-jenkins-deploy-platform-ansible-os-4834-1 2025-12-03 16:12:40,244 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/57cbcb3b-5551-4279-921c-379cf5c4d37f 2025-12-03 16:12:40,258 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/fd16fc51-f769-450c-aaaf-db75ea5cd906 2025-12-03 16:12:41,518 - 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=3.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/2.189/3.943/1.753 ms') 2025-12-03 16:12:41,519 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-68068603 passed 2025-12-03 16:12:41,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 16:12:41,678 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-68068603, IP 181.213.3.195, Port 22 2025-12-03 16:12:41,865 - DEBUG - VM ctest-vn2-vm1-68068603 is ready for SSH connections 2025-12-03 16:12:41,865 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 16:12:41,865 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.213.3.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-03 16:12:41,865 - DEBUG - ping -s 56 -c 3 -W 1 181.213.3.195 2025-12-03 16:12:47,102 - DEBUG - PING 181.213.3.195 (181.213.3.195): 56 data bytes --- 181.213.3.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-03 16:12:47,103 - WARNING - Ping to IP 181.213.3.195 from VM ctest-vn1-vm1-05316996 failed 2025-12-03 16:12:47,103 - INFO - Adding interface with subnet_id aa0a900f-6fc2-4c1f-87b8-c1ede7944873, port_id None to router 968939da-14cb-470c-8901-fad368d9c7c6 2025-12-03 16:12:47,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 16:12:47,343 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.213.3.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-03 16:12:47,343 - DEBUG - ping -s 56 -c 3 -W 1 181.213.3.195 2025-12-03 16:12:50,566 - DEBUG - PING 181.213.3.195 (181.213.3.195): 56 data bytes 64 bytes from 181.213.3.195: seq=1 ttl=63 time=2.797 ms 64 bytes from 181.213.3.195: seq=2 ttl=63 time=0.942 ms --- 181.213.3.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.942/1.869/2.797 ms 2025-12-03 16:12:50,567 - WARNING - Ping to IP 181.213.3.195 from VM ctest-vn1-vm1-05316996 failed 2025-12-03 16:12:51,567 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.213.3.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-03 16:12:51,567 - DEBUG - ping -s 56 -c 3 -W 1 181.213.3.195 2025-12-03 16:12:53,788 - DEBUG - PING 181.213.3.195 (181.213.3.195): 56 data bytes 64 bytes from 181.213.3.195: seq=0 ttl=63 time=1.475 ms 64 bytes from 181.213.3.195: seq=1 ttl=63 time=1.111 ms 64 bytes from 181.213.3.195: seq=2 ttl=63 time=0.837 ms --- 181.213.3.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.837/1.141/1.475 ms 2025-12-03 16:12:53,788 - INFO - Ping to IP 181.213.3.195 from VM ctest-vn1-vm1-05316996 passed 2025-12-03 16:12:53,788 - INFO - Deleting interface with subnet_id ca4d7205-701f-4cc6-954e-d15732869abb, port_id None from router 968939da-14cb-470c-8901-fad368d9c7c6 2025-12-03 16:12:53,899 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 16:12:53,900 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.213.3.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-03 16:12:53,900 - DEBUG - ping -s 56 -c 3 -W 1 181.213.3.195 2025-12-03 16:12:57,130 - DEBUG - PING 181.213.3.195 (181.213.3.195): 56 data bytes --- 181.213.3.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-12-03 16:12:57,130 - WARNING - Ping to IP 181.213.3.195 from VM ctest-vn1-vm1-05316996 failed 2025-12-03 16:12:57,130 - INFO - Adding interface with subnet_id ca4d7205-701f-4cc6-954e-d15732869abb, port_id None to router 968939da-14cb-470c-8901-fad368d9c7c6 2025-12-03 16:12:57,343 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-03 16:12:57,344 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 181.213.3.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-12-03 16:12:57,344 - DEBUG - ping -s 56 -c 3 -W 1 181.213.3.195 2025-12-03 16:12:59,610 - DEBUG - PING 181.213.3.195 (181.213.3.195): 56 data bytes 64 bytes from 181.213.3.195: seq=0 ttl=63 time=1.728 ms 64 bytes from 181.213.3.195: seq=1 ttl=63 time=0.852 ms 64 bytes from 181.213.3.195: seq=2 ttl=63 time=1.057 ms --- 181.213.3.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.852/1.212/1.728 ms 2025-12-03 16:12:59,610 - INFO - Ping to IP 181.213.3.195 from VM ctest-vn1-vm1-05316996 passed 2025-12-03 16:12:59,610 - INFO - Deleting interface with subnet_id aa0a900f-6fc2-4c1f-87b8-c1ede7944873, port_id None from router 968939da-14cb-470c-8901-fad368d9c7c6 2025-12-03 16:12:59,736 - INFO - Deleting interface with subnet_id ca4d7205-701f-4cc6-954e-d15732869abb, port_id None from router 968939da-14cb-470c-8901-fad368d9c7c6 2025-12-03 16:12:59,922 - INFO - Deleting VM ctest-vn2-vm1-68068603 2025-12-03 16:13:00,007 - INFO - Deleting VM ctest-vn1-vm1-05316996 2025-12-03 16:13:00,097 - INFO - Deleting VN ctest-vn2-32976159 2025-12-03 16:13:00,137 - DEBUG - VN 34b15cb1-3ec8-4f71-8571-873add9df69c still in use: Unable to complete operation on network 34b15cb1-3ec8-4f71-8571-873add9df69c. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cb79de04-12e5-47de-8439-dfc3c2a1863b'] 2025-12-03 16:13:00,138 - WARNING - Deleting VN ctest-vn2-32976159 failed..Will retry 2025-12-03 16:13:02,254 - DEBUG - Response for deleting network () 2025-12-03 16:13:02,254 - INFO - Deleting VN ctest-vn1-95189430 2025-12-03 16:13:02,363 - DEBUG - Response for deleting network () 2025-12-03 16:13:02,623 - DEBUG - No XMPP flaps were noticed during the test 2025-12-03 16:13:02,623 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-12-03 16:13:02,623 - INFO - -------------------------------------------------------------------------------- 2025-12-03 16:13:03,355 - INFO - Deleted project: ctest-TestRouters-75405570, ID : 2f7e0f78-7b17-4266-95f7-9c021611c180