2026-02-04 10:07:19,018 - INFO - Domain Default found not creating 2026-02-04 10:07:19,163 - INFO - Project ctest-TestRoutersBasic-89137504 not found, creating it 2026-02-04 10:07:19,630 - INFO - Created Project:ctest-TestRoutersBasic-89137504, ID : 9505b45a-81b6-4a13-a974-fafa9acfa58a 2026-02-04 10:07:21,076 - INFO - ================================================================================ 2026-02-04 10:07:21,076 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-04 10:07:21,076 - 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-02-04 10:07:21,335 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with 2026-02-04 10:07:21,335 - INFO - Initial checks done. Running the testcase now 2026-02-04 10:07:21,335 - INFO - 2026-02-04 10:07:22,037 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-89137504 2026-02-04 10:07:22,134 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-89137504 2026-02-04 10:07:22,453 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89137504', 'default']} 2026-02-04 10:07:22,744 - DEBUG - Response for create_network : {'network': {'id': 'cfc6e629-b577-4c04-88ab-438c27a50310', 'name': 'ctest-vn-10491204', 'tenant_id': '9505b45a81b64a13a974fafa9acfa58a', 'project_id': '9505b45a81b64a13a974fafa9acfa58a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89137504', 'ctest-vn-10491204'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:07:22,955 - DEBUG - Response for create_subnet : {'subnet': {'id': '4200bd11-b4ed-40ff-8d41-ff3da3fa1688', 'name': '', 'tenant_id': '9505b45a81b64a13a974fafa9acfa58a', 'network_id': 'cfc6e629-b577-4c04-88ab-438c27a50310', 'ip_version': 4, 'cidr': '80.230.253.0/26', 'allocation_pools': [{'start': '80.230.253.2', 'end': '80.230.253.62'}], 'gateway_ip': '80.230.253.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '80.230.253.2', 'tags': [], 'project_id': '9505b45a81b64a13a974fafa9acfa58a'}} 2026-02-04 10:07:22,973 - INFO - Created VN ctest-vn-10491204 2026-02-04 10:07:23,021 - DEBUG - VN ctest-vn-10491204 UUID is cfc6e629-b577-4c04-88ab-438c27a50310 2026-02-04 10:07:23,341 - DEBUG - Response for create_network : {'network': {'id': '7d95b199-a660-4608-96ac-0603827bf118', 'name': 'ctest-ext_vn-36374052', 'tenant_id': '9505b45a81b64a13a974fafa9acfa58a', 'project_id': '9505b45a81b64a13a974fafa9acfa58a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-89137504', 'ctest-ext_vn-36374052'], 'port_security_enabled': True, 'description': ''}} 2026-02-04 10:07:23,520 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a21c5c8-f90b-470f-b131-94ea1b5e3718', 'name': '', 'tenant_id': '9505b45a81b64a13a974fafa9acfa58a', 'network_id': '7d95b199-a660-4608-96ac-0603827bf118', 'ip_version': 4, 'cidr': '176.33.160.192/26', 'allocation_pools': [{'start': '176.33.160.194', 'end': '176.33.160.254'}], 'gateway_ip': '176.33.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.33.160.194', 'tags': [], 'project_id': '9505b45a81b64a13a974fafa9acfa58a'}} 2026-02-04 10:07:23,536 - INFO - Created VN ctest-ext_vn-36374052 2026-02-04 10:07:23,585 - DEBUG - VN ctest-ext_vn-36374052 UUID is 7d95b199-a660-4608-96ac-0603827bf118 2026-02-04 10:07:23,784 - DEBUG - Services list from nova: [, , ] 2026-02-04 10:07:24,759 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5201-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5201-1) 2026-02-04 10:07:25,874 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5201-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5201-1) 2026-02-04 10:07:25,931 - INFO - Setting gateway for router eb6cd233-db09-465f-93f4-09462219a1dc to network 7d95b199-a660-4608-96ac-0603827bf118 2026-02-04 10:07:25,999 - INFO - Adding interface with subnet_id 4200bd11-b4ed-40ff-8d41-ff3da3fa1688, port_id None to router eb6cd233-db09-465f-93f4-09462219a1dc 2026-02-04 10:07:26,266 - INFO - Waiting for VM ctest-TestRoutersBasic-89137504-58265086 to be up.. 2026-02-04 10:07:26,402 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-04 10:07:31,470 - DEBUG - VM is in ACTIVE state now 2026-02-04 10:07:31,471 - INFO - VM name : ctest-TestRoutersBasic-89137504-58265086 2026-02-04 10:07:31,538 - DEBUG - VM ctest-TestRoutersBasic-89137504-58265086 ID is 3b123c14-a62a-4b7e-98e2-6bf2e8c1aef6 2026-02-04 10:07:31,557 - DEBUG - VM ctest-TestRoutersBasic-89137504-58265086 launched on Node cn-jenkins-deploy-platform-ansible-os-5201-1 2026-02-04 10:07:31,623 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/3b123c14-a62a-4b7e-98e2-6bf2e8c1aef6 2026-02-04 10:07:31,915 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/3b123c14-a62a-4b7e-98e2-6bf2e8c1aef6 2026-02-04 10:07:31,946 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/19110543-d443-44d2-9342-be323195104a 2026-02-04 10:07:35,190 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1007ms') 2026-02-04 10:07:35,190 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89137504-58265086 failed! 2026-02-04 10:07:35,245 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-89137504:ctest-vn-10491204 is 80.230.253.1 and allocation pool is NOT set 2026-02-04 10:07:37,308 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.37 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.401 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.401/1.887/3.373/1.486 ms') 2026-02-04 10:07:37,308 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-89137504-58265086 passed 2026-02-04 10:07:37,457 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:07:37,457 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89137504-58265086, IP 80.230.253.3, Port 22 2026-02-04 10:07:37,612 - DEBUG - VM ctest-TestRoutersBasic-89137504-58265086 is ready for SSH connections 2026-02-04 10:07:37,612 - INFO - Waiting for VM ctest-TestRoutersBasic-89137504-93827734 to be up.. 2026-02-04 10:07:37,685 - DEBUG - VM is in ACTIVE state now 2026-02-04 10:07:37,685 - INFO - VM name : ctest-TestRoutersBasic-89137504-93827734 2026-02-04 10:07:37,755 - DEBUG - VM ctest-TestRoutersBasic-89137504-93827734 ID is a3e55469-183b-4ebb-abbf-4e29a0010ac3 2026-02-04 10:07:37,755 - DEBUG - VM ctest-TestRoutersBasic-89137504-93827734 launched on Node cn-jenkins-deploy-platform-ansible-os-5201-1 2026-02-04 10:07:37,824 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine/a3e55469-183b-4ebb-abbf-4e29a0010ac3 2026-02-04 10:07:37,831 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-machine-interface/a37b5e33-dc62-447d-9ecc-c94ad015fa16 2026-02-04 10:07:39,061 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.440 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.440/1.657/2.874/1.217 ms') 2026-02-04 10:07:39,061 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-89137504-93827734 passed 2026-02-04 10:07:39,209 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:07:39,210 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-89137504-93827734, IP 176.33.160.195, Port 22 2026-02-04 10:07:39,391 - DEBUG - VM ctest-TestRoutersBasic-89137504-93827734 is ready for SSH connections 2026-02-04 10:07:39,391 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-04 10:07:39,391 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 176.33.160.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.141, gateway password: c0ntrail123 2026-02-04 10:07:39,391 - DEBUG - ping -s 56 -c 3 -W 1 176.33.160.195 2026-02-04 10:07:43,073 - DEBUG - PING 176.33.160.195 (176.33.160.195): 56 data bytes 64 bytes from 176.33.160.195: seq=0 ttl=62 time=5.031 ms 64 bytes from 176.33.160.195: seq=1 ttl=62 time=0.963 ms 64 bytes from 176.33.160.195: seq=2 ttl=62 time=0.852 ms --- 176.33.160.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.852/2.282/5.031 ms 2026-02-04 10:07:43,073 - INFO - Ping to IP 176.33.160.195 from VM ctest-TestRoutersBasic-89137504-58265086 passed 2026-02-04 10:07:43,073 - INFO - Deleting interface with subnet_id 4200bd11-b4ed-40ff-8d41-ff3da3fa1688, port_id None from router eb6cd233-db09-465f-93f4-09462219a1dc 2026-02-04 10:07:43,298 - INFO - Deleting VM ctest-TestRoutersBasic-89137504-93827734 2026-02-04 10:07:43,372 - INFO - Deleting VM ctest-TestRoutersBasic-89137504-58265086 2026-02-04 10:07:43,453 - INFO - Deleting VN ctest-ext_vn-36374052 2026-02-04 10:07:43,512 - DEBUG - VN 7d95b199-a660-4608-96ac-0603827bf118 still in use: Unable to complete operation on network 7d95b199-a660-4608-96ac-0603827bf118. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-539a7cf3-cecf-4253-aea8-a61131131117'] 2026-02-04 10:07:43,512 - WARNING - Deleting VN ctest-ext_vn-36374052 failed..Will retry 2026-02-04 10:07:45,601 - DEBUG - Response for deleting network () 2026-02-04 10:07:45,601 - INFO - Deleting VN ctest-vn-10491204 2026-02-04 10:07:45,688 - DEBUG - Response for deleting network () 2026-02-04 10:07:45,946 - DEBUG - No XMPP flaps were noticed during the test 2026-02-04 10:07:45,946 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:24] 2026-02-04 10:07:45,946 - INFO - -------------------------------------------------------------------------------- 2026-02-04 10:07:46,634 - INFO - Deleted project: ctest-TestRoutersBasic-89137504, ID : 9505b45a-81b6-4a13-a974-fafa9acfa58a