2026-08-24 10:51:26,855 - INFO - Domain Default found not creating 2026-08-24 10:51:27,032 - INFO - Project ctest-TestRoutersBasic-29439458 not found, creating it 2026-08-24 10:51:27,558 - INFO - Created Project:ctest-TestRoutersBasic-29439458, ID : 2b77d689-63b5-49c2-85d4-818058dc4da4 2026-08-24 10:51:29,146 - INFO - ================================================================================ 2026-08-24 10:51:29,147 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-24 10:51:29,147 - 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-24 10:51:29,417 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.17': '0'}} with 2026-08-24 10:51:29,417 - INFO - Initial checks done. Running the testcase now 2026-08-24 10:51:29,417 - INFO - 2026-08-24 10:51:30,250 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-29439458 2026-08-24 10:51:30,351 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-29439458 2026-08-24 10:51:30,686 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29439458', 'default']} 2026-08-24 10:51:31,004 - DEBUG - Response for create_network : {'network': {'id': 'b80ce474-8a86-41b8-af7d-03f2737624b5', 'name': 'ctest-vn-36444632', 'tenant_id': '2b77d68963b549c285d4818058dc4da4', 'project_id': '2b77d68963b549c285d4818058dc4da4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29439458', 'ctest-vn-36444632'], 'port_security_enabled': True, 'description': ''}} 2026-08-24 10:51:31,205 - DEBUG - Response for create_subnet : {'subnet': {'id': '078be38e-faac-48e7-a0c0-e4df734dba2e', 'name': '', 'tenant_id': '2b77d68963b549c285d4818058dc4da4', 'network_id': 'b80ce474-8a86-41b8-af7d-03f2737624b5', 'ip_version': 4, 'cidr': '197.24.144.64/26', 'allocation_pools': [{'start': '197.24.144.66', 'end': '197.24.144.126'}], 'gateway_ip': '197.24.144.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '197.24.144.66', 'tags': [], 'project_id': '2b77d68963b549c285d4818058dc4da4'}} 2026-08-24 10:51:31,223 - INFO - Created VN ctest-vn-36444632 2026-08-24 10:51:31,278 - DEBUG - VN ctest-vn-36444632 UUID is b80ce474-8a86-41b8-af7d-03f2737624b5 2026-08-24 10:51:31,642 - DEBUG - Response for create_network : {'network': {'id': 'c2a3c058-cef0-488b-ae31-dd7f7c717f93', 'name': 'ctest-ext_vn-40754390', 'tenant_id': '2b77d68963b549c285d4818058dc4da4', 'project_id': '2b77d68963b549c285d4818058dc4da4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-29439458', 'ctest-ext_vn-40754390'], 'port_security_enabled': True, 'description': ''}} 2026-08-24 10:51:31,880 - DEBUG - Response for create_subnet : {'subnet': {'id': '0816c4ec-09a0-4cef-b8e2-13014c1329f4', 'name': '', 'tenant_id': '2b77d68963b549c285d4818058dc4da4', 'network_id': 'c2a3c058-cef0-488b-ae31-dd7f7c717f93', 'ip_version': 4, 'cidr': '37.25.120.128/26', 'allocation_pools': [{'start': '37.25.120.130', 'end': '37.25.120.190'}], 'gateway_ip': '37.25.120.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.25.120.130', 'tags': [], 'project_id': '2b77d68963b549c285d4818058dc4da4'}} 2026-08-24 10:51:31,902 - INFO - Created VN ctest-ext_vn-40754390 2026-08-24 10:51:31,959 - DEBUG - VN ctest-ext_vn-40754390 UUID is c2a3c058-cef0-488b-ae31-dd7f7c717f93 2026-08-24 10:51:32,183 - DEBUG - Services list from nova: [, , ] 2026-08-24 10:51:32,567 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6213-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6213-1) 2026-08-24 10:51:32,953 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6213-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6213-1) 2026-08-24 10:51:33,035 - INFO - Setting gateway for router b0e2cbaf-120c-4a9c-b008-5b56eac51c37 to network c2a3c058-cef0-488b-ae31-dd7f7c717f93 2026-08-24 10:51:33,096 - INFO - Adding interface with subnet_id 078be38e-faac-48e7-a0c0-e4df734dba2e, port_id None to router b0e2cbaf-120c-4a9c-b008-5b56eac51c37 2026-08-24 10:51:33,383 - INFO - Waiting for VM ctest-TestRoutersBasic-29439458-18060015 to be up.. 2026-08-24 10:51:33,461 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 10:51:38,553 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 10:51:43,639 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 10:51:48,716 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 10:51:53,862 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 10:51:58,948 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 10:52:04,034 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-24 10:52:09,141 - DEBUG - VM is in ACTIVE state now 2026-08-24 10:52:09,141 - INFO - VM name : ctest-TestRoutersBasic-29439458-18060015 2026-08-24 10:52:09,249 - DEBUG - VM ctest-TestRoutersBasic-29439458-18060015 ID is 22d564fe-d60d-43c3-8465-a847cf0e02eb 2026-08-24 10:52:09,282 - DEBUG - VM ctest-TestRoutersBasic-29439458-18060015 launched on Node cn-jenkins-deploy-platform-ansible-os-6213-1 2026-08-24 10:52:09,380 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/22d564fe-d60d-43c3-8465-a847cf0e02eb 2026-08-24 10:52:09,856 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/22d564fe-d60d-43c3-8465-a847cf0e02eb 2026-08-24 10:52:09,911 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/90308180-aeaf-418e-8eed-c264a9f60b26 2026-08-24 10:52:13,168 - 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 1009ms') 2026-08-24 10:52:13,168 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-29439458-18060015 failed! 2026-08-24 10:52:13,227 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-29439458:ctest-vn-36444632 is 197.24.144.65 and allocation pool is NOT set 2026-08-24 10:52:15,291 - 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=6.12 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=3.30 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 = 3.298/4.707/6.117/1.409 ms') 2026-08-24 10:52:15,291 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-29439458-18060015 passed 2026-08-24 10:52:15,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 10:52:15,447 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29439458-18060015, IP 197.24.144.67, Port 22 2026-08-24 10:52:15,514 - 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-24 10:52:15,615 - DEBUG - VM ctest-TestRoutersBasic-29439458-18060015 is NOT ready for SSH connections, VM status: ACTIVE 2026-08-24 10:52:20,616 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 10:52:20,616 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29439458-18060015, IP 197.24.144.67, Port 22 2026-08-24 10:52:20,793 - DEBUG - VM ctest-TestRoutersBasic-29439458-18060015 is ready for SSH connections 2026-08-24 10:52:20,793 - INFO - Waiting for VM ctest-TestRoutersBasic-29439458-13876626 to be up.. 2026-08-24 10:52:20,872 - DEBUG - VM is in ACTIVE state now 2026-08-24 10:52:20,872 - INFO - VM name : ctest-TestRoutersBasic-29439458-13876626 2026-08-24 10:52:20,945 - DEBUG - VM ctest-TestRoutersBasic-29439458-13876626 ID is 275b6421-c1d6-473d-88d0-3c3e0e6c8717 2026-08-24 10:52:20,945 - DEBUG - VM ctest-TestRoutersBasic-29439458-13876626 launched on Node cn-jenkins-deploy-platform-ansible-os-6213-1 2026-08-24 10:52:21,034 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine/275b6421-c1d6-473d-88d0-3c3e0e6c8717 2026-08-24 10:52:21,043 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-machine-interface/3d4aaf44-6ab6-4136-9048-efbf5efb7848 2026-08-24 10:52:22,290 - 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=6.27 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=1.18 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 = 1.176/3.723/6.270/2.547 ms') 2026-08-24 10:52:22,290 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-29439458-13876626 passed 2026-08-24 10:52:22,438 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 10:52:22,439 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-29439458-13876626, IP 37.25.120.132, Port 22 2026-08-24 10:52:22,598 - DEBUG - VM ctest-TestRoutersBasic-29439458-13876626 is ready for SSH connections 2026-08-24 10:52:22,598 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-24 10:52:22,598 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 37.25.120.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.185, gateway password: c0ntrail123 2026-08-24 10:52:22,598 - DEBUG - ping -s 56 -c 3 -W 1 37.25.120.132 2026-08-24 10:52:25,569 - DEBUG - PING 37.25.120.132 (37.25.120.132): 56 data bytes 64 bytes from 37.25.120.132: seq=0 ttl=62 time=8.427 ms 64 bytes from 37.25.120.132: seq=1 ttl=62 time=1.154 ms 64 bytes from 37.25.120.132: seq=2 ttl=62 time=1.428 ms --- 37.25.120.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.154/3.669/8.427 ms 2026-08-24 10:52:25,569 - INFO - Ping to IP 37.25.120.132 from VM ctest-TestRoutersBasic-29439458-18060015 passed 2026-08-24 10:52:25,569 - INFO - Deleting interface with subnet_id 078be38e-faac-48e7-a0c0-e4df734dba2e, port_id None from router b0e2cbaf-120c-4a9c-b008-5b56eac51c37 2026-08-24 10:52:25,827 - INFO - Deleting VM ctest-TestRoutersBasic-29439458-13876626 2026-08-24 10:52:25,919 - INFO - Deleting VM ctest-TestRoutersBasic-29439458-18060015 2026-08-24 10:52:26,008 - INFO - Deleting VN ctest-ext_vn-40754390 2026-08-24 10:52:26,140 - DEBUG - VN c2a3c058-cef0-488b-ae31-dd7f7c717f93 still in use: Unable to complete operation on network c2a3c058-cef0-488b-ae31-dd7f7c717f93. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-fc3906c6-8cc7-47e4-bb1a-46ebbf9700b3'] 2026-08-24 10:52:26,141 - WARNING - Deleting VN ctest-ext_vn-40754390 failed..Will retry 2026-08-24 10:52:28,278 - DEBUG - Response for deleting network () 2026-08-24 10:52:28,278 - INFO - Deleting VN ctest-vn-36444632 2026-08-24 10:52:28,399 - DEBUG - Response for deleting network () 2026-08-24 10:52:28,669 - DEBUG - No XMPP flaps were noticed during the test 2026-08-24 10:52:28,669 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:59] 2026-08-24 10:52:28,669 - INFO - -------------------------------------------------------------------------------- 2026-08-24 10:52:29,434 - INFO - Deleted project: ctest-TestRoutersBasic-29439458, ID : 2b77d689-63b5-49c2-85d4-818058dc4da4