2025-10-06 15:54:22,904 - INFO - Domain Default found not creating
2025-10-06 15:54:23,052 - INFO - Project ctest-TestRoutersBasic-40323447 not found, creating it
2025-10-06 15:54:23,469 - INFO - Created Project:ctest-TestRoutersBasic-40323447, ID : 42be5b7d-ec4e-4b62-bbe6-f9dd2a32eeb7
2025-10-06 15:54:24,799 - INFO - ================================================================================
2025-10-06 15:54:24,799 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-06 15:54:24,799 - 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
2025-10-06 15:54:25,053 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-10-06 15:54:25,053 - INFO - Initial checks done. Running the testcase now
2025-10-06 15:54:25,053 - INFO -
2025-10-06 15:54:25,725 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-40323447
2025-10-06 15:54:25,821 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-40323447
2025-10-06 15:54:26,132 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40323447', 'default']}
2025-10-06 15:54:26,423 - DEBUG - Response for create_network : {'network': {'id': '6d7d458f-71e1-4b58-900c-d2f274b253f5', 'name': 'ctest-vn-60895743', 'tenant_id': '42be5b7dec4e4b62bbe6f9dd2a32eeb7', 'project_id': '42be5b7dec4e4b62bbe6f9dd2a32eeb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40323447', 'ctest-vn-60895743'], 'port_security_enabled': True, 'description': ''}}
2025-10-06 15:54:26,623 - DEBUG - Response for create_subnet : {'subnet': {'id': '98c4a452-1a3b-467c-8333-bfe419611bca', 'name': '', 'tenant_id': '42be5b7dec4e4b62bbe6f9dd2a32eeb7', 'network_id': '6d7d458f-71e1-4b58-900c-d2f274b253f5', 'ip_version': 4, 'cidr': '29.0.116.0/26', 'allocation_pools': [{'start': '29.0.116.2', 'end': '29.0.116.62'}], 'gateway_ip': '29.0.116.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '29.0.116.2', 'tags': [], 'project_id': '42be5b7dec4e4b62bbe6f9dd2a32eeb7'}}
2025-10-06 15:54:26,638 - INFO - Created VN ctest-vn-60895743
2025-10-06 15:54:26,689 - DEBUG - VN ctest-vn-60895743 UUID is 6d7d458f-71e1-4b58-900c-d2f274b253f5
2025-10-06 15:54:26,999 - DEBUG - Response for create_network : {'network': {'id': '4b90d1d8-ae1f-4a89-a5f1-117f117a5ada', 'name': 'ctest-ext_vn-05907356', 'tenant_id': '42be5b7dec4e4b62bbe6f9dd2a32eeb7', 'project_id': '42be5b7dec4e4b62bbe6f9dd2a32eeb7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-40323447', 'ctest-ext_vn-05907356'], 'port_security_enabled': True, 'description': ''}}
2025-10-06 15:54:27,151 - DEBUG - Response for create_subnet : {'subnet': {'id': '849b6501-3ce8-4ed2-9037-5dbf6fe22d06', 'name': '', 'tenant_id': '42be5b7dec4e4b62bbe6f9dd2a32eeb7', 'network_id': '4b90d1d8-ae1f-4a89-a5f1-117f117a5ada', 'ip_version': 4, 'cidr': '14.244.40.192/26', 'allocation_pools': [{'start': '14.244.40.194', 'end': '14.244.40.254'}], 'gateway_ip': '14.244.40.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.244.40.194', 'tags': [], 'project_id': '42be5b7dec4e4b62bbe6f9dd2a32eeb7'}}
2025-10-06 15:54:27,167 - INFO - Created VN ctest-ext_vn-05907356
2025-10-06 15:54:27,216 - DEBUG - VN ctest-ext_vn-05907356 UUID is 4b90d1d8-ae1f-4a89-a5f1-117f117a5ada
2025-10-06 15:54:27,405 - DEBUG - Services list from nova: [, , ]
2025-10-06 15:54:28,345 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4224-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4224-1)
2025-10-06 15:54:29,404 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4224-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4224-1)
2025-10-06 15:54:29,486 - INFO - Setting gateway for router e3d00a33-a3ec-4cfa-bfda-6cf5feecfc7d to network 4b90d1d8-ae1f-4a89-a5f1-117f117a5ada
2025-10-06 15:54:29,546 - INFO - Adding interface with subnet_id 98c4a452-1a3b-467c-8333-bfe419611bca, port_id None to router e3d00a33-a3ec-4cfa-bfda-6cf5feecfc7d
2025-10-06 15:54:29,781 - INFO - Waiting for VM ctest-TestRoutersBasic-40323447-97272463 to be up..
2025-10-06 15:54:29,900 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-06 15:54:34,966 - DEBUG - VM is in ACTIVE state now
2025-10-06 15:54:34,966 - INFO - VM name : ctest-TestRoutersBasic-40323447-97272463
2025-10-06 15:54:35,028 - DEBUG - VM ctest-TestRoutersBasic-40323447-97272463 ID is 6ac85d33-41aa-494f-8350-2ba8b951d254
2025-10-06 15:54:35,046 - DEBUG - VM ctest-TestRoutersBasic-40323447-97272463 launched on Node cn-jenkins-deploy-platform-ansible-os-4224-1
2025-10-06 15:54:35,112 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6ac85d33-41aa-494f-8350-2ba8b951d254
2025-10-06 15:54:35,402 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6ac85d33-41aa-494f-8350-2ba8b951d254
2025-10-06 15:54:35,437 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/df10a6c6-c05c-4d91-8487-ac4f3d8dbc80
2025-10-06 15:54:38,677 - 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 1012ms')
2025-10-06 15:54:38,678 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40323447-97272463 failed!
2025-10-06 15:54:38,733 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-40323447:ctest-vn-60895743 is 29.0.116.1 and allocation pool is NOT set
2025-10-06 15:54:40,796 - 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.66 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.453 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.453/1.557/2.662/1.104 ms')
2025-10-06 15:54:40,796 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-40323447-97272463 passed
2025-10-06 15:54:40,945 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 15:54:40,945 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40323447-97272463, IP 29.0.116.3, Port 22
2025-10-06 15:54:41,096 - DEBUG - VM ctest-TestRoutersBasic-40323447-97272463 is ready for SSH connections
2025-10-06 15:54:41,096 - INFO - Waiting for VM ctest-TestRoutersBasic-40323447-60389045 to be up..
2025-10-06 15:54:41,161 - DEBUG - VM is in ACTIVE state now
2025-10-06 15:54:41,161 - INFO - VM name : ctest-TestRoutersBasic-40323447-60389045
2025-10-06 15:54:41,225 - DEBUG - VM ctest-TestRoutersBasic-40323447-60389045 ID is 40612e81-5b1c-4a3f-b8b4-fd86cfbf0c8b
2025-10-06 15:54:41,225 - DEBUG - VM ctest-TestRoutersBasic-40323447-60389045 launched on Node cn-jenkins-deploy-platform-ansible-os-4224-1
2025-10-06 15:54:41,287 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/40612e81-5b1c-4a3f-b8b4-fd86cfbf0c8b
2025-10-06 15:54:41,294 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/bb019656-3c34-44d9-b9d9-0b3801991118
2025-10-06 15:54:42,529 - 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.78 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.389 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.389/1.586/2.784/1.197 ms')
2025-10-06 15:54:42,529 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-40323447-60389045 passed
2025-10-06 15:54:42,681 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 15:54:42,681 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-40323447-60389045, IP 14.244.40.195, Port 22
2025-10-06 15:54:42,836 - DEBUG - VM ctest-TestRoutersBasic-40323447-60389045 is ready for SSH connections
2025-10-06 15:54:42,836 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-06 15:54:42,836 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 14.244.40.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123
2025-10-06 15:54:42,836 - DEBUG - ping -s 56 -c 3 -W 1 14.244.40.195
2025-10-06 15:54:46,797 - DEBUG - PING 14.244.40.195 (14.244.40.195): 56 data bytes
64 bytes from 14.244.40.195: seq=0 ttl=62 time=4.290 ms
64 bytes from 14.244.40.195: seq=1 ttl=62 time=0.941 ms
64 bytes from 14.244.40.195: seq=2 ttl=62 time=0.726 ms
--- 14.244.40.195 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 0.726/1.985/4.290 ms
2025-10-06 15:54:46,798 - INFO - Ping to IP 14.244.40.195 from VM ctest-TestRoutersBasic-40323447-97272463 passed
2025-10-06 15:54:46,798 - INFO - Deleting interface with subnet_id 98c4a452-1a3b-467c-8333-bfe419611bca, port_id None from router e3d00a33-a3ec-4cfa-bfda-6cf5feecfc7d
2025-10-06 15:54:46,952 - INFO - Deleting VM ctest-TestRoutersBasic-40323447-60389045
2025-10-06 15:54:47,009 - INFO - Deleting VM ctest-TestRoutersBasic-40323447-97272463
2025-10-06 15:54:47,079 - INFO - Deleting VN ctest-ext_vn-05907356
2025-10-06 15:54:47,139 - DEBUG - VN 4b90d1d8-ae1f-4a89-a5f1-117f117a5ada still in use: Unable to complete operation on network 4b90d1d8-ae1f-4a89-a5f1-117f117a5ada. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-860f878d-1b1f-4b5f-ae84-845738ac1c7f']
2025-10-06 15:54:47,139 - WARNING - Deleting VN ctest-ext_vn-05907356 failed..Will retry
2025-10-06 15:54:49,226 - DEBUG - Response for deleting network ()
2025-10-06 15:54:49,226 - INFO - Deleting VN ctest-vn-60895743
2025-10-06 15:54:49,319 - DEBUG - Response for deleting network ()
2025-10-06 15:54:49,572 - DEBUG - No XMPP flaps were noticed during the test
2025-10-06 15:54:49,572 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-10-06 15:54:49,573 - INFO - --------------------------------------------------------------------------------
2025-10-06 15:54:50,214 - INFO - Deleted project: ctest-TestRoutersBasic-40323447, ID : 42be5b7d-ec4e-4b62-bbe6-f9dd2a32eeb7