2026-03-27 15:15:31,257 - INFO - Domain Default found not creating
2026-03-27 15:15:31,426 - INFO - Project ctest-TestBasicPolicy-86695481 not found, creating it
2026-03-27 15:15:31,875 - INFO - Created Project:ctest-TestBasicPolicy-86695481, ID : d610a6c8-7752-4fa3-904c-890338d241b3
2026-03-27 15:15:33,342 - INFO - ================================================================================
2026-03-27 15:15:33,342 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-27 15:15:33,342 - 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-27 15:15:33,603 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.25': '0'}} with
2026-03-27 15:15:33,603 - INFO - Initial checks done. Running the testcase now
2026-03-27 15:15:33,603 - INFO -
2026-03-27 15:15:34,156 - DEBUG - Response for create_network : {'network': {'id': 'a92f5c66-a614-43fe-a209-a3eaeaa780a7', 'name': 'ctest-vn-47201023', 'tenant_id': 'd610a6c877524fa3904c890338d241b3', 'project_id': 'd610a6c877524fa3904c890338d241b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86695481', 'ctest-vn-47201023'], 'port_security_enabled': True, 'description': ''}}
2026-03-27 15:15:34,362 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fbd817e-4ae7-45a0-8dea-97426440e5a3', 'name': '', 'tenant_id': 'd610a6c877524fa3904c890338d241b3', 'network_id': 'a92f5c66-a614-43fe-a209-a3eaeaa780a7', 'ip_version': 4, 'cidr': '152.101.110.128/26', 'allocation_pools': [{'start': '152.101.110.130', 'end': '152.101.110.190'}], 'gateway_ip': '152.101.110.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '152.101.110.130', 'tags': [], 'project_id': 'd610a6c877524fa3904c890338d241b3'}}
2026-03-27 15:15:34,385 - INFO - Created VN ctest-vn-47201023
2026-03-27 15:15:34,438 - DEBUG - VN ctest-vn-47201023 UUID is a92f5c66-a614-43fe-a209-a3eaeaa780a7
2026-03-27 15:15:34,745 - DEBUG - Response for create_network : {'network': {'id': '342ad0de-35c1-47ec-8b4f-d5d7b95e8004', 'name': 'ctest-vn-51024771', 'tenant_id': 'd610a6c877524fa3904c890338d241b3', 'project_id': 'd610a6c877524fa3904c890338d241b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86695481', 'ctest-vn-51024771'], 'port_security_enabled': True, 'description': ''}}
2026-03-27 15:15:34,898 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a044e509-f5f5-4755-837f-5bacfcbecf07', 'name': '', 'tenant_id': 'd610a6c877524fa3904c890338d241b3', 'network_id': '342ad0de-35c1-47ec-8b4f-d5d7b95e8004', 'ip_version': 4, 'cidr': '95.25.22.64/26', 'allocation_pools': [{'start': '95.25.22.66', 'end': '95.25.22.126'}], 'gateway_ip': '95.25.22.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.25.22.66', 'tags': [], 'project_id': 'd610a6c877524fa3904c890338d241b3'}}
2026-03-27 15:15:34,915 - INFO - Created VN ctest-vn-51024771
2026-03-27 15:15:34,969 - DEBUG - VN ctest-vn-51024771 UUID is 342ad0de-35c1-47ec-8b4f-d5d7b95e8004
2026-03-27 15:15:35,121 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-47201023, 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-86695481:ctest-vn-51024771, 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-27 15:15:35,403 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a92f5c66-a614-43fe-a209-a3eaeaa780a7', 'name': 'ctest-vn-47201023', 'tenant_id': 'd610a6c877524fa3904c890338d241b3', 'project_id': 'd610a6c877524fa3904c890338d241b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2fbd817e-4ae7-45a0-8dea-97426440e5a3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86695481', 'ctest-vn-47201023'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86695481', 'ctest-policy-allow-all-57846957']], 'subnet_ipam': [{'subnet_cidr': '152.101.110.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-27 15:15:35,670 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '342ad0de-35c1-47ec-8b4f-d5d7b95e8004', 'name': 'ctest-vn-51024771', 'tenant_id': 'd610a6c877524fa3904c890338d241b3', 'project_id': 'd610a6c877524fa3904c890338d241b3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a044e509-f5f5-4755-837f-5bacfcbecf07'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86695481', 'ctest-vn-51024771'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86695481', 'ctest-policy-allow-all-57846957']], 'subnet_ipam': [{'subnet_cidr': '95.25.22.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-27 15:15:35,818 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-27 15:15:36,117 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-27 15:15:36,152 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a66a75c5-d98c-48dc-b4b1-99517c5599c1
2026-03-27 15:15:36,163 - DEBUG - Requesting: http://10.0.0.249:8082/project/d610a6c8-7752-4fa3-904c-890338d241b3
2026-03-27 15:15:36,239 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a92f5c66-a614-43fe-a209-a3eaeaa780a7
2026-03-27 15:15:36,249 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a92f5c66-a614-43fe-a209-a3eaeaa780a7
2026-03-27 15:15:36,259 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b3ecd079-d34d-40a5-89fa-264aa70f5ba6
2026-03-27 15:15:36,266 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b3ecd079-d34d-40a5-89fa-264aa70f5ba6
2026-03-27 15:15:36,275 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1dd17adb-41f3-4319-8587-cf16916faf66
2026-03-27 15:15:36,282 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-27 15:15:36,282 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a92f5c66-a614-43fe-a209-a3eaeaa780a7
2026-03-27 15:15:36,292 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b3ecd079-d34d-40a5-89fa-264aa70f5ba6
2026-03-27 15:15:36,306 - INFO - Verified VN network id 11 for VN a92f5c66-a614-43fe-a209-a3eaeaa780a7
2026-03-27 15:15:36,306 - INFO - Verifications in API Server for VN ctest-vn-47201023 passed
2026-03-27 15:15:36,306 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a92f5c66-a614-43fe-a209-a3eaeaa780a7
2026-03-27 15:15:36,314 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b3ecd079-d34d-40a5-89fa-264aa70f5ba6
2026-03-27 15:15:36,321 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/b3ecd079-d34d-40a5-89fa-264aa70f5ba6
2026-03-27 15:15:36,328 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/1dd17adb-41f3-4319-8587-cf16916faf66
2026-03-27 15:15:36,342 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-47201023', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86695481', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12191064312257987582', 'uuid-lslong': '11676043738289242279'}, 'enable': 'true', 'created': '2026-03-27T15:15:34', 'last-modified': '2026-03-27T15:15:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.950994'}
2026-03-27 15:15:36,348 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-27 15:15:36,348 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47201023 passed
2026-03-27 15:15:36,348 - DEBUG - ====Verifying policy data for ctest-vn-47201023 in API_Server ======
2026-03-27 15:15:36,348 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-27 15:15:36,354 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a66a75c5-d98c-48dc-b4b1-99517c5599c1
2026-03-27 15:15:36,367 - DEBUG - Requesting: http://10.0.0.249:8082/project/d610a6c8-7752-4fa3-904c-890338d241b3
2026-03-27 15:15:36,440 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/a92f5c66-a614-43fe-a209-a3eaeaa780a7
2026-03-27 15:15:36,450 - DEBUG - ==>Verifying data for policy with id: 28f38e0c-30bc-4859-ac55-83aaddc1d8b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-86695481', 'ctest-policy-allow-all-57846957']
2026-03-27 15:15:36,450 - INFO - VN ctest-vn-47201023 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-27 15:15:36,450 - DEBUG - Verifying the vn in opserver
2026-03-27 15:15:36,450 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-47201023 virtual network link through opserver 10.0.0.249
2026-03-27 15:15:36,450 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-03-27 15:15:36,745 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-03-27 15:15:36,806 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-47201023', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-47201023?flat'}
2026-03-27 15:15:36,806 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-47201023 is found in opserver
2026-03-27 15:15:36,814 - DEBUG - Do not have enough data to verify VN in agent
2026-03-27 15:15:36,818 - DEBUG - VRF ids for VN ctest-vn-47201023: {}
2026-03-27 15:15:36,818 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-27 15:15:36,824 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a66a75c5-d98c-48dc-b4b1-99517c5599c1
2026-03-27 15:15:36,834 - DEBUG - Requesting: http://10.0.0.249:8082/project/d610a6c8-7752-4fa3-904c-890338d241b3
2026-03-27 15:15:36,904 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/342ad0de-35c1-47ec-8b4f-d5d7b95e8004
2026-03-27 15:15:36,915 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/342ad0de-35c1-47ec-8b4f-d5d7b95e8004
2026-03-27 15:15:36,924 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fd894c75-f257-47b4-9b4d-378bfb8c40f8
2026-03-27 15:15:36,930 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fd894c75-f257-47b4-9b4d-378bfb8c40f8
2026-03-27 15:15:36,936 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8eb59ec7-45f5-475b-a93f-bcfe79e2fcb6
2026-03-27 15:15:36,942 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-27 15:15:36,942 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/342ad0de-35c1-47ec-8b4f-d5d7b95e8004
2026-03-27 15:15:36,951 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fd894c75-f257-47b4-9b4d-378bfb8c40f8
2026-03-27 15:15:36,963 - INFO - Verified VN network id 12 for VN 342ad0de-35c1-47ec-8b4f-d5d7b95e8004
2026-03-27 15:15:36,963 - INFO - Verifications in API Server for VN ctest-vn-51024771 passed
2026-03-27 15:15:36,963 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/342ad0de-35c1-47ec-8b4f-d5d7b95e8004
2026-03-27 15:15:36,971 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fd894c75-f257-47b4-9b4d-378bfb8c40f8
2026-03-27 15:15:36,978 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/fd894c75-f257-47b4-9b4d-378bfb8c40f8
2026-03-27 15:15:36,984 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8eb59ec7-45f5-475b-a93f-bcfe79e2fcb6
2026-03-27 15:15:36,995 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-51024771', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86695481', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3759046491797276652', 'uuid-lslong': '10038477216936787972'}, 'enable': 'true', 'created': '2026-03-27T15:15:34', 'last-modified': '2026-03-27T15:15:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.387314'}
2026-03-27 15:15:37,001 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-27 15:15:37,001 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51024771 passed
2026-03-27 15:15:37,001 - DEBUG - ====Verifying policy data for ctest-vn-51024771 in API_Server ======
2026-03-27 15:15:37,001 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-27 15:15:37,008 - DEBUG - Requesting: http://10.0.0.249:8082/domain/a66a75c5-d98c-48dc-b4b1-99517c5599c1
2026-03-27 15:15:37,018 - DEBUG - Requesting: http://10.0.0.249:8082/project/d610a6c8-7752-4fa3-904c-890338d241b3
2026-03-27 15:15:37,085 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/342ad0de-35c1-47ec-8b4f-d5d7b95e8004
2026-03-27 15:15:37,093 - DEBUG - ==>Verifying data for policy with id: 28f38e0c-30bc-4859-ac55-83aaddc1d8b9, fqn: ['default-domain', 'ctest-TestBasicPolicy-86695481', 'ctest-policy-allow-all-57846957']
2026-03-27 15:15:37,094 - INFO - VN ctest-vn-51024771 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-27 15:15:37,094 - DEBUG - Verifying the vn in opserver
2026-03-27 15:15:37,094 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-51024771 virtual network link through opserver 10.0.0.249
2026-03-27 15:15:37,094 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-03-27 15:15:37,103 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-51024771', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-51024771?flat'}
2026-03-27 15:15:37,103 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86695481:ctest-vn-51024771 is found in opserver
2026-03-27 15:15:37,113 - DEBUG - Do not have enough data to verify VN in agent
2026-03-27 15:15:37,118 - DEBUG - VRF ids for VN ctest-vn-51024771: {}
2026-03-27 15:15:37,177 - DEBUG - Services list from nova: [