2024-09-12 19:11:32,261 - INFO - Domain Default found not creating 2024-09-12 19:11:32,713 - INFO - Project ctest-TestRoutersBasic-91429768 not found, creating it 2024-09-12 19:11:33,566 - INFO - Created Project:ctest-TestRoutersBasic-91429768, ID : 495a554a-8262-48e8-b94a-31b9a4fd46e6 2024-09-12 19:11:36,335 - INFO - ================================================================================ 2024-09-12 19:11:36,335 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-09-12 19:11:36,336 - 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 2024-09-12 19:11:36,684 - DEBUG - Nothing to compare xmpp stats {'10.0.0.28': {'10.20.0.12': '0'}} with 2024-09-12 19:11:36,684 - INFO - Initial checks done. Running the testcase now 2024-09-12 19:11:36,684 - INFO - 2024-09-12 19:11:37,848 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-91429768 2024-09-12 19:11:37,963 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-91429768 2024-09-12 19:11:38,442 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91429768', 'default']} 2024-09-12 19:11:38,904 - DEBUG - Response for create_network : {'network': {'id': 'c697a624-4292-4c69-9717-ad7509603e5c', 'name': 'ctest-vn-41645849', 'tenant_id': '495a554a826248e8b94a31b9a4fd46e6', 'project_id': '495a554a826248e8b94a31b9a4fd46e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91429768', 'ctest-vn-41645849'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 19:11:39,196 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb693da0-33cd-4145-a506-27b8dd272d2b', 'name': '', 'tenant_id': '495a554a826248e8b94a31b9a4fd46e6', 'network_id': 'c697a624-4292-4c69-9717-ad7509603e5c', 'ip_version': 4, 'cidr': '75.0.52.0/26', 'allocation_pools': [{'start': '75.0.52.2', 'end': '75.0.52.62'}], 'gateway_ip': '75.0.52.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.0.52.2', 'tags': [], 'project_id': '495a554a826248e8b94a31b9a4fd46e6'}} 2024-09-12 19:11:39,231 - INFO - Created VN ctest-vn-41645849 2024-09-12 19:11:39,294 - DEBUG - VN ctest-vn-41645849 UUID is c697a624-4292-4c69-9717-ad7509603e5c 2024-09-12 19:11:39,913 - DEBUG - Response for create_network : {'network': {'id': '5cfde751-123e-4faf-98eb-0f47e676cc30', 'name': 'ctest-ext_vn-09568685', 'tenant_id': '495a554a826248e8b94a31b9a4fd46e6', 'project_id': '495a554a826248e8b94a31b9a4fd46e6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-91429768', 'ctest-ext_vn-09568685'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 19:11:40,226 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e91a5159-b520-4242-8e5d-85e1ca663418', 'name': '', 'tenant_id': '495a554a826248e8b94a31b9a4fd46e6', 'network_id': '5cfde751-123e-4faf-98eb-0f47e676cc30', 'ip_version': 4, 'cidr': '66.148.27.64/26', 'allocation_pools': [{'start': '66.148.27.66', 'end': '66.148.27.126'}], 'gateway_ip': '66.148.27.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.148.27.66', 'tags': [], 'project_id': '495a554a826248e8b94a31b9a4fd46e6'}} 2024-09-12 19:11:40,246 - INFO - Created VN ctest-ext_vn-09568685 2024-09-12 19:11:40,306 - DEBUG - VN ctest-ext_vn-09568685 UUID is 5cfde751-123e-4faf-98eb-0f47e676cc30 2024-09-12 19:11:40,512 - DEBUG - Services list from nova: [, , ] 2024-09-12 19:11:42,191 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1912-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1912-1) 2024-09-12 19:11:43,855 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1912-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1912-1) 2024-09-12 19:11:43,957 - INFO - Setting gateway for router 658e9764-ac6e-42d9-847c-d5864ce1d0b5 to network 5cfde751-123e-4faf-98eb-0f47e676cc30 2024-09-12 19:11:44,051 - INFO - Adding interface with subnet_id fb693da0-33cd-4145-a506-27b8dd272d2b, port_id None to router 658e9764-ac6e-42d9-847c-d5864ce1d0b5 2024-09-12 19:11:44,467 - INFO - Waiting for VM ctest-TestRoutersBasic-91429768-12923388 to be up.. 2024-09-12 19:11:44,618 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-12 19:11:49,789 - DEBUG - VM is in ACTIVE state now 2024-09-12 19:11:49,789 - INFO - VM name : ctest-TestRoutersBasic-91429768-12923388 2024-09-12 19:11:49,983 - DEBUG - VM ctest-TestRoutersBasic-91429768-12923388 ID is 91b39e63-b1f5-4f4a-a797-ce10d0789c94 2024-09-12 19:11:50,024 - DEBUG - VM ctest-TestRoutersBasic-91429768-12923388 launched on Node cn-jenkins-deploy-platform-ansible-os-1912-1 2024-09-12 19:11:50,238 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/91b39e63-b1f5-4f4a-a797-ce10d0789c94 2024-09-12 19:11:50,562 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/91b39e63-b1f5-4f4a-a797-ce10d0789c94 2024-09-12 19:11:50,611 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/5ef84f83-8c99-4501-bebb-546b66e24d1a 2024-09-12 19:11:53,913 - 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 1017ms') 2024-09-12 19:11:53,913 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91429768-12923388 failed! 2024-09-12 19:11:53,974 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-91429768:ctest-vn-41645849 is 75.0.52.1 and allocation pool is NOT set 2024-09-12 19:11:56,060 - 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=4.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.06 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.062/2.963/4.865/1.901 ms') 2024-09-12 19:11:56,060 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-91429768-12923388 passed 2024-09-12 19:11:56,267 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 19:11:56,267 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91429768-12923388, IP 75.0.52.3, Port 22 2024-09-12 19:11:56,481 - DEBUG - VM ctest-TestRoutersBasic-91429768-12923388 is ready for SSH connections 2024-09-12 19:11:56,482 - INFO - Waiting for VM ctest-TestRoutersBasic-91429768-74686073 to be up.. 2024-09-12 19:11:56,672 - DEBUG - VM is in ACTIVE state now 2024-09-12 19:11:56,672 - INFO - VM name : ctest-TestRoutersBasic-91429768-74686073 2024-09-12 19:11:56,838 - DEBUG - VM ctest-TestRoutersBasic-91429768-74686073 ID is 4e3b1d85-d128-40c6-9985-0d2ea3126d41 2024-09-12 19:11:56,838 - DEBUG - VM ctest-TestRoutersBasic-91429768-74686073 launched on Node cn-jenkins-deploy-platform-ansible-os-1912-1 2024-09-12 19:11:56,997 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine/4e3b1d85-d128-40c6-9985-0d2ea3126d41 2024-09-12 19:11:57,016 - DEBUG - Requesting: http://10.0.0.28:8082/virtual-machine-interface/34de710c-3a7e-4daf-8b7f-e60728b9c332 2024-09-12 19:11:58,358 - 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=4.96 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.750 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.750/2.853/4.956/2.103 ms') 2024-09-12 19:11:58,358 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-91429768-74686073 passed 2024-09-12 19:11:58,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 19:11:58,559 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-91429768-74686073, IP 66.148.27.67, Port 22 2024-09-12 19:11:58,757 - DEBUG - VM ctest-TestRoutersBasic-91429768-74686073 is ready for SSH connections 2024-09-12 19:11:58,757 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 19:11:58,758 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 66.148.27.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.28, gateway password: c0ntrail123 2024-09-12 19:11:58,758 - DEBUG - ping -s 56 -c 3 -W 1 66.148.27.67 2024-09-12 19:12:02,867 - DEBUG - PING 66.148.27.67 (66.148.27.67): 56 data bytes 64 bytes from 66.148.27.67: seq=0 ttl=62 time=8.236 ms 64 bytes from 66.148.27.67: seq=1 ttl=62 time=1.922 ms 64 bytes from 66.148.27.67: seq=2 ttl=62 time=1.886 ms --- 66.148.27.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.886/4.014/8.236 ms 2024-09-12 19:12:02,867 - INFO - Ping to IP 66.148.27.67 from VM ctest-TestRoutersBasic-91429768-12923388 passed 2024-09-12 19:12:02,867 - INFO - Deleting interface with subnet_id fb693da0-33cd-4145-a506-27b8dd272d2b, port_id None from router 658e9764-ac6e-42d9-847c-d5864ce1d0b5 2024-09-12 19:12:03,287 - INFO - Deleting VM ctest-TestRoutersBasic-91429768-74686073 2024-09-12 19:12:03,364 - INFO - Deleting VM ctest-TestRoutersBasic-91429768-12923388 2024-09-12 19:12:03,459 - INFO - Deleting VN ctest-ext_vn-09568685 2024-09-12 19:12:03,541 - DEBUG - VN 5cfde751-123e-4faf-98eb-0f47e676cc30 still in use: Unable to complete operation on network 5cfde751-123e-4faf-98eb-0f47e676cc30. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-72dae03c-37d9-46db-876e-d284e128640f'] 2024-09-12 19:12:03,541 - WARNING - Deleting VN ctest-ext_vn-09568685 failed..Will retry 2024-09-12 19:12:05,795 - DEBUG - Response for deleting network () 2024-09-12 19:12:05,795 - INFO - Deleting VN ctest-vn-41645849 2024-09-12 19:12:05,999 - DEBUG - Response for deleting network () 2024-09-12 19:12:06,318 - DEBUG - No XMPP flaps were noticed during the test
2024-09-12 19:12:06,318 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:30]
2024-09-12 19:12:06,319 - INFO - -------------------------------------------------------------------------------- 2024-09-12 19:12:07,338 - INFO - Deleted project: ctest-TestRoutersBasic-91429768, ID : 495a554a-8262-48e8-b94a-31b9a4fd46e6