2026-01-15 02:09:22,000 - INFO - Domain Default found not creating
2026-01-15 02:09:22,182 - INFO - Project ctest-TestBasicPolicy-48453657 not found, creating it
2026-01-15 02:09:22,638 - INFO - Created Project:ctest-TestBasicPolicy-48453657, ID : 9e764afb-799b-4d11-9acc-f56ad0678aa1
2026-01-15 02:09:24,165 - INFO - ================================================================================
2026-01-15 02:09:24,165 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-15 02:09:24,165 - 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-01-15 02:09:24,428 - DEBUG - Nothing to compare xmpp stats {'10.0.0.240': {'10.20.0.252': '0'}} with
2026-01-15 02:09:24,428 - INFO - Initial checks done. Running the testcase now
2026-01-15 02:09:24,428 - INFO -
2026-01-15 02:09:25,014 - DEBUG - Response for create_network : {'network': {'id': '8aaeca29-17ae-4d68-a5a7-ac06cfcc9457', 'name': 'ctest-vn-45925735', 'tenant_id': '9e764afb799b4d119accf56ad0678aa1', 'project_id': '9e764afb799b4d119accf56ad0678aa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48453657', 'ctest-vn-45925735'], 'port_security_enabled': True, 'description': ''}}
2026-01-15 02:09:25,187 - DEBUG - Response for create_subnet : {'subnet': {'id': '4f30569d-37a2-48cd-8ab7-eb3c01f4c891', 'name': '', 'tenant_id': '9e764afb799b4d119accf56ad0678aa1', 'network_id': '8aaeca29-17ae-4d68-a5a7-ac06cfcc9457', 'ip_version': 4, 'cidr': '184.126.71.0/26', 'allocation_pools': [{'start': '184.126.71.2', 'end': '184.126.71.62'}], 'gateway_ip': '184.126.71.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '184.126.71.2', 'tags': [], 'project_id': '9e764afb799b4d119accf56ad0678aa1'}}
2026-01-15 02:09:25,208 - INFO - Created VN ctest-vn-45925735
2026-01-15 02:09:25,263 - DEBUG - VN ctest-vn-45925735 UUID is 8aaeca29-17ae-4d68-a5a7-ac06cfcc9457
2026-01-15 02:09:25,567 - DEBUG - Response for create_network : {'network': {'id': '7f85cbd9-1a3d-49ee-be3c-95257da1297e', 'name': 'ctest-vn-14246067', 'tenant_id': '9e764afb799b4d119accf56ad0678aa1', 'project_id': '9e764afb799b4d119accf56ad0678aa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48453657', 'ctest-vn-14246067'], 'port_security_enabled': True, 'description': ''}}
2026-01-15 02:09:25,756 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a39f073-2708-495b-ab76-664d22efddd7', 'name': '', 'tenant_id': '9e764afb799b4d119accf56ad0678aa1', 'network_id': '7f85cbd9-1a3d-49ee-be3c-95257da1297e', 'ip_version': 4, 'cidr': '61.220.86.0/26', 'allocation_pools': [{'start': '61.220.86.2', 'end': '61.220.86.62'}], 'gateway_ip': '61.220.86.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '61.220.86.2', 'tags': [], 'project_id': '9e764afb799b4d119accf56ad0678aa1'}}
2026-01-15 02:09:25,775 - INFO - Created VN ctest-vn-14246067
2026-01-15 02:09:25,827 - DEBUG - VN ctest-vn-14246067 UUID is 7f85cbd9-1a3d-49ee-be3c-95257da1297e
2026-01-15 02:09:25,944 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-45925735, 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-48453657:ctest-vn-14246067, 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-01-15 02:09:26,234 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8aaeca29-17ae-4d68-a5a7-ac06cfcc9457', 'name': 'ctest-vn-45925735', 'tenant_id': '9e764afb799b4d119accf56ad0678aa1', 'project_id': '9e764afb799b4d119accf56ad0678aa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['4f30569d-37a2-48cd-8ab7-eb3c01f4c891'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48453657', 'ctest-vn-45925735'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48453657', 'ctest-policy-allow-all-14760729']], 'subnet_ipam': [{'subnet_cidr': '184.126.71.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-15 02:09:26,469 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7f85cbd9-1a3d-49ee-be3c-95257da1297e', 'name': 'ctest-vn-14246067', 'tenant_id': '9e764afb799b4d119accf56ad0678aa1', 'project_id': '9e764afb799b4d119accf56ad0678aa1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1a39f073-2708-495b-ab76-664d22efddd7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48453657', 'ctest-vn-14246067'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48453657', 'ctest-policy-allow-all-14760729']], 'subnet_ipam': [{'subnet_cidr': '61.220.86.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-15 02:09:26,627 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-01-15 02:09:26,936 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-01-15 02:09:26,969 - DEBUG - Requesting: http://10.0.0.240:8082/domain/2b19168e-0afd-472a-bce0-903310b4dcbf
2026-01-15 02:09:26,981 - DEBUG - Requesting: http://10.0.0.240:8082/project/9e764afb-799b-4d11-9acc-f56ad0678aa1
2026-01-15 02:09:27,055 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8aaeca29-17ae-4d68-a5a7-ac06cfcc9457
2026-01-15 02:09:27,065 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8aaeca29-17ae-4d68-a5a7-ac06cfcc9457
2026-01-15 02:09:27,075 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/521fafa9-29ae-486a-8681-3709879e0578
2026-01-15 02:09:27,084 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/521fafa9-29ae-486a-8681-3709879e0578
2026-01-15 02:09:27,092 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/7d8ebcc5-4c7f-40c6-b376-4e2853906960
2026-01-15 02:09:27,101 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-15 02:09:27,101 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8aaeca29-17ae-4d68-a5a7-ac06cfcc9457
2026-01-15 02:09:27,113 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/521fafa9-29ae-486a-8681-3709879e0578
2026-01-15 02:09:27,131 - INFO - Verified VN network id 11 for VN 8aaeca29-17ae-4d68-a5a7-ac06cfcc9457
2026-01-15 02:09:27,131 - INFO - Verifications in API Server for VN ctest-vn-45925735 passed
2026-01-15 02:09:27,131 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8aaeca29-17ae-4d68-a5a7-ac06cfcc9457
2026-01-15 02:09:27,142 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/521fafa9-29ae-486a-8681-3709879e0578
2026-01-15 02:09:27,150 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/521fafa9-29ae-486a-8681-3709879e0578
2026-01-15 02:09:27,158 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/7d8ebcc5-4c7f-40c6-b376-4e2853906960
2026-01-15 02:09:27,171 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-45925735', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48453657', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9993146901021478248', 'uuid-lslong': '11936698482624861271'}, 'enable': 'true', 'created': '2026-01-15T02:09:24', 'last-modified': '2026-01-15T02:09:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.959146'}
2026-01-15 02:09:27,177 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-15 02:09:27,178 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-45925735 passed
2026-01-15 02:09:27,178 - DEBUG - ====Verifying policy data for ctest-vn-45925735 in API_Server ======
2026-01-15 02:09:27,178 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-01-15 02:09:27,184 - DEBUG - Requesting: http://10.0.0.240:8082/domain/2b19168e-0afd-472a-bce0-903310b4dcbf
2026-01-15 02:09:27,195 - DEBUG - Requesting: http://10.0.0.240:8082/project/9e764afb-799b-4d11-9acc-f56ad0678aa1
2026-01-15 02:09:27,266 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/8aaeca29-17ae-4d68-a5a7-ac06cfcc9457
2026-01-15 02:09:27,277 - DEBUG - ==>Verifying data for policy with id: 434483ef-d953-4aec-8ea0-13863eb6e9ac, fqn: ['default-domain', 'ctest-TestBasicPolicy-48453657', 'ctest-policy-allow-all-14760729']
2026-01-15 02:09:27,277 - INFO - VN ctest-vn-45925735 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-15 02:09:27,277 - DEBUG - Verifying the vn in opserver
2026-01-15 02:09:27,277 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-45925735 virtual network link through opserver 10.0.0.240
2026-01-15 02:09:27,277 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2026-01-15 02:09:27,593 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2026-01-15 02:09:27,658 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-45925735', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-45925735?flat'}
2026-01-15 02:09:27,659 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-45925735 is found in opserver
2026-01-15 02:09:27,668 - DEBUG - Do not have enough data to verify VN in agent
2026-01-15 02:09:27,672 - DEBUG - VRF ids for VN ctest-vn-45925735: {}
2026-01-15 02:09:27,673 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-01-15 02:09:27,678 - DEBUG - Requesting: http://10.0.0.240:8082/domain/2b19168e-0afd-472a-bce0-903310b4dcbf
2026-01-15 02:09:27,688 - DEBUG - Requesting: http://10.0.0.240:8082/project/9e764afb-799b-4d11-9acc-f56ad0678aa1
2026-01-15 02:09:27,761 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/7f85cbd9-1a3d-49ee-be3c-95257da1297e
2026-01-15 02:09:27,772 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/7f85cbd9-1a3d-49ee-be3c-95257da1297e
2026-01-15 02:09:27,780 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0da91e83-5175-4d29-9cf8-146489966b54
2026-01-15 02:09:27,787 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0da91e83-5175-4d29-9cf8-146489966b54
2026-01-15 02:09:27,795 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/924c333c-46bd-4ffc-b2d0-223682a80cab
2026-01-15 02:09:27,803 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-15 02:09:27,803 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/7f85cbd9-1a3d-49ee-be3c-95257da1297e
2026-01-15 02:09:27,813 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0da91e83-5175-4d29-9cf8-146489966b54
2026-01-15 02:09:27,830 - INFO - Verified VN network id 12 for VN 7f85cbd9-1a3d-49ee-be3c-95257da1297e
2026-01-15 02:09:27,830 - INFO - Verifications in API Server for VN ctest-vn-14246067 passed
2026-01-15 02:09:27,830 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/7f85cbd9-1a3d-49ee-be3c-95257da1297e
2026-01-15 02:09:27,839 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0da91e83-5175-4d29-9cf8-146489966b54
2026-01-15 02:09:27,846 - DEBUG - Requesting: http://10.0.0.240:8082/routing-instance/0da91e83-5175-4d29-9cf8-146489966b54
2026-01-15 02:09:27,858 - DEBUG - Requesting: http://10.0.0.240:8082/route-target/924c333c-46bd-4ffc-b2d0-223682a80cab
2026-01-15 02:09:27,870 - DEBUG - Control-node 10.0.0.240 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-14246067', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48453657', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9188974748027931118', 'uuid-lslong': '13707995354062989694'}, 'enable': 'true', 'created': '2026-01-15T02:09:25', 'last-modified': '2026-01-15T02:09:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.429982'}
2026-01-15 02:09:27,876 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-15 02:09:27,876 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14246067 passed
2026-01-15 02:09:27,876 - DEBUG - ====Verifying policy data for ctest-vn-14246067 in API_Server ======
2026-01-15 02:09:27,876 - DEBUG - Requesting: http://10.0.0.240:8082/domains
2026-01-15 02:09:27,884 - DEBUG - Requesting: http://10.0.0.240:8082/domain/2b19168e-0afd-472a-bce0-903310b4dcbf
2026-01-15 02:09:27,894 - DEBUG - Requesting: http://10.0.0.240:8082/project/9e764afb-799b-4d11-9acc-f56ad0678aa1
2026-01-15 02:09:27,965 - DEBUG - Requesting: http://10.0.0.240:8082/virtual-network/7f85cbd9-1a3d-49ee-be3c-95257da1297e
2026-01-15 02:09:27,974 - DEBUG - ==>Verifying data for policy with id: 434483ef-d953-4aec-8ea0-13863eb6e9ac, fqn: ['default-domain', 'ctest-TestBasicPolicy-48453657', 'ctest-policy-allow-all-14760729']
2026-01-15 02:09:27,974 - INFO - VN ctest-vn-14246067 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-15 02:09:27,974 - DEBUG - Verifying the vn in opserver
2026-01-15 02:09:27,974 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-14246067 virtual network link through opserver 10.0.0.240
2026-01-15 02:09:27,974 - DEBUG - Requesting: http://10.0.0.240:8081/analytics/uves/virtual-networks
2026-01-15 02:09:27,983 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-14246067', 'href': 'http://10.0.0.240:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-14246067?flat'}
2026-01-15 02:09:27,983 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48453657:ctest-vn-14246067 is found in opserver
2026-01-15 02:09:27,992 - DEBUG - Do not have enough data to verify VN in agent
2026-01-15 02:09:27,996 - DEBUG - VRF ids for VN ctest-vn-14246067: {}
2026-01-15 02:09:28,057 - DEBUG - Services list from nova: [