2026-10-26 15:05:47,728 - INFO - Domain Default found not creating 2026-10-26 15:05:48,078 - INFO - Project ctest-TestRoutersBasic-97751041 not found, creating it 2026-10-26 15:05:48,826 - INFO - Created Project:ctest-TestRoutersBasic-97751041, ID : 0714bbbd-e05a-4168-aee1-afd40b67fdcc 2026-10-26 15:05:51,329 - INFO - ================================================================================ 2026-10-26 15:05:51,329 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-26 15:05:51,329 - 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-26 15:05:51,622 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-10-26 15:05:51,622 - INFO - Initial checks done. Running the testcase now 2026-10-26 15:05:51,622 - INFO - 2026-10-26 15:05:52,662 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-97751041 2026-10-26 15:05:52,767 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-97751041 2026-10-26 15:05:53,130 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97751041', 'default']} 2026-10-26 15:05:53,597 - DEBUG - Response for create_network : {'network': {'id': 'cb896b5b-9da5-4538-947e-a23fb8a232f2', 'name': 'ctest-vn-83027202', 'tenant_id': '0714bbbde05a4168aee1afd40b67fdcc', 'project_id': '0714bbbde05a4168aee1afd40b67fdcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97751041', 'ctest-vn-83027202'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 15:05:53,861 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bcbb406d-578d-4807-9744-a3ade4d9a0f9', 'name': '', 'tenant_id': '0714bbbde05a4168aee1afd40b67fdcc', 'network_id': 'cb896b5b-9da5-4538-947e-a23fb8a232f2', 'ip_version': 4, 'cidr': '54.247.173.192/26', 'allocation_pools': [{'start': '54.247.173.194', 'end': '54.247.173.254'}], 'gateway_ip': '54.247.173.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '54.247.173.194', 'tags': [], 'project_id': '0714bbbde05a4168aee1afd40b67fdcc'}} 2026-10-26 15:05:53,883 - INFO - Created VN ctest-vn-83027202 2026-10-26 15:05:53,938 - DEBUG - VN ctest-vn-83027202 UUID is cb896b5b-9da5-4538-947e-a23fb8a232f2 2026-10-26 15:05:54,362 - DEBUG - Response for create_network : {'network': {'id': 'df7b80c0-1d56-429c-badf-253b843a2bc4', 'name': 'ctest-ext_vn-66592363', 'tenant_id': '0714bbbde05a4168aee1afd40b67fdcc', 'project_id': '0714bbbde05a4168aee1afd40b67fdcc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-97751041', 'ctest-ext_vn-66592363'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 15:05:54,610 - DEBUG - Response for create_subnet : {'subnet': {'id': '0198ee2e-2f46-41ab-a465-0066a426db3d', 'name': '', 'tenant_id': '0714bbbde05a4168aee1afd40b67fdcc', 'network_id': 'df7b80c0-1d56-429c-badf-253b843a2bc4', 'ip_version': 4, 'cidr': '158.65.80.128/26', 'allocation_pools': [{'start': '158.65.80.130', 'end': '158.65.80.190'}], 'gateway_ip': '158.65.80.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.65.80.130', 'tags': [], 'project_id': '0714bbbde05a4168aee1afd40b67fdcc'}} 2026-10-26 15:05:54,634 - INFO - Created VN ctest-ext_vn-66592363 2026-10-26 15:05:54,690 - DEBUG - VN ctest-ext_vn-66592363 UUID is df7b80c0-1d56-429c-badf-253b843a2bc4 2026-10-26 15:05:54,904 - DEBUG - Services list from nova: [, , ] 2026-10-26 15:05:55,543 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6413-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6413-1) 2026-10-26 15:05:56,510 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6413-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6413-1) 2026-10-26 15:05:56,609 - INFO - Setting gateway for router 74aec8c9-493e-408e-8bca-045cc79d1111 to network df7b80c0-1d56-429c-badf-253b843a2bc4 2026-10-26 15:05:56,705 - INFO - Adding interface with subnet_id bcbb406d-578d-4807-9744-a3ade4d9a0f9, port_id None to router 74aec8c9-493e-408e-8bca-045cc79d1111 2026-10-26 15:05:57,118 - INFO - Waiting for VM ctest-TestRoutersBasic-97751041-63649511 to be up.. 2026-10-26 15:05:57,197 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:06:02,325 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:06:07,450 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:06:12,587 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:06:17,716 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:06:22,839 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:06:28,007 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:06:33,134 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:06:38,273 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:06:43,421 - DEBUG - VM is in ACTIVE state now 2026-10-26 15:06:43,421 - INFO - VM name : ctest-TestRoutersBasic-97751041-63649511 2026-10-26 15:06:43,560 - DEBUG - VM ctest-TestRoutersBasic-97751041-63649511 ID is ce2acd44-1c9e-4173-ab9b-6ede5bb61186 2026-10-26 15:06:43,593 - DEBUG - VM ctest-TestRoutersBasic-97751041-63649511 launched on Node cn-jenkins-deploy-platform-ansible-os-6413-1 2026-10-26 15:06:43,743 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/ce2acd44-1c9e-4173-ab9b-6ede5bb61186 2026-10-26 15:06:44,196 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/ce2acd44-1c9e-4173-ab9b-6ede5bb61186 2026-10-26 15:06:44,685 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/fb294b58-f269-4e80-87c5-35b47227b686 2026-10-26 15:06:48,001 - 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 1018ms') 2026-10-26 15:06:48,001 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-97751041-63649511 failed! 2026-10-26 15:06:48,067 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-97751041:ctest-vn-83027202 is 54.247.173.193 and allocation pool is NOT set 2026-10-26 15:06:52,155 - 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=2 ttl=63 time=10.9 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1019ms\r\nrtt min/avg/max/mdev = 10.851/10.851/10.851/0.000 ms') 2026-10-26 15:06:52,156 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-97751041-63649511 passed 2026-10-26 15:06:52,314 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:06:52,314 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97751041-63649511, IP 54.247.173.195, Port 22 2026-10-26 15:06:52,386 - 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-26 15:06:52,504 - DEBUG - VM ctest-TestRoutersBasic-97751041-63649511 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-26 15:06:57,505 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:06:57,505 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97751041-63649511, IP 54.247.173.195, Port 22 2026-10-26 15:06:57,686 - DEBUG - VM ctest-TestRoutersBasic-97751041-63649511 is ready for SSH connections 2026-10-26 15:06:57,687 - INFO - Waiting for VM ctest-TestRoutersBasic-97751041-22866425 to be up.. 2026-10-26 15:06:57,809 - DEBUG - VM is in ACTIVE state now 2026-10-26 15:06:57,809 - INFO - VM name : ctest-TestRoutersBasic-97751041-22866425 2026-10-26 15:06:57,938 - DEBUG - VM ctest-TestRoutersBasic-97751041-22866425 ID is de339cc5-439c-4d94-878a-14d3a281d0d8 2026-10-26 15:06:57,938 - DEBUG - VM ctest-TestRoutersBasic-97751041-22866425 launched on Node cn-jenkins-deploy-platform-ansible-os-6413-1 2026-10-26 15:06:58,057 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/de339cc5-439c-4d94-878a-14d3a281d0d8 2026-10-26 15:06:58,072 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/c990526d-3451-4969-a578-6fb88c8b7da9 2026-10-26 15:06:59,371 - 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=5.25 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.785 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.785/3.018/5.251/2.233 ms') 2026-10-26 15:06:59,372 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-97751041-22866425 passed 2026-10-26 15:06:59,542 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:06:59,543 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-97751041-22866425, IP 158.65.80.132, Port 22 2026-10-26 15:06:59,721 - DEBUG - VM ctest-TestRoutersBasic-97751041-22866425 is ready for SSH connections 2026-10-26 15:06:59,721 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:06:59,721 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 158.65.80.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-10-26 15:06:59,722 - DEBUG - ping -s 56 -c 3 -W 1 158.65.80.132 2026-10-26 15:07:03,288 - DEBUG - PING 158.65.80.132 (158.65.80.132): 56 data bytes 64 bytes from 158.65.80.132: seq=0 ttl=62 time=9.590 ms 64 bytes from 158.65.80.132: seq=1 ttl=62 time=1.630 ms 64 bytes from 158.65.80.132: seq=2 ttl=62 time=1.925 ms --- 158.65.80.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.630/4.381/9.590 ms 2026-10-26 15:07:03,289 - INFO - Ping to IP 158.65.80.132 from VM ctest-TestRoutersBasic-97751041-63649511 passed 2026-10-26 15:07:03,289 - INFO - Deleting interface with subnet_id bcbb406d-578d-4807-9744-a3ade4d9a0f9, port_id None from router 74aec8c9-493e-408e-8bca-045cc79d1111 2026-10-26 15:07:03,627 - INFO - Deleting VM ctest-TestRoutersBasic-97751041-22866425 2026-10-26 15:07:03,764 - INFO - Deleting VM ctest-TestRoutersBasic-97751041-63649511 2026-10-26 15:07:03,873 - INFO - Deleting VN ctest-ext_vn-66592363 2026-10-26 15:07:04,000 - DEBUG - VN df7b80c0-1d56-429c-badf-253b843a2bc4 still in use: Unable to complete operation on network df7b80c0-1d56-429c-badf-253b843a2bc4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-194160fe-75ba-40c0-9b99-6450bc546009'] 2026-10-26 15:07:04,001 - WARNING - Deleting VN ctest-ext_vn-66592363 failed..Will retry 2026-10-26 15:07:06,043 - DEBUG - VN df7b80c0-1d56-429c-badf-253b843a2bc4 still in use: Unable to complete operation on network df7b80c0-1d56-429c-badf-253b843a2bc4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e55afae3-2b19-42b5-872b-2f018cfe4b36'] 2026-10-26 15:07:06,043 - WARNING - Deleting VN ctest-ext_vn-66592363 failed..Will retry 2026-10-26 15:07:08,184 - DEBUG - Response for deleting network () 2026-10-26 15:07:08,185 - INFO - Deleting VN ctest-vn-83027202 2026-10-26 15:07:08,364 - DEBUG - Response for deleting network () 2026-10-26 15:07:08,649 - DEBUG - No XMPP flaps were noticed during the test
2026-10-26 15:07:08,649 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:17]
2026-10-26 15:07:08,649 - INFO - -------------------------------------------------------------------------------- 2026-10-26 15:07:09,597 - INFO - Deleted project: ctest-TestRoutersBasic-97751041, ID : 0714bbbd-e05a-4168-aee1-afd40b67fdcc