2026-09-14 14:58:55,899 - INFO - Domain Default found not creating 2026-09-14 14:58:56,062 - INFO - Project ctest-TestRoutersBasic-60626878 not found, creating it 2026-09-14 14:58:56,556 - INFO - Created Project:ctest-TestRoutersBasic-60626878, ID : c9cef040-5832-435a-b119-af87ea54b657 2026-09-14 14:58:58,223 - INFO - ================================================================================ 2026-09-14 14:58:58,223 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-09-14 14:58:58,223 - 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-14 14:58:58,492 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with 2026-09-14 14:58:58,492 - INFO - Initial checks done. Running the testcase now 2026-09-14 14:58:58,492 - INFO - 2026-09-14 14:58:59,317 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-60626878 2026-09-14 14:58:59,421 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-60626878 2026-09-14 14:58:59,768 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60626878', 'default']} 2026-09-14 14:59:00,094 - DEBUG - Response for create_network : {'network': {'id': '5fd8f4a3-817b-4252-b402-9035f013cbe0', 'name': 'ctest-vn-23886156', 'tenant_id': 'c9cef0405832435ab119af87ea54b657', 'project_id': 'c9cef0405832435ab119af87ea54b657', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60626878', 'ctest-vn-23886156'], 'port_security_enabled': True, 'description': ''}} 2026-09-14 14:59:00,276 - DEBUG - Response for create_subnet : {'subnet': {'id': '14c0e1ce-c279-4b27-b881-a6c77e028aca', 'name': '', 'tenant_id': 'c9cef0405832435ab119af87ea54b657', 'network_id': '5fd8f4a3-817b-4252-b402-9035f013cbe0', 'ip_version': 4, 'cidr': '46.0.225.192/26', 'allocation_pools': [{'start': '46.0.225.194', 'end': '46.0.225.254'}], 'gateway_ip': '46.0.225.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.0.225.194', 'tags': [], 'project_id': 'c9cef0405832435ab119af87ea54b657'}} 2026-09-14 14:59:00,293 - INFO - Created VN ctest-vn-23886156 2026-09-14 14:59:00,348 - DEBUG - VN ctest-vn-23886156 UUID is 5fd8f4a3-817b-4252-b402-9035f013cbe0 2026-09-14 14:59:00,784 - DEBUG - Response for create_network : {'network': {'id': '0cc17462-3b92-4a2f-812d-a773150f0f44', 'name': 'ctest-ext_vn-12042679', 'tenant_id': 'c9cef0405832435ab119af87ea54b657', 'project_id': 'c9cef0405832435ab119af87ea54b657', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-60626878', 'ctest-ext_vn-12042679'], 'port_security_enabled': True, 'description': ''}} 2026-09-14 14:59:01,003 - DEBUG - Response for create_subnet : {'subnet': {'id': '32bb4460-5381-469e-84ad-849dbae0b521', 'name': '', 'tenant_id': 'c9cef0405832435ab119af87ea54b657', 'network_id': '0cc17462-3b92-4a2f-812d-a773150f0f44', 'ip_version': 4, 'cidr': '94.154.78.128/26', 'allocation_pools': [{'start': '94.154.78.130', 'end': '94.154.78.190'}], 'gateway_ip': '94.154.78.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.154.78.130', 'tags': [], 'project_id': 'c9cef0405832435ab119af87ea54b657'}} 2026-09-14 14:59:01,022 - INFO - Created VN ctest-ext_vn-12042679 2026-09-14 14:59:01,076 - DEBUG - VN ctest-ext_vn-12042679 UUID is 0cc17462-3b92-4a2f-812d-a773150f0f44 2026-09-14 14:59:01,280 - DEBUG - Services list from nova: [, , ] 2026-09-14 14:59:01,646 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6281-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6281-1) 2026-09-14 14:59:02,073 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6281-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6281-1) 2026-09-14 14:59:02,157 - INFO - Setting gateway for router b270c583-b876-4794-966a-35f5f018ac4c to network 0cc17462-3b92-4a2f-812d-a773150f0f44 2026-09-14 14:59:02,241 - INFO - Adding interface with subnet_id 14c0e1ce-c279-4b27-b881-a6c77e028aca, port_id None to router b270c583-b876-4794-966a-35f5f018ac4c 2026-09-14 14:59:02,633 - INFO - Waiting for VM ctest-TestRoutersBasic-60626878-44591760 to be up.. 2026-09-14 14:59:02,718 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-14 14:59:07,808 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-14 14:59:12,895 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-14 14:59:17,972 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-14 14:59:23,129 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-14 14:59:28,304 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-14 14:59:33,393 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-09-14 14:59:38,472 - DEBUG - VM is in ACTIVE state now 2026-09-14 14:59:38,472 - INFO - VM name : ctest-TestRoutersBasic-60626878-44591760 2026-09-14 14:59:38,551 - DEBUG - VM ctest-TestRoutersBasic-60626878-44591760 ID is 776aab0b-b88d-4e12-af89-5c476b698387 2026-09-14 14:59:38,571 - DEBUG - VM ctest-TestRoutersBasic-60626878-44591760 launched on Node cn-jenkins-deploy-platform-ansible-os-6281-1 2026-09-14 14:59:38,647 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/776aab0b-b88d-4e12-af89-5c476b698387 2026-09-14 14:59:38,970 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/776aab0b-b88d-4e12-af89-5c476b698387 2026-09-14 14:59:39,001 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/4ee18939-3091-4a7b-bf84-9fd3ffcb4178 2026-09-14 14:59:42,294 - 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 1021ms') 2026-09-14 14:59:42,294 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-60626878-44591760 failed! 2026-09-14 14:59:42,356 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60626878:ctest-vn-23886156 is 46.0.225.193 and allocation pool is NOT set 2026-09-14 14:59:44,418 - 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=8.97 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.505 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.505/4.737/8.969/4.232 ms') 2026-09-14 14:59:44,418 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-60626878-44591760 passed 2026-09-14 14:59:44,572 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-14 14:59:44,572 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60626878-44591760, IP 46.0.225.195, Port 22 2026-09-14 14:59:44,732 - DEBUG - VM ctest-TestRoutersBasic-60626878-44591760 is ready for SSH connections 2026-09-14 14:59:44,732 - INFO - Waiting for VM ctest-TestRoutersBasic-60626878-63360951 to be up.. 2026-09-14 14:59:44,819 - DEBUG - VM is in ACTIVE state now 2026-09-14 14:59:44,819 - INFO - VM name : ctest-TestRoutersBasic-60626878-63360951 2026-09-14 14:59:44,909 - DEBUG - VM ctest-TestRoutersBasic-60626878-63360951 ID is 7c071236-c8d8-41f5-8cdf-801a45a4c458 2026-09-14 14:59:44,909 - DEBUG - VM ctest-TestRoutersBasic-60626878-63360951 launched on Node cn-jenkins-deploy-platform-ansible-os-6281-1 2026-09-14 14:59:45,001 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/7c071236-c8d8-41f5-8cdf-801a45a4c458 2026-09-14 14:59:45,012 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/d57e5f0c-6ac3-482a-be75-5b80196e74b9 2026-09-14 14:59:48,285 - 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 1021ms') 2026-09-14 14:59:48,285 - DEBUG - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-60626878-63360951 failed! 2026-09-14 14:59:48,340 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-60626878:ctest-ext_vn-12042679 is 94.154.78.129 and allocation pool is NOT set 2026-09-14 14:59:50,407 - 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.71 ms\r\n64 bytes from 169.254.0.6: icmp_seq=2 ttl=63 time=0.422 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.422/2.064/3.706/1.642 ms') 2026-09-14 14:59:50,407 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-60626878-63360951 passed 2026-09-14 14:59:50,560 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-14 14:59:50,560 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-60626878-63360951, IP 94.154.78.132, Port 22 2026-09-14 14:59:50,726 - DEBUG - VM ctest-TestRoutersBasic-60626878-63360951 is ready for SSH connections 2026-09-14 14:59:50,726 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-09-14 14:59:50,726 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 94.154.78.132, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-09-14 14:59:50,726 - DEBUG - ping -s 56 -c 3 -W 1 94.154.78.132 2026-09-14 14:59:53,651 - DEBUG - PING 94.154.78.132 (94.154.78.132): 56 data bytes 64 bytes from 94.154.78.132: seq=0 ttl=62 time=7.279 ms 64 bytes from 94.154.78.132: seq=1 ttl=62 time=1.353 ms 64 bytes from 94.154.78.132: seq=2 ttl=62 time=1.394 ms --- 94.154.78.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.353/3.342/7.279 ms 2026-09-14 14:59:53,651 - INFO - Ping to IP 94.154.78.132 from VM ctest-TestRoutersBasic-60626878-44591760 passed 2026-09-14 14:59:53,651 - INFO - Deleting interface with subnet_id 14c0e1ce-c279-4b27-b881-a6c77e028aca, port_id None from router b270c583-b876-4794-966a-35f5f018ac4c 2026-09-14 14:59:53,863 - INFO - Deleting VM ctest-TestRoutersBasic-60626878-63360951 2026-09-14 14:59:53,942 - INFO - Deleting VM ctest-TestRoutersBasic-60626878-44591760 2026-09-14 14:59:54,018 - INFO - Deleting VN ctest-ext_vn-12042679 2026-09-14 14:59:54,088 - DEBUG - VN 0cc17462-3b92-4a2f-812d-a773150f0f44 still in use: Unable to complete operation on network 0cc17462-3b92-4a2f-812d-a773150f0f44. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-7edbd55f-ddc7-4714-95a7-7243ce721807'] 2026-09-14 14:59:54,088 - WARNING - Deleting VN ctest-ext_vn-12042679 failed..Will retry 2026-09-14 14:59:56,273 - DEBUG - Response for deleting network () 2026-09-14 14:59:56,273 - INFO - Deleting VN ctest-vn-23886156 2026-09-14 14:59:56,387 - DEBUG - Response for deleting network () 2026-09-14 14:59:56,642 - DEBUG - No XMPP flaps were noticed during the test 2026-09-14 14:59:56,642 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:58] 2026-09-14 14:59:56,642 - INFO - -------------------------------------------------------------------------------- 2026-09-14 14:59:57,441 - INFO - Deleted project: ctest-TestRoutersBasic-60626878, ID : c9cef040-5832-435a-b119-af87ea54b657