2025-10-07 15:47:33,940 - INFO - Domain Default found not creating 2025-10-07 15:47:34,098 - INFO - Project ctest-TestRouters-07063128 not found, creating it 2025-10-07 15:47:34,680 - INFO - Created Project:ctest-TestRouters-07063128, ID : f26c3812-df78-46eb-890e-d8b1648abfee 2025-10-07 15:47:36,282 - INFO - ================================================================================ 2025-10-07 15:47:36,283 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-07 15:47:36,283 - 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-07 15:47:36,547 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.17': '0'}} with 2025-10-07 15:47:36,547 - INFO - Initial checks done. Running the testcase now 2025-10-07 15:47:36,548 - INFO - 2025-10-07 15:47:37,195 - DEBUG - Response for create_network : {'network': {'id': 'c9ffccce-6417-4b07-8a37-c82684ff251a', 'name': 'ctest-vn1-88435029', 'tenant_id': 'f26c3812df7846eb890ed8b1648abfee', 'project_id': 'f26c3812df7846eb890ed8b1648abfee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-07063128', 'ctest-vn1-88435029'], 'port_security_enabled': True, 'description': ''}} 2025-10-07 15:47:37,475 - DEBUG - Response for create_subnet : {'subnet': {'id': '54f336f9-bbb8-4cd7-864d-5427be568263', 'name': '', 'tenant_id': 'f26c3812df7846eb890ed8b1648abfee', 'network_id': 'c9ffccce-6417-4b07-8a37-c82684ff251a', 'ip_version': 4, 'cidr': '105.142.232.64/26', 'allocation_pools': [{'start': '105.142.232.66', 'end': '105.142.232.126'}], 'gateway_ip': '105.142.232.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.142.232.66', 'tags': [], 'project_id': 'f26c3812df7846eb890ed8b1648abfee'}} 2025-10-07 15:47:37,498 - INFO - Created VN ctest-vn1-88435029 2025-10-07 15:47:37,557 - DEBUG - VN ctest-vn1-88435029 UUID is c9ffccce-6417-4b07-8a37-c82684ff251a 2025-10-07 15:47:37,861 - DEBUG - Response for create_network : {'network': {'id': '199dd736-f12d-4bfd-8e0b-badc1ecdcb56', 'name': 'ctest-vn2-07063355', 'tenant_id': 'f26c3812df7846eb890ed8b1648abfee', 'project_id': 'f26c3812df7846eb890ed8b1648abfee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-07063128', 'ctest-vn2-07063355'], 'port_security_enabled': True, 'description': ''}} 2025-10-07 15:47:38,069 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fed0d897-bc6a-4294-8073-e10777c5e7f6', 'name': '', 'tenant_id': 'f26c3812df7846eb890ed8b1648abfee', 'network_id': '199dd736-f12d-4bfd-8e0b-badc1ecdcb56', 'ip_version': 4, 'cidr': '147.136.44.192/26', 'allocation_pools': [{'start': '147.136.44.194', 'end': '147.136.44.254'}], 'gateway_ip': '147.136.44.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '147.136.44.194', 'tags': [], 'project_id': 'f26c3812df7846eb890ed8b1648abfee'}} 2025-10-07 15:47:38,088 - INFO - Created VN ctest-vn2-07063355 2025-10-07 15:47:38,141 - DEBUG - VN ctest-vn2-07063355 UUID is 199dd736-f12d-4bfd-8e0b-badc1ecdcb56 2025-10-07 15:47:38,315 - DEBUG - Services list from nova: [, , ] 2025-10-07 15:47:39,426 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4229-1) 2025-10-07 15:47:40,779 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4229-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4229-1) 2025-10-07 15:47:40,859 - INFO - Adding interface with subnet_id 54f336f9-bbb8-4cd7-864d-5427be568263, port_id None to router 360dadab-8772-4c2f-b233-d7f106dff975 2025-10-07 15:47:41,116 - INFO - Waiting for VM ctest-vn1-vm1-94606003 to be up.. 2025-10-07 15:47:41,201 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-07 15:47:46,282 - DEBUG - VM is in ACTIVE state now 2025-10-07 15:47:46,282 - INFO - VM name : ctest-vn1-vm1-94606003 2025-10-07 15:47:46,357 - DEBUG - VM ctest-vn1-vm1-94606003 ID is a7a5d52a-47e3-46a8-a44a-cddae3f03779 2025-10-07 15:47:46,378 - DEBUG - VM ctest-vn1-vm1-94606003 launched on Node cn-jenkins-deploy-platform-ansible-os-4229-1 2025-10-07 15:47:46,458 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a7a5d52a-47e3-46a8-a44a-cddae3f03779 2025-10-07 15:47:46,796 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/a7a5d52a-47e3-46a8-a44a-cddae3f03779 2025-10-07 15:47:46,831 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/a767ab72-03f0-4674-9d0e-63ab28c3d346 2025-10-07 15:47:50,091 - 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 1022ms') 2025-10-07 15:47:50,091 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94606003 failed! 2025-10-07 15:47:50,149 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-07063128:ctest-vn1-88435029 is 105.142.232.65 and allocation pool is NOT set 2025-10-07 15:47:52,210 - 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=5.20 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.06 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 = 1.060/3.130/5.200/2.070 ms') 2025-10-07 15:47:52,210 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-94606003 passed 2025-10-07 15:47:52,357 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 15:47:52,357 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-94606003, IP 105.142.232.67, Port 22 2025-10-07 15:47:52,525 - DEBUG - VM ctest-vn1-vm1-94606003 is ready for SSH connections 2025-10-07 15:47:52,525 - INFO - Waiting for VM ctest-vn2-vm1-31354205 to be up.. 2025-10-07 15:47:52,624 - DEBUG - VM is in ACTIVE state now 2025-10-07 15:47:52,624 - INFO - VM name : ctest-vn2-vm1-31354205 2025-10-07 15:47:52,708 - DEBUG - VM ctest-vn2-vm1-31354205 ID is c1aaeca5-5f37-4d8e-8a00-0da4e2f30371 2025-10-07 15:47:52,709 - DEBUG - VM ctest-vn2-vm1-31354205 launched on Node cn-jenkins-deploy-platform-ansible-os-4229-1 2025-10-07 15:47:52,790 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/c1aaeca5-5f37-4d8e-8a00-0da4e2f30371 2025-10-07 15:47:52,799 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/58d579c6-106c-41d4-a4da-11a9f5435aaf 2025-10-07 15:47:54,043 - 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=4.74 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.407 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.407/2.573/4.740/2.166 ms') 2025-10-07 15:47:54,043 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-31354205 passed 2025-10-07 15:47:54,197 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 15:47:54,197 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-31354205, IP 147.136.44.195, Port 22 2025-10-07 15:47:54,367 - DEBUG - VM ctest-vn2-vm1-31354205 is ready for SSH connections 2025-10-07 15:47:54,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 15:47:54,367 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.136.44.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-07 15:47:54,367 - DEBUG - ping -s 56 -c 3 -W 1 147.136.44.195 2025-10-07 15:47:59,439 - DEBUG - PING 147.136.44.195 (147.136.44.195): 56 data bytes --- 147.136.44.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-07 15:47:59,440 - WARNING - Ping to IP 147.136.44.195 from VM ctest-vn1-vm1-94606003 failed 2025-10-07 15:47:59,440 - INFO - Adding interface with subnet_id fed0d897-bc6a-4294-8073-e10777c5e7f6, port_id None to router 360dadab-8772-4c2f-b233-d7f106dff975 2025-10-07 15:47:59,687 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 15:47:59,687 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.136.44.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-07 15:47:59,687 - DEBUG - ping -s 56 -c 3 -W 1 147.136.44.195 2025-10-07 15:48:02,917 - DEBUG - PING 147.136.44.195 (147.136.44.195): 56 data bytes 64 bytes from 147.136.44.195: seq=1 ttl=63 time=4.004 ms 64 bytes from 147.136.44.195: seq=2 ttl=63 time=1.736 ms --- 147.136.44.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.736/2.870/4.004 ms 2025-10-07 15:48:02,918 - WARNING - Ping to IP 147.136.44.195 from VM ctest-vn1-vm1-94606003 failed 2025-10-07 15:48:03,918 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.136.44.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-07 15:48:03,919 - DEBUG - ping -s 56 -c 3 -W 1 147.136.44.195 2025-10-07 15:48:06,152 - DEBUG - PING 147.136.44.195 (147.136.44.195): 56 data bytes 64 bytes from 147.136.44.195: seq=0 ttl=63 time=1.840 ms 64 bytes from 147.136.44.195: seq=1 ttl=63 time=1.079 ms 64 bytes from 147.136.44.195: seq=2 ttl=63 time=0.871 ms --- 147.136.44.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.871/1.263/1.840 ms 2025-10-07 15:48:06,152 - INFO - Ping to IP 147.136.44.195 from VM ctest-vn1-vm1-94606003 passed 2025-10-07 15:48:06,152 - INFO - Deleting interface with subnet_id 54f336f9-bbb8-4cd7-864d-5427be568263, port_id None from router 360dadab-8772-4c2f-b233-d7f106dff975 2025-10-07 15:48:06,264 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 15:48:06,265 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.136.44.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-07 15:48:06,265 - DEBUG - ping -s 56 -c 3 -W 1 147.136.44.195 2025-10-07 15:48:09,494 - DEBUG - PING 147.136.44.195 (147.136.44.195): 56 data bytes --- 147.136.44.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-07 15:48:09,494 - WARNING - Ping to IP 147.136.44.195 from VM ctest-vn1-vm1-94606003 failed 2025-10-07 15:48:09,494 - INFO - Adding interface with subnet_id 54f336f9-bbb8-4cd7-864d-5427be568263, port_id None to router 360dadab-8772-4c2f-b233-d7f106dff975 2025-10-07 15:48:09,717 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-07 15:48:09,717 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 147.136.44.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-07 15:48:09,717 - DEBUG - ping -s 56 -c 3 -W 1 147.136.44.195 2025-10-07 15:48:11,945 - DEBUG - PING 147.136.44.195 (147.136.44.195): 56 data bytes 64 bytes from 147.136.44.195: seq=0 ttl=63 time=1.492 ms 64 bytes from 147.136.44.195: seq=1 ttl=63 time=1.060 ms 64 bytes from 147.136.44.195: seq=2 ttl=63 time=1.213 ms --- 147.136.44.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.060/1.255/1.492 ms 2025-10-07 15:48:11,946 - INFO - Ping to IP 147.136.44.195 from VM ctest-vn1-vm1-94606003 passed 2025-10-07 15:48:11,946 - INFO - Deleting interface with subnet_id fed0d897-bc6a-4294-8073-e10777c5e7f6, port_id None from router 360dadab-8772-4c2f-b233-d7f106dff975 2025-10-07 15:48:12,111 - INFO - Deleting interface with subnet_id 54f336f9-bbb8-4cd7-864d-5427be568263, port_id None from router 360dadab-8772-4c2f-b233-d7f106dff975 2025-10-07 15:48:12,320 - INFO - Deleting VM ctest-vn2-vm1-31354205 2025-10-07 15:48:12,412 - INFO - Deleting VM ctest-vn1-vm1-94606003 2025-10-07 15:48:12,508 - INFO - Deleting VN ctest-vn2-07063355 2025-10-07 15:48:12,567 - DEBUG - VN 199dd736-f12d-4bfd-8e0b-badc1ecdcb56 still in use: Unable to complete operation on network 199dd736-f12d-4bfd-8e0b-badc1ecdcb56. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-50338e36-4b85-4f7f-9e5f-e13d7cd26ea1'] 2025-10-07 15:48:12,567 - WARNING - Deleting VN ctest-vn2-07063355 failed..Will retry 2025-10-07 15:48:14,675 - DEBUG - Response for deleting network () 2025-10-07 15:48:14,675 - INFO - Deleting VN ctest-vn1-88435029 2025-10-07 15:48:14,780 - DEBUG - Response for deleting network () 2025-10-07 15:48:15,038 - DEBUG - No XMPP flaps were noticed during the test 2025-10-07 15:48:15,038 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:39] 2025-10-07 15:48:15,038 - INFO - -------------------------------------------------------------------------------- 2025-10-07 15:48:15,776 - INFO - Deleted project: ctest-TestRouters-07063128, ID : f26c3812-df78-46eb-890e-d8b1648abfee