2026-08-21 13:52:06,425 - INFO - Domain Default found not creating
2026-08-21 13:52:06,616 - INFO - Project ctest-TestRoutersBasic-88305013 not found, creating it
2026-08-21 13:52:07,236 - INFO - Created Project:ctest-TestRoutersBasic-88305013, ID : 1691514c-8557-4d5d-b50b-97bff912bfc5
2026-08-21 13:52:09,152 - INFO - ================================================================================
2026-08-21 13:52:09,153 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-08-21 13:52:09,153 - 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-08-21 13:52:09,426 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with
2026-08-21 13:52:09,426 - INFO - Initial checks done. Running the testcase now
2026-08-21 13:52:09,426 - INFO -
2026-08-21 13:52:10,332 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-88305013
2026-08-21 13:52:10,432 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-88305013
2026-08-21 13:52:10,776 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88305013', 'default']}
2026-08-21 13:52:11,102 - DEBUG - Response for create_network : {'network': {'id': '78215268-b4dc-4223-8606-cb95588d48c8', 'name': 'ctest-vn-08509937', 'tenant_id': '1691514c85574d5db50b97bff912bfc5', 'project_id': '1691514c85574d5db50b97bff912bfc5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88305013', 'ctest-vn-08509937'], 'port_security_enabled': True, 'description': ''}}
2026-08-21 13:52:11,328 - DEBUG - Response for create_subnet : {'subnet': {'id': '067256c9-905f-40b3-8159-f2d543c0683d', 'name': '', 'tenant_id': '1691514c85574d5db50b97bff912bfc5', 'network_id': '78215268-b4dc-4223-8606-cb95588d48c8', 'ip_version': 4, 'cidr': '180.186.153.0/26', 'allocation_pools': [{'start': '180.186.153.2', 'end': '180.186.153.62'}], 'gateway_ip': '180.186.153.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.186.153.2', 'tags': [], 'project_id': '1691514c85574d5db50b97bff912bfc5'}}
2026-08-21 13:52:11,347 - INFO - Created VN ctest-vn-08509937
2026-08-21 13:52:11,404 - DEBUG - VN ctest-vn-08509937 UUID is 78215268-b4dc-4223-8606-cb95588d48c8
2026-08-21 13:52:11,750 - DEBUG - Response for create_network : {'network': {'id': 'fd56f2b3-c691-4ef8-a83c-2ec8ed309a4a', 'name': 'ctest-ext_vn-14601618', 'tenant_id': '1691514c85574d5db50b97bff912bfc5', 'project_id': '1691514c85574d5db50b97bff912bfc5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-88305013', 'ctest-ext_vn-14601618'], 'port_security_enabled': True, 'description': ''}}
2026-08-21 13:52:11,938 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a6a5175e-34fb-4a03-adb8-27bd10296e49', 'name': '', 'tenant_id': '1691514c85574d5db50b97bff912bfc5', 'network_id': 'fd56f2b3-c691-4ef8-a83c-2ec8ed309a4a', 'ip_version': 4, 'cidr': '57.159.132.0/26', 'allocation_pools': [{'start': '57.159.132.2', 'end': '57.159.132.62'}], 'gateway_ip': '57.159.132.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '57.159.132.2', 'tags': [], 'project_id': '1691514c85574d5db50b97bff912bfc5'}}
2026-08-21 13:52:11,960 - INFO - Created VN ctest-ext_vn-14601618
2026-08-21 13:52:12,016 - DEBUG - VN ctest-ext_vn-14601618 UUID is fd56f2b3-c691-4ef8-a83c-2ec8ed309a4a
2026-08-21 13:52:12,185 - DEBUG - Services list from nova: [, , ]
2026-08-21 13:52:12,551 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6203-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6203-1)
2026-08-21 13:52:12,981 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6203-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6203-1)
2026-08-21 13:52:13,065 - INFO - Setting gateway for router dcacc33e-807e-4cd4-86d5-263618483662 to network fd56f2b3-c691-4ef8-a83c-2ec8ed309a4a
2026-08-21 13:52:13,147 - INFO - Adding interface with subnet_id 067256c9-905f-40b3-8159-f2d543c0683d, port_id None to router dcacc33e-807e-4cd4-86d5-263618483662
2026-08-21 13:52:13,489 - INFO - Waiting for VM ctest-TestRoutersBasic-88305013-86654208 to be up..
2026-08-21 13:52:13,569 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-21 13:52:18,657 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-21 13:52:23,835 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-21 13:52:28,918 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-21 13:52:34,013 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-21 13:52:39,106 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-21 13:52:44,197 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-21 13:52:49,285 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-08-21 13:52:54,386 - DEBUG - VM is in ACTIVE state now
2026-08-21 13:52:54,387 - INFO - VM name : ctest-TestRoutersBasic-88305013-86654208
2026-08-21 13:52:54,476 - DEBUG - VM ctest-TestRoutersBasic-88305013-86654208 ID is 3b52c08c-9516-42d9-b8c6-2ed2102cf954
2026-08-21 13:52:54,500 - DEBUG - VM ctest-TestRoutersBasic-88305013-86654208 launched on Node cn-jenkins-deploy-platform-ansible-os-6203-1
2026-08-21 13:52:54,591 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3b52c08c-9516-42d9-b8c6-2ed2102cf954
2026-08-21 13:52:54,990 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3b52c08c-9516-42d9-b8c6-2ed2102cf954
2026-08-21 13:52:55,029 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/40504dc0-4ee3-4198-b948-4b87f065ce57
2026-08-21 13:52:58,301 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1015ms')
2026-08-21 13:52:58,301 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-88305013-86654208 failed!
2026-08-21 13:52:58,360 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-88305013:ctest-vn-08509937 is 180.186.153.1 and allocation pool is NOT set
2026-08-21 13:53:00,433 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=11.6 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.82 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.822/6.706/11.591/4.884 ms')
2026-08-21 13:53:00,433 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-88305013-86654208 passed
2026-08-21 13:53:00,596 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-21 13:53:00,596 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88305013-86654208, IP 180.186.153.3, Port 22
2026-08-21 13:53:00,663 - DEBUG - Error on ssh to cirros@169.254.0.5:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.5/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.5/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.5/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2026-08-21 13:53:00,763 - DEBUG - VM ctest-TestRoutersBasic-88305013-86654208 is NOT ready for SSH connections, VM status: ACTIVE
2026-08-21 13:53:05,764 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-21 13:53:05,765 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88305013-86654208, IP 180.186.153.3, Port 22
2026-08-21 13:53:05,930 - DEBUG - VM ctest-TestRoutersBasic-88305013-86654208 is ready for SSH connections
2026-08-21 13:53:05,930 - INFO - Waiting for VM ctest-TestRoutersBasic-88305013-06850085 to be up..
2026-08-21 13:53:06,018 - DEBUG - VM is in ACTIVE state now
2026-08-21 13:53:06,018 - INFO - VM name : ctest-TestRoutersBasic-88305013-06850085
2026-08-21 13:53:06,102 - DEBUG - VM ctest-TestRoutersBasic-88305013-06850085 ID is ab604500-ea1f-477c-8387-343c20d285d3
2026-08-21 13:53:06,102 - DEBUG - VM ctest-TestRoutersBasic-88305013-06850085 launched on Node cn-jenkins-deploy-platform-ansible-os-6203-1
2026-08-21 13:53:06,199 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/ab604500-ea1f-477c-8387-343c20d285d3
2026-08-21 13:53:06,209 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/a51274a4-103d-4ae3-85b1-f0c2f309be55
2026-08-21 13:53:07,458 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n64 bytes from 169.254.0.6: icmp_seq=1 ttl=63 time=3.83 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.487 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.487/2.157/3.828/1.670 ms')
2026-08-21 13:53:07,458 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-88305013-06850085 passed
2026-08-21 13:53:07,612 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-21 13:53:07,612 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-88305013-06850085, IP 57.159.132.4, Port 22
2026-08-21 13:53:07,781 - DEBUG - VM ctest-TestRoutersBasic-88305013-06850085 is ready for SSH connections
2026-08-21 13:53:07,782 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-08-21 13:53:07,782 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 57.159.132.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123
2026-08-21 13:53:07,782 - DEBUG - ping -s 56 -c 3 -W 1 57.159.132.4
2026-08-21 13:53:10,817 - DEBUG - PING 57.159.132.4 (57.159.132.4): 56 data bytes
64 bytes from 57.159.132.4: seq=0 ttl=62 time=5.197 ms
64 bytes from 57.159.132.4: seq=1 ttl=62 time=1.188 ms
64 bytes from 57.159.132.4: seq=2 ttl=62 time=1.204 ms
--- 57.159.132.4 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.188/2.529/5.197 ms
2026-08-21 13:53:10,817 - INFO - Ping to IP 57.159.132.4 from VM ctest-TestRoutersBasic-88305013-86654208 passed
2026-08-21 13:53:10,818 - INFO - Deleting interface with subnet_id 067256c9-905f-40b3-8159-f2d543c0683d, port_id None from router dcacc33e-807e-4cd4-86d5-263618483662
2026-08-21 13:53:11,043 - INFO - Deleting VM ctest-TestRoutersBasic-88305013-06850085
2026-08-21 13:53:11,149 - INFO - Deleting VM ctest-TestRoutersBasic-88305013-86654208
2026-08-21 13:53:11,231 - INFO - Deleting VN ctest-ext_vn-14601618
2026-08-21 13:53:11,316 - DEBUG - VN fd56f2b3-c691-4ef8-a83c-2ec8ed309a4a still in use: Unable to complete operation on network fd56f2b3-c691-4ef8-a83c-2ec8ed309a4a. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-21f155ef-103a-45c9-9f82-b1e74e6ca40a']
2026-08-21 13:53:11,316 - WARNING - Deleting VN ctest-ext_vn-14601618 failed..Will retry
2026-08-21 13:53:13,536 - DEBUG - Response for deleting network ()
2026-08-21 13:53:13,537 - INFO - Deleting VN ctest-vn-08509937
2026-08-21 13:53:13,680 - DEBUG - Response for deleting network ()
2026-08-21 13:53:13,954 - DEBUG - No XMPP flaps were noticed during the test
2026-08-21 13:53:13,954 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:04]
2026-08-21 13:53:13,954 - INFO - --------------------------------------------------------------------------------
2026-08-21 13:53:15,235 - INFO - Deleted project: ctest-TestRoutersBasic-88305013, ID : 1691514c-8557-4d5d-b50b-97bff912bfc5