2025-03-20 02:23:00,120 - INFO - Domain Default found not creating 2025-03-20 02:23:00,266 - INFO - Project ctest-TestRoutersBasic-26971234 not found, creating it 2025-03-20 02:23:00,722 - INFO - Created Project:ctest-TestRoutersBasic-26971234, ID : 4b6f57dc-e2fd-4995-92a1-5287680dc590 2025-03-20 02:23:02,129 - INFO - ================================================================================ 2025-03-20 02:23:02,129 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2025-03-20 02:23:02,129 - 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-03-20 02:23:02,382 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.0.0.28': '0'}} with 2025-03-20 02:23:02,382 - INFO - Initial checks done. Running the testcase now 2025-03-20 02:23:02,382 - INFO - 2025-03-20 02:23:03,076 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-26971234 2025-03-20 02:23:03,173 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-26971234 2025-03-20 02:23:03,497 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26971234', 'default']} 2025-03-20 02:23:03,802 - DEBUG - Response for create_network : {'network': {'id': '85fad4a3-9f8c-47f6-aa2d-e831ea710649', 'name': 'ctest-vn-62906287', 'tenant_id': '4b6f57dce2fd499592a15287680dc590', 'project_id': '4b6f57dce2fd499592a15287680dc590', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26971234', 'ctest-vn-62906287'], 'port_security_enabled': True, 'description': ''}} 2025-03-20 02:23:03,962 - DEBUG - Response for create_subnet : {'subnet': {'id': '5bf340a0-a383-4f7e-a656-e0b22124b894', 'name': '', 'tenant_id': '4b6f57dce2fd499592a15287680dc590', 'network_id': '85fad4a3-9f8c-47f6-aa2d-e831ea710649', 'ip_version': 4, 'cidr': '202.138.26.0/26', 'allocation_pools': [{'start': '202.138.26.2', 'end': '202.138.26.62'}], 'gateway_ip': '202.138.26.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '202.138.26.2', 'tags': [], 'project_id': '4b6f57dce2fd499592a15287680dc590'}} 2025-03-20 02:23:03,979 - INFO - Created VN ctest-vn-62906287 2025-03-20 02:23:04,033 - DEBUG - VN ctest-vn-62906287 UUID is 85fad4a3-9f8c-47f6-aa2d-e831ea710649 2025-03-20 02:23:04,396 - DEBUG - Response for create_network : {'network': {'id': '826bf6bd-27e8-4a39-8e70-19fc1f0f3f4d', 'name': 'ctest-ext_vn-15738956', 'tenant_id': '4b6f57dce2fd499592a15287680dc590', 'project_id': '4b6f57dce2fd499592a15287680dc590', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-26971234', 'ctest-ext_vn-15738956'], 'port_security_enabled': True, 'description': ''}} 2025-03-20 02:23:04,587 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a03ed80f-91e1-47e6-924e-34b14298e1d6', 'name': '', 'tenant_id': '4b6f57dce2fd499592a15287680dc590', 'network_id': '826bf6bd-27e8-4a39-8e70-19fc1f0f3f4d', 'ip_version': 4, 'cidr': '198.94.20.192/26', 'allocation_pools': [{'start': '198.94.20.194', 'end': '198.94.20.254'}], 'gateway_ip': '198.94.20.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.94.20.194', 'tags': [], 'project_id': '4b6f57dce2fd499592a15287680dc590'}} 2025-03-20 02:23:04,605 - INFO - Created VN ctest-ext_vn-15738956 2025-03-20 02:23:04,657 - DEBUG - VN ctest-ext_vn-15738956 UUID is 826bf6bd-27e8-4a39-8e70-19fc1f0f3f4d 2025-03-20 02:23:04,824 - DEBUG - Services list from nova: [, , ] 2025-03-20 02:23:05,829 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2927-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2927-1) 2025-03-20 02:23:06,942 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2927-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2927-1) 2025-03-20 02:23:07,051 - INFO - Setting gateway for router 6c3d571b-de62-460a-afe8-4007cd1cc2de to network 826bf6bd-27e8-4a39-8e70-19fc1f0f3f4d 2025-03-20 02:23:07,106 - INFO - Adding interface with subnet_id 5bf340a0-a383-4f7e-a656-e0b22124b894, port_id None to router 6c3d571b-de62-460a-afe8-4007cd1cc2de 2025-03-20 02:23:07,461 - INFO - Waiting for VM ctest-TestRoutersBasic-26971234-56640219 to be up.. 2025-03-20 02:23:07,724 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-03-20 02:23:12,798 - DEBUG - VM is in ACTIVE state now 2025-03-20 02:23:12,798 - INFO - VM name : ctest-TestRoutersBasic-26971234-56640219 2025-03-20 02:23:12,874 - DEBUG - VM ctest-TestRoutersBasic-26971234-56640219 ID is 161ce4d8-3c53-4232-869b-01e889ac7733 2025-03-20 02:23:12,893 - DEBUG - VM ctest-TestRoutersBasic-26971234-56640219 launched on Node cn-jenkins-deploy-platform-ansible-os-2927-1. 2025-03-20 02:23:12,961 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/161ce4d8-3c53-4232-869b-01e889ac7733 2025-03-20 02:23:13,268 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/161ce4d8-3c53-4232-869b-01e889ac7733 2025-03-20 02:23:13,303 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/13e22cd5-9a06-4f4b-be3e-7ee4ddbbaac5 2025-03-20 02:23:16,551 - 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 1007ms') 2025-03-20 02:23:16,551 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26971234-56640219 failed! 2025-03-20 02:23:16,605 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-26971234:ctest-vn-62906287 is 202.138.26.1 and allocation pool is NOT set 2025-03-20 02:23:18,665 - 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.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.449 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.449/1.665/2.882/1.216 ms') 2025-03-20 02:23:18,665 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-26971234-56640219 passed 2025-03-20 02:23:18,813 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-20 02:23:18,813 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26971234-56640219, IP 202.138.26.3, Port 22 2025-03-20 02:23:18,984 - DEBUG - VM ctest-TestRoutersBasic-26971234-56640219 is ready for SSH connections 2025-03-20 02:23:18,984 - INFO - Waiting for VM ctest-TestRoutersBasic-26971234-08956410 to be up.. 2025-03-20 02:23:19,077 - DEBUG - VM is in ACTIVE state now 2025-03-20 02:23:19,078 - INFO - VM name : ctest-TestRoutersBasic-26971234-08956410 2025-03-20 02:23:19,169 - DEBUG - VM ctest-TestRoutersBasic-26971234-08956410 ID is 5d415168-84c1-4b79-af04-4101392085f7 2025-03-20 02:23:19,169 - DEBUG - VM ctest-TestRoutersBasic-26971234-08956410 launched on Node cn-jenkins-deploy-platform-ansible-os-2927-1. 2025-03-20 02:23:19,240 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/5d415168-84c1-4b79-af04-4101392085f7 2025-03-20 02:23:19,249 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/8c9d1127-c36b-40f3-ab9f-ffc4eab221d9 2025-03-20 02:23:20,488 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.364 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.364/1.631/2.898/1.267 ms') 2025-03-20 02:23:20,488 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-26971234-08956410 passed 2025-03-20 02:23:20,637 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-20 02:23:20,637 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-26971234-08956410, IP 198.94.20.195, Port 22 2025-03-20 02:23:20,792 - DEBUG - VM ctest-TestRoutersBasic-26971234-08956410 is ready for SSH connections 2025-03-20 02:23:20,792 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-03-20 02:23:20,792 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 198.94.20.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2025-03-20 02:23:20,792 - DEBUG - ping -s 56 -c 3 -W 1 198.94.20.195 2025-03-20 02:23:24,760 - DEBUG - PING 198.94.20.195 (198.94.20.195): 56 data bytes 64 bytes from 198.94.20.195: seq=0 ttl=62 time=12.400 ms 64 bytes from 198.94.20.195: seq=1 ttl=62 time=0.969 ms 64 bytes from 198.94.20.195: seq=2 ttl=62 time=1.226 ms --- 198.94.20.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.969/4.865/12.400 ms 2025-03-20 02:23:24,760 - INFO - Ping to IP 198.94.20.195 from VM ctest-TestRoutersBasic-26971234-56640219 passed 2025-03-20 02:23:24,761 - INFO - Deleting interface with subnet_id 5bf340a0-a383-4f7e-a656-e0b22124b894, port_id None from router 6c3d571b-de62-460a-afe8-4007cd1cc2de 2025-03-20 02:23:24,947 - INFO - Deleting VM ctest-TestRoutersBasic-26971234-08956410 2025-03-20 02:23:25,009 - INFO - Deleting VM ctest-TestRoutersBasic-26971234-56640219 2025-03-20 02:23:25,087 - INFO - Deleting VN ctest-ext_vn-15738956 2025-03-20 02:23:25,177 - DEBUG - VN 826bf6bd-27e8-4a39-8e70-19fc1f0f3f4d still in use: Unable to complete operation on network 826bf6bd-27e8-4a39-8e70-19fc1f0f3f4d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8811a1df-cfa3-472b-923d-ec8762450916'] 2025-03-20 02:23:25,177 - WARNING - Deleting VN ctest-ext_vn-15738956 failed..Will retry 2025-03-20 02:23:27,286 - DEBUG - Response for deleting network () 2025-03-20 02:23:27,286 - INFO - Deleting VN ctest-vn-62906287 2025-03-20 02:23:27,393 - DEBUG - Response for deleting network () 2025-03-20 02:23:27,654 - DEBUG - No XMPP flaps were noticed during the test
2025-03-20 02:23:27,655 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:25]
2025-03-20 02:23:27,655 - INFO - -------------------------------------------------------------------------------- 2025-03-20 02:23:28,331 - INFO - Deleted project: ctest-TestRoutersBasic-26971234, ID : 4b6f57dc-e2fd-4995-92a1-5287680dc590