2025-12-19 16:20:26,929 - INFO - Domain Default found not creating 2025-12-19 16:20:27,132 - INFO - Project ctest-TestRoutersBasic-71620478 not found, creating it 2025-12-19 16:20:27,692 - INFO - Created Project:ctest-TestRoutersBasic-71620478, ID : f0566c0f-3de4-4170-b7be-ea2e848c16eb 2025-12-19 16:20:29,734 - INFO - ================================================================================ 2025-12-19 16:20:29,734 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-19 16:20:29,734 - 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-12-19 16:20:30,032 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with 2025-12-19 16:20:30,032 - INFO - Initial checks done. Running the testcase now 2025-12-19 16:20:30,032 - INFO - 2025-12-19 16:20:31,003 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-71620478 2025-12-19 16:20:31,108 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-71620478 2025-12-19 16:20:31,467 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71620478', 'default']} 2025-12-19 16:20:31,865 - DEBUG - Response for create_network : {'network': {'id': 'cd50bdc8-c6a6-4267-b874-970a64ce6e67', 'name': 'ctest-vn-56001157', 'tenant_id': 'f0566c0f3de44170b7beea2e848c16eb', 'project_id': 'f0566c0f3de44170b7beea2e848c16eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71620478', 'ctest-vn-56001157'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 16:20:32,051 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a6fbe89-d7ad-472e-b403-2008a9c2ea7a', 'name': '', 'tenant_id': 'f0566c0f3de44170b7beea2e848c16eb', 'network_id': 'cd50bdc8-c6a6-4267-b874-970a64ce6e67', 'ip_version': 4, 'cidr': '120.93.160.192/26', 'allocation_pools': [{'start': '120.93.160.194', 'end': '120.93.160.254'}], 'gateway_ip': '120.93.160.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '120.93.160.194', 'tags': [], 'project_id': 'f0566c0f3de44170b7beea2e848c16eb'}} 2025-12-19 16:20:32,078 - INFO - Created VN ctest-vn-56001157 2025-12-19 16:20:32,136 - DEBUG - VN ctest-vn-56001157 UUID is cd50bdc8-c6a6-4267-b874-970a64ce6e67 2025-12-19 16:20:32,647 - DEBUG - Response for create_network : {'network': {'id': '19d7edda-f67a-4999-b69c-b969decd088f', 'name': 'ctest-ext_vn-32252354', 'tenant_id': 'f0566c0f3de44170b7beea2e848c16eb', 'project_id': 'f0566c0f3de44170b7beea2e848c16eb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-71620478', 'ctest-ext_vn-32252354'], 'port_security_enabled': True, 'description': ''}} 2025-12-19 16:20:32,813 - DEBUG - Response for create_subnet : {'subnet': {'id': '76047aab-9a6a-4827-afb4-ea21967296f0', 'name': '', 'tenant_id': 'f0566c0f3de44170b7beea2e848c16eb', 'network_id': '19d7edda-f67a-4999-b69c-b969decd088f', 'ip_version': 4, 'cidr': '15.96.187.192/26', 'allocation_pools': [{'start': '15.96.187.194', 'end': '15.96.187.254'}], 'gateway_ip': '15.96.187.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.96.187.194', 'tags': [], 'project_id': 'f0566c0f3de44170b7beea2e848c16eb'}} 2025-12-19 16:20:32,835 - INFO - Created VN ctest-ext_vn-32252354 2025-12-19 16:20:32,888 - DEBUG - VN ctest-ext_vn-32252354 UUID is 19d7edda-f67a-4999-b69c-b969decd088f 2025-12-19 16:20:33,144 - DEBUG - Services list from nova: [, , ] 2025-12-19 16:20:34,627 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4910-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4910-1) 2025-12-19 16:20:35,992 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4910-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4910-1) 2025-12-19 16:20:36,067 - INFO - Setting gateway for router e961cfc2-6e31-41ce-b8e1-539640f3d77f to network 19d7edda-f67a-4999-b69c-b969decd088f 2025-12-19 16:20:36,129 - INFO - Adding interface with subnet_id 9a6fbe89-d7ad-472e-b403-2008a9c2ea7a, port_id None to router e961cfc2-6e31-41ce-b8e1-539640f3d77f 2025-12-19 16:20:36,492 - INFO - Waiting for VM ctest-TestRoutersBasic-71620478-90423260 to be up.. 2025-12-19 16:20:36,665 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-19 16:20:41,845 - DEBUG - VM is in ACTIVE state now 2025-12-19 16:20:41,845 - INFO - VM name : ctest-TestRoutersBasic-71620478-90423260 2025-12-19 16:20:41,943 - DEBUG - VM ctest-TestRoutersBasic-71620478-90423260 ID is 2a4ac28d-f6ee-4db8-a3c9-31b505885cf8 2025-12-19 16:20:41,970 - DEBUG - VM ctest-TestRoutersBasic-71620478-90423260 launched on Node cn-jenkins-deploy-platform-ansible-os-4910-1 2025-12-19 16:20:42,087 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2a4ac28d-f6ee-4db8-a3c9-31b505885cf8 2025-12-19 16:20:42,398 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/2a4ac28d-f6ee-4db8-a3c9-31b505885cf8 2025-12-19 16:20:42,452 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/38cac409-b36c-4918-a813-36d5bb4614ba 2025-12-19 16:20:45,751 - 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 1019ms') 2025-12-19 16:20:45,751 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71620478-90423260 failed! 2025-12-19 16:20:45,820 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-71620478:ctest-vn-56001157 is 120.93.160.193 and allocation pool is NOT set 2025-12-19 16:20:47,907 - 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.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.11 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 = 2.114/3.565/5.016/1.451 ms') 2025-12-19 16:20:47,907 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-71620478-90423260 passed 2025-12-19 16:20:48,084 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 16:20:48,084 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71620478-90423260, IP 120.93.160.195, Port 22 2025-12-19 16:20:48,285 - DEBUG - VM ctest-TestRoutersBasic-71620478-90423260 is ready for SSH connections 2025-12-19 16:20:48,285 - INFO - Waiting for VM ctest-TestRoutersBasic-71620478-58760389 to be up.. 2025-12-19 16:20:48,486 - DEBUG - VM is in ACTIVE state now 2025-12-19 16:20:48,486 - INFO - VM name : ctest-TestRoutersBasic-71620478-58760389 2025-12-19 16:20:48,664 - DEBUG - VM ctest-TestRoutersBasic-71620478-58760389 ID is 45ad034e-4a8b-42cb-b289-ffb432c196e9 2025-12-19 16:20:48,664 - DEBUG - VM ctest-TestRoutersBasic-71620478-58760389 launched on Node cn-jenkins-deploy-platform-ansible-os-4910-1 2025-12-19 16:20:48,801 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/45ad034e-4a8b-42cb-b289-ffb432c196e9 2025-12-19 16:20:48,813 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/27982667-ae10-4502-99cc-4b97635f11f1 2025-12-19 16:20:50,094 - 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=6.99 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.634 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.634/3.811/6.989/3.177 ms') 2025-12-19 16:20:50,095 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-71620478-58760389 passed 2025-12-19 16:20:50,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 16:20:50,276 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-71620478-58760389, IP 15.96.187.195, Port 22 2025-12-19 16:20:50,470 - DEBUG - VM ctest-TestRoutersBasic-71620478-58760389 is ready for SSH connections 2025-12-19 16:20:50,470 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-19 16:20:50,470 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 15.96.187.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2025-12-19 16:20:50,471 - DEBUG - ping -s 56 -c 3 -W 1 15.96.187.195 2025-12-19 16:20:54,539 - DEBUG - PING 15.96.187.195 (15.96.187.195): 56 data bytes 64 bytes from 15.96.187.195: seq=0 ttl=62 time=10.736 ms 64 bytes from 15.96.187.195: seq=1 ttl=62 time=2.861 ms 64 bytes from 15.96.187.195: seq=2 ttl=62 time=1.979 ms --- 15.96.187.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.979/5.192/10.736 ms 2025-12-19 16:20:54,539 - INFO - Ping to IP 15.96.187.195 from VM ctest-TestRoutersBasic-71620478-90423260 passed 2025-12-19 16:20:54,539 - INFO - Deleting interface with subnet_id 9a6fbe89-d7ad-472e-b403-2008a9c2ea7a, port_id None from router e961cfc2-6e31-41ce-b8e1-539640f3d77f 2025-12-19 16:20:54,817 - INFO - Deleting VM ctest-TestRoutersBasic-71620478-58760389 2025-12-19 16:20:54,888 - INFO - Deleting VM ctest-TestRoutersBasic-71620478-90423260 2025-12-19 16:20:54,965 - INFO - Deleting VN ctest-ext_vn-32252354 2025-12-19 16:20:55,049 - DEBUG - VN 19d7edda-f67a-4999-b69c-b969decd088f still in use: Unable to complete operation on network 19d7edda-f67a-4999-b69c-b969decd088f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-312db6eb-4cdb-4118-95ef-43a35927f70e'] 2025-12-19 16:20:55,049 - WARNING - Deleting VN ctest-ext_vn-32252354 failed..Will retry 2025-12-19 16:20:57,285 - DEBUG - Response for deleting network () 2025-12-19 16:20:57,285 - INFO - Deleting VN ctest-vn-56001157 2025-12-19 16:20:57,431 - DEBUG - Response for deleting network () 2025-12-19 16:20:57,727 - DEBUG - No XMPP flaps were noticed during the test
2025-12-19 16:20:57,728 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:28]
2025-12-19 16:20:57,728 - INFO - -------------------------------------------------------------------------------- 2025-12-19 16:20:58,604 - INFO - Deleted project: ctest-TestRoutersBasic-71620478, ID : f0566c0f-3de4-4170-b7be-ea2e848c16eb