2026-02-26 02:30:19,276 - INFO - Domain Default found not creating
2026-02-26 02:30:19,436 - INFO - Project ctest-TestBasicPolicy-02314228 not found, creating it
2026-02-26 02:30:19,890 - INFO - Created Project:ctest-TestBasicPolicy-02314228, ID : 3ea325c6-cba3-406d-9b26-452e1070d776
2026-02-26 02:30:21,346 - INFO - ================================================================================
2026-02-26 02:30:21,346 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-26 02:30:21,346 - 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-26 02:30:21,600 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.201': '0'}} with
2026-02-26 02:30:21,600 - INFO - Initial checks done. Running the testcase now
2026-02-26 02:30:21,600 - INFO -
2026-02-26 02:30:22,120 - DEBUG - Response for create_network : {'network': {'id': '6f87ecca-82ba-4e39-a10c-719c15286391', 'name': 'ctest-vn-02377145', 'tenant_id': '3ea325c6cba3406d9b26452e1070d776', 'project_id': '3ea325c6cba3406d9b26452e1070d776', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02314228', 'ctest-vn-02377145'], 'port_security_enabled': True, 'description': ''}}
2026-02-26 02:30:22,314 - DEBUG - Response for create_subnet : {'subnet': {'id': '61875078-032b-4e59-8bca-c7733bfbed1b', 'name': '', 'tenant_id': '3ea325c6cba3406d9b26452e1070d776', 'network_id': '6f87ecca-82ba-4e39-a10c-719c15286391', 'ip_version': 4, 'cidr': '179.19.210.128/26', 'allocation_pools': [{'start': '179.19.210.130', 'end': '179.19.210.190'}], 'gateway_ip': '179.19.210.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '179.19.210.130', 'tags': [], 'project_id': '3ea325c6cba3406d9b26452e1070d776'}}
2026-02-26 02:30:22,331 - INFO - Created VN ctest-vn-02377145
2026-02-26 02:30:22,383 - DEBUG - VN ctest-vn-02377145 UUID is 6f87ecca-82ba-4e39-a10c-719c15286391
2026-02-26 02:30:22,681 - DEBUG - Response for create_network : {'network': {'id': '97e50a08-3d67-43b9-a635-3af77eb5e9b1', 'name': 'ctest-vn-93918125', 'tenant_id': '3ea325c6cba3406d9b26452e1070d776', 'project_id': '3ea325c6cba3406d9b26452e1070d776', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02314228', 'ctest-vn-93918125'], 'port_security_enabled': True, 'description': ''}}
2026-02-26 02:30:22,827 - DEBUG - Response for create_subnet : {'subnet': {'id': '0776871e-cd21-49f1-be56-2c76d558dd18', 'name': '', 'tenant_id': '3ea325c6cba3406d9b26452e1070d776', 'network_id': '97e50a08-3d67-43b9-a635-3af77eb5e9b1', 'ip_version': 4, 'cidr': '9.134.145.0/26', 'allocation_pools': [{'start': '9.134.145.2', 'end': '9.134.145.62'}], 'gateway_ip': '9.134.145.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '9.134.145.2', 'tags': [], 'project_id': '3ea325c6cba3406d9b26452e1070d776'}}
2026-02-26 02:30:22,842 - INFO - Created VN ctest-vn-93918125
2026-02-26 02:30:22,895 - DEBUG - VN ctest-vn-93918125 UUID is 97e50a08-3d67-43b9-a635-3af77eb5e9b1
2026-02-26 02:30:23,043 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02314228:ctest-vn-02377145, 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-02314228:ctest-vn-93918125, 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-26 02:30:23,330 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6f87ecca-82ba-4e39-a10c-719c15286391', 'name': 'ctest-vn-02377145', 'tenant_id': '3ea325c6cba3406d9b26452e1070d776', 'project_id': '3ea325c6cba3406d9b26452e1070d776', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['61875078-032b-4e59-8bca-c7733bfbed1b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02314228', 'ctest-vn-02377145'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02314228', 'ctest-policy-allow-all-22899981']], 'subnet_ipam': [{'subnet_cidr': '179.19.210.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-26 02:30:23,591 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97e50a08-3d67-43b9-a635-3af77eb5e9b1', 'name': 'ctest-vn-93918125', 'tenant_id': '3ea325c6cba3406d9b26452e1070d776', 'project_id': '3ea325c6cba3406d9b26452e1070d776', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0776871e-cd21-49f1-be56-2c76d558dd18'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02314228', 'ctest-vn-93918125'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02314228', 'ctest-policy-allow-all-22899981']], 'subnet_ipam': [{'subnet_cidr': '9.134.145.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-26 02:30:23,739 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-26 02:30:24,033 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-26 02:30:24,063 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d4c06cf8-20c4-46ba-ab79-a7dc9dd9d2a1
2026-02-26 02:30:24,074 - DEBUG - Requesting: http://10.0.0.22:8082/project/3ea325c6-cba3-406d-9b26-452e1070d776
2026-02-26 02:30:24,144 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6f87ecca-82ba-4e39-a10c-719c15286391
2026-02-26 02:30:24,154 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6f87ecca-82ba-4e39-a10c-719c15286391
2026-02-26 02:30:24,162 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bd01837b-842d-4bc0-b0c6-d1aebc6f741f
2026-02-26 02:30:24,169 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bd01837b-842d-4bc0-b0c6-d1aebc6f741f
2026-02-26 02:30:24,175 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/8012ef46-acd0-4627-97bb-94f2fb1d0262
2026-02-26 02:30:24,181 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-26 02:30:24,181 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6f87ecca-82ba-4e39-a10c-719c15286391
2026-02-26 02:30:24,189 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bd01837b-842d-4bc0-b0c6-d1aebc6f741f
2026-02-26 02:30:24,203 - INFO - Verified VN network id 11 for VN 6f87ecca-82ba-4e39-a10c-719c15286391
2026-02-26 02:30:24,203 - INFO - Verifications in API Server for VN ctest-vn-02377145 passed
2026-02-26 02:30:24,203 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6f87ecca-82ba-4e39-a10c-719c15286391
2026-02-26 02:30:24,212 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bd01837b-842d-4bc0-b0c6-d1aebc6f741f
2026-02-26 02:30:24,218 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/bd01837b-842d-4bc0-b0c6-d1aebc6f741f
2026-02-26 02:30:24,225 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/8012ef46-acd0-4627-97bb-94f2fb1d0262
2026-02-26 02:30:24,238 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02314228:ctest-vn-02377145', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02314228', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8036652414586736185', 'uuid-lslong': '11604775255010730897'}, 'enable': 'true', 'created': '2026-02-26T02:30:22', 'last-modified': '2026-02-26T02:30:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927633'}
2026-02-26 02:30:24,245 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-26 02:30:24,245 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02377145 passed
2026-02-26 02:30:24,245 - DEBUG - ====Verifying policy data for ctest-vn-02377145 in API_Server ======
2026-02-26 02:30:24,245 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-26 02:30:24,251 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d4c06cf8-20c4-46ba-ab79-a7dc9dd9d2a1
2026-02-26 02:30:24,262 - DEBUG - Requesting: http://10.0.0.22:8082/project/3ea325c6-cba3-406d-9b26-452e1070d776
2026-02-26 02:30:24,324 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/6f87ecca-82ba-4e39-a10c-719c15286391
2026-02-26 02:30:24,333 - DEBUG - ==>Verifying data for policy with id: 68187fdd-6012-4cd2-ac17-60aa450b62c4, fqn: ['default-domain', 'ctest-TestBasicPolicy-02314228', 'ctest-policy-allow-all-22899981']
2026-02-26 02:30:24,333 - INFO - VN ctest-vn-02377145 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-26 02:30:24,333 - DEBUG - Verifying the vn in opserver
2026-02-26 02:30:24,333 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02314228:ctest-vn-02377145 virtual network link through opserver 10.0.0.22
2026-02-26 02:30:24,333 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-26 02:30:24,624 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-26 02:30:24,681 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02314228:ctest-vn-02377145', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02314228:ctest-vn-02377145?flat'}
2026-02-26 02:30:24,681 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02314228:ctest-vn-02377145 is found in opserver
2026-02-26 02:30:24,689 - DEBUG - Do not have enough data to verify VN in agent
2026-02-26 02:30:24,693 - DEBUG - VRF ids for VN ctest-vn-02377145: {}
2026-02-26 02:30:24,693 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-26 02:30:24,697 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d4c06cf8-20c4-46ba-ab79-a7dc9dd9d2a1
2026-02-26 02:30:24,707 - DEBUG - Requesting: http://10.0.0.22:8082/project/3ea325c6-cba3-406d-9b26-452e1070d776
2026-02-26 02:30:24,775 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/97e50a08-3d67-43b9-a635-3af77eb5e9b1
2026-02-26 02:30:24,786 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/97e50a08-3d67-43b9-a635-3af77eb5e9b1
2026-02-26 02:30:24,794 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6c242e52-46be-410a-9bdf-5fcfd70e272e
2026-02-26 02:30:24,801 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6c242e52-46be-410a-9bdf-5fcfd70e272e
2026-02-26 02:30:24,807 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a967e122-9ebb-4948-8830-c0cdbafaac30
2026-02-26 02:30:24,812 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-26 02:30:24,812 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/97e50a08-3d67-43b9-a635-3af77eb5e9b1
2026-02-26 02:30:24,820 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6c242e52-46be-410a-9bdf-5fcfd70e272e
2026-02-26 02:30:24,834 - INFO - Verified VN network id 12 for VN 97e50a08-3d67-43b9-a635-3af77eb5e9b1
2026-02-26 02:30:24,834 - INFO - Verifications in API Server for VN ctest-vn-93918125 passed
2026-02-26 02:30:24,834 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/97e50a08-3d67-43b9-a635-3af77eb5e9b1
2026-02-26 02:30:24,842 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6c242e52-46be-410a-9bdf-5fcfd70e272e
2026-02-26 02:30:24,848 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/6c242e52-46be-410a-9bdf-5fcfd70e272e
2026-02-26 02:30:24,854 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/a967e122-9ebb-4948-8830-c0cdbafaac30
2026-02-26 02:30:24,864 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02314228:ctest-vn-93918125', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02314228', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10945165499900052409', 'uuid-lslong': '11976543618718886321'}, 'enable': 'true', 'created': '2026-02-26T02:30:22', 'last-modified': '2026-02-26T02:30:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.337865'}
2026-02-26 02:30:24,869 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-26 02:30:24,870 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93918125 passed
2026-02-26 02:30:24,870 - DEBUG - ====Verifying policy data for ctest-vn-93918125 in API_Server ======
2026-02-26 02:30:24,870 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-26 02:30:24,876 - DEBUG - Requesting: http://10.0.0.22:8082/domain/d4c06cf8-20c4-46ba-ab79-a7dc9dd9d2a1
2026-02-26 02:30:24,886 - DEBUG - Requesting: http://10.0.0.22:8082/project/3ea325c6-cba3-406d-9b26-452e1070d776
2026-02-26 02:30:24,950 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/97e50a08-3d67-43b9-a635-3af77eb5e9b1
2026-02-26 02:30:24,958 - DEBUG - ==>Verifying data for policy with id: 68187fdd-6012-4cd2-ac17-60aa450b62c4, fqn: ['default-domain', 'ctest-TestBasicPolicy-02314228', 'ctest-policy-allow-all-22899981']
2026-02-26 02:30:24,958 - INFO - VN ctest-vn-93918125 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-26 02:30:24,958 - DEBUG - Verifying the vn in opserver
2026-02-26 02:30:24,959 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02314228:ctest-vn-93918125 virtual network link through opserver 10.0.0.22
2026-02-26 02:30:24,959 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-26 02:30:24,967 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02314228:ctest-vn-93918125', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02314228:ctest-vn-93918125?flat'}
2026-02-26 02:30:24,967 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02314228:ctest-vn-93918125 is found in opserver
2026-02-26 02:30:24,975 - DEBUG - Do not have enough data to verify VN in agent
2026-02-26 02:30:24,979 - DEBUG - VRF ids for VN ctest-vn-93918125: {}
2026-02-26 02:30:25,032 - DEBUG - Services list from nova: [