2024-08-26 13:06:33,448 - INFO - Domain Default found not creating 2024-08-26 13:06:33,658 - INFO - Project ctest-TestBasicPolicy-03470235 not found, creating it 2024-08-26 13:06:34,176 - INFO - Created Project:ctest-TestBasicPolicy-03470235, ID : 40ba9774-da25-40db-aad5-c2c86ed3b3ce 2024-08-26 13:06:35,823 - INFO - ================================================================================ 2024-08-26 13:06:35,824 - INFO - STARTING TEST : test_basic_policy_allow_deny 2024-08-26 13:06:35,824 - 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-08-26 13:06:36,090 - DEBUG - Nothing to compare xmpp stats {'10.0.0.32': {'10.20.0.6': '0'}} with 2024-08-26 13:06:36,090 - INFO - Initial checks done. Running the testcase now 2024-08-26 13:06:36,090 - INFO - 2024-08-26 13:06:36,754 - DEBUG - Response for create_network : {'network': {'id': '39931958-78e4-4bce-a78d-7aca6ede72a7', 'name': 'ctest-vn-94753954', 'tenant_id': '40ba9774da2540dbaad5c2c86ed3b3ce', 'project_id': '40ba9774da2540dbaad5c2c86ed3b3ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03470235', 'ctest-vn-94753954'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 13:06:36,986 - DEBUG - Response for create_subnet : {'subnet': {'id': '8a581515-35c2-4cee-aad5-1d1103289d4b', 'name': '', 'tenant_id': '40ba9774da2540dbaad5c2c86ed3b3ce', 'network_id': '39931958-78e4-4bce-a78d-7aca6ede72a7', 'ip_version': 4, 'cidr': '56.42.253.64/26', 'allocation_pools': [{'start': '56.42.253.66', 'end': '56.42.253.126'}], 'gateway_ip': '56.42.253.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.42.253.66', 'tags': [], 'project_id': '40ba9774da2540dbaad5c2c86ed3b3ce'}} 2024-08-26 13:06:37,009 - INFO - Created VN ctest-vn-94753954 2024-08-26 13:06:37,065 - DEBUG - VN ctest-vn-94753954 UUID is 39931958-78e4-4bce-a78d-7aca6ede72a7 2024-08-26 13:06:37,399 - DEBUG - Response for create_network : {'network': {'id': '7aec8fde-b587-41ed-9c59-7a4d83612bd0', 'name': 'ctest-vn-54007620', 'tenant_id': '40ba9774da2540dbaad5c2c86ed3b3ce', 'project_id': '40ba9774da2540dbaad5c2c86ed3b3ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03470235', 'ctest-vn-54007620'], 'port_security_enabled': True, 'description': ''}} 2024-08-26 13:06:37,617 - DEBUG - Response for create_subnet : {'subnet': {'id': '888eb34a-f864-4f71-a732-2aab36f0067e', 'name': '', 'tenant_id': '40ba9774da2540dbaad5c2c86ed3b3ce', 'network_id': '7aec8fde-b587-41ed-9c59-7a4d83612bd0', 'ip_version': 4, 'cidr': '119.169.47.64/26', 'allocation_pools': [{'start': '119.169.47.66', 'end': '119.169.47.126'}], 'gateway_ip': '119.169.47.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.169.47.66', 'tags': [], 'project_id': '40ba9774da2540dbaad5c2c86ed3b3ce'}} 2024-08-26 13:06:37,638 - INFO - Created VN ctest-vn-54007620 2024-08-26 13:06:37,692 - DEBUG - VN ctest-vn-54007620 UUID is 7aec8fde-b587-41ed-9c59-7a4d83612bd0 2024-08-26 13:06:37,821 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03470235:ctest-vn-94753954, 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-03470235:ctest-vn-54007620, 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-08-26 13:06:38,151 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '39931958-78e4-4bce-a78d-7aca6ede72a7', 'name': 'ctest-vn-94753954', 'tenant_id': '40ba9774da2540dbaad5c2c86ed3b3ce', 'project_id': '40ba9774da2540dbaad5c2c86ed3b3ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8a581515-35c2-4cee-aad5-1d1103289d4b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03470235', 'ctest-vn-94753954'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03470235', 'ctest-policy-allow-all-41351601']], 'subnet_ipam': [{'subnet_cidr': '56.42.253.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-26 13:06:38,426 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7aec8fde-b587-41ed-9c59-7a4d83612bd0', 'name': 'ctest-vn-54007620', 'tenant_id': '40ba9774da2540dbaad5c2c86ed3b3ce', 'project_id': '40ba9774da2540dbaad5c2c86ed3b3ce', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['888eb34a-f864-4f71-a732-2aab36f0067e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03470235', 'ctest-vn-54007620'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03470235', 'ctest-policy-allow-all-41351601']], 'subnet_ipam': [{'subnet_cidr': '119.169.47.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2024-08-26 13:06:38,612 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-08-26 13:06:38,914 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-08-26 13:06:38,950 - DEBUG - Requesting: http://10.0.0.32:8082/domain/7ac0576b-bc7f-4e14-be29-9976d3ec1d12 2024-08-26 13:06:38,983 - DEBUG - Requesting: http://10.0.0.32:8082/project/40ba9774-da25-40db-aad5-c2c86ed3b3ce 2024-08-26 13:06:39,063 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/39931958-78e4-4bce-a78d-7aca6ede72a7 2024-08-26 13:06:39,074 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/39931958-78e4-4bce-a78d-7aca6ede72a7 2024-08-26 13:06:39,084 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/497731ab-5e4b-4fa8-a4d5-f737c46804e8 2024-08-26 13:06:39,092 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/497731ab-5e4b-4fa8-a4d5-f737c46804e8 2024-08-26 13:06:39,101 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/424a3c4f-5831-47fd-8524-6be67d05b894 2024-08-26 13:06:39,109 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-26 13:06:39,109 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/39931958-78e4-4bce-a78d-7aca6ede72a7 2024-08-26 13:06:39,118 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/497731ab-5e4b-4fa8-a4d5-f737c46804e8 2024-08-26 13:06:39,136 - INFO - Verified VN network id 8 for VN 39931958-78e4-4bce-a78d-7aca6ede72a7 2024-08-26 13:06:39,136 - INFO - Verifications in API Server for VN ctest-vn-94753954 passed 2024-08-26 13:06:39,136 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/39931958-78e4-4bce-a78d-7aca6ede72a7 2024-08-26 13:06:39,149 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/497731ab-5e4b-4fa8-a4d5-f737c46804e8 2024-08-26 13:06:39,157 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/497731ab-5e4b-4fa8-a4d5-f737c46804e8 2024-08-26 13:06:39,165 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/424a3c4f-5831-47fd-8524-6be67d05b894 2024-08-26 13:06:39,183 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03470235:ctest-vn-94753954', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03470235', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4148687549514402766', 'uuid-lslong': '12073441185912222375'}, 'enable': 'true', 'created': '2024-08-26T13:06:36', 'last-modified': '2024-08-26T13:06:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.060410'} 2024-08-26 13:06:39,191 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-26 13:06:39,191 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94753954 passed 2024-08-26 13:06:39,192 - DEBUG - ====Verifying policy data for ctest-vn-94753954 in API_Server ====== 2024-08-26 13:06:39,192 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-08-26 13:06:39,200 - DEBUG - Requesting: http://10.0.0.32:8082/domain/7ac0576b-bc7f-4e14-be29-9976d3ec1d12 2024-08-26 13:06:39,218 - DEBUG - Requesting: http://10.0.0.32:8082/project/40ba9774-da25-40db-aad5-c2c86ed3b3ce 2024-08-26 13:06:39,293 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/39931958-78e4-4bce-a78d-7aca6ede72a7 2024-08-26 13:06:39,303 - DEBUG - ==>Verifying data for policy with id: a168778e-94e8-47b3-95f1-96b990b728a3, fqn: ['default-domain', 'ctest-TestBasicPolicy-03470235', 'ctest-policy-allow-all-41351601'] 2024-08-26 13:06:39,303 - INFO - VN ctest-vn-94753954 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-26 13:06:39,303 - DEBUG - Verifying the vn in opserver 2024-08-26 13:06:39,303 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03470235:ctest-vn-94753954 virtual network link through opserver 10.0.0.32 2024-08-26 13:06:39,303 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-08-26 13:06:39,606 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-08-26 13:06:39,683 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03470235:ctest-vn-94753954', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03470235:ctest-vn-94753954?flat'} 2024-08-26 13:06:39,683 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03470235:ctest-vn-94753954 is found in opserver 2024-08-26 13:06:39,697 - DEBUG - Do not have enough data to verify VN in agent 2024-08-26 13:06:39,703 - DEBUG - VRF ids for VN ctest-vn-94753954: {} 2024-08-26 13:06:39,703 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-08-26 13:06:39,710 - DEBUG - Requesting: http://10.0.0.32:8082/domain/7ac0576b-bc7f-4e14-be29-9976d3ec1d12 2024-08-26 13:06:39,726 - DEBUG - Requesting: http://10.0.0.32:8082/project/40ba9774-da25-40db-aad5-c2c86ed3b3ce 2024-08-26 13:06:39,801 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/7aec8fde-b587-41ed-9c59-7a4d83612bd0 2024-08-26 13:06:39,815 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/7aec8fde-b587-41ed-9c59-7a4d83612bd0 2024-08-26 13:06:39,827 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/4df03e52-e5c2-4b1a-9feb-9bee81da55f0 2024-08-26 13:06:39,837 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/4df03e52-e5c2-4b1a-9feb-9bee81da55f0 2024-08-26 13:06:39,845 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/6a429a7a-6a0e-4099-87e8-661fdb6d2cda 2024-08-26 13:06:39,853 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-26 13:06:39,853 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/7aec8fde-b587-41ed-9c59-7a4d83612bd0 2024-08-26 13:06:39,863 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/4df03e52-e5c2-4b1a-9feb-9bee81da55f0 2024-08-26 13:06:39,878 - INFO - Verified VN network id 9 for VN 7aec8fde-b587-41ed-9c59-7a4d83612bd0 2024-08-26 13:06:39,878 - INFO - Verifications in API Server for VN ctest-vn-54007620 passed 2024-08-26 13:06:39,878 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/7aec8fde-b587-41ed-9c59-7a4d83612bd0 2024-08-26 13:06:39,889 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/4df03e52-e5c2-4b1a-9feb-9bee81da55f0 2024-08-26 13:06:39,898 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/4df03e52-e5c2-4b1a-9feb-9bee81da55f0 2024-08-26 13:06:39,906 - DEBUG - Requesting: http://10.0.0.32:8082/route-target/6a429a7a-6a0e-4099-87e8-661fdb6d2cda 2024-08-26 13:06:39,923 - DEBUG - Control-node 10.0.0.32 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03470235:ctest-vn-54007620', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03470235', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8857612753821975021', 'uuid-lslong': '11266170416179260368'}, 'enable': 'true', 'created': '2024-08-26T13:06:37', 'last-modified': '2024-08-26T13:06:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.535026'} 2024-08-26 13:06:39,932 - DEBUG - Route Targets: ['target:64512:8000006'] 2024-08-26 13:06:39,932 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54007620 passed 2024-08-26 13:06:39,933 - DEBUG - ====Verifying policy data for ctest-vn-54007620 in API_Server ====== 2024-08-26 13:06:39,933 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-08-26 13:06:39,940 - DEBUG - Requesting: http://10.0.0.32:8082/domain/7ac0576b-bc7f-4e14-be29-9976d3ec1d12 2024-08-26 13:06:39,955 - DEBUG - Requesting: http://10.0.0.32:8082/project/40ba9774-da25-40db-aad5-c2c86ed3b3ce 2024-08-26 13:06:40,032 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-network/7aec8fde-b587-41ed-9c59-7a4d83612bd0 2024-08-26 13:06:40,044 - DEBUG - ==>Verifying data for policy with id: a168778e-94e8-47b3-95f1-96b990b728a3, fqn: ['default-domain', 'ctest-TestBasicPolicy-03470235', 'ctest-policy-allow-all-41351601'] 2024-08-26 13:06:40,044 - INFO - VN ctest-vn-54007620 Policy verification: verify_vn_policy_in_api_server, status: True 2024-08-26 13:06:40,044 - DEBUG - Verifying the vn in opserver 2024-08-26 13:06:40,044 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03470235:ctest-vn-54007620 virtual network link through opserver 10.0.0.32 2024-08-26 13:06:40,044 - DEBUG - Requesting: http://10.0.0.32:8081/analytics/uves/virtual-networks 2024-08-26 13:06:40,059 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03470235:ctest-vn-54007620', 'href': 'http://10.0.0.32:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03470235:ctest-vn-54007620?flat'} 2024-08-26 13:06:40,059 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03470235:ctest-vn-54007620 is found in opserver 2024-08-26 13:06:40,074 - DEBUG - Do not have enough data to verify VN in agent 2024-08-26 13:06:40,081 - DEBUG - VRF ids for VN ctest-vn-54007620: {} 2024-08-26 13:06:40,158 - DEBUG - Services list from nova: [, , ] 2024-08-26 13:06:41,276 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1758-1) 2024-08-26 13:06:42,757 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1758-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1758-1) 2024-08-26 13:06:42,757 - INFO - Waiting for VM ctest-TestBasicPolicy-03470235-03352325 to be up.. 2024-08-26 13:06:42,868 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-26 13:06:47,974 - DEBUG - VM is in ACTIVE state now 2024-08-26 13:06:47,974 - INFO - VM name : ctest-TestBasicPolicy-03470235-03352325 2024-08-26 13:06:48,084 - DEBUG - VM ctest-TestBasicPolicy-03470235-03352325 ID is 5b1732f6-20fc-4384-8c81-a9217045242f 2024-08-26 13:06:48,111 - DEBUG - VM ctest-TestBasicPolicy-03470235-03352325 launched on Node cn-jenkins-deploy-platform-ansible-os-1758-1 2024-08-26 13:06:48,217 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/5b1732f6-20fc-4384-8c81-a9217045242f 2024-08-26 13:06:48,228 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/026944a8-cf29-4efe-b32f-2200a6947b4a 2024-08-26 13:06:51,506 - 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 1025ms') 2024-08-26 13:06:51,506 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03470235-03352325 failed! 2024-08-26 13:06:51,564 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-03470235:ctest-vn-94753954 is 56.42.253.65 and allocation pool is NOT set 2024-08-26 13:06:53,630 - 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=21.7 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.23 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.232/11.969/21.706/9.737 ms') 2024-08-26 13:06:53,630 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-03470235-03352325 passed 2024-08-26 13:06:53,784 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 13:06:53,784 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03470235-03352325, IP 56.42.253.67, Port 22 2024-08-26 13:06:53,955 - DEBUG - VM ctest-TestBasicPolicy-03470235-03352325 is ready for SSH connections 2024-08-26 13:06:53,955 - INFO - Waiting for VM ctest-TestBasicPolicy-03470235-70675989 to be up.. 2024-08-26 13:06:54,067 - DEBUG - VM is in ACTIVE state now 2024-08-26 13:06:54,068 - INFO - VM name : ctest-TestBasicPolicy-03470235-70675989 2024-08-26 13:06:54,184 - DEBUG - VM ctest-TestBasicPolicy-03470235-70675989 ID is 7f56bae1-8e63-4beb-b038-3d7572572732 2024-08-26 13:06:54,184 - DEBUG - VM ctest-TestBasicPolicy-03470235-70675989 launched on Node cn-jenkins-deploy-platform-ansible-os-1758-1 2024-08-26 13:06:54,289 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine/7f56bae1-8e63-4beb-b038-3d7572572732 2024-08-26 13:06:54,299 - DEBUG - Requesting: http://10.0.0.32:8082/virtual-machine-interface/33cb3a2b-1db9-4822-b1a6-ca5d4fc58a73 2024-08-26 13:06:55,556 - 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.58 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.63 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 = 2.632/3.604/4.576/0.972 ms') 2024-08-26 13:06:55,556 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-03470235-70675989 passed 2024-08-26 13:06:55,708 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 13:06:55,709 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-03470235-70675989, IP 119.169.47.67, Port 22 2024-08-26 13:06:55,872 - DEBUG - VM ctest-TestBasicPolicy-03470235-70675989 is ready for SSH connections 2024-08-26 13:06:55,872 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 13:06:55,872 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.169.47.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-08-26 13:06:55,873 - DEBUG - ping -s 56 -c 3 -W 1 119.169.47.67 2024-08-26 13:06:59,940 - DEBUG - PING 119.169.47.67 (119.169.47.67): 56 data bytes 64 bytes from 119.169.47.67: seq=0 ttl=63 time=4.372 ms 64 bytes from 119.169.47.67: seq=1 ttl=63 time=0.888 ms 64 bytes from 119.169.47.67: seq=2 ttl=63 time=0.934 ms --- 119.169.47.67 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.888/2.064/4.372 ms 2024-08-26 13:06:59,940 - INFO - Ping to IP 119.169.47.67 from VM ctest-TestBasicPolicy-03470235-03352325 passed 2024-08-26 13:07:00,140 - DEBUG - Policy Update Response {"network-policy": {"uuid": "a168778e-94e8-47b3-95f1-96b990b728a3", "href": "http://10.0.0.32:8082/network-policy/a168778e-94e8-47b3-95f1-96b990b728a3"}} 2024-08-26 13:07:00,140 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-26 13:07:00,140 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 119.169.47.67, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.32, gateway password: c0ntrail123 2024-08-26 13:07:00,141 - DEBUG - ping -s 56 -c 3 -W 1 119.169.47.67 2024-08-26 13:07:03,366 - DEBUG - PING 119.169.47.67 (119.169.47.67): 56 data bytes 64 bytes from 119.169.47.67: seq=0 ttl=63 time=1.898 ms --- 119.169.47.67 ping statistics --- 3 packets transmitted, 1 packets received, 66% packet loss round-trip min/avg/max = 1.898/1.898/1.898 ms 2024-08-26 13:07:03,366 - WARNING - Ping to IP 119.169.47.67 from VM ctest-TestBasicPolicy-03470235-03352325 failed 2024-08-26 13:07:03,366 - INFO - Deleting VM ctest-TestBasicPolicy-03470235-70675989 2024-08-26 13:07:03,450 - INFO - Deleting VM ctest-TestBasicPolicy-03470235-03352325 2024-08-26 13:07:03,946 - INFO - Deleted policy ctest-policy-allow-all-41351601 2024-08-26 13:07:03,946 - INFO - Deleting VN ctest-vn-54007620 2024-08-26 13:07:04,014 - DEBUG - VN 7aec8fde-b587-41ed-9c59-7a4d83612bd0 still in use: Unable to complete operation on network 7aec8fde-b587-41ed-9c59-7a4d83612bd0. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3d5f1746-51ab-49a9-bbc5-ba133e86200a'] 2024-08-26 13:07:04,015 - WARNING - Deleting VN ctest-vn-54007620 failed..Will retry 2024-08-26 13:07:06,377 - DEBUG - Response for deleting network () 2024-08-26 13:07:06,377 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/4df03e52-e5c2-4b1a-9feb-9bee81da55f0 2024-08-26 13:07:06,385 - DEBUG - Response Code: 404 2024-08-26 13:07:06,385 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-08-26 13:07:06,397 - DEBUG - Requesting: http://10.0.0.32:8082/domain/7ac0576b-bc7f-4e14-be29-9976d3ec1d12 2024-08-26 13:07:06,417 - DEBUG - Requesting: http://10.0.0.32:8082/project/40ba9774-da25-40db-aad5-c2c86ed3b3ce 2024-08-26 13:07:06,490 - INFO - Validated that VN ctest-vn-54007620 is not found in API Server 2024-08-26 13:07:06,502 - DEBUG - VN ctest-vn-54007620 is not present in Agent 10.0.0.32 2024-08-26 13:07:06,502 - INFO - Validated that VN ctest-vn-54007620 is not in any agent 2024-08-26 13:07:06,519 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-54007620 info 2024-08-26 13:07:06,519 - INFO - Deleting VN ctest-vn-94753954 2024-08-26 13:07:06,642 - DEBUG - Response for deleting network () 2024-08-26 13:07:06,642 - DEBUG - Requesting: http://10.0.0.32:8082/routing-instance/497731ab-5e4b-4fa8-a4d5-f737c46804e8 2024-08-26 13:07:06,653 - DEBUG - Response Code: 404 2024-08-26 13:07:06,654 - DEBUG - Requesting: http://10.0.0.32:8082/domains 2024-08-26 13:07:06,665 - DEBUG - Requesting: http://10.0.0.32:8082/domain/7ac0576b-bc7f-4e14-be29-9976d3ec1d12 2024-08-26 13:07:06,681 - DEBUG - Requesting: http://10.0.0.32:8082/project/40ba9774-da25-40db-aad5-c2c86ed3b3ce 2024-08-26 13:07:06,758 - INFO - Validated that VN ctest-vn-94753954 is not found in API Server 2024-08-26 13:07:06,772 - DEBUG - VN ctest-vn-94753954 is not present in Agent 10.0.0.32 2024-08-26 13:07:06,772 - INFO - Validated that VN ctest-vn-94753954 is not in any agent 2024-08-26 13:07:06,792 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-94753954 info 2024-08-26 13:07:07,051 - DEBUG - No XMPP flaps were noticed during the test 2024-08-26 13:07:07,051 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:32] 2024-08-26 13:07:07,051 - INFO - -------------------------------------------------------------------------------- 2024-08-26 13:07:07,778 - INFO - Deleted project: ctest-TestBasicPolicy-03470235, ID : 40ba9774-da25-40db-aad5-c2c86ed3b3ce