2026-02-13 15:52:09,836 - INFO - Domain Default found not creating
2026-02-13 15:52:10,009 - INFO - Project ctest-TestBasicPolicy-54725806 not found, creating it
2026-02-13 15:52:10,495 - INFO - Created Project:ctest-TestBasicPolicy-54725806, ID : 4b776e93-6b32-4f5c-9faf-da7a49419062
2026-02-13 15:52:12,086 - INFO - ================================================================================
2026-02-13 15:52:12,086 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-13 15:52:12,086 - 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-02-13 15:52:12,345 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with
2026-02-13 15:52:12,345 - INFO - Initial checks done. Running the testcase now
2026-02-13 15:52:12,345 - INFO -
2026-02-13 15:52:12,930 - DEBUG - Response for create_network : {'network': {'id': '2af84a50-1c79-4ae8-9861-3d3ae02d6718', 'name': 'ctest-vn-84638312', 'tenant_id': '4b776e936b324f5c9fafda7a49419062', 'project_id': '4b776e936b324f5c9fafda7a49419062', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54725806', 'ctest-vn-84638312'], 'port_security_enabled': True, 'description': ''}}
2026-02-13 15:52:13,127 - DEBUG - Response for create_subnet : {'subnet': {'id': '0ef57fd3-f7c7-4a62-bd9f-a1af9f3910a9', 'name': '', 'tenant_id': '4b776e936b324f5c9fafda7a49419062', 'network_id': '2af84a50-1c79-4ae8-9861-3d3ae02d6718', 'ip_version': 4, 'cidr': '51.233.251.192/26', 'allocation_pools': [{'start': '51.233.251.194', 'end': '51.233.251.254'}], 'gateway_ip': '51.233.251.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.233.251.194', 'tags': [], 'project_id': '4b776e936b324f5c9fafda7a49419062'}}
2026-02-13 15:52:13,145 - INFO - Created VN ctest-vn-84638312
2026-02-13 15:52:13,195 - DEBUG - VN ctest-vn-84638312 UUID is 2af84a50-1c79-4ae8-9861-3d3ae02d6718
2026-02-13 15:52:13,480 - DEBUG - Response for create_network : {'network': {'id': '524954e2-5b59-4375-88a6-f562ebd2ead8', 'name': 'ctest-vn-76538422', 'tenant_id': '4b776e936b324f5c9fafda7a49419062', 'project_id': '4b776e936b324f5c9fafda7a49419062', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54725806', 'ctest-vn-76538422'], 'port_security_enabled': True, 'description': ''}}
2026-02-13 15:52:13,638 - DEBUG - Response for create_subnet : {'subnet': {'id': '845ff3fe-693c-4a29-bf22-c8a9c09e5705', 'name': '', 'tenant_id': '4b776e936b324f5c9fafda7a49419062', 'network_id': '524954e2-5b59-4375-88a6-f562ebd2ead8', 'ip_version': 4, 'cidr': '51.180.153.192/26', 'allocation_pools': [{'start': '51.180.153.194', 'end': '51.180.153.254'}], 'gateway_ip': '51.180.153.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.180.153.194', 'tags': [], 'project_id': '4b776e936b324f5c9fafda7a49419062'}}
2026-02-13 15:52:13,657 - INFO - Created VN ctest-vn-76538422
2026-02-13 15:52:13,711 - DEBUG - VN ctest-vn-76538422 UUID is 524954e2-5b59-4375-88a6-f562ebd2ead8
2026-02-13 15:52:13,827 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-84638312, 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-54725806:ctest-vn-76538422, 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-02-13 15:52:14,141 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2af84a50-1c79-4ae8-9861-3d3ae02d6718', 'name': 'ctest-vn-84638312', 'tenant_id': '4b776e936b324f5c9fafda7a49419062', 'project_id': '4b776e936b324f5c9fafda7a49419062', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0ef57fd3-f7c7-4a62-bd9f-a1af9f3910a9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54725806', 'ctest-vn-84638312'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54725806', 'ctest-policy-allow-all-02267859']], 'subnet_ipam': [{'subnet_cidr': '51.233.251.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-13 15:52:14,367 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '524954e2-5b59-4375-88a6-f562ebd2ead8', 'name': 'ctest-vn-76538422', 'tenant_id': '4b776e936b324f5c9fafda7a49419062', 'project_id': '4b776e936b324f5c9fafda7a49419062', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['845ff3fe-693c-4a29-bf22-c8a9c09e5705'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-54725806', 'ctest-vn-76538422'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-54725806', 'ctest-policy-allow-all-02267859']], 'subnet_ipam': [{'subnet_cidr': '51.180.153.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-13 15:52:14,535 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-13 15:52:14,870 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-13 15:52:14,901 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a7a198eb-3549-4178-a90c-88c6afd240a2
2026-02-13 15:52:14,914 - DEBUG - Requesting: http://10.0.0.27:8082/project/4b776e93-6b32-4f5c-9faf-da7a49419062
2026-02-13 15:52:14,981 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2af84a50-1c79-4ae8-9861-3d3ae02d6718
2026-02-13 15:52:15,000 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2af84a50-1c79-4ae8-9861-3d3ae02d6718
2026-02-13 15:52:15,009 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/27e2e2fc-bdee-4570-b6c8-8120753ee1eb
2026-02-13 15:52:15,016 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/27e2e2fc-bdee-4570-b6c8-8120753ee1eb
2026-02-13 15:52:15,022 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/b6516dd9-d038-4b1c-bd25-e9cf1a3e86fa
2026-02-13 15:52:15,028 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-13 15:52:15,028 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2af84a50-1c79-4ae8-9861-3d3ae02d6718
2026-02-13 15:52:15,037 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/27e2e2fc-bdee-4570-b6c8-8120753ee1eb
2026-02-13 15:52:15,050 - INFO - Verified VN network id 9 for VN 2af84a50-1c79-4ae8-9861-3d3ae02d6718
2026-02-13 15:52:15,050 - INFO - Verifications in API Server for VN ctest-vn-84638312 passed
2026-02-13 15:52:15,051 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2af84a50-1c79-4ae8-9861-3d3ae02d6718
2026-02-13 15:52:15,059 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/27e2e2fc-bdee-4570-b6c8-8120753ee1eb
2026-02-13 15:52:15,066 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/27e2e2fc-bdee-4570-b6c8-8120753ee1eb
2026-02-13 15:52:15,073 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/b6516dd9-d038-4b1c-bd25-e9cf1a3e86fa
2026-02-13 15:52:15,086 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-84638312', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54725806', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3096306451752766184', 'uuid-lslong': '10980124689584449304'}, 'enable': 'true', 'created': '2026-02-13T15:52:12', 'last-modified': '2026-02-13T15:52:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.979706'}
2026-02-13 15:52:15,093 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-13 15:52:15,093 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84638312 passed
2026-02-13 15:52:15,093 - DEBUG - ====Verifying policy data for ctest-vn-84638312 in API_Server ======
2026-02-13 15:52:15,093 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-13 15:52:15,098 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a7a198eb-3549-4178-a90c-88c6afd240a2
2026-02-13 15:52:15,110 - DEBUG - Requesting: http://10.0.0.27:8082/project/4b776e93-6b32-4f5c-9faf-da7a49419062
2026-02-13 15:52:15,183 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/2af84a50-1c79-4ae8-9861-3d3ae02d6718
2026-02-13 15:52:15,192 - DEBUG - ==>Verifying data for policy with id: 81cf2fd9-74c4-48c7-98ca-982da4485d36, fqn: ['default-domain', 'ctest-TestBasicPolicy-54725806', 'ctest-policy-allow-all-02267859']
2026-02-13 15:52:15,192 - INFO - VN ctest-vn-84638312 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-13 15:52:15,192 - DEBUG - Verifying the vn in opserver
2026-02-13 15:52:15,192 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-84638312 virtual network link through opserver 10.0.0.27
2026-02-13 15:52:15,192 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-02-13 15:52:15,526 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-02-13 15:52:15,591 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-84638312', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-84638312?flat'}
2026-02-13 15:52:15,591 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-84638312 is found in opserver
2026-02-13 15:52:15,601 - DEBUG - Do not have enough data to verify VN in agent
2026-02-13 15:52:15,605 - DEBUG - VRF ids for VN ctest-vn-84638312: {}
2026-02-13 15:52:15,605 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-13 15:52:15,610 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a7a198eb-3549-4178-a90c-88c6afd240a2
2026-02-13 15:52:15,622 - DEBUG - Requesting: http://10.0.0.27:8082/project/4b776e93-6b32-4f5c-9faf-da7a49419062
2026-02-13 15:52:15,697 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/524954e2-5b59-4375-88a6-f562ebd2ead8
2026-02-13 15:52:15,710 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/524954e2-5b59-4375-88a6-f562ebd2ead8
2026-02-13 15:52:15,720 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5c89fe59-2ecf-44bc-93ca-a1dd8aec06ac
2026-02-13 15:52:15,728 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5c89fe59-2ecf-44bc-93ca-a1dd8aec06ac
2026-02-13 15:52:15,735 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/129ce781-5416-4607-b4ed-5de956ed69e8
2026-02-13 15:52:15,743 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-13 15:52:15,743 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/524954e2-5b59-4375-88a6-f562ebd2ead8
2026-02-13 15:52:15,753 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5c89fe59-2ecf-44bc-93ca-a1dd8aec06ac
2026-02-13 15:52:15,769 - INFO - Verified VN network id 10 for VN 524954e2-5b59-4375-88a6-f562ebd2ead8
2026-02-13 15:52:15,769 - INFO - Verifications in API Server for VN ctest-vn-76538422 passed
2026-02-13 15:52:15,769 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/524954e2-5b59-4375-88a6-f562ebd2ead8
2026-02-13 15:52:15,781 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5c89fe59-2ecf-44bc-93ca-a1dd8aec06ac
2026-02-13 15:52:15,789 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5c89fe59-2ecf-44bc-93ca-a1dd8aec06ac
2026-02-13 15:52:15,798 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/129ce781-5416-4607-b4ed-5de956ed69e8
2026-02-13 15:52:15,810 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-76538422', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-54725806', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5929363715581887349', 'uuid-lslong': '9846827440504236760'}, 'enable': 'true', 'created': '2026-02-13T15:52:13', 'last-modified': '2026-02-13T15:52:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.466949'}
2026-02-13 15:52:15,815 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-13 15:52:15,816 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-76538422 passed
2026-02-13 15:52:15,816 - DEBUG - ====Verifying policy data for ctest-vn-76538422 in API_Server ======
2026-02-13 15:52:15,816 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-13 15:52:15,821 - DEBUG - Requesting: http://10.0.0.27:8082/domain/a7a198eb-3549-4178-a90c-88c6afd240a2
2026-02-13 15:52:15,832 - DEBUG - Requesting: http://10.0.0.27:8082/project/4b776e93-6b32-4f5c-9faf-da7a49419062
2026-02-13 15:52:15,900 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/524954e2-5b59-4375-88a6-f562ebd2ead8
2026-02-13 15:52:15,909 - DEBUG - ==>Verifying data for policy with id: 81cf2fd9-74c4-48c7-98ca-982da4485d36, fqn: ['default-domain', 'ctest-TestBasicPolicy-54725806', 'ctest-policy-allow-all-02267859']
2026-02-13 15:52:15,909 - INFO - VN ctest-vn-76538422 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-13 15:52:15,909 - DEBUG - Verifying the vn in opserver
2026-02-13 15:52:15,909 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-76538422 virtual network link through opserver 10.0.0.27
2026-02-13 15:52:15,909 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-02-13 15:52:15,919 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-76538422', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-76538422?flat'}
2026-02-13 15:52:15,919 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-54725806:ctest-vn-76538422 is found in opserver
2026-02-13 15:52:15,930 - DEBUG - Do not have enough data to verify VN in agent
2026-02-13 15:52:15,934 - DEBUG - VRF ids for VN ctest-vn-76538422: {}
2026-02-13 15:52:15,992 - DEBUG - Services list from nova: [