2024-10-26 09:36:54,874 - INFO - Domain Default found not creating 2024-10-26 09:36:55,044 - INFO - Project ctest-TestRoutersBasic-05741376 not found, creating it 2024-10-26 09:36:55,543 - INFO - Created Project:ctest-TestRoutersBasic-05741376, ID : 925f5333-f557-4093-afe0-4708f4b28d38 2024-10-26 09:36:57,150 - INFO - ================================================================================ 2024-10-26 09:36:57,150 - INFO - STARTING TEST : test_basic_snat_behavior_without_external_connectivity 2024-10-26 09:36:57,150 - 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-10-26 09:36:57,409 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.14': '0'}} with 2024-10-26 09:36:57,409 - INFO - Initial checks done. Running the testcase now 2024-10-26 09:36:57,409 - INFO - 2024-10-26 09:36:58,162 - INFO - Default SG to be edited for allow all on project: ctest-TestRoutersBasic-05741376 2024-10-26 09:36:58,263 - INFO - Adding rules to the default security group in Project ctest-TestRoutersBasic-05741376 2024-10-26 09:36:58,603 - DEBUG - Reading firewall policy {'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05741376', 'default']} 2024-10-26 09:36:58,928 - DEBUG - Response for create_network : {'network': {'id': 'f36efca4-c01c-4244-819d-2bd620940a0b', 'name': 'ctest-vn-44177707', 'tenant_id': '925f5333f5574093afe04708f4b28d38', 'project_id': '925f5333f5574093afe04708f4b28d38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05741376', 'ctest-vn-44177707'], 'port_security_enabled': True, 'description': ''}} 2024-10-26 09:36:59,121 - DEBUG - Response for create_subnet : {'subnet': {'id': '41d6bc23-0e4b-4bb1-8e20-0dfeac9d2335', 'name': '', 'tenant_id': '925f5333f5574093afe04708f4b28d38', 'network_id': 'f36efca4-c01c-4244-819d-2bd620940a0b', 'ip_version': 4, 'cidr': '105.243.38.0/26', 'allocation_pools': [{'start': '105.243.38.2', 'end': '105.243.38.62'}], 'gateway_ip': '105.243.38.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '105.243.38.2', 'tags': [], 'project_id': '925f5333f5574093afe04708f4b28d38'}} 2024-10-26 09:36:59,141 - INFO - Created VN ctest-vn-44177707 2024-10-26 09:36:59,199 - DEBUG - VN ctest-vn-44177707 UUID is f36efca4-c01c-4244-819d-2bd620940a0b 2024-10-26 09:36:59,601 - DEBUG - Response for create_network : {'network': {'id': 'da9862a7-2610-48b4-8015-455f922aec8f', 'name': 'ctest-ext_vn-99427590', 'tenant_id': '925f5333f5574093afe04708f4b28d38', 'project_id': '925f5333f5574093afe04708f4b28d38', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': True, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestRoutersBasic-05741376', 'ctest-ext_vn-99427590'], 'port_security_enabled': True, 'description': ''}} 2024-10-26 09:36:59,829 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e22f45c-8d15-4dc3-baed-063502181803', 'name': '', 'tenant_id': '925f5333f5574093afe04708f4b28d38', 'network_id': 'da9862a7-2610-48b4-8015-455f922aec8f', 'ip_version': 4, 'cidr': '74.59.119.0/26', 'allocation_pools': [{'start': '74.59.119.2', 'end': '74.59.119.62'}], 'gateway_ip': '74.59.119.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.59.119.2', 'tags': [], 'project_id': '925f5333f5574093afe04708f4b28d38'}} 2024-10-26 09:36:59,851 - INFO - Created VN ctest-ext_vn-99427590 2024-10-26 09:36:59,911 - DEBUG - VN ctest-ext_vn-99427590 UUID is da9862a7-2610-48b4-8015-455f922aec8f 2024-10-26 09:37:00,099 - DEBUG - Services list from nova: [, , ] 2024-10-26 09:37:01,180 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2148-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2148-1) 2024-10-26 09:37:02,450 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2148-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2148-1) 2024-10-26 09:37:02,529 - INFO - Setting gateway for router 89c88d5e-506b-49c7-b2c5-49bf64c22343 to network da9862a7-2610-48b4-8015-455f922aec8f 2024-10-26 09:37:02,593 - INFO - Adding interface with subnet_id 41d6bc23-0e4b-4bb1-8e20-0dfeac9d2335, port_id None to router 89c88d5e-506b-49c7-b2c5-49bf64c22343 2024-10-26 09:37:03,099 - INFO - Waiting for VM ctest-TestRoutersBasic-05741376-41268239 to be up.. 2024-10-26 09:37:03,311 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-26 09:37:08,408 - DEBUG - VM is in ACTIVE state now 2024-10-26 09:37:08,408 - INFO - VM name : ctest-TestRoutersBasic-05741376-41268239 2024-10-26 09:37:08,495 - DEBUG - VM ctest-TestRoutersBasic-05741376-41268239 ID is e2e3def8-e7be-41e6-841a-d10fc8ea4817 2024-10-26 09:37:08,517 - DEBUG - VM ctest-TestRoutersBasic-05741376-41268239 launched on Node cn-jenkins-deploy-platform-ansible-os-2148-1 2024-10-26 09:37:08,619 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/e2e3def8-e7be-41e6-841a-d10fc8ea4817 2024-10-26 09:37:08,913 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/e2e3def8-e7be-41e6-841a-d10fc8ea4817 2024-10-26 09:37:08,950 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/4b53d77f-0a24-4a5e-9c8e-9aa26e6a21e2 2024-10-26 09:37:12,225 - 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') 2024-10-26 09:37:12,225 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05741376-41268239 failed! 2024-10-26 09:37:12,295 - DEBUG - Gateway for vn default-domain:ctest-TestRoutersBasic-05741376:ctest-vn-44177707 is 105.243.38.1 and allocation pool is NOT set 2024-10-26 09:37:14,367 - 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.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.63 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 = 2.633/3.695/4.757/1.062 ms') 2024-10-26 09:37:14,368 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestRoutersBasic-05741376-41268239 passed 2024-10-26 09:37:14,535 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 09:37:14,535 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05741376-41268239, IP 105.243.38.3, Port 22 2024-10-26 09:37:14,700 - DEBUG - VM ctest-TestRoutersBasic-05741376-41268239 is ready for SSH connections 2024-10-26 09:37:14,700 - INFO - Waiting for VM ctest-TestRoutersBasic-05741376-35325139 to be up.. 2024-10-26 09:37:14,789 - DEBUG - VM is in ACTIVE state now 2024-10-26 09:37:14,790 - INFO - VM name : ctest-TestRoutersBasic-05741376-35325139 2024-10-26 09:37:14,888 - DEBUG - VM ctest-TestRoutersBasic-05741376-35325139 ID is f92d10f3-1791-4c7f-82bb-060926acd818 2024-10-26 09:37:14,889 - DEBUG - VM ctest-TestRoutersBasic-05741376-35325139 launched on Node cn-jenkins-deploy-platform-ansible-os-2148-1 2024-10-26 09:37:14,974 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/f92d10f3-1791-4c7f-82bb-060926acd818 2024-10-26 09:37:14,985 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/bc07fc2e-11ea-41c7-b8e2-cdaa669eb7f2 2024-10-26 09:37:16,272 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.02 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 = 1.015/3.611/6.207/2.596 ms') 2024-10-26 09:37:16,272 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestRoutersBasic-05741376-35325139 passed 2024-10-26 09:37:16,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 09:37:16,447 - DEBUG - Waiting to SSH to VM ctest-TestRoutersBasic-05741376-35325139, IP 74.59.119.3, Port 22 2024-10-26 09:37:16,617 - DEBUG - VM ctest-TestRoutersBasic-05741376-35325139 is ready for SSH connections 2024-10-26 09:37:16,617 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-26 09:37:16,617 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 74.59.119.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-10-26 09:37:16,617 - DEBUG - ping -s 56 -c 3 -W 1 74.59.119.3 2024-10-26 09:37:20,347 - DEBUG - PING 74.59.119.3 (74.59.119.3): 56 data bytes 64 bytes from 74.59.119.3: seq=0 ttl=62 time=5.756 ms 64 bytes from 74.59.119.3: seq=1 ttl=62 time=1.565 ms 64 bytes from 74.59.119.3: seq=2 ttl=62 time=1.461 ms --- 74.59.119.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.461/2.927/5.756 ms 2024-10-26 09:37:20,347 - INFO - Ping to IP 74.59.119.3 from VM ctest-TestRoutersBasic-05741376-41268239 passed 2024-10-26 09:37:20,347 - INFO - Deleting interface with subnet_id 41d6bc23-0e4b-4bb1-8e20-0dfeac9d2335, port_id None from router 89c88d5e-506b-49c7-b2c5-49bf64c22343 2024-10-26 09:37:20,641 - INFO - Deleting VM ctest-TestRoutersBasic-05741376-35325139 2024-10-26 09:37:20,728 - INFO - Deleting VM ctest-TestRoutersBasic-05741376-41268239 2024-10-26 09:37:20,837 - INFO - Deleting VN ctest-ext_vn-99427590 2024-10-26 09:37:20,925 - DEBUG - VN da9862a7-2610-48b4-8015-455f922aec8f still in use: Unable to complete operation on network da9862a7-2610-48b4-8015-455f922aec8f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cb673067-e37c-4807-b340-f08ab3cee2ff'] 2024-10-26 09:37:20,925 - WARNING - Deleting VN ctest-ext_vn-99427590 failed..Will retry 2024-10-26 09:37:23,052 - DEBUG - Response for deleting network () 2024-10-26 09:37:23,052 - INFO - Deleting VN ctest-vn-44177707 2024-10-26 09:37:23,187 - DEBUG - Response for deleting network () 2024-10-26 09:37:23,442 - DEBUG - No XMPP flaps were noticed during the test 2024-10-26 09:37:23,442 - INFO - END TEST : test_basic_snat_behavior_without_external_connectivity : PASSED[0:00:26] 2024-10-26 09:37:23,442 - INFO - -------------------------------------------------------------------------------- 2024-10-26 09:37:24,323 - INFO - Deleted project: ctest-TestRoutersBasic-05741376, ID : 925f5333-f557-4093-afe0-4708f4b28d38