2025-08-15 18:48:36,050 - INFO - Domain Default found not creating 2025-08-15 18:48:36,182 - INFO - Project ctest-TestRouters-31590149 not found, creating it 2025-08-15 18:48:36,679 - INFO - Created Project:ctest-TestRouters-31590149, ID : 397b9ffb-172c-4919-bad6-0748f10af2d8 2025-08-15 18:48:38,236 - INFO - ================================================================================ 2025-08-15 18:48:38,236 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-15 18:48:38,236 - 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 18:48:38,498 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-08-15 18:48:38,498 - INFO - Initial checks done. Running the testcase now 2025-08-15 18:48:38,498 - INFO - 2025-08-15 18:48:39,142 - DEBUG - Response for create_network : {'network': {'id': 'e5fc8de1-e3a9-4ace-b174-7c074270f406', 'name': 'ctest-vn1-56203336', 'tenant_id': '397b9ffb172c4919bad60748f10af2d8', 'project_id': '397b9ffb172c4919bad60748f10af2d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-31590149', 'ctest-vn1-56203336'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 18:48:39,355 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ee0e2498-283b-4a45-9716-b9c06a95c7d5', 'name': '', 'tenant_id': '397b9ffb172c4919bad60748f10af2d8', 'network_id': 'e5fc8de1-e3a9-4ace-b174-7c074270f406', 'ip_version': 4, 'cidr': '128.141.248.128/26', 'allocation_pools': [{'start': '128.141.248.130', 'end': '128.141.248.190'}], 'gateway_ip': '128.141.248.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.141.248.130', 'tags': [], 'project_id': '397b9ffb172c4919bad60748f10af2d8'}} 2025-08-15 18:48:39,375 - INFO - Created VN ctest-vn1-56203336 2025-08-15 18:48:39,428 - DEBUG - VN ctest-vn1-56203336 UUID is e5fc8de1-e3a9-4ace-b174-7c074270f406 2025-08-15 18:48:39,734 - DEBUG - Response for create_network : {'network': {'id': '84eafc6c-8213-4efe-af1c-b1b48b76a9da', 'name': 'ctest-vn2-30021617', 'tenant_id': '397b9ffb172c4919bad60748f10af2d8', 'project_id': '397b9ffb172c4919bad60748f10af2d8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-31590149', 'ctest-vn2-30021617'], 'port_security_enabled': True, 'description': ''}} 2025-08-15 18:48:39,933 - DEBUG - Response for create_subnet : {'subnet': {'id': '1eca1877-418f-4f48-930c-7df7acee2e67', 'name': '', 'tenant_id': '397b9ffb172c4919bad60748f10af2d8', 'network_id': '84eafc6c-8213-4efe-af1c-b1b48b76a9da', 'ip_version': 4, 'cidr': '139.219.182.192/26', 'allocation_pools': [{'start': '139.219.182.194', 'end': '139.219.182.254'}], 'gateway_ip': '139.219.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.219.182.194', 'tags': [], 'project_id': '397b9ffb172c4919bad60748f10af2d8'}} 2025-08-15 18:48:39,951 - INFO - Created VN ctest-vn2-30021617 2025-08-15 18:48:40,004 - DEBUG - VN ctest-vn2-30021617 UUID is 84eafc6c-8213-4efe-af1c-b1b48b76a9da 2025-08-15 18:48:40,167 - DEBUG - Services list from nova: [, , ] 2025-08-15 18:48:41,261 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3869-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3869-1) 2025-08-15 18:48:42,582 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3869-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3869-1) 2025-08-15 18:48:42,659 - INFO - Adding interface with subnet_id ee0e2498-283b-4a45-9716-b9c06a95c7d5, port_id None to router 16f51d7d-095d-4aa2-b502-45b3e3a065f2 2025-08-15 18:48:43,007 - INFO - Waiting for VM ctest-vn1-vm1-82697214 to be up.. 2025-08-15 18:48:43,158 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-15 18:48:48,230 - DEBUG - VM is in ACTIVE state now 2025-08-15 18:48:48,230 - INFO - VM name : ctest-vn1-vm1-82697214 2025-08-15 18:48:48,300 - DEBUG - VM ctest-vn1-vm1-82697214 ID is 71c218ee-0a34-4c4b-9775-579f3d7cc2dd 2025-08-15 18:48:48,319 - DEBUG - VM ctest-vn1-vm1-82697214 launched on Node cn-jenkins-deploy-platform-ansible-os-3869-1 2025-08-15 18:48:48,401 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/71c218ee-0a34-4c4b-9775-579f3d7cc2dd 2025-08-15 18:48:48,734 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/71c218ee-0a34-4c4b-9775-579f3d7cc2dd 2025-08-15 18:48:48,770 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/b70df683-d3f9-4196-b529-5539dda0290b 2025-08-15 18:48:52,030 - 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-08-15 18:48:52,031 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82697214 failed! 2025-08-15 18:48:52,092 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-31590149:ctest-vn1-56203336 is 128.141.248.129 and allocation pool is NOT set 2025-08-15 18:48:54,150 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.392 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.392/1.748/3.105/1.356 ms') 2025-08-15 18:48:54,150 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-82697214 passed 2025-08-15 18:48:54,300 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 18:48:54,300 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-82697214, IP 128.141.248.131, Port 22 2025-08-15 18:48:54,474 - DEBUG - VM ctest-vn1-vm1-82697214 is ready for SSH connections 2025-08-15 18:48:54,474 - INFO - Waiting for VM ctest-vn2-vm1-01229841 to be up.. 2025-08-15 18:48:54,549 - DEBUG - VM is in ACTIVE state now 2025-08-15 18:48:54,549 - INFO - VM name : ctest-vn2-vm1-01229841 2025-08-15 18:48:54,615 - DEBUG - VM ctest-vn2-vm1-01229841 ID is 31f781f0-43a9-4e7e-9db4-af37a699ff3d 2025-08-15 18:48:54,616 - DEBUG - VM ctest-vn2-vm1-01229841 launched on Node cn-jenkins-deploy-platform-ansible-os-3869-1 2025-08-15 18:48:54,684 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/31f781f0-43a9-4e7e-9db4-af37a699ff3d 2025-08-15 18:48:54,751 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/604fdd81-9de6-4654-96f0-9e9c219b56f8 2025-08-15 18:48:55,994 - 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.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.501 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.501/1.844/3.188/1.343 ms') 2025-08-15 18:48:55,994 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-01229841 passed 2025-08-15 18:48:56,152 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 18:48:56,152 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-01229841, IP 139.219.182.195, Port 22 2025-08-15 18:48:56,307 - DEBUG - VM ctest-vn2-vm1-01229841 is ready for SSH connections 2025-08-15 18:48:56,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 18:48:56,308 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.219.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 18:48:56,308 - DEBUG - ping -s 56 -c 3 -W 1 139.219.182.195 2025-08-15 18:49:01,336 - DEBUG - PING 139.219.182.195 (139.219.182.195): 56 data bytes --- 139.219.182.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 18:49:01,336 - WARNING - Ping to IP 139.219.182.195 from VM ctest-vn1-vm1-82697214 failed 2025-08-15 18:49:01,336 - INFO - Adding interface with subnet_id 1eca1877-418f-4f48-930c-7df7acee2e67, port_id None to router 16f51d7d-095d-4aa2-b502-45b3e3a065f2 2025-08-15 18:49:01,624 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 18:49:01,624 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.219.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 18:49:01,625 - DEBUG - ping -s 56 -c 3 -W 1 139.219.182.195 2025-08-15 18:49:04,845 - DEBUG - PING 139.219.182.195 (139.219.182.195): 56 data bytes 64 bytes from 139.219.182.195: seq=1 ttl=63 time=2.856 ms 64 bytes from 139.219.182.195: seq=2 ttl=63 time=1.598 ms --- 139.219.182.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.598/2.227/2.856 ms 2025-08-15 18:49:04,845 - WARNING - Ping to IP 139.219.182.195 from VM ctest-vn1-vm1-82697214 failed 2025-08-15 18:49:05,846 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.219.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 18:49:05,847 - DEBUG - ping -s 56 -c 3 -W 1 139.219.182.195 2025-08-15 18:49:08,081 - DEBUG - PING 139.219.182.195 (139.219.182.195): 56 data bytes 64 bytes from 139.219.182.195: seq=0 ttl=63 time=1.584 ms 64 bytes from 139.219.182.195: seq=1 ttl=63 time=0.810 ms 64 bytes from 139.219.182.195: seq=2 ttl=63 time=1.083 ms --- 139.219.182.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.810/1.159/1.584 ms 2025-08-15 18:49:08,081 - INFO - Ping to IP 139.219.182.195 from VM ctest-vn1-vm1-82697214 passed 2025-08-15 18:49:08,081 - INFO - Deleting interface with subnet_id ee0e2498-283b-4a45-9716-b9c06a95c7d5, port_id None from router 16f51d7d-095d-4aa2-b502-45b3e3a065f2 2025-08-15 18:49:08,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 18:49:08,210 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.219.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 18:49:08,210 - DEBUG - ping -s 56 -c 3 -W 1 139.219.182.195 2025-08-15 18:49:11,422 - DEBUG - PING 139.219.182.195 (139.219.182.195): 56 data bytes --- 139.219.182.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-15 18:49:11,422 - WARNING - Ping to IP 139.219.182.195 from VM ctest-vn1-vm1-82697214 failed 2025-08-15 18:49:11,422 - INFO - Adding interface with subnet_id ee0e2498-283b-4a45-9716-b9c06a95c7d5, port_id None to router 16f51d7d-095d-4aa2-b502-45b3e3a065f2 2025-08-15 18:49:11,629 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-15 18:49:11,629 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 139.219.182.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-08-15 18:49:11,630 - DEBUG - ping -s 56 -c 3 -W 1 139.219.182.195 2025-08-15 18:49:13,838 - DEBUG - PING 139.219.182.195 (139.219.182.195): 56 data bytes 64 bytes from 139.219.182.195: seq=0 ttl=63 time=2.825 ms 64 bytes from 139.219.182.195: seq=1 ttl=63 time=1.438 ms 64 bytes from 139.219.182.195: seq=2 ttl=63 time=0.841 ms --- 139.219.182.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.841/1.701/2.825 ms 2025-08-15 18:49:13,838 - INFO - Ping to IP 139.219.182.195 from VM ctest-vn1-vm1-82697214 passed 2025-08-15 18:49:13,838 - INFO - Deleting interface with subnet_id 1eca1877-418f-4f48-930c-7df7acee2e67, port_id None from router 16f51d7d-095d-4aa2-b502-45b3e3a065f2 2025-08-15 18:49:14,001 - INFO - Deleting interface with subnet_id ee0e2498-283b-4a45-9716-b9c06a95c7d5, port_id None from router 16f51d7d-095d-4aa2-b502-45b3e3a065f2 2025-08-15 18:49:14,208 - INFO - Deleting VM ctest-vn2-vm1-01229841 2025-08-15 18:49:14,296 - INFO - Deleting VM ctest-vn1-vm1-82697214 2025-08-15 18:49:14,374 - INFO - Deleting VN ctest-vn2-30021617 2025-08-15 18:49:14,424 - DEBUG - VN 84eafc6c-8213-4efe-af1c-b1b48b76a9da still in use: Unable to complete operation on network 84eafc6c-8213-4efe-af1c-b1b48b76a9da. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-721c7498-0749-49cc-a964-4d6b4beeef72'] 2025-08-15 18:49:14,424 - WARNING - Deleting VN ctest-vn2-30021617 failed..Will retry 2025-08-15 18:49:16,553 - DEBUG - Response for deleting network () 2025-08-15 18:49:16,553 - INFO - Deleting VN ctest-vn1-56203336 2025-08-15 18:49:16,669 - DEBUG - Response for deleting network () 2025-08-15 18:49:16,936 - DEBUG - No XMPP flaps were noticed during the test 2025-08-15 18:49:16,936 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-08-15 18:49:16,936 - INFO - -------------------------------------------------------------------------------- 2025-08-15 18:49:17,690 - INFO - Deleted project: ctest-TestRouters-31590149, ID : 397b9ffb-172c-4919-bad6-0748f10af2d8