2025-10-31 09:00:04,057 - INFO - Domain Default found not creating 2025-10-31 09:00:04,348 - INFO - Project ctest-TestRouters-97803413 not found, creating it 2025-10-31 09:00:04,862 - INFO - Created Project:ctest-TestRouters-97803413, ID : 83b8ff3a-9bd4-4ad2-b5d4-2004f9d7ec55 2025-10-31 09:00:06,467 - INFO - ================================================================================ 2025-10-31 09:00:06,467 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-31 09:00:06,468 - 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-31 09:00:06,729 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with 2025-10-31 09:00:06,729 - INFO - Initial checks done. Running the testcase now 2025-10-31 09:00:06,729 - INFO - 2025-10-31 09:00:07,360 - DEBUG - Response for create_network : {'network': {'id': '886867de-0506-445c-8072-ca6e146e738f', 'name': 'ctest-vn1-62963184', 'tenant_id': '83b8ff3a9bd44ad2b5d42004f9d7ec55', 'project_id': '83b8ff3a9bd44ad2b5d42004f9d7ec55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-97803413', 'ctest-vn1-62963184'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 09:00:07,577 - DEBUG - Response for create_subnet : {'subnet': {'id': '72929277-6e11-4677-88dd-354651ae178f', 'name': '', 'tenant_id': '83b8ff3a9bd44ad2b5d42004f9d7ec55', 'network_id': '886867de-0506-445c-8072-ca6e146e738f', 'ip_version': 4, 'cidr': '221.120.152.192/26', 'allocation_pools': [{'start': '221.120.152.194', 'end': '221.120.152.254'}], 'gateway_ip': '221.120.152.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.120.152.194', 'tags': [], 'project_id': '83b8ff3a9bd44ad2b5d42004f9d7ec55'}} 2025-10-31 09:00:07,599 - INFO - Created VN ctest-vn1-62963184 2025-10-31 09:00:07,652 - DEBUG - VN ctest-vn1-62963184 UUID is 886867de-0506-445c-8072-ca6e146e738f 2025-10-31 09:00:08,016 - DEBUG - Response for create_network : {'network': {'id': 'c649a3a3-7da6-4f69-9513-ea8384725798', 'name': 'ctest-vn2-74823579', 'tenant_id': '83b8ff3a9bd44ad2b5d42004f9d7ec55', 'project_id': '83b8ff3a9bd44ad2b5d42004f9d7ec55', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-97803413', 'ctest-vn2-74823579'], 'port_security_enabled': True, 'description': ''}} 2025-10-31 09:00:08,173 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e0e8ac2-65a3-452e-96f1-c921cad78788', 'name': '', 'tenant_id': '83b8ff3a9bd44ad2b5d42004f9d7ec55', 'network_id': 'c649a3a3-7da6-4f69-9513-ea8384725798', 'ip_version': 4, 'cidr': '3.113.104.0/26', 'allocation_pools': [{'start': '3.113.104.2', 'end': '3.113.104.62'}], 'gateway_ip': '3.113.104.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.113.104.2', 'tags': [], 'project_id': '83b8ff3a9bd44ad2b5d42004f9d7ec55'}} 2025-10-31 09:00:08,197 - INFO - Created VN ctest-vn2-74823579 2025-10-31 09:00:08,252 - DEBUG - VN ctest-vn2-74823579 UUID is c649a3a3-7da6-4f69-9513-ea8384725798 2025-10-31 09:00:08,445 - DEBUG - Services list from nova: [, , ] 2025-10-31 09:00:09,698 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4573-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4573-1) 2025-10-31 09:00:11,031 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4573-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4573-1) 2025-10-31 09:00:11,095 - INFO - Adding interface with subnet_id 72929277-6e11-4677-88dd-354651ae178f, port_id None to router ac68a089-bc63-4bfb-859e-b3a5d4679cc4 2025-10-31 09:00:11,433 - INFO - Waiting for VM ctest-vn1-vm1-33764698 to be up.. 2025-10-31 09:00:11,527 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-31 09:00:16,624 - DEBUG - VM is in ACTIVE state now 2025-10-31 09:00:16,624 - INFO - VM name : ctest-vn1-vm1-33764698 2025-10-31 09:00:16,724 - DEBUG - VM ctest-vn1-vm1-33764698 ID is 838f2793-693a-4fd4-95d1-f009a5cf54ac 2025-10-31 09:00:16,751 - DEBUG - VM ctest-vn1-vm1-33764698 launched on Node cn-jenkins-deploy-platform-ansible-os-4573-1 2025-10-31 09:00:16,841 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/838f2793-693a-4fd4-95d1-f009a5cf54ac 2025-10-31 09:00:17,157 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/838f2793-693a-4fd4-95d1-f009a5cf54ac 2025-10-31 09:00:17,209 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/4ee08027-ccab-4c9c-bc79-d3d85c429359 2025-10-31 09:00:20,492 - 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 1009ms') 2025-10-31 09:00:20,492 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-33764698 failed! 2025-10-31 09:00:20,548 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-97803413:ctest-vn1-62963184 is 221.120.152.193 and allocation pool is NOT set 2025-10-31 09:00:22,617 - 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.12 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.718 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.718/2.418/4.118/1.700 ms') 2025-10-31 09:00:22,617 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-33764698 passed 2025-10-31 09:00:22,773 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 09:00:22,773 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-33764698, IP 221.120.152.195, Port 22 2025-10-31 09:00:22,944 - DEBUG - VM ctest-vn1-vm1-33764698 is ready for SSH connections 2025-10-31 09:00:22,944 - INFO - Waiting for VM ctest-vn2-vm1-00321378 to be up.. 2025-10-31 09:00:23,046 - DEBUG - VM is in ACTIVE state now 2025-10-31 09:00:23,046 - INFO - VM name : ctest-vn2-vm1-00321378 2025-10-31 09:00:23,155 - DEBUG - VM ctest-vn2-vm1-00321378 ID is 217484a3-a1b0-4d01-84f0-5341dfa7019c 2025-10-31 09:00:23,155 - DEBUG - VM ctest-vn2-vm1-00321378 launched on Node cn-jenkins-deploy-platform-ansible-os-4573-1 2025-10-31 09:00:23,245 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine/217484a3-a1b0-4d01-84f0-5341dfa7019c 2025-10-31 09:00:23,257 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-machine-interface/f1da7a1e-f8f4-4c58-af95-e4f8663f5f9f 2025-10-31 09:00:24,526 - 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=5.13 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.72 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.719/3.425/5.131/1.706 ms') 2025-10-31 09:00:24,527 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-00321378 passed 2025-10-31 09:00:24,684 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 09:00:24,684 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-00321378, IP 3.113.104.3, Port 22 2025-10-31 09:00:24,751 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-10-31 09:00:24,843 - DEBUG - VM ctest-vn2-vm1-00321378 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-31 09:00:29,844 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 09:00:29,844 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-00321378, IP 3.113.104.3, Port 22 2025-10-31 09:00:30,000 - DEBUG - VM ctest-vn2-vm1-00321378 is ready for SSH connections 2025-10-31 09:00:30,000 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 09:00:30,000 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.113.104.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 09:00:30,001 - DEBUG - ping -s 56 -c 3 -W 1 3.113.104.3 2025-10-31 09:00:35,082 - DEBUG - PING 3.113.104.3 (3.113.104.3): 56 data bytes --- 3.113.104.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 09:00:35,082 - WARNING - Ping to IP 3.113.104.3 from VM ctest-vn1-vm1-33764698 failed 2025-10-31 09:00:35,083 - INFO - Adding interface with subnet_id 5e0e8ac2-65a3-452e-96f1-c921cad78788, port_id None to router ac68a089-bc63-4bfb-859e-b3a5d4679cc4 2025-10-31 09:00:35,358 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 09:00:35,358 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.113.104.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 09:00:35,358 - DEBUG - ping -s 56 -c 3 -W 1 3.113.104.3 2025-10-31 09:00:38,650 - DEBUG - PING 3.113.104.3 (3.113.104.3): 56 data bytes 64 bytes from 3.113.104.3: seq=1 ttl=63 time=4.414 ms 64 bytes from 3.113.104.3: seq=2 ttl=63 time=1.022 ms --- 3.113.104.3 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.022/2.718/4.414 ms 2025-10-31 09:00:38,650 - WARNING - Ping to IP 3.113.104.3 from VM ctest-vn1-vm1-33764698 failed 2025-10-31 09:00:39,651 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.113.104.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 09:00:39,651 - DEBUG - ping -s 56 -c 3 -W 1 3.113.104.3 2025-10-31 09:00:41,910 - DEBUG - PING 3.113.104.3 (3.113.104.3): 56 data bytes 64 bytes from 3.113.104.3: seq=0 ttl=63 time=1.624 ms 64 bytes from 3.113.104.3: seq=1 ttl=63 time=0.879 ms 64 bytes from 3.113.104.3: seq=2 ttl=63 time=1.495 ms --- 3.113.104.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.879/1.332/1.624 ms 2025-10-31 09:00:41,910 - INFO - Ping to IP 3.113.104.3 from VM ctest-vn1-vm1-33764698 passed 2025-10-31 09:00:41,910 - INFO - Deleting interface with subnet_id 72929277-6e11-4677-88dd-354651ae178f, port_id None from router ac68a089-bc63-4bfb-859e-b3a5d4679cc4 2025-10-31 09:00:42,063 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 09:00:42,063 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.113.104.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 09:00:42,063 - DEBUG - ping -s 56 -c 3 -W 1 3.113.104.3 2025-10-31 09:00:45,296 - DEBUG - PING 3.113.104.3 (3.113.104.3): 56 data bytes --- 3.113.104.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-31 09:00:45,297 - WARNING - Ping to IP 3.113.104.3 from VM ctest-vn1-vm1-33764698 failed 2025-10-31 09:00:45,297 - INFO - Adding interface with subnet_id 72929277-6e11-4677-88dd-354651ae178f, port_id None to router ac68a089-bc63-4bfb-859e-b3a5d4679cc4 2025-10-31 09:00:45,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-31 09:00:45,554 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 3.113.104.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.254, gateway password: c0ntrail123 2025-10-31 09:00:45,554 - DEBUG - ping -s 56 -c 3 -W 1 3.113.104.3 2025-10-31 09:00:47,781 - DEBUG - PING 3.113.104.3 (3.113.104.3): 56 data bytes 64 bytes from 3.113.104.3: seq=0 ttl=63 time=1.722 ms 64 bytes from 3.113.104.3: seq=1 ttl=63 time=1.219 ms 64 bytes from 3.113.104.3: seq=2 ttl=63 time=1.185 ms --- 3.113.104.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.185/1.375/1.722 ms 2025-10-31 09:00:47,781 - INFO - Ping to IP 3.113.104.3 from VM ctest-vn1-vm1-33764698 passed 2025-10-31 09:00:47,782 - INFO - Deleting interface with subnet_id 5e0e8ac2-65a3-452e-96f1-c921cad78788, port_id None from router ac68a089-bc63-4bfb-859e-b3a5d4679cc4 2025-10-31 09:00:47,924 - INFO - Deleting interface with subnet_id 72929277-6e11-4677-88dd-354651ae178f, port_id None from router ac68a089-bc63-4bfb-859e-b3a5d4679cc4 2025-10-31 09:00:48,159 - INFO - Deleting VM ctest-vn2-vm1-00321378 2025-10-31 09:00:48,241 - INFO - Deleting VM ctest-vn1-vm1-33764698 2025-10-31 09:00:48,326 - INFO - Deleting VN ctest-vn2-74823579 2025-10-31 09:00:48,366 - DEBUG - VN c649a3a3-7da6-4f69-9513-ea8384725798 still in use: Unable to complete operation on network c649a3a3-7da6-4f69-9513-ea8384725798. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f2d94d73-cf00-43c4-9058-9f8a5295b53b'] 2025-10-31 09:00:48,366 - WARNING - Deleting VN ctest-vn2-74823579 failed..Will retry 2025-10-31 09:00:50,475 - DEBUG - Response for deleting network () 2025-10-31 09:00:50,475 - INFO - Deleting VN ctest-vn1-62963184 2025-10-31 09:00:50,598 - DEBUG - Response for deleting network () 2025-10-31 09:00:50,870 - DEBUG - No XMPP flaps were noticed during the test 2025-10-31 09:00:50,870 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44] 2025-10-31 09:00:50,870 - INFO - -------------------------------------------------------------------------------- 2025-10-31 09:00:51,583 - INFO - Deleted project: ctest-TestRouters-97803413, ID : 83b8ff3a-9bd4-4ad2-b5d4-2004f9d7ec55