2025-08-15 17:27:14,082 - INFO - Domain Default found not creating 2025-08-15 17:27:14,202 - INFO - Project ctest-TestRouters-38212032 not found, creating it 2025-08-15 17:27:14,665 - INFO - Created Project:ctest-TestRouters-38212032, ID : 2bee3b04-e329-4fcc-8122-b08ca0904d5e 2025-08-15 17:27:15,978 - INFO - ================================================================================ 2025-08-15 17:27:15,979 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-15 17:27:15,979 - 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-15 17:27:16,230 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2025-08-15 17:27:16,230 - INFO - Initial checks done. Running the testcase now 2025-08-15 17:27:16,230 - INFO - 2025-08-15 17:27:16,742 - DEBUG - Response for create_network : {'network': {'id': '629164ab-bbd3-47d2-bce8-851c4215bd20', 'name': 'ctest-vn1-69206384', 'tenant_id': '2bee3b04e3294fcc8122b08ca0904d5e', 'project_id': '2bee3b04e3294fcc8122b08ca0904d5e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-38212032', 'ctest-vn1-69206384'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 17:27:16,906 - DEBUG - Response for create_subnet : {'subnet': {'id': '82affefb-f4f4-4535-8d9e-7db92865cca8', 'name': '', 'tenant_id': '2bee3b04e3294fcc8122b08ca0904d5e', 'network_id': '629164ab-bbd3-47d2-bce8-851c4215bd20', 'ip_version': 4, 'cidr': '49.188.39.64/26', 'allocation_pools': [{'start': '49.188.39.66', 'end': '49.188.39.126'}], 'gateway_ip': '49.188.39.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '49.188.39.66', 'tags': [], 'project_id': '2bee3b04e3294fcc8122b08ca0904d5e'}} 2025-08-15 17:27:16,920 - INFO - Created VN ctest-vn1-69206384 2025-08-15 17:27:16,969 - DEBUG - VN ctest-vn1-69206384 UUID is 629164ab-bbd3-47d2-bce8-851c4215bd20 2025-08-15 17:27:17,273 - DEBUG - Response for create_network : {'network': {'id': 'f36cd385-83af-46e2-bde3-65c066e7de31', 'name': 'ctest-vn2-16191326', 'tenant_id': '2bee3b04e3294fcc8122b08ca0904d5e', 'project_id': '2bee3b04e3294fcc8122b08ca0904d5e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-38212032', 'ctest-vn2-16191326'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 17:27:17,420 - DEBUG - Response for create_subnet : {'subnet': {'id': '07c11af0-1b7a-4187-810a-c440ffb52d70', 'name': '', 'tenant_id': '2bee3b04e3294fcc8122b08ca0904d5e', 'network_id': 'f36cd385-83af-46e2-bde3-65c066e7de31', 'ip_version': 4, 'cidr': '183.131.140.64/26', 'allocation_pools': [{'start': '183.131.140.66', 'end': '183.131.140.126'}], 'gateway_ip': '183.131.140.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '183.131.140.66', 'tags': [], 'project_id': '2bee3b04e3294fcc8122b08ca0904d5e'}} 2025-08-15 17:27:17,438 - INFO - Created VN ctest-vn2-16191326 2025-08-15 17:27:17,489 - DEBUG - VN ctest-vn2-16191326 UUID is f36cd385-83af-46e2-bde3-65c066e7de31 2025-08-15 17:27:17,713 - DEBUG - Services list from nova: [, , ] 2025-08-15 17:27:18,691 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3868-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3868-1) 2025-08-15 17:27:19,821 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3868-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3868-1) 2025-08-15 17:27:19,903 - INFO - Adding interface with subnet_id 82affefb-f4f4-4535-8d9e-7db92865cca8, port_id None to router 8d24f338-aa7b-4437-9a50-3d3021b88745 2025-08-15 17:27:20,263 - INFO - Waiting for VM ctest-vn1-vm1-31254734 to be up.. 2025-08-15 17:27:20,377 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 17:27:25,458 - DEBUG - VM is in ACTIVE state now 2025-08-15 17:27:25,458 - INFO - VM name : ctest-vn1-vm1-31254734 2025-08-15 17:27:25,520 - DEBUG - VM ctest-vn1-vm1-31254734 ID is a6cf7b8e-2ce9-4c34-80a6-ba2a8aac0632 2025-08-15 17:27:25,536 - DEBUG - VM ctest-vn1-vm1-31254734 launched on Node cn-jenkins-deploy-platform-ansible-os-3868-1 2025-08-15 17:27:25,604 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a6cf7b8e-2ce9-4c34-80a6-ba2a8aac0632 2025-08-15 17:27:25,892 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a6cf7b8e-2ce9-4c34-80a6-ba2a8aac0632 2025-08-15 17:27:25,920 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/b98a6926-3ddc-437a-8f73-cb1e4371cfb9 2025-08-15 17:27:29,160 - 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=9.41 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1012ms\r\nrtt min/avg/max/mdev = 9.410/9.410/9.410/0.000 ms') 2025-08-15 17:27:29,160 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-31254734 passed 2025-08-15 17:27:29,313 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:27:29,313 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-31254734, IP 49.188.39.67, Port 22 2025-08-15 17:27:29,464 - DEBUG - VM ctest-vn1-vm1-31254734 is ready for SSH connections 2025-08-15 17:27:29,465 - INFO - Waiting for VM ctest-vn2-vm1-72711128 to be up.. 2025-08-15 17:27:29,539 - DEBUG - VM is in ACTIVE state now 2025-08-15 17:27:29,539 - INFO - VM name : ctest-vn2-vm1-72711128 2025-08-15 17:27:29,614 - DEBUG - VM ctest-vn2-vm1-72711128 ID is 4d440260-0fb0-4479-a1da-64a83b26fdc1 2025-08-15 17:27:29,615 - DEBUG - VM ctest-vn2-vm1-72711128 launched on Node cn-jenkins-deploy-platform-ansible-os-3868-1 2025-08-15 17:27:29,687 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/4d440260-0fb0-4479-a1da-64a83b26fdc1 2025-08-15 17:27:29,694 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/872b3930-60e4-425f-936f-44fbc0f0d89c 2025-08-15 17:27:30,936 - 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.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.267 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.267/1.348/2.430/1.081 ms') 2025-08-15 17:27:30,936 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-72711128 passed 2025-08-15 17:27:31,085 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:27:31,085 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-72711128, IP 183.131.140.67, Port 22 2025-08-15 17:27:31,255 - DEBUG - VM ctest-vn2-vm1-72711128 is ready for SSH connections 2025-08-15 17:27:31,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:27:31,255 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.131.140.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-15 17:27:31,255 - DEBUG - ping -s 56 -c 3 -W 1 183.131.140.67 2025-08-15 17:27:35,912 - DEBUG - PING 183.131.140.67 (183.131.140.67): 56 data bytes --- 183.131.140.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 17:27:35,912 - WARNING - Ping to IP 183.131.140.67 from VM ctest-vn1-vm1-31254734 failed 2025-08-15 17:27:35,912 - INFO - Adding interface with subnet_id 07c11af0-1b7a-4187-810a-c440ffb52d70, port_id None to router 8d24f338-aa7b-4437-9a50-3d3021b88745 2025-08-15 17:27:36,127 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:27:36,127 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.131.140.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-15 17:27:36,127 - DEBUG - ping -s 56 -c 3 -W 1 183.131.140.67 2025-08-15 17:27:38,324 - DEBUG - PING 183.131.140.67 (183.131.140.67): 56 data bytes 64 bytes from 183.131.140.67: seq=0 ttl=63 time=2.272 ms 64 bytes from 183.131.140.67: seq=1 ttl=63 time=0.766 ms 64 bytes from 183.131.140.67: seq=2 ttl=63 time=0.757 ms --- 183.131.140.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.757/1.265/2.272 ms 2025-08-15 17:27:38,324 - INFO - Ping to IP 183.131.140.67 from VM ctest-vn1-vm1-31254734 passed 2025-08-15 17:27:38,324 - INFO - Deleting interface with subnet_id 82affefb-f4f4-4535-8d9e-7db92865cca8, port_id None from router 8d24f338-aa7b-4437-9a50-3d3021b88745 2025-08-15 17:27:38,425 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:27:38,425 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.131.140.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-15 17:27:38,425 - DEBUG - ping -s 56 -c 3 -W 1 183.131.140.67 2025-08-15 17:27:41,623 - DEBUG - PING 183.131.140.67 (183.131.140.67): 56 data bytes --- 183.131.140.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 17:27:41,623 - WARNING - Ping to IP 183.131.140.67 from VM ctest-vn1-vm1-31254734 failed 2025-08-15 17:27:41,623 - INFO - Adding interface with subnet_id 82affefb-f4f4-4535-8d9e-7db92865cca8, port_id None to router 8d24f338-aa7b-4437-9a50-3d3021b88745 2025-08-15 17:27:41,829 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 17:27:41,829 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 183.131.140.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2025-08-15 17:27:41,829 - DEBUG - ping -s 56 -c 3 -W 1 183.131.140.67 2025-08-15 17:27:44,027 - DEBUG - PING 183.131.140.67 (183.131.140.67): 56 data bytes 64 bytes from 183.131.140.67: seq=0 ttl=63 time=1.404 ms 64 bytes from 183.131.140.67: seq=1 ttl=63 time=0.703 ms 64 bytes from 183.131.140.67: seq=2 ttl=63 time=0.689 ms --- 183.131.140.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.689/0.932/1.404 ms 2025-08-15 17:27:44,027 - INFO - Ping to IP 183.131.140.67 from VM ctest-vn1-vm1-31254734 passed 2025-08-15 17:27:44,027 - INFO - Deleting interface with subnet_id 07c11af0-1b7a-4187-810a-c440ffb52d70, port_id None from router 8d24f338-aa7b-4437-9a50-3d3021b88745 2025-08-15 17:27:44,136 - INFO - Deleting interface with subnet_id 82affefb-f4f4-4535-8d9e-7db92865cca8, port_id None from router 8d24f338-aa7b-4437-9a50-3d3021b88745 2025-08-15 17:27:44,292 - INFO - Deleting VM ctest-vn2-vm1-72711128 2025-08-15 17:27:44,351 - INFO - Deleting VM ctest-vn1-vm1-31254734 2025-08-15 17:27:44,412 - INFO - Deleting VN ctest-vn2-16191326 2025-08-15 17:27:44,447 - DEBUG - VN f36cd385-83af-46e2-bde3-65c066e7de31 still in use: Unable to complete operation on network f36cd385-83af-46e2-bde3-65c066e7de31. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-ad36954b-e3c7-4924-8a30-34d92f27ccca'] 2025-08-15 17:27:44,447 - WARNING - Deleting VN ctest-vn2-16191326 failed..Will retry 2025-08-15 17:27:46,538 - DEBUG - Response for deleting network () 2025-08-15 17:27:46,538 - INFO - Deleting VN ctest-vn1-69206384 2025-08-15 17:27:46,630 - DEBUG - Response for deleting network () 2025-08-15 17:27:46,878 - DEBUG - No XMPP flaps were noticed during the test
2025-08-15 17:27:46,878 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:31]
2025-08-15 17:27:46,878 - INFO - -------------------------------------------------------------------------------- 2025-08-15 17:27:47,518 - INFO - Deleted project: ctest-TestRouters-38212032, ID : 2bee3b04-e329-4fcc-8122-b08ca0904d5e