2026-11-02 14:20:02,604 - INFO - Domain Default found not creating
2026-11-02 14:20:02,817 - INFO - Project ctest-TestBasicPolicy-93998621 not found, creating it
2026-11-02 14:20:03,329 - INFO - Created Project:ctest-TestBasicPolicy-93998621, ID : e16021bd-4d68-4d35-899b-9064d7fb1d80
2026-11-02 14:20:05,326 - INFO - ================================================================================
2026-11-02 14:20:05,327 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-02 14:20:05,327 - 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-11-02 14:20:05,602 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with
2026-11-02 14:20:05,602 - INFO - Initial checks done. Running the testcase now
2026-11-02 14:20:05,602 - INFO -
2026-11-02 14:20:06,287 - DEBUG - Response for create_network : {'network': {'id': '7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c', 'name': 'ctest-vn-31310662', 'tenant_id': 'e16021bd4d684d35899b9064d7fb1d80', 'project_id': 'e16021bd4d684d35899b9064d7fb1d80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93998621', 'ctest-vn-31310662'], 'port_security_enabled': True, 'description': ''}}
2026-11-02 14:20:06,493 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e49d1479-efbb-49fb-9a17-9b1fb6404eef', 'name': '', 'tenant_id': 'e16021bd4d684d35899b9064d7fb1d80', 'network_id': '7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c', 'ip_version': 4, 'cidr': '32.216.239.128/26', 'allocation_pools': [{'start': '32.216.239.130', 'end': '32.216.239.190'}], 'gateway_ip': '32.216.239.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.216.239.130', 'tags': [], 'project_id': 'e16021bd4d684d35899b9064d7fb1d80'}}
2026-11-02 14:20:06,515 - INFO - Created VN ctest-vn-31310662
2026-11-02 14:20:06,567 - DEBUG - VN ctest-vn-31310662 UUID is 7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c
2026-11-02 14:20:06,907 - DEBUG - Response for create_network : {'network': {'id': '9f83bce3-2b1c-416f-b649-fa531c53e2ee', 'name': 'ctest-vn-72811953', 'tenant_id': 'e16021bd4d684d35899b9064d7fb1d80', 'project_id': 'e16021bd4d684d35899b9064d7fb1d80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93998621', 'ctest-vn-72811953'], 'port_security_enabled': True, 'description': ''}}
2026-11-02 14:20:07,130 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8064132-f431-4429-9384-bfb21fc6fb0f', 'name': '', 'tenant_id': 'e16021bd4d684d35899b9064d7fb1d80', 'network_id': '9f83bce3-2b1c-416f-b649-fa531c53e2ee', 'ip_version': 4, 'cidr': '146.14.5.128/26', 'allocation_pools': [{'start': '146.14.5.130', 'end': '146.14.5.190'}], 'gateway_ip': '146.14.5.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '146.14.5.130', 'tags': [], 'project_id': 'e16021bd4d684d35899b9064d7fb1d80'}}
2026-11-02 14:20:07,149 - INFO - Created VN ctest-vn-72811953
2026-11-02 14:20:07,203 - DEBUG - VN ctest-vn-72811953 UUID is 9f83bce3-2b1c-416f-b649-fa531c53e2ee
2026-11-02 14:20:07,322 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-31310662, 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-93998621:ctest-vn-72811953, 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-11-02 14:20:07,648 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c', 'name': 'ctest-vn-31310662', 'tenant_id': 'e16021bd4d684d35899b9064d7fb1d80', 'project_id': 'e16021bd4d684d35899b9064d7fb1d80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e49d1479-efbb-49fb-9a17-9b1fb6404eef'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93998621', 'ctest-vn-31310662'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93998621', 'ctest-policy-allow-all-30602686']], 'subnet_ipam': [{'subnet_cidr': '32.216.239.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-02 14:20:07,899 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9f83bce3-2b1c-416f-b649-fa531c53e2ee', 'name': 'ctest-vn-72811953', 'tenant_id': 'e16021bd4d684d35899b9064d7fb1d80', 'project_id': 'e16021bd4d684d35899b9064d7fb1d80', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c8064132-f431-4429-9384-bfb21fc6fb0f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93998621', 'ctest-vn-72811953'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93998621', 'ctest-policy-allow-all-30602686']], 'subnet_ipam': [{'subnet_cidr': '146.14.5.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-02 14:20:08,075 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-11-02 14:20:08,461 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-11-02 14:20:08,495 - DEBUG - Requesting: http://10.0.0.190:8082/domain/f42ed83e-dbec-4dc1-b001-fad876572e69
2026-11-02 14:20:08,511 - DEBUG - Requesting: http://10.0.0.190:8082/project/e16021bd-4d68-4d35-899b-9064d7fb1d80
2026-11-02 14:20:08,589 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c
2026-11-02 14:20:08,603 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c
2026-11-02 14:20:08,615 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f7f9d42f-622f-4e77-9c91-5326fda10835
2026-11-02 14:20:08,626 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f7f9d42f-622f-4e77-9c91-5326fda10835
2026-11-02 14:20:08,635 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/e2325a1d-301c-4bed-887c-9e84e92b5a62
2026-11-02 14:20:08,643 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-02 14:20:08,643 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c
2026-11-02 14:20:08,654 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f7f9d42f-622f-4e77-9c91-5326fda10835
2026-11-02 14:20:08,672 - INFO - Verified VN network id 12 for VN 7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c
2026-11-02 14:20:08,672 - INFO - Verifications in API Server for VN ctest-vn-31310662 passed
2026-11-02 14:20:08,672 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c
2026-11-02 14:20:08,687 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f7f9d42f-622f-4e77-9c91-5326fda10835
2026-11-02 14:20:08,697 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f7f9d42f-622f-4e77-9c91-5326fda10835
2026-11-02 14:20:08,707 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/e2325a1d-301c-4bed-887c-9e84e92b5a62
2026-11-02 14:20:08,721 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-31310662', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93998621', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9000976570200967864', 'uuid-lslong': '11197329448948940316'}, 'enable': 'true', 'created': '2026-11-02T14:20:06', 'last-modified': '2026-11-02T14:20:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.092459'}
2026-11-02 14:20:08,729 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-02 14:20:08,730 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31310662 passed
2026-11-02 14:20:08,730 - DEBUG - ====Verifying policy data for ctest-vn-31310662 in API_Server ======
2026-11-02 14:20:08,730 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-11-02 14:20:08,735 - DEBUG - Requesting: http://10.0.0.190:8082/domain/f42ed83e-dbec-4dc1-b001-fad876572e69
2026-11-02 14:20:08,747 - DEBUG - Requesting: http://10.0.0.190:8082/project/e16021bd-4d68-4d35-899b-9064d7fb1d80
2026-11-02 14:20:08,823 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/7ce9e480-5a71-4ab8-9b64-e7cecd9f3e1c
2026-11-02 14:20:08,836 - DEBUG - ==>Verifying data for policy with id: 85f61b8e-a4e9-4f14-a344-67c066a34d90, fqn: ['default-domain', 'ctest-TestBasicPolicy-93998621', 'ctest-policy-allow-all-30602686']
2026-11-02 14:20:08,836 - INFO - VN ctest-vn-31310662 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-02 14:20:08,836 - DEBUG - Verifying the vn in opserver
2026-11-02 14:20:08,836 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-31310662 virtual network link through opserver 10.0.0.190
2026-11-02 14:20:08,837 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-11-02 14:20:09,219 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-11-02 14:20:09,287 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-31310662', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-31310662?flat'}
2026-11-02 14:20:09,287 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-31310662 is found in opserver
2026-11-02 14:20:09,299 - DEBUG - Do not have enough data to verify VN in agent
2026-11-02 14:20:09,306 - DEBUG - VRF ids for VN ctest-vn-31310662: {}
2026-11-02 14:20:09,306 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-11-02 14:20:09,312 - DEBUG - Requesting: http://10.0.0.190:8082/domain/f42ed83e-dbec-4dc1-b001-fad876572e69
2026-11-02 14:20:09,325 - DEBUG - Requesting: http://10.0.0.190:8082/project/e16021bd-4d68-4d35-899b-9064d7fb1d80
2026-11-02 14:20:09,405 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9f83bce3-2b1c-416f-b649-fa531c53e2ee
2026-11-02 14:20:09,418 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9f83bce3-2b1c-416f-b649-fa531c53e2ee
2026-11-02 14:20:09,427 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f1c8006a-85eb-4186-9abc-bcf29830355e
2026-11-02 14:20:09,435 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f1c8006a-85eb-4186-9abc-bcf29830355e
2026-11-02 14:20:09,442 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/8ec430d5-dc71-42a2-8b24-1bdc2afa1da2
2026-11-02 14:20:09,449 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-02 14:20:09,449 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9f83bce3-2b1c-416f-b649-fa531c53e2ee
2026-11-02 14:20:09,462 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f1c8006a-85eb-4186-9abc-bcf29830355e
2026-11-02 14:20:09,484 - INFO - Verified VN network id 13 for VN 9f83bce3-2b1c-416f-b649-fa531c53e2ee
2026-11-02 14:20:09,485 - INFO - Verifications in API Server for VN ctest-vn-72811953 passed
2026-11-02 14:20:09,485 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9f83bce3-2b1c-416f-b649-fa531c53e2ee
2026-11-02 14:20:09,499 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f1c8006a-85eb-4186-9abc-bcf29830355e
2026-11-02 14:20:09,509 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/f1c8006a-85eb-4186-9abc-bcf29830355e
2026-11-02 14:20:09,517 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/8ec430d5-dc71-42a2-8b24-1bdc2afa1da2
2026-11-02 14:20:09,533 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-72811953', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93998621', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11494238357846507887', 'uuid-lslong': '13135305023067251438'}, 'enable': 'true', 'created': '2026-11-02T14:20:06', 'last-modified': '2026-11-02T14:20:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.664843'}
2026-11-02 14:20:09,540 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-02 14:20:09,540 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72811953 passed
2026-11-02 14:20:09,540 - DEBUG - ====Verifying policy data for ctest-vn-72811953 in API_Server ======
2026-11-02 14:20:09,540 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-11-02 14:20:09,546 - DEBUG - Requesting: http://10.0.0.190:8082/domain/f42ed83e-dbec-4dc1-b001-fad876572e69
2026-11-02 14:20:09,561 - DEBUG - Requesting: http://10.0.0.190:8082/project/e16021bd-4d68-4d35-899b-9064d7fb1d80
2026-11-02 14:20:09,642 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/9f83bce3-2b1c-416f-b649-fa531c53e2ee
2026-11-02 14:20:09,653 - DEBUG - ==>Verifying data for policy with id: 85f61b8e-a4e9-4f14-a344-67c066a34d90, fqn: ['default-domain', 'ctest-TestBasicPolicy-93998621', 'ctest-policy-allow-all-30602686']
2026-11-02 14:20:09,654 - INFO - VN ctest-vn-72811953 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-02 14:20:09,654 - DEBUG - Verifying the vn in opserver
2026-11-02 14:20:09,654 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-72811953 virtual network link through opserver 10.0.0.190
2026-11-02 14:20:09,654 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-11-02 14:20:09,667 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-72811953', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-72811953?flat'}
2026-11-02 14:20:09,667 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93998621:ctest-vn-72811953 is found in opserver
2026-11-02 14:20:09,681 - DEBUG - Do not have enough data to verify VN in agent
2026-11-02 14:20:09,688 - DEBUG - VRF ids for VN ctest-vn-72811953: {}
2026-11-02 14:20:09,763 - DEBUG - Services list from nova: [