2026-10-26 15:47:13,112 - INFO - Domain Default found not creating 2026-10-26 15:47:13,351 - INFO - Project ctest-TestRoutersBasic-34716397 not found, creating it 2026-10-26 15:47:13,918 - INFO - Created Project:ctest-TestRoutersBasic-34716397, ID : 1863625e-96c5-4f6c-aebc-48382eb48c1a 2026-10-26 15:47:15,896 - INFO - ================================================================================ 2026-10-26 15:47:15,897 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-26 15:47:15,897 - 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:47:16,179 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with 2026-10-26 15:47:16,179 - INFO - Initial checks done. Running the testcase now 2026-10-26 15:47:16,179 - INFO - 2026-10-26 15:47:17,107 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-34716397 2026-10-26 15:47:17,206 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-34716397 2026-10-26 15:47:17,546 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34716397', 'default']} 2026-10-26 15:47:17,866 - DEBUG - Response for create_network : {'network': {'id': 'b9804a7a-57de-4a90-9890-666cc167ae1d', 'name': 'ctest-vn-04291733', 'tenant_id': '1863625e96c54f6caebc48382eb48c1a', 'project_id': '1863625e96c54f6caebc48382eb48c1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34716397', 'ctest-vn-04291733'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 15:47:18,132 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fef95ad4-37bf-4f3e-8acf-b2f2d41eb4fa', 'name': '', 'tenant_id': '1863625e96c54f6caebc48382eb48c1a', 'network_id': 'b9804a7a-57de-4a90-9890-666cc167ae1d', 'ip_version': 4, 'cidr': '198.107.60.192/26', 'allocation_pools': [{'start': '198.107.60.194', 'end': '198.107.60.254'}], 'gateway_ip': '198.107.60.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.107.60.194', 'tags': [], 'project_id': '1863625e96c54f6caebc48382eb48c1a'}} 2026-10-26 15:47:18,155 - INFO - Created VN ctest-vn-04291733 2026-10-26 15:47:18,215 - DEBUG - VN ctest-vn-04291733 UUID is b9804a7a-57de-4a90-9890-666cc167ae1d 2026-10-26 15:47:18,572 - DEBUG - Response for create_network : {'network': {'id': '01993c56-706a-4919-a5d3-a60f5cf39c8a', 'name': 'ctest-ext_vn-57584125', 'tenant_id': '1863625e96c54f6caebc48382eb48c1a', 'project_id': '1863625e96c54f6caebc48382eb48c1a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-34716397', 'ctest-ext_vn-57584125'], 'port_security_enabled': True, 'description': ''}} 2026-10-26 15:47:18,797 - DEBUG - Response for create_subnet : {'subnet': {'id': '0f21f064-2528-4142-a61d-56d868af66c5', 'name': '', 'tenant_id': '1863625e96c54f6caebc48382eb48c1a', 'network_id': '01993c56-706a-4919-a5d3-a60f5cf39c8a', 'ip_version': 4, 'cidr': '211.176.148.128/26', 'allocation_pools': [{'start': '211.176.148.130', 'end': '211.176.148.190'}], 'gateway_ip': '211.176.148.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.176.148.130', 'tags': [], 'project_id': '1863625e96c54f6caebc48382eb48c1a'}} 2026-10-26 15:47:18,818 - INFO - Created VN ctest-ext_vn-57584125 2026-10-26 15:47:18,870 - DEBUG - VN ctest-ext_vn-57584125 UUID is 01993c56-706a-4919-a5d3-a60f5cf39c8a 2026-10-26 15:47:19,087 - DEBUG - Services list from nova: [, , ] 2026-10-26 15:47:19,807 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6414-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6414-1) 2026-10-26 15:47:20,291 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6414-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6414-1) 2026-10-26 15:47:20,372 - INFO - Setting gateway for router 10cd068a-2afb-44d0-bd6e-d9671ed88eb2 to network 01993c56-706a-4919-a5d3-a60f5cf39c8a 2026-10-26 15:47:20,440 - INFO - Adding interface with subnet_id fef95ad4-37bf-4f3e-8acf-b2f2d41eb4fa, port_id None to router 10cd068a-2afb-44d0-bd6e-d9671ed88eb2 2026-10-26 15:47:20,722 - INFO - Waiting for VM ctest-TestRoutersBasic-34716397-92136159 to be up.. 2026-10-26 15:47:20,784 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:47:25,872 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:47:30,972 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:47:36,062 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:47:41,157 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:47:46,244 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:47:51,339 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:47:56,429 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-26 15:48:01,532 - DEBUG - VM is in ACTIVE state now 2026-10-26 15:48:01,532 - INFO - VM name : ctest-TestRoutersBasic-34716397-92136159 2026-10-26 15:48:01,645 - DEBUG - VM ctest-TestRoutersBasic-34716397-92136159 ID is 4d58be79-2347-411d-9cc7-8632978f4e26 2026-10-26 15:48:01,672 - DEBUG - VM ctest-TestRoutersBasic-34716397-92136159 launched on Node cn-jenkins-deploy-platform-ansible-os-6414-1 2026-10-26 15:48:01,769 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4d58be79-2347-411d-9cc7-8632978f4e26 2026-10-26 15:48:02,173 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/4d58be79-2347-411d-9cc7-8632978f4e26 2026-10-26 15:48:02,216 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5a72f96d-1b4c-4b89-ad58-c0fb813b9536 2026-10-26 15:48:05,496 - 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 1005ms') 2026-10-26 15:48:05,496 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-34716397-92136159 failed! 2026-10-26 15:48:05,563 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-34716397:ctest-vn-04291733 is 198.107.60.193 and allocation pool is NOT set 2026-10-26 15:48:09,652 - 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=5.90 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1020ms\r\nrtt min/avg/max/mdev = 5.896/5.896/5.896/0.000 ms') 2026-10-26 15:48:09,652 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-34716397-92136159 passed 2026-10-26 15:48:09,810 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:48:09,811 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34716397-92136159, IP 198.107.60.195, Port 22 2026-10-26 15:48:09,985 - DEBUG - VM ctest-TestRoutersBasic-34716397-92136159 is ready for SSH connections 2026-10-26 15:48:09,985 - INFO - Waiting for VM ctest-TestRoutersBasic-34716397-84390531 to be up.. 2026-10-26 15:48:10,095 - DEBUG - VM is in ACTIVE state now 2026-10-26 15:48:10,095 - INFO - VM name : ctest-TestRoutersBasic-34716397-84390531 2026-10-26 15:48:10,205 - DEBUG - VM ctest-TestRoutersBasic-34716397-84390531 ID is 28d0e843-9b14-4499-be0c-8fbc583f4782 2026-10-26 15:48:10,205 - DEBUG - VM ctest-TestRoutersBasic-34716397-84390531 launched on Node cn-jenkins-deploy-platform-ansible-os-6414-1 2026-10-26 15:48:10,412 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/28d0e843-9b14-4499-be0c-8fbc583f4782 2026-10-26 15:48:10,423 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d241dbf8-c7ec-45d2-a6a6-1d1a89487de7 2026-10-26 15:48:13,714 - 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=2 ttl=63 time=7.32 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1027ms\r\nrtt min/avg/max/mdev = 7.321/7.321/7.321/0.000 ms') 2026-10-26 15:48:13,714 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-34716397-84390531 passed 2026-10-26 15:48:13,870 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:48:13,870 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34716397-84390531, IP 211.176.148.132, Port 22 2026-10-26 15:48:13,938 - DEBUG - Error on ssh to cirros@169.254.0.6:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.6/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.6/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.6/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2026-10-26 15:48:14,036 - DEBUG - VM ctest-TestRoutersBasic-34716397-84390531 is NOT ready for SSH connections, VM status: ACTIVE 2026-10-26 15:48:19,036 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:48:19,036 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-34716397-84390531, IP 211.176.148.132, Port 22 2026-10-26 15:48:19,208 - DEBUG - VM ctest-TestRoutersBasic-34716397-84390531 is ready for SSH connections 2026-10-26 15:48:19,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-26 15:48:19,209 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 211.176.148.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-10-26 15:48:19,209 - DEBUG - ping -s 56 -c 3 -W 1 211.176.148.132 2026-10-26 15:48:22,344 - DEBUG - PING 211.176.148.132 (211.176.148.132): 56 data bytes 64 bytes from 211.176.148.132: seq=0 ttl=62 time=9.895 ms 64 bytes from 211.176.148.132: seq=1 ttl=62 time=1.293 ms 64 bytes from 211.176.148.132: seq=2 ttl=62 time=1.635 ms --- 211.176.148.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.293/4.274/9.895 ms 2026-10-26 15:48:22,344 - INFO - Ping to IP 211.176.148.132 from VM ctest-TestRoutersBasic-34716397-92136159 passed 2026-10-26 15:48:22,344 - INFO - Deleting interface with subnet_id fef95ad4-37bf-4f3e-8acf-b2f2d41eb4fa, port_id None from router 10cd068a-2afb-44d0-bd6e-d9671ed88eb2 2026-10-26 15:48:22,601 - INFO - Deleting VM ctest-TestRoutersBasic-34716397-84390531 2026-10-26 15:48:22,685 - INFO - Deleting VM ctest-TestRoutersBasic-34716397-92136159 2026-10-26 15:48:22,810 - INFO - Deleting VN ctest-ext_vn-57584125 2026-10-26 15:48:22,909 - DEBUG - VN 01993c56-706a-4919-a5d3-a60f5cf39c8a still in use: Unable to complete operation on network 01993c56-706a-4919-a5d3-a60f5cf39c8a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9bc53656-ef91-4577-a4fb-bf1d6f91492d'] 2026-10-26 15:48:22,910 - WARNING - Deleting VN ctest-ext_vn-57584125 failed..Will retry 2026-10-26 15:48:24,948 - DEBUG - VN 01993c56-706a-4919-a5d3-a60f5cf39c8a still in use: Unable to complete operation on network 01993c56-706a-4919-a5d3-a60f5cf39c8a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cccafd9c-1246-46b7-9c78-0ca7f7f0d40c'] 2026-10-26 15:48:24,949 - WARNING - Deleting VN ctest-ext_vn-57584125 failed..Will retry 2026-10-26 15:48:27,081 - DEBUG - Response for deleting network () 2026-10-26 15:48:27,081 - INFO - Deleting VN ctest-vn-04291733 2026-10-26 15:48:27,219 - DEBUG - Response for deleting network () 2026-10-26 15:48:27,501 - DEBUG - No XMPP flaps were noticed during the test 2026-10-26 15:48:27,501 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:12] 2026-10-26 15:48:27,501 - INFO - -------------------------------------------------------------------------------- 2026-10-26 15:48:28,372 - INFO - Deleted project: ctest-TestRoutersBasic-34716397, ID : 1863625e-96c5-4f6c-aebc-48382eb48c1a