2026-02-19 23:33:40,145 - INFO - Domain Default found not creating 2026-02-19 23:33:40,296 - INFO - Project ctest-TestRoutersBasic-90888158 not found, creating it 2026-02-19 23:33:40,747 - INFO - Created Project:ctest-TestRoutersBasic-90888158, ID : 2bb717cd-0437-4e44-a3cb-f5f5d8872ee4 2026-02-19 23:33:42,186 - INFO - ================================================================================ 2026-02-19 23:33:42,186 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-02-19 23:33:42,186 - 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-19 23:33:42,451 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with 2026-02-19 23:33:42,451 - INFO - Initial checks done. Running the testcase now 2026-02-19 23:33:42,452 - INFO - 2026-02-19 23:33:43,164 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-90888158 2026-02-19 23:33:43,257 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-90888158 2026-02-19 23:33:43,573 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90888158', 'default']} 2026-02-19 23:33:43,856 - DEBUG - Response for create_network : {'network': {'id': '7b8f2dc1-c7cc-4088-836a-943d7584df6c', 'name': 'ctest-vn-94532231', 'tenant_id': '2bb717cd04374e44a3cbf5f5d8872ee4', 'project_id': '2bb717cd04374e44a3cbf5f5d8872ee4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90888158', 'ctest-vn-94532231'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 23:33:44,031 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da73c849-26cc-4931-9328-159e3b87667c', 'name': '', 'tenant_id': '2bb717cd04374e44a3cbf5f5d8872ee4', 'network_id': '7b8f2dc1-c7cc-4088-836a-943d7584df6c', 'ip_version': 4, 'cidr': '187.84.196.128/26', 'allocation_pools': [{'start': '187.84.196.130', 'end': '187.84.196.190'}], 'gateway_ip': '187.84.196.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '187.84.196.130', 'tags': [], 'project_id': '2bb717cd04374e44a3cbf5f5d8872ee4'}} 2026-02-19 23:33:44,049 - INFO - Created VN ctest-vn-94532231 2026-02-19 23:33:44,102 - DEBUG - VN ctest-vn-94532231 UUID is 7b8f2dc1-c7cc-4088-836a-943d7584df6c 2026-02-19 23:33:44,440 - DEBUG - Response for create_network : {'network': {'id': '31714da4-7cdb-4f1a-b843-e61eec818ffe', 'name': 'ctest-ext_vn-51100390', 'tenant_id': '2bb717cd04374e44a3cbf5f5d8872ee4', 'project_id': '2bb717cd04374e44a3cbf5f5d8872ee4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-90888158', 'ctest-ext_vn-51100390'], 'port_security_enabled': True, 'description': ''}} 2026-02-19 23:33:44,593 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c5258254-5721-454f-b9ed-3d9a2666d00f', 'name': '', 'tenant_id': '2bb717cd04374e44a3cbf5f5d8872ee4', 'network_id': '31714da4-7cdb-4f1a-b843-e61eec818ffe', 'ip_version': 4, 'cidr': '48.161.33.64/26', 'allocation_pools': [{'start': '48.161.33.66', 'end': '48.161.33.126'}], 'gateway_ip': '48.161.33.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '48.161.33.66', 'tags': [], 'project_id': '2bb717cd04374e44a3cbf5f5d8872ee4'}} 2026-02-19 23:33:44,611 - INFO - Created VN ctest-ext_vn-51100390 2026-02-19 23:33:44,661 - DEBUG - VN ctest-ext_vn-51100390 UUID is 31714da4-7cdb-4f1a-b843-e61eec818ffe 2026-02-19 23:33:44,851 - DEBUG - Services list from nova: [, , ] 2026-02-19 23:33:45,851 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5364-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5364-1) 2026-02-19 23:33:46,944 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5364-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5364-1) 2026-02-19 23:33:46,991 - INFO - Setting gateway for router 7d87f92a-28df-44e5-bde6-de0571d3f813 to network 31714da4-7cdb-4f1a-b843-e61eec818ffe 2026-02-19 23:33:47,045 - INFO - Adding interface with subnet_id da73c849-26cc-4931-9328-159e3b87667c, port_id None to router 7d87f92a-28df-44e5-bde6-de0571d3f813 2026-02-19 23:33:47,310 - INFO - Waiting for VM ctest-TestRoutersBasic-90888158-43201218 to be up.. 2026-02-19 23:33:47,454 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-02-19 23:33:52,518 - DEBUG - VM is in ACTIVE state now 2026-02-19 23:33:52,518 - INFO - VM name : ctest-TestRoutersBasic-90888158-43201218 2026-02-19 23:33:52,584 - DEBUG - VM ctest-TestRoutersBasic-90888158-43201218 ID is db3b4d74-452d-47af-9ed8-4b85a0175e34 2026-02-19 23:33:52,608 - DEBUG - VM ctest-TestRoutersBasic-90888158-43201218 launched on Node cn-jenkins-deploy-platform-ansible-os-5364-1 2026-02-19 23:33:52,685 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/db3b4d74-452d-47af-9ed8-4b85a0175e34 2026-02-19 23:33:52,981 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/db3b4d74-452d-47af-9ed8-4b85a0175e34 2026-02-19 23:33:53,009 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/677e796d-96f2-46fb-b9b9-b137d41f678b 2026-02-19 23:33:56,256 - 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 1020ms') 2026-02-19 23:33:56,256 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90888158-43201218 failed! 2026-02-19 23:33:56,309 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-90888158:ctest-vn-94532231 is 187.84.196.129 and allocation pool is NOT set 2026-02-19 23:33:58,368 - 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=2.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.420 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.420/1.562/2.704/1.142 ms') 2026-02-19 23:33:58,368 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-90888158-43201218 passed 2026-02-19 23:33:58,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 23:33:58,521 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90888158-43201218, IP 187.84.196.131, Port 22 2026-02-19 23:33:58,685 - DEBUG - VM ctest-TestRoutersBasic-90888158-43201218 is ready for SSH connections 2026-02-19 23:33:58,685 - INFO - Waiting for VM ctest-TestRoutersBasic-90888158-78787832 to be up.. 2026-02-19 23:33:58,764 - DEBUG - VM is in ACTIVE state now 2026-02-19 23:33:58,764 - INFO - VM name : ctest-TestRoutersBasic-90888158-78787832 2026-02-19 23:33:58,833 - DEBUG - VM ctest-TestRoutersBasic-90888158-78787832 ID is f9285425-24b1-47f5-acfd-a5b80d172aec 2026-02-19 23:33:58,834 - DEBUG - VM ctest-TestRoutersBasic-90888158-78787832 launched on Node cn-jenkins-deploy-platform-ansible-os-5364-1 2026-02-19 23:33:58,899 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/f9285425-24b1-47f5-acfd-a5b80d172aec 2026-02-19 23:33:58,905 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/b71d5818-412f-4f66-b2fb-679ec8c91e74 2026-02-19 23:34:00,131 - 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.72 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.375 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.375/1.547/2.720/1.172 ms') 2026-02-19 23:34:00,131 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-90888158-78787832 passed 2026-02-19 23:34:00,281 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 23:34:00,281 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-90888158-78787832, IP 48.161.33.67, Port 22 2026-02-19 23:34:00,444 - DEBUG - VM ctest-TestRoutersBasic-90888158-78787832 is ready for SSH connections 2026-02-19 23:34:00,444 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-02-19 23:34:00,445 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 48.161.33.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2026-02-19 23:34:00,445 - DEBUG - ping -s 56 -c 3 -W 1 48.161.33.67 2026-02-19 23:34:04,388 - DEBUG - PING 48.161.33.67 (48.161.33.67): 56 data bytes 64 bytes from 48.161.33.67: seq=0 ttl=62 time=4.665 ms 64 bytes from 48.161.33.67: seq=1 ttl=62 time=0.850 ms 64 bytes from 48.161.33.67: seq=2 ttl=62 time=0.943 ms --- 48.161.33.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.850/2.152/4.665 ms 2026-02-19 23:34:04,388 - INFO - Ping to IP 48.161.33.67 from VM ctest-TestRoutersBasic-90888158-43201218 passed 2026-02-19 23:34:04,388 - INFO - Deleting interface with subnet_id da73c849-26cc-4931-9328-159e3b87667c, port_id None from router 7d87f92a-28df-44e5-bde6-de0571d3f813 2026-02-19 23:34:04,580 - INFO - Deleting VM ctest-TestRoutersBasic-90888158-78787832 2026-02-19 23:34:04,654 - INFO - Deleting VM ctest-TestRoutersBasic-90888158-43201218 2026-02-19 23:34:04,733 - INFO - Deleting VN ctest-ext_vn-51100390 2026-02-19 23:34:04,812 - DEBUG - VN 31714da4-7cdb-4f1a-b843-e61eec818ffe still in use: Unable to complete operation on network 31714da4-7cdb-4f1a-b843-e61eec818ffe. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8186481d-8ab4-49fa-9673-92fa590aa40e'] 2026-02-19 23:34:04,812 - WARNING - Deleting VN ctest-ext_vn-51100390 failed..Will retry 2026-02-19 23:34:06,914 - DEBUG - Response for deleting network () 2026-02-19 23:34:06,914 - INFO - Deleting VN ctest-vn-94532231 2026-02-19 23:34:07,010 - DEBUG - Response for deleting network () 2026-02-19 23:34:07,272 - DEBUG - No XMPP flaps were noticed during the test
2026-02-19 23:34:07,272 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2026-02-19 23:34:07,272 - INFO - -------------------------------------------------------------------------------- 2026-02-19 23:34:07,934 - INFO - Deleted project: ctest-TestRoutersBasic-90888158, ID : 2bb717cd-0437-4e44-a3cb-f5f5d8872ee4