2026-03-12 01:50:29,996 - INFO - Reading existing Domain with UUID d3dbfc90-0ead-4aa5-a44d-bbde5d3c799a
2026-03-12 01:50:30,008 - INFO - Using existing domain ['admin_domain'](d3dbfc90-0ead-4aa5-a44d-bbde5d3c799a)
2026-03-12 01:50:30,226 - INFO - Project ctest-TestBasicPolicy-80153832 not found, creating it
2026-03-12 01:50:30,726 - INFO - Created Project:ctest-TestBasicPolicy-80153832, ID : 0cbbe601-474e-4ef6-8a5e-e8ce659c7496
2026-03-12 01:50:32,517 - INFO - ================================================================================
2026-03-12 01:50:32,517 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-12 01:50:32,517 - 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-03-12 01:50:32,910 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.0.0.41': '0'}} with
2026-03-12 01:50:32,910 - INFO - Initial checks done. Running the testcase now
2026-03-12 01:50:32,911 - INFO -
2026-03-12 01:50:33,742 - DEBUG - Response for create_network : {'network': {'id': '1077cc5c-1905-40c8-b54e-6efedb36491f', 'name': 'ctest-vn-56582956', 'tenant_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'project_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-80153832', 'ctest-vn-56582956'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-03-12 01:50:33,998 - DEBUG - Response for create_subnet : {'subnet': {'id': '72484626-fee1-4296-84ad-ee59a6d77c8d', 'name': '', 'tenant_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'network_id': '1077cc5c-1905-40c8-b54e-6efedb36491f', 'ip_version': 4, 'cidr': '13.26.18.0/26', 'allocation_pools': [{'start': '13.26.18.2', 'end': '13.26.18.62'}], 'gateway_ip': '13.26.18.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-03-12T01:50:33.900390', 'updated_at': '2026-03-12T01:50:33.900390', 'dns_server_address': '13.26.18.2', 'tags': [], 'project_id': '0cbbe601474e4ef68a5ee8ce659c7496'}}
2026-03-12 01:50:34,067 - INFO - Created VN ctest-vn-56582956
2026-03-12 01:50:34,121 - DEBUG - VN ctest-vn-56582956 UUID is 1077cc5c-1905-40c8-b54e-6efedb36491f
2026-03-12 01:50:34,643 - DEBUG - Response for create_network : {'network': {'id': 'eb85324d-ba71-4c11-ac57-8c575435b657', 'name': 'ctest-vn-54634627', 'tenant_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'project_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-80153832', 'ctest-vn-54634627'], 'port_security_enabled': True, 'description': '', 'created_at': None, 'updated_at': None}}
2026-03-12 01:50:34,883 - DEBUG - Response for create_subnet : {'subnet': {'id': '1831ca78-f3e3-46d5-a404-65bec5aa448d', 'name': '', 'tenant_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'network_id': 'eb85324d-ba71-4c11-ac57-8c575435b657', 'ip_version': 4, 'cidr': '22.178.57.64/26', 'allocation_pools': [{'start': '22.178.57.66', 'end': '22.178.57.126'}], 'gateway_ip': '22.178.57.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'created_at': '2026-03-12T01:50:34.788286', 'updated_at': '2026-03-12T01:50:34.788286', 'dns_server_address': '22.178.57.66', 'tags': [], 'project_id': '0cbbe601474e4ef68a5ee8ce659c7496'}}
2026-03-12 01:50:34,951 - INFO - Created VN ctest-vn-54634627
2026-03-12 01:50:35,009 - DEBUG - VN ctest-vn-54634627 UUID is eb85324d-ba71-4c11-ac57-8c575435b657
2026-03-12 01:50:35,229 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-56582956, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-54634627, 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-03-12 01:50:35,665 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1077cc5c-1905-40c8-b54e-6efedb36491f', 'name': 'ctest-vn-56582956', 'tenant_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'project_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['72484626-fee1-4296-84ad-ee59a6d77c8d'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-80153832', 'ctest-vn-56582956'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-80153832', 'ctest-policy-allow-all-77326592']], 'subnet_ipam': [{'subnet_cidr': '13.26.18.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-03-12T01:50:33.657573', 'updated_at': '2026-03-12T01:50:33.913724'}}
2026-03-12 01:50:36,011 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb85324d-ba71-4c11-ac57-8c575435b657', 'name': 'ctest-vn-54634627', 'tenant_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'project_id': '0cbbe601474e4ef68a5ee8ce659c7496', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1831ca78-f3e3-46d5-a404-65bec5aa448d'], 'fq_name': ['admin_domain', 'ctest-TestBasicPolicy-80153832', 'ctest-vn-54634627'], 'policys': [['admin_domain', 'ctest-TestBasicPolicy-80153832', 'ctest-policy-allow-all-77326592']], 'subnet_ipam': [{'subnet_cidr': '22.178.57.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': '', 'created_at': '2026-03-12T01:50:34.556185', 'updated_at': '2026-03-12T01:50:34.800593'}}
2026-03-12 01:50:36,209 - DEBUG - Requesting: https://10.0.0.41:8082/domains
2026-03-12 01:50:36,563 - DEBUG - Requesting: https://10.0.0.41:8082/domains
2026-03-12 01:50:36,646 - DEBUG - Requesting: https://10.0.0.41:8082/domain/d3dbfc90-0ead-4aa5-a44d-bbde5d3c799a
2026-03-12 01:50:36,710 - DEBUG - Requesting: https://10.0.0.41:8082/project/0cbbe601-474e-4ef6-8a5e-e8ce659c7496
2026-03-12 01:50:36,798 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/1077cc5c-1905-40c8-b54e-6efedb36491f
2026-03-12 01:50:36,859 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/1077cc5c-1905-40c8-b54e-6efedb36491f
2026-03-12 01:50:36,919 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/21d16c16-b894-4c55-b514-d24544018774
2026-03-12 01:50:36,975 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/21d16c16-b894-4c55-b514-d24544018774
2026-03-12 01:50:37,030 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/64c001fe-119f-46e3-812c-e021f9b8f2db
2026-03-12 01:50:37,082 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-12 01:50:37,082 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/1077cc5c-1905-40c8-b54e-6efedb36491f
2026-03-12 01:50:37,139 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/21d16c16-b894-4c55-b514-d24544018774
2026-03-12 01:50:37,207 - INFO - Verified VN network id 11 for VN 1077cc5c-1905-40c8-b54e-6efedb36491f
2026-03-12 01:50:37,207 - INFO - Verifications in API Server for VN ctest-vn-56582956 passed
2026-03-12 01:50:37,207 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/1077cc5c-1905-40c8-b54e-6efedb36491f
2026-03-12 01:50:37,263 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/21d16c16-b894-4c55-b514-d24544018774
2026-03-12 01:50:37,318 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/21d16c16-b894-4c55-b514-d24544018774
2026-03-12 01:50:37,374 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/64c001fe-119f-46e3-812c-e021f9b8f2db
2026-03-12 01:50:37,480 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-56582956', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80153832', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1186641722764247240', 'uuid-lslong': '13064501609926904095'}, 'enable': 'true', 'created': '2026-03-12T01:50:33', 'last-modified': '2026-03-12T01:50:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.859280'}
2026-03-12 01:50:37,532 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-12 01:50:37,532 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56582956 passed
2026-03-12 01:50:37,533 - DEBUG - ====Verifying policy data for ctest-vn-56582956 in API_Server ======
2026-03-12 01:50:37,533 - DEBUG - Requesting: https://10.0.0.41:8082/domains
2026-03-12 01:50:37,585 - DEBUG - Requesting: https://10.0.0.41:8082/domain/d3dbfc90-0ead-4aa5-a44d-bbde5d3c799a
2026-03-12 01:50:37,646 - DEBUG - Requesting: https://10.0.0.41:8082/project/0cbbe601-474e-4ef6-8a5e-e8ce659c7496
2026-03-12 01:50:37,727 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/1077cc5c-1905-40c8-b54e-6efedb36491f
2026-03-12 01:50:37,783 - DEBUG - ==>Verifying data for policy with id: a99913b8-ae92-403b-a325-61b0b2fbb00e, fqn: ['admin_domain', 'ctest-TestBasicPolicy-80153832', 'ctest-policy-allow-all-77326592']
2026-03-12 01:50:37,783 - INFO - VN ctest-vn-56582956 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-12 01:50:37,783 - DEBUG - Verifying the vn in opserver
2026-03-12 01:50:37,783 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-56582956 virtual network link through opserver 10.0.0.41
2026-03-12 01:50:37,783 - DEBUG - Requesting: https://10.0.0.41:8081/analytics/uves/virtual-networks
2026-03-12 01:50:38,138 - DEBUG - Requesting: https://10.0.0.41:8081/analytics/uves/virtual-networks
2026-03-12 01:50:38,269 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-56582956', 'href': 'https://10.0.0.41:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-56582956?flat'}
2026-03-12 01:50:38,269 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-56582956 is found in opserver
2026-03-12 01:50:38,374 - DEBUG - Do not have enough data to verify VN in agent
2026-03-12 01:50:38,421 - DEBUG - VRF ids for VN ctest-vn-56582956: {}
2026-03-12 01:50:38,421 - DEBUG - Requesting: https://10.0.0.41:8082/domains
2026-03-12 01:50:38,479 - DEBUG - Requesting: https://10.0.0.41:8082/domain/d3dbfc90-0ead-4aa5-a44d-bbde5d3c799a
2026-03-12 01:50:38,548 - DEBUG - Requesting: https://10.0.0.41:8082/project/0cbbe601-474e-4ef6-8a5e-e8ce659c7496
2026-03-12 01:50:38,638 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/eb85324d-ba71-4c11-ac57-8c575435b657
2026-03-12 01:50:38,699 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/eb85324d-ba71-4c11-ac57-8c575435b657
2026-03-12 01:50:38,755 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/9f5b7aef-d39f-442c-8b2c-a48f2fe5e5f5
2026-03-12 01:50:38,814 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/9f5b7aef-d39f-442c-8b2c-a48f2fe5e5f5
2026-03-12 01:50:38,870 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/84276066-f356-4c45-a75a-f936a528c116
2026-03-12 01:50:38,922 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-12 01:50:38,922 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/eb85324d-ba71-4c11-ac57-8c575435b657
2026-03-12 01:50:38,979 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/9f5b7aef-d39f-442c-8b2c-a48f2fe5e5f5
2026-03-12 01:50:39,046 - INFO - Verified VN network id 12 for VN eb85324d-ba71-4c11-ac57-8c575435b657
2026-03-12 01:50:39,046 - INFO - Verifications in API Server for VN ctest-vn-54634627 passed
2026-03-12 01:50:39,047 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/eb85324d-ba71-4c11-ac57-8c575435b657
2026-03-12 01:50:39,107 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/9f5b7aef-d39f-442c-8b2c-a48f2fe5e5f5
2026-03-12 01:50:39,162 - DEBUG - Requesting: https://10.0.0.41:8082/routing-instance/9f5b7aef-d39f-442c-8b2c-a48f2fe5e5f5
2026-03-12 01:50:39,222 - DEBUG - Requesting: https://10.0.0.41:8082/route-target/84276066-f356-4c45-a75a-f936a528c116
2026-03-12 01:50:39,330 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-54634627', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80153832', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16971026080237440017', 'uuid-lslong': '12418548804200281687'}, 'enable': 'true', 'created': '2026-03-12T01:50:34', 'last-modified': '2026-03-12T01:50:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.346560'}
2026-03-12 01:50:39,387 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-12 01:50:39,387 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-54634627 passed
2026-03-12 01:50:39,387 - DEBUG - ====Verifying policy data for ctest-vn-54634627 in API_Server ======
2026-03-12 01:50:39,387 - DEBUG - Requesting: https://10.0.0.41:8082/domains
2026-03-12 01:50:39,437 - DEBUG - Requesting: https://10.0.0.41:8082/domain/d3dbfc90-0ead-4aa5-a44d-bbde5d3c799a
2026-03-12 01:50:39,502 - DEBUG - Requesting: https://10.0.0.41:8082/project/0cbbe601-474e-4ef6-8a5e-e8ce659c7496
2026-03-12 01:50:39,578 - DEBUG - Requesting: https://10.0.0.41:8082/virtual-network/eb85324d-ba71-4c11-ac57-8c575435b657
2026-03-12 01:50:39,643 - DEBUG - ==>Verifying data for policy with id: a99913b8-ae92-403b-a325-61b0b2fbb00e, fqn: ['admin_domain', 'ctest-TestBasicPolicy-80153832', 'ctest-policy-allow-all-77326592']
2026-03-12 01:50:39,643 - INFO - VN ctest-vn-54634627 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-12 01:50:39,643 - DEBUG - Verifying the vn in opserver
2026-03-12 01:50:39,643 - DEBUG - Verifying the admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-54634627 virtual network link through opserver 10.0.0.41
2026-03-12 01:50:39,643 - DEBUG - Requesting: https://10.0.0.41:8081/analytics/uves/virtual-networks
2026-03-12 01:50:39,701 - DEBUG - vn link and name as {'name': 'admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-54634627', 'href': 'https://10.0.0.41:8081/analytics/uves/virtual-network/admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-54634627?flat'}
2026-03-12 01:50:39,701 - INFO - Validated that VN admin_domain:ctest-TestBasicPolicy-80153832:ctest-vn-54634627 is found in opserver
2026-03-12 01:50:39,805 - DEBUG - Do not have enough data to verify VN in agent
2026-03-12 01:50:39,858 - DEBUG - VRF ids for VN ctest-vn-54634627: {}
2026-03-12 01:50:39,932 - DEBUG - Services list from nova: [