2026-10-06 15:05:27,046 - INFO - Domain Default found not creating 2026-10-06 15:05:27,206 - INFO - Project ctest-TestRoutersBasic-22320861 not found, creating it 2026-10-06 15:05:27,696 - INFO - Created Project:ctest-TestRoutersBasic-22320861, ID : a078bc7a-cf1b-4880-9134-306672dd6cb5 2026-10-06 15:05:29,535 - INFO - ================================================================================ 2026-10-06 15:05:29,535 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-06 15:05:29,535 - 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-10-06 15:05:29,794 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-10-06 15:05:29,794 - INFO - Initial checks done. Running the testcase now 2026-10-06 15:05:29,794 - INFO - 2026-10-06 15:05:30,642 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-22320861 2026-10-06 15:05:30,739 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-22320861 2026-10-06 15:05:31,063 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22320861', 'default']} 2026-10-06 15:05:31,358 - DEBUG - Response for create_network : {'network': {'id': '2455b9cb-65af-4cac-8ee1-f1b7ede07f3f', 'name': 'ctest-vn-18229679', 'tenant_id': 'a078bc7acf1b48809134306672dd6cb5', 'project_id': 'a078bc7acf1b48809134306672dd6cb5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22320861', 'ctest-vn-18229679'], 'port_security_enabled': True, 'description': ''}} 2026-10-06 15:05:31,578 - DEBUG - Response for create_subnet : {'subnet': {'id': '7c90c05b-3b62-46e8-960f-339840cb140a', 'name': '', 'tenant_id': 'a078bc7acf1b48809134306672dd6cb5', 'network_id': '2455b9cb-65af-4cac-8ee1-f1b7ede07f3f', 'ip_version': 4, 'cidr': '32.208.184.0/26', 'allocation_pools': [{'start': '32.208.184.2', 'end': '32.208.184.62'}], 'gateway_ip': '32.208.184.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.208.184.2', 'tags': [], 'project_id': 'a078bc7acf1b48809134306672dd6cb5'}} 2026-10-06 15:05:31,596 - INFO - Created VN ctest-vn-18229679 2026-10-06 15:05:31,647 - DEBUG - VN ctest-vn-18229679 UUID is 2455b9cb-65af-4cac-8ee1-f1b7ede07f3f 2026-10-06 15:05:32,008 - DEBUG - Response for create_network : {'network': {'id': 'b9135fdd-6767-4777-b1b9-66c0d824d306', 'name': 'ctest-ext_vn-81917008', 'tenant_id': 'a078bc7acf1b48809134306672dd6cb5', 'project_id': 'a078bc7acf1b48809134306672dd6cb5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-22320861', 'ctest-ext_vn-81917008'], 'port_security_enabled': True, 'description': ''}} 2026-10-06 15:05:32,247 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dd66821c-8519-4192-8b7a-2d7a31442662', 'name': '', 'tenant_id': 'a078bc7acf1b48809134306672dd6cb5', 'network_id': 'b9135fdd-6767-4777-b1b9-66c0d824d306', 'ip_version': 4, 'cidr': '186.159.180.0/26', 'allocation_pools': [{'start': '186.159.180.2', 'end': '186.159.180.62'}], 'gateway_ip': '186.159.180.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.159.180.2', 'tags': [], 'project_id': 'a078bc7acf1b48809134306672dd6cb5'}} 2026-10-06 15:05:32,264 - INFO - Created VN ctest-ext_vn-81917008 2026-10-06 15:05:32,319 - DEBUG - VN ctest-ext_vn-81917008 UUID is b9135fdd-6767-4777-b1b9-66c0d824d306 2026-10-06 15:05:32,542 - DEBUG - Services list from nova: [, , ] 2026-10-06 15:05:32,876 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6352-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6352-1) 2026-10-06 15:05:33,276 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6352-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6352-1) 2026-10-06 15:05:33,342 - INFO - Setting gateway for router cf9f547b-3962-4087-9528-ba1b2e6b8079 to network b9135fdd-6767-4777-b1b9-66c0d824d306 2026-10-06 15:05:33,398 - INFO - Adding interface with subnet_id 7c90c05b-3b62-46e8-960f-339840cb140a, port_id None to router cf9f547b-3962-4087-9528-ba1b2e6b8079 2026-10-06 15:05:33,699 - INFO - Waiting for VM ctest-TestRoutersBasic-22320861-10032438 to be up.. 2026-10-06 15:05:33,781 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 15:05:38,861 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 15:05:44,000 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 15:05:49,079 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 15:05:54,161 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 15:05:59,240 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 15:06:04,314 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 15:06:09,392 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-06 15:06:14,479 - DEBUG - VM is in ACTIVE state now 2026-10-06 15:06:14,479 - INFO - VM name : ctest-TestRoutersBasic-22320861-10032438 2026-10-06 15:06:14,557 - DEBUG - VM ctest-TestRoutersBasic-22320861-10032438 ID is 5e253348-4e65-48ba-923b-3ea4689b8028 2026-10-06 15:06:14,580 - DEBUG - VM ctest-TestRoutersBasic-22320861-10032438 launched on Node cn-jenkins-deploy-platform-ansible-os-6352-1 2026-10-06 15:06:14,658 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/5e253348-4e65-48ba-923b-3ea4689b8028 2026-10-06 15:06:15,023 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/5e253348-4e65-48ba-923b-3ea4689b8028 2026-10-06 15:06:15,057 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/44197573-5bfd-4c1c-bd4d-8bed8f6ba5d4 2026-10-06 15:06:18,302 - 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 1001ms') 2026-10-06 15:06:18,302 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-22320861-10032438 failed! 2026-10-06 15:06:18,359 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-22320861:ctest-vn-18229679 is 32.208.184.1 and allocation pool is NOT set 2026-10-06 15:06:20,425 - 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=5.72 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.50 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.497/3.608/5.719/2.111 ms') 2026-10-06 15:06:20,425 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-22320861-10032438 passed 2026-10-06 15:06:20,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 15:06:20,575 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22320861-10032438, IP 32.208.184.3, Port 22 2026-10-06 15:06:20,641 - 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-10-06 15:06:20,724 - DEBUG - VM ctest-TestRoutersBasic-22320861-10032438 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-06 15:06:25,724 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 15:06:25,725 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22320861-10032438, IP 32.208.184.3, Port 22 2026-10-06 15:06:25,893 - DEBUG - VM ctest-TestRoutersBasic-22320861-10032438 is ready for SSH connections 2026-10-06 15:06:25,893 - INFO - Waiting for VM ctest-TestRoutersBasic-22320861-69137061 to be up.. 2026-10-06 15:06:25,970 - DEBUG - VM is in ACTIVE state now 2026-10-06 15:06:25,970 - INFO - VM name : ctest-TestRoutersBasic-22320861-69137061 2026-10-06 15:06:26,045 - DEBUG - VM ctest-TestRoutersBasic-22320861-69137061 ID is 319cdf2a-dad8-436f-81e1-e54fec809275 2026-10-06 15:06:26,045 - DEBUG - VM ctest-TestRoutersBasic-22320861-69137061 launched on Node cn-jenkins-deploy-platform-ansible-os-6352-1 2026-10-06 15:06:26,121 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/319cdf2a-dad8-436f-81e1-e54fec809275 2026-10-06 15:06:26,129 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/c86e52af-27cc-450b-b157-eeb017cee576 2026-10-06 15:06:27,364 - 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.55 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.468 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.468/2.011/3.554/1.543 ms') 2026-10-06 15:06:27,364 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-22320861-69137061 passed 2026-10-06 15:06:27,519 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 15:06:27,519 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-22320861-69137061, IP 186.159.180.4, Port 22 2026-10-06 15:06:27,685 - DEBUG - VM ctest-TestRoutersBasic-22320861-69137061 is ready for SSH connections 2026-10-06 15:06:27,685 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-06 15:06:27,686 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.159.180.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-06 15:06:27,686 - DEBUG - ping -s 56 -c 3 -W 1 186.159.180.4 2026-10-06 15:06:30,676 - DEBUG - PING 186.159.180.4 (186.159.180.4): 56 data bytes 64 bytes from 186.159.180.4: seq=0 ttl=62 time=8.538 ms 64 bytes from 186.159.180.4: seq=1 ttl=62 time=1.019 ms 64 bytes from 186.159.180.4: seq=2 ttl=62 time=1.200 ms --- 186.159.180.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.019/3.585/8.538 ms 2026-10-06 15:06:30,676 - INFO - Ping to IP 186.159.180.4 from VM ctest-TestRoutersBasic-22320861-10032438 passed 2026-10-06 15:06:30,676 - INFO - Deleting interface with subnet_id 7c90c05b-3b62-46e8-960f-339840cb140a, port_id None from router cf9f547b-3962-4087-9528-ba1b2e6b8079 2026-10-06 15:06:30,870 - INFO - Deleting VM ctest-TestRoutersBasic-22320861-69137061 2026-10-06 15:06:30,947 - INFO - Deleting VM ctest-TestRoutersBasic-22320861-10032438 2026-10-06 15:06:31,040 - INFO - Deleting VN ctest-ext_vn-81917008 2026-10-06 15:06:31,120 - DEBUG - VN b9135fdd-6767-4777-b1b9-66c0d824d306 still in use: Unable to complete operation on network b9135fdd-6767-4777-b1b9-66c0d824d306. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-980e61ea-393d-47d3-b8f6-169c72adb221'] 2026-10-06 15:06:31,120 - WARNING - Deleting VN ctest-ext_vn-81917008 failed..Will retry 2026-10-06 15:06:33,256 - DEBUG - Response for deleting network () 2026-10-06 15:06:33,256 - INFO - Deleting VN ctest-vn-18229679 2026-10-06 15:06:33,360 - DEBUG - Response for deleting network () 2026-10-06 15:06:33,632 - DEBUG - No XMPP flaps were noticed during the test
2026-10-06 15:06:33,632 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:04]
2026-10-06 15:06:33,632 - INFO - -------------------------------------------------------------------------------- 2026-10-06 15:06:34,412 - INFO - Deleted project: ctest-TestRoutersBasic-22320861, ID : a078bc7a-cf1b-4880-9134-306672dd6cb5