2026-08-17 02:27:01,489 - INFO - Domain Default found not creating 2026-08-17 02:27:02,000 - INFO - Project ctest-TestRoutersBasic-65660530 not found, creating it 2026-08-17 02:27:02,467 - INFO - Created Project:ctest-TestRoutersBasic-65660530, ID : 4fe30aa2-57ec-4b3b-8e7c-2ea57ea6bdd2 2026-08-17 02:27:03,936 - INFO - ================================================================================ 2026-08-17 02:27:03,936 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2026-08-17 02:27:03,936 - 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-08-17 02:27:04,194 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.17': '0'}} with 2026-08-17 02:27:04,194 - INFO - Initial checks done. Running the testcase now 2026-08-17 02:27:04,194 - INFO - 2026-08-17 02:27:04,963 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-65660530 2026-08-17 02:27:05,064 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-65660530 2026-08-17 02:27:05,408 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65660530', 'default']} 2026-08-17 02:27:05,728 - DEBUG - Response for create_network : {'network': {'id': 'debad20c-68ed-48c5-989b-e537c4e50b6a', 'name': 'ctest-vn-55974521', 'tenant_id': '4fe30aa257ec4b3b8e7c2ea57ea6bdd2', 'project_id': '4fe30aa257ec4b3b8e7c2ea57ea6bdd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65660530', 'ctest-vn-55974521'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 02:27:05,931 - DEBUG - Response for create_subnet : {'subnet': {'id': '183f1708-de64-47af-b8b9-3ef7f53eabd7', 'name': '', 'tenant_id': '4fe30aa257ec4b3b8e7c2ea57ea6bdd2', 'network_id': 'debad20c-68ed-48c5-989b-e537c4e50b6a', 'ip_version': 4, 'cidr': '191.149.132.128/26', 'allocation_pools': [{'start': '191.149.132.130', 'end': '191.149.132.190'}], 'gateway_ip': '191.149.132.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.149.132.130', 'tags': [], 'project_id': '4fe30aa257ec4b3b8e7c2ea57ea6bdd2'}} 2026-08-17 02:27:05,949 - INFO - Created VN ctest-vn-55974521 2026-08-17 02:27:06,000 - DEBUG - VN ctest-vn-55974521 UUID is debad20c-68ed-48c5-989b-e537c4e50b6a 2026-08-17 02:27:06,401 - DEBUG - Response for create_network : {'network': {'id': '4f1f5255-07d8-4d65-8165-bda8a01a062d', 'name': 'ctest-ext_vn-22936067', 'tenant_id': '4fe30aa257ec4b3b8e7c2ea57ea6bdd2', 'project_id': '4fe30aa257ec4b3b8e7c2ea57ea6bdd2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-65660530', 'ctest-ext_vn-22936067'], 'port_security_enabled': True, 'description': ''}} 2026-08-17 02:27:06,627 - DEBUG - Response for create_subnet : {'subnet': {'id': '5b9436c6-e48f-4817-bfd6-3cddfa390b41', 'name': '', 'tenant_id': '4fe30aa257ec4b3b8e7c2ea57ea6bdd2', 'network_id': '4f1f5255-07d8-4d65-8165-bda8a01a062d', 'ip_version': 4, 'cidr': '23.249.191.64/26', 'allocation_pools': [{'start': '23.249.191.66', 'end': '23.249.191.126'}], 'gateway_ip': '23.249.191.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.249.191.66', 'tags': [], 'project_id': '4fe30aa257ec4b3b8e7c2ea57ea6bdd2'}} 2026-08-17 02:27:06,643 - INFO - Created VN ctest-ext_vn-22936067 2026-08-17 02:27:06,696 - DEBUG - VN ctest-ext_vn-22936067 UUID is 4f1f5255-07d8-4d65-8165-bda8a01a062d 2026-08-17 02:27:06,892 - DEBUG - Services list from nova: [, , ] 2026-08-17 02:27:07,205 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6168-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6168-1) 2026-08-17 02:27:07,569 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-6168-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-6168-1) 2026-08-17 02:27:07,637 - INFO - Setting gateway for router df85c06a-8ec6-4c83-880a-f7227650c164 to network 4f1f5255-07d8-4d65-8165-bda8a01a062d 2026-08-17 02:27:07,708 - INFO - Adding interface with subnet_id 183f1708-de64-47af-b8b9-3ef7f53eabd7, port_id None to router df85c06a-8ec6-4c83-880a-f7227650c164 2026-08-17 02:27:08,021 - INFO - Waiting for VM ctest-TestRoutersBasic-65660530-68453060 to be up.. 2026-08-17 02:27:08,076 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 02:27:13,146 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 02:27:18,227 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 02:27:23,306 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 02:27:28,383 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 02:27:33,532 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 02:27:38,603 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-08-17 02:27:43,672 - DEBUG - VM is in ACTIVE state now 2026-08-17 02:27:43,672 - INFO - VM name : ctest-TestRoutersBasic-65660530-68453060 2026-08-17 02:27:43,740 - DEBUG - VM ctest-TestRoutersBasic-65660530-68453060 ID is e10a072d-d5c7-4620-be76-602a44420267 2026-08-17 02:27:43,758 - DEBUG - VM ctest-TestRoutersBasic-65660530-68453060 launched on Node cn-jenkins-deploy-platform-ansible-os-6168-1 2026-08-17 02:27:43,827 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/e10a072d-d5c7-4620-be76-602a44420267 2026-08-17 02:27:44,146 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/e10a072d-d5c7-4620-be76-602a44420267 2026-08-17 02:27:44,173 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/a4d8bd39-8123-43b5-a1fc-3b9da1b8e336 2026-08-17 02:27:47,442 - 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 1022ms') 2026-08-17 02:27:47,442 - DEBUG - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-65660530-68453060 failed! 2026-08-17 02:27:47,496 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-65660530:ctest-vn-55974521 is 191.149.132.129 and allocation pool is NOT set 2026-08-17 02:27:49,556 - 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=11.8 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.553 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.553/6.185/11.817/5.632 ms') 2026-08-17 02:27:49,556 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestRoutersBasic-65660530-68453060 passed 2026-08-17 02:27:49,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 02:27:49,708 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65660530-68453060, IP 191.149.132.131, Port 22 2026-08-17 02:27:49,867 - DEBUG - VM ctest-TestRoutersBasic-65660530-68453060 is ready for SSH connections 2026-08-17 02:27:49,867 - INFO - Waiting for VM ctest-TestRoutersBasic-65660530-30852657 to be up.. 2026-08-17 02:27:49,943 - DEBUG - VM is in ACTIVE state now 2026-08-17 02:27:49,943 - INFO - VM name : ctest-TestRoutersBasic-65660530-30852657 2026-08-17 02:27:50,049 - DEBUG - VM ctest-TestRoutersBasic-65660530-30852657 ID is 1423e2ff-9001-494e-b92a-498ced7205cb 2026-08-17 02:27:50,049 - DEBUG - VM ctest-TestRoutersBasic-65660530-30852657 launched on Node cn-jenkins-deploy-platform-ansible-os-6168-1 2026-08-17 02:27:50,132 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine/1423e2ff-9001-494e-b92a-498ced7205cb 2026-08-17 02:27:50,142 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-machine-interface/5e88038c-f2b2-46af-9ec0-77220e7eb914 2026-08-17 02:27:53,392 - 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=2 ttl=63 time=12.4 ms\r\n\r\n--- 169.254.0.6 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1006ms\r\nrtt min/avg/max/mdev = 12.380/12.380/12.380/0.000 ms') 2026-08-17 02:27:53,392 - INFO - Ping to Metadata IP 169.254.0.6 of VM ctest-TestRoutersBasic-65660530-30852657 passed 2026-08-17 02:27:53,544 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 02:27:53,544 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-65660530-30852657, IP 23.249.191.68, Port 22 2026-08-17 02:27:53,710 - DEBUG - VM ctest-TestRoutersBasic-65660530-30852657 is ready for SSH connections 2026-08-17 02:27:53,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-08-17 02:27:53,711 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 23.249.191.68, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.189, gateway password: c0ntrail123 2026-08-17 02:27:53,711 - DEBUG - ping -s 56 -c 3 -W 1 23.249.191.68 2026-08-17 02:27:56,597 - DEBUG - PING 23.249.191.68 (23.249.191.68): 56 data bytes 64 bytes from 23.249.191.68: seq=0 ttl=62 time=6.789 ms 64 bytes from 23.249.191.68: seq=1 ttl=62 time=0.918 ms 64 bytes from 23.249.191.68: seq=2 ttl=62 time=1.104 ms --- 23.249.191.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.918/2.937/6.789 ms 2026-08-17 02:27:56,597 - INFO - Ping to IP 23.249.191.68 from VM ctest-TestRoutersBasic-65660530-68453060 passed 2026-08-17 02:27:56,597 - INFO - Deleting interface with subnet_id 183f1708-de64-47af-b8b9-3ef7f53eabd7, port_id None from router df85c06a-8ec6-4c83-880a-f7227650c164 2026-08-17 02:27:56,799 - INFO - Deleting VM ctest-TestRoutersBasic-65660530-30852657 2026-08-17 02:27:56,874 - INFO - Deleting VM ctest-TestRoutersBasic-65660530-68453060 2026-08-17 02:27:56,962 - INFO - Deleting VN ctest-ext_vn-22936067 2026-08-17 02:27:57,036 - DEBUG - VN 4f1f5255-07d8-4d65-8165-bda8a01a062d still in use: Unable to complete operation on network 4f1f5255-07d8-4d65-8165-bda8a01a062d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e1b35cb3-3fca-4a10-beb5-ce1b050d79e0'] 2026-08-17 02:27:57,036 - WARNING - Deleting VN ctest-ext_vn-22936067 failed..Will retry 2026-08-17 02:27:59,073 - DEBUG - VN 4f1f5255-07d8-4d65-8165-bda8a01a062d still in use: Unable to complete operation on network 4f1f5255-07d8-4d65-8165-bda8a01a062d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1c5fc2dd-a257-42bb-94b1-6a576532579e'] 2026-08-17 02:27:59,073 - WARNING - Deleting VN ctest-ext_vn-22936067 failed..Will retry 2026-08-17 02:28:01,167 - DEBUG - Response for deleting network () 2026-08-17 02:28:01,167 - INFO - Deleting VN ctest-vn-55974521 2026-08-17 02:28:01,273 - DEBUG - Response for deleting network () 2026-08-17 02:28:01,539 - DEBUG - No XMPP flaps were noticed during the test 2026-08-17 02:28:01,539 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:58] 2026-08-17 02:28:01,539 - INFO - -------------------------------------------------------------------------------- 2026-08-17 02:28:02,635 - INFO - Deleted project: ctest-TestRoutersBasic-65660530, ID : 4fe30aa2-57ec-4b3b-8e7c-2ea57ea6bdd2