2025-09-05 18:20:35,002 - INFO - Domain Default found not creating 2025-09-05 18:20:35,136 - INFO - Project ctest-TestRouters-59087785 not found, creating it 2025-09-05 18:20:35,574 - INFO - Created Project:ctest-TestRouters-59087785, ID : 3c3b2009-b616-4b88-b068-b20f33413edb 2025-09-05 18:20:36,920 - INFO - ================================================================================ 2025-09-05 18:20:36,921 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-05 18:20:36,921 - 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-09-05 18:20:37,174 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-05 18:20:37,174 - INFO - Initial checks done. Running the testcase now 2025-09-05 18:20:37,174 - INFO - 2025-09-05 18:20:37,685 - DEBUG - Response for create_network : {'network': {'id': 'dfe8a241-3adb-45a5-b578-4b033eb4f0b7', 'name': 'ctest-vn1-72518245', 'tenant_id': '3c3b2009b6164b88b068b20f33413edb', 'project_id': '3c3b2009b6164b88b068b20f33413edb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-59087785', 'ctest-vn1-72518245'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 18:20:37,864 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc73845a-9c48-40f3-8b0f-dca36c563a44', 'name': '', 'tenant_id': '3c3b2009b6164b88b068b20f33413edb', 'network_id': 'dfe8a241-3adb-45a5-b578-4b033eb4f0b7', 'ip_version': 4, 'cidr': '158.173.5.192/26', 'allocation_pools': [{'start': '158.173.5.194', 'end': '158.173.5.254'}], 'gateway_ip': '158.173.5.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.173.5.194', 'tags': [], 'project_id': '3c3b2009b6164b88b068b20f33413edb'}} 2025-09-05 18:20:37,880 - INFO - Created VN ctest-vn1-72518245 2025-09-05 18:20:37,929 - DEBUG - VN ctest-vn1-72518245 UUID is dfe8a241-3adb-45a5-b578-4b033eb4f0b7 2025-09-05 18:20:38,237 - DEBUG - Response for create_network : {'network': {'id': '16eee837-d3b1-4956-85fe-8bed99cd3beb', 'name': 'ctest-vn2-06188046', 'tenant_id': '3c3b2009b6164b88b068b20f33413edb', 'project_id': '3c3b2009b6164b88b068b20f33413edb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-59087785', 'ctest-vn2-06188046'], 'port_security_enabled': True, 'description': ''}} 2025-09-05 18:20:38,451 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a64ea0da-edc1-4b56-b6d5-23aadc265a61', 'name': '', 'tenant_id': '3c3b2009b6164b88b068b20f33413edb', 'network_id': '16eee837-d3b1-4956-85fe-8bed99cd3beb', 'ip_version': 4, 'cidr': '7.0.111.0/26', 'allocation_pools': [{'start': '7.0.111.2', 'end': '7.0.111.62'}], 'gateway_ip': '7.0.111.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '7.0.111.2', 'tags': [], 'project_id': '3c3b2009b6164b88b068b20f33413edb'}} 2025-09-05 18:20:38,470 - INFO - Created VN ctest-vn2-06188046 2025-09-05 18:20:38,521 - DEBUG - VN ctest-vn2-06188046 UUID is 16eee837-d3b1-4956-85fe-8bed99cd3beb 2025-09-05 18:20:38,727 - DEBUG - Services list from nova: [, , ] 2025-09-05 18:20:39,689 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4028-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4028-1) 2025-09-05 18:20:40,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4028-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4028-1) 2025-09-05 18:20:40,951 - INFO - Adding interface with subnet_id bc73845a-9c48-40f3-8b0f-dca36c563a44, port_id None to router 91cd5552-73d7-4c52-a4d7-fc475995c87f 2025-09-05 18:20:41,185 - INFO - Waiting for VM ctest-vn1-vm1-34587342 to be up.. 2025-09-05 18:20:41,301 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-05 18:20:46,380 - DEBUG - VM is in ACTIVE state now 2025-09-05 18:20:46,380 - INFO - VM name : ctest-vn1-vm1-34587342 2025-09-05 18:20:46,466 - DEBUG - VM ctest-vn1-vm1-34587342 ID is f2fc4d94-55b2-449e-bba8-154570193611 2025-09-05 18:20:46,501 - DEBUG - VM ctest-vn1-vm1-34587342 launched on Node cn-jenkins-deploy-platform-ansible-os-4028-1 2025-09-05 18:20:46,573 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/f2fc4d94-55b2-449e-bba8-154570193611 2025-09-05 18:20:46,878 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/f2fc4d94-55b2-449e-bba8-154570193611 2025-09-05 18:20:46,906 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/8f661729-9ae6-445a-a287-ac350c87f709 2025-09-05 18:20:50,159 - 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 1011ms') 2025-09-05 18:20:50,159 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34587342 failed! 2025-09-05 18:20:50,221 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-59087785:ctest-vn1-72518245 is 158.173.5.193 and allocation pool is NOT set 2025-09-05 18:20:52,282 - 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=4.28 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.790 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.790/2.533/4.277/1.743 ms') 2025-09-05 18:20:52,283 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-34587342 passed 2025-09-05 18:20:52,433 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 18:20:52,433 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-34587342, IP 158.173.5.195, Port 22 2025-09-05 18:20:52,588 - DEBUG - VM ctest-vn1-vm1-34587342 is ready for SSH connections 2025-09-05 18:20:52,588 - INFO - Waiting for VM ctest-vn2-vm1-41373186 to be up.. 2025-09-05 18:20:52,659 - DEBUG - VM is in ACTIVE state now 2025-09-05 18:20:52,659 - INFO - VM name : ctest-vn2-vm1-41373186 2025-09-05 18:20:52,725 - DEBUG - VM ctest-vn2-vm1-41373186 ID is 2268cb2d-f6b3-4085-993c-7456ccafb5ff 2025-09-05 18:20:52,725 - DEBUG - VM ctest-vn2-vm1-41373186 launched on Node cn-jenkins-deploy-platform-ansible-os-4028-1 2025-09-05 18:20:52,789 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/2268cb2d-f6b3-4085-993c-7456ccafb5ff 2025-09-05 18:20:52,796 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/384c25f9-f53a-45c2-856d-c42cc912a84b 2025-09-05 18:20:54,040 - 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.76 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.31 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 = 1.311/2.537/3.763/1.226 ms') 2025-09-05 18:20:54,040 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-41373186 passed 2025-09-05 18:20:54,189 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 18:20:54,189 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-41373186, IP 7.0.111.3, Port 22 2025-09-05 18:20:54,341 - DEBUG - VM ctest-vn2-vm1-41373186 is ready for SSH connections 2025-09-05 18:20:54,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 18:20:54,341 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.0.111.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-05 18:20:54,341 - DEBUG - ping -s 56 -c 3 -W 1 7.0.111.3 2025-09-05 18:20:58,962 - DEBUG - PING 7.0.111.3 (7.0.111.3): 56 data bytes --- 7.0.111.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-05 18:20:58,962 - WARNING - Ping to IP 7.0.111.3 from VM ctest-vn1-vm1-34587342 failed 2025-09-05 18:20:58,963 - INFO - Adding interface with subnet_id a64ea0da-edc1-4b56-b6d5-23aadc265a61, port_id None to router 91cd5552-73d7-4c52-a4d7-fc475995c87f 2025-09-05 18:20:59,215 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 18:20:59,216 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.0.111.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-05 18:20:59,216 - DEBUG - ping -s 56 -c 3 -W 1 7.0.111.3 2025-09-05 18:21:01,421 - DEBUG - PING 7.0.111.3 (7.0.111.3): 56 data bytes 64 bytes from 7.0.111.3: seq=0 ttl=63 time=2.409 ms 64 bytes from 7.0.111.3: seq=1 ttl=63 time=0.820 ms 64 bytes from 7.0.111.3: seq=2 ttl=63 time=0.867 ms --- 7.0.111.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.820/1.365/2.409 ms 2025-09-05 18:21:01,421 - INFO - Ping to IP 7.0.111.3 from VM ctest-vn1-vm1-34587342 passed 2025-09-05 18:21:01,421 - INFO - Deleting interface with subnet_id bc73845a-9c48-40f3-8b0f-dca36c563a44, port_id None from router 91cd5552-73d7-4c52-a4d7-fc475995c87f 2025-09-05 18:21:01,539 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 18:21:01,539 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.0.111.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-05 18:21:01,539 - DEBUG - ping -s 56 -c 3 -W 1 7.0.111.3 2025-09-05 18:21:04,750 - DEBUG - PING 7.0.111.3 (7.0.111.3): 56 data bytes --- 7.0.111.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-05 18:21:04,750 - WARNING - Ping to IP 7.0.111.3 from VM ctest-vn1-vm1-34587342 failed 2025-09-05 18:21:04,751 - INFO - Adding interface with subnet_id bc73845a-9c48-40f3-8b0f-dca36c563a44, port_id None to router 91cd5552-73d7-4c52-a4d7-fc475995c87f 2025-09-05 18:21:04,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-05 18:21:04,945 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.0.111.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-05 18:21:04,945 - DEBUG - ping -s 56 -c 3 -W 1 7.0.111.3 2025-09-05 18:21:08,153 - DEBUG - PING 7.0.111.3 (7.0.111.3): 56 data bytes 64 bytes from 7.0.111.3: seq=1 ttl=63 time=1.389 ms 64 bytes from 7.0.111.3: seq=2 ttl=63 time=0.750 ms --- 7.0.111.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.750/1.069/1.389 ms 2025-09-05 18:21:08,153 - WARNING - Ping to IP 7.0.111.3 from VM ctest-vn1-vm1-34587342 failed 2025-09-05 18:21:09,153 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 7.0.111.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-05 18:21:09,153 - DEBUG - ping -s 56 -c 3 -W 1 7.0.111.3 2025-09-05 18:21:11,356 - DEBUG - PING 7.0.111.3 (7.0.111.3): 56 data bytes 64 bytes from 7.0.111.3: seq=0 ttl=63 time=1.217 ms 64 bytes from 7.0.111.3: seq=1 ttl=63 time=0.714 ms 64 bytes from 7.0.111.3: seq=2 ttl=63 time=0.764 ms --- 7.0.111.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.714/0.898/1.217 ms 2025-09-05 18:21:11,356 - INFO - Ping to IP 7.0.111.3 from VM ctest-vn1-vm1-34587342 passed 2025-09-05 18:21:11,356 - INFO - Deleting interface with subnet_id a64ea0da-edc1-4b56-b6d5-23aadc265a61, port_id None from router 91cd5552-73d7-4c52-a4d7-fc475995c87f 2025-09-05 18:21:11,484 - INFO - Deleting interface with subnet_id bc73845a-9c48-40f3-8b0f-dca36c563a44, port_id None from router 91cd5552-73d7-4c52-a4d7-fc475995c87f 2025-09-05 18:21:11,652 - INFO - Deleting VM ctest-vn2-vm1-41373186 2025-09-05 18:21:11,721 - INFO - Deleting VM ctest-vn1-vm1-34587342 2025-09-05 18:21:11,785 - INFO - Deleting VN ctest-vn2-06188046 2025-09-05 18:21:11,819 - DEBUG - VN 16eee837-d3b1-4956-85fe-8bed99cd3beb still in use: Unable to complete operation on network 16eee837-d3b1-4956-85fe-8bed99cd3beb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0880909d-805b-456c-acc5-8ffdf738f1db'] 2025-09-05 18:21:11,819 - WARNING - Deleting VN ctest-vn2-06188046 failed..Will retry 2025-09-05 18:21:13,901 - DEBUG - Response for deleting network () 2025-09-05 18:21:13,901 - INFO - Deleting VN ctest-vn1-72518245 2025-09-05 18:21:13,998 - DEBUG - Response for deleting network () 2025-09-05 18:21:14,265 - DEBUG - No XMPP flaps were noticed during the test 2025-09-05 18:21:14,265 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-05 18:21:14,266 - INFO - -------------------------------------------------------------------------------- 2025-09-05 18:21:14,920 - INFO - Deleted project: ctest-TestRouters-59087785, ID : 3c3b2009-b616-4b88-b068-b20f33413edb