2026-10-23 19:56:27,838 - INFO - Domain Default found not creating
2026-10-23 19:56:28,125 - INFO - Project ctest-TestBasicPolicy-28856666 not found, creating it
2026-10-23 19:56:28,709 - INFO - Created Project:ctest-TestBasicPolicy-28856666, ID : f5d4c71d-186c-43a6-a49a-98fa755491f4
2026-10-23 19:56:30,784 - INFO - ================================================================================
2026-10-23 19:56:30,784 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-23 19:56:30,784 - 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
2026-10-23 19:56:31,071 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with
2026-10-23 19:56:31,072 - INFO - Initial checks done. Running the testcase now
2026-10-23 19:56:31,072 - INFO -
2026-10-23 19:56:31,862 - DEBUG - Response for create_network : {'network': {'id': 'f85b90cc-40a4-4fad-8668-2bc59991122a', 'name': 'ctest-vn-28873550', 'tenant_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'project_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28856666', 'ctest-vn-28873550'], 'port_security_enabled': True, 'description': ''}}
2026-10-23 19:56:32,163 - DEBUG - Response for create_subnet : {'subnet': {'id': '0e59bbc0-02e1-4a6d-9846-7e912a4ff5c5', 'name': '', 'tenant_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'network_id': 'f85b90cc-40a4-4fad-8668-2bc59991122a', 'ip_version': 4, 'cidr': '6.216.154.0/26', 'allocation_pools': [{'start': '6.216.154.2', 'end': '6.216.154.62'}], 'gateway_ip': '6.216.154.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.216.154.2', 'tags': [], 'project_id': 'f5d4c71d186c43a6a49a98fa755491f4'}}
2026-10-23 19:56:32,191 - INFO - Created VN ctest-vn-28873550
2026-10-23 19:56:32,254 - DEBUG - VN ctest-vn-28873550 UUID is f85b90cc-40a4-4fad-8668-2bc59991122a
2026-10-23 19:56:32,660 - DEBUG - Response for create_network : {'network': {'id': '5e7ee38d-99f6-41e8-994f-465b4e352d6a', 'name': 'ctest-vn-67684892', 'tenant_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'project_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28856666', 'ctest-vn-67684892'], 'port_security_enabled': True, 'description': ''}}
2026-10-23 19:56:32,980 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a1a3132f-6338-4959-b73e-761d2742209f', 'name': '', 'tenant_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'network_id': '5e7ee38d-99f6-41e8-994f-465b4e352d6a', 'ip_version': 4, 'cidr': '81.227.235.128/26', 'allocation_pools': [{'start': '81.227.235.130', 'end': '81.227.235.190'}], 'gateway_ip': '81.227.235.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '81.227.235.130', 'tags': [], 'project_id': 'f5d4c71d186c43a6a49a98fa755491f4'}}
2026-10-23 19:56:33,014 - INFO - Created VN ctest-vn-67684892
2026-10-23 19:56:33,074 - DEBUG - VN ctest-vn-67684892 UUID is 5e7ee38d-99f6-41e8-994f-465b4e352d6a
2026-10-23 19:56:33,216 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-28873550, 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-28856666:ctest-vn-67684892, 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]
2026-10-23 19:56:33,571 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f85b90cc-40a4-4fad-8668-2bc59991122a', 'name': 'ctest-vn-28873550', 'tenant_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'project_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0e59bbc0-02e1-4a6d-9846-7e912a4ff5c5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28856666', 'ctest-vn-28873550'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28856666', 'ctest-policy-allow-all-93535101']], 'subnet_ipam': [{'subnet_cidr': '6.216.154.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-23 19:56:33,869 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5e7ee38d-99f6-41e8-994f-465b4e352d6a', 'name': 'ctest-vn-67684892', 'tenant_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'project_id': 'f5d4c71d186c43a6a49a98fa755491f4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a1a3132f-6338-4959-b73e-761d2742209f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28856666', 'ctest-vn-67684892'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28856666', 'ctest-policy-allow-all-93535101']], 'subnet_ipam': [{'subnet_cidr': '81.227.235.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-23 19:56:34,046 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-23 19:56:34,431 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-23 19:56:34,463 - DEBUG - Requesting: http://10.0.0.185:8082/domain/7dfd3367-2401-48cd-b7de-d435b1aa7d47
2026-10-23 19:56:34,483 - DEBUG - Requesting: http://10.0.0.185:8082/project/f5d4c71d-186c-43a6-a49a-98fa755491f4
2026-10-23 19:56:34,584 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f85b90cc-40a4-4fad-8668-2bc59991122a
2026-10-23 19:56:34,601 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f85b90cc-40a4-4fad-8668-2bc59991122a
2026-10-23 19:56:34,618 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a8975634-2495-4d39-8685-42cb1a557824
2026-10-23 19:56:34,631 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a8975634-2495-4d39-8685-42cb1a557824
2026-10-23 19:56:34,644 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/4f45ea67-f17f-4c51-b2e9-30bdd16824c0
2026-10-23 19:56:34,653 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-23 19:56:34,653 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f85b90cc-40a4-4fad-8668-2bc59991122a
2026-10-23 19:56:34,667 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a8975634-2495-4d39-8685-42cb1a557824
2026-10-23 19:56:34,688 - INFO - Verified VN network id 11 for VN f85b90cc-40a4-4fad-8668-2bc59991122a
2026-10-23 19:56:34,688 - INFO - Verifications in API Server for VN ctest-vn-28873550 passed
2026-10-23 19:56:34,689 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f85b90cc-40a4-4fad-8668-2bc59991122a
2026-10-23 19:56:34,705 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a8975634-2495-4d39-8685-42cb1a557824
2026-10-23 19:56:34,717 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/a8975634-2495-4d39-8685-42cb1a557824
2026-10-23 19:56:34,735 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/4f45ea67-f17f-4c51-b2e9-30bdd16824c0
2026-10-23 19:56:34,762 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-28873550', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28856666', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17896056751219036077', 'uuid-lslong': '9685039126345224746'}, 'enable': 'true', 'created': '2026-10-23T19:56:31', 'last-modified': '2026-10-23T19:56:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.223830'}
2026-10-23 19:56:34,772 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-23 19:56:34,772 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28873550 passed
2026-10-23 19:56:34,772 - DEBUG - ====Verifying policy data for ctest-vn-28873550 in API_Server ======
2026-10-23 19:56:34,772 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-23 19:56:34,782 - DEBUG - Requesting: http://10.0.0.185:8082/domain/7dfd3367-2401-48cd-b7de-d435b1aa7d47
2026-10-23 19:56:34,807 - DEBUG - Requesting: http://10.0.0.185:8082/project/f5d4c71d-186c-43a6-a49a-98fa755491f4
2026-10-23 19:56:34,903 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/f85b90cc-40a4-4fad-8668-2bc59991122a
2026-10-23 19:56:34,919 - DEBUG - ==>Verifying data for policy with id: cb6b41ff-fbc1-4891-9ad0-daf5b8c48e8c, fqn: ['default-domain', 'ctest-TestBasicPolicy-28856666', 'ctest-policy-allow-all-93535101']
2026-10-23 19:56:34,919 - INFO - VN ctest-vn-28873550 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-23 19:56:34,919 - DEBUG - Verifying the vn in opserver
2026-10-23 19:56:34,919 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-28873550 virtual network link through opserver 10.0.0.185
2026-10-23 19:56:34,920 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-10-23 19:56:35,337 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-10-23 19:56:35,425 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-28873550', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-28873550?flat'}
2026-10-23 19:56:35,425 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-28873550 is found in opserver
2026-10-23 19:56:35,441 - DEBUG - Do not have enough data to verify VN in agent
2026-10-23 19:56:35,447 - DEBUG - VRF ids for VN ctest-vn-28873550: {}
2026-10-23 19:56:35,447 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-23 19:56:35,454 - DEBUG - Requesting: http://10.0.0.185:8082/domain/7dfd3367-2401-48cd-b7de-d435b1aa7d47
2026-10-23 19:56:35,469 - DEBUG - Requesting: http://10.0.0.185:8082/project/f5d4c71d-186c-43a6-a49a-98fa755491f4
2026-10-23 19:56:35,568 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/5e7ee38d-99f6-41e8-994f-465b4e352d6a
2026-10-23 19:56:35,585 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/5e7ee38d-99f6-41e8-994f-465b4e352d6a
2026-10-23 19:56:35,601 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/8b833fe4-b389-41d6-97a4-56e5647dff07
2026-10-23 19:56:35,614 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/8b833fe4-b389-41d6-97a4-56e5647dff07
2026-10-23 19:56:35,624 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/8f04db8e-e46b-41d1-b550-70f65d90bc73
2026-10-23 19:56:35,633 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-23 19:56:35,633 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/5e7ee38d-99f6-41e8-994f-465b4e352d6a
2026-10-23 19:56:35,650 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/8b833fe4-b389-41d6-97a4-56e5647dff07
2026-10-23 19:56:35,673 - INFO - Verified VN network id 12 for VN 5e7ee38d-99f6-41e8-994f-465b4e352d6a
2026-10-23 19:56:35,673 - INFO - Verifications in API Server for VN ctest-vn-67684892 passed
2026-10-23 19:56:35,673 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/5e7ee38d-99f6-41e8-994f-465b4e352d6a
2026-10-23 19:56:35,688 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/8b833fe4-b389-41d6-97a4-56e5647dff07
2026-10-23 19:56:35,701 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/8b833fe4-b389-41d6-97a4-56e5647dff07
2026-10-23 19:56:35,711 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/8f04db8e-e46b-41d1-b550-70f65d90bc73
2026-10-23 19:56:35,732 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-67684892', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28856666', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6809129883943715304', 'uuid-lslong': '11047125768931192170'}, 'enable': 'true', 'created': '2026-10-23T19:56:32', 'last-modified': '2026-10-23T19:56:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.902682'}
2026-10-23 19:56:35,743 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-23 19:56:35,743 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67684892 passed
2026-10-23 19:56:35,743 - DEBUG - ====Verifying policy data for ctest-vn-67684892 in API_Server ======
2026-10-23 19:56:35,743 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-10-23 19:56:35,752 - DEBUG - Requesting: http://10.0.0.185:8082/domain/7dfd3367-2401-48cd-b7de-d435b1aa7d47
2026-10-23 19:56:35,768 - DEBUG - Requesting: http://10.0.0.185:8082/project/f5d4c71d-186c-43a6-a49a-98fa755491f4
2026-10-23 19:56:35,858 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/5e7ee38d-99f6-41e8-994f-465b4e352d6a
2026-10-23 19:56:35,877 - DEBUG - ==>Verifying data for policy with id: cb6b41ff-fbc1-4891-9ad0-daf5b8c48e8c, fqn: ['default-domain', 'ctest-TestBasicPolicy-28856666', 'ctest-policy-allow-all-93535101']
2026-10-23 19:56:35,877 - INFO - VN ctest-vn-67684892 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-23 19:56:35,878 - DEBUG - Verifying the vn in opserver
2026-10-23 19:56:35,878 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-67684892 virtual network link through opserver 10.0.0.185
2026-10-23 19:56:35,878 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-10-23 19:56:35,894 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-67684892', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-67684892?flat'}
2026-10-23 19:56:35,894 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28856666:ctest-vn-67684892 is found in opserver
2026-10-23 19:56:35,912 - DEBUG - Do not have enough data to verify VN in agent
2026-10-23 19:56:35,921 - DEBUG - VRF ids for VN ctest-vn-67684892: {}
2026-10-23 19:56:36,029 - DEBUG - Services list from nova: [