2025-10-29 18:12:13,353 - INFO - Domain Default found not creating 2025-10-29 18:12:13,702 - INFO - Project ctest-TestRouters-51710956 not found, creating it 2025-10-29 18:12:14,323 - INFO - Created Project:ctest-TestRouters-51710956, ID : b1198e52-4c22-45dc-b22d-6d2b33ab24af 2025-10-29 18:12:16,942 - INFO - ================================================================================ 2025-10-29 18:12:16,942 - INFO - STARTING TEST : test_basic_router_behavior 2025-10-29 18:12:16,942 - 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-29 18:12:18,356 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.201': '0', '10.20.0.200': '0'}, '10.0.0.27': {'10.20.0.201': '0', '10.20.0.200': '0'}} with 2025-10-29 18:12:18,356 - INFO - Initial checks done. Running the testcase now 2025-10-29 18:12:18,357 - INFO - 2025-10-29 18:12:19,252 - DEBUG - Response for create_network : {'network': {'id': 'b354a99d-287d-4be8-b49f-3c64ed32735e', 'name': 'ctest-vn1-93054583', 'tenant_id': 'b1198e524c2245dcb22d6d2b33ab24af', 'project_id': 'b1198e524c2245dcb22d6d2b33ab24af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-51710956', 'ctest-vn1-93054583'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 18:12:19,594 - DEBUG - Response for create_subnet : {'subnet': {'id': '9d40a1b4-8e22-486d-9f4d-39ca31f53730', 'name': '', 'tenant_id': 'b1198e524c2245dcb22d6d2b33ab24af', 'network_id': 'b354a99d-287d-4be8-b49f-3c64ed32735e', 'ip_version': 4, 'cidr': '201.39.144.64/26', 'allocation_pools': [{'start': '201.39.144.66', 'end': '201.39.144.126'}], 'gateway_ip': '201.39.144.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '201.39.144.66', 'tags': [], 'project_id': 'b1198e524c2245dcb22d6d2b33ab24af'}} 2025-10-29 18:12:19,619 - INFO - Created VN ctest-vn1-93054583 2025-10-29 18:12:19,632 - DEBUG - VN ctest-vn1-93054583 UUID is b354a99d-287d-4be8-b49f-3c64ed32735e 2025-10-29 18:12:20,102 - DEBUG - Response for create_network : {'network': {'id': '203deeea-f56a-45be-9ceb-aeee2e5a3e32', 'name': 'ctest-vn2-81141613', 'tenant_id': 'b1198e524c2245dcb22d6d2b33ab24af', 'project_id': 'b1198e524c2245dcb22d6d2b33ab24af', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRouters-51710956', 'ctest-vn2-81141613'], 'port_security_enabled': True, 'description': ''}} 2025-10-29 18:12:20,341 - DEBUG - Response for create_subnet : {'subnet': {'id': '05100382-8bfa-4b9d-80e4-4e3047730418', 'name': '', 'tenant_id': 'b1198e524c2245dcb22d6d2b33ab24af', 'network_id': '203deeea-f56a-45be-9ceb-aeee2e5a3e32', 'ip_version': 4, 'cidr': '90.177.108.128/26', 'allocation_pools': [{'start': '90.177.108.130', 'end': '90.177.108.190'}], 'gateway_ip': '90.177.108.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '90.177.108.130', 'tags': [], 'project_id': 'b1198e524c2245dcb22d6d2b33ab24af'}} 2025-10-29 18:12:20,362 - INFO - Created VN ctest-vn2-81141613 2025-10-29 18:12:20,377 - DEBUG - VN ctest-vn2-81141613 UUID is 203deeea-f56a-45be-9ceb-aeee2e5a3e32 2025-10-29 18:12:20,525 - DEBUG - Services list from nova: [, , , ] 2025-10-29 18:12:21,695 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4526-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4526-2) 2025-10-29 18:12:23,089 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4526-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4526-1) 2025-10-29 18:12:23,235 - INFO - Adding interface with subnet_id 9d40a1b4-8e22-486d-9f4d-39ca31f53730, port_id None to router 1f6f992c-3421-46e5-95cc-99bb5392d20e 2025-10-29 18:12:23,652 - INFO - Waiting for VM ctest-vn1-vm1-12524332 to be up.. 2025-10-29 18:12:23,804 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-10-29 18:12:28,971 - DEBUG - VM is in ACTIVE state now 2025-10-29 18:12:28,971 - INFO - VM name : ctest-vn1-vm1-12524332 2025-10-29 18:12:29,138 - DEBUG - VM ctest-vn1-vm1-12524332 ID is d6b452af-7f64-4b8a-8e1a-e62b2d33df3b 2025-10-29 18:12:29,210 - DEBUG - VM ctest-vn1-vm1-12524332 launched on Node an-jenkins-deploy-platform-ansible-os-4526-2 2025-10-29 18:12:29,367 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d6b452af-7f64-4b8a-8e1a-e62b2d33df3b 2025-10-29 18:12:29,716 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/d6b452af-7f64-4b8a-8e1a-e62b2d33df3b 2025-10-29 18:12:29,759 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/5356361f-f37c-42ad-a949-e9e5f2cd2f3b 2025-10-29 18:12:32,950 - 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=2 ttl=63 time=3.52 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1031ms\r\nrtt min/avg/max/mdev = 3.515/3.515/3.515/0.000 ms') 2025-10-29 18:12:32,951 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1-vm1-12524332 passed 2025-10-29 18:12:33,031 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 18:12:33,031 - DEBUG - Waiting to SSH to VM ctest-vn1-vm1-12524332, IP 201.39.144.67, Port 22 2025-10-29 18:12:33,187 - DEBUG - VM ctest-vn1-vm1-12524332 is ready for SSH connections 2025-10-29 18:12:33,188 - INFO - Waiting for VM ctest-vn2-vm1-89178206 to be up.. 2025-10-29 18:12:33,395 - DEBUG - VM is in ACTIVE state now 2025-10-29 18:12:33,395 - INFO - VM name : ctest-vn2-vm1-89178206 2025-10-29 18:12:33,518 - DEBUG - VM ctest-vn2-vm1-89178206 ID is 48b3de2b-c2ca-4a20-9b51-61e5c3e05e91 2025-10-29 18:12:33,518 - DEBUG - VM ctest-vn2-vm1-89178206 launched on Node an-jenkins-deploy-platform-ansible-os-4526-1 2025-10-29 18:12:33,634 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/48b3de2b-c2ca-4a20-9b51-61e5c3e05e91 2025-10-29 18:12:33,646 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/6eeab506-5917-40a5-8fbc-a27c78ceec55 2025-10-29 18:12:34,851 - 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=14.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.98 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.978/8.654/14.331/5.676 ms') 2025-10-29 18:12:34,852 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn2-vm1-89178206 passed 2025-10-29 18:12:34,932 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 18:12:34,933 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-89178206, IP 90.177.108.131, Port 22 2025-10-29 18:12:35,027 - 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-29 18:12:35,224 - DEBUG - VM ctest-vn2-vm1-89178206 is NOT ready for SSH connections, VM status: ACTIVE 2025-10-29 18:12:40,225 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 18:12:40,225 - DEBUG - Waiting to SSH to VM ctest-vn2-vm1-89178206, IP 90.177.108.131, Port 22 2025-10-29 18:12:40,429 - DEBUG - VM ctest-vn2-vm1-89178206 is ready for SSH connections 2025-10-29 18:12:40,430 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 18:12:40,430 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.177.108.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-29 18:12:40,430 - DEBUG - ping -s 56 -c 3 -W 1 90.177.108.131 2025-10-29 18:12:44,399 - DEBUG - PING 90.177.108.131 (90.177.108.131): 56 data bytes --- 90.177.108.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-29 18:12:44,399 - WARNING - Ping to IP 90.177.108.131 from VM ctest-vn1-vm1-12524332 failed 2025-10-29 18:12:44,399 - INFO - Adding interface with subnet_id 05100382-8bfa-4b9d-80e4-4e3047730418, port_id None to router 1f6f992c-3421-46e5-95cc-99bb5392d20e 2025-10-29 18:12:44,825 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 18:12:44,825 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.177.108.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-29 18:12:44,825 - DEBUG - ping -s 56 -c 3 -W 1 90.177.108.131 2025-10-29 18:12:47,038 - DEBUG - PING 90.177.108.131 (90.177.108.131): 56 data bytes 64 bytes from 90.177.108.131: seq=0 ttl=63 time=4.636 ms 64 bytes from 90.177.108.131: seq=1 ttl=63 time=1.582 ms 64 bytes from 90.177.108.131: seq=2 ttl=63 time=2.564 ms --- 90.177.108.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.582/2.927/4.636 ms 2025-10-29 18:12:47,039 - INFO - Ping to IP 90.177.108.131 from VM ctest-vn1-vm1-12524332 passed 2025-10-29 18:12:47,039 - INFO - Deleting interface with subnet_id 9d40a1b4-8e22-486d-9f4d-39ca31f53730, port_id None from router 1f6f992c-3421-46e5-95cc-99bb5392d20e 2025-10-29 18:12:47,294 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 18:12:47,294 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.177.108.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-29 18:12:47,295 - DEBUG - ping -s 56 -c 3 -W 1 90.177.108.131 2025-10-29 18:12:50,489 - DEBUG - PING 90.177.108.131 (90.177.108.131): 56 data bytes --- 90.177.108.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-10-29 18:12:50,489 - WARNING - Ping to IP 90.177.108.131 from VM ctest-vn1-vm1-12524332 failed 2025-10-29 18:12:50,489 - INFO - Adding interface with subnet_id 9d40a1b4-8e22-486d-9f4d-39ca31f53730, port_id None to router 1f6f992c-3421-46e5-95cc-99bb5392d20e 2025-10-29 18:12:50,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-10-29 18:12:50,891 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.177.108.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-29 18:12:50,891 - DEBUG - ping -s 56 -c 3 -W 1 90.177.108.131 2025-10-29 18:12:54,094 - DEBUG - PING 90.177.108.131 (90.177.108.131): 56 data bytes 64 bytes from 90.177.108.131: seq=1 ttl=63 time=4.048 ms 64 bytes from 90.177.108.131: seq=2 ttl=63 time=1.652 ms --- 90.177.108.131 ping statistics --- 3 packets transmitted, 2 packets received, 33% packet loss round-trip min/avg/max = 1.652/2.850/4.048 ms 2025-10-29 18:12:54,094 - WARNING - Ping to IP 90.177.108.131 from VM ctest-vn1-vm1-12524332 failed 2025-10-29 18:12:55,096 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 90.177.108.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-10-29 18:12:55,096 - DEBUG - ping -s 56 -c 3 -W 1 90.177.108.131 2025-10-29 18:12:57,289 - DEBUG - PING 90.177.108.131 (90.177.108.131): 56 data bytes 64 bytes from 90.177.108.131: seq=0 ttl=63 time=3.596 ms 64 bytes from 90.177.108.131: seq=1 ttl=63 time=1.431 ms 64 bytes from 90.177.108.131: seq=2 ttl=63 time=1.754 ms --- 90.177.108.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.431/2.260/3.596 ms 2025-10-29 18:12:57,289 - INFO - Ping to IP 90.177.108.131 from VM ctest-vn1-vm1-12524332 passed 2025-10-29 18:12:57,289 - INFO - Deleting interface with subnet_id 05100382-8bfa-4b9d-80e4-4e3047730418, port_id None from router 1f6f992c-3421-46e5-95cc-99bb5392d20e 2025-10-29 18:12:57,529 - INFO - Deleting interface with subnet_id 9d40a1b4-8e22-486d-9f4d-39ca31f53730, port_id None from router 1f6f992c-3421-46e5-95cc-99bb5392d20e 2025-10-29 18:12:57,873 - INFO - Deleting VM ctest-vn2-vm1-89178206 2025-10-29 18:12:57,981 - INFO - Deleting VM ctest-vn1-vm1-12524332 2025-10-29 18:12:58,071 - INFO - Deleting VN ctest-vn2-81141613 2025-10-29 18:12:58,126 - DEBUG - VN 203deeea-f56a-45be-9ceb-aeee2e5a3e32 still in use: Unable to complete operation on network 203deeea-f56a-45be-9ceb-aeee2e5a3e32. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-765efbe2-ca97-470f-894b-4bd1d2e17cb4'] 2025-10-29 18:12:58,127 - WARNING - Deleting VN ctest-vn2-81141613 failed..Will retry 2025-10-29 18:13:00,335 - DEBUG - Response for deleting network () 2025-10-29 18:13:00,335 - INFO - Deleting VN ctest-vn1-93054583 2025-10-29 18:13:00,508 - DEBUG - Response for deleting network () 2025-10-29 18:13:01,906 - DEBUG - No XMPP flaps were noticed during the test
2025-10-29 18:13:01,906 - INFO - END TEST : test_basic_router_behavior : PASSED[0:00:45]
2025-10-29 18:13:01,906 - INFO - -------------------------------------------------------------------------------- 2025-10-29 18:13:02,749 - INFO - Deleted project: ctest-TestRouters-51710956, ID : b1198e52-4c22-45dc-b22d-6d2b33ab24af