2025-12-29 02:12:29,883 - INFO - Domain Default found not creating 2025-12-29 02:12:30,048 - INFO - Project ctest-TestRoutersBasic-06719449 not found, creating it 2025-12-29 02:12:30,531 - INFO - Created Project:ctest-TestRoutersBasic-06719449, ID : 6964ac6e-3582-4fde-83c6-3e98099b4071 2025-12-29 02:12:32,023 - INFO - ================================================================================ 2025-12-29 02:12:32,023 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-12-29 02:12:32,023 - 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-29 02:12:32,284 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.242': '0'}} with 2025-12-29 02:12:32,284 - INFO - Initial checks done. Running the testcase now 2025-12-29 02:12:32,284 - INFO - 2025-12-29 02:12:33,028 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-06719449 2025-12-29 02:12:33,123 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-06719449 2025-12-29 02:12:33,443 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06719449', 'default']} 2025-12-29 02:12:33,719 - DEBUG - Response for create_network : {'network': {'id': 'aec04452-4880-4d01-9719-3a376e4ab75f', 'name': 'ctest-vn-98938389', 'tenant_id': '6964ac6e35824fde83c63e98099b4071', 'project_id': '6964ac6e35824fde83c63e98099b4071', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06719449', 'ctest-vn-98938389'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:12:33,908 - DEBUG - Response for create_subnet : {'subnet': {'id': '2a361d03-fe05-4eb7-b6b2-a5c27723aaa5', 'name': '', 'tenant_id': '6964ac6e35824fde83c63e98099b4071', 'network_id': 'aec04452-4880-4d01-9719-3a376e4ab75f', 'ip_version': 4, 'cidr': '160.220.89.128/26', 'allocation_pools': [{'start': '160.220.89.130', 'end': '160.220.89.190'}], 'gateway_ip': '160.220.89.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.220.89.130', 'tags': [], 'project_id': '6964ac6e35824fde83c63e98099b4071'}} 2025-12-29 02:12:33,928 - INFO - Created VN ctest-vn-98938389 2025-12-29 02:12:33,983 - DEBUG - VN ctest-vn-98938389 UUID is aec04452-4880-4d01-9719-3a376e4ab75f 2025-12-29 02:12:34,283 - DEBUG - Response for create_network : {'network': {'id': '7450c1bc-8033-4fcd-8aa5-e3028f76af08', 'name': 'ctest-ext_vn-37492399', 'tenant_id': '6964ac6e35824fde83c63e98099b4071', 'project_id': '6964ac6e35824fde83c63e98099b4071', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-06719449', 'ctest-ext_vn-37492399'], 'port_security_enabled': True, 'description': ''}} 2025-12-29 02:12:34,498 - DEBUG - Response for create_subnet : {'subnet': {'id': '9533bc14-f8b4-4e93-9c60-a5da314478b7', 'name': '', 'tenant_id': '6964ac6e35824fde83c63e98099b4071', 'network_id': '7450c1bc-8033-4fcd-8aa5-e3028f76af08', 'ip_version': 4, 'cidr': '205.87.29.192/26', 'allocation_pools': [{'start': '205.87.29.194', 'end': '205.87.29.254'}], 'gateway_ip': '205.87.29.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.87.29.194', 'tags': [], 'project_id': '6964ac6e35824fde83c63e98099b4071'}} 2025-12-29 02:12:34,514 - INFO - Created VN ctest-ext_vn-37492399 2025-12-29 02:12:34,567 - DEBUG - VN ctest-ext_vn-37492399 UUID is 7450c1bc-8033-4fcd-8aa5-e3028f76af08 2025-12-29 02:12:34,775 - DEBUG - Services list from nova: [, , ] 2025-12-29 02:12:35,842 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4931-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4931-1) 2025-12-29 02:12:37,025 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4931-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4931-1) 2025-12-29 02:12:37,087 - INFO - Setting gateway for router b2e3eea4-3684-403f-938a-0c784b38671a to network 7450c1bc-8033-4fcd-8aa5-e3028f76af08 2025-12-29 02:12:37,142 - INFO - Adding interface with subnet_id 2a361d03-fe05-4eb7-b6b2-a5c27723aaa5, port_id None to router b2e3eea4-3684-403f-938a-0c784b38671a 2025-12-29 02:12:37,467 - INFO - Waiting for VM ctest-TestRoutersBasic-06719449-62159004 to be up.. 2025-12-29 02:12:37,645 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-29 02:12:42,728 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:12:42,729 - INFO - VM name : ctest-TestRoutersBasic-06719449-62159004 2025-12-29 02:12:42,814 - DEBUG - VM ctest-TestRoutersBasic-06719449-62159004 ID is 5caf33e8-e98d-4022-93e1-6329d3037ea4 2025-12-29 02:12:42,835 - DEBUG - VM ctest-TestRoutersBasic-06719449-62159004 launched on Node cn-jenkins-deploy-platform-ansible-os-4931-1 2025-12-29 02:12:42,916 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/5caf33e8-e98d-4022-93e1-6329d3037ea4 2025-12-29 02:12:43,235 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/5caf33e8-e98d-4022-93e1-6329d3037ea4 2025-12-29 02:12:43,268 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f957fe67-0f67-4d84-a040-fae6eb274687 2025-12-29 02:12:46,516 - 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 1015ms') 2025-12-29 02:12:46,516 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06719449-62159004 failed! 2025-12-29 02:12:46,567 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-06719449:ctest-vn-98938389 is 160.220.89.129 and allocation pool is NOT set 2025-12-29 02:12:48,632 - 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=3.31 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.485 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.485/1.899/3.314/1.414 ms') 2025-12-29 02:12:48,632 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-06719449-62159004 passed 2025-12-29 02:12:48,787 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:12:48,787 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06719449-62159004, IP 160.220.89.131, Port 22 2025-12-29 02:12:48,942 - DEBUG - VM ctest-TestRoutersBasic-06719449-62159004 is ready for SSH connections 2025-12-29 02:12:48,943 - INFO - Waiting for VM ctest-TestRoutersBasic-06719449-84283322 to be up.. 2025-12-29 02:12:49,016 - DEBUG - VM is in ACTIVE state now 2025-12-29 02:12:49,016 - INFO - VM name : ctest-TestRoutersBasic-06719449-84283322 2025-12-29 02:12:49,100 - DEBUG - VM ctest-TestRoutersBasic-06719449-84283322 ID is 9fd9e928-250a-4a71-8e1c-d784f2dcaa01 2025-12-29 02:12:49,101 - DEBUG - VM ctest-TestRoutersBasic-06719449-84283322 launched on Node cn-jenkins-deploy-platform-ansible-os-4931-1 2025-12-29 02:12:49,183 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine/9fd9e928-250a-4a71-8e1c-d784f2dcaa01 2025-12-29 02:12:49,190 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-machine-interface/f1f78ec2-0780-48e3-88dd-8c091115f76b 2025-12-29 02:12:50,428 - 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=3.29 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.436 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.436/1.863/3.291/1.427 ms') 2025-12-29 02:12:50,428 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-06719449-84283322 passed 2025-12-29 02:12:50,575 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:12:50,575 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-06719449-84283322, IP 205.87.29.195, Port 22 2025-12-29 02:12:50,730 - DEBUG - VM ctest-TestRoutersBasic-06719449-84283322 is ready for SSH connections 2025-12-29 02:12:50,730 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-29 02:12:50,731 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 205.87.29.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.19, gateway password: c0ntrail123 2025-12-29 02:12:50,731 - DEBUG - ping -s 56 -c 3 -W 1 205.87.29.195 2025-12-29 02:12:54,758 - DEBUG - PING 205.87.29.195 (205.87.29.195): 56 data bytes 64 bytes from 205.87.29.195: seq=0 ttl=62 time=5.445 ms 64 bytes from 205.87.29.195: seq=1 ttl=62 time=0.959 ms 64 bytes from 205.87.29.195: seq=2 ttl=62 time=0.834 ms --- 205.87.29.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.834/2.412/5.445 ms 2025-12-29 02:12:54,758 - INFO - Ping to IP 205.87.29.195 from VM ctest-TestRoutersBasic-06719449-62159004 passed 2025-12-29 02:12:54,758 - INFO - Deleting interface with subnet_id 2a361d03-fe05-4eb7-b6b2-a5c27723aaa5, port_id None from router b2e3eea4-3684-403f-938a-0c784b38671a 2025-12-29 02:12:54,937 - INFO - Deleting VM ctest-TestRoutersBasic-06719449-84283322 2025-12-29 02:12:55,016 - INFO - Deleting VM ctest-TestRoutersBasic-06719449-62159004 2025-12-29 02:12:55,094 - INFO - Deleting VN ctest-ext_vn-37492399 2025-12-29 02:12:55,180 - DEBUG - VN 7450c1bc-8033-4fcd-8aa5-e3028f76af08 still in use: Unable to complete operation on network 7450c1bc-8033-4fcd-8aa5-e3028f76af08. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-82419786-6db5-454d-8849-0cf37aed5e86'] 2025-12-29 02:12:55,180 - WARNING - Deleting VN ctest-ext_vn-37492399 failed..Will retry 2025-12-29 02:12:57,274 - DEBUG - Response for deleting network () 2025-12-29 02:12:57,274 - INFO - Deleting VN ctest-vn-98938389 2025-12-29 02:12:57,378 - DEBUG - Response for deleting network () 2025-12-29 02:12:57,647 - DEBUG - No XMPP flaps were noticed during the test
2025-12-29 02:12:57,647 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-12-29 02:12:57,647 - INFO - -------------------------------------------------------------------------------- 2025-12-29 02:12:58,335 - INFO - Deleted project: ctest-TestRoutersBasic-06719449, ID : 6964ac6e-3582-4fde-83c6-3e98099b4071