2025-10-31 13:04:53,856 - INFO - Domain Default found not creating 2025-10-31 13:04:54,002 - INFO - Project ctest-TestRouters-06473715 not found, creating it 2025-10-31 13:04:54,452 - INFO - Created Project:ctest-TestRouters-06473715, ID : 6a2a43f4-6243-4234-b156-8370684bde03 2025-10-31 13:04:55,895 - INFO - ================================================================================ 2025-10-31 13:04:55,895 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-31 13:04:55,895 - 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-31 13:04:56,150 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with 2025-10-31 13:04:56,150 - INFO - Initial checks done. Running the testcase now 2025-10-31 13:04:56,150 - INFO - 2025-10-31 13:04:56,687 - DEBUG - Response for create_network : {'network': {'id': 'd60cf2e9-ac8b-4c60-b3a7-91fe2fa71206', 'name': 'ctest-vn1-82098821', 'tenant_id': '6a2a43f462434234b1568370684bde03', 'project_id': '6a2a43f462434234b1568370684bde03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-06473715', 'ctest-vn1-82098821'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 13:04:56,892 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2bd7656-af5d-4e06-b443-bf0e91972162', 'name': '', 'tenant_id': '6a2a43f462434234b1568370684bde03', 'network_id': 'd60cf2e9-ac8b-4c60-b3a7-91fe2fa71206', 'ip_version': 4, 'cidr': '35.107.85.64/26', 'allocation_pools': [{'start': '35.107.85.66', 'end': '35.107.85.126'}], 'gateway_ip': '35.107.85.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.107.85.66', 'tags': [], 'project_id': '6a2a43f462434234b1568370684bde03'}} 2025-10-31 13:04:56,910 - INFO - Created VN ctest-vn1-82098821 2025-10-31 13:04:56,965 - DEBUG - VN ctest-vn1-82098821 UUID is d60cf2e9-ac8b-4c60-b3a7-91fe2fa71206 2025-10-31 13:04:57,332 - DEBUG - Response for create_network : {'network': {'id': 'f6d4efd1-c598-4353-8794-fc0aa4ab67dd', 'name': 'ctest-vn2-44409340', 'tenant_id': '6a2a43f462434234b1568370684bde03', 'project_id': '6a2a43f462434234b1568370684bde03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-06473715', 'ctest-vn2-44409340'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 13:04:57,577 - DEBUG - Response for create_subnet : {'subnet': {'id': '771feeb1-e498-46a4-8df5-5bb77929e8db', 'name': '', 'tenant_id': '6a2a43f462434234b1568370684bde03', 'network_id': 'f6d4efd1-c598-4353-8794-fc0aa4ab67dd', 'ip_version': 4, 'cidr': '64.167.85.192/26', 'allocation_pools': [{'start': '64.167.85.194', 'end': '64.167.85.254'}], 'gateway_ip': '64.167.85.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.167.85.194', 'tags': [], 'project_id': '6a2a43f462434234b1568370684bde03'}} 2025-10-31 13:04:57,592 - INFO - Created VN ctest-vn2-44409340 2025-10-31 13:04:57,649 - DEBUG - VN ctest-vn2-44409340 UUID is f6d4efd1-c598-4353-8794-fc0aa4ab67dd 2025-10-31 13:04:57,810 - DEBUG - Services list from nova: [, , ] 2025-10-31 13:04:58,817 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4575-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4575-1) 2025-10-31 13:05:00,058 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4575-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4575-1) 2025-10-31 13:05:00,136 - INFO - Adding interface with subnet_id d2bd7656-af5d-4e06-b443-bf0e91972162, port_id None to router 95ea748f-ffc3-4817-9b9e-23c27a932822 2025-10-31 13:05:00,457 - INFO - Waiting for VM ctest-vn1-vm1-13565683 to be up.. 2025-10-31 13:05:00,561 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 13:05:05,636 - DEBUG - VM is in ACTIVE state now 2025-10-31 13:05:05,636 - INFO - VM name : ctest-vn1-vm1-13565683 2025-10-31 13:05:05,708 - DEBUG - VM ctest-vn1-vm1-13565683 ID is dc971b2a-60c8-4039-9964-7a246776cbb0 2025-10-31 13:05:05,727 - DEBUG - VM ctest-vn1-vm1-13565683 launched on Node cn-jenkins-deploy-platform-ansible-os-4575-1 2025-10-31 13:05:05,810 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/dc971b2a-60c8-4039-9964-7a246776cbb0 2025-10-31 13:05:06,115 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/dc971b2a-60c8-4039-9964-7a246776cbb0 2025-10-31 13:05:06,149 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/190b9e81-893a-4ee1-ac11-1a2896966e71 2025-10-31 13:05:09,419 - 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 1026ms') 2025-10-31 13:05:09,419 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13565683 failed! 2025-10-31 13:05:09,473 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-06473715:ctest-vn1-82098821 is 35.107.85.65 and allocation pool is NOT set 2025-10-31 13:05:11,530 - 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=5.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.57 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 = 1.570/3.497/5.425/1.927 ms') 2025-10-31 13:05:11,531 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-13565683 passed 2025-10-31 13:05:11,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 13:05:11,678 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-13565683, IP 35.107.85.67, Port 22 2025-10-31 13:05:11,832 - DEBUG - VM ctest-vn1-vm1-13565683 is ready for SSH connections 2025-10-31 13:05:11,833 - INFO - Waiting for VM ctest-vn2-vm1-92816300 to be up.. 2025-10-31 13:05:11,905 - DEBUG - VM is in ACTIVE state now 2025-10-31 13:05:11,905 - INFO - VM name : ctest-vn2-vm1-92816300 2025-10-31 13:05:11,972 - DEBUG - VM ctest-vn2-vm1-92816300 ID is c5bca588-cf56-4166-8ae0-016e16e73982 2025-10-31 13:05:11,972 - DEBUG - VM ctest-vn2-vm1-92816300 launched on Node cn-jenkins-deploy-platform-ansible-os-4575-1 2025-10-31 13:05:12,041 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/c5bca588-cf56-4166-8ae0-016e16e73982 2025-10-31 13:05:12,059 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/0c9cfe65-afed-4307-9862-6e1e6125b74f 2025-10-31 13:05:13,309 - 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.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.628 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.628/2.126/3.624/1.498 ms') 2025-10-31 13:05:13,309 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-92816300 passed 2025-10-31 13:05:13,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 13:05:13,458 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-92816300, IP 64.167.85.195, Port 22 2025-10-31 13:05:13,617 - DEBUG - VM ctest-vn2-vm1-92816300 is ready for SSH connections 2025-10-31 13:05:13,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 13:05:13,617 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.167.85.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-31 13:05:13,618 - DEBUG - ping -s 56 -c 3 -W 1 64.167.85.195 2025-10-31 13:05:18,614 - DEBUG - PING 64.167.85.195 (64.167.85.195): 56 data bytes --- 64.167.85.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 13:05:18,614 - WARNING - Ping to IP 64.167.85.195 from VM ctest-vn1-vm1-13565683 failed 2025-10-31 13:05:18,614 - INFO - Adding interface with subnet_id 771feeb1-e498-46a4-8df5-5bb77929e8db, port_id None to router 95ea748f-ffc3-4817-9b9e-23c27a932822 2025-10-31 13:05:18,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 13:05:18,855 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.167.85.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-31 13:05:18,855 - DEBUG - ping -s 56 -c 3 -W 1 64.167.85.195 2025-10-31 13:05:22,064 - DEBUG - PING 64.167.85.195 (64.167.85.195): 56 data bytes 64 bytes from 64.167.85.195: seq=1 ttl=63 time=2.703 ms 64 bytes from 64.167.85.195: seq=2 ttl=63 time=1.001 ms --- 64.167.85.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.001/1.852/2.703 ms 2025-10-31 13:05:22,064 - WARNING - Ping to IP 64.167.85.195 from VM ctest-vn1-vm1-13565683 failed 2025-10-31 13:05:23,064 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.167.85.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-31 13:05:23,065 - DEBUG - ping -s 56 -c 3 -W 1 64.167.85.195 2025-10-31 13:05:25,273 - DEBUG - PING 64.167.85.195 (64.167.85.195): 56 data bytes 64 bytes from 64.167.85.195: seq=0 ttl=63 time=1.649 ms 64 bytes from 64.167.85.195: seq=1 ttl=63 time=0.759 ms 64 bytes from 64.167.85.195: seq=2 ttl=63 time=1.062 ms --- 64.167.85.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.759/1.156/1.649 ms 2025-10-31 13:05:25,273 - INFO - Ping to IP 64.167.85.195 from VM ctest-vn1-vm1-13565683 passed 2025-10-31 13:05:25,273 - INFO - Deleting interface with subnet_id d2bd7656-af5d-4e06-b443-bf0e91972162, port_id None from router 95ea748f-ffc3-4817-9b9e-23c27a932822 2025-10-31 13:05:25,402 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 13:05:25,403 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.167.85.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-31 13:05:25,403 - DEBUG - ping -s 56 -c 3 -W 1 64.167.85.195 2025-10-31 13:05:28,608 - DEBUG - PING 64.167.85.195 (64.167.85.195): 56 data bytes --- 64.167.85.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 13:05:28,609 - WARNING - Ping to IP 64.167.85.195 from VM ctest-vn1-vm1-13565683 failed 2025-10-31 13:05:28,609 - INFO - Adding interface with subnet_id d2bd7656-af5d-4e06-b443-bf0e91972162, port_id None to router 95ea748f-ffc3-4817-9b9e-23c27a932822 2025-10-31 13:05:28,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 13:05:28,837 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 64.167.85.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2025-10-31 13:05:28,837 - DEBUG - ping -s 56 -c 3 -W 1 64.167.85.195 2025-10-31 13:05:31,063 - DEBUG - PING 64.167.85.195 (64.167.85.195): 56 data bytes 64 bytes from 64.167.85.195: seq=0 ttl=63 time=1.873 ms 64 bytes from 64.167.85.195: seq=1 ttl=63 time=1.133 ms 64 bytes from 64.167.85.195: seq=2 ttl=63 time=0.838 ms --- 64.167.85.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.838/1.281/1.873 ms 2025-10-31 13:05:31,063 - INFO - Ping to IP 64.167.85.195 from VM ctest-vn1-vm1-13565683 passed 2025-10-31 13:05:31,063 - INFO - Deleting interface with subnet_id 771feeb1-e498-46a4-8df5-5bb77929e8db, port_id None from router 95ea748f-ffc3-4817-9b9e-23c27a932822 2025-10-31 13:05:31,171 - INFO - Deleting interface with subnet_id d2bd7656-af5d-4e06-b443-bf0e91972162, port_id None from router 95ea748f-ffc3-4817-9b9e-23c27a932822 2025-10-31 13:05:31,336 - INFO - Deleting VM ctest-vn2-vm1-92816300 2025-10-31 13:05:31,424 - INFO - Deleting VM ctest-vn1-vm1-13565683 2025-10-31 13:05:31,505 - INFO - Deleting VN ctest-vn2-44409340 2025-10-31 13:05:31,551 - DEBUG - VN f6d4efd1-c598-4353-8794-fc0aa4ab67dd still in use: Unable to complete operation on network f6d4efd1-c598-4353-8794-fc0aa4ab67dd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3a076a73-9c94-4b13-8504-0a3a51c4940e'] 2025-10-31 13:05:31,551 - WARNING - Deleting VN ctest-vn2-44409340 failed..Will retry 2025-10-31 13:05:33,647 - DEBUG - Response for deleting network () 2025-10-31 13:05:33,647 - INFO - Deleting VN ctest-vn1-82098821 2025-10-31 13:05:33,739 - DEBUG - Response for deleting network () 2025-10-31 13:05:33,995 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 13:05:33,995 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-10-31 13:05:33,995 - INFO - -------------------------------------------------------------------------------- 2025-10-31 13:05:34,649 - INFO - Deleted project: ctest-TestRouters-06473715, ID : 6a2a43f4-6243-4234-b156-8370684bde03