2026-06-02 02:32:42,448 - INFO - Domain Default found not creating
2026-06-02 02:32:42,617 - INFO - Project ctest-TestBasicPolicy-22804029 not found, creating it
2026-06-02 02:32:43,066 - INFO - Created Project:ctest-TestBasicPolicy-22804029, ID : 76dc4b0e-de33-4ec9-b193-a2cd14845a50
2026-06-02 02:32:44,396 - INFO - ================================================================================
2026-06-02 02:32:44,396 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-02 02:32:44,396 - 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-06-02 02:32:44,649 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.129': '0'}} with
2026-06-02 02:32:44,649 - INFO - Initial checks done. Running the testcase now
2026-06-02 02:32:44,649 - INFO -
2026-06-02 02:32:45,165 - DEBUG - Response for create_network : {'network': {'id': '3abc0459-442b-4943-b829-2a605500525b', 'name': 'ctest-vn-08818792', 'tenant_id': '76dc4b0ede334ec9b193a2cd14845a50', 'project_id': '76dc4b0ede334ec9b193a2cd14845a50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22804029', 'ctest-vn-08818792'], 'port_security_enabled': True, 'description': ''}}
2026-06-02 02:32:45,367 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c58be3cf-dd56-4817-91b7-d3bc9d752121', 'name': '', 'tenant_id': '76dc4b0ede334ec9b193a2cd14845a50', 'network_id': '3abc0459-442b-4943-b829-2a605500525b', 'ip_version': 4, 'cidr': '64.134.70.128/26', 'allocation_pools': [{'start': '64.134.70.130', 'end': '64.134.70.190'}], 'gateway_ip': '64.134.70.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '64.134.70.130', 'tags': [], 'project_id': '76dc4b0ede334ec9b193a2cd14845a50'}}
2026-06-02 02:32:45,383 - INFO - Created VN ctest-vn-08818792
2026-06-02 02:32:45,434 - DEBUG - VN ctest-vn-08818792 UUID is 3abc0459-442b-4943-b829-2a605500525b
2026-06-02 02:32:45,767 - DEBUG - Response for create_network : {'network': {'id': 'a131d18c-c0ef-473f-83b5-df026ddba14c', 'name': 'ctest-vn-24645193', 'tenant_id': '76dc4b0ede334ec9b193a2cd14845a50', 'project_id': '76dc4b0ede334ec9b193a2cd14845a50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22804029', 'ctest-vn-24645193'], 'port_security_enabled': True, 'description': ''}}
2026-06-02 02:32:45,911 - DEBUG - Response for create_subnet : {'subnet': {'id': '9bf75716-ca9f-4cfb-bf8e-33daa6ab2589', 'name': '', 'tenant_id': '76dc4b0ede334ec9b193a2cd14845a50', 'network_id': 'a131d18c-c0ef-473f-83b5-df026ddba14c', 'ip_version': 4, 'cidr': '76.178.175.0/26', 'allocation_pools': [{'start': '76.178.175.2', 'end': '76.178.175.62'}], 'gateway_ip': '76.178.175.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.178.175.2', 'tags': [], 'project_id': '76dc4b0ede334ec9b193a2cd14845a50'}}
2026-06-02 02:32:45,927 - INFO - Created VN ctest-vn-24645193
2026-06-02 02:32:45,978 - DEBUG - VN ctest-vn-24645193 UUID is a131d18c-c0ef-473f-83b5-df026ddba14c
2026-06-02 02:32:46,090 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-22804029:ctest-vn-08818792, 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-22804029:ctest-vn-24645193, 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-06-02 02:32:46,380 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3abc0459-442b-4943-b829-2a605500525b', 'name': 'ctest-vn-08818792', 'tenant_id': '76dc4b0ede334ec9b193a2cd14845a50', 'project_id': '76dc4b0ede334ec9b193a2cd14845a50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c58be3cf-dd56-4817-91b7-d3bc9d752121'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22804029', 'ctest-vn-08818792'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22804029', 'ctest-policy-allow-all-75855019']], 'subnet_ipam': [{'subnet_cidr': '64.134.70.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-02 02:32:46,603 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a131d18c-c0ef-473f-83b5-df026ddba14c', 'name': 'ctest-vn-24645193', 'tenant_id': '76dc4b0ede334ec9b193a2cd14845a50', 'project_id': '76dc4b0ede334ec9b193a2cd14845a50', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9bf75716-ca9f-4cfb-bf8e-33daa6ab2589'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-22804029', 'ctest-vn-24645193'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-22804029', 'ctest-policy-allow-all-75855019']], 'subnet_ipam': [{'subnet_cidr': '76.178.175.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-02 02:32:46,766 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-02 02:32:47,034 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-02 02:32:47,065 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b0c3d7db-527c-4601-9c04-65e547aa3d05
2026-06-02 02:32:47,078 - DEBUG - Requesting: http://10.0.0.50:8082/project/76dc4b0e-de33-4ec9-b193-a2cd14845a50
2026-06-02 02:32:47,148 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3abc0459-442b-4943-b829-2a605500525b
2026-06-02 02:32:47,159 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3abc0459-442b-4943-b829-2a605500525b
2026-06-02 02:32:47,170 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93e86c73-98c2-4e6d-b189-f1ace40d21f4
2026-06-02 02:32:47,177 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93e86c73-98c2-4e6d-b189-f1ace40d21f4
2026-06-02 02:32:47,183 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7e1ca90c-8d8e-4e6b-b9b0-432a489d90e6
2026-06-02 02:32:47,190 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-02 02:32:47,190 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3abc0459-442b-4943-b829-2a605500525b
2026-06-02 02:32:47,200 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93e86c73-98c2-4e6d-b189-f1ace40d21f4
2026-06-02 02:32:47,214 - INFO - Verified VN network id 11 for VN 3abc0459-442b-4943-b829-2a605500525b
2026-06-02 02:32:47,214 - INFO - Verifications in API Server for VN ctest-vn-08818792 passed
2026-06-02 02:32:47,214 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3abc0459-442b-4943-b829-2a605500525b
2026-06-02 02:32:47,223 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93e86c73-98c2-4e6d-b189-f1ace40d21f4
2026-06-02 02:32:47,231 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/93e86c73-98c2-4e6d-b189-f1ace40d21f4
2026-06-02 02:32:47,239 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7e1ca90c-8d8e-4e6b-b9b0-432a489d90e6
2026-06-02 02:32:47,253 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22804029:ctest-vn-08818792', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22804029', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4232262531263711555', 'uuid-lslong': '13270184370255188571'}, 'enable': 'true', 'created': '2026-06-02T02:32:45', 'last-modified': '2026-06-02T02:32:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.897622'}
2026-06-02 02:32:47,260 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-02 02:32:47,260 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08818792 passed
2026-06-02 02:32:47,260 - DEBUG - ====Verifying policy data for ctest-vn-08818792 in API_Server ======
2026-06-02 02:32:47,260 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-02 02:32:47,266 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b0c3d7db-527c-4601-9c04-65e547aa3d05
2026-06-02 02:32:47,276 - DEBUG - Requesting: http://10.0.0.50:8082/project/76dc4b0e-de33-4ec9-b193-a2cd14845a50
2026-06-02 02:32:47,343 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3abc0459-442b-4943-b829-2a605500525b
2026-06-02 02:32:47,353 - DEBUG - ==>Verifying data for policy with id: 569f8225-e486-4e16-89c8-113937b12609, fqn: ['default-domain', 'ctest-TestBasicPolicy-22804029', 'ctest-policy-allow-all-75855019']
2026-06-02 02:32:47,353 - INFO - VN ctest-vn-08818792 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-02 02:32:47,353 - DEBUG - Verifying the vn in opserver
2026-06-02 02:32:47,353 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22804029:ctest-vn-08818792 virtual network link through opserver 10.0.0.50
2026-06-02 02:32:47,353 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-02 02:32:47,615 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-02 02:32:47,681 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22804029:ctest-vn-08818792', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22804029:ctest-vn-08818792?flat'}
2026-06-02 02:32:47,681 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22804029:ctest-vn-08818792 is found in opserver
2026-06-02 02:32:47,691 - DEBUG - Do not have enough data to verify VN in agent
2026-06-02 02:32:47,697 - DEBUG - VRF ids for VN ctest-vn-08818792: {}
2026-06-02 02:32:47,697 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-02 02:32:47,702 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b0c3d7db-527c-4601-9c04-65e547aa3d05
2026-06-02 02:32:47,713 - DEBUG - Requesting: http://10.0.0.50:8082/project/76dc4b0e-de33-4ec9-b193-a2cd14845a50
2026-06-02 02:32:47,788 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a131d18c-c0ef-473f-83b5-df026ddba14c
2026-06-02 02:32:47,802 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a131d18c-c0ef-473f-83b5-df026ddba14c
2026-06-02 02:32:47,811 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/da2c329e-b3c4-4ec4-b461-d70c82c21755
2026-06-02 02:32:47,819 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/da2c329e-b3c4-4ec4-b461-d70c82c21755
2026-06-02 02:32:47,826 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7cb01dbd-a12d-4ff3-b441-50a43e9eba69
2026-06-02 02:32:47,832 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-02 02:32:47,832 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a131d18c-c0ef-473f-83b5-df026ddba14c
2026-06-02 02:32:47,840 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/da2c329e-b3c4-4ec4-b461-d70c82c21755
2026-06-02 02:32:47,852 - INFO - Verified VN network id 12 for VN a131d18c-c0ef-473f-83b5-df026ddba14c
2026-06-02 02:32:47,852 - INFO - Verifications in API Server for VN ctest-vn-24645193 passed
2026-06-02 02:32:47,852 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a131d18c-c0ef-473f-83b5-df026ddba14c
2026-06-02 02:32:47,860 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/da2c329e-b3c4-4ec4-b461-d70c82c21755
2026-06-02 02:32:47,866 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/da2c329e-b3c4-4ec4-b461-d70c82c21755
2026-06-02 02:32:47,871 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7cb01dbd-a12d-4ff3-b441-50a43e9eba69
2026-06-02 02:32:47,886 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-22804029:ctest-vn-24645193', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-22804029', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11615295316427753279', 'uuid-lslong': '9490736991279227212'}, 'enable': 'true', 'created': '2026-06-02T02:32:45', 'last-modified': '2026-06-02T02:32:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.303607'}
2026-06-02 02:32:47,893 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-02 02:32:47,893 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24645193 passed
2026-06-02 02:32:47,893 - DEBUG - ====Verifying policy data for ctest-vn-24645193 in API_Server ======
2026-06-02 02:32:47,893 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-02 02:32:47,901 - DEBUG - Requesting: http://10.0.0.50:8082/domain/b0c3d7db-527c-4601-9c04-65e547aa3d05
2026-06-02 02:32:47,916 - DEBUG - Requesting: http://10.0.0.50:8082/project/76dc4b0e-de33-4ec9-b193-a2cd14845a50
2026-06-02 02:32:47,987 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a131d18c-c0ef-473f-83b5-df026ddba14c
2026-06-02 02:32:47,995 - DEBUG - ==>Verifying data for policy with id: 569f8225-e486-4e16-89c8-113937b12609, fqn: ['default-domain', 'ctest-TestBasicPolicy-22804029', 'ctest-policy-allow-all-75855019']
2026-06-02 02:32:47,995 - INFO - VN ctest-vn-24645193 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-02 02:32:47,995 - DEBUG - Verifying the vn in opserver
2026-06-02 02:32:47,995 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-22804029:ctest-vn-24645193 virtual network link through opserver 10.0.0.50
2026-06-02 02:32:47,995 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-02 02:32:48,006 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-22804029:ctest-vn-24645193', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-22804029:ctest-vn-24645193?flat'}
2026-06-02 02:32:48,006 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-22804029:ctest-vn-24645193 is found in opserver
2026-06-02 02:32:48,016 - DEBUG - Do not have enough data to verify VN in agent
2026-06-02 02:32:48,021 - DEBUG - VRF ids for VN ctest-vn-24645193: {}
2026-06-02 02:32:48,085 - DEBUG - Services list from nova: [