2026-05-27 16:23:17,173 - INFO - Domain Default found not creating 2026-05-27 16:23:17,348 - INFO - Project ctest-TestRoutersBasic-35297606 not found, creating it 2026-05-27 16:23:17,811 - INFO - Created Project:ctest-TestRoutersBasic-35297606, ID : ea7c545d-aff8-4c0f-adf8-65046982f3cf 2026-05-27 16:23:19,316 - INFO - ================================================================================ 2026-05-27 16:23:19,316 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-05-27 16:23:19,316 - 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-05-27 16:23:19,571 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.192': '0'}} with 2026-05-27 16:23:19,571 - INFO - Initial checks done. Running the testcase now 2026-05-27 16:23:19,571 - INFO - 2026-05-27 16:23:20,292 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-35297606 2026-05-27 16:23:20,389 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-35297606 2026-05-27 16:23:20,709 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35297606', 'default']} 2026-05-27 16:23:21,005 - DEBUG - Response for create_network : {'network': {'id': '367b5240-9dad-4c24-a59c-d888a8bfc9a5', 'name': 'ctest-vn-17127912', 'tenant_id': 'ea7c545daff84c0fadf865046982f3cf', 'project_id': 'ea7c545daff84c0fadf865046982f3cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35297606', 'ctest-vn-17127912'], 'port_security_enabled': True, 'description': ''}} 2026-05-27 16:23:21,162 - DEBUG - Response for create_subnet : {'subnet': {'id': '8dc7dc87-2cc6-486e-a601-3479f5e7baf8', 'name': '', 'tenant_id': 'ea7c545daff84c0fadf865046982f3cf', 'network_id': '367b5240-9dad-4c24-a59c-d888a8bfc9a5', 'ip_version': 4, 'cidr': '219.195.158.128/26', 'allocation_pools': [{'start': '219.195.158.130', 'end': '219.195.158.190'}], 'gateway_ip': '219.195.158.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '219.195.158.130', 'tags': [], 'project_id': 'ea7c545daff84c0fadf865046982f3cf'}} 2026-05-27 16:23:21,182 - INFO - Created VN ctest-vn-17127912 2026-05-27 16:23:21,233 - DEBUG - VN ctest-vn-17127912 UUID is 367b5240-9dad-4c24-a59c-d888a8bfc9a5 2026-05-27 16:23:21,581 - DEBUG - Response for create_network : {'network': {'id': '5494476b-6e0f-4635-8bd6-905e36d694c3', 'name': 'ctest-ext_vn-15487345', 'tenant_id': 'ea7c545daff84c0fadf865046982f3cf', 'project_id': 'ea7c545daff84c0fadf865046982f3cf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-35297606', 'ctest-ext_vn-15487345'], 'port_security_enabled': True, 'description': ''}} 2026-05-27 16:23:21,766 - DEBUG - Response for create_subnet : {'subnet': {'id': '220320a3-787c-4c68-acf8-3dea826441f6', 'name': '', 'tenant_id': 'ea7c545daff84c0fadf865046982f3cf', 'network_id': '5494476b-6e0f-4635-8bd6-905e36d694c3', 'ip_version': 4, 'cidr': '167.200.195.192/26', 'allocation_pools': [{'start': '167.200.195.194', 'end': '167.200.195.254'}], 'gateway_ip': '167.200.195.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '167.200.195.194', 'tags': [], 'project_id': 'ea7c545daff84c0fadf865046982f3cf'}} 2026-05-27 16:23:21,784 - INFO - Created VN ctest-ext_vn-15487345 2026-05-27 16:23:21,837 - DEBUG - VN ctest-ext_vn-15487345 UUID is 5494476b-6e0f-4635-8bd6-905e36d694c3 2026-05-27 16:23:22,001 - DEBUG - Services list from nova: [, , ] 2026-05-27 16:23:23,023 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5834-1) 2026-05-27 16:23:24,242 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5834-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5834-1) 2026-05-27 16:23:24,319 - INFO - Setting gateway for router 2063c7ef-142c-4003-8887-40c13d13eff1 to network 5494476b-6e0f-4635-8bd6-905e36d694c3 2026-05-27 16:23:24,377 - INFO - Adding interface with subnet_id 8dc7dc87-2cc6-486e-a601-3479f5e7baf8, port_id None to router 2063c7ef-142c-4003-8887-40c13d13eff1 2026-05-27 16:23:24,729 - INFO - Waiting for VM ctest-TestRoutersBasic-35297606-86580151 to be up.. 2026-05-27 16:23:24,898 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-27 16:23:29,973 - DEBUG - VM is in ACTIVE state now 2026-05-27 16:23:29,973 - INFO - VM name : ctest-TestRoutersBasic-35297606-86580151 2026-05-27 16:23:30,046 - DEBUG - VM ctest-TestRoutersBasic-35297606-86580151 ID is b7221631-4c33-44df-b5d8-05be0115b038 2026-05-27 16:23:30,065 - DEBUG - VM ctest-TestRoutersBasic-35297606-86580151 launched on Node cn-jenkins-deploy-platform-ansible-os-5834-1 2026-05-27 16:23:30,142 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/b7221631-4c33-44df-b5d8-05be0115b038 2026-05-27 16:23:30,440 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/b7221631-4c33-44df-b5d8-05be0115b038 2026-05-27 16:23:30,482 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/575f1a0e-868c-448f-bf10-655aff35237f 2026-05-27 16:23:33,726 - 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 1002ms') 2026-05-27 16:23:33,726 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35297606-86580151 failed! 2026-05-27 16:23:33,781 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-35297606:ctest-vn-17127912 is 219.195.158.129 and allocation pool is NOT set 2026-05-27 16:23:35,846 - 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.99 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.99 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.987/3.489/3.991/0.502 ms') 2026-05-27 16:23:35,846 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-35297606-86580151 passed 2026-05-27 16:23:35,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 16:23:35,993 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35297606-86580151, IP 219.195.158.131, Port 22 2026-05-27 16:23:36,048 - 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-05-27 16:23:36,125 - DEBUG - VM ctest-TestRoutersBasic-35297606-86580151 is NOT ready for SSH connections, VM status: ACTIVE 2026-05-27 16:23:41,126 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 16:23:41,126 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35297606-86580151, IP 219.195.158.131, Port 22 2026-05-27 16:23:41,281 - DEBUG - VM ctest-TestRoutersBasic-35297606-86580151 is ready for SSH connections 2026-05-27 16:23:41,281 - INFO - Waiting for VM ctest-TestRoutersBasic-35297606-32932113 to be up.. 2026-05-27 16:23:41,356 - DEBUG - VM is in ACTIVE state now 2026-05-27 16:23:41,357 - INFO - VM name : ctest-TestRoutersBasic-35297606-32932113 2026-05-27 16:23:41,433 - DEBUG - VM ctest-TestRoutersBasic-35297606-32932113 ID is 4de4ab66-aabe-4fd6-a2be-2729aee8e585 2026-05-27 16:23:41,433 - DEBUG - VM ctest-TestRoutersBasic-35297606-32932113 launched on Node cn-jenkins-deploy-platform-ansible-os-5834-1 2026-05-27 16:23:41,522 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/4de4ab66-aabe-4fd6-a2be-2729aee8e585 2026-05-27 16:23:41,531 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/2b7a2285-5306-4902-b674-1ad5509f1b8a 2026-05-27 16:23:42,766 - 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.68 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.484 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.484/1.580/2.676/1.096 ms') 2026-05-27 16:23:42,766 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-35297606-32932113 passed 2026-05-27 16:23:42,913 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 16:23:42,913 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-35297606-32932113, IP 167.200.195.195, Port 22 2026-05-27 16:23:43,079 - DEBUG - VM ctest-TestRoutersBasic-35297606-32932113 is ready for SSH connections 2026-05-27 16:23:43,079 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-27 16:23:43,079 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 167.200.195.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-05-27 16:23:43,079 - DEBUG - ping -s 56 -c 3 -W 1 167.200.195.195 2026-05-27 16:23:46,882 - DEBUG - PING 167.200.195.195 (167.200.195.195): 56 data bytes 64 bytes from 167.200.195.195: seq=0 ttl=62 time=6.738 ms 64 bytes from 167.200.195.195: seq=1 ttl=62 time=1.025 ms 64 bytes from 167.200.195.195: seq=2 ttl=62 time=0.826 ms --- 167.200.195.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/2.863/6.738 ms 2026-05-27 16:23:46,882 - INFO - Ping to IP 167.200.195.195 from VM ctest-TestRoutersBasic-35297606-86580151 passed 2026-05-27 16:23:46,882 - INFO - Deleting interface with subnet_id 8dc7dc87-2cc6-486e-a601-3479f5e7baf8, port_id None from router 2063c7ef-142c-4003-8887-40c13d13eff1 2026-05-27 16:23:47,127 - INFO - Deleting VM ctest-TestRoutersBasic-35297606-32932113 2026-05-27 16:23:47,217 - INFO - Deleting VM ctest-TestRoutersBasic-35297606-86580151 2026-05-27 16:23:47,307 - INFO - Deleting VN ctest-ext_vn-15487345 2026-05-27 16:23:47,403 - DEBUG - VN 5494476b-6e0f-4635-8bd6-905e36d694c3 still in use: Unable to complete operation on network 5494476b-6e0f-4635-8bd6-905e36d694c3. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5fae2c0c-0eee-4eec-aa4d-f9970c6370c3'] 2026-05-27 16:23:47,403 - WARNING - Deleting VN ctest-ext_vn-15487345 failed..Will retry 2026-05-27 16:23:49,521 - DEBUG - Response for deleting network () 2026-05-27 16:23:49,521 - INFO - Deleting VN ctest-vn-17127912 2026-05-27 16:23:49,618 - DEBUG - Response for deleting network () 2026-05-27 16:23:49,871 - DEBUG - No XMPP flaps were noticed during the test 2026-05-27 16:23:49,871 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30] 2026-05-27 16:23:49,871 - INFO - -------------------------------------------------------------------------------- 2026-05-27 16:23:50,566 - INFO - Deleted project: ctest-TestRoutersBasic-35297606, ID : ea7c545d-aff8-4c0f-adf8-65046982f3cf