2025-10-16 02:17:03,203 - INFO - Domain Default found not creating
2025-10-16 02:17:03,353 - INFO - Project ctest-TestRoutersBasic-31076947 not found, creating it
2025-10-16 02:17:03,815 - INFO - Created Project:ctest-TestRoutersBasic-31076947, ID : d6145348-21d9-4447-8cc4-163579c158c0
2025-10-16 02:17:05,327 - INFO - ================================================================================
2025-10-16 02:17:05,327 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity
2025-10-16 02:17:05,328 - 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-16 02:17:05,583 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.253': '0'}} with
2025-10-16 02:17:05,583 - INFO - Initial checks done. Running the testcase now
2025-10-16 02:17:05,583 - INFO -
2025-10-16 02:17:06,315 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-31076947
2025-10-16 02:17:06,412 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-31076947
2025-10-16 02:17:06,737 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31076947', 'default']}
2025-10-16 02:17:07,034 - DEBUG - Response for create_network : {'network': {'id': '3787aa03-d6c5-474d-86a2-e49ce60250f9', 'name': 'ctest-vn-04537667', 'tenant_id': 'd614534821d944478cc4163579c158c0', 'project_id': 'd614534821d944478cc4163579c158c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31076947', 'ctest-vn-04537667'], 'port_security_enabled': True, 'description': ''}}
2025-10-16 02:17:07,190 - DEBUG - Response for create_subnet : {'subnet': {'id': '358046c5-8ce9-4d52-be0c-ffee085b85de', 'name': '', 'tenant_id': 'd614534821d944478cc4163579c158c0', 'network_id': '3787aa03-d6c5-474d-86a2-e49ce60250f9', 'ip_version': 4, 'cidr': '111.42.62.64/26', 'allocation_pools': [{'start': '111.42.62.66', 'end': '111.42.62.126'}], 'gateway_ip': '111.42.62.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.42.62.66', 'tags': [], 'project_id': 'd614534821d944478cc4163579c158c0'}}
2025-10-16 02:17:07,208 - INFO - Created VN ctest-vn-04537667
2025-10-16 02:17:07,260 - DEBUG - VN ctest-vn-04537667 UUID is 3787aa03-d6c5-474d-86a2-e49ce60250f9
2025-10-16 02:17:07,600 - DEBUG - Response for create_network : {'network': {'id': '96aafd51-c30a-4f0c-84ae-456243e6caba', 'name': 'ctest-ext_vn-24144165', 'tenant_id': 'd614534821d944478cc4163579c158c0', 'project_id': 'd614534821d944478cc4163579c158c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-31076947', 'ctest-ext_vn-24144165'], 'port_security_enabled': True, 'description': ''}}
2025-10-16 02:17:07,755 - DEBUG - Response for create_subnet : {'subnet': {'id': '51fba489-86e9-4243-9277-af5c09130ba1', 'name': '', 'tenant_id': 'd614534821d944478cc4163579c158c0', 'network_id': '96aafd51-c30a-4f0c-84ae-456243e6caba', 'ip_version': 4, 'cidr': '27.162.216.64/26', 'allocation_pools': [{'start': '27.162.216.66', 'end': '27.162.216.126'}], 'gateway_ip': '27.162.216.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.162.216.66', 'tags': [], 'project_id': 'd614534821d944478cc4163579c158c0'}}
2025-10-16 02:17:07,772 - INFO - Created VN ctest-ext_vn-24144165
2025-10-16 02:17:07,824 - DEBUG - VN ctest-ext_vn-24144165 UUID is 96aafd51-c30a-4f0c-84ae-456243e6caba
2025-10-16 02:17:07,994 - DEBUG - Services list from nova: [, , ]
2025-10-16 02:17:09,058 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4338-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4338-1)
2025-10-16 02:17:10,245 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4338-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4338-1)
2025-10-16 02:17:10,333 - INFO - Setting gateway for router d50a6299-7517-4d3b-bb91-658d9b2716b2 to network 96aafd51-c30a-4f0c-84ae-456243e6caba
2025-10-16 02:17:10,397 - INFO - Adding interface with subnet_id 358046c5-8ce9-4d52-be0c-ffee085b85de, port_id None to router d50a6299-7517-4d3b-bb91-658d9b2716b2
2025-10-16 02:17:10,686 - INFO - Waiting for VM ctest-TestRoutersBasic-31076947-83256512 to be up..
2025-10-16 02:17:10,815 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-10-16 02:17:15,910 - DEBUG - VM is in ACTIVE state now
2025-10-16 02:17:15,910 - INFO - VM name : ctest-TestRoutersBasic-31076947-83256512
2025-10-16 02:17:15,995 - DEBUG - VM ctest-TestRoutersBasic-31076947-83256512 ID is 5a556ed7-2794-4aab-a81e-746b3d0a0437
2025-10-16 02:17:16,015 - DEBUG - VM ctest-TestRoutersBasic-31076947-83256512 launched on Node cn-jenkins-deploy-platform-ansible-os-4338-1
2025-10-16 02:17:16,094 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/5a556ed7-2794-4aab-a81e-746b3d0a0437
2025-10-16 02:17:16,392 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/5a556ed7-2794-4aab-a81e-746b3d0a0437
2025-10-16 02:17:16,423 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/9aa60f54-4861-4284-81ff-82c737f28a22
2025-10-16 02:17:19,675 - 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 1002ms')
2025-10-16 02:17:19,675 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31076947-83256512 failed!
2025-10-16 02:17:19,732 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-31076947:ctest-vn-04537667 is 111.42.62.65 and allocation pool is NOT set
2025-10-16 02:17:21,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=5.85 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.42 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 = 1.415/3.630/5.845/2.215 ms')
2025-10-16 02:17:21,797 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-31076947-83256512 passed
2025-10-16 02:17:21,948 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 02:17:21,948 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31076947-83256512, IP 111.42.62.67, Port 22
2025-10-16 02:17:22,019 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-10-16 02:17:22,105 - DEBUG - VM ctest-TestRoutersBasic-31076947-83256512 is NOT ready for SSH connections, VM status: ACTIVE
2025-10-16 02:17:27,106 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 02:17:27,106 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31076947-83256512, IP 111.42.62.67, Port 22
2025-10-16 02:17:27,273 - DEBUG - VM ctest-TestRoutersBasic-31076947-83256512 is ready for SSH connections
2025-10-16 02:17:27,274 - INFO - Waiting for VM ctest-TestRoutersBasic-31076947-99934079 to be up..
2025-10-16 02:17:27,349 - DEBUG - VM is in ACTIVE state now
2025-10-16 02:17:27,350 - INFO - VM name : ctest-TestRoutersBasic-31076947-99934079
2025-10-16 02:17:27,427 - DEBUG - VM ctest-TestRoutersBasic-31076947-99934079 ID is 440041b8-9416-4fdf-b9d9-fced2f1feabb
2025-10-16 02:17:27,427 - DEBUG - VM ctest-TestRoutersBasic-31076947-99934079 launched on Node cn-jenkins-deploy-platform-ansible-os-4338-1
2025-10-16 02:17:27,503 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine/440041b8-9416-4fdf-b9d9-fced2f1feabb
2025-10-16 02:17:27,512 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-machine-interface/3a8046e6-80d0-46c3-852d-9d8e5a30f9b0
2025-10-16 02:17:28,762 - 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.86 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.452 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.452/1.658/2.864/1.206 ms')
2025-10-16 02:17:28,762 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-31076947-99934079 passed
2025-10-16 02:17:28,912 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 02:17:28,912 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-31076947-99934079, IP 27.162.216.67, Port 22
2025-10-16 02:17:29,071 - DEBUG - VM ctest-TestRoutersBasic-31076947-99934079 is ready for SSH connections
2025-10-16 02:17:29,072 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-10-16 02:17:29,072 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 27.162.216.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.73, gateway password: c0ntrail123
2025-10-16 02:17:29,072 - DEBUG - ping -s 56 -c 3 -W 1 27.162.216.67
2025-10-16 02:17:33,142 - DEBUG - PING 27.162.216.67 (27.162.216.67): 56 data bytes
64 bytes from 27.162.216.67: seq=0 ttl=62 time=7.340 ms
64 bytes from 27.162.216.67: seq=1 ttl=62 time=1.039 ms
64 bytes from 27.162.216.67: seq=2 ttl=62 time=1.123 ms
--- 27.162.216.67 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 1.039/3.167/7.340 ms
2025-10-16 02:17:33,142 - INFO - Ping to IP 27.162.216.67 from VM ctest-TestRoutersBasic-31076947-83256512 passed
2025-10-16 02:17:33,142 - INFO - Deleting interface with subnet_id 358046c5-8ce9-4d52-be0c-ffee085b85de, port_id None from router d50a6299-7517-4d3b-bb91-658d9b2716b2
2025-10-16 02:17:33,341 - INFO - Deleting VM ctest-TestRoutersBasic-31076947-99934079
2025-10-16 02:17:33,422 - INFO - Deleting VM ctest-TestRoutersBasic-31076947-83256512
2025-10-16 02:17:33,503 - INFO - Deleting VN ctest-ext_vn-24144165
2025-10-16 02:17:33,581 - DEBUG - VN 96aafd51-c30a-4f0c-84ae-456243e6caba still in use: Unable to complete operation on network 96aafd51-c30a-4f0c-84ae-456243e6caba. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-59088040-3d25-4a10-b338-b37a3dd079af']
2025-10-16 02:17:33,581 - WARNING - Deleting VN ctest-ext_vn-24144165 failed..Will retry
2025-10-16 02:17:35,710 - DEBUG - Response for deleting network ()
2025-10-16 02:17:35,710 - INFO - Deleting VN ctest-vn-04537667
2025-10-16 02:17:35,852 - DEBUG - Response for deleting network ()
2025-10-16 02:17:36,126 - DEBUG - No XMPP flaps were noticed during the test
2025-10-16 02:17:36,126 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:31]
2025-10-16 02:17:36,126 - INFO - --------------------------------------------------------------------------------
2025-10-16 02:17:37,054 - INFO - Deleted project: ctest-TestRoutersBasic-31076947, ID : d6145348-21d9-4447-8cc4-163579c158c0