2025-10-23 11:50:25,145 - INFO - Domain Default found not creating 2025-10-23 11:50:25,296 - INFO - Project ctest-TestRouters-99039957 not found, creating it 2025-10-23 11:50:25,770 - INFO - Created Project:ctest-TestRouters-99039957, ID : 1941c6a5-0420-4615-abed-6fc493be7bdf 2025-10-23 11:50:27,287 - INFO - ================================================================================ 2025-10-23 11:50:27,287 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-23 11:50:27,287 - 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-23 11:50:27,542 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.14': '0'}} with 2025-10-23 11:50:27,542 - INFO - Initial checks done. Running the testcase now 2025-10-23 11:50:27,542 - INFO - 2025-10-23 11:50:28,088 - DEBUG - Response for create_network : {'network': {'id': 'e1a824bc-231f-42ea-8c09-d85511db636e', 'name': 'ctest-vn1-71721126', 'tenant_id': '1941c6a504204615abed6fc493be7bdf', 'project_id': '1941c6a504204615abed6fc493be7bdf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99039957', 'ctest-vn1-71721126'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:50:28,302 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d2ba1af-8d5d-4352-b0bd-8cf678cf56f8', 'name': '', 'tenant_id': '1941c6a504204615abed6fc493be7bdf', 'network_id': 'e1a824bc-231f-42ea-8c09-d85511db636e', 'ip_version': 4, 'cidr': '195.26.35.64/26', 'allocation_pools': [{'start': '195.26.35.66', 'end': '195.26.35.126'}], 'gateway_ip': '195.26.35.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '195.26.35.66', 'tags': [], 'project_id': '1941c6a504204615abed6fc493be7bdf'}} 2025-10-23 11:50:28,321 - INFO - Created VN ctest-vn1-71721126 2025-10-23 11:50:28,376 - DEBUG - VN ctest-vn1-71721126 UUID is e1a824bc-231f-42ea-8c09-d85511db636e 2025-10-23 11:50:28,697 - DEBUG - Response for create_network : {'network': {'id': '0a37bfcf-cbf6-44fd-9748-fa35d377ccf4', 'name': 'ctest-vn2-49353559', 'tenant_id': '1941c6a504204615abed6fc493be7bdf', 'project_id': '1941c6a504204615abed6fc493be7bdf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-99039957', 'ctest-vn2-49353559'], 'port_security_enabled': True, 'description': ''}} 2025-10-23 11:50:28,938 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d66a6d1-c689-4620-a621-754b6dbaac4e', 'name': '', 'tenant_id': '1941c6a504204615abed6fc493be7bdf', 'network_id': '0a37bfcf-cbf6-44fd-9748-fa35d377ccf4', 'ip_version': 4, 'cidr': '199.95.163.64/26', 'allocation_pools': [{'start': '199.95.163.66', 'end': '199.95.163.126'}], 'gateway_ip': '199.95.163.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.95.163.66', 'tags': [], 'project_id': '1941c6a504204615abed6fc493be7bdf'}} 2025-10-23 11:50:28,959 - INFO - Created VN ctest-vn2-49353559 2025-10-23 11:50:29,012 - DEBUG - VN ctest-vn2-49353559 UUID is 0a37bfcf-cbf6-44fd-9748-fa35d377ccf4 2025-10-23 11:50:29,237 - DEBUG - Services list from nova: [, , ] 2025-10-23 11:50:30,257 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4460-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4460-1) 2025-10-23 11:50:31,527 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4460-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4460-1) 2025-10-23 11:50:31,601 - INFO - Adding interface with subnet_id 9d2ba1af-8d5d-4352-b0bd-8cf678cf56f8, port_id None to router fd558bca-4bca-424f-ae3e-491d06983260 2025-10-23 11:50:31,885 - INFO - Waiting for VM ctest-vn1-vm1-57422777 to be up.. 2025-10-23 11:50:31,990 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-23 11:50:37,070 - DEBUG - VM is in ACTIVE state now 2025-10-23 11:50:37,070 - INFO - VM name : ctest-vn1-vm1-57422777 2025-10-23 11:50:37,147 - DEBUG - VM ctest-vn1-vm1-57422777 ID is 76cf54d6-6362-4dd8-9e67-e6e8a51ae919 2025-10-23 11:50:37,168 - DEBUG - VM ctest-vn1-vm1-57422777 launched on Node cn-jenkins-deploy-platform-ansible-os-4460-1 2025-10-23 11:50:37,245 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/76cf54d6-6362-4dd8-9e67-e6e8a51ae919 2025-10-23 11:50:37,544 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/76cf54d6-6362-4dd8-9e67-e6e8a51ae919 2025-10-23 11:50:37,584 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/80c8adbe-0c99-4f46-8bb2-bd5672ce1d73 2025-10-23 11:50:40,840 - 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-23 11:50:40,840 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57422777 failed! 2025-10-23 11:50:40,896 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-99039957:ctest-vn1-71721126 is 195.26.35.65 and allocation pool is NOT set 2025-10-23 11:50:42,955 - 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.74 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.43 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 = 2.744/3.086/3.429/0.342 ms') 2025-10-23 11:50:42,955 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-57422777 passed 2025-10-23 11:50:43,104 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:50:43,104 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57422777, IP 195.26.35.67, Port 22 2025-10-23 11:50:43,160 - 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-10-23 11:50:43,235 - DEBUG - VM ctest-vn1-vm1-57422777 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-23 11:50:48,236 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:50:48,236 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-57422777, IP 195.26.35.67, Port 22 2025-10-23 11:50:48,396 - DEBUG - VM ctest-vn1-vm1-57422777 is ready for SSH connections 2025-10-23 11:50:48,396 - INFO - Waiting for VM ctest-vn2-vm1-38712810 to be up.. 2025-10-23 11:50:48,471 - DEBUG - VM is in ACTIVE state now 2025-10-23 11:50:48,471 - INFO - VM name : ctest-vn2-vm1-38712810 2025-10-23 11:50:48,543 - DEBUG - VM ctest-vn2-vm1-38712810 ID is 05b8293a-061f-405f-9b84-f59ab4767bb8 2025-10-23 11:50:48,544 - DEBUG - VM ctest-vn2-vm1-38712810 launched on Node cn-jenkins-deploy-platform-ansible-os-4460-1 2025-10-23 11:50:48,634 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine/05b8293a-061f-405f-9b84-f59ab4767bb8 2025-10-23 11:50:48,642 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-machine-interface/92465c93-6729-4cae-a75d-5abe08c53b76 2025-10-23 11:50:49,877 - 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.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.396 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.396/1.581/2.767/1.185 ms') 2025-10-23 11:50:49,877 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn2-vm1-38712810 passed 2025-10-23 11:50:50,028 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:50:50,028 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-38712810, IP 199.95.163.67, Port 22 2025-10-23 11:50:50,180 - DEBUG - VM ctest-vn2-vm1-38712810 is ready for SSH connections 2025-10-23 11:50:50,180 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:50:50,180 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.95.163.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-23 11:50:50,180 - DEBUG - ping -s 56 -c 3 -W 1 199.95.163.67 2025-10-23 11:50:55,280 - DEBUG - PING 199.95.163.67 (199.95.163.67): 56 data bytes --- 199.95.163.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 11:50:55,280 - WARNING - Ping to IP 199.95.163.67 from VM ctest-vn1-vm1-57422777 failed 2025-10-23 11:50:55,280 - INFO - Adding interface with subnet_id 9d66a6d1-c689-4620-a621-754b6dbaac4e, port_id None to router fd558bca-4bca-424f-ae3e-491d06983260 2025-10-23 11:50:55,502 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:50:55,502 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.95.163.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-23 11:50:55,502 - DEBUG - ping -s 56 -c 3 -W 1 199.95.163.67 2025-10-23 11:50:58,713 - DEBUG - PING 199.95.163.67 (199.95.163.67): 56 data bytes 64 bytes from 199.95.163.67: seq=1 ttl=63 time=2.595 ms 64 bytes from 199.95.163.67: seq=2 ttl=63 time=1.055 ms --- 199.95.163.67 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.055/1.825/2.595 ms 2025-10-23 11:50:58,713 - WARNING - Ping to IP 199.95.163.67 from VM ctest-vn1-vm1-57422777 failed 2025-10-23 11:50:59,714 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.95.163.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-23 11:50:59,714 - DEBUG - ping -s 56 -c 3 -W 1 199.95.163.67 2025-10-23 11:51:01,918 - DEBUG - PING 199.95.163.67 (199.95.163.67): 56 data bytes 64 bytes from 199.95.163.67: seq=0 ttl=63 time=1.562 ms 64 bytes from 199.95.163.67: seq=1 ttl=63 time=0.756 ms 64 bytes from 199.95.163.67: seq=2 ttl=63 time=0.869 ms --- 199.95.163.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.756/1.062/1.562 ms 2025-10-23 11:51:01,918 - INFO - Ping to IP 199.95.163.67 from VM ctest-vn1-vm1-57422777 passed 2025-10-23 11:51:01,919 - INFO - Deleting interface with subnet_id 9d2ba1af-8d5d-4352-b0bd-8cf678cf56f8, port_id None from router fd558bca-4bca-424f-ae3e-491d06983260 2025-10-23 11:51:02,052 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:51:02,052 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.95.163.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-23 11:51:02,052 - DEBUG - ping -s 56 -c 3 -W 1 199.95.163.67 2025-10-23 11:51:05,270 - DEBUG - PING 199.95.163.67 (199.95.163.67): 56 data bytes --- 199.95.163.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-23 11:51:05,270 - WARNING - Ping to IP 199.95.163.67 from VM ctest-vn1-vm1-57422777 failed 2025-10-23 11:51:05,270 - INFO - Adding interface with subnet_id 9d2ba1af-8d5d-4352-b0bd-8cf678cf56f8, port_id None to router fd558bca-4bca-424f-ae3e-491d06983260 2025-10-23 11:51:05,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-23 11:51:05,504 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 199.95.163.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.242, gateway password: c0ntrail123 2025-10-23 11:51:05,504 - DEBUG - ping -s 56 -c 3 -W 1 199.95.163.67 2025-10-23 11:51:07,713 - DEBUG - PING 199.95.163.67 (199.95.163.67): 56 data bytes 64 bytes from 199.95.163.67: seq=0 ttl=63 time=1.560 ms 64 bytes from 199.95.163.67: seq=1 ttl=63 time=0.930 ms 64 bytes from 199.95.163.67: seq=2 ttl=63 time=1.059 ms --- 199.95.163.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.930/1.183/1.560 ms 2025-10-23 11:51:07,713 - INFO - Ping to IP 199.95.163.67 from VM ctest-vn1-vm1-57422777 passed 2025-10-23 11:51:07,713 - INFO - Deleting interface with subnet_id 9d66a6d1-c689-4620-a621-754b6dbaac4e, port_id None from router fd558bca-4bca-424f-ae3e-491d06983260 2025-10-23 11:51:07,831 - INFO - Deleting interface with subnet_id 9d2ba1af-8d5d-4352-b0bd-8cf678cf56f8, port_id None from router fd558bca-4bca-424f-ae3e-491d06983260 2025-10-23 11:51:08,003 - INFO - Deleting VM ctest-vn2-vm1-38712810 2025-10-23 11:51:08,082 - INFO - Deleting VM ctest-vn1-vm1-57422777 2025-10-23 11:51:08,148 - INFO - Deleting VN ctest-vn2-49353559 2025-10-23 11:51:08,183 - DEBUG - VN 0a37bfcf-cbf6-44fd-9748-fa35d377ccf4 still in use: Unable to complete operation on network 0a37bfcf-cbf6-44fd-9748-fa35d377ccf4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-748d505c-cfa2-4e5f-aa37-3af683ba72c7'] 2025-10-23 11:51:08,183 - WARNING - Deleting VN ctest-vn2-49353559 failed..Will retry 2025-10-23 11:51:10,282 - DEBUG - Response for deleting network () 2025-10-23 11:51:10,282 - INFO - Deleting VN ctest-vn1-71721126 2025-10-23 11:51:10,375 - DEBUG - Response for deleting network () 2025-10-23 11:51:10,636 - DEBUG - No XMPP flaps were noticed during the test 2025-10-23 11:51:10,636 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:43] 2025-10-23 11:51:10,636 - INFO - -------------------------------------------------------------------------------- 2025-10-23 11:51:11,316 - INFO - Deleted project: ctest-TestRouters-99039957, ID : 1941c6a5-0420-4615-abed-6fc493be7bdf