2025-04-07 09:42:07,564 - INFO - Domain Default found not creating 2025-04-07 09:42:07,753 - INFO - Project ctest-TestBasicPolicy-48373245 not found, creating it 2025-04-07 09:42:08,257 - INFO - Created Project:ctest-TestBasicPolicy-48373245, ID : 95513d37-9bc8-4ad8-84a6-99c0759907b8 2025-04-07 09:42:09,906 - INFO - ================================================================================ 2025-04-07 09:42:09,906 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-04-07 09:42:09,906 - 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 2025-04-07 09:42:10,167 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.0.0.23': '0'}} with 2025-04-07 09:42:10,167 - INFO - Initial checks done. Running the testcase now 2025-04-07 09:42:10,167 - INFO - 2025-04-07 09:42:10,805 - DEBUG - Response for create_network : {'network': {'id': 'c4594c47-b492-4323-9bfc-ba35b3811206', 'name': 'ctest-vn-79498325', 'tenant_id': '95513d379bc84ad884a699c0759907b8', 'project_id': '95513d379bc84ad884a699c0759907b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48373245', 'ctest-vn-79498325'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 09:42:10,981 - DEBUG - Response for create_subnet : {'subnet': {'id': '118d776a-4455-4a63-8310-8ef54c8819a9', 'name': '', 'tenant_id': '95513d379bc84ad884a699c0759907b8', 'network_id': 'c4594c47-b492-4323-9bfc-ba35b3811206', 'ip_version': 4, 'cidr': '212.107.116.192/26', 'allocation_pools': [{'start': '212.107.116.194', 'end': '212.107.116.254'}], 'gateway_ip': '212.107.116.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '212.107.116.194', 'tags': [], 'project_id': '95513d379bc84ad884a699c0759907b8'}} 2025-04-07 09:42:11,002 - INFO - Created VN ctest-vn-79498325 2025-04-07 09:42:11,056 - DEBUG - VN ctest-vn-79498325 UUID is c4594c47-b492-4323-9bfc-ba35b3811206 2025-04-07 09:42:11,389 - DEBUG - Response for create_network : {'network': {'id': '5a15f3b9-3df3-4d91-83a7-5205fe98be86', 'name': 'ctest-vn-27540682', 'tenant_id': '95513d379bc84ad884a699c0759907b8', 'project_id': '95513d379bc84ad884a699c0759907b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48373245', 'ctest-vn-27540682'], 'port_security_enabled': True, 'description': ''}} 2025-04-07 09:42:11,607 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bffb9bbb-5bcf-4364-b2ee-57eb986391df', 'name': '', 'tenant_id': '95513d379bc84ad884a699c0759907b8', 'network_id': '5a15f3b9-3df3-4d91-83a7-5205fe98be86', 'ip_version': 4, 'cidr': '84.252.34.128/26', 'allocation_pools': [{'start': '84.252.34.130', 'end': '84.252.34.190'}], 'gateway_ip': '84.252.34.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.252.34.130', 'tags': [], 'project_id': '95513d379bc84ad884a699c0759907b8'}} 2025-04-07 09:42:11,631 - INFO - Created VN ctest-vn-27540682 2025-04-07 09:42:11,688 - DEBUG - VN ctest-vn-27540682 UUID is 5a15f3b9-3df3-4d91-83a7-5205fe98be86 2025-04-07 09:42:11,812 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48373245:ctest-vn-79498325, 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-48373245:ctest-vn-27540682, 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] 2025-04-07 09:42:12,127 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c4594c47-b492-4323-9bfc-ba35b3811206', 'name': 'ctest-vn-79498325', 'tenant_id': '95513d379bc84ad884a699c0759907b8', 'project_id': '95513d379bc84ad884a699c0759907b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['118d776a-4455-4a63-8310-8ef54c8819a9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48373245', 'ctest-vn-79498325'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48373245', 'ctest-policy-allow-all-45618322']], 'subnet_ipam': [{'subnet_cidr': '212.107.116.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-07 09:42:12,375 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5a15f3b9-3df3-4d91-83a7-5205fe98be86', 'name': 'ctest-vn-27540682', 'tenant_id': '95513d379bc84ad884a699c0759907b8', 'project_id': '95513d379bc84ad884a699c0759907b8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bffb9bbb-5bcf-4364-b2ee-57eb986391df'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48373245', 'ctest-vn-27540682'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48373245', 'ctest-policy-allow-all-45618322']], 'subnet_ipam': [{'subnet_cidr': '84.252.34.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-04-07 09:42:12,560 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-07 09:42:12,872 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-07 09:42:12,900 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8c65be83-6430-4700-9f8b-452004e69499 2025-04-07 09:42:12,915 - DEBUG - Requesting: http://10.0.0.23:8082/project/95513d37-9bc8-4ad8-84a6-99c0759907b8 2025-04-07 09:42:13,009 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/c4594c47-b492-4323-9bfc-ba35b3811206 2025-04-07 09:42:13,026 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/c4594c47-b492-4323-9bfc-ba35b3811206 2025-04-07 09:42:13,039 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/be7fcf33-01e9-419a-9806-171144464825 2025-04-07 09:42:13,048 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/be7fcf33-01e9-419a-9806-171144464825 2025-04-07 09:42:13,057 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/4cf4eba3-ef05-4d85-8e79-ea4c7899e031 2025-04-07 09:42:13,065 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-07 09:42:13,065 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/c4594c47-b492-4323-9bfc-ba35b3811206 2025-04-07 09:42:13,076 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/be7fcf33-01e9-419a-9806-171144464825 2025-04-07 09:42:13,093 - INFO - Verified VN network id 7 for VN c4594c47-b492-4323-9bfc-ba35b3811206 2025-04-07 09:42:13,095 - INFO - Verifications in API Server for VN ctest-vn-79498325 passed 2025-04-07 09:42:13,095 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/c4594c47-b492-4323-9bfc-ba35b3811206 2025-04-07 09:42:13,114 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/be7fcf33-01e9-419a-9806-171144464825 2025-04-07 09:42:13,122 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/be7fcf33-01e9-419a-9806-171144464825 2025-04-07 09:42:13,130 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/4cf4eba3-ef05-4d85-8e79-ea4c7899e031 2025-04-07 09:42:13,147 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48373245:ctest-vn-79498325', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48373245', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14148423575216997155', 'uuid-lslong': '11240063509817528838'}, 'enable': 'true', 'created': '2025-04-07T09:42:10', 'last-modified': '2025-04-07T09:42:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.047747'} 2025-04-07 09:42:13,153 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-04-07 09:42:13,153 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-79498325 passed 2025-04-07 09:42:13,153 - DEBUG - ====Verifying policy data for ctest-vn-79498325 in API_Server ====== 2025-04-07 09:42:13,153 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-07 09:42:13,161 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8c65be83-6430-4700-9f8b-452004e69499 2025-04-07 09:42:13,178 - DEBUG - Requesting: http://10.0.0.23:8082/project/95513d37-9bc8-4ad8-84a6-99c0759907b8 2025-04-07 09:42:13,262 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/c4594c47-b492-4323-9bfc-ba35b3811206 2025-04-07 09:42:13,274 - DEBUG - ==>Verifying data for policy with id: b10a8ea9-6b46-48d2-87cf-cf48b872deae, fqn: ['default-domain', 'ctest-TestBasicPolicy-48373245', 'ctest-policy-allow-all-45618322'] 2025-04-07 09:42:13,274 - INFO - VN ctest-vn-79498325 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-07 09:42:13,275 - DEBUG - Verifying the vn in opserver 2025-04-07 09:42:13,275 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48373245:ctest-vn-79498325 virtual network link through opserver 10.0.0.23 2025-04-07 09:42:13,275 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-04-07 09:42:13,579 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-04-07 09:42:13,641 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48373245:ctest-vn-79498325', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48373245:ctest-vn-79498325?flat'} 2025-04-07 09:42:13,641 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48373245:ctest-vn-79498325 is found in opserver 2025-04-07 09:42:13,654 - DEBUG - Do not have enough data to verify VN in agent 2025-04-07 09:42:13,661 - DEBUG - VRF ids for VN ctest-vn-79498325: {} 2025-04-07 09:42:13,661 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-07 09:42:13,668 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8c65be83-6430-4700-9f8b-452004e69499 2025-04-07 09:42:13,680 - DEBUG - Requesting: http://10.0.0.23:8082/project/95513d37-9bc8-4ad8-84a6-99c0759907b8 2025-04-07 09:42:13,758 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/5a15f3b9-3df3-4d91-83a7-5205fe98be86 2025-04-07 09:42:13,771 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/5a15f3b9-3df3-4d91-83a7-5205fe98be86 2025-04-07 09:42:13,782 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/ae9e8fca-b89c-4016-b2ef-fd0d5159074c 2025-04-07 09:42:13,791 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/ae9e8fca-b89c-4016-b2ef-fd0d5159074c 2025-04-07 09:42:13,799 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/4030ee00-0f61-4887-93a0-915715d7c582 2025-04-07 09:42:13,816 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-07 09:42:13,816 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/5a15f3b9-3df3-4d91-83a7-5205fe98be86 2025-04-07 09:42:13,828 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/ae9e8fca-b89c-4016-b2ef-fd0d5159074c 2025-04-07 09:42:13,846 - INFO - Verified VN network id 8 for VN 5a15f3b9-3df3-4d91-83a7-5205fe98be86 2025-04-07 09:42:13,846 - INFO - Verifications in API Server for VN ctest-vn-27540682 passed 2025-04-07 09:42:13,846 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/5a15f3b9-3df3-4d91-83a7-5205fe98be86 2025-04-07 09:42:13,860 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/ae9e8fca-b89c-4016-b2ef-fd0d5159074c 2025-04-07 09:42:13,869 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/ae9e8fca-b89c-4016-b2ef-fd0d5159074c 2025-04-07 09:42:13,879 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/4030ee00-0f61-4887-93a0-915715d7c582 2025-04-07 09:42:13,896 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48373245:ctest-vn-27540682', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48373245', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6491362414858292625', 'uuid-lslong': '9486641325778976390'}, 'enable': 'true', 'created': '2025-04-07T09:42:11', 'last-modified': '2025-04-07T09:42:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.548457'} 2025-04-07 09:42:13,904 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-04-07 09:42:13,904 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27540682 passed 2025-04-07 09:42:13,905 - DEBUG - ====Verifying policy data for ctest-vn-27540682 in API_Server ====== 2025-04-07 09:42:13,905 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-07 09:42:13,912 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8c65be83-6430-4700-9f8b-452004e69499 2025-04-07 09:42:13,924 - DEBUG - Requesting: http://10.0.0.23:8082/project/95513d37-9bc8-4ad8-84a6-99c0759907b8 2025-04-07 09:42:13,995 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/5a15f3b9-3df3-4d91-83a7-5205fe98be86 2025-04-07 09:42:14,008 - DEBUG - ==>Verifying data for policy with id: b10a8ea9-6b46-48d2-87cf-cf48b872deae, fqn: ['default-domain', 'ctest-TestBasicPolicy-48373245', 'ctest-policy-allow-all-45618322'] 2025-04-07 09:42:14,008 - INFO - VN ctest-vn-27540682 Policy verification: verify_vn_policy_in_api_server, status: True 2025-04-07 09:42:14,008 - DEBUG - Verifying the vn in opserver 2025-04-07 09:42:14,008 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48373245:ctest-vn-27540682 virtual network link through opserver 10.0.0.23 2025-04-07 09:42:14,008 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-04-07 09:42:14,029 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48373245:ctest-vn-27540682', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48373245:ctest-vn-27540682?flat'} 2025-04-07 09:42:14,029 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48373245:ctest-vn-27540682 is found in opserver 2025-04-07 09:42:14,041 - DEBUG - Do not have enough data to verify VN in agent 2025-04-07 09:42:14,047 - DEBUG - VRF ids for VN ctest-vn-27540682: {} 2025-04-07 09:42:14,145 - DEBUG - Services list from nova: [, , ] 2025-04-07 09:42:15,273 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3044-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3044-1) 2025-04-07 09:42:16,673 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-3044-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-3044-1) 2025-04-07 09:42:16,673 - INFO - Waiting for VM ctest-TestBasicPolicy-48373245-09600237 to be up.. 2025-04-07 09:42:16,769 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-04-07 09:42:21,876 - DEBUG - VM is in ACTIVE state now 2025-04-07 09:42:21,876 - INFO - VM name : ctest-TestBasicPolicy-48373245-09600237 2025-04-07 09:42:21,983 - DEBUG - VM ctest-TestBasicPolicy-48373245-09600237 ID is 6e6e0a2f-5df9-46e5-a59f-0df2feb83612 2025-04-07 09:42:22,011 - DEBUG - VM ctest-TestBasicPolicy-48373245-09600237 launched on Node cn-jenkins-deploy-platform-ansible-os-3044-1. 2025-04-07 09:42:22,113 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/6e6e0a2f-5df9-46e5-a59f-0df2feb83612 2025-04-07 09:42:22,123 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/ae109493-6e37-47d5-ab76-cc8453a81232 2025-04-07 09:42:25,391 - 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 1021ms') 2025-04-07 09:42:25,391 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48373245-09600237 failed! 2025-04-07 09:42:25,448 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-48373245:ctest-vn-79498325 is 212.107.116.193 and allocation pool is NOT set 2025-04-07 09:42:27,519 - 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=11.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.464 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 = 0.464/5.860/11.256/5.396 ms') 2025-04-07 09:42:27,519 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-48373245-09600237 passed 2025-04-07 09:42:27,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 09:42:27,676 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48373245-09600237, IP 212.107.116.195, Port 22 2025-04-07 09:42:27,846 - DEBUG - VM ctest-TestBasicPolicy-48373245-09600237 is ready for SSH connections 2025-04-07 09:42:27,846 - INFO - Waiting for VM ctest-TestBasicPolicy-48373245-66419190 to be up.. 2025-04-07 09:42:27,944 - DEBUG - VM is in ACTIVE state now 2025-04-07 09:42:27,944 - INFO - VM name : ctest-TestBasicPolicy-48373245-66419190 2025-04-07 09:42:28,036 - DEBUG - VM ctest-TestBasicPolicy-48373245-66419190 ID is 783671cd-9944-47af-92f5-fd2c0bac59d0 2025-04-07 09:42:28,037 - DEBUG - VM ctest-TestBasicPolicy-48373245-66419190 launched on Node cn-jenkins-deploy-platform-ansible-os-3044-1. 2025-04-07 09:42:28,128 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/783671cd-9944-47af-92f5-fd2c0bac59d0 2025-04-07 09:42:28,140 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/0874e53b-0482-4ba6-b6e3-214490bdf2a9 2025-04-07 09:42:29,391 - 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.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.557 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.557/2.011/3.466/1.454 ms') 2025-04-07 09:42:29,392 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-48373245-66419190 passed 2025-04-07 09:42:29,548 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 09:42:29,548 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-48373245-66419190, IP 84.252.34.131, Port 22 2025-04-07 09:42:29,711 - DEBUG - VM ctest-TestBasicPolicy-48373245-66419190 is ready for SSH connections 2025-04-07 09:42:29,711 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 09:42:29,712 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.252.34.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-04-07 09:42:29,712 - DEBUG - ping -s 56 -c 3 -W 1 84.252.34.131 2025-04-07 09:42:33,447 - DEBUG - PING 84.252.34.131 (84.252.34.131): 56 data bytes 64 bytes from 84.252.34.131: seq=0 ttl=63 time=4.191 ms 64 bytes from 84.252.34.131: seq=1 ttl=63 time=0.981 ms 64 bytes from 84.252.34.131: seq=2 ttl=63 time=0.989 ms --- 84.252.34.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.981/2.053/4.191 ms 2025-04-07 09:42:33,447 - INFO - Ping to IP 84.252.34.131 from VM ctest-TestBasicPolicy-48373245-09600237 passed 2025-04-07 09:42:33,644 - DEBUG - Policy Update Response {"network-policy": {"uuid": "b10a8ea9-6b46-48d2-87cf-cf48b872deae", "href": "http://10.0.0.23:8082/network-policy/b10a8ea9-6b46-48d2-87cf-cf48b872deae"}} 2025-04-07 09:42:33,644 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-04-07 09:42:33,644 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 84.252.34.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.23, gateway password: c0ntrail123 2025-04-07 09:42:33,644 - DEBUG - ping -s 56 -c 3 -W 1 84.252.34.131 2025-04-07 09:42:36,887 - DEBUG - PING 84.252.34.131 (84.252.34.131): 56 data bytes --- 84.252.34.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-04-07 09:42:36,887 - WARNING - Ping to IP 84.252.34.131 from VM ctest-TestBasicPolicy-48373245-09600237 failed 2025-04-07 09:42:36,887 - INFO - Deleting VM ctest-TestBasicPolicy-48373245-66419190 2025-04-07 09:42:36,994 - INFO - Deleting VM ctest-TestBasicPolicy-48373245-09600237 2025-04-07 09:42:37,519 - INFO - Deleted policy ctest-policy-allow-all-45618322 2025-04-07 09:42:37,520 - INFO - Deleting VN ctest-vn-27540682 2025-04-07 09:42:37,576 - DEBUG - VN 5a15f3b9-3df3-4d91-83a7-5205fe98be86 still in use: Unable to complete operation on network 5a15f3b9-3df3-4d91-83a7-5205fe98be86. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e47ceb31-ca34-4bca-b26b-04ea3db2e587'] 2025-04-07 09:42:37,576 - WARNING - Deleting VN ctest-vn-27540682 failed..Will retry 2025-04-07 09:42:39,688 - DEBUG - Response for deleting network () 2025-04-07 09:42:39,689 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/ae9e8fca-b89c-4016-b2ef-fd0d5159074c 2025-04-07 09:42:39,693 - DEBUG - Response Code: 404 2025-04-07 09:42:39,694 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-07 09:42:39,706 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8c65be83-6430-4700-9f8b-452004e69499 2025-04-07 09:42:39,758 - DEBUG - Requesting: http://10.0.0.23:8082/project/95513d37-9bc8-4ad8-84a6-99c0759907b8 2025-04-07 09:42:39,839 - INFO - Validated that VN ctest-vn-27540682 is not found in API Server 2025-04-07 09:42:39,851 - DEBUG - VN ctest-vn-27540682 is not present in Agent 10.0.0.23 2025-04-07 09:42:39,851 - INFO - Validated that VN ctest-vn-27540682 is not in any agent 2025-04-07 09:42:39,866 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-27540682 info 2025-04-07 09:42:39,866 - INFO - Deleting VN ctest-vn-79498325 2025-04-07 09:42:39,979 - DEBUG - Response for deleting network () 2025-04-07 09:42:39,979 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/be7fcf33-01e9-419a-9806-171144464825 2025-04-07 09:42:39,990 - DEBUG - Response Code: 404 2025-04-07 09:42:39,990 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-04-07 09:42:39,996 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8c65be83-6430-4700-9f8b-452004e69499 2025-04-07 09:42:40,051 - DEBUG - Requesting: http://10.0.0.23:8082/project/95513d37-9bc8-4ad8-84a6-99c0759907b8 2025-04-07 09:42:40,128 - INFO - Validated that VN ctest-vn-79498325 is not found in API Server 2025-04-07 09:42:40,141 - DEBUG - VN ctest-vn-79498325 is not present in Agent 10.0.0.23 2025-04-07 09:42:40,141 - INFO - Validated that VN ctest-vn-79498325 is not in any agent 2025-04-07 09:42:40,168 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-79498325 info 2025-04-07 09:42:40,433 - DEBUG - No XMPP flaps were noticed during the test 2025-04-07 09:42:40,434 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:31] 2025-04-07 09:42:40,434 - INFO - -------------------------------------------------------------------------------- 2025-04-07 09:42:41,138 - INFO - Deleted project: ctest-TestBasicPolicy-48373245, ID : 95513d37-9bc8-4ad8-84a6-99c0759907b8