2026-04-03 16:53:54,275 - INFO - Domain Default found not creating 2026-04-03 16:53:54,472 - INFO - Project ctest-TestRoutersBasic-68278807 not found, creating it 2026-04-03 16:53:54,993 - INFO - Created Project:ctest-TestRoutersBasic-68278807, ID : 885adb14-d991-4a75-988e-e1ca684a7c0d 2026-04-03 16:53:56,470 - INFO - ================================================================================ 2026-04-03 16:53:56,470 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-04-03 16:53:56,470 - INFO - TEST DESCRIPTION : Create an external network, a router set router-gateway to external network launch a private network and attach it to router validate left vm pinging right vm through Snat 2026-04-03 16:53:57,764 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0', '10.20.0.17': '0'}, '10.0.0.240': {'10.20.0.14': '0', '10.20.0.254': '0'}} with 2026-04-03 16:53:57,764 - INFO - Initial checks done. Running the testcase now 2026-04-03 16:53:57,764 - INFO - 2026-04-03 16:53:58,500 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-68278807 2026-04-03 16:53:58,573 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-68278807 2026-04-03 16:53:58,890 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68278807', 'default']} 2026-04-03 16:53:59,294 - DEBUG - Response for create_network : {'network': {'id': '70a0a557-4489-4026-bba9-82e4b7103114', 'name': 'ctest-vn-58376345', 'tenant_id': '885adb14d9914a75988ee1ca684a7c0d', 'project_id': '885adb14d9914a75988ee1ca684a7c0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68278807', 'ctest-vn-58376345'], 'port_security_enabled': True, 'description': ''}} 2026-04-03 16:53:59,618 - DEBUG - Response for create_subnet : {'subnet': {'id': '066e06db-6480-4ca3-8329-9ace2e0bc0d7', 'name': '', 'tenant_id': '885adb14d9914a75988ee1ca684a7c0d', 'network_id': '70a0a557-4489-4026-bba9-82e4b7103114', 'ip_version': 4, 'cidr': '135.123.167.64/26', 'allocation_pools': [{'start': '135.123.167.66', 'end': '135.123.167.126'}], 'gateway_ip': '135.123.167.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '135.123.167.66', 'tags': [], 'project_id': '885adb14d9914a75988ee1ca684a7c0d'}} 2026-04-03 16:53:59,636 - INFO - Created VN ctest-vn-58376345 2026-04-03 16:53:59,652 - DEBUG - VN ctest-vn-58376345 UUID is 70a0a557-4489-4026-bba9-82e4b7103114 2026-04-03 16:54:00,085 - DEBUG - Response for create_network : {'network': {'id': 'ecad7dbb-7ce2-4ca7-b360-516cecf1a83a', 'name': 'ctest-ext_vn-17254626', 'tenant_id': '885adb14d9914a75988ee1ca684a7c0d', 'project_id': '885adb14d9914a75988ee1ca684a7c0d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-68278807', 'ctest-ext_vn-17254626'], 'port_security_enabled': True, 'description': ''}} 2026-04-03 16:54:00,332 - DEBUG - Response for create_subnet : {'subnet': {'id': '6c03a4cb-21a4-44e2-a15c-438a80ce6928', 'name': '', 'tenant_id': '885adb14d9914a75988ee1ca684a7c0d', 'network_id': 'ecad7dbb-7ce2-4ca7-b360-516cecf1a83a', 'ip_version': 4, 'cidr': '80.166.164.0/26', 'allocation_pools': [{'start': '80.166.164.2', 'end': '80.166.164.62'}], 'gateway_ip': '80.166.164.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.166.164.2', 'tags': [], 'project_id': '885adb14d9914a75988ee1ca684a7c0d'}} 2026-04-03 16:54:00,355 - INFO - Created VN ctest-ext_vn-17254626 2026-04-03 16:54:00,372 - DEBUG - VN ctest-ext_vn-17254626 UUID is ecad7dbb-7ce2-4ca7-b360-516cecf1a83a 2026-04-03 16:54:00,621 - DEBUG - Services list from nova: [, , , ] 2026-04-03 16:54:01,710 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5589-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5589-2) 2026-04-03 16:54:03,094 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-5589-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-5589-1) 2026-04-03 16:54:03,213 - INFO - Setting gateway for router 6b951b50-0ba1-4b7c-93d7-5445feba4083 to network ecad7dbb-7ce2-4ca7-b360-516cecf1a83a 2026-04-03 16:54:03,312 - INFO - Adding interface with subnet_id 066e06db-6480-4ca3-8329-9ace2e0bc0d7, port_id None to router 6b951b50-0ba1-4b7c-93d7-5445feba4083 2026-04-03 16:54:03,856 - INFO - Waiting for VM ctest-TestRoutersBasic-68278807-81845286 to be up.. 2026-04-03 16:54:04,084 - DEBUG - VM is in ACTIVE state now 2026-04-03 16:54:04,085 - INFO - VM name : ctest-TestRoutersBasic-68278807-81845286 2026-04-03 16:54:04,242 - DEBUG - VM ctest-TestRoutersBasic-68278807-81845286 ID is 5610e2f4-df7e-49d6-8afe-f2954433862f 2026-04-03 16:54:04,296 - DEBUG - VM ctest-TestRoutersBasic-68278807-81845286 launched on Node an-jenkins-deploy-platform-ansible-os-5589-2 2026-04-03 16:54:04,464 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/5610e2f4-df7e-49d6-8afe-f2954433862f 2026-04-03 16:54:05,216 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/5610e2f4-df7e-49d6-8afe-f2954433862f 2026-04-03 16:54:05,308 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/ee27660d-4f08-454f-a77a-59e63539c95b 2026-04-03 16:54:08,516 - 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 1006ms') 2026-04-03 16:54:08,516 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68278807-81845286 failed! 2026-04-03 16:54:08,534 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68278807:ctest-vn-58376345 is 135.123.167.65 and allocation pool is NOT set 2026-04-03 16:54:12,616 - 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 1024ms') 2026-04-03 16:54:12,616 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68278807-81845286 failed! 2026-04-03 16:54:12,629 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-68278807:ctest-vn-58376345 is 135.123.167.65 and allocation pool is NOT set 2026-04-03 16:54:14,693 - 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.36 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.474 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.474/1.914/3.355/1.440 ms') 2026-04-03 16:54:14,693 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68278807-81845286 passed 2026-04-03 16:54:14,767 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 16:54:14,767 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68278807-81845286, IP 135.123.167.67, Port 22 2026-04-03 16:54:14,933 - DEBUG - VM ctest-TestRoutersBasic-68278807-81845286 is ready for SSH connections 2026-04-03 16:54:14,933 - INFO - Waiting for VM ctest-TestRoutersBasic-68278807-20629726 to be up.. 2026-04-03 16:54:15,065 - DEBUG - VM is in ACTIVE state now 2026-04-03 16:54:15,065 - INFO - VM name : ctest-TestRoutersBasic-68278807-20629726 2026-04-03 16:54:15,234 - DEBUG - VM ctest-TestRoutersBasic-68278807-20629726 ID is 06cc399d-0f53-4b61-ac40-0fc9b5f17f3d 2026-04-03 16:54:15,234 - DEBUG - VM ctest-TestRoutersBasic-68278807-20629726 launched on Node an-jenkins-deploy-platform-ansible-os-5589-1 2026-04-03 16:54:15,326 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/06cc399d-0f53-4b61-ac40-0fc9b5f17f3d 2026-04-03 16:54:15,337 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/968c21f4-f4a6-43bf-930a-3bfed000ceec 2026-04-03 16:54:16,501 - 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.62 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.60 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.617/3.110/3.604/0.493 ms') 2026-04-03 16:54:16,501 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-68278807-20629726 passed 2026-04-03 16:54:16,574 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 16:54:16,574 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68278807-20629726, IP 80.166.164.3, Port 22 2026-04-03 16:54:16,640 - 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-04-03 16:54:16,716 - DEBUG - VM ctest-TestRoutersBasic-68278807-20629726 is NOT ready for SSH connections, VM status: ACTIVE 2026-04-03 16:54:21,716 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 16:54:21,716 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-68278807-20629726, IP 80.166.164.3, Port 22 2026-04-03 16:54:21,884 - DEBUG - VM ctest-TestRoutersBasic-68278807-20629726 is ready for SSH connections 2026-04-03 16:54:21,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-03 16:54:21,884 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 80.166.164.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.240, gateway password: c0ntrail123 2026-04-03 16:54:21,884 - DEBUG - ping -s 56 -c 3 -W 1 80.166.164.3 2026-04-03 16:54:25,542 - DEBUG - PING 80.166.164.3 (80.166.164.3): 56 data bytes 64 bytes from 80.166.164.3: seq=0 ttl=62 time=6.496 ms 64 bytes from 80.166.164.3: seq=1 ttl=62 time=1.388 ms 64 bytes from 80.166.164.3: seq=2 ttl=62 time=1.576 ms --- 80.166.164.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.388/3.153/6.496 ms 2026-04-03 16:54:25,543 - INFO - Ping to IP 80.166.164.3 from VM ctest-TestRoutersBasic-68278807-81845286 passed 2026-04-03 16:54:25,543 - INFO - Deleting interface with subnet_id 066e06db-6480-4ca3-8329-9ace2e0bc0d7, port_id None from router 6b951b50-0ba1-4b7c-93d7-5445feba4083 2026-04-03 16:54:25,908 - INFO - Deleting VM ctest-TestRoutersBasic-68278807-20629726 2026-04-03 16:54:26,015 - INFO - Deleting VM ctest-TestRoutersBasic-68278807-81845286 2026-04-03 16:54:26,134 - INFO - Deleting VN ctest-ext_vn-17254626 2026-04-03 16:54:26,283 - DEBUG - VN ecad7dbb-7ce2-4ca7-b360-516cecf1a83a still in use: Unable to complete operation on network ecad7dbb-7ce2-4ca7-b360-516cecf1a83a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7f79171d-c50f-4458-88db-3f37fb8daea2'] 2026-04-03 16:54:26,283 - WARNING - Deleting VN ctest-ext_vn-17254626 failed..Will retry 2026-04-03 16:54:28,426 - DEBUG - Response for deleting network () 2026-04-03 16:54:28,426 - INFO - Deleting VN ctest-vn-58376345 2026-04-03 16:54:28,562 - DEBUG - Response for deleting network () 2026-04-03 16:54:29,824 - DEBUG - No XMPP flaps were noticed during the test
2026-04-03 16:54:29,824 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:33]
2026-04-03 16:54:29,824 - INFO - -------------------------------------------------------------------------------- 2026-04-03 16:54:30,597 - INFO - Deleted project: ctest-TestRoutersBasic-68278807, ID : 885adb14-d991-4a75-988e-e1ca684a7c0d