2024-09-12 22:13:39,526 - INFO - Domain Default found not creating 2024-09-12 22:13:40,046 - INFO - Project ctest-TestBasicPolicy-13255807 not found, creating it 2024-09-12 22:13:40,969 - INFO - Created Project:ctest-TestBasicPolicy-13255807, ID : 06c50859-6eb1-4308-b7c9-0bebdcec96a5 2024-09-12 22:13:43,606 - INFO - ================================================================================ 2024-09-12 22:13:43,607 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-09-12 22:13:43,607 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2024-09-12 22:13:43,941 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.23': '0'}} with 2024-09-12 22:13:43,941 - INFO - Initial checks done. Running the testcase now 2024-09-12 22:13:43,941 - INFO - 2024-09-12 22:13:44,910 - DEBUG - Response for create_network : {'network': {'id': '268bd798-7c44-4a3f-8546-1f0cffda54df', 'name': 'ctest-vn-54081800', 'tenant_id': '06c508596eb14308b7c90bebdcec96a5', 'project_id': '06c508596eb14308b7c90bebdcec96a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13255807', 'ctest-vn-54081800'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 22:13:45,236 - DEBUG - Response for create_subnet : {'subnet': {'id': '309686b5-8f0a-45d9-8c0f-f67896cbaf6f', 'name': '', 'tenant_id': '06c508596eb14308b7c90bebdcec96a5', 'network_id': '268bd798-7c44-4a3f-8546-1f0cffda54df', 'ip_version': 4, 'cidr': '19.167.254.192/26', 'allocation_pools': [{'start': '19.167.254.194', 'end': '19.167.254.254'}], 'gateway_ip': '19.167.254.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.167.254.194', 'tags': [], 'project_id': '06c508596eb14308b7c90bebdcec96a5'}} 2024-09-12 22:13:45,270 - INFO - Created VN ctest-vn-54081800 2024-09-12 22:13:45,339 - DEBUG - VN ctest-vn-54081800 UUID is 268bd798-7c44-4a3f-8546-1f0cffda54df 2024-09-12 22:13:45,959 - DEBUG - Response for create_network : {'network': {'id': 'ecb1cc5f-36a7-4c0d-aa95-e54abd69439e', 'name': 'ctest-vn-46046460', 'tenant_id': '06c508596eb14308b7c90bebdcec96a5', 'project_id': '06c508596eb14308b7c90bebdcec96a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13255807', 'ctest-vn-46046460'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 22:13:46,175 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a48c171f-e48c-462e-a89f-ae553812f222', 'name': '', 'tenant_id': '06c508596eb14308b7c90bebdcec96a5', 'network_id': 'ecb1cc5f-36a7-4c0d-aa95-e54abd69439e', 'ip_version': 4, 'cidr': '186.78.89.64/26', 'allocation_pools': [{'start': '186.78.89.66', 'end': '186.78.89.126'}], 'gateway_ip': '186.78.89.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.78.89.66', 'tags': [], 'project_id': '06c508596eb14308b7c90bebdcec96a5'}} 2024-09-12 22:13:46,199 - INFO - Created VN ctest-vn-46046460 2024-09-12 22:13:46,263 - DEBUG - VN ctest-vn-46046460 UUID is ecb1cc5f-36a7-4c0d-aa95-e54abd69439e 2024-09-12 22:13:46,492 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13255807:ctest-vn-54081800, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13255807:ctest-vn-46046460, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2024-09-12 22:13:46,988 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '268bd798-7c44-4a3f-8546-1f0cffda54df', 'name': 'ctest-vn-54081800', 'tenant_id': '06c508596eb14308b7c90bebdcec96a5', 'project_id': '06c508596eb14308b7c90bebdcec96a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['309686b5-8f0a-45d9-8c0f-f67896cbaf6f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13255807', 'ctest-vn-54081800'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13255807', 'ctest-policy-allow-all-32474993']], 'subnet_ipam': [{'subnet_cidr': '19.167.254.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-12 22:13:47,434 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ecb1cc5f-36a7-4c0d-aa95-e54abd69439e', 'name': 'ctest-vn-46046460', 'tenant_id': '06c508596eb14308b7c90bebdcec96a5', 'project_id': '06c508596eb14308b7c90bebdcec96a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a48c171f-e48c-462e-a89f-ae553812f222'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13255807', 'ctest-vn-46046460'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13255807', 'ctest-policy-allow-all-32474993']], 'subnet_ipam': [{'subnet_cidr': '186.78.89.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-09-12 22:13:47,610 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-09-12 22:13:47,923 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-09-12 22:13:47,979 - DEBUG - Requesting: http://10.0.0.35:8082/domain/71091110-ed72-4793-bdee-1a03fa231daa 2024-09-12 22:13:48,029 - DEBUG - Requesting: http://10.0.0.35:8082/project/06c50859-6eb1-4308-b7c9-0bebdcec96a5 2024-09-12 22:13:48,139 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/268bd798-7c44-4a3f-8546-1f0cffda54df 2024-09-12 22:13:48,177 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/268bd798-7c44-4a3f-8546-1f0cffda54df 2024-09-12 22:13:48,216 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/fa55bd1d-ad78-428b-ab4f-6abadec793f4 2024-09-12 22:13:48,251 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/fa55bd1d-ad78-428b-ab4f-6abadec793f4 2024-09-12 22:13:48,278 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/e3be80e9-5c88-4065-b663-68310ae902c9 2024-09-12 22:13:48,305 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-12 22:13:48,306 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/268bd798-7c44-4a3f-8546-1f0cffda54df 2024-09-12 22:13:48,358 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/fa55bd1d-ad78-428b-ab4f-6abadec793f4 2024-09-12 22:13:48,428 - INFO - Verified VN network id 7 for VN 268bd798-7c44-4a3f-8546-1f0cffda54df 2024-09-12 22:13:48,428 - INFO - Verifications in API Server for VN ctest-vn-54081800 passed 2024-09-12 22:13:48,429 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/268bd798-7c44-4a3f-8546-1f0cffda54df 2024-09-12 22:13:48,479 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/fa55bd1d-ad78-428b-ab4f-6abadec793f4 2024-09-12 22:13:48,506 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/fa55bd1d-ad78-428b-ab4f-6abadec793f4 2024-09-12 22:13:48,534 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/e3be80e9-5c88-4065-b663-68310ae902c9 2024-09-12 22:13:48,577 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13255807:ctest-vn-54081800', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13255807', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2777550645123893823', 'uuid-lslong': '9603397396106728671'}, 'enable': 'true', 'created': '2024-09-12T22:13:44', 'last-modified': '2024-09-12T22:13:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.638261'} 2024-09-12 22:13:48,600 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-12 22:13:48,600 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54081800 passed 2024-09-12 22:13:48,601 - DEBUG - ====Verifying policy data for ctest-vn-54081800 in API_Server ====== 2024-09-12 22:13:48,601 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-09-12 22:13:48,620 - DEBUG - Requesting: http://10.0.0.35:8082/domain/71091110-ed72-4793-bdee-1a03fa231daa 2024-09-12 22:13:48,660 - DEBUG - Requesting: http://10.0.0.35:8082/project/06c50859-6eb1-4308-b7c9-0bebdcec96a5 2024-09-12 22:13:48,828 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/268bd798-7c44-4a3f-8546-1f0cffda54df 2024-09-12 22:13:48,874 - DEBUG - ==>Verifying data for policy with id: 3129c329-e71b-459f-be4d-b97bc4b6894f, fqn: ['default-domain', 'ctest-TestBasicPolicy-13255807', 'ctest-policy-allow-all-32474993'] 2024-09-12 22:13:48,874 - INFO - VN ctest-vn-54081800 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-12 22:13:48,874 - DEBUG - Verifying the vn in opserver 2024-09-12 22:13:48,874 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13255807:ctest-vn-54081800 virtual network link through opserver 10.0.0.35 2024-09-12 22:13:48,875 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2024-09-12 22:13:49,194 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2024-09-12 22:13:49,319 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13255807:ctest-vn-54081800', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13255807:ctest-vn-54081800?flat'} 2024-09-12 22:13:49,319 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13255807:ctest-vn-54081800 is found in opserver 2024-09-12 22:13:49,351 - DEBUG - Do not have enough data to verify VN in agent 2024-09-12 22:13:49,363 - DEBUG - VRF ids for VN ctest-vn-54081800: {} 2024-09-12 22:13:49,363 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-09-12 22:13:49,376 - DEBUG - Requesting: http://10.0.0.35:8082/domain/71091110-ed72-4793-bdee-1a03fa231daa 2024-09-12 22:13:49,411 - DEBUG - Requesting: http://10.0.0.35:8082/project/06c50859-6eb1-4308-b7c9-0bebdcec96a5 2024-09-12 22:13:49,569 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/ecb1cc5f-36a7-4c0d-aa95-e54abd69439e 2024-09-12 22:13:49,626 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/ecb1cc5f-36a7-4c0d-aa95-e54abd69439e 2024-09-12 22:13:49,672 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/04a810ba-266c-4984-bb60-4f669d12af9c 2024-09-12 22:13:49,698 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/04a810ba-266c-4984-bb60-4f669d12af9c 2024-09-12 22:13:49,719 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/f35622f9-057c-4323-b394-3550ee31c6a1 2024-09-12 22:13:49,741 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-12 22:13:49,741 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/ecb1cc5f-36a7-4c0d-aa95-e54abd69439e 2024-09-12 22:13:49,777 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/04a810ba-266c-4984-bb60-4f669d12af9c 2024-09-12 22:13:49,831 - INFO - Verified VN network id 8 for VN ecb1cc5f-36a7-4c0d-aa95-e54abd69439e 2024-09-12 22:13:49,831 - INFO - Verifications in API Server for VN ctest-vn-46046460 passed 2024-09-12 22:13:49,832 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/ecb1cc5f-36a7-4c0d-aa95-e54abd69439e 2024-09-12 22:13:49,873 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/04a810ba-266c-4984-bb60-4f669d12af9c 2024-09-12 22:13:49,902 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/04a810ba-266c-4984-bb60-4f669d12af9c 2024-09-12 22:13:49,931 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/f35622f9-057c-4323-b394-3550ee31c6a1 2024-09-12 22:13:49,974 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13255807:ctest-vn-46046460', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13255807', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17055637973139672077', 'uuid-lslong': '12291982867145769886'}, 'enable': 'true', 'created': '2024-09-12T22:13:45', 'last-modified': '2024-09-12T22:13:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.629717'} 2024-09-12 22:13:49,995 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-09-12 22:13:49,996 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46046460 passed 2024-09-12 22:13:49,996 - DEBUG - ====Verifying policy data for ctest-vn-46046460 in API_Server ====== 2024-09-12 22:13:49,996 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-09-12 22:13:50,016 - DEBUG - Requesting: http://10.0.0.35:8082/domain/71091110-ed72-4793-bdee-1a03fa231daa 2024-09-12 22:13:50,062 - DEBUG - Requesting: http://10.0.0.35:8082/project/06c50859-6eb1-4308-b7c9-0bebdcec96a5 2024-09-12 22:13:50,175 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/ecb1cc5f-36a7-4c0d-aa95-e54abd69439e 2024-09-12 22:13:50,198 - DEBUG - ==>Verifying data for policy with id: 3129c329-e71b-459f-be4d-b97bc4b6894f, fqn: ['default-domain', 'ctest-TestBasicPolicy-13255807', 'ctest-policy-allow-all-32474993'] 2024-09-12 22:13:50,198 - INFO - VN ctest-vn-46046460 Policy verification: verify_vn_policy_in_api_server, status: True 2024-09-12 22:13:50,198 - DEBUG - Verifying the vn in opserver 2024-09-12 22:13:50,198 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13255807:ctest-vn-46046460 virtual network link through opserver 10.0.0.35 2024-09-12 22:13:50,198 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2024-09-12 22:13:50,218 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13255807:ctest-vn-46046460', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13255807:ctest-vn-46046460?flat'} 2024-09-12 22:13:50,218 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13255807:ctest-vn-46046460 is found in opserver 2024-09-12 22:13:50,235 - DEBUG - Do not have enough data to verify VN in agent 2024-09-12 22:13:50,248 - DEBUG - VRF ids for VN ctest-vn-46046460: {} 2024-09-12 22:13:50,362 - DEBUG - Services list from nova: [, , ] 2024-09-12 22:13:52,037 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1913-1) 2024-09-12 22:13:53,592 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1913-1) 2024-09-12 22:13:53,593 - INFO - Waiting for VM ctest-TestBasicPolicy-13255807-25904986 to be up.. 2024-09-12 22:13:53,720 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-12 22:13:58,916 - DEBUG - VM is in ACTIVE state now 2024-09-12 22:13:58,916 - INFO - VM name : ctest-TestBasicPolicy-13255807-25904986 2024-09-12 22:13:59,040 - DEBUG - VM ctest-TestBasicPolicy-13255807-25904986 ID is c41ff154-c83b-40e5-96e8-96ba58c8e9cd 2024-09-12 22:13:59,071 - DEBUG - VM ctest-TestBasicPolicy-13255807-25904986 launched on Node cn-jenkins-deploy-platform-ansible-os-1913-1 2024-09-12 22:13:59,238 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/c41ff154-c83b-40e5-96e8-96ba58c8e9cd 2024-09-12 22:13:59,254 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/6ca60719-46c1-43e9-b075-23c9fab8dc34 2024-09-12 22:14:02,644 - 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 1031ms') 2024-09-12 22:14:02,644 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13255807-25904986 failed! 2024-09-12 22:14:02,706 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-13255807:ctest-vn-54081800 is 19.167.254.193 and allocation pool is NOT set 2024-09-12 22:14:04,769 - 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=7.46 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.422 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.422/3.939/7.456/3.517 ms') 2024-09-12 22:14:04,769 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-13255807-25904986 passed 2024-09-12 22:14:04,930 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:14:04,930 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13255807-25904986, IP 19.167.254.195, Port 22 2024-09-12 22:14:05,100 - DEBUG - VM ctest-TestBasicPolicy-13255807-25904986 is ready for SSH connections 2024-09-12 22:14:05,100 - INFO - Waiting for VM ctest-TestBasicPolicy-13255807-32426322 to be up.. 2024-09-12 22:14:05,217 - DEBUG - VM is in ACTIVE state now 2024-09-12 22:14:05,217 - INFO - VM name : ctest-TestBasicPolicy-13255807-32426322 2024-09-12 22:14:05,313 - DEBUG - VM ctest-TestBasicPolicy-13255807-32426322 ID is 4fb8cda3-3d0f-4cd6-930e-64ce96a3ce40 2024-09-12 22:14:05,313 - DEBUG - VM ctest-TestBasicPolicy-13255807-32426322 launched on Node cn-jenkins-deploy-platform-ansible-os-1913-1 2024-09-12 22:14:05,421 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/4fb8cda3-3d0f-4cd6-930e-64ce96a3ce40 2024-09-12 22:14:05,433 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/d4bc395e-6faf-45f2-a857-0db87a4fe523 2024-09-12 22:14:06,695 - 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.36 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.511 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.511/1.936/3.362/1.425 ms') 2024-09-12 22:14:06,696 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-13255807-32426322 passed 2024-09-12 22:14:06,891 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:14:06,891 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-13255807-32426322, IP 186.78.89.67, Port 22 2024-09-12 22:14:07,090 - DEBUG - VM ctest-TestBasicPolicy-13255807-32426322 is ready for SSH connections 2024-09-12 22:14:07,090 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:14:07,090 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.78.89.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2024-09-12 22:14:07,091 - DEBUG - ping -s 56 -c 3 -W 1 186.78.89.67 2024-09-12 22:14:11,658 - DEBUG - PING 186.78.89.67 (186.78.89.67): 56 data bytes 64 bytes from 186.78.89.67: seq=0 ttl=63 time=5.843 ms 64 bytes from 186.78.89.67: seq=1 ttl=63 time=2.640 ms 64 bytes from 186.78.89.67: seq=2 ttl=63 time=1.528 ms --- 186.78.89.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.528/3.337/5.843 ms 2024-09-12 22:14:11,658 - INFO - Ping to IP 186.78.89.67 from VM ctest-TestBasicPolicy-13255807-25904986 passed 2024-09-12 22:14:11,946 - DEBUG - Policy Update Response {"network-policy": {"uuid": "3129c329-e71b-459f-be4d-b97bc4b6894f", "href": "http://10.0.0.35:8082/network-policy/3129c329-e71b-459f-be4d-b97bc4b6894f"}} 2024-09-12 22:14:11,946 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:14:11,946 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 186.78.89.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.35, gateway password: c0ntrail123 2024-09-12 22:14:11,946 - DEBUG - ping -s 56 -c 3 -W 1 186.78.89.67 2024-09-12 22:14:15,211 - DEBUG - PING 186.78.89.67 (186.78.89.67): 56 data bytes --- 186.78.89.67 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2024-09-12 22:14:15,212 - WARNING - Ping to IP 186.78.89.67 from VM ctest-TestBasicPolicy-13255807-25904986 failed 2024-09-12 22:14:15,212 - INFO - Deleting VM ctest-TestBasicPolicy-13255807-32426322 2024-09-12 22:14:15,407 - INFO - Deleting VM ctest-TestBasicPolicy-13255807-25904986 2024-09-12 22:14:16,100 - INFO - Deleted policy ctest-policy-allow-all-32474993 2024-09-12 22:14:16,100 - INFO - Deleting VN ctest-vn-46046460 2024-09-12 22:14:16,177 - DEBUG - VN ecb1cc5f-36a7-4c0d-aa95-e54abd69439e still in use: Unable to complete operation on network ecb1cc5f-36a7-4c0d-aa95-e54abd69439e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-8a04cfc9-7d64-4c1d-baeb-7dc592521df0'] 2024-09-12 22:14:16,177 - WARNING - Deleting VN ctest-vn-46046460 failed..Will retry 2024-09-12 22:14:18,430 - DEBUG - Response for deleting network () 2024-09-12 22:14:18,430 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/04a810ba-266c-4984-bb60-4f669d12af9c 2024-09-12 22:14:18,437 - DEBUG - Response Code: 404 2024-09-12 22:14:18,437 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-09-12 22:14:18,446 - DEBUG - Requesting: http://10.0.0.35:8082/domain/71091110-ed72-4793-bdee-1a03fa231daa 2024-09-12 22:14:18,513 - DEBUG - Requesting: http://10.0.0.35:8082/project/06c50859-6eb1-4308-b7c9-0bebdcec96a5 2024-09-12 22:14:18,668 - INFO - Validated that VN ctest-vn-46046460 is not found in API Server 2024-09-12 22:14:18,701 - DEBUG - VN ctest-vn-46046460 is not present in Agent 10.0.0.35 2024-09-12 22:14:18,702 - INFO - Validated that VN ctest-vn-46046460 is not in any agent 2024-09-12 22:14:18,757 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-46046460 info 2024-09-12 22:14:18,757 - INFO - Deleting VN ctest-vn-54081800 2024-09-12 22:14:18,992 - DEBUG - Response for deleting network () 2024-09-12 22:14:18,992 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/fa55bd1d-ad78-428b-ab4f-6abadec793f4 2024-09-12 22:14:19,000 - DEBUG - Response Code: 404 2024-09-12 22:14:19,000 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-09-12 22:14:19,010 - DEBUG - Requesting: http://10.0.0.35:8082/domain/71091110-ed72-4793-bdee-1a03fa231daa 2024-09-12 22:14:19,092 - DEBUG - Requesting: http://10.0.0.35:8082/project/06c50859-6eb1-4308-b7c9-0bebdcec96a5 2024-09-12 22:14:19,257 - INFO - Validated that VN ctest-vn-54081800 is not found in API Server 2024-09-12 22:14:19,284 - DEBUG - VN ctest-vn-54081800 is not present in Agent 10.0.0.35 2024-09-12 22:14:19,284 - INFO - Validated that VN ctest-vn-54081800 is not in any agent 2024-09-12 22:14:19,321 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54081800 info 2024-09-12 22:14:19,659 - DEBUG - No XMPP flaps were noticed during the test 2024-09-12 22:14:19,659 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:36] 2024-09-12 22:14:19,660 - INFO - -------------------------------------------------------------------------------- 2024-09-12 22:14:21,190 - INFO - Deleted project: ctest-TestBasicPolicy-13255807, ID : 06c50859-6eb1-4308-b7c9-0bebdcec96a5