2026-10-12 15:47:56,342 - INFO - Domain Default found not creating 2026-10-12 15:47:56,468 - INFO - Project ctest-TestRoutersBasic-27565234 not found, creating it 2026-10-12 15:47:56,908 - INFO - Created Project:ctest-TestRoutersBasic-27565234, ID : cd03690d-cfdc-4183-8111-dc0c9beca603 2026-10-12 15:47:58,564 - INFO - ================================================================================ 2026-10-12 15:47:58,564 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-10-12 15:47:58,564 - 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-12 15:47:58,821 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-10-12 15:47:58,821 - INFO - Initial checks done. Running the testcase now 2026-10-12 15:47:58,821 - INFO - 2026-10-12 15:47:59,642 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-27565234 2026-10-12 15:47:59,740 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-27565234 2026-10-12 15:48:00,067 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27565234', 'default']} 2026-10-12 15:48:00,349 - DEBUG - Response for create_network : {'network': {'id': 'b125aac8-b78d-4c56-a332-231f1c4a4f89', 'name': 'ctest-vn-08381844', 'tenant_id': 'cd03690dcfdc41838111dc0c9beca603', 'project_id': 'cd03690dcfdc41838111dc0c9beca603', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27565234', 'ctest-vn-08381844'], 'port_security_enabled': True, 'description': ''}} 2026-10-12 15:48:00,540 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e5f13e08-3b3b-443c-8b11-72673f2cfef1', 'name': '', 'tenant_id': 'cd03690dcfdc41838111dc0c9beca603', 'network_id': 'b125aac8-b78d-4c56-a332-231f1c4a4f89', 'ip_version': 4, 'cidr': '141.68.129.192/26', 'allocation_pools': [{'start': '141.68.129.194', 'end': '141.68.129.254'}], 'gateway_ip': '141.68.129.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.68.129.194', 'tags': [], 'project_id': 'cd03690dcfdc41838111dc0c9beca603'}} 2026-10-12 15:48:00,555 - INFO - Created VN ctest-vn-08381844 2026-10-12 15:48:00,608 - DEBUG - VN ctest-vn-08381844 UUID is b125aac8-b78d-4c56-a332-231f1c4a4f89 2026-10-12 15:48:00,929 - DEBUG - Response for create_network : {'network': {'id': '68bdb438-0d8b-4dc7-a14e-4e2e55ef7c48', 'name': 'ctest-ext_vn-73783716', 'tenant_id': 'cd03690dcfdc41838111dc0c9beca603', 'project_id': 'cd03690dcfdc41838111dc0c9beca603', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-27565234', 'ctest-ext_vn-73783716'], 'port_security_enabled': True, 'description': ''}} 2026-10-12 15:48:01,085 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc91ccac-7707-42b1-8868-f7236de4eb87', 'name': '', 'tenant_id': 'cd03690dcfdc41838111dc0c9beca603', 'network_id': '68bdb438-0d8b-4dc7-a14e-4e2e55ef7c48', 'ip_version': 4, 'cidr': '160.18.36.192/26', 'allocation_pools': [{'start': '160.18.36.194', 'end': '160.18.36.254'}], 'gateway_ip': '160.18.36.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.18.36.194', 'tags': [], 'project_id': 'cd03690dcfdc41838111dc0c9beca603'}} 2026-10-12 15:48:01,098 - INFO - Created VN ctest-ext_vn-73783716 2026-10-12 15:48:01,147 - DEBUG - VN ctest-ext_vn-73783716 UUID is 68bdb438-0d8b-4dc7-a14e-4e2e55ef7c48 2026-10-12 15:48:01,332 - DEBUG - Services list from nova: [, , ] 2026-10-12 15:48:01,627 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6358-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6358-1) 2026-10-12 15:48:01,950 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6358-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6358-1) 2026-10-12 15:48:02,002 - INFO - Setting gateway for router 994bffaa-5703-49c3-858e-9eeb931aa7e0 to network 68bdb438-0d8b-4dc7-a14e-4e2e55ef7c48 2026-10-12 15:48:02,049 - INFO - Adding interface with subnet_id e5f13e08-3b3b-443c-8b11-72673f2cfef1, port_id None to router 994bffaa-5703-49c3-858e-9eeb931aa7e0 2026-10-12 15:48:02,260 - INFO - Waiting for VM ctest-TestRoutersBasic-27565234-46609175 to be up.. 2026-10-12 15:48:02,317 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 15:48:07,392 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 15:48:12,463 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 15:48:17,543 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 15:48:22,609 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 15:48:27,686 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 15:48:32,748 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-10-12 15:48:37,875 - DEBUG - VM is in ACTIVE state now 2026-10-12 15:48:37,875 - INFO - VM name : ctest-TestRoutersBasic-27565234-46609175 2026-10-12 15:48:37,941 - DEBUG - VM ctest-TestRoutersBasic-27565234-46609175 ID is 51a051ba-1104-427c-b920-d78049f20522 2026-10-12 15:48:37,958 - DEBUG - VM ctest-TestRoutersBasic-27565234-46609175 launched on Node cn-jenkins-deploy-platform-ansible-os-6358-1 2026-10-12 15:48:38,036 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/51a051ba-1104-427c-b920-d78049f20522 2026-10-12 15:48:38,410 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/51a051ba-1104-427c-b920-d78049f20522 2026-10-12 15:48:38,449 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/5ebc70d3-ee5e-4a45-b9f7-9e72d5999df7 2026-10-12 15:48:41,711 - 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 1027ms') 2026-10-12 15:48:41,712 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-27565234-46609175 failed! 2026-10-12 15:48:41,764 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-27565234:ctest-vn-08381844 is 141.68.129.193 and allocation pool is NOT set 2026-10-12 15:48:43,822 - 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=14.3 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.52 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.517/7.919/14.321/6.402 ms') 2026-10-12 15:48:43,822 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-27565234-46609175 passed 2026-10-12 15:48:43,972 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 15:48:43,972 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27565234-46609175, IP 141.68.129.195, Port 22 2026-10-12 15:48:44,134 - DEBUG - VM ctest-TestRoutersBasic-27565234-46609175 is ready for SSH connections 2026-10-12 15:48:44,135 - INFO - Waiting for VM ctest-TestRoutersBasic-27565234-85880503 to be up.. 2026-10-12 15:48:44,200 - DEBUG - VM is in ACTIVE state now 2026-10-12 15:48:44,200 - INFO - VM name : ctest-TestRoutersBasic-27565234-85880503 2026-10-12 15:48:44,262 - DEBUG - VM ctest-TestRoutersBasic-27565234-85880503 ID is 3cf176fe-fc61-4fb1-bb1c-4983a62e0a57 2026-10-12 15:48:44,262 - DEBUG - VM ctest-TestRoutersBasic-27565234-85880503 launched on Node cn-jenkins-deploy-platform-ansible-os-6358-1 2026-10-12 15:48:44,327 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/3cf176fe-fc61-4fb1-bb1c-4983a62e0a57 2026-10-12 15:48:44,333 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/57f4d649-8d1e-45bc-9fc7-8ec901e970af 2026-10-12 15:48:47,568 - DEBUG - (True, 'PING 169.254.0.6 (169.254.0.6) 56(84) bytes of data.\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1003ms') 2026-10-12 15:48:47,568 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-27565234-85880503 failed! 2026-10-12 15:48:47,619 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-27565234:ctest-ext_vn-73783716 is 160.18.36.193 and allocation pool is NOT set 2026-10-12 15:48:49,676 - 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=3.78 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.539 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.539/2.159/3.780/1.620 ms') 2026-10-12 15:48:49,676 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-27565234-85880503 passed 2026-10-12 15:48:49,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 15:48:49,824 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-27565234-85880503, IP 160.18.36.196, Port 22 2026-10-12 15:48:49,989 - DEBUG - VM ctest-TestRoutersBasic-27565234-85880503 is ready for SSH connections 2026-10-12 15:48:49,989 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-10-12 15:48:49,990 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 160.18.36.196, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-10-12 15:48:49,990 - DEBUG - ping -s 56 -c 3 -W 1 160.18.36.196 2026-10-12 15:48:52,880 - DEBUG - PING 160.18.36.196 (160.18.36.196): 56 data bytes 64 bytes from 160.18.36.196: seq=0 ttl=62 time=7.930 ms 64 bytes from 160.18.36.196: seq=1 ttl=62 time=0.990 ms 64 bytes from 160.18.36.196: seq=2 ttl=62 time=1.025 ms --- 160.18.36.196 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.990/3.315/7.930 ms 2026-10-12 15:48:52,880 - INFO - Ping to IP 160.18.36.196 from VM ctest-TestRoutersBasic-27565234-46609175 passed 2026-10-12 15:48:52,880 - INFO - Deleting interface with subnet_id e5f13e08-3b3b-443c-8b11-72673f2cfef1, port_id None from router 994bffaa-5703-49c3-858e-9eeb931aa7e0 2026-10-12 15:48:53,066 - INFO - Deleting VM ctest-TestRoutersBasic-27565234-85880503 2026-10-12 15:48:53,132 - INFO - Deleting VM ctest-TestRoutersBasic-27565234-46609175 2026-10-12 15:48:53,197 - INFO - Deleting VN ctest-ext_vn-73783716 2026-10-12 15:48:53,253 - DEBUG - VN 68bdb438-0d8b-4dc7-a14e-4e2e55ef7c48 still in use: Unable to complete operation on network 68bdb438-0d8b-4dc7-a14e-4e2e55ef7c48. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-996d8a5f-63e8-427e-9a99-9cbdab422fc8'] 2026-10-12 15:48:53,253 - WARNING - Deleting VN ctest-ext_vn-73783716 failed..Will retry 2026-10-12 15:48:55,403 - DEBUG - Response for deleting network () 2026-10-12 15:48:55,403 - INFO - Deleting VN ctest-vn-08381844 2026-10-12 15:48:55,495 - DEBUG - Response for deleting network () 2026-10-12 15:48:55,758 - DEBUG - No XMPP flaps were noticed during the test
2026-10-12 15:48:55,758 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:57]
2026-10-12 15:48:55,758 - INFO - -------------------------------------------------------------------------------- 2026-10-12 15:48:56,505 - INFO - Deleted project: ctest-TestRoutersBasic-27565234, ID : cd03690d-cfdc-4183-8111-dc0c9beca603