2026-06-18 10:36:58,380 - INFO - Domain Default found not creating
2026-06-18 10:36:58,508 - INFO - Project ctest-TestBasicPolicy-55017163 not found, creating it
2026-06-18 10:36:58,964 - INFO - Created Project:ctest-TestBasicPolicy-55017163, ID : 64c8aca7-4a54-40aa-afab-8a5b7c47eab7
2026-06-18 10:37:00,369 - INFO - ================================================================================
2026-06-18 10:37:00,369 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-18 10:37:00,369 - 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-06-18 10:37:00,617 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2026-06-18 10:37:00,617 - INFO - Initial checks done. Running the testcase now
2026-06-18 10:37:00,617 - INFO -
2026-06-18 10:37:01,161 - DEBUG - Response for create_network : {'network': {'id': '0742e1af-9d43-4888-8ed8-49dd3c1bb1c6', 'name': 'ctest-vn-35639389', 'tenant_id': '64c8aca74a5440aaafab8a5b7c47eab7', 'project_id': '64c8aca74a5440aaafab8a5b7c47eab7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55017163', 'ctest-vn-35639389'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 10:37:01,310 - DEBUG - Response for create_subnet : {'subnet': {'id': '50587785-e30b-4d72-be48-f4799ccd49ff', 'name': '', 'tenant_id': '64c8aca74a5440aaafab8a5b7c47eab7', 'network_id': '0742e1af-9d43-4888-8ed8-49dd3c1bb1c6', 'ip_version': 4, 'cidr': '139.135.207.128/26', 'allocation_pools': [{'start': '139.135.207.130', 'end': '139.135.207.190'}], 'gateway_ip': '139.135.207.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '139.135.207.130', 'tags': [], 'project_id': '64c8aca74a5440aaafab8a5b7c47eab7'}}
2026-06-18 10:37:01,324 - INFO - Created VN ctest-vn-35639389
2026-06-18 10:37:01,373 - DEBUG - VN ctest-vn-35639389 UUID is 0742e1af-9d43-4888-8ed8-49dd3c1bb1c6
2026-06-18 10:37:01,670 - DEBUG - Response for create_network : {'network': {'id': '45c1ada4-7b4f-412e-9642-65121741c80c', 'name': 'ctest-vn-38294707', 'tenant_id': '64c8aca74a5440aaafab8a5b7c47eab7', 'project_id': '64c8aca74a5440aaafab8a5b7c47eab7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55017163', 'ctest-vn-38294707'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 10:37:01,826 - DEBUG - Response for create_subnet : {'subnet': {'id': '0c3cd30f-8156-4e67-ae08-e6f10e59823e', 'name': '', 'tenant_id': '64c8aca74a5440aaafab8a5b7c47eab7', 'network_id': '45c1ada4-7b4f-412e-9642-65121741c80c', 'ip_version': 4, 'cidr': '192.158.154.128/26', 'allocation_pools': [{'start': '192.158.154.130', 'end': '192.158.154.190'}], 'gateway_ip': '192.158.154.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '192.158.154.130', 'tags': [], 'project_id': '64c8aca74a5440aaafab8a5b7c47eab7'}}
2026-06-18 10:37:01,840 - INFO - Created VN ctest-vn-38294707
2026-06-18 10:37:01,889 - DEBUG - VN ctest-vn-38294707 UUID is 45c1ada4-7b4f-412e-9642-65121741c80c
2026-06-18 10:37:02,033 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55017163:ctest-vn-35639389, 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-55017163:ctest-vn-38294707, 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-06-18 10:37:02,320 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0742e1af-9d43-4888-8ed8-49dd3c1bb1c6', 'name': 'ctest-vn-35639389', 'tenant_id': '64c8aca74a5440aaafab8a5b7c47eab7', 'project_id': '64c8aca74a5440aaafab8a5b7c47eab7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['50587785-e30b-4d72-be48-f4799ccd49ff'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55017163', 'ctest-vn-35639389'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55017163', 'ctest-policy-allow-all-06739783']], 'subnet_ipam': [{'subnet_cidr': '139.135.207.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-18 10:37:02,554 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '45c1ada4-7b4f-412e-9642-65121741c80c', 'name': 'ctest-vn-38294707', 'tenant_id': '64c8aca74a5440aaafab8a5b7c47eab7', 'project_id': '64c8aca74a5440aaafab8a5b7c47eab7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0c3cd30f-8156-4e67-ae08-e6f10e59823e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55017163', 'ctest-vn-38294707'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55017163', 'ctest-policy-allow-all-06739783']], 'subnet_ipam': [{'subnet_cidr': '192.158.154.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-18 10:37:02,717 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-18 10:37:03,032 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-18 10:37:03,054 - DEBUG - Requesting: http://10.0.0.33:8082/domain/84ce7c22-693b-49ac-a5cc-741269bfae7a
2026-06-18 10:37:03,064 - DEBUG - Requesting: http://10.0.0.33:8082/project/64c8aca7-4a54-40aa-afab-8a5b7c47eab7
2026-06-18 10:37:03,130 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0742e1af-9d43-4888-8ed8-49dd3c1bb1c6
2026-06-18 10:37:03,139 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0742e1af-9d43-4888-8ed8-49dd3c1bb1c6
2026-06-18 10:37:03,147 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/25f02e78-ba26-4185-8f0a-f427502c4257
2026-06-18 10:37:03,153 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/25f02e78-ba26-4185-8f0a-f427502c4257
2026-06-18 10:37:03,158 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/78178dc4-7caf-42af-9313-b07523a637b3
2026-06-18 10:37:03,163 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-18 10:37:03,163 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0742e1af-9d43-4888-8ed8-49dd3c1bb1c6
2026-06-18 10:37:03,171 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/25f02e78-ba26-4185-8f0a-f427502c4257
2026-06-18 10:37:03,183 - INFO - Verified VN network id 11 for VN 0742e1af-9d43-4888-8ed8-49dd3c1bb1c6
2026-06-18 10:37:03,183 - INFO - Verifications in API Server for VN ctest-vn-35639389 passed
2026-06-18 10:37:03,183 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0742e1af-9d43-4888-8ed8-49dd3c1bb1c6
2026-06-18 10:37:03,191 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/25f02e78-ba26-4185-8f0a-f427502c4257
2026-06-18 10:37:03,197 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/25f02e78-ba26-4185-8f0a-f427502c4257
2026-06-18 10:37:03,203 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/78178dc4-7caf-42af-9313-b07523a637b3
2026-06-18 10:37:03,213 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55017163:ctest-vn-35639389', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55017163', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '523228651102357640', 'uuid-lslong': '10293058162900316614'}, 'enable': 'true', 'created': '2026-06-18T10:37:01', 'last-modified': '2026-06-18T10:37:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.912344'}
2026-06-18 10:37:03,219 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-18 10:37:03,219 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35639389 passed
2026-06-18 10:37:03,219 - DEBUG - ====Verifying policy data for ctest-vn-35639389 in API_Server ======
2026-06-18 10:37:03,219 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-18 10:37:03,224 - DEBUG - Requesting: http://10.0.0.33:8082/domain/84ce7c22-693b-49ac-a5cc-741269bfae7a
2026-06-18 10:37:03,235 - DEBUG - Requesting: http://10.0.0.33:8082/project/64c8aca7-4a54-40aa-afab-8a5b7c47eab7
2026-06-18 10:37:03,302 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/0742e1af-9d43-4888-8ed8-49dd3c1bb1c6
2026-06-18 10:37:03,311 - DEBUG - ==>Verifying data for policy with id: 73653742-182d-4674-9792-f70dad50c481, fqn: ['default-domain', 'ctest-TestBasicPolicy-55017163', 'ctest-policy-allow-all-06739783']
2026-06-18 10:37:03,311 - INFO - VN ctest-vn-35639389 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-18 10:37:03,311 - DEBUG - Verifying the vn in opserver
2026-06-18 10:37:03,311 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55017163:ctest-vn-35639389 virtual network link through opserver 10.0.0.33
2026-06-18 10:37:03,311 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-18 10:37:03,625 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-18 10:37:03,672 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55017163:ctest-vn-35639389', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55017163:ctest-vn-35639389?flat'}
2026-06-18 10:37:03,672 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55017163:ctest-vn-35639389 is found in opserver
2026-06-18 10:37:03,681 - DEBUG - Do not have enough data to verify VN in agent
2026-06-18 10:37:03,685 - DEBUG - VRF ids for VN ctest-vn-35639389: {}
2026-06-18 10:37:03,685 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-18 10:37:03,689 - DEBUG - Requesting: http://10.0.0.33:8082/domain/84ce7c22-693b-49ac-a5cc-741269bfae7a
2026-06-18 10:37:03,699 - DEBUG - Requesting: http://10.0.0.33:8082/project/64c8aca7-4a54-40aa-afab-8a5b7c47eab7
2026-06-18 10:37:03,765 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45c1ada4-7b4f-412e-9642-65121741c80c
2026-06-18 10:37:03,775 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45c1ada4-7b4f-412e-9642-65121741c80c
2026-06-18 10:37:03,782 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/57a4939e-e7aa-4ffb-aecf-16fc59420b39
2026-06-18 10:37:03,788 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/57a4939e-e7aa-4ffb-aecf-16fc59420b39
2026-06-18 10:37:03,794 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/68c563ee-19f7-4d48-9edc-e563294f94ed
2026-06-18 10:37:03,800 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-18 10:37:03,800 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45c1ada4-7b4f-412e-9642-65121741c80c
2026-06-18 10:37:03,807 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/57a4939e-e7aa-4ffb-aecf-16fc59420b39
2026-06-18 10:37:03,818 - INFO - Verified VN network id 12 for VN 45c1ada4-7b4f-412e-9642-65121741c80c
2026-06-18 10:37:03,818 - INFO - Verifications in API Server for VN ctest-vn-38294707 passed
2026-06-18 10:37:03,818 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45c1ada4-7b4f-412e-9642-65121741c80c
2026-06-18 10:37:03,826 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/57a4939e-e7aa-4ffb-aecf-16fc59420b39
2026-06-18 10:37:03,831 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/57a4939e-e7aa-4ffb-aecf-16fc59420b39
2026-06-18 10:37:03,836 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/68c563ee-19f7-4d48-9edc-e563294f94ed
2026-06-18 10:37:03,846 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55017163:ctest-vn-38294707', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55017163', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5026489581077217582', 'uuid-lslong': '10827327582526097420'}, 'enable': 'true', 'created': '2026-06-18T10:37:01', 'last-modified': '2026-06-18T10:37:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.321925'}
2026-06-18 10:37:03,851 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-18 10:37:03,851 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38294707 passed
2026-06-18 10:37:03,851 - DEBUG - ====Verifying policy data for ctest-vn-38294707 in API_Server ======
2026-06-18 10:37:03,851 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-18 10:37:03,855 - DEBUG - Requesting: http://10.0.0.33:8082/domain/84ce7c22-693b-49ac-a5cc-741269bfae7a
2026-06-18 10:37:03,866 - DEBUG - Requesting: http://10.0.0.33:8082/project/64c8aca7-4a54-40aa-afab-8a5b7c47eab7
2026-06-18 10:37:03,931 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/45c1ada4-7b4f-412e-9642-65121741c80c
2026-06-18 10:37:03,939 - DEBUG - ==>Verifying data for policy with id: 73653742-182d-4674-9792-f70dad50c481, fqn: ['default-domain', 'ctest-TestBasicPolicy-55017163', 'ctest-policy-allow-all-06739783']
2026-06-18 10:37:03,939 - INFO - VN ctest-vn-38294707 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-18 10:37:03,939 - DEBUG - Verifying the vn in opserver
2026-06-18 10:37:03,939 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55017163:ctest-vn-38294707 virtual network link through opserver 10.0.0.33
2026-06-18 10:37:03,939 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-18 10:37:03,948 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55017163:ctest-vn-38294707', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55017163:ctest-vn-38294707?flat'}
2026-06-18 10:37:03,948 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55017163:ctest-vn-38294707 is found in opserver
2026-06-18 10:37:03,956 - DEBUG - Do not have enough data to verify VN in agent
2026-06-18 10:37:03,960 - DEBUG - VRF ids for VN ctest-vn-38294707: {}
2026-06-18 10:37:04,009 - DEBUG - Services list from nova: [