2025-09-15 11:25:33,885 - INFO - Domain Default found not creating 2025-09-15 11:25:34,044 - INFO - Project ctest-TestRouters-44799715 not found, creating it 2025-09-15 11:25:34,527 - INFO - Created Project:ctest-TestRouters-44799715, ID : a51a5d72-3b3a-4e24-9daf-381b256be180 2025-09-15 11:25:36,014 - INFO - ================================================================================ 2025-09-15 11:25:36,014 - INFO - STARTING TEST : test_basic_router_behavior 2025-09-15 11:25:36,014 - 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-15 11:25:36,276 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.254': '0'}} with 2025-09-15 11:25:36,276 - INFO - Initial checks done. Running the testcase now 2025-09-15 11:25:36,276 - INFO - 2025-09-15 11:25:36,851 - DEBUG - Response for create_network : {'network': {'id': '8fa28cb4-ebf1-41e2-813e-97d3034732c7', 'name': 'ctest-vn1-42411550', 'tenant_id': 'a51a5d723b3a4e249daf381b256be180', 'project_id': 'a51a5d723b3a4e249daf381b256be180', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-44799715', 'ctest-vn1-42411550'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:25:37,078 - DEBUG - Response for create_subnet : {'subnet': {'id': '24f88195-9693-49b0-b713-dfeb3ba30337', 'name': '', 'tenant_id': 'a51a5d723b3a4e249daf381b256be180', 'network_id': '8fa28cb4-ebf1-41e2-813e-97d3034732c7', 'ip_version': 4, 'cidr': '145.209.176.192/26', 'allocation_pools': [{'start': '145.209.176.194', 'end': '145.209.176.254'}], 'gateway_ip': '145.209.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '145.209.176.194', 'tags': [], 'project_id': 'a51a5d723b3a4e249daf381b256be180'}} 2025-09-15 11:25:37,097 - INFO - Created VN ctest-vn1-42411550 2025-09-15 11:25:37,153 - DEBUG - VN ctest-vn1-42411550 UUID is 8fa28cb4-ebf1-41e2-813e-97d3034732c7 2025-09-15 11:25:37,448 - DEBUG - Response for create_network : {'network': {'id': '2d000a4d-79c5-4fd7-a92b-58f10087039d', 'name': 'ctest-vn2-54188912', 'tenant_id': 'a51a5d723b3a4e249daf381b256be180', 'project_id': 'a51a5d723b3a4e249daf381b256be180', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-44799715', 'ctest-vn2-54188912'], 'port_security_enabled': True, 'description': ''}} 2025-09-15 11:25:37,604 - DEBUG - Response for create_subnet : {'subnet': {'id': '0652f598-0be6-4fcb-b0dd-89233b6af8fa', 'name': '', 'tenant_id': 'a51a5d723b3a4e249daf381b256be180', 'network_id': '2d000a4d-79c5-4fd7-a92b-58f10087039d', 'ip_version': 4, 'cidr': '163.22.19.192/26', 'allocation_pools': [{'start': '163.22.19.194', 'end': '163.22.19.254'}], 'gateway_ip': '163.22.19.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '163.22.19.194', 'tags': [], 'project_id': 'a51a5d723b3a4e249daf381b256be180'}} 2025-09-15 11:25:37,623 - INFO - Created VN ctest-vn2-54188912 2025-09-15 11:25:37,677 - DEBUG - VN ctest-vn2-54188912 UUID is 2d000a4d-79c5-4fd7-a92b-58f10087039d 2025-09-15 11:25:37,894 - DEBUG - Services list from nova: [, , ] 2025-09-15 11:25:38,948 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4114-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4114-1) 2025-09-15 11:25:40,247 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4114-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4114-1) 2025-09-15 11:25:40,325 - INFO - Adding interface with subnet_id 24f88195-9693-49b0-b713-dfeb3ba30337, port_id None to router 42baf37b-0759-45c8-89fc-652d4df188d2 2025-09-15 11:25:40,598 - INFO - Waiting for VM ctest-vn1-vm1-53158600 to be up.. 2025-09-15 11:25:40,683 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-15 11:25:45,774 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:25:45,774 - INFO - VM name : ctest-vn1-vm1-53158600 2025-09-15 11:25:45,865 - DEBUG - VM ctest-vn1-vm1-53158600 ID is f0508aaa-a806-4ba9-aca6-66c2b2c2ea73 2025-09-15 11:25:45,889 - DEBUG - VM ctest-vn1-vm1-53158600 launched on Node cn-jenkins-deploy-platform-ansible-os-4114-1 2025-09-15 11:25:45,969 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/f0508aaa-a806-4ba9-aca6-66c2b2c2ea73 2025-09-15 11:25:46,267 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/f0508aaa-a806-4ba9-aca6-66c2b2c2ea73 2025-09-15 11:25:46,300 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/55f2458f-0826-4f3b-874b-0e9757a94dbe 2025-09-15 11:25:49,543 - 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 1006ms') 2025-09-15 11:25:49,543 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53158600 failed! 2025-09-15 11:25:49,596 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-44799715:ctest-vn1-42411550 is 145.209.176.193 and allocation pool is NOT set 2025-09-15 11:25:51,661 - 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.82 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 1002ms\r\nrtt min/avg/max/mdev = 1.064/2.943/4.822/1.879 ms') 2025-09-15 11:25:51,661 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-53158600 passed 2025-09-15 11:25:51,816 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:25:51,817 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-53158600, IP 145.209.176.195, Port 22 2025-09-15 11:25:51,980 - DEBUG - VM ctest-vn1-vm1-53158600 is ready for SSH connections 2025-09-15 11:25:51,981 - INFO - Waiting for VM ctest-vn2-vm1-88433562 to be up.. 2025-09-15 11:25:52,070 - DEBUG - VM is in ACTIVE state now 2025-09-15 11:25:52,070 - INFO - VM name : ctest-vn2-vm1-88433562 2025-09-15 11:25:52,146 - DEBUG - VM ctest-vn2-vm1-88433562 ID is ba519353-f9a0-4839-a382-b1e0a2f06f2a 2025-09-15 11:25:52,146 - DEBUG - VM ctest-vn2-vm1-88433562 launched on Node cn-jenkins-deploy-platform-ansible-os-4114-1 2025-09-15 11:25:52,223 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/ba519353-f9a0-4839-a382-b1e0a2f06f2a 2025-09-15 11:25:52,232 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/b94b9016-f031-44ae-a186-4093b9dd1217 2025-09-15 11:25:53,468 - 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=2.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.498 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.498/1.699/2.901/1.201 ms') 2025-09-15 11:25:53,468 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-88433562 passed 2025-09-15 11:25:53,648 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:25:53,649 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-88433562, IP 163.22.19.195, Port 22 2025-09-15 11:25:53,822 - DEBUG - VM ctest-vn2-vm1-88433562 is ready for SSH connections 2025-09-15 11:25:53,822 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:25:53,822 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.22.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-09-15 11:25:53,823 - DEBUG - ping -s 56 -c 3 -W 1 163.22.19.195 2025-09-15 11:25:58,858 - DEBUG - PING 163.22.19.195 (163.22.19.195): 56 data bytes --- 163.22.19.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-15 11:25:58,858 - WARNING - Ping to IP 163.22.19.195 from VM ctest-vn1-vm1-53158600 failed 2025-09-15 11:25:58,858 - INFO - Adding interface with subnet_id 0652f598-0be6-4fcb-b0dd-89233b6af8fa, port_id None to router 42baf37b-0759-45c8-89fc-652d4df188d2 2025-09-15 11:25:59,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:25:59,116 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.22.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-09-15 11:25:59,116 - DEBUG - ping -s 56 -c 3 -W 1 163.22.19.195 2025-09-15 11:26:02,341 - DEBUG - PING 163.22.19.195 (163.22.19.195): 56 data bytes 64 bytes from 163.22.19.195: seq=1 ttl=63 time=3.300 ms 64 bytes from 163.22.19.195: seq=2 ttl=63 time=0.793 ms --- 163.22.19.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 0.793/2.046/3.300 ms 2025-09-15 11:26:02,341 - WARNING - Ping to IP 163.22.19.195 from VM ctest-vn1-vm1-53158600 failed 2025-09-15 11:26:03,342 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.22.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-09-15 11:26:03,342 - DEBUG - ping -s 56 -c 3 -W 1 163.22.19.195 2025-09-15 11:26:05,574 - DEBUG - PING 163.22.19.195 (163.22.19.195): 56 data bytes 64 bytes from 163.22.19.195: seq=0 ttl=63 time=1.448 ms 64 bytes from 163.22.19.195: seq=1 ttl=63 time=0.922 ms 64 bytes from 163.22.19.195: seq=2 ttl=63 time=0.970 ms --- 163.22.19.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.922/1.113/1.448 ms 2025-09-15 11:26:05,574 - INFO - Ping to IP 163.22.19.195 from VM ctest-vn1-vm1-53158600 passed 2025-09-15 11:26:05,574 - INFO - Deleting interface with subnet_id 24f88195-9693-49b0-b713-dfeb3ba30337, port_id None from router 42baf37b-0759-45c8-89fc-652d4df188d2 2025-09-15 11:26:05,700 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:26:05,700 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.22.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-09-15 11:26:05,700 - DEBUG - ping -s 56 -c 3 -W 1 163.22.19.195 2025-09-15 11:26:08,894 - DEBUG - PING 163.22.19.195 (163.22.19.195): 56 data bytes --- 163.22.19.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-15 11:26:08,895 - WARNING - Ping to IP 163.22.19.195 from VM ctest-vn1-vm1-53158600 failed 2025-09-15 11:26:08,895 - INFO - Adding interface with subnet_id 24f88195-9693-49b0-b713-dfeb3ba30337, port_id None to router 42baf37b-0759-45c8-89fc-652d4df188d2 2025-09-15 11:26:09,113 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-15 11:26:09,113 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 163.22.19.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-09-15 11:26:09,113 - DEBUG - ping -s 56 -c 3 -W 1 163.22.19.195 2025-09-15 11:26:11,334 - DEBUG - PING 163.22.19.195 (163.22.19.195): 56 data bytes 64 bytes from 163.22.19.195: seq=0 ttl=63 time=1.558 ms 64 bytes from 163.22.19.195: seq=1 ttl=63 time=0.987 ms 64 bytes from 163.22.19.195: seq=2 ttl=63 time=0.992 ms --- 163.22.19.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.987/1.179/1.558 ms 2025-09-15 11:26:11,335 - INFO - Ping to IP 163.22.19.195 from VM ctest-vn1-vm1-53158600 passed 2025-09-15 11:26:11,335 - INFO - Deleting interface with subnet_id 0652f598-0be6-4fcb-b0dd-89233b6af8fa, port_id None from router 42baf37b-0759-45c8-89fc-652d4df188d2 2025-09-15 11:26:11,461 - INFO - Deleting interface with subnet_id 24f88195-9693-49b0-b713-dfeb3ba30337, port_id None from router 42baf37b-0759-45c8-89fc-652d4df188d2 2025-09-15 11:26:11,651 - INFO - Deleting VM ctest-vn2-vm1-88433562 2025-09-15 11:26:11,747 - INFO - Deleting VM ctest-vn1-vm1-53158600 2025-09-15 11:26:11,830 - INFO - Deleting VN ctest-vn2-54188912 2025-09-15 11:26:11,871 - DEBUG - VN 2d000a4d-79c5-4fd7-a92b-58f10087039d still in use: Unable to complete operation on network 2d000a4d-79c5-4fd7-a92b-58f10087039d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0648d5ee-6051-4cab-8f86-9d7f24a4a546'] 2025-09-15 11:26:11,871 - WARNING - Deleting VN ctest-vn2-54188912 failed..Will retry 2025-09-15 11:26:13,985 - DEBUG - Response for deleting network () 2025-09-15 11:26:13,985 - INFO - Deleting VN ctest-vn1-42411550 2025-09-15 11:26:14,102 - DEBUG - Response for deleting network () 2025-09-15 11:26:14,362 - DEBUG - No XMPP flaps were noticed during the test 2025-09-15 11:26:14,362 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:38] 2025-09-15 11:26:14,362 - INFO - -------------------------------------------------------------------------------- 2025-09-15 11:26:15,045 - INFO - Deleted project: ctest-TestRouters-44799715, ID : a51a5d72-3b3a-4e24-9daf-381b256be180