2026-09-21 19:04:10,409 - INFO - Domain Default found not creating 2026-09-21 19:04:10,650 - INFO - Project ctest-TestRoutersBasic-65498054 not found, creating it 2026-09-21 19:04:11,228 - INFO - Created Project:ctest-TestRoutersBasic-65498054, ID : 931997f9-97ac-46f0-9963-05384c758c84 2026-09-21 19:04:13,050 - INFO - ================================================================================ 2026-09-21 19:04:13,050 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-21 19:04:13,051 - 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-09-21 19:04:13,325 - DEBUG - Nothing to compare xmpp stats {'10.0.0.161': {'10.20.0.17': '0'}} with 2026-09-21 19:04:13,326 - INFO - Initial checks done. Running the testcase now 2026-09-21 19:04:13,326 - INFO - 2026-09-21 19:04:14,209 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65498054 2026-09-21 19:04:14,307 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65498054 2026-09-21 19:04:14,659 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65498054', 'default']} 2026-09-21 19:04:14,981 - DEBUG - Response for create_network : {'network': {'id': '96588586-3490-4510-aaa0-4f731509530c', 'name': 'ctest-vn-56964822', 'tenant_id': '931997f997ac46f0996305384c758c84', 'project_id': '931997f997ac46f0996305384c758c84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65498054', 'ctest-vn-56964822'], 'port_security_enabled': True, 'description': ''}} 2026-09-21 19:04:15,157 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e78378cc-76f8-4f84-8a9e-d484ec48b627', 'name': '', 'tenant_id': '931997f997ac46f0996305384c758c84', 'network_id': '96588586-3490-4510-aaa0-4f731509530c', 'ip_version': 4, 'cidr': '64.148.153.192/26', 'allocation_pools': [{'start': '64.148.153.194', 'end': '64.148.153.254'}], 'gateway_ip': '64.148.153.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.148.153.194', 'tags': [], 'project_id': '931997f997ac46f0996305384c758c84'}} 2026-09-21 19:04:15,179 - INFO - Created VN ctest-vn-56964822 2026-09-21 19:04:15,235 - DEBUG - VN ctest-vn-56964822 UUID is 96588586-3490-4510-aaa0-4f731509530c 2026-09-21 19:04:15,590 - DEBUG - Response for create_network : {'network': {'id': '481d574f-afff-49d4-b5f1-0b46d01be9ce', 'name': 'ctest-ext_vn-88701178', 'tenant_id': '931997f997ac46f0996305384c758c84', 'project_id': '931997f997ac46f0996305384c758c84', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65498054', 'ctest-ext_vn-88701178'], 'port_security_enabled': True, 'description': ''}} 2026-09-21 19:04:15,764 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de27c81d-508d-4428-8b51-a410c3ec325e', 'name': '', 'tenant_id': '931997f997ac46f0996305384c758c84', 'network_id': '481d574f-afff-49d4-b5f1-0b46d01be9ce', 'ip_version': 4, 'cidr': '126.99.88.0/26', 'allocation_pools': [{'start': '126.99.88.2', 'end': '126.99.88.62'}], 'gateway_ip': '126.99.88.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.99.88.2', 'tags': [], 'project_id': '931997f997ac46f0996305384c758c84'}} 2026-09-21 19:04:15,783 - INFO - Created VN ctest-ext_vn-88701178 2026-09-21 19:04:15,839 - DEBUG - VN ctest-ext_vn-88701178 UUID is 481d574f-afff-49d4-b5f1-0b46d01be9ce 2026-09-21 19:04:16,015 - DEBUG - Services list from nova: [, , ] 2026-09-21 19:04:16,385 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6315-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6315-1) 2026-09-21 19:04:16,915 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6315-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6315-1) 2026-09-21 19:04:17,000 - INFO - Setting gateway for router 8abcc635-509f-4d89-85e4-c15a117fd56c to network 481d574f-afff-49d4-b5f1-0b46d01be9ce 2026-09-21 19:04:17,071 - INFO - Adding interface with subnet_id e78378cc-76f8-4f84-8a9e-d484ec48b627, port_id None to router 8abcc635-509f-4d89-85e4-c15a117fd56c 2026-09-21 19:04:17,460 - INFO - Waiting for VM ctest-TestRoutersBasic-65498054-80914431 to be up.. 2026-09-21 19:04:17,573 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 19:04:22,662 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 19:04:27,762 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 19:04:32,860 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 19:04:37,960 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 19:04:43,052 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 19:04:48,142 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-21 19:04:53,242 - DEBUG - VM is in ACTIVE state now 2026-09-21 19:04:53,242 - INFO - VM name : ctest-TestRoutersBasic-65498054-80914431 2026-09-21 19:04:53,326 - DEBUG - VM ctest-TestRoutersBasic-65498054-80914431 ID is 69b1e42f-4359-47eb-b5aa-ff0cf2991bf2 2026-09-21 19:04:53,348 - DEBUG - VM ctest-TestRoutersBasic-65498054-80914431 launched on Node cn-jenkins-deploy-platform-ansible-os-6315-1 2026-09-21 19:04:53,444 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/69b1e42f-4359-47eb-b5aa-ff0cf2991bf2 2026-09-21 19:04:53,836 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/69b1e42f-4359-47eb-b5aa-ff0cf2991bf2 2026-09-21 19:04:53,874 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/3b2cf7c7-31e9-4a58-ae41-59557bef11e5 2026-09-21 19:04:57,139 - 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 1006ms') 2026-09-21 19:04:57,140 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-65498054-80914431 failed! 2026-09-21 19:04:57,195 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65498054:ctest-vn-56964822 is 64.148.153.193 and allocation pool is NOT set 2026-09-21 19:05:01,306 - 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=6.08 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1036ms\r\nrtt min/avg/max/mdev = 6.084/6.084/6.084/0.000 ms') 2026-09-21 19:05:01,306 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-65498054-80914431 passed 2026-09-21 19:05:01,463 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 19:05:01,463 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65498054-80914431, IP 64.148.153.195, Port 22 2026-09-21 19:05:01,534 - 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-09-21 19:05:01,638 - DEBUG - VM ctest-TestRoutersBasic-65498054-80914431 is NOT ready for SSH connections, VM status: ACTIVE 2026-09-21 19:05:06,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 19:05:06,639 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65498054-80914431, IP 64.148.153.195, Port 22 2026-09-21 19:05:06,809 - DEBUG - VM ctest-TestRoutersBasic-65498054-80914431 is ready for SSH connections 2026-09-21 19:05:06,809 - INFO - Waiting for VM ctest-TestRoutersBasic-65498054-90381952 to be up.. 2026-09-21 19:05:06,911 - DEBUG - VM is in ACTIVE state now 2026-09-21 19:05:06,911 - INFO - VM name : ctest-TestRoutersBasic-65498054-90381952 2026-09-21 19:05:07,048 - DEBUG - VM ctest-TestRoutersBasic-65498054-90381952 ID is d3fe802a-eab2-4539-ae31-ca5f78560fb2 2026-09-21 19:05:07,049 - DEBUG - VM ctest-TestRoutersBasic-65498054-90381952 launched on Node cn-jenkins-deploy-platform-ansible-os-6315-1 2026-09-21 19:05:07,163 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine/d3fe802a-eab2-4539-ae31-ca5f78560fb2 2026-09-21 19:05:07,178 - DEBUG - Requesting: http://10.0.0.161:8082/virtual-machine-interface/88ea2640-66d2-4311-aa5d-84689e1f7665 2026-09-21 19:05:08,454 - 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.16 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.662 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.662/2.412/4.163/1.750 ms') 2026-09-21 19:05:08,454 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-65498054-90381952 passed 2026-09-21 19:05:08,611 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 19:05:08,611 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65498054-90381952, IP 126.99.88.4, Port 22 2026-09-21 19:05:08,789 - DEBUG - VM ctest-TestRoutersBasic-65498054-90381952 is ready for SSH connections 2026-09-21 19:05:08,789 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-21 19:05:08,789 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 126.99.88.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.161, gateway password: c0ntrail123 2026-09-21 19:05:08,790 - DEBUG - ping -s 56 -c 3 -W 1 126.99.88.4 2026-09-21 19:05:11,970 - DEBUG - PING 126.99.88.4 (126.99.88.4): 56 data bytes 64 bytes from 126.99.88.4: seq=0 ttl=62 time=9.271 ms 64 bytes from 126.99.88.4: seq=1 ttl=62 time=1.108 ms 64 bytes from 126.99.88.4: seq=2 ttl=62 time=1.517 ms --- 126.99.88.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.108/3.965/9.271 ms 2026-09-21 19:05:11,970 - INFO - Ping to IP 126.99.88.4 from VM ctest-TestRoutersBasic-65498054-80914431 passed 2026-09-21 19:05:11,970 - INFO - Deleting interface with subnet_id e78378cc-76f8-4f84-8a9e-d484ec48b627, port_id None from router 8abcc635-509f-4d89-85e4-c15a117fd56c 2026-09-21 19:05:12,274 - INFO - Deleting VM ctest-TestRoutersBasic-65498054-90381952 2026-09-21 19:05:12,401 - INFO - Deleting VM ctest-TestRoutersBasic-65498054-80914431 2026-09-21 19:05:12,491 - INFO - Deleting VN ctest-ext_vn-88701178 2026-09-21 19:05:12,571 - DEBUG - VN 481d574f-afff-49d4-b5f1-0b46d01be9ce still in use: Unable to complete operation on network 481d574f-afff-49d4-b5f1-0b46d01be9ce. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f62fcf96-8b68-414b-8832-18371cec50cb'] 2026-09-21 19:05:12,571 - WARNING - Deleting VN ctest-ext_vn-88701178 failed..Will retry 2026-09-21 19:05:14,784 - DEBUG - Response for deleting network () 2026-09-21 19:05:14,784 - INFO - Deleting VN ctest-vn-56964822 2026-09-21 19:05:14,940 - DEBUG - Response for deleting network () 2026-09-21 19:05:15,223 - DEBUG - No XMPP flaps were noticed during the test 2026-09-21 19:05:15,223 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:02] 2026-09-21 19:05:15,223 - INFO - -------------------------------------------------------------------------------- 2026-09-21 19:05:16,029 - INFO - Deleted project: ctest-TestRoutersBasic-65498054, ID : 931997f9-97ac-46f0-9963-05384c758c84