2026-11-04 10:45:03,490 - INFO - Domain Default found not creating
2026-11-04 10:45:03,706 - INFO - Project ctest-TestBasicPolicy-51678402 not found, creating it
2026-11-04 10:45:04,213 - INFO - Created Project:ctest-TestBasicPolicy-51678402, ID : ab882a29-6b09-49a3-aaf5-e7291d7a5be0
2026-11-04 10:45:05,842 - INFO - ================================================================================
2026-11-04 10:45:05,842 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-04 10:45:05,842 - 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-04 10:45:06,101 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.29': '0'}} with
2026-11-04 10:45:06,101 - INFO - Initial checks done. Running the testcase now
2026-11-04 10:45:06,101 - INFO -
2026-11-04 10:45:06,748 - DEBUG - Response for create_network : {'network': {'id': 'daa00973-28ff-4b29-a4f3-add5d7d6b482', 'name': 'ctest-vn-86207388', 'tenant_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'project_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51678402', 'ctest-vn-86207388'], 'port_security_enabled': True, 'description': ''}}
2026-11-04 10:45:06,932 - DEBUG - Response for create_subnet : {'subnet': {'id': '766f1e55-7b03-4bde-806a-94fe17347047', 'name': '', 'tenant_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'network_id': 'daa00973-28ff-4b29-a4f3-add5d7d6b482', 'ip_version': 4, 'cidr': '96.72.236.0/26', 'allocation_pools': [{'start': '96.72.236.2', 'end': '96.72.236.62'}], 'gateway_ip': '96.72.236.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '96.72.236.2', 'tags': [], 'project_id': 'ab882a296b0949a3aaf5e7291d7a5be0'}}
2026-11-04 10:45:06,948 - INFO - Created VN ctest-vn-86207388
2026-11-04 10:45:07,003 - DEBUG - VN ctest-vn-86207388 UUID is daa00973-28ff-4b29-a4f3-add5d7d6b482
2026-11-04 10:45:07,335 - DEBUG - Response for create_network : {'network': {'id': '3c71fa08-66e4-4a9b-8d16-cb64c37146c4', 'name': 'ctest-vn-07323168', 'tenant_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'project_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51678402', 'ctest-vn-07323168'], 'port_security_enabled': True, 'description': ''}}
2026-11-04 10:45:07,557 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f3354acf-b332-416c-b35e-0cb78c756f0e', 'name': '', 'tenant_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'network_id': '3c71fa08-66e4-4a9b-8d16-cb64c37146c4', 'ip_version': 4, 'cidr': '138.106.75.128/26', 'allocation_pools': [{'start': '138.106.75.130', 'end': '138.106.75.190'}], 'gateway_ip': '138.106.75.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '138.106.75.130', 'tags': [], 'project_id': 'ab882a296b0949a3aaf5e7291d7a5be0'}}
2026-11-04 10:45:07,574 - INFO - Created VN ctest-vn-07323168
2026-11-04 10:45:07,627 - DEBUG - VN ctest-vn-07323168 UUID is 3c71fa08-66e4-4a9b-8d16-cb64c37146c4
2026-11-04 10:45:07,775 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-86207388, 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-51678402:ctest-vn-07323168, 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-04 10:45:08,083 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'daa00973-28ff-4b29-a4f3-add5d7d6b482', 'name': 'ctest-vn-86207388', 'tenant_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'project_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['766f1e55-7b03-4bde-806a-94fe17347047'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51678402', 'ctest-vn-86207388'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51678402', 'ctest-policy-allow-all-22195134']], 'subnet_ipam': [{'subnet_cidr': '96.72.236.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-04 10:45:08,320 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3c71fa08-66e4-4a9b-8d16-cb64c37146c4', 'name': 'ctest-vn-07323168', 'tenant_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'project_id': 'ab882a296b0949a3aaf5e7291d7a5be0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f3354acf-b332-416c-b35e-0cb78c756f0e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-51678402', 'ctest-vn-07323168'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-51678402', 'ctest-policy-allow-all-22195134']], 'subnet_ipam': [{'subnet_cidr': '138.106.75.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-04 10:45:08,483 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-04 10:45:08,805 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-04 10:45:08,833 - DEBUG - Requesting: http://10.0.0.50:8082/domain/987ed006-4b4b-4491-9e33-ef684fd9b8eb
2026-11-04 10:45:08,845 - DEBUG - Requesting: http://10.0.0.50:8082/project/ab882a29-6b09-49a3-aaf5-e7291d7a5be0
2026-11-04 10:45:08,921 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/daa00973-28ff-4b29-a4f3-add5d7d6b482
2026-11-04 10:45:08,932 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/daa00973-28ff-4b29-a4f3-add5d7d6b482
2026-11-04 10:45:08,941 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c3190aac-0fc6-434a-a335-6139417dde45
2026-11-04 10:45:08,949 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c3190aac-0fc6-434a-a335-6139417dde45
2026-11-04 10:45:08,957 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1a0293d4-5b47-43c8-bea8-0c0012e80801
2026-11-04 10:45:08,966 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-04 10:45:08,966 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/daa00973-28ff-4b29-a4f3-add5d7d6b482
2026-11-04 10:45:08,975 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c3190aac-0fc6-434a-a335-6139417dde45
2026-11-04 10:45:08,991 - INFO - Verified VN network id 10 for VN daa00973-28ff-4b29-a4f3-add5d7d6b482
2026-11-04 10:45:08,991 - INFO - Verifications in API Server for VN ctest-vn-86207388 passed
2026-11-04 10:45:08,991 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/daa00973-28ff-4b29-a4f3-add5d7d6b482
2026-11-04 10:45:09,001 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c3190aac-0fc6-434a-a335-6139417dde45
2026-11-04 10:45:09,011 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/c3190aac-0fc6-434a-a335-6139417dde45
2026-11-04 10:45:09,020 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/1a0293d4-5b47-43c8-bea8-0c0012e80801
2026-11-04 10:45:09,035 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-86207388', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51678402', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15753601886755703593', 'uuid-lslong': '11886034975521682562'}, 'enable': 'true', 'created': '2026-11-04T10:45:06', 'last-modified': '2026-11-04T10:45:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.974363'}
2026-11-04 10:45:09,044 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-04 10:45:09,044 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86207388 passed
2026-11-04 10:45:09,044 - DEBUG - ====Verifying policy data for ctest-vn-86207388 in API_Server ======
2026-11-04 10:45:09,044 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-04 10:45:09,050 - DEBUG - Requesting: http://10.0.0.50:8082/domain/987ed006-4b4b-4491-9e33-ef684fd9b8eb
2026-11-04 10:45:09,060 - DEBUG - Requesting: http://10.0.0.50:8082/project/ab882a29-6b09-49a3-aaf5-e7291d7a5be0
2026-11-04 10:45:09,131 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/daa00973-28ff-4b29-a4f3-add5d7d6b482
2026-11-04 10:45:09,140 - DEBUG - ==>Verifying data for policy with id: 11f5e4c7-ecb4-4157-9b65-1187a926fae0, fqn: ['default-domain', 'ctest-TestBasicPolicy-51678402', 'ctest-policy-allow-all-22195134']
2026-11-04 10:45:09,140 - INFO - VN ctest-vn-86207388 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-04 10:45:09,140 - DEBUG - Verifying the vn in opserver
2026-11-04 10:45:09,140 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-86207388 virtual network link through opserver 10.0.0.50
2026-11-04 10:45:09,140 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-11-04 10:45:09,468 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-11-04 10:45:09,525 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-86207388', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-86207388?flat'}
2026-11-04 10:45:09,525 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-86207388 is found in opserver
2026-11-04 10:45:09,537 - DEBUG - Do not have enough data to verify VN in agent
2026-11-04 10:45:09,543 - DEBUG - VRF ids for VN ctest-vn-86207388: {}
2026-11-04 10:45:09,543 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-04 10:45:09,549 - DEBUG - Requesting: http://10.0.0.50:8082/domain/987ed006-4b4b-4491-9e33-ef684fd9b8eb
2026-11-04 10:45:09,559 - DEBUG - Requesting: http://10.0.0.50:8082/project/ab882a29-6b09-49a3-aaf5-e7291d7a5be0
2026-11-04 10:45:09,629 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c71fa08-66e4-4a9b-8d16-cb64c37146c4
2026-11-04 10:45:09,642 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c71fa08-66e4-4a9b-8d16-cb64c37146c4
2026-11-04 10:45:09,652 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1ad0918-39f5-4bb1-824c-0d3cee5d67f8
2026-11-04 10:45:09,659 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1ad0918-39f5-4bb1-824c-0d3cee5d67f8
2026-11-04 10:45:09,666 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6610939b-ed8a-4827-88cb-65e1f4dcfcb3
2026-11-04 10:45:09,678 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-04 10:45:09,679 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c71fa08-66e4-4a9b-8d16-cb64c37146c4
2026-11-04 10:45:09,690 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1ad0918-39f5-4bb1-824c-0d3cee5d67f8
2026-11-04 10:45:09,708 - INFO - Verified VN network id 11 for VN 3c71fa08-66e4-4a9b-8d16-cb64c37146c4
2026-11-04 10:45:09,708 - INFO - Verifications in API Server for VN ctest-vn-07323168 passed
2026-11-04 10:45:09,708 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c71fa08-66e4-4a9b-8d16-cb64c37146c4
2026-11-04 10:45:09,718 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1ad0918-39f5-4bb1-824c-0d3cee5d67f8
2026-11-04 10:45:09,725 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/f1ad0918-39f5-4bb1-824c-0d3cee5d67f8
2026-11-04 10:45:09,734 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/6610939b-ed8a-4827-88cb-65e1f4dcfcb3
2026-11-04 10:45:09,746 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-07323168', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-51678402', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4355537228636899995', 'uuid-lslong': '10166536842471622340'}, 'enable': 'true', 'created': '2026-11-04T10:45:07', 'last-modified': '2026-11-04T10:45:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.447785'}
2026-11-04 10:45:09,756 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-04 10:45:09,756 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07323168 passed
2026-11-04 10:45:09,756 - DEBUG - ====Verifying policy data for ctest-vn-07323168 in API_Server ======
2026-11-04 10:45:09,756 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-11-04 10:45:09,763 - DEBUG - Requesting: http://10.0.0.50:8082/domain/987ed006-4b4b-4491-9e33-ef684fd9b8eb
2026-11-04 10:45:09,776 - DEBUG - Requesting: http://10.0.0.50:8082/project/ab882a29-6b09-49a3-aaf5-e7291d7a5be0
2026-11-04 10:45:09,853 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/3c71fa08-66e4-4a9b-8d16-cb64c37146c4
2026-11-04 10:45:09,877 - DEBUG - ==>Verifying data for policy with id: 11f5e4c7-ecb4-4157-9b65-1187a926fae0, fqn: ['default-domain', 'ctest-TestBasicPolicy-51678402', 'ctest-policy-allow-all-22195134']
2026-11-04 10:45:09,877 - INFO - VN ctest-vn-07323168 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-04 10:45:09,877 - DEBUG - Verifying the vn in opserver
2026-11-04 10:45:09,877 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-07323168 virtual network link through opserver 10.0.0.50
2026-11-04 10:45:09,877 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-11-04 10:45:09,889 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-07323168', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-07323168?flat'}
2026-11-04 10:45:09,889 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-51678402:ctest-vn-07323168 is found in opserver
2026-11-04 10:45:09,901 - DEBUG - Do not have enough data to verify VN in agent
2026-11-04 10:45:09,907 - DEBUG - VRF ids for VN ctest-vn-07323168: {}
2026-11-04 10:45:09,973 - DEBUG - Services list from nova: [