2025-10-23 20:58:22,642 - INFO - Domain Default found not creating 2025-10-23 20:58:22,796 - INFO - Project ctest-TestRouters-55172543 not found, creating it 2025-10-23 20:58:23,336 - INFO - Created Project:ctest-TestRouters-55172543, ID : 014fe18d-2f9a-48b6-850f-46b6e95900f5 2025-10-23 20:58:25,678 - INFO - ================================================================================ 2025-10-23 20:58:25,679 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-23 20:58:25,679 - 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-23 20:58:25,950 - DEBUG - Nothing to compare xmpp stats {'10.0.0.137': {'10.20.0.17': '0'}} with 2025-10-23 20:58:25,950 - INFO - Initial checks done. Running the testcase now 2025-10-23 20:58:25,950 - INFO - 2025-10-23 20:58:26,523 - DEBUG - Response for create_network : {'network': {'id': '6e918a2f-114c-4f2a-85ab-79cae4509f4e', 'name': 'ctest-vn1-27584940', 'tenant_id': '014fe18d2f9a48b6850f46b6e95900f5', 'project_id': '014fe18d2f9a48b6850f46b6e95900f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55172543', 'ctest-vn1-27584940'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 20:58:26,738 - DEBUG - Response for create_subnet : {'subnet': {'id': '54e1533a-6e01-47d0-9152-f7db9ec0cf1f', 'name': '', 'tenant_id': '014fe18d2f9a48b6850f46b6e95900f5', 'network_id': '6e918a2f-114c-4f2a-85ab-79cae4509f4e', 'ip_version': 4, 'cidr': '108.161.131.192/26', 'allocation_pools': [{'start': '108.161.131.194', 'end': '108.161.131.254'}], 'gateway_ip': '108.161.131.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '108.161.131.194', 'tags': [], 'project_id': '014fe18d2f9a48b6850f46b6e95900f5'}} 2025-10-23 20:58:26,756 - INFO - Created VN ctest-vn1-27584940 2025-10-23 20:58:26,806 - DEBUG - VN ctest-vn1-27584940 UUID is 6e918a2f-114c-4f2a-85ab-79cae4509f4e 2025-10-23 20:58:27,107 - DEBUG - Response for create_network : {'network': {'id': '5a6026ed-e586-452c-9d8c-5670c84acb8f', 'name': 'ctest-vn2-87781262', 'tenant_id': '014fe18d2f9a48b6850f46b6e95900f5', 'project_id': '014fe18d2f9a48b6850f46b6e95900f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-55172543', 'ctest-vn2-87781262'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 20:58:27,315 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4123c89-de1c-4e6b-9d8e-8b2ba7e488bd', 'name': '', 'tenant_id': '014fe18d2f9a48b6850f46b6e95900f5', 'network_id': '5a6026ed-e586-452c-9d8c-5670c84acb8f', 'ip_version': 4, 'cidr': '18.225.234.192/26', 'allocation_pools': [{'start': '18.225.234.194', 'end': '18.225.234.254'}], 'gateway_ip': '18.225.234.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '18.225.234.194', 'tags': [], 'project_id': '014fe18d2f9a48b6850f46b6e95900f5'}} 2025-10-23 20:58:27,335 - INFO - Created VN ctest-vn2-87781262 2025-10-23 20:58:27,390 - DEBUG - VN ctest-vn2-87781262 UUID is 5a6026ed-e586-452c-9d8c-5670c84acb8f 2025-10-23 20:58:27,610 - DEBUG - Services list from nova: [, , ] 2025-10-23 20:58:28,727 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4467-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4467-1) 2025-10-23 20:58:30,059 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4467-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4467-1) 2025-10-23 20:58:30,141 - INFO - Adding interface with subnet_id 54e1533a-6e01-47d0-9152-f7db9ec0cf1f, port_id None to router 4948721f-9486-4c9f-839e-d58e3ecae184 2025-10-23 20:58:30,435 - INFO - Waiting for VM ctest-vn1-vm1-39563932 to be up.. 2025-10-23 20:58:30,539 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 20:58:35,617 - DEBUG - VM is in ACTIVE state now 2025-10-23 20:58:35,617 - INFO - VM name : ctest-vn1-vm1-39563932 2025-10-23 20:58:35,694 - DEBUG - VM ctest-vn1-vm1-39563932 ID is 41c24164-59af-4c16-b302-19e8eca2ae20 2025-10-23 20:58:35,713 - DEBUG - VM ctest-vn1-vm1-39563932 launched on Node cn-jenkins-deploy-platform-ansible-os-4467-1 2025-10-23 20:58:35,786 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/41c24164-59af-4c16-b302-19e8eca2ae20 2025-10-23 20:58:36,128 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/41c24164-59af-4c16-b302-19e8eca2ae20 2025-10-23 20:58:36,163 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/6c1d74ad-9db1-4bc8-8a52-de0860fac2c8 2025-10-23 20:58:39,417 - 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 1018ms') 2025-10-23 20:58:39,417 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39563932 failed! 2025-10-23 20:58:39,478 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-55172543:ctest-vn1-27584940 is 108.161.131.193 and allocation pool is NOT set 2025-10-23 20:58:41,540 - 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.78 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.07 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 = 3.074/3.429/3.784/0.355 ms') 2025-10-23 20:58:41,540 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-39563932 passed 2025-10-23 20:58:41,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 20:58:41,690 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-39563932, IP 108.161.131.195, Port 22 2025-10-23 20:58:41,853 - DEBUG - VM ctest-vn1-vm1-39563932 is ready for SSH connections 2025-10-23 20:58:41,853 - INFO - Waiting for VM ctest-vn2-vm1-85980106 to be up.. 2025-10-23 20:58:41,929 - DEBUG - VM is in ACTIVE state now 2025-10-23 20:58:41,929 - INFO - VM name : ctest-vn2-vm1-85980106 2025-10-23 20:58:42,002 - DEBUG - VM ctest-vn2-vm1-85980106 ID is 2c5f5241-746f-4e67-a21c-84a7af029962 2025-10-23 20:58:42,002 - DEBUG - VM ctest-vn2-vm1-85980106 launched on Node cn-jenkins-deploy-platform-ansible-os-4467-1 2025-10-23 20:58:42,077 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine/2c5f5241-746f-4e67-a21c-84a7af029962 2025-10-23 20:58:42,085 - DEBUG - Requesting: http://10.0.0.137:8082/virtual-machine-interface/814a3ece-8ee6-4914-927a-baaf74eed2fb 2025-10-23 20:58:43,335 - 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.17 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.439 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.439/1.803/3.167/1.364 ms') 2025-10-23 20:58:43,335 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-85980106 passed 2025-10-23 20:58:43,482 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 20:58:43,482 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-85980106, IP 18.225.234.195, Port 22 2025-10-23 20:58:43,637 - DEBUG - VM ctest-vn2-vm1-85980106 is ready for SSH connections 2025-10-23 20:58:43,638 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 20:58:43,638 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.225.234.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-23 20:58:43,638 - DEBUG - ping -s 56 -c 3 -W 1 18.225.234.195 2025-10-23 20:58:48,694 - DEBUG - PING 18.225.234.195 (18.225.234.195): 56 data bytes --- 18.225.234.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 20:58:48,694 - WARNING - Ping to IP 18.225.234.195 from VM ctest-vn1-vm1-39563932 failed 2025-10-23 20:58:48,694 - INFO - Adding interface with subnet_id d4123c89-de1c-4e6b-9d8e-8b2ba7e488bd, port_id None to router 4948721f-9486-4c9f-839e-d58e3ecae184 2025-10-23 20:58:48,992 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 20:58:48,992 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.225.234.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-23 20:58:48,992 - DEBUG - ping -s 56 -c 3 -W 1 18.225.234.195 2025-10-23 20:58:52,221 - DEBUG - PING 18.225.234.195 (18.225.234.195): 56 data bytes 64 bytes from 18.225.234.195: seq=1 ttl=63 time=3.479 ms 64 bytes from 18.225.234.195: seq=2 ttl=63 time=0.940 ms --- 18.225.234.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.940/2.209/3.479 ms 2025-10-23 20:58:52,221 - WARNING - Ping to IP 18.225.234.195 from VM ctest-vn1-vm1-39563932 failed 2025-10-23 20:58:53,222 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.225.234.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-23 20:58:53,222 - DEBUG - ping -s 56 -c 3 -W 1 18.225.234.195 2025-10-23 20:58:55,472 - DEBUG - PING 18.225.234.195 (18.225.234.195): 56 data bytes 64 bytes from 18.225.234.195: seq=0 ttl=63 time=1.588 ms 64 bytes from 18.225.234.195: seq=1 ttl=63 time=1.081 ms 64 bytes from 18.225.234.195: seq=2 ttl=63 time=1.135 ms --- 18.225.234.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.081/1.268/1.588 ms 2025-10-23 20:58:55,472 - INFO - Ping to IP 18.225.234.195 from VM ctest-vn1-vm1-39563932 passed 2025-10-23 20:58:55,472 - INFO - Deleting interface with subnet_id 54e1533a-6e01-47d0-9152-f7db9ec0cf1f, port_id None from router 4948721f-9486-4c9f-839e-d58e3ecae184 2025-10-23 20:58:55,605 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 20:58:55,605 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.225.234.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-23 20:58:55,605 - DEBUG - ping -s 56 -c 3 -W 1 18.225.234.195 2025-10-23 20:58:58,834 - DEBUG - PING 18.225.234.195 (18.225.234.195): 56 data bytes --- 18.225.234.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 20:58:58,834 - WARNING - Ping to IP 18.225.234.195 from VM ctest-vn1-vm1-39563932 failed 2025-10-23 20:58:58,834 - INFO - Adding interface with subnet_id 54e1533a-6e01-47d0-9152-f7db9ec0cf1f, port_id None to router 4948721f-9486-4c9f-839e-d58e3ecae184 2025-10-23 20:58:59,044 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 20:58:59,044 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 18.225.234.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.137, gateway password: c0ntrail123 2025-10-23 20:58:59,044 - DEBUG - ping -s 56 -c 3 -W 1 18.225.234.195 2025-10-23 20:59:01,276 - DEBUG - PING 18.225.234.195 (18.225.234.195): 56 data bytes 64 bytes from 18.225.234.195: seq=0 ttl=63 time=1.691 ms 64 bytes from 18.225.234.195: seq=1 ttl=63 time=0.940 ms 64 bytes from 18.225.234.195: seq=2 ttl=63 time=0.887 ms --- 18.225.234.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.887/1.172/1.691 ms 2025-10-23 20:59:01,276 - INFO - Ping to IP 18.225.234.195 from VM ctest-vn1-vm1-39563932 passed 2025-10-23 20:59:01,276 - INFO - Deleting interface with subnet_id d4123c89-de1c-4e6b-9d8e-8b2ba7e488bd, port_id None from router 4948721f-9486-4c9f-839e-d58e3ecae184 2025-10-23 20:59:01,423 - INFO - Deleting interface with subnet_id 54e1533a-6e01-47d0-9152-f7db9ec0cf1f, port_id None from router 4948721f-9486-4c9f-839e-d58e3ecae184 2025-10-23 20:59:01,629 - INFO - Deleting VM ctest-vn2-vm1-85980106 2025-10-23 20:59:01,713 - INFO - Deleting VM ctest-vn1-vm1-39563932 2025-10-23 20:59:01,792 - INFO - Deleting VN ctest-vn2-87781262 2025-10-23 20:59:01,831 - DEBUG - VN 5a6026ed-e586-452c-9d8c-5670c84acb8f still in use: Unable to complete operation on network 5a6026ed-e586-452c-9d8c-5670c84acb8f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3a66f013-296e-4daa-b564-d3b2dffb1ed4'] 2025-10-23 20:59:01,832 - WARNING - Deleting VN ctest-vn2-87781262 failed..Will retry 2025-10-23 20:59:03,960 - DEBUG - Response for deleting network () 2025-10-23 20:59:03,960 - INFO - Deleting VN ctest-vn1-27584940 2025-10-23 20:59:04,085 - DEBUG - Response for deleting network () 2025-10-23 20:59:04,348 - DEBUG - No XMPP flaps were noticed during the test
2025-10-23 20:59:04,348 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-10-23 20:59:04,348 - INFO - -------------------------------------------------------------------------------- 2025-10-23 20:59:05,078 - INFO - Deleted project: ctest-TestRouters-55172543, ID : 014fe18d-2f9a-48b6-850f-46b6e95900f5