2026-11-06 21:10:08,302 - INFO - Domain Default found not creating
2026-11-06 21:10:08,553 - INFO - Project ctest-TestRoutersBasic-19198024 not found, creating it
2026-11-06 21:10:09,147 - INFO - Created Project:ctest-TestRoutersBasic-19198024, ID : 1e93619e-03af-471e-aeb5-f04897faf8be
2026-11-06 21:10:11,174 - INFO - ================================================================================
2026-11-06 21:10:11,174 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2026-11-06 21:10:11,174 - 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-11-06 21:10:11,454 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.17': '0'}} with
2026-11-06 21:10:11,454 - INFO - Initial checks done. Running the testcase now
2026-11-06 21:10:11,454 - INFO -
2026-11-06 21:10:12,418 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-19198024
2026-11-06 21:10:12,520 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-19198024
2026-11-06 21:10:12,856 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19198024', 'default']}
2026-11-06 21:10:13,202 - DEBUG - Response for create_network : {'network': {'id': 'a47cdbb4-cdf6-4ced-9c1f-8c48be3aad13', 'name': 'ctest-vn-72601837', 'tenant_id': '1e93619e03af471eaeb5f04897faf8be', 'project_id': '1e93619e03af471eaeb5f04897faf8be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19198024', 'ctest-vn-72601837'], 'port_security_enabled': True, 'description': ''}}
2026-11-06 21:10:13,456 - DEBUG - Response for create_subnet : {'subnet': {'id': '882a1ce4-8db4-4fda-8dce-689a0e1bba9a', 'name': '', 'tenant_id': '1e93619e03af471eaeb5f04897faf8be', 'network_id': 'a47cdbb4-cdf6-4ced-9c1f-8c48be3aad13', 'ip_version': 4, 'cidr': '31.64.85.64/26', 'allocation_pools': [{'start': '31.64.85.66', 'end': '31.64.85.126'}], 'gateway_ip': '31.64.85.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.64.85.66', 'tags': [], 'project_id': '1e93619e03af471eaeb5f04897faf8be'}}
2026-11-06 21:10:13,480 - INFO - Created VN ctest-vn-72601837
2026-11-06 21:10:13,536 - DEBUG - VN ctest-vn-72601837 UUID is a47cdbb4-cdf6-4ced-9c1f-8c48be3aad13
2026-11-06 21:10:13,926 - DEBUG - Response for create_network : {'network': {'id': 'c2a5d365-377b-4c9e-9cb7-503b85b28b33', 'name': 'ctest-ext_vn-07896768', 'tenant_id': '1e93619e03af471eaeb5f04897faf8be', 'project_id': '1e93619e03af471eaeb5f04897faf8be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-19198024', 'ctest-ext_vn-07896768'], 'port_security_enabled': True, 'description': ''}}
2026-11-06 21:10:14,157 - DEBUG - Response for create_subnet : {'subnet': {'id': '2effa1cc-b684-468c-97b5-ab3f41276d3d', 'name': '', 'tenant_id': '1e93619e03af471eaeb5f04897faf8be', 'network_id': 'c2a5d365-377b-4c9e-9cb7-503b85b28b33', 'ip_version': 4, 'cidr': '118.94.93.192/26', 'allocation_pools': [{'start': '118.94.93.194', 'end': '118.94.93.254'}], 'gateway_ip': '118.94.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '118.94.93.194', 'tags': [], 'project_id': '1e93619e03af471eaeb5f04897faf8be'}}
2026-11-06 21:10:14,178 - INFO - Created VN ctest-ext_vn-07896768
2026-11-06 21:10:14,236 - DEBUG - VN ctest-ext_vn-07896768 UUID is c2a5d365-377b-4c9e-9cb7-503b85b28b33
2026-11-06 21:10:14,436 - DEBUG - Services list from nova: [, , ]
2026-11-06 21:10:15,147 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6492-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6492-1)
2026-11-06 21:10:15,689 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6492-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6492-1)
2026-11-06 21:10:15,801 - INFO - Setting gateway for router 4744a9ec-68c5-45c7-a8cd-1a68f6f2ae4a to network c2a5d365-377b-4c9e-9cb7-503b85b28b33
2026-11-06 21:10:15,893 - INFO - Adding interface with subnet_id 882a1ce4-8db4-4fda-8dce-689a0e1bba9a, port_id None to router 4744a9ec-68c5-45c7-a8cd-1a68f6f2ae4a
2026-11-06 21:10:16,242 - INFO - Waiting for VM ctest-TestRoutersBasic-19198024-31630186 to be up..
2026-11-06 21:10:16,320 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-06 21:10:21,426 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-06 21:10:26,531 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-06 21:10:31,639 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-06 21:10:36,749 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-06 21:10:41,846 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-06 21:10:46,964 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-06 21:10:52,064 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-06 21:10:57,189 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2026-11-06 21:11:02,329 - DEBUG - VM is in ACTIVE state now
2026-11-06 21:11:02,330 - INFO - VM name : ctest-TestRoutersBasic-19198024-31630186
2026-11-06 21:11:02,462 - DEBUG - VM ctest-TestRoutersBasic-19198024-31630186 ID is 963b2952-d3fe-45a0-96e4-53a21928ca96
2026-11-06 21:11:02,498 - DEBUG - VM ctest-TestRoutersBasic-19198024-31630186 launched on Node cn-jenkins-deploy-platform-ansible-os-6492-1
2026-11-06 21:11:02,626 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/963b2952-d3fe-45a0-96e4-53a21928ca96
2026-11-06 21:11:03,064 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/963b2952-d3fe-45a0-96e4-53a21928ca96
2026-11-06 21:11:03,109 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/baf95557-8fea-4199-864f-285a1edbb977
2026-11-06 21:11:06,385 - 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 1003ms')
2026-11-06 21:11:06,385 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-19198024-31630186 failed!
2026-11-06 21:11:06,444 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-19198024:ctest-vn-72601837 is 31.64.85.65 and allocation pool is NOT set
2026-11-06 21:11:08,519 - 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=13.1 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.98 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.975/7.556/13.137/5.581 ms')
2026-11-06 21:11:08,519 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-19198024-31630186 passed
2026-11-06 21:11:08,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-06 21:11:08,676 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19198024-31630186, IP 31.64.85.67, Port 22
2026-11-06 21:11:08,743 - 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-11-06 21:11:08,936 - DEBUG - VM ctest-TestRoutersBasic-19198024-31630186 is NOT ready for SSH connections, VM status: ACTIVE
2026-11-06 21:11:13,937 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-06 21:11:13,938 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19198024-31630186, IP 31.64.85.67, Port 22
2026-11-06 21:11:14,118 - DEBUG - VM ctest-TestRoutersBasic-19198024-31630186 is ready for SSH connections
2026-11-06 21:11:14,118 - INFO - Waiting for VM ctest-TestRoutersBasic-19198024-00993620 to be up..
2026-11-06 21:11:14,221 - DEBUG - VM is in ACTIVE state now
2026-11-06 21:11:14,221 - INFO - VM name : ctest-TestRoutersBasic-19198024-00993620
2026-11-06 21:11:14,337 - DEBUG - VM ctest-TestRoutersBasic-19198024-00993620 ID is 62b83538-6e66-46b0-b229-bf24412a0809
2026-11-06 21:11:14,338 - DEBUG - VM ctest-TestRoutersBasic-19198024-00993620 launched on Node cn-jenkins-deploy-platform-ansible-os-6492-1
2026-11-06 21:11:14,456 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/62b83538-6e66-46b0-b229-bf24412a0809
2026-11-06 21:11:14,467 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/e74a44d6-e9ba-4b72-aac7-feb1087f169b
2026-11-06 21:11:15,736 - 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.01 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.506 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.506/2.757/5.008/2.251 ms')
2026-11-06 21:11:15,737 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-19198024-00993620 passed
2026-11-06 21:11:15,900 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-06 21:11:15,900 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-19198024-00993620, IP 118.94.93.196, Port 22
2026-11-06 21:11:16,070 - DEBUG - VM ctest-TestRoutersBasic-19198024-00993620 is ready for SSH connections
2026-11-06 21:11:16,070 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2026-11-06 21:11:16,071 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 118.94.93.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123
2026-11-06 21:11:16,071 - DEBUG - ping -s 56 -c 3 -W 1 118.94.93.196
2026-11-06 21:11:19,284 - DEBUG - PING 118.94.93.196 (118.94.93.196): 56 data bytes
64 bytes from 118.94.93.196: seq=0 ttl=62 time=7.430 ms
64 bytes from 118.94.93.196: seq=1 ttl=62 time=1.551 ms
64 bytes from 118.94.93.196: seq=2 ttl=62 time=1.292 ms
--- 118.94.93.196 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.292/3.424/7.430 ms
2026-11-06 21:11:19,284 - INFO - Ping to IP 118.94.93.196 from VM ctest-TestRoutersBasic-19198024-31630186 passed
2026-11-06 21:11:19,284 - INFO - Deleting interface with subnet_id 882a1ce4-8db4-4fda-8dce-689a0e1bba9a, port_id None from router 4744a9ec-68c5-45c7-a8cd-1a68f6f2ae4a
2026-11-06 21:11:19,547 - INFO - Deleting VM ctest-TestRoutersBasic-19198024-00993620
2026-11-06 21:11:19,660 - INFO - Deleting VM ctest-TestRoutersBasic-19198024-31630186
2026-11-06 21:11:19,757 - INFO - Deleting VN ctest-ext_vn-07896768
2026-11-06 21:11:19,843 - DEBUG - VN c2a5d365-377b-4c9e-9cb7-503b85b28b33 still in use: Unable to complete operation on network c2a5d365-377b-4c9e-9cb7-503b85b28b33. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-f0cff1b0-9151-4c66-a9f3-51f0ba7fcf5e']
2026-11-06 21:11:19,843 - WARNING - Deleting VN ctest-ext_vn-07896768 failed..Will retry
2026-11-06 21:11:21,887 - DEBUG - VN c2a5d365-377b-4c9e-9cb7-503b85b28b33 still in use: Unable to complete operation on network c2a5d365-377b-4c9e-9cb7-503b85b28b33. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-7bc443a2-01c5-4ab9-9edc-76678e4a30b1']
2026-11-06 21:11:21,887 - WARNING - Deleting VN ctest-ext_vn-07896768 failed..Will retry
2026-11-06 21:11:23,996 - DEBUG - Response for deleting network ()
2026-11-06 21:11:23,997 - INFO - Deleting VN ctest-vn-72601837
2026-11-06 21:11:24,123 - DEBUG - Response for deleting network ()
2026-11-06 21:11:24,393 - DEBUG - No XMPP flaps were noticed during the test
2026-11-06 21:11:24,393 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:13]
2026-11-06 21:11:24,393 - INFO - --------------------------------------------------------------------------------
2026-11-06 21:11:25,222 - INFO - Deleted project: ctest-TestRoutersBasic-19198024, ID : 1e93619e-03af-471e-aeb5-f04897faf8be