2026-08-21 06:33:23,062 - INFO - Domain Default found not creating
2026-08-21 06:33:23,235 - INFO - Project ctest-TestBasicPolicy-22436032 not found, creating it
2026-08-21 06:33:23,709 - INFO - Created Project:ctest-TestBasicPolicy-22436032, ID : f2564628-9427-44f3-9821-095a5f1f2a65
2026-08-21 06:33:25,217 - INFO - ================================================================================
2026-08-21 06:33:25,218 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-21 06:33:25,218 - 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-08-21 06:33:25,473 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-08-21 06:33:25,473 - INFO - Initial checks done. Running the testcase now
2026-08-21 06:33:25,473 - INFO -
2026-08-21 06:33:26,044 - DEBUG - Response for create_network : {'network': {'id': '3430a3dd-acf9-43f0-9465-0a77bbc080c5', 'name': 'ctest-vn-81676346', 'tenant_id': 'f2564628942744f39821095a5f1f2a65', 'project_id': 'f2564628942744f39821095a5f1f2a65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22436032', 'ctest-vn-81676346'], 'port_security_enabled': True, 'description': ''}}
2026-08-21 06:33:26,281 - DEBUG - Response for create_subnet : {'subnet': {'id': '58d647ca-518a-49e4-b0ba-62fbd5d02d66', 'name': '', 'tenant_id': 'f2564628942744f39821095a5f1f2a65', 'network_id': '3430a3dd-acf9-43f0-9465-0a77bbc080c5', 'ip_version': 4, 'cidr': '32.42.44.128/26', 'allocation_pools': [{'start': '32.42.44.130', 'end': '32.42.44.190'}], 'gateway_ip': '32.42.44.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.42.44.130', 'tags': [], 'project_id': 'f2564628942744f39821095a5f1f2a65'}}
2026-08-21 06:33:26,296 - INFO - Created VN ctest-vn-81676346
2026-08-21 06:33:26,348 - DEBUG - VN ctest-vn-81676346 UUID is 3430a3dd-acf9-43f0-9465-0a77bbc080c5
2026-08-21 06:33:26,675 - DEBUG - Response for create_network : {'network': {'id': 'ade40504-8316-4e17-8993-e18b066962c7', 'name': 'ctest-vn-89619466', 'tenant_id': 'f2564628942744f39821095a5f1f2a65', 'project_id': 'f2564628942744f39821095a5f1f2a65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22436032', 'ctest-vn-89619466'], 'port_security_enabled': True, 'description': ''}}
2026-08-21 06:33:26,888 - DEBUG - Response for create_subnet : {'subnet': {'id': '4efc857a-78b3-44ad-ae3d-f703adb9299d', 'name': '', 'tenant_id': 'f2564628942744f39821095a5f1f2a65', 'network_id': 'ade40504-8316-4e17-8993-e18b066962c7', 'ip_version': 4, 'cidr': '70.225.85.0/26', 'allocation_pools': [{'start': '70.225.85.2', 'end': '70.225.85.62'}], 'gateway_ip': '70.225.85.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '70.225.85.2', 'tags': [], 'project_id': 'f2564628942744f39821095a5f1f2a65'}}
2026-08-21 06:33:26,904 - INFO - Created VN ctest-vn-89619466
2026-08-21 06:33:26,955 - DEBUG - VN ctest-vn-89619466 UUID is ade40504-8316-4e17-8993-e18b066962c7
2026-08-21 06:33:27,103 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-81676346, 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-22436032:ctest-vn-89619466, 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-08-21 06:33:27,408 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3430a3dd-acf9-43f0-9465-0a77bbc080c5', 'name': 'ctest-vn-81676346', 'tenant_id': 'f2564628942744f39821095a5f1f2a65', 'project_id': 'f2564628942744f39821095a5f1f2a65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['58d647ca-518a-49e4-b0ba-62fbd5d02d66'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22436032', 'ctest-vn-81676346'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22436032', 'ctest-policy-allow-all-68289050']], 'subnet_ipam': [{'subnet_cidr': '32.42.44.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-21 06:33:27,641 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ade40504-8316-4e17-8993-e18b066962c7', 'name': 'ctest-vn-89619466', 'tenant_id': 'f2564628942744f39821095a5f1f2a65', 'project_id': 'f2564628942744f39821095a5f1f2a65', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4efc857a-78b3-44ad-ae3d-f703adb9299d'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22436032', 'ctest-vn-89619466'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22436032', 'ctest-policy-allow-all-68289050']], 'subnet_ipam': [{'subnet_cidr': '70.225.85.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-21 06:33:27,807 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-21 06:33:28,132 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-21 06:33:28,162 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6c03022a-eab3-4a23-ae19-f5b681364dc8
2026-08-21 06:33:28,174 - DEBUG - Requesting: http://10.0.0.38:8082/project/f2564628-9427-44f3-9821-095a5f1f2a65
2026-08-21 06:33:28,252 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3430a3dd-acf9-43f0-9465-0a77bbc080c5
2026-08-21 06:33:28,264 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3430a3dd-acf9-43f0-9465-0a77bbc080c5
2026-08-21 06:33:28,274 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/40368ea3-b23b-4dda-9328-7634137ded95
2026-08-21 06:33:28,282 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/40368ea3-b23b-4dda-9328-7634137ded95
2026-08-21 06:33:28,289 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/84d2599a-f534-45d1-aa7c-5f86d7dc7504
2026-08-21 06:33:28,296 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-21 06:33:28,296 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3430a3dd-acf9-43f0-9465-0a77bbc080c5
2026-08-21 06:33:28,306 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/40368ea3-b23b-4dda-9328-7634137ded95
2026-08-21 06:33:28,320 - INFO - Verified VN network id 11 for VN 3430a3dd-acf9-43f0-9465-0a77bbc080c5
2026-08-21 06:33:28,320 - INFO - Verifications in API Server for VN ctest-vn-81676346 passed
2026-08-21 06:33:28,320 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3430a3dd-acf9-43f0-9465-0a77bbc080c5
2026-08-21 06:33:28,329 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/40368ea3-b23b-4dda-9328-7634137ded95
2026-08-21 06:33:28,336 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/40368ea3-b23b-4dda-9328-7634137ded95
2026-08-21 06:33:28,342 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/84d2599a-f534-45d1-aa7c-5f86d7dc7504
2026-08-21 06:33:28,354 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-81676346', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22436032', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3760685861339481072', 'uuid-lslong': '10692964399628452037'}, 'enable': 'true', 'created': '2026-08-21T06:33:26', 'last-modified': '2026-08-21T06:33:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.969883'}
2026-08-21 06:33:28,360 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-21 06:33:28,360 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81676346 passed
2026-08-21 06:33:28,361 - DEBUG - ====Verifying policy data for ctest-vn-81676346 in API_Server ======
2026-08-21 06:33:28,361 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-21 06:33:28,367 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6c03022a-eab3-4a23-ae19-f5b681364dc8
2026-08-21 06:33:28,377 - DEBUG - Requesting: http://10.0.0.38:8082/project/f2564628-9427-44f3-9821-095a5f1f2a65
2026-08-21 06:33:28,453 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/3430a3dd-acf9-43f0-9465-0a77bbc080c5
2026-08-21 06:33:28,463 - DEBUG - ==>Verifying data for policy with id: e141d15b-b910-416a-8d14-49785a850091, fqn: ['default-domain', 'ctest-TestBasicPolicy-22436032', 'ctest-policy-allow-all-68289050']
2026-08-21 06:33:28,463 - INFO - VN ctest-vn-81676346 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-21 06:33:28,463 - DEBUG - Verifying the vn in opserver
2026-08-21 06:33:28,463 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-81676346 virtual network link through opserver 10.0.0.38
2026-08-21 06:33:28,463 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-08-21 06:33:28,786 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-08-21 06:33:28,839 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-81676346', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-81676346?flat'}
2026-08-21 06:33:28,839 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-81676346 is found in opserver
2026-08-21 06:33:28,850 - DEBUG - Do not have enough data to verify VN in agent
2026-08-21 06:33:28,854 - DEBUG - VRF ids for VN ctest-vn-81676346: {}
2026-08-21 06:33:28,854 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-21 06:33:28,859 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6c03022a-eab3-4a23-ae19-f5b681364dc8
2026-08-21 06:33:28,869 - DEBUG - Requesting: http://10.0.0.38:8082/project/f2564628-9427-44f3-9821-095a5f1f2a65
2026-08-21 06:33:28,941 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ade40504-8316-4e17-8993-e18b066962c7
2026-08-21 06:33:28,958 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ade40504-8316-4e17-8993-e18b066962c7
2026-08-21 06:33:28,967 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/89a8d284-1f05-46c9-9ba4-c339f7acdc40
2026-08-21 06:33:28,974 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/89a8d284-1f05-46c9-9ba4-c339f7acdc40
2026-08-21 06:33:28,980 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c190ba58-5e9a-4e0f-8d41-87528f14f295
2026-08-21 06:33:28,986 - DEBUG - Route Targets: ['target:64512:8000006']
2026-08-21 06:33:28,986 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ade40504-8316-4e17-8993-e18b066962c7
2026-08-21 06:33:28,994 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/89a8d284-1f05-46c9-9ba4-c339f7acdc40
2026-08-21 06:33:29,007 - INFO - Verified VN network id 14 for VN ade40504-8316-4e17-8993-e18b066962c7
2026-08-21 06:33:29,007 - INFO - Verifications in API Server for VN ctest-vn-89619466 passed
2026-08-21 06:33:29,007 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ade40504-8316-4e17-8993-e18b066962c7
2026-08-21 06:33:29,015 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/89a8d284-1f05-46c9-9ba4-c339f7acdc40
2026-08-21 06:33:29,022 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/89a8d284-1f05-46c9-9ba4-c339f7acdc40
2026-08-21 06:33:29,028 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c190ba58-5e9a-4e0f-8d41-87528f14f295
2026-08-21 06:33:29,044 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-89619466', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22436032', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12530145580188847639', 'uuid-lslong': '9913515191996867271'}, 'enable': 'true', 'created': '2026-08-21T06:33:26', 'last-modified': '2026-08-21T06:33:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.422728'}
2026-08-21 06:33:29,049 - DEBUG - Route Targets: ['target:64512:8000006']
2026-08-21 06:33:29,049 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89619466 passed
2026-08-21 06:33:29,049 - DEBUG - ====Verifying policy data for ctest-vn-89619466 in API_Server ======
2026-08-21 06:33:29,050 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-21 06:33:29,055 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6c03022a-eab3-4a23-ae19-f5b681364dc8
2026-08-21 06:33:29,066 - DEBUG - Requesting: http://10.0.0.38:8082/project/f2564628-9427-44f3-9821-095a5f1f2a65
2026-08-21 06:33:29,140 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/ade40504-8316-4e17-8993-e18b066962c7
2026-08-21 06:33:29,150 - DEBUG - ==>Verifying data for policy with id: e141d15b-b910-416a-8d14-49785a850091, fqn: ['default-domain', 'ctest-TestBasicPolicy-22436032', 'ctest-policy-allow-all-68289050']
2026-08-21 06:33:29,150 - INFO - VN ctest-vn-89619466 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-21 06:33:29,150 - DEBUG - Verifying the vn in opserver
2026-08-21 06:33:29,150 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-89619466 virtual network link through opserver 10.0.0.38
2026-08-21 06:33:29,150 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-08-21 06:33:29,160 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-89619466', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-89619466?flat'}
2026-08-21 06:33:29,160 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22436032:ctest-vn-89619466 is found in opserver
2026-08-21 06:33:29,171 - DEBUG - Do not have enough data to verify VN in agent
2026-08-21 06:33:29,177 - DEBUG - VRF ids for VN ctest-vn-89619466: {}
2026-08-21 06:33:29,239 - DEBUG - Services list from nova: [