2026-02-23 02:15:40,791 - INFO - Domain Default found not creating 2026-02-23 02:15:40,988 - INFO - Project ctest-TestRouters-72714432 not found, creating it 2026-02-23 02:15:41,557 - INFO - Created Project:ctest-TestRouters-72714432, ID : 62400ced-0e52-4558-8733-81e0514ed1ee 2026-02-23 02:15:43,305 - INFO - ================================================================================ 2026-02-23 02:15:43,305 - INFO - STARTING TEST : test_basic_router_behavior 2026-02-23 02:15:43,306 - 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 2026-02-23 02:15:44,583 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.193': '0', '10.20.0.25': '0'}, '10.0.0.65': {'10.20.0.254': '0', '10.20.0.193': '0'}} with 2026-02-23 02:15:44,583 - INFO - Initial checks done. Running the testcase now 2026-02-23 02:15:44,583 - INFO - 2026-02-23 02:15:45,337 - DEBUG - Response for create_network : {'network': {'id': '5653559b-e143-458b-95c7-ecd80c1abe9d', 'name': 'ctest-vn1-78826324', 'tenant_id': '62400ced0e524558873381e0514ed1ee', 'project_id': '62400ced0e524558873381e0514ed1ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-72714432', 'ctest-vn1-78826324'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 02:15:45,729 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a5a11b1-834b-4ddb-a36a-3aaf7f725038', 'name': '', 'tenant_id': '62400ced0e524558873381e0514ed1ee', 'network_id': '5653559b-e143-458b-95c7-ecd80c1abe9d', 'ip_version': 4, 'cidr': '123.196.234.64/26', 'allocation_pools': [{'start': '123.196.234.66', 'end': '123.196.234.126'}], 'gateway_ip': '123.196.234.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '123.196.234.66', 'tags': [], 'project_id': '62400ced0e524558873381e0514ed1ee'}} 2026-02-23 02:15:45,751 - INFO - Created VN ctest-vn1-78826324 2026-02-23 02:15:45,765 - DEBUG - VN ctest-vn1-78826324 UUID is 5653559b-e143-458b-95c7-ecd80c1abe9d 2026-02-23 02:15:46,181 - DEBUG - Response for create_network : {'network': {'id': 'c786adfb-99fe-4675-bd80-7d7e756cb66e', 'name': 'ctest-vn2-25953661', 'tenant_id': '62400ced0e524558873381e0514ed1ee', 'project_id': '62400ced0e524558873381e0514ed1ee', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-72714432', 'ctest-vn2-25953661'], 'port_security_enabled': True, 'description': ''}} 2026-02-23 02:15:46,479 - DEBUG - Response for create_subnet : {'subnet': {'id': '06409517-8a78-4f5f-9e1b-a56419fa1d37', 'name': '', 'tenant_id': '62400ced0e524558873381e0514ed1ee', 'network_id': 'c786adfb-99fe-4675-bd80-7d7e756cb66e', 'ip_version': 4, 'cidr': '194.9.10.192/26', 'allocation_pools': [{'start': '194.9.10.194', 'end': '194.9.10.254'}], 'gateway_ip': '194.9.10.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.9.10.194', 'tags': [], 'project_id': '62400ced0e524558873381e0514ed1ee'}} 2026-02-23 02:15:46,515 - INFO - Created VN ctest-vn2-25953661 2026-02-23 02:15:46,527 - DEBUG - VN ctest-vn2-25953661 UUID is c786adfb-99fe-4675-bd80-7d7e756cb66e 2026-02-23 02:15:46,667 - DEBUG - Services list from nova: [, , , ] 2026-02-23 02:15:47,721 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5383-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5383-2) 2026-02-23 02:15:49,033 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5383-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5383-1) 2026-02-23 02:15:49,132 - INFO - Adding interface with subnet_id 3a5a11b1-834b-4ddb-a36a-3aaf7f725038, port_id None to router bae334f3-14d7-432c-a352-cd92e3a94f87 2026-02-23 02:15:49,470 - INFO - Waiting for VM ctest-vn1-vm1-86452986 to be up.. 2026-02-23 02:15:49,742 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-23 02:15:54,832 - DEBUG - VM is in ACTIVE state now 2026-02-23 02:15:54,832 - INFO - VM name : ctest-vn1-vm1-86452986 2026-02-23 02:15:54,917 - DEBUG - VM ctest-vn1-vm1-86452986 ID is 431dadf8-6d0b-4031-a900-e3ea14b1125d 2026-02-23 02:15:54,943 - DEBUG - VM ctest-vn1-vm1-86452986 launched on Node an-jenkins-deploy-platform-ansible-os-5383-2 2026-02-23 02:15:55,037 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/431dadf8-6d0b-4031-a900-e3ea14b1125d 2026-02-23 02:15:55,364 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/431dadf8-6d0b-4031-a900-e3ea14b1125d 2026-02-23 02:15:55,403 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/4a8d9db7-c929-4808-8e1f-a64d3cef6f42 2026-02-23 02:15:58,596 - 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 1032ms') 2026-02-23 02:15:58,596 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86452986 failed! 2026-02-23 02:15:58,611 - DEBUG - Gateway for vn default-domain:ctest-TestRouters-72714432:ctest-vn1-78826324 is 123.196.234.65 and allocation pool is NOT set 2026-02-23 02:16:00,682 - 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=3.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.438 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.438/2.193/3.948/1.755 ms') 2026-02-23 02:16:00,682 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-86452986 passed 2026-02-23 02:16:00,753 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:16:00,754 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-86452986, IP 123.196.234.67, Port 22 2026-02-23 02:16:00,929 - DEBUG - VM ctest-vn1-vm1-86452986 is ready for SSH connections 2026-02-23 02:16:00,929 - INFO - Waiting for VM ctest-vn2-vm1-66915828 to be up.. 2026-02-23 02:16:01,041 - DEBUG - VM is in ACTIVE state now 2026-02-23 02:16:01,042 - INFO - VM name : ctest-vn2-vm1-66915828 2026-02-23 02:16:01,120 - DEBUG - VM ctest-vn2-vm1-66915828 ID is 4c5b06a2-a673-478f-a0bc-ddd26bd35a61 2026-02-23 02:16:01,120 - DEBUG - VM ctest-vn2-vm1-66915828 launched on Node an-jenkins-deploy-platform-ansible-os-5383-1 2026-02-23 02:16:01,209 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/4c5b06a2-a673-478f-a0bc-ddd26bd35a61 2026-02-23 02:16:01,221 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/26ae77c7-9f25-4b88-9c01-fed8fca79c5d 2026-02-23 02:16:02,390 - 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.75 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.96 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.745/2.854/2.963/0.109 ms') 2026-02-23 02:16:02,390 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-66915828 passed 2026-02-23 02:16:02,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:16:02,457 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-66915828, IP 194.9.10.195, Port 22 2026-02-23 02:16:02,523 - 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': ''} 2026-02-23 02:16:02,606 - DEBUG - VM ctest-vn2-vm1-66915828 is NOT ready for SSH connections, VM status: ACTIVE 2026-02-23 02:16:07,607 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:16:07,607 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-66915828, IP 194.9.10.195, Port 22 2026-02-23 02:16:07,783 - DEBUG - VM ctest-vn2-vm1-66915828 is ready for SSH connections 2026-02-23 02:16:07,783 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:16:07,783 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.9.10.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-23 02:16:07,783 - DEBUG - ping -s 56 -c 3 -W 1 194.9.10.195 2026-02-23 02:16:11,746 - DEBUG - PING 194.9.10.195 (194.9.10.195): 56 data bytes --- 194.9.10.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-23 02:16:11,746 - WARNING - Ping to IP 194.9.10.195 from VM ctest-vn1-vm1-86452986 failed 2026-02-23 02:16:11,746 - INFO - Adding interface with subnet_id 06409517-8a78-4f5f-9e1b-a56419fa1d37, port_id None to router bae334f3-14d7-432c-a352-cd92e3a94f87 2026-02-23 02:16:12,146 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:16:12,146 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.9.10.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-23 02:16:12,146 - DEBUG - ping -s 56 -c 3 -W 1 194.9.10.195 2026-02-23 02:16:15,357 - DEBUG - PING 194.9.10.195 (194.9.10.195): 56 data bytes 64 bytes from 194.9.10.195: seq=1 ttl=63 time=6.061 ms 64 bytes from 194.9.10.195: seq=2 ttl=63 time=1.452 ms --- 194.9.10.195 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.452/3.756/6.061 ms 2026-02-23 02:16:15,357 - WARNING - Ping to IP 194.9.10.195 from VM ctest-vn1-vm1-86452986 failed 2026-02-23 02:16:16,358 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.9.10.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-23 02:16:16,358 - DEBUG - ping -s 56 -c 3 -W 1 194.9.10.195 2026-02-23 02:16:18,560 - DEBUG - PING 194.9.10.195 (194.9.10.195): 56 data bytes 64 bytes from 194.9.10.195: seq=0 ttl=63 time=2.499 ms 64 bytes from 194.9.10.195: seq=1 ttl=63 time=1.323 ms 64 bytes from 194.9.10.195: seq=2 ttl=63 time=1.674 ms --- 194.9.10.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.323/1.832/2.499 ms 2026-02-23 02:16:18,560 - INFO - Ping to IP 194.9.10.195 from VM ctest-vn1-vm1-86452986 passed 2026-02-23 02:16:18,560 - INFO - Deleting interface with subnet_id 3a5a11b1-834b-4ddb-a36a-3aaf7f725038, port_id None from router bae334f3-14d7-432c-a352-cd92e3a94f87 2026-02-23 02:16:18,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:16:18,839 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.9.10.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-23 02:16:18,839 - DEBUG - ping -s 56 -c 3 -W 1 194.9.10.195 2026-02-23 02:16:22,062 - DEBUG - PING 194.9.10.195 (194.9.10.195): 56 data bytes --- 194.9.10.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-02-23 02:16:22,062 - WARNING - Ping to IP 194.9.10.195 from VM ctest-vn1-vm1-86452986 failed 2026-02-23 02:16:22,062 - INFO - Adding interface with subnet_id 3a5a11b1-834b-4ddb-a36a-3aaf7f725038, port_id None to router bae334f3-14d7-432c-a352-cd92e3a94f87 2026-02-23 02:16:22,377 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-23 02:16:22,377 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 194.9.10.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.65, gateway password: c0ntrail123 2026-02-23 02:16:22,377 - DEBUG - ping -s 56 -c 3 -W 1 194.9.10.195 2026-02-23 02:16:24,593 - DEBUG - PING 194.9.10.195 (194.9.10.195): 56 data bytes 64 bytes from 194.9.10.195: seq=0 ttl=63 time=2.509 ms 64 bytes from 194.9.10.195: seq=1 ttl=63 time=1.429 ms 64 bytes from 194.9.10.195: seq=2 ttl=63 time=1.173 ms --- 194.9.10.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.173/1.703/2.509 ms 2026-02-23 02:16:24,593 - INFO - Ping to IP 194.9.10.195 from VM ctest-vn1-vm1-86452986 passed 2026-02-23 02:16:24,593 - INFO - Deleting interface with subnet_id 06409517-8a78-4f5f-9e1b-a56419fa1d37, port_id None from router bae334f3-14d7-432c-a352-cd92e3a94f87 2026-02-23 02:16:24,826 - INFO - Deleting interface with subnet_id 3a5a11b1-834b-4ddb-a36a-3aaf7f725038, port_id None from router bae334f3-14d7-432c-a352-cd92e3a94f87 2026-02-23 02:16:25,099 - INFO - Deleting VM ctest-vn2-vm1-66915828 2026-02-23 02:16:25,215 - INFO - Deleting VM ctest-vn1-vm1-86452986 2026-02-23 02:16:25,291 - INFO - Deleting VN ctest-vn2-25953661 2026-02-23 02:16:25,351 - DEBUG - VN c786adfb-99fe-4675-bd80-7d7e756cb66e still in use: Unable to complete operation on network c786adfb-99fe-4675-bd80-7d7e756cb66e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-dda21249-b583-45ab-a01a-8b916b391e98'] 2026-02-23 02:16:25,351 - WARNING - Deleting VN ctest-vn2-25953661 failed..Will retry 2026-02-23 02:16:27,488 - DEBUG - Response for deleting network () 2026-02-23 02:16:27,489 - INFO - Deleting VN ctest-vn1-78826324 2026-02-23 02:16:27,648 - DEBUG - Response for deleting network () 2026-02-23 02:16:28,911 - DEBUG - No XMPP flaps were noticed during the test
2026-02-23 02:16:28,911 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2026-02-23 02:16:28,911 - INFO - -------------------------------------------------------------------------------- 2026-02-23 02:16:29,685 - INFO - Deleted project: ctest-TestRouters-72714432, ID : 62400ced-0e52-4558-8733-81e0514ed1ee