2026-10-02 16:25:18,677 - INFO - Domain Default found not creating
2026-10-02 16:25:18,843 - INFO - Project ctest-TestBasicPolicy-79946395 not found, creating it
2026-10-02 16:25:19,324 - INFO - Created Project:ctest-TestBasicPolicy-79946395, ID : d77e03bf-c051-4d33-87b2-f6d3ccc58526
2026-10-02 16:25:21,059 - INFO - ================================================================================
2026-10-02 16:25:21,059 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-02 16:25:21,059 - 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-10-02 16:25:21,314 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-10-02 16:25:21,314 - INFO - Initial checks done. Running the testcase now
2026-10-02 16:25:21,314 - INFO -
2026-10-02 16:25:21,962 - DEBUG - Response for create_network : {'network': {'id': '58cc399e-9e19-48a7-8f12-e9653fb607cd', 'name': 'ctest-vn-64467024', 'tenant_id': 'd77e03bfc0514d3387b2f6d3ccc58526', 'project_id': 'd77e03bfc0514d3387b2f6d3ccc58526', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79946395', 'ctest-vn-64467024'], 'port_security_enabled': True, 'description': ''}}
2026-10-02 16:25:22,155 - DEBUG - Response for create_subnet : {'subnet': {'id': '9ad40fa9-8ac2-4e0a-a7c5-268abad22300', 'name': '', 'tenant_id': 'd77e03bfc0514d3387b2f6d3ccc58526', 'network_id': '58cc399e-9e19-48a7-8f12-e9653fb607cd', 'ip_version': 4, 'cidr': '23.32.43.0/26', 'allocation_pools': [{'start': '23.32.43.2', 'end': '23.32.43.62'}], 'gateway_ip': '23.32.43.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '23.32.43.2', 'tags': [], 'project_id': 'd77e03bfc0514d3387b2f6d3ccc58526'}}
2026-10-02 16:25:22,173 - INFO - Created VN ctest-vn-64467024
2026-10-02 16:25:22,228 - DEBUG - VN ctest-vn-64467024 UUID is 58cc399e-9e19-48a7-8f12-e9653fb607cd
2026-10-02 16:25:22,536 - DEBUG - Response for create_network : {'network': {'id': 'fc95ad53-5a15-4410-9963-deca3a914db8', 'name': 'ctest-vn-48023674', 'tenant_id': 'd77e03bfc0514d3387b2f6d3ccc58526', 'project_id': 'd77e03bfc0514d3387b2f6d3ccc58526', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79946395', 'ctest-vn-48023674'], 'port_security_enabled': True, 'description': ''}}
2026-10-02 16:25:22,729 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e909a5f3-1760-4377-ae94-cefedc73106e', 'name': '', 'tenant_id': 'd77e03bfc0514d3387b2f6d3ccc58526', 'network_id': 'fc95ad53-5a15-4410-9963-deca3a914db8', 'ip_version': 4, 'cidr': '79.91.113.0/26', 'allocation_pools': [{'start': '79.91.113.2', 'end': '79.91.113.62'}], 'gateway_ip': '79.91.113.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.91.113.2', 'tags': [], 'project_id': 'd77e03bfc0514d3387b2f6d3ccc58526'}}
2026-10-02 16:25:22,751 - INFO - Created VN ctest-vn-48023674
2026-10-02 16:25:22,804 - DEBUG - VN ctest-vn-48023674 UUID is fc95ad53-5a15-4410-9963-deca3a914db8
2026-10-02 16:25:22,952 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79946395:ctest-vn-64467024, 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-79946395:ctest-vn-48023674, 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-10-02 16:25:23,292 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '58cc399e-9e19-48a7-8f12-e9653fb607cd', 'name': 'ctest-vn-64467024', 'tenant_id': 'd77e03bfc0514d3387b2f6d3ccc58526', 'project_id': 'd77e03bfc0514d3387b2f6d3ccc58526', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['9ad40fa9-8ac2-4e0a-a7c5-268abad22300'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79946395', 'ctest-vn-64467024'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79946395', 'ctest-policy-allow-all-34207979']], 'subnet_ipam': [{'subnet_cidr': '23.32.43.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-02 16:25:23,527 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fc95ad53-5a15-4410-9963-deca3a914db8', 'name': 'ctest-vn-48023674', 'tenant_id': 'd77e03bfc0514d3387b2f6d3ccc58526', 'project_id': 'd77e03bfc0514d3387b2f6d3ccc58526', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e909a5f3-1760-4377-ae94-cefedc73106e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79946395', 'ctest-vn-48023674'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79946395', 'ctest-policy-allow-all-34207979']], 'subnet_ipam': [{'subnet_cidr': '79.91.113.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-02 16:25:23,696 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-02 16:25:24,059 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-02 16:25:24,088 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4bd6f58e-ca35-43c6-b25d-dc4d7bb82c85
2026-10-02 16:25:24,100 - DEBUG - Requesting: http://10.0.0.50:8082/project/d77e03bf-c051-4d33-87b2-f6d3ccc58526
2026-10-02 16:25:24,178 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58cc399e-9e19-48a7-8f12-e9653fb607cd
2026-10-02 16:25:24,190 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58cc399e-9e19-48a7-8f12-e9653fb607cd
2026-10-02 16:25:24,200 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6c80c002-7b57-4f0c-a119-4f912e4b66a0
2026-10-02 16:25:24,208 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6c80c002-7b57-4f0c-a119-4f912e4b66a0
2026-10-02 16:25:24,216 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e8233fa8-cc6c-41b9-bfb9-05dff2ed1f6f
2026-10-02 16:25:24,225 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-02 16:25:24,225 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58cc399e-9e19-48a7-8f12-e9653fb607cd
2026-10-02 16:25:24,238 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6c80c002-7b57-4f0c-a119-4f912e4b66a0
2026-10-02 16:25:24,255 - INFO - Verified VN network id 12 for VN 58cc399e-9e19-48a7-8f12-e9653fb607cd
2026-10-02 16:25:24,255 - INFO - Verifications in API Server for VN ctest-vn-64467024 passed
2026-10-02 16:25:24,255 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58cc399e-9e19-48a7-8f12-e9653fb607cd
2026-10-02 16:25:24,265 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6c80c002-7b57-4f0c-a119-4f912e4b66a0
2026-10-02 16:25:24,273 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/6c80c002-7b57-4f0c-a119-4f912e4b66a0
2026-10-02 16:25:24,280 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/e8233fa8-cc6c-41b9-bfb9-05dff2ed1f6f
2026-10-02 16:25:24,293 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79946395:ctest-vn-64467024', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79946395', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6398552524006705319', 'uuid-lslong': '10309559118074349517'}, 'enable': 'true', 'created': '2026-10-02T16:25:21', 'last-modified': '2026-10-02T16:25:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.036738'}
2026-10-02 16:25:24,300 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-02 16:25:24,300 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64467024 passed
2026-10-02 16:25:24,300 - DEBUG - ====Verifying policy data for ctest-vn-64467024 in API_Server ======
2026-10-02 16:25:24,300 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-02 16:25:24,306 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4bd6f58e-ca35-43c6-b25d-dc4d7bb82c85
2026-10-02 16:25:24,319 - DEBUG - Requesting: http://10.0.0.50:8082/project/d77e03bf-c051-4d33-87b2-f6d3ccc58526
2026-10-02 16:25:24,396 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/58cc399e-9e19-48a7-8f12-e9653fb607cd
2026-10-02 16:25:24,406 - DEBUG - ==>Verifying data for policy with id: 536ec10f-507f-4b41-8499-2bd962933b23, fqn: ['default-domain', 'ctest-TestBasicPolicy-79946395', 'ctest-policy-allow-all-34207979']
2026-10-02 16:25:24,406 - INFO - VN ctest-vn-64467024 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-02 16:25:24,406 - DEBUG - Verifying the vn in opserver
2026-10-02 16:25:24,406 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79946395:ctest-vn-64467024 virtual network link through opserver 10.0.0.50
2026-10-02 16:25:24,407 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-10-02 16:25:24,772 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-10-02 16:25:24,837 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79946395:ctest-vn-64467024', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79946395:ctest-vn-64467024?flat'}
2026-10-02 16:25:24,837 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79946395:ctest-vn-64467024 is found in opserver
2026-10-02 16:25:24,848 - DEBUG - Do not have enough data to verify VN in agent
2026-10-02 16:25:24,854 - DEBUG - VRF ids for VN ctest-vn-64467024: {}
2026-10-02 16:25:24,854 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-02 16:25:24,860 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4bd6f58e-ca35-43c6-b25d-dc4d7bb82c85
2026-10-02 16:25:24,875 - DEBUG - Requesting: http://10.0.0.50:8082/project/d77e03bf-c051-4d33-87b2-f6d3ccc58526
2026-10-02 16:25:24,946 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fc95ad53-5a15-4410-9963-deca3a914db8
2026-10-02 16:25:24,959 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fc95ad53-5a15-4410-9963-deca3a914db8
2026-10-02 16:25:24,970 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5ba2aedb-f896-498f-a2f0-bbab4e02ea1a
2026-10-02 16:25:24,979 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5ba2aedb-f896-498f-a2f0-bbab4e02ea1a
2026-10-02 16:25:24,988 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7bc2f1eb-df98-4e5c-aa60-8cdf5d597967
2026-10-02 16:25:24,995 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-02 16:25:24,995 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fc95ad53-5a15-4410-9963-deca3a914db8
2026-10-02 16:25:25,007 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5ba2aedb-f896-498f-a2f0-bbab4e02ea1a
2026-10-02 16:25:25,024 - INFO - Verified VN network id 13 for VN fc95ad53-5a15-4410-9963-deca3a914db8
2026-10-02 16:25:25,024 - INFO - Verifications in API Server for VN ctest-vn-48023674 passed
2026-10-02 16:25:25,024 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fc95ad53-5a15-4410-9963-deca3a914db8
2026-10-02 16:25:25,034 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5ba2aedb-f896-498f-a2f0-bbab4e02ea1a
2026-10-02 16:25:25,042 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5ba2aedb-f896-498f-a2f0-bbab4e02ea1a
2026-10-02 16:25:25,048 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/7bc2f1eb-df98-4e5c-aa60-8cdf5d597967
2026-10-02 16:25:25,061 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79946395:ctest-vn-48023674', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79946395', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18200644042592961552', 'uuid-lslong': '11052922870644690360'}, 'enable': 'true', 'created': '2026-10-02T16:25:22', 'last-modified': '2026-10-02T16:25:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.558972'}
2026-10-02 16:25:25,068 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-02 16:25:25,068 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48023674 passed
2026-10-02 16:25:25,068 - DEBUG - ====Verifying policy data for ctest-vn-48023674 in API_Server ======
2026-10-02 16:25:25,068 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-10-02 16:25:25,074 - DEBUG - Requesting: http://10.0.0.50:8082/domain/4bd6f58e-ca35-43c6-b25d-dc4d7bb82c85
2026-10-02 16:25:25,084 - DEBUG - Requesting: http://10.0.0.50:8082/project/d77e03bf-c051-4d33-87b2-f6d3ccc58526
2026-10-02 16:25:25,161 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/fc95ad53-5a15-4410-9963-deca3a914db8
2026-10-02 16:25:25,171 - DEBUG - ==>Verifying data for policy with id: 536ec10f-507f-4b41-8499-2bd962933b23, fqn: ['default-domain', 'ctest-TestBasicPolicy-79946395', 'ctest-policy-allow-all-34207979']
2026-10-02 16:25:25,171 - INFO - VN ctest-vn-48023674 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-02 16:25:25,171 - DEBUG - Verifying the vn in opserver
2026-10-02 16:25:25,171 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79946395:ctest-vn-48023674 virtual network link through opserver 10.0.0.50
2026-10-02 16:25:25,171 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-10-02 16:25:25,184 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79946395:ctest-vn-48023674', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79946395:ctest-vn-48023674?flat'}
2026-10-02 16:25:25,184 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79946395:ctest-vn-48023674 is found in opserver
2026-10-02 16:25:25,194 - DEBUG - Do not have enough data to verify VN in agent
2026-10-02 16:25:25,200 - DEBUG - VRF ids for VN ctest-vn-48023674: {}
2026-10-02 16:25:25,271 - DEBUG - Services list from nova: [