2026-09-03 11:40:58,970 - INFO - Domain Default found not creating 2026-09-03 11:40:59,206 - INFO - Project ctest-TestRoutersBasic-61418161 not found, creating it 2026-09-03 11:40:59,816 - INFO - Created Project:ctest-TestRoutersBasic-61418161, ID : cfd2b2ac-894b-42ea-af5c-2623f8950137 2026-09-03 11:41:01,766 - INFO - ================================================================================ 2026-09-03 11:41:01,766 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-03 11:41:01,766 - 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-03 11:41:02,041 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.254': '0'}} with 2026-09-03 11:41:02,041 - INFO - Initial checks done. Running the testcase now 2026-09-03 11:41:02,041 - INFO - 2026-09-03 11:41:02,917 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-61418161 2026-09-03 11:41:03,018 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-61418161 2026-09-03 11:41:03,354 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61418161', 'default']} 2026-09-03 11:41:03,694 - DEBUG - Response for create_network : {'network': {'id': '638057a3-4fb7-4e54-a0be-35710e98d596', 'name': 'ctest-vn-31616254', 'tenant_id': 'cfd2b2ac894b42eaaf5c2623f8950137', 'project_id': 'cfd2b2ac894b42eaaf5c2623f8950137', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61418161', 'ctest-vn-31616254'], 'port_security_enabled': True, 'description': ''}} 2026-09-03 11:41:03,915 - DEBUG - Response for create_subnet : {'subnet': {'id': '82b6f2e6-d5ab-429d-a628-401bc9d82802', 'name': '', 'tenant_id': 'cfd2b2ac894b42eaaf5c2623f8950137', 'network_id': '638057a3-4fb7-4e54-a0be-35710e98d596', 'ip_version': 4, 'cidr': '16.88.79.192/26', 'allocation_pools': [{'start': '16.88.79.194', 'end': '16.88.79.254'}], 'gateway_ip': '16.88.79.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.88.79.194', 'tags': [], 'project_id': 'cfd2b2ac894b42eaaf5c2623f8950137'}} 2026-09-03 11:41:03,935 - INFO - Created VN ctest-vn-31616254 2026-09-03 11:41:03,990 - DEBUG - VN ctest-vn-31616254 UUID is 638057a3-4fb7-4e54-a0be-35710e98d596 2026-09-03 11:41:04,363 - DEBUG - Response for create_network : {'network': {'id': '1456b857-2bb1-4a12-8ed7-ca986f1da7b2', 'name': 'ctest-ext_vn-49309468', 'tenant_id': 'cfd2b2ac894b42eaaf5c2623f8950137', 'project_id': 'cfd2b2ac894b42eaaf5c2623f8950137', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-61418161', 'ctest-ext_vn-49309468'], 'port_security_enabled': True, 'description': ''}} 2026-09-03 11:41:04,601 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e02a65c1-044a-44f4-892c-b0428322c564', 'name': '', 'tenant_id': 'cfd2b2ac894b42eaaf5c2623f8950137', 'network_id': '1456b857-2bb1-4a12-8ed7-ca986f1da7b2', 'ip_version': 4, 'cidr': '142.42.251.0/26', 'allocation_pools': [{'start': '142.42.251.2', 'end': '142.42.251.62'}], 'gateway_ip': '142.42.251.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '142.42.251.2', 'tags': [], 'project_id': 'cfd2b2ac894b42eaaf5c2623f8950137'}} 2026-09-03 11:41:04,623 - INFO - Created VN ctest-ext_vn-49309468 2026-09-03 11:41:04,678 - DEBUG - VN ctest-ext_vn-49309468 UUID is 1456b857-2bb1-4a12-8ed7-ca986f1da7b2 2026-09-03 11:41:04,881 - DEBUG - Services list from nova: [, , ] 2026-09-03 11:41:05,259 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6249-1) 2026-09-03 11:41:05,725 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6249-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6249-1) 2026-09-03 11:41:05,815 - INFO - Setting gateway for router 10249d3d-d140-486b-86f0-5a92effedea3 to network 1456b857-2bb1-4a12-8ed7-ca986f1da7b2 2026-09-03 11:41:05,891 - INFO - Adding interface with subnet_id 82b6f2e6-d5ab-429d-a628-401bc9d82802, port_id None to router 10249d3d-d140-486b-86f0-5a92effedea3 2026-09-03 11:41:06,199 - INFO - Waiting for VM ctest-TestRoutersBasic-61418161-66514120 to be up.. 2026-09-03 11:41:06,265 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:41:11,435 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:41:16,549 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:41:21,655 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:41:26,747 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:41:31,842 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:41:36,937 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:41:42,024 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-03 11:41:47,114 - DEBUG - VM is in ACTIVE state now 2026-09-03 11:41:47,114 - INFO - VM name : ctest-TestRoutersBasic-61418161-66514120 2026-09-03 11:41:47,210 - DEBUG - VM ctest-TestRoutersBasic-61418161-66514120 ID is fa19be83-33f0-4887-b8ff-763177307e01 2026-09-03 11:41:47,232 - DEBUG - VM ctest-TestRoutersBasic-61418161-66514120 launched on Node cn-jenkins-deploy-platform-ansible-os-6249-1 2026-09-03 11:41:47,327 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fa19be83-33f0-4887-b8ff-763177307e01 2026-09-03 11:41:47,701 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/fa19be83-33f0-4887-b8ff-763177307e01 2026-09-03 11:41:47,739 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/7dd64411-7585-45bf-806c-47a1e1bc5aa3 2026-09-03 11:41:51,014 - 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 1017ms') 2026-09-03 11:41:51,014 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-61418161-66514120 failed! 2026-09-03 11:41:51,070 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-61418161:ctest-vn-31616254 is 16.88.79.193 and allocation pool is NOT set 2026-09-03 11:41:53,141 - 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.60 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.614 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 = 0.614/3.105/5.597/2.491 ms') 2026-09-03 11:41:53,142 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-61418161-66514120 passed 2026-09-03 11:41:53,302 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:41:53,302 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61418161-66514120, IP 16.88.79.195, Port 22 2026-09-03 11:41:53,474 - DEBUG - VM ctest-TestRoutersBasic-61418161-66514120 is ready for SSH connections 2026-09-03 11:41:53,474 - INFO - Waiting for VM ctest-TestRoutersBasic-61418161-34521821 to be up.. 2026-09-03 11:41:53,560 - DEBUG - VM is in ACTIVE state now 2026-09-03 11:41:53,561 - INFO - VM name : ctest-TestRoutersBasic-61418161-34521821 2026-09-03 11:41:53,653 - DEBUG - VM ctest-TestRoutersBasic-61418161-34521821 ID is 3c975f33-e698-407a-be19-baf0359fed15 2026-09-03 11:41:53,653 - DEBUG - VM ctest-TestRoutersBasic-61418161-34521821 launched on Node cn-jenkins-deploy-platform-ansible-os-6249-1 2026-09-03 11:41:53,750 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3c975f33-e698-407a-be19-baf0359fed15 2026-09-03 11:41:53,761 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/1c550976-10c8-4bba-bede-8f0a9281a639 2026-09-03 11:41:55,008 - 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.71 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.399 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.399/2.554/4.709/2.155 ms') 2026-09-03 11:41:55,008 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-61418161-34521821 passed 2026-09-03 11:41:55,162 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:41:55,162 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-61418161-34521821, IP 142.42.251.4, Port 22 2026-09-03 11:41:55,332 - DEBUG - VM ctest-TestRoutersBasic-61418161-34521821 is ready for SSH connections 2026-09-03 11:41:55,332 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-03 11:41:55,332 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 142.42.251.4, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-09-03 11:41:55,332 - DEBUG - ping -s 56 -c 3 -W 1 142.42.251.4 2026-09-03 11:41:58,392 - DEBUG - PING 142.42.251.4 (142.42.251.4): 56 data bytes 64 bytes from 142.42.251.4: seq=0 ttl=62 time=8.900 ms 64 bytes from 142.42.251.4: seq=1 ttl=62 time=1.380 ms 64 bytes from 142.42.251.4: seq=2 ttl=62 time=1.356 ms --- 142.42.251.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.356/3.878/8.900 ms 2026-09-03 11:41:58,392 - INFO - Ping to IP 142.42.251.4 from VM ctest-TestRoutersBasic-61418161-66514120 passed 2026-09-03 11:41:58,392 - INFO - Deleting interface with subnet_id 82b6f2e6-d5ab-429d-a628-401bc9d82802, port_id None from router 10249d3d-d140-486b-86f0-5a92effedea3 2026-09-03 11:41:58,645 - INFO - Deleting VM ctest-TestRoutersBasic-61418161-34521821 2026-09-03 11:41:58,746 - INFO - Deleting VM ctest-TestRoutersBasic-61418161-66514120 2026-09-03 11:41:58,834 - INFO - Deleting VN ctest-ext_vn-49309468 2026-09-03 11:41:58,926 - DEBUG - VN 1456b857-2bb1-4a12-8ed7-ca986f1da7b2 still in use: Unable to complete operation on network 1456b857-2bb1-4a12-8ed7-ca986f1da7b2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-950c773e-7252-441f-8f54-d58201c00368'] 2026-09-03 11:41:58,926 - WARNING - Deleting VN ctest-ext_vn-49309468 failed..Will retry 2026-09-03 11:42:00,997 - DEBUG - VN 1456b857-2bb1-4a12-8ed7-ca986f1da7b2 still in use: Unable to complete operation on network 1456b857-2bb1-4a12-8ed7-ca986f1da7b2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-01d75bbd-ed97-4b93-91e2-71abaf2df803'] 2026-09-03 11:42:00,997 - WARNING - Deleting VN ctest-ext_vn-49309468 failed..Will retry 2026-09-03 11:42:03,109 - DEBUG - Response for deleting network () 2026-09-03 11:42:03,109 - INFO - Deleting VN ctest-vn-31616254 2026-09-03 11:42:03,231 - DEBUG - Response for deleting network () 2026-09-03 11:42:03,510 - DEBUG - No XMPP flaps were noticed during the test 2026-09-03 11:42:03,510 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:01:02] 2026-09-03 11:42:03,510 - INFO - -------------------------------------------------------------------------------- 2026-09-03 11:42:04,310 - INFO - Deleted project: ctest-TestRoutersBasic-61418161, ID : cfd2b2ac-894b-42ea-af5c-2623f8950137