2025-08-25 21:08:52,630 - INFO - Domain Default found not creating 2025-08-25 21:08:52,770 - INFO - Project ctest-TestRouters-23429822 not found, creating it 2025-08-25 21:08:53,294 - INFO - Created Project:ctest-TestRouters-23429822, ID : de9ac75e-d866-4d3e-8ce4-a6236e0443d3 2025-08-25 21:08:54,847 - INFO - ================================================================================ 2025-08-25 21:08:54,848 - INFO - STARTING TEST : test_basic_router_behavior 2025-08-25 21:08:54,848 - 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-25 21:08:55,108 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with 2025-08-25 21:08:55,108 - INFO - Initial checks done. Running the testcase now 2025-08-25 21:08:55,108 - INFO - 2025-08-25 21:08:55,722 - DEBUG - Response for create_network : {'network': {'id': 'e1ad04b5-3529-45e1-85e4-be079802d165', 'name': 'ctest-vn1-82215181', 'tenant_id': 'de9ac75ed8664d3e8ce4a6236e0443d3', 'project_id': 'de9ac75ed8664d3e8ce4a6236e0443d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-23429822', 'ctest-vn1-82215181'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 21:08:55,939 - DEBUG - Response for create_subnet : {'subnet': {'id': '48a0f707-2b27-49fa-b03b-cb3b2247f024', 'name': '', 'tenant_id': 'de9ac75ed8664d3e8ce4a6236e0443d3', 'network_id': 'e1ad04b5-3529-45e1-85e4-be079802d165', 'ip_version': 4, 'cidr': '59.57.174.0/26', 'allocation_pools': [{'start': '59.57.174.2', 'end': '59.57.174.62'}], 'gateway_ip': '59.57.174.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '59.57.174.2', 'tags': [], 'project_id': 'de9ac75ed8664d3e8ce4a6236e0443d3'}} 2025-08-25 21:08:55,973 - INFO - Created VN ctest-vn1-82215181 2025-08-25 21:08:56,026 - DEBUG - VN ctest-vn1-82215181 UUID is e1ad04b5-3529-45e1-85e4-be079802d165 2025-08-25 21:08:56,377 - DEBUG - Response for create_network : {'network': {'id': '10a1e13d-d5df-4fdb-a8e9-d56627bbdc54', 'name': 'ctest-vn2-76614096', 'tenant_id': 'de9ac75ed8664d3e8ce4a6236e0443d3', 'project_id': 'de9ac75ed8664d3e8ce4a6236e0443d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-23429822', 'ctest-vn2-76614096'], 'port_security_enabled': True, 'description': ''}} 2025-08-25 21:08:56,639 - DEBUG - Response for create_subnet : {'subnet': {'id': '44a118ba-92e0-4236-8165-91fecdcec25d', 'name': '', 'tenant_id': 'de9ac75ed8664d3e8ce4a6236e0443d3', 'network_id': '10a1e13d-d5df-4fdb-a8e9-d56627bbdc54', 'ip_version': 4, 'cidr': '99.194.72.192/26', 'allocation_pools': [{'start': '99.194.72.194', 'end': '99.194.72.254'}], 'gateway_ip': '99.194.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.194.72.194', 'tags': [], 'project_id': 'de9ac75ed8664d3e8ce4a6236e0443d3'}} 2025-08-25 21:08:56,656 - INFO - Created VN ctest-vn2-76614096 2025-08-25 21:08:56,710 - DEBUG - VN ctest-vn2-76614096 UUID is 10a1e13d-d5df-4fdb-a8e9-d56627bbdc54 2025-08-25 21:08:56,883 - DEBUG - Services list from nova: [, , ] 2025-08-25 21:08:57,976 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3928-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3928-1) 2025-08-25 21:08:59,271 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3928-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3928-1) 2025-08-25 21:08:59,360 - INFO - Adding interface with subnet_id 48a0f707-2b27-49fa-b03b-cb3b2247f024, port_id None to router b9c32c69-1661-4979-9482-42d1af7ec7ec 2025-08-25 21:08:59,745 - INFO - Waiting for VM ctest-vn1-vm1-74688030 to be up.. 2025-08-25 21:08:59,864 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-08-25 21:09:04,946 - DEBUG - VM is in ACTIVE state now 2025-08-25 21:09:04,947 - INFO - VM name : ctest-vn1-vm1-74688030 2025-08-25 21:09:05,030 - DEBUG - VM ctest-vn1-vm1-74688030 ID is 5b8175b5-39dd-4de6-80b1-8b28daa7c231 2025-08-25 21:09:05,050 - DEBUG - VM ctest-vn1-vm1-74688030 launched on Node cn-jenkins-deploy-platform-ansible-os-3928-1 2025-08-25 21:09:05,121 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/5b8175b5-39dd-4de6-80b1-8b28daa7c231 2025-08-25 21:09:05,439 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/5b8175b5-39dd-4de6-80b1-8b28daa7c231 2025-08-25 21:09:05,469 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/c65b4deb-19af-4bd3-8dc3-36cf85e6bbec 2025-08-25 21:09:08,736 - 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 1027ms') 2025-08-25 21:09:08,736 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74688030 failed! 2025-08-25 21:09:08,802 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-23429822:ctest-vn1-82215181 is 59.57.174.1 and allocation pool is NOT set 2025-08-25 21:09:10,868 - 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=2.91 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.391 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 = 0.391/1.652/2.914/1.261 ms') 2025-08-25 21:09:10,868 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-74688030 passed 2025-08-25 21:09:11,026 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:09:11,026 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-74688030, IP 59.57.174.3, Port 22 2025-08-25 21:09:11,198 - DEBUG - VM ctest-vn1-vm1-74688030 is ready for SSH connections 2025-08-25 21:09:11,198 - INFO - Waiting for VM ctest-vn2-vm1-08887039 to be up.. 2025-08-25 21:09:11,279 - DEBUG - VM is in ACTIVE state now 2025-08-25 21:09:11,279 - INFO - VM name : ctest-vn2-vm1-08887039 2025-08-25 21:09:11,361 - DEBUG - VM ctest-vn2-vm1-08887039 ID is 76f10575-8237-45d4-8422-c7682012d7c5 2025-08-25 21:09:11,361 - DEBUG - VM ctest-vn2-vm1-08887039 launched on Node cn-jenkins-deploy-platform-ansible-os-3928-1 2025-08-25 21:09:11,432 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/76f10575-8237-45d4-8422-c7682012d7c5 2025-08-25 21:09:11,442 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/2e209680-0c16-49a7-a23c-8e64f49d2399 2025-08-25 21:09:12,684 - 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.14 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.350 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.350/1.744/3.138/1.394 ms') 2025-08-25 21:09:12,684 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-08887039 passed 2025-08-25 21:09:12,834 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:09:12,834 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-08887039, IP 99.194.72.195, Port 22 2025-08-25 21:09:13,000 - DEBUG - VM ctest-vn2-vm1-08887039 is ready for SSH connections 2025-08-25 21:09:13,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:09:13,000 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.194.72.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-25 21:09:13,001 - DEBUG - ping -s 56 -c 3 -W 1 99.194.72.195 2025-08-25 21:09:17,999 - DEBUG - PING 99.194.72.195 (99.194.72.195): 56 data bytes --- 99.194.72.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-25 21:09:17,999 - WARNING - Ping to IP 99.194.72.195 from VM ctest-vn1-vm1-74688030 failed 2025-08-25 21:09:17,999 - INFO - Adding interface with subnet_id 44a118ba-92e0-4236-8165-91fecdcec25d, port_id None to router b9c32c69-1661-4979-9482-42d1af7ec7ec 2025-08-25 21:09:18,285 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:09:18,286 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.194.72.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-25 21:09:18,286 - DEBUG - ping -s 56 -c 3 -W 1 99.194.72.195 2025-08-25 21:09:21,492 - DEBUG - PING 99.194.72.195 (99.194.72.195): 56 data bytes 64 bytes from 99.194.72.195: seq=1 ttl=63 time=2.670 ms 64 bytes from 99.194.72.195: seq=2 ttl=63 time=0.804 ms --- 99.194.72.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.804/1.737/2.670 ms 2025-08-25 21:09:21,492 - WARNING - Ping to IP 99.194.72.195 from VM ctest-vn1-vm1-74688030 failed 2025-08-25 21:09:22,493 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.194.72.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-25 21:09:22,493 - DEBUG - ping -s 56 -c 3 -W 1 99.194.72.195 2025-08-25 21:09:24,694 - DEBUG - PING 99.194.72.195 (99.194.72.195): 56 data bytes 64 bytes from 99.194.72.195: seq=0 ttl=63 time=1.192 ms 64 bytes from 99.194.72.195: seq=1 ttl=63 time=0.781 ms 64 bytes from 99.194.72.195: seq=2 ttl=63 time=0.738 ms --- 99.194.72.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.738/0.903/1.192 ms 2025-08-25 21:09:24,694 - INFO - Ping to IP 99.194.72.195 from VM ctest-vn1-vm1-74688030 passed 2025-08-25 21:09:24,695 - INFO - Deleting interface with subnet_id 48a0f707-2b27-49fa-b03b-cb3b2247f024, port_id None from router b9c32c69-1661-4979-9482-42d1af7ec7ec 2025-08-25 21:09:24,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:09:24,828 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.194.72.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-25 21:09:24,828 - DEBUG - ping -s 56 -c 3 -W 1 99.194.72.195 2025-08-25 21:09:28,020 - DEBUG - PING 99.194.72.195 (99.194.72.195): 56 data bytes --- 99.194.72.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-08-25 21:09:28,020 - WARNING - Ping to IP 99.194.72.195 from VM ctest-vn1-vm1-74688030 failed 2025-08-25 21:09:28,020 - INFO - Adding interface with subnet_id 48a0f707-2b27-49fa-b03b-cb3b2247f024, port_id None to router b9c32c69-1661-4979-9482-42d1af7ec7ec 2025-08-25 21:09:28,273 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-25 21:09:28,273 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 99.194.72.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-08-25 21:09:28,274 - DEBUG - ping -s 56 -c 3 -W 1 99.194.72.195 2025-08-25 21:09:30,479 - DEBUG - PING 99.194.72.195 (99.194.72.195): 56 data bytes 64 bytes from 99.194.72.195: seq=0 ttl=63 time=1.323 ms 64 bytes from 99.194.72.195: seq=1 ttl=63 time=0.814 ms 64 bytes from 99.194.72.195: seq=2 ttl=63 time=1.006 ms --- 99.194.72.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.814/1.047/1.323 ms 2025-08-25 21:09:30,479 - INFO - Ping to IP 99.194.72.195 from VM ctest-vn1-vm1-74688030 passed 2025-08-25 21:09:30,479 - INFO - Deleting interface with subnet_id 44a118ba-92e0-4236-8165-91fecdcec25d, port_id None from router b9c32c69-1661-4979-9482-42d1af7ec7ec 2025-08-25 21:09:30,634 - INFO - Deleting interface with subnet_id 48a0f707-2b27-49fa-b03b-cb3b2247f024, port_id None from router b9c32c69-1661-4979-9482-42d1af7ec7ec 2025-08-25 21:09:30,868 - INFO - Deleting VM ctest-vn2-vm1-08887039 2025-08-25 21:09:30,943 - INFO - Deleting VM ctest-vn1-vm1-74688030 2025-08-25 21:09:31,013 - INFO - Deleting VN ctest-vn2-76614096 2025-08-25 21:09:31,059 - DEBUG - VN 10a1e13d-d5df-4fdb-a8e9-d56627bbdc54 still in use: Unable to complete operation on network 10a1e13d-d5df-4fdb-a8e9-d56627bbdc54. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2f376b89-f3da-4f97-a750-50f8982b5cdc'] 2025-08-25 21:09:31,059 - WARNING - Deleting VN ctest-vn2-76614096 failed..Will retry 2025-08-25 21:09:33,170 - DEBUG - Response for deleting network () 2025-08-25 21:09:33,170 - INFO - Deleting VN ctest-vn1-82215181 2025-08-25 21:09:33,283 - DEBUG - Response for deleting network () 2025-08-25 21:09:33,535 - DEBUG - No XMPP flaps were noticed during the test
2025-08-25 21:09:33,535 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39]
2025-08-25 21:09:33,535 - INFO - -------------------------------------------------------------------------------- 2025-08-25 21:09:34,208 - INFO - Deleted project: ctest-TestRouters-23429822, ID : de9ac75e-d866-4d3e-8ce4-a6236e0443d3