2025-09-26 00:16:18,618 - INFO - Domain Default found not creating 2025-09-26 00:16:18,766 - INFO - Project ctest-TestBasicPolicy-45481102 not found, creating it 2025-09-26 00:16:19,238 - INFO - Created Project:ctest-TestBasicPolicy-45481102, ID : bb626192-9ec9-4673-9ce7-a1c372ec30f9 2025-09-26 00:16:20,717 - INFO - ================================================================================ 2025-09-26 00:16:20,717 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-09-26 00:16:20,718 - 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-09-26 00:16:20,979 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.17': '0'}} with 2025-09-26 00:16:20,979 - INFO - Initial checks done. Running the testcase now 2025-09-26 00:16:20,979 - INFO - 2025-09-26 00:16:21,551 - DEBUG - Response for create_network : {'network': {'id': '14e71f4e-4bdb-492b-8533-968192982ff7', 'name': 'ctest-vn-03007311', 'tenant_id': 'bb6261929ec946739ce7a1c372ec30f9', 'project_id': 'bb6261929ec946739ce7a1c372ec30f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45481102', 'ctest-vn-03007311'], 'port_security_enabled': True, 'description': ''}} 2025-09-26 00:16:21,760 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f9e36e84-c040-495e-94a6-c441960e9809', 'name': '', 'tenant_id': 'bb6261929ec946739ce7a1c372ec30f9', 'network_id': '14e71f4e-4bdb-492b-8533-968192982ff7', 'ip_version': 4, 'cidr': '206.94.219.192/26', 'allocation_pools': [{'start': '206.94.219.194', 'end': '206.94.219.254'}], 'gateway_ip': '206.94.219.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '206.94.219.194', 'tags': [], 'project_id': 'bb6261929ec946739ce7a1c372ec30f9'}} 2025-09-26 00:16:21,782 - INFO - Created VN ctest-vn-03007311 2025-09-26 00:16:21,834 - DEBUG - VN ctest-vn-03007311 UUID is 14e71f4e-4bdb-492b-8533-968192982ff7 2025-09-26 00:16:22,124 - DEBUG - Response for create_network : {'network': {'id': '94d2303d-f592-449e-bcc7-958d172ff4bd', 'name': 'ctest-vn-48795303', 'tenant_id': 'bb6261929ec946739ce7a1c372ec30f9', 'project_id': 'bb6261929ec946739ce7a1c372ec30f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45481102', 'ctest-vn-48795303'], 'port_security_enabled': True, 'description': ''}} 2025-09-26 00:16:22,279 - DEBUG - Response for create_subnet : {'subnet': {'id': '4d10e42c-de95-40d6-8415-c9845e0ef093', 'name': '', 'tenant_id': 'bb6261929ec946739ce7a1c372ec30f9', 'network_id': '94d2303d-f592-449e-bcc7-958d172ff4bd', 'ip_version': 4, 'cidr': '5.43.80.0/26', 'allocation_pools': [{'start': '5.43.80.2', 'end': '5.43.80.62'}], 'gateway_ip': '5.43.80.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '5.43.80.2', 'tags': [], 'project_id': 'bb6261929ec946739ce7a1c372ec30f9'}} 2025-09-26 00:16:22,295 - INFO - Created VN ctest-vn-48795303 2025-09-26 00:16:22,346 - DEBUG - VN ctest-vn-48795303 UUID is 94d2303d-f592-449e-bcc7-958d172ff4bd 2025-09-26 00:16:22,502 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45481102:ctest-vn-03007311, 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-45481102:ctest-vn-48795303, 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-09-26 00:16:22,800 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '14e71f4e-4bdb-492b-8533-968192982ff7', 'name': 'ctest-vn-03007311', 'tenant_id': 'bb6261929ec946739ce7a1c372ec30f9', 'project_id': 'bb6261929ec946739ce7a1c372ec30f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f9e36e84-c040-495e-94a6-c441960e9809'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45481102', 'ctest-vn-03007311'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45481102', 'ctest-policy-allow-all-64598721']], 'subnet_ipam': [{'subnet_cidr': '206.94.219.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-26 00:16:23,013 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '94d2303d-f592-449e-bcc7-958d172ff4bd', 'name': 'ctest-vn-48795303', 'tenant_id': 'bb6261929ec946739ce7a1c372ec30f9', 'project_id': 'bb6261929ec946739ce7a1c372ec30f9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4d10e42c-de95-40d6-8415-c9845e0ef093'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45481102', 'ctest-vn-48795303'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45481102', 'ctest-policy-allow-all-64598721']], 'subnet_ipam': [{'subnet_cidr': '5.43.80.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-09-26 00:16:23,182 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-26 00:16:23,482 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-26 00:16:23,509 - DEBUG - Requesting: http://10.0.0.57:8082/domain/1028e320-0160-4010-a7e2-27f27b63776a 2025-09-26 00:16:23,522 - DEBUG - Requesting: http://10.0.0.57:8082/project/bb626192-9ec9-4673-9ce7-a1c372ec30f9 2025-09-26 00:16:23,594 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/14e71f4e-4bdb-492b-8533-968192982ff7 2025-09-26 00:16:23,603 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/14e71f4e-4bdb-492b-8533-968192982ff7 2025-09-26 00:16:23,611 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/46021a7a-5446-46e2-b9d6-e5bef564d591 2025-09-26 00:16:23,618 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/46021a7a-5446-46e2-b9d6-e5bef564d591 2025-09-26 00:16:23,625 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/eae502f8-8cb5-4f5e-9215-ca77538cb9f3 2025-09-26 00:16:23,631 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-26 00:16:23,631 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/14e71f4e-4bdb-492b-8533-968192982ff7 2025-09-26 00:16:23,640 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/46021a7a-5446-46e2-b9d6-e5bef564d591 2025-09-26 00:16:23,654 - INFO - Verified VN network id 11 for VN 14e71f4e-4bdb-492b-8533-968192982ff7 2025-09-26 00:16:23,654 - INFO - Verifications in API Server for VN ctest-vn-03007311 passed 2025-09-26 00:16:23,655 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/14e71f4e-4bdb-492b-8533-968192982ff7 2025-09-26 00:16:23,663 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/46021a7a-5446-46e2-b9d6-e5bef564d591 2025-09-26 00:16:23,670 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/46021a7a-5446-46e2-b9d6-e5bef564d591 2025-09-26 00:16:23,677 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/eae502f8-8cb5-4f5e-9215-ca77538cb9f3 2025-09-26 00:16:23,687 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45481102:ctest-vn-03007311', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45481102', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1506207021519292715', 'uuid-lslong': '9598180714111053815'}, 'enable': 'true', 'created': '2025-09-26T00:16:21', 'last-modified': '2025-09-26T00:16:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.911868'} 2025-09-26 00:16:23,693 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-09-26 00:16:23,693 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03007311 passed 2025-09-26 00:16:23,694 - DEBUG - ====Verifying policy data for ctest-vn-03007311 in API_Server ====== 2025-09-26 00:16:23,694 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-26 00:16:23,699 - DEBUG - Requesting: http://10.0.0.57:8082/domain/1028e320-0160-4010-a7e2-27f27b63776a 2025-09-26 00:16:23,709 - DEBUG - Requesting: http://10.0.0.57:8082/project/bb626192-9ec9-4673-9ce7-a1c372ec30f9 2025-09-26 00:16:23,781 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/14e71f4e-4bdb-492b-8533-968192982ff7 2025-09-26 00:16:23,789 - DEBUG - ==>Verifying data for policy with id: 5488d42e-3474-4879-9a80-b1803b68690e, fqn: ['default-domain', 'ctest-TestBasicPolicy-45481102', 'ctest-policy-allow-all-64598721'] 2025-09-26 00:16:23,789 - INFO - VN ctest-vn-03007311 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-26 00:16:23,789 - DEBUG - Verifying the vn in opserver 2025-09-26 00:16:23,789 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45481102:ctest-vn-03007311 virtual network link through opserver 10.0.0.57 2025-09-26 00:16:23,789 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-09-26 00:16:24,077 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-09-26 00:16:24,127 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45481102:ctest-vn-03007311', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45481102:ctest-vn-03007311?flat'} 2025-09-26 00:16:24,128 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45481102:ctest-vn-03007311 is found in opserver 2025-09-26 00:16:24,137 - DEBUG - Do not have enough data to verify VN in agent 2025-09-26 00:16:24,141 - DEBUG - VRF ids for VN ctest-vn-03007311: {} 2025-09-26 00:16:24,141 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-26 00:16:24,147 - DEBUG - Requesting: http://10.0.0.57:8082/domain/1028e320-0160-4010-a7e2-27f27b63776a 2025-09-26 00:16:24,159 - DEBUG - Requesting: http://10.0.0.57:8082/project/bb626192-9ec9-4673-9ce7-a1c372ec30f9 2025-09-26 00:16:24,227 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/94d2303d-f592-449e-bcc7-958d172ff4bd 2025-09-26 00:16:24,238 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/94d2303d-f592-449e-bcc7-958d172ff4bd 2025-09-26 00:16:24,247 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/09e1190f-4c18-4495-9fd8-99c8e92826a9 2025-09-26 00:16:24,253 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/09e1190f-4c18-4495-9fd8-99c8e92826a9 2025-09-26 00:16:24,260 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/c390ce71-bfee-43d1-8c55-1b9188fe8d12 2025-09-26 00:16:24,266 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-26 00:16:24,266 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/94d2303d-f592-449e-bcc7-958d172ff4bd 2025-09-26 00:16:24,274 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/09e1190f-4c18-4495-9fd8-99c8e92826a9 2025-09-26 00:16:24,286 - INFO - Verified VN network id 12 for VN 94d2303d-f592-449e-bcc7-958d172ff4bd 2025-09-26 00:16:24,286 - INFO - Verifications in API Server for VN ctest-vn-48795303 passed 2025-09-26 00:16:24,286 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/94d2303d-f592-449e-bcc7-958d172ff4bd 2025-09-26 00:16:24,294 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/09e1190f-4c18-4495-9fd8-99c8e92826a9 2025-09-26 00:16:24,300 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/09e1190f-4c18-4495-9fd8-99c8e92826a9 2025-09-26 00:16:24,307 - DEBUG - Requesting: http://10.0.0.57:8082/route-target/c390ce71-bfee-43d1-8c55-1b9188fe8d12 2025-09-26 00:16:24,317 - DEBUG - Control-node 10.0.0.57 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45481102:ctest-vn-48795303', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45481102', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10723686705393714334', 'uuid-lslong': '13603005632707818685'}, 'enable': 'true', 'created': '2025-09-26T00:16:22', 'last-modified': '2025-09-26T00:16:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.324363'} 2025-09-26 00:16:24,323 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-09-26 00:16:24,323 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48795303 passed 2025-09-26 00:16:24,323 - DEBUG - ====Verifying policy data for ctest-vn-48795303 in API_Server ====== 2025-09-26 00:16:24,323 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-26 00:16:24,328 - DEBUG - Requesting: http://10.0.0.57:8082/domain/1028e320-0160-4010-a7e2-27f27b63776a 2025-09-26 00:16:24,338 - DEBUG - Requesting: http://10.0.0.57:8082/project/bb626192-9ec9-4673-9ce7-a1c372ec30f9 2025-09-26 00:16:24,404 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-network/94d2303d-f592-449e-bcc7-958d172ff4bd 2025-09-26 00:16:24,413 - DEBUG - ==>Verifying data for policy with id: 5488d42e-3474-4879-9a80-b1803b68690e, fqn: ['default-domain', 'ctest-TestBasicPolicy-45481102', 'ctest-policy-allow-all-64598721'] 2025-09-26 00:16:24,413 - INFO - VN ctest-vn-48795303 Policy verification: verify_vn_policy_in_api_server, status: True 2025-09-26 00:16:24,413 - DEBUG - Verifying the vn in opserver 2025-09-26 00:16:24,413 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45481102:ctest-vn-48795303 virtual network link through opserver 10.0.0.57 2025-09-26 00:16:24,413 - DEBUG - Requesting: http://10.0.0.57:8081/analytics/uves/virtual-networks 2025-09-26 00:16:24,422 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45481102:ctest-vn-48795303', 'href': 'http://10.0.0.57:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45481102:ctest-vn-48795303?flat'} 2025-09-26 00:16:24,422 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45481102:ctest-vn-48795303 is found in opserver 2025-09-26 00:16:24,432 - DEBUG - Do not have enough data to verify VN in agent 2025-09-26 00:16:24,437 - DEBUG - VRF ids for VN ctest-vn-48795303: {} 2025-09-26 00:16:24,489 - DEBUG - Services list from nova: [, , ] 2025-09-26 00:16:25,481 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4196-1) 2025-09-26 00:16:26,605 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4196-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4196-1) 2025-09-26 00:16:26,605 - INFO - Waiting for VM ctest-TestBasicPolicy-45481102-36614725 to be up.. 2025-09-26 00:16:26,682 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-09-26 00:16:31,759 - DEBUG - VM is in ACTIVE state now 2025-09-26 00:16:31,759 - INFO - VM name : ctest-TestBasicPolicy-45481102-36614725 2025-09-26 00:16:31,830 - DEBUG - VM ctest-TestBasicPolicy-45481102-36614725 ID is 80d110e8-7423-4d27-87cc-827df9344bc9 2025-09-26 00:16:31,855 - DEBUG - VM ctest-TestBasicPolicy-45481102-36614725 launched on Node cn-jenkins-deploy-platform-ansible-os-4196-1 2025-09-26 00:16:31,927 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/80d110e8-7423-4d27-87cc-827df9344bc9 2025-09-26 00:16:31,936 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/cf75170d-305c-4661-be5c-8e2b5bbc9541 2025-09-26 00:16:35,183 - 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 1014ms') 2025-09-26 00:16:35,183 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45481102-36614725 failed! 2025-09-26 00:16:35,238 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-45481102:ctest-vn-03007311 is 206.94.219.193 and allocation pool is NOT set 2025-09-26 00:16:37,300 - 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=3.86 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.933 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.933/2.398/3.864/1.465 ms') 2025-09-26 00:16:37,300 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-45481102-36614725 passed 2025-09-26 00:16:37,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 00:16:37,454 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45481102-36614725, IP 206.94.219.195, Port 22 2025-09-26 00:16:37,609 - DEBUG - VM ctest-TestBasicPolicy-45481102-36614725 is ready for SSH connections 2025-09-26 00:16:37,609 - INFO - Waiting for VM ctest-TestBasicPolicy-45481102-73451492 to be up.. 2025-09-26 00:16:37,690 - DEBUG - VM is in ACTIVE state now 2025-09-26 00:16:37,690 - INFO - VM name : ctest-TestBasicPolicy-45481102-73451492 2025-09-26 00:16:37,768 - DEBUG - VM ctest-TestBasicPolicy-45481102-73451492 ID is 516ccaf2-7084-47ba-bc40-9da4186d6004 2025-09-26 00:16:37,769 - DEBUG - VM ctest-TestBasicPolicy-45481102-73451492 launched on Node cn-jenkins-deploy-platform-ansible-os-4196-1 2025-09-26 00:16:37,840 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine/516ccaf2-7084-47ba-bc40-9da4186d6004 2025-09-26 00:16:37,849 - DEBUG - Requesting: http://10.0.0.57:8082/virtual-machine-interface/c2850456-f55e-46c1-8447-bef31bfc6eb8 2025-09-26 00:16:39,092 - 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=2.88 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.411 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 = 0.411/1.647/2.884/1.236 ms') 2025-09-26 00:16:39,092 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-45481102-73451492 passed 2025-09-26 00:16:39,246 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 00:16:39,246 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-45481102-73451492, IP 5.43.80.3, Port 22 2025-09-26 00:16:39,401 - DEBUG - VM ctest-TestBasicPolicy-45481102-73451492 is ready for SSH connections 2025-09-26 00:16:39,401 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 00:16:39,401 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.43.80.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-26 00:16:39,401 - DEBUG - ping -s 56 -c 3 -W 1 5.43.80.3 2025-09-26 00:16:43,500 - DEBUG - PING 5.43.80.3 (5.43.80.3): 56 data bytes 64 bytes from 5.43.80.3: seq=0 ttl=63 time=3.810 ms 64 bytes from 5.43.80.3: seq=1 ttl=63 time=0.742 ms 64 bytes from 5.43.80.3: seq=2 ttl=63 time=1.003 ms --- 5.43.80.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.742/1.851/3.810 ms 2025-09-26 00:16:43,500 - INFO - Ping to IP 5.43.80.3 from VM ctest-TestBasicPolicy-45481102-36614725 passed 2025-09-26 00:16:43,677 - DEBUG - Policy Update Response {"network-policy": {"uuid": "5488d42e-3474-4879-9a80-b1803b68690e", "href": "http://10.0.0.57:8082/network-policy/5488d42e-3474-4879-9a80-b1803b68690e"}} 2025-09-26 00:16:43,678 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-09-26 00:16:43,678 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 5.43.80.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.57, gateway password: c0ntrail123 2025-09-26 00:16:43,678 - DEBUG - ping -s 56 -c 3 -W 1 5.43.80.3 2025-09-26 00:16:46,904 - DEBUG - PING 5.43.80.3 (5.43.80.3): 56 data bytes --- 5.43.80.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-09-26 00:16:46,904 - WARNING - Ping to IP 5.43.80.3 from VM ctest-TestBasicPolicy-45481102-36614725 failed 2025-09-26 00:16:46,904 - INFO - Deleting VM ctest-TestBasicPolicy-45481102-73451492 2025-09-26 00:16:46,970 - INFO - Deleting VM ctest-TestBasicPolicy-45481102-36614725 2025-09-26 00:16:47,344 - INFO - Deleted policy ctest-policy-allow-all-64598721 2025-09-26 00:16:47,344 - INFO - Deleting VN ctest-vn-48795303 2025-09-26 00:16:47,381 - DEBUG - VN 94d2303d-f592-449e-bcc7-958d172ff4bd still in use: Unable to complete operation on network 94d2303d-f592-449e-bcc7-958d172ff4bd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-e0fce8a3-10d8-4b98-8ac1-6e8a6770b957'] 2025-09-26 00:16:47,381 - WARNING - Deleting VN ctest-vn-48795303 failed..Will retry 2025-09-26 00:16:49,481 - DEBUG - Response for deleting network () 2025-09-26 00:16:49,481 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/09e1190f-4c18-4495-9fd8-99c8e92826a9 2025-09-26 00:16:49,486 - DEBUG - Response Code: 404 2025-09-26 00:16:49,486 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-26 00:16:49,491 - DEBUG - Requesting: http://10.0.0.57:8082/domain/1028e320-0160-4010-a7e2-27f27b63776a 2025-09-26 00:16:49,542 - DEBUG - Requesting: http://10.0.0.57:8082/project/bb626192-9ec9-4673-9ce7-a1c372ec30f9 2025-09-26 00:16:49,609 - INFO - Validated that VN ctest-vn-48795303 is not found in API Server 2025-09-26 00:16:49,619 - DEBUG - VN ctest-vn-48795303 is not present in Agent 10.0.0.57 2025-09-26 00:16:49,619 - INFO - Validated that VN ctest-vn-48795303 is not in any agent 2025-09-26 00:16:49,632 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48795303 info 2025-09-26 00:16:49,632 - INFO - Deleting VN ctest-vn-03007311 2025-09-26 00:16:49,721 - DEBUG - Response for deleting network () 2025-09-26 00:16:49,721 - DEBUG - Requesting: http://10.0.0.57:8082/routing-instance/46021a7a-5446-46e2-b9d6-e5bef564d591 2025-09-26 00:16:49,725 - DEBUG - Response Code: 404 2025-09-26 00:16:49,726 - DEBUG - Requesting: http://10.0.0.57:8082/domains 2025-09-26 00:16:49,732 - DEBUG - Requesting: http://10.0.0.57:8082/domain/1028e320-0160-4010-a7e2-27f27b63776a 2025-09-26 00:16:49,787 - DEBUG - Requesting: http://10.0.0.57:8082/project/bb626192-9ec9-4673-9ce7-a1c372ec30f9 2025-09-26 00:16:49,858 - INFO - Validated that VN ctest-vn-03007311 is not found in API Server 2025-09-26 00:16:49,869 - DEBUG - VN ctest-vn-03007311 is not present in Agent 10.0.0.57 2025-09-26 00:16:49,869 - INFO - Validated that VN ctest-vn-03007311 is not in any agent 2025-09-26 00:16:49,882 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-03007311 info 2025-09-26 00:16:50,142 - DEBUG - No XMPP flaps were noticed during the test 2025-09-26 00:16:50,142 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2025-09-26 00:16:50,142 - INFO - -------------------------------------------------------------------------------- 2025-09-26 00:16:50,866 - INFO - Deleted project: ctest-TestBasicPolicy-45481102, ID : bb626192-9ec9-4673-9ce7-a1c372ec30f9