2025-11-12 09:09:56,128 - INFO - Domain Default found not creating 2025-11-12 09:09:56,295 - INFO - Project ctest-TestRouters-10685825 not found, creating it 2025-11-12 09:09:56,937 - INFO - Created Project:ctest-TestRouters-10685825, ID : 16d47280-30f2-4408-a764-355c6f532b31 2025-11-12 09:09:58,567 - INFO - ================================================================================ 2025-11-12 09:09:58,567 - INFO - STARTING TEST : test_basic_router_behavior 2025-11-12 09:09:58,567 - 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-11-12 09:09:58,842 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.25': '0'}} with 2025-11-12 09:09:58,842 - INFO - Initial checks done. Running the testcase now 2025-11-12 09:09:58,842 - INFO - 2025-11-12 09:09:59,469 - DEBUG - Response for create_network : {'network': {'id': '8a1dc3d5-a5c1-48a1-b374-0d219ff2b9b1', 'name': 'ctest-vn1-60161149', 'tenant_id': '16d4728030f24408a764355c6f532b31', 'project_id': '16d4728030f24408a764355c6f532b31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-10685825', 'ctest-vn1-60161149'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 09:09:59,686 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf32bc69-eed4-4880-827c-64b58303e448', 'name': '', 'tenant_id': '16d4728030f24408a764355c6f532b31', 'network_id': '8a1dc3d5-a5c1-48a1-b374-0d219ff2b9b1', 'ip_version': 4, 'cidr': '139.35.168.128/26', 'allocation_pools': [{'start': '139.35.168.130', 'end': '139.35.168.190'}], 'gateway_ip': '139.35.168.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.35.168.130', 'tags': [], 'project_id': '16d4728030f24408a764355c6f532b31'}} 2025-11-12 09:09:59,710 - INFO - Created VN ctest-vn1-60161149 2025-11-12 09:09:59,764 - DEBUG - VN ctest-vn1-60161149 UUID is 8a1dc3d5-a5c1-48a1-b374-0d219ff2b9b1 2025-11-12 09:10:00,106 - DEBUG - Response for create_network : {'network': {'id': '446a2c49-3f3d-439d-b85f-16beed475142', 'name': 'ctest-vn2-11663140', 'tenant_id': '16d4728030f24408a764355c6f532b31', 'project_id': '16d4728030f24408a764355c6f532b31', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-10685825', 'ctest-vn2-11663140'], 'port_security_enabled': True, 'description': ''}} 2025-11-12 09:10:00,294 - DEBUG - Response for create_subnet : {'subnet': {'id': '11f39bbd-39c6-4dff-b1b2-4ec21edeb741', 'name': '', 'tenant_id': '16d4728030f24408a764355c6f532b31', 'network_id': '446a2c49-3f3d-439d-b85f-16beed475142', 'ip_version': 4, 'cidr': '210.215.83.128/26', 'allocation_pools': [{'start': '210.215.83.130', 'end': '210.215.83.190'}], 'gateway_ip': '210.215.83.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '210.215.83.130', 'tags': [], 'project_id': '16d4728030f24408a764355c6f532b31'}} 2025-11-12 09:10:00,313 - INFO - Created VN ctest-vn2-11663140 2025-11-12 09:10:00,368 - DEBUG - VN ctest-vn2-11663140 UUID is 446a2c49-3f3d-439d-b85f-16beed475142 2025-11-12 09:10:00,559 - DEBUG - Services list from nova: [, , ] 2025-11-12 09:10:01,736 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4701-1) 2025-11-12 09:10:03,320 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4701-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4701-1) 2025-11-12 09:10:03,420 - INFO - Adding interface with subnet_id cf32bc69-eed4-4880-827c-64b58303e448, port_id None to router 60a7253f-0ff4-4a88-92a0-a724c3bd17ac 2025-11-12 09:10:03,705 - INFO - Waiting for VM ctest-vn1-vm1-04979581 to be up.. 2025-11-12 09:10:03,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-12 09:10:08,965 - DEBUG - VM is in ACTIVE state now 2025-11-12 09:10:08,965 - INFO - VM name : ctest-vn1-vm1-04979581 2025-11-12 09:10:09,069 - DEBUG - VM ctest-vn1-vm1-04979581 ID is 947df478-652f-4612-b5e2-5d910733a32d 2025-11-12 09:10:09,090 - DEBUG - VM ctest-vn1-vm1-04979581 launched on Node cn-jenkins-deploy-platform-ansible-os-4701-1 2025-11-12 09:10:09,172 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/947df478-652f-4612-b5e2-5d910733a32d 2025-11-12 09:10:09,491 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/947df478-652f-4612-b5e2-5d910733a32d 2025-11-12 09:10:09,529 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/e2a54a25-ab2e-418c-9b73-447a782a0df9 2025-11-12 09:10:12,788 - 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 1004ms') 2025-11-12 09:10:12,788 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04979581 failed! 2025-11-12 09:10:12,844 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-10685825:ctest-vn1-60161149 is 139.35.168.129 and allocation pool is NOT set 2025-11-12 09:10:14,915 - 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.56 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.562/3.380/5.198/1.818 ms') 2025-11-12 09:10:14,915 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-04979581 passed 2025-11-12 09:10:15,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:10:15,068 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04979581, IP 139.35.168.131, Port 22 2025-11-12 09:10:15,124 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2025-11-12 09:10:15,208 - DEBUG - VM ctest-vn1-vm1-04979581 is NOT ready for SSH connections, VM status: ACTIVE 2025-11-12 09:10:20,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:10:20,209 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-04979581, IP 139.35.168.131, Port 22 2025-11-12 09:10:20,382 - DEBUG - VM ctest-vn1-vm1-04979581 is ready for SSH connections 2025-11-12 09:10:20,382 - INFO - Waiting for VM ctest-vn2-vm1-84328967 to be up.. 2025-11-12 09:10:20,481 - DEBUG - VM is in ACTIVE state now 2025-11-12 09:10:20,481 - INFO - VM name : ctest-vn2-vm1-84328967 2025-11-12 09:10:20,569 - DEBUG - VM ctest-vn2-vm1-84328967 ID is b5b23911-8eca-45d2-ba42-ac2381cf84cb 2025-11-12 09:10:20,570 - DEBUG - VM ctest-vn2-vm1-84328967 launched on Node cn-jenkins-deploy-platform-ansible-os-4701-1 2025-11-12 09:10:20,661 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/b5b23911-8eca-45d2-ba42-ac2381cf84cb 2025-11-12 09:10:20,670 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/1337fa1d-9a35-4f89-9f4f-11604c62f4a6 2025-11-12 09:10:21,914 - 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.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.467 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.467/1.748/3.029/1.281 ms') 2025-11-12 09:10:21,914 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-84328967 passed 2025-11-12 09:10:22,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:10:22,068 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-84328967, IP 210.215.83.131, Port 22 2025-11-12 09:10:22,233 - DEBUG - VM ctest-vn2-vm1-84328967 is ready for SSH connections 2025-11-12 09:10:22,234 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:10:22,234 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.215.83.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-12 09:10:22,234 - DEBUG - ping -s 56 -c 3 -W 1 210.215.83.131 2025-11-12 09:10:27,334 - DEBUG - PING 210.215.83.131 (210.215.83.131): 56 data bytes --- 210.215.83.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 09:10:27,334 - WARNING - Ping to IP 210.215.83.131 from VM ctest-vn1-vm1-04979581 failed 2025-11-12 09:10:27,334 - INFO - Adding interface with subnet_id 11f39bbd-39c6-4dff-b1b2-4ec21edeb741, port_id None to router 60a7253f-0ff4-4a88-92a0-a724c3bd17ac 2025-11-12 09:10:27,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:10:27,612 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.215.83.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-12 09:10:27,612 - DEBUG - ping -s 56 -c 3 -W 1 210.215.83.131 2025-11-12 09:10:30,851 - DEBUG - PING 210.215.83.131 (210.215.83.131): 56 data bytes 64 bytes from 210.215.83.131: seq=1 ttl=63 time=3.320 ms 64 bytes from 210.215.83.131: seq=2 ttl=63 time=1.045 ms --- 210.215.83.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.045/2.182/3.320 ms 2025-11-12 09:10:30,851 - WARNING - Ping to IP 210.215.83.131 from VM ctest-vn1-vm1-04979581 failed 2025-11-12 09:10:31,852 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.215.83.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-12 09:10:31,853 - DEBUG - ping -s 56 -c 3 -W 1 210.215.83.131 2025-11-12 09:10:34,106 - DEBUG - PING 210.215.83.131 (210.215.83.131): 56 data bytes 64 bytes from 210.215.83.131: seq=0 ttl=63 time=2.032 ms 64 bytes from 210.215.83.131: seq=1 ttl=63 time=1.488 ms 64 bytes from 210.215.83.131: seq=2 ttl=63 time=1.333 ms --- 210.215.83.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.333/1.617/2.032 ms 2025-11-12 09:10:34,106 - INFO - Ping to IP 210.215.83.131 from VM ctest-vn1-vm1-04979581 passed 2025-11-12 09:10:34,107 - INFO - Deleting interface with subnet_id cf32bc69-eed4-4880-827c-64b58303e448, port_id None from router 60a7253f-0ff4-4a88-92a0-a724c3bd17ac 2025-11-12 09:10:34,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:10:34,225 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.215.83.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-12 09:10:34,225 - DEBUG - ping -s 56 -c 3 -W 1 210.215.83.131 2025-11-12 09:10:37,453 - DEBUG - PING 210.215.83.131 (210.215.83.131): 56 data bytes --- 210.215.83.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-12 09:10:37,453 - WARNING - Ping to IP 210.215.83.131 from VM ctest-vn1-vm1-04979581 failed 2025-11-12 09:10:37,453 - INFO - Adding interface with subnet_id cf32bc69-eed4-4880-827c-64b58303e448, port_id None to router 60a7253f-0ff4-4a88-92a0-a724c3bd17ac 2025-11-12 09:10:37,688 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-12 09:10:37,688 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 210.215.83.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-11-12 09:10:37,688 - DEBUG - ping -s 56 -c 3 -W 1 210.215.83.131 2025-11-12 09:10:39,917 - DEBUG - PING 210.215.83.131 (210.215.83.131): 56 data bytes 64 bytes from 210.215.83.131: seq=0 ttl=63 time=1.461 ms 64 bytes from 210.215.83.131: seq=1 ttl=63 time=0.909 ms 64 bytes from 210.215.83.131: seq=2 ttl=63 time=1.022 ms --- 210.215.83.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.909/1.130/1.461 ms 2025-11-12 09:10:39,918 - INFO - Ping to IP 210.215.83.131 from VM ctest-vn1-vm1-04979581 passed 2025-11-12 09:10:39,918 - INFO - Deleting interface with subnet_id 11f39bbd-39c6-4dff-b1b2-4ec21edeb741, port_id None from router 60a7253f-0ff4-4a88-92a0-a724c3bd17ac 2025-11-12 09:10:40,052 - INFO - Deleting interface with subnet_id cf32bc69-eed4-4880-827c-64b58303e448, port_id None from router 60a7253f-0ff4-4a88-92a0-a724c3bd17ac 2025-11-12 09:10:40,249 - INFO - Deleting VM ctest-vn2-vm1-84328967 2025-11-12 09:10:40,343 - INFO - Deleting VM ctest-vn1-vm1-04979581 2025-11-12 09:10:40,433 - INFO - Deleting VN ctest-vn2-11663140 2025-11-12 09:10:40,479 - DEBUG - VN 446a2c49-3f3d-439d-b85f-16beed475142 still in use: Unable to complete operation on network 446a2c49-3f3d-439d-b85f-16beed475142. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c26c77a5-2971-4eab-9d13-14d32ba820e8'] 2025-11-12 09:10:40,479 - WARNING - Deleting VN ctest-vn2-11663140 failed..Will retry 2025-11-12 09:10:42,596 - DEBUG - Response for deleting network () 2025-11-12 09:10:42,596 - INFO - Deleting VN ctest-vn1-60161149 2025-11-12 09:10:42,710 - DEBUG - Response for deleting network () 2025-11-12 09:10:42,970 - DEBUG - No XMPP flaps were noticed during the test
2025-11-12 09:10:42,970 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:44]
2025-11-12 09:10:42,970 - INFO - -------------------------------------------------------------------------------- 2025-11-12 09:10:43,668 - INFO - Deleted project: ctest-TestRouters-10685825, ID : 16d47280-30f2-4408-a764-355c6f532b31