2026-06-22 11:30:25,202 - INFO - Domain Default found not creating 2026-06-22 11:30:25,370 - INFO - Project ctest-TestRoutersBasic-38519234 not found, creating it 2026-06-22 11:30:25,857 - INFO - Created Project:ctest-TestRoutersBasic-38519234, ID : 1360e3b0-cca2-4ec4-9982-4973f8383c57 2026-06-22 11:30:27,397 - INFO - ================================================================================ 2026-06-22 11:30:27,397 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-06-22 11:30:27,397 - 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-06-22 11:30:27,660 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2026-06-22 11:30:27,660 - INFO - Initial checks done. Running the testcase now 2026-06-22 11:30:27,660 - INFO - 2026-06-22 11:30:28,438 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-38519234 2026-06-22 11:30:28,535 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-38519234 2026-06-22 11:30:28,863 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38519234', 'default']} 2026-06-22 11:30:29,151 - DEBUG - Response for create_network : {'network': {'id': '2ac8c4bf-8803-43ce-8a96-e2a3860a47f3', 'name': 'ctest-vn-98424337', 'tenant_id': '1360e3b0cca24ec499824973f8383c57', 'project_id': '1360e3b0cca24ec499824973f8383c57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38519234', 'ctest-vn-98424337'], 'port_security_enabled': True, 'description': ''}} 2026-06-22 11:30:29,340 - DEBUG - Response for create_subnet : {'subnet': {'id': '6ba130f9-33ca-4ace-aa3a-95a6167819de', 'name': '', 'tenant_id': '1360e3b0cca24ec499824973f8383c57', 'network_id': '2ac8c4bf-8803-43ce-8a96-e2a3860a47f3', 'ip_version': 4, 'cidr': '4.228.229.64/26', 'allocation_pools': [{'start': '4.228.229.66', 'end': '4.228.229.126'}], 'gateway_ip': '4.228.229.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.228.229.66', 'tags': [], 'project_id': '1360e3b0cca24ec499824973f8383c57'}} 2026-06-22 11:30:29,356 - INFO - Created VN ctest-vn-98424337 2026-06-22 11:30:29,407 - DEBUG - VN ctest-vn-98424337 UUID is 2ac8c4bf-8803-43ce-8a96-e2a3860a47f3 2026-06-22 11:30:29,733 - DEBUG - Response for create_network : {'network': {'id': '036f5acb-489e-4396-b4a4-b888c429f93e', 'name': 'ctest-ext_vn-53483031', 'tenant_id': '1360e3b0cca24ec499824973f8383c57', 'project_id': '1360e3b0cca24ec499824973f8383c57', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-38519234', 'ctest-ext_vn-53483031'], 'port_security_enabled': True, 'description': ''}} 2026-06-22 11:30:29,950 - DEBUG - Response for create_subnet : {'subnet': {'id': '0d4f9ac5-f7ef-40e1-8096-551d12e6162f', 'name': '', 'tenant_id': '1360e3b0cca24ec499824973f8383c57', 'network_id': '036f5acb-489e-4396-b4a4-b888c429f93e', 'ip_version': 4, 'cidr': '180.131.237.128/26', 'allocation_pools': [{'start': '180.131.237.130', 'end': '180.131.237.190'}], 'gateway_ip': '180.131.237.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '180.131.237.130', 'tags': [], 'project_id': '1360e3b0cca24ec499824973f8383c57'}} 2026-06-22 11:30:29,967 - INFO - Created VN ctest-ext_vn-53483031 2026-06-22 11:30:30,019 - DEBUG - VN ctest-ext_vn-53483031 UUID is 036f5acb-489e-4396-b4a4-b888c429f93e 2026-06-22 11:30:30,183 - DEBUG - Services list from nova: [, , ] 2026-06-22 11:30:31,366 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6020-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6020-1) 2026-06-22 11:30:32,506 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6020-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6020-1) 2026-06-22 11:30:32,571 - INFO - Setting gateway for router b74ecdde-da7c-480c-8f44-de448a6c21f4 to network 036f5acb-489e-4396-b4a4-b888c429f93e 2026-06-22 11:30:32,619 - INFO - Adding interface with subnet_id 6ba130f9-33ca-4ace-aa3a-95a6167819de, port_id None to router b74ecdde-da7c-480c-8f44-de448a6c21f4 2026-06-22 11:30:32,866 - INFO - Waiting for VM ctest-TestRoutersBasic-38519234-49819925 to be up.. 2026-06-22 11:30:32,923 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 11:30:38,030 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-06-22 11:30:43,115 - DEBUG - VM is in ACTIVE state now 2026-06-22 11:30:43,115 - INFO - VM name : ctest-TestRoutersBasic-38519234-49819925 2026-06-22 11:30:43,198 - DEBUG - VM ctest-TestRoutersBasic-38519234-49819925 ID is 88403833-4cfc-4165-af57-34adf1890e6a 2026-06-22 11:30:43,217 - DEBUG - VM ctest-TestRoutersBasic-38519234-49819925 launched on Node cn-jenkins-deploy-platform-ansible-os-6020-1 2026-06-22 11:30:43,318 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/88403833-4cfc-4165-af57-34adf1890e6a 2026-06-22 11:30:43,642 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/88403833-4cfc-4165-af57-34adf1890e6a 2026-06-22 11:30:43,677 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/452a326f-b6bd-43d0-9054-a35cbe457400 2026-06-22 11:30:46,948 - 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 1024ms') 2026-06-22 11:30:46,948 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-38519234-49819925 failed! 2026-06-22 11:30:47,019 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-38519234:ctest-vn-98424337 is 4.228.229.65 and allocation pool is NOT set 2026-06-22 11:30:49,085 - 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.90 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.901/3.812/5.723/1.911 ms') 2026-06-22 11:30:49,085 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-38519234-49819925 passed 2026-06-22 11:30:49,239 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 11:30:49,239 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38519234-49819925, IP 4.228.229.67, Port 22 2026-06-22 11:30:49,305 - 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-06-22 11:30:49,389 - DEBUG - VM ctest-TestRoutersBasic-38519234-49819925 is NOT ready for SSH connections, VM status: ACTIVE 2026-06-22 11:30:54,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 11:30:54,389 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38519234-49819925, IP 4.228.229.67, Port 22 2026-06-22 11:30:54,551 - DEBUG - VM ctest-TestRoutersBasic-38519234-49819925 is ready for SSH connections 2026-06-22 11:30:54,551 - INFO - Waiting for VM ctest-TestRoutersBasic-38519234-98871140 to be up.. 2026-06-22 11:30:54,636 - DEBUG - VM is in ACTIVE state now 2026-06-22 11:30:54,636 - INFO - VM name : ctest-TestRoutersBasic-38519234-98871140 2026-06-22 11:30:54,710 - DEBUG - VM ctest-TestRoutersBasic-38519234-98871140 ID is be0698d6-5c3e-46dd-b39f-90534c8ee943 2026-06-22 11:30:54,710 - DEBUG - VM ctest-TestRoutersBasic-38519234-98871140 launched on Node cn-jenkins-deploy-platform-ansible-os-6020-1 2026-06-22 11:30:54,787 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/be0698d6-5c3e-46dd-b39f-90534c8ee943 2026-06-22 11:30:54,796 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/f41f49df-a320-4d1e-9451-f8ec3fc03ff8 2026-06-22 11:30:56,035 - 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=4.12 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.508 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.508/2.313/4.119/1.805 ms') 2026-06-22 11:30:56,035 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-38519234-98871140 passed 2026-06-22 11:30:56,187 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 11:30:56,187 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-38519234-98871140, IP 180.131.237.132, Port 22 2026-06-22 11:30:56,347 - DEBUG - VM ctest-TestRoutersBasic-38519234-98871140 is ready for SSH connections 2026-06-22 11:30:56,347 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-06-22 11:30:56,347 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 180.131.237.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-06-22 11:30:56,347 - DEBUG - ping -s 56 -c 3 -W 1 180.131.237.132 2026-06-22 11:30:58,971 - DEBUG - PING 180.131.237.132 (180.131.237.132): 56 data bytes 64 bytes from 180.131.237.132: seq=0 ttl=62 time=6.906 ms 64 bytes from 180.131.237.132: seq=1 ttl=62 time=0.883 ms 64 bytes from 180.131.237.132: seq=2 ttl=62 time=1.105 ms --- 180.131.237.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.883/2.964/6.906 ms 2026-06-22 11:30:58,971 - INFO - Ping to IP 180.131.237.132 from VM ctest-TestRoutersBasic-38519234-49819925 passed 2026-06-22 11:30:58,971 - INFO - Deleting interface with subnet_id 6ba130f9-33ca-4ace-aa3a-95a6167819de, port_id None from router b74ecdde-da7c-480c-8f44-de448a6c21f4 2026-06-22 11:30:59,171 - INFO - Deleting VM ctest-TestRoutersBasic-38519234-98871140 2026-06-22 11:30:59,246 - INFO - Deleting VM ctest-TestRoutersBasic-38519234-49819925 2026-06-22 11:30:59,330 - INFO - Deleting VN ctest-ext_vn-53483031 2026-06-22 11:30:59,393 - DEBUG - VN 036f5acb-489e-4396-b4a4-b888c429f93e still in use: Unable to complete operation on network 036f5acb-489e-4396-b4a4-b888c429f93e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2542e7bc-2c4d-4367-b58f-22d161cbe9c6'] 2026-06-22 11:30:59,394 - WARNING - Deleting VN ctest-ext_vn-53483031 failed..Will retry 2026-06-22 11:31:01,545 - DEBUG - Response for deleting network () 2026-06-22 11:31:01,545 - INFO - Deleting VN ctest-vn-98424337 2026-06-22 11:31:01,644 - DEBUG - Response for deleting network () 2026-06-22 11:31:01,914 - DEBUG - No XMPP flaps were noticed during the test 2026-06-22 11:31:01,914 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:34] 2026-06-22 11:31:01,914 - INFO - -------------------------------------------------------------------------------- 2026-06-22 11:31:02,645 - INFO - Deleted project: ctest-TestRoutersBasic-38519234, ID : 1360e3b0-cca2-4ec4-9982-4973f8383c57