2026-03-17 12:53:16,175 - INFO - Domain Default found not creating
2026-03-17 12:53:16,366 - INFO - Project ctest-TestBasicPolicy-49236246 not found, creating it
2026-03-17 12:53:16,870 - INFO - Created Project:ctest-TestBasicPolicy-49236246, ID : 0aef448a-1f1d-4df7-9ead-8d9348da58d2
2026-03-17 12:53:18,367 - INFO - ================================================================================
2026-03-17 12:53:18,367 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-17 12:53:18,367 - 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-17 12:53:18,630 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.14': '0'}} with
2026-03-17 12:53:18,630 - INFO - Initial checks done. Running the testcase now
2026-03-17 12:53:18,630 - INFO -
2026-03-17 12:53:19,191 - DEBUG - Response for create_network : {'network': {'id': '3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b', 'name': 'ctest-vn-25077404', 'tenant_id': '0aef448a1f1d4df79ead8d9348da58d2', 'project_id': '0aef448a1f1d4df79ead8d9348da58d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49236246', 'ctest-vn-25077404'], 'port_security_enabled': True, 'description': ''}}
2026-03-17 12:53:19,389 - DEBUG - Response for create_subnet : {'subnet': {'id': '377f4638-02fb-4c76-9a46-402100a0ada0', 'name': '', 'tenant_id': '0aef448a1f1d4df79ead8d9348da58d2', 'network_id': '3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b', 'ip_version': 4, 'cidr': '93.0.226.192/26', 'allocation_pools': [{'start': '93.0.226.194', 'end': '93.0.226.254'}], 'gateway_ip': '93.0.226.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.0.226.194', 'tags': [], 'project_id': '0aef448a1f1d4df79ead8d9348da58d2'}}
2026-03-17 12:53:19,412 - INFO - Created VN ctest-vn-25077404
2026-03-17 12:53:19,465 - DEBUG - VN ctest-vn-25077404 UUID is 3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b
2026-03-17 12:53:19,765 - DEBUG - Response for create_network : {'network': {'id': '1af598f5-61c5-4630-87b4-03dd257a2e94', 'name': 'ctest-vn-72764767', 'tenant_id': '0aef448a1f1d4df79ead8d9348da58d2', 'project_id': '0aef448a1f1d4df79ead8d9348da58d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49236246', 'ctest-vn-72764767'], 'port_security_enabled': True, 'description': ''}}
2026-03-17 12:53:19,918 - DEBUG - Response for create_subnet : {'subnet': {'id': '23760663-4400-42ea-8d3e-bd88fe55f92c', 'name': '', 'tenant_id': '0aef448a1f1d4df79ead8d9348da58d2', 'network_id': '1af598f5-61c5-4630-87b4-03dd257a2e94', 'ip_version': 4, 'cidr': '4.20.199.128/26', 'allocation_pools': [{'start': '4.20.199.130', 'end': '4.20.199.190'}], 'gateway_ip': '4.20.199.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.20.199.130', 'tags': [], 'project_id': '0aef448a1f1d4df79ead8d9348da58d2'}}
2026-03-17 12:53:19,934 - INFO - Created VN ctest-vn-72764767
2026-03-17 12:53:19,984 - DEBUG - VN ctest-vn-72764767 UUID is 1af598f5-61c5-4630-87b4-03dd257a2e94
2026-03-17 12:53:20,100 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-25077404, 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-49236246:ctest-vn-72764767, 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-17 12:53:20,395 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b', 'name': 'ctest-vn-25077404', 'tenant_id': '0aef448a1f1d4df79ead8d9348da58d2', 'project_id': '0aef448a1f1d4df79ead8d9348da58d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['377f4638-02fb-4c76-9a46-402100a0ada0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49236246', 'ctest-vn-25077404'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49236246', 'ctest-policy-allow-all-08207812']], 'subnet_ipam': [{'subnet_cidr': '93.0.226.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-17 12:53:20,685 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1af598f5-61c5-4630-87b4-03dd257a2e94', 'name': 'ctest-vn-72764767', 'tenant_id': '0aef448a1f1d4df79ead8d9348da58d2', 'project_id': '0aef448a1f1d4df79ead8d9348da58d2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['23760663-4400-42ea-8d3e-bd88fe55f92c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49236246', 'ctest-vn-72764767'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49236246', 'ctest-policy-allow-all-08207812']], 'subnet_ipam': [{'subnet_cidr': '4.20.199.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-17 12:53:20,841 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-17 12:53:21,116 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-17 12:53:21,155 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f51abf4f-e91a-4230-bfb9-5f808b47d52b
2026-03-17 12:53:21,168 - DEBUG - Requesting: http://10.0.0.22:8082/project/0aef448a-1f1d-4df7-9ead-8d9348da58d2
2026-03-17 12:53:21,244 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b
2026-03-17 12:53:21,256 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b
2026-03-17 12:53:21,266 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d25a390c-d428-429a-bb93-c4e2279656d6
2026-03-17 12:53:21,273 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d25a390c-d428-429a-bb93-c4e2279656d6
2026-03-17 12:53:21,280 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d0d1aef4-2895-4b75-910d-4e8cd90c8f09
2026-03-17 12:53:21,288 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-17 12:53:21,288 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b
2026-03-17 12:53:21,299 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d25a390c-d428-429a-bb93-c4e2279656d6
2026-03-17 12:53:21,317 - INFO - Verified VN network id 11 for VN 3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b
2026-03-17 12:53:21,317 - INFO - Verifications in API Server for VN ctest-vn-25077404 passed
2026-03-17 12:53:21,317 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b
2026-03-17 12:53:21,331 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d25a390c-d428-429a-bb93-c4e2279656d6
2026-03-17 12:53:21,340 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/d25a390c-d428-429a-bb93-c4e2279656d6
2026-03-17 12:53:21,348 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/d0d1aef4-2895-4b75-910d-4e8cd90c8f09
2026-03-17 12:53:21,361 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-25077404', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49236246', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4411334090767549379', 'uuid-lslong': '9696103430991903499'}, 'enable': 'true', 'created': '2026-03-17T12:53:19', 'last-modified': '2026-03-17T12:53:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.989396'}
2026-03-17 12:53:21,367 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-17 12:53:21,367 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25077404 passed
2026-03-17 12:53:21,368 - DEBUG - ====Verifying policy data for ctest-vn-25077404 in API_Server ======
2026-03-17 12:53:21,368 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-17 12:53:21,374 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f51abf4f-e91a-4230-bfb9-5f808b47d52b
2026-03-17 12:53:21,385 - DEBUG - Requesting: http://10.0.0.22:8082/project/0aef448a-1f1d-4df7-9ead-8d9348da58d2
2026-03-17 12:53:21,456 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3d3834fb-b9c5-43c3-868f-7ab2c5b7fb0b
2026-03-17 12:53:21,466 - DEBUG - ==>Verifying data for policy with id: f243c87b-c46d-4aeb-b44a-7d9dd314c835, fqn: ['default-domain', 'ctest-TestBasicPolicy-49236246', 'ctest-policy-allow-all-08207812']
2026-03-17 12:53:21,466 - INFO - VN ctest-vn-25077404 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-17 12:53:21,466 - DEBUG - Verifying the vn in opserver
2026-03-17 12:53:21,467 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-25077404 virtual network link through opserver 10.0.0.22
2026-03-17 12:53:21,467 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-03-17 12:53:21,742 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-03-17 12:53:21,830 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-25077404', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-25077404?flat'}
2026-03-17 12:53:21,830 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-25077404 is found in opserver
2026-03-17 12:53:21,844 - DEBUG - Do not have enough data to verify VN in agent
2026-03-17 12:53:21,849 - DEBUG - VRF ids for VN ctest-vn-25077404: {}
2026-03-17 12:53:21,849 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-17 12:53:21,856 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f51abf4f-e91a-4230-bfb9-5f808b47d52b
2026-03-17 12:53:21,868 - DEBUG - Requesting: http://10.0.0.22:8082/project/0aef448a-1f1d-4df7-9ead-8d9348da58d2
2026-03-17 12:53:21,948 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1af598f5-61c5-4630-87b4-03dd257a2e94
2026-03-17 12:53:21,960 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1af598f5-61c5-4630-87b4-03dd257a2e94
2026-03-17 12:53:21,971 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfac4267-1819-4d83-b269-87864ed0a211
2026-03-17 12:53:21,979 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfac4267-1819-4d83-b269-87864ed0a211
2026-03-17 12:53:21,987 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/43f9bcdd-8e74-4617-8a0b-f669dda3f8ef
2026-03-17 12:53:21,995 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-17 12:53:21,995 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1af598f5-61c5-4630-87b4-03dd257a2e94
2026-03-17 12:53:22,006 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfac4267-1819-4d83-b269-87864ed0a211
2026-03-17 12:53:22,023 - INFO - Verified VN network id 12 for VN 1af598f5-61c5-4630-87b4-03dd257a2e94
2026-03-17 12:53:22,023 - INFO - Verifications in API Server for VN ctest-vn-72764767 passed
2026-03-17 12:53:22,023 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1af598f5-61c5-4630-87b4-03dd257a2e94
2026-03-17 12:53:22,034 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfac4267-1819-4d83-b269-87864ed0a211
2026-03-17 12:53:22,041 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/cfac4267-1819-4d83-b269-87864ed0a211
2026-03-17 12:53:22,050 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/43f9bcdd-8e74-4617-8a0b-f669dda3f8ef
2026-03-17 12:53:22,063 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-72764767', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49236246', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1942626993954965040', 'uuid-lslong': '9778444939279609492'}, 'enable': 'true', 'created': '2026-03-17T12:53:19', 'last-modified': '2026-03-17T12:53:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.453511'}
2026-03-17 12:53:22,068 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-17 12:53:22,068 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72764767 passed
2026-03-17 12:53:22,068 - DEBUG - ====Verifying policy data for ctest-vn-72764767 in API_Server ======
2026-03-17 12:53:22,068 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-03-17 12:53:22,074 - DEBUG - Requesting: http://10.0.0.22:8082/domain/f51abf4f-e91a-4230-bfb9-5f808b47d52b
2026-03-17 12:53:22,086 - DEBUG - Requesting: http://10.0.0.22:8082/project/0aef448a-1f1d-4df7-9ead-8d9348da58d2
2026-03-17 12:53:22,159 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/1af598f5-61c5-4630-87b4-03dd257a2e94
2026-03-17 12:53:22,169 - DEBUG - ==>Verifying data for policy with id: f243c87b-c46d-4aeb-b44a-7d9dd314c835, fqn: ['default-domain', 'ctest-TestBasicPolicy-49236246', 'ctest-policy-allow-all-08207812']
2026-03-17 12:53:22,169 - INFO - VN ctest-vn-72764767 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-17 12:53:22,169 - DEBUG - Verifying the vn in opserver
2026-03-17 12:53:22,169 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-72764767 virtual network link through opserver 10.0.0.22
2026-03-17 12:53:22,169 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-03-17 12:53:22,181 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-72764767', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-72764767?flat'}
2026-03-17 12:53:22,181 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49236246:ctest-vn-72764767 is found in opserver
2026-03-17 12:53:22,191 - DEBUG - Do not have enough data to verify VN in agent
2026-03-17 12:53:22,196 - DEBUG - VRF ids for VN ctest-vn-72764767: {}
2026-03-17 12:53:22,260 - DEBUG - Services list from nova: [