2026-09-08 11:59:26,395 - INFO - Domain Default found not creating
2026-09-08 11:59:26,540 - INFO - Project ctest-TestBasicPolicy-81400470 not found, creating it
2026-09-08 11:59:27,012 - INFO - Created Project:ctest-TestBasicPolicy-81400470, ID : 3c45c25c-7e68-475b-99e6-1f5408fa787e
2026-09-08 11:59:28,556 - INFO - ================================================================================
2026-09-08 11:59:28,556 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-08 11:59:28,556 - 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-09-08 11:59:28,828 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-09-08 11:59:28,828 - INFO - Initial checks done. Running the testcase now
2026-09-08 11:59:28,828 - INFO -
2026-09-08 11:59:29,405 - DEBUG - Response for create_network : {'network': {'id': 'b9b897b0-311c-41f3-be67-3f48b5a9c408', 'name': 'ctest-vn-08724989', 'tenant_id': '3c45c25c7e68475b99e61f5408fa787e', 'project_id': '3c45c25c7e68475b99e61f5408fa787e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81400470', 'ctest-vn-08724989'], 'port_security_enabled': True, 'description': ''}}
2026-09-08 11:59:29,632 - DEBUG - Response for create_subnet : {'subnet': {'id': '86b29b8e-c56e-484c-9500-53bbd81a2bcb', 'name': '', 'tenant_id': '3c45c25c7e68475b99e61f5408fa787e', 'network_id': 'b9b897b0-311c-41f3-be67-3f48b5a9c408', 'ip_version': 4, 'cidr': '97.208.35.128/26', 'allocation_pools': [{'start': '97.208.35.130', 'end': '97.208.35.190'}], 'gateway_ip': '97.208.35.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.208.35.130', 'tags': [], 'project_id': '3c45c25c7e68475b99e61f5408fa787e'}}
2026-09-08 11:59:29,648 - INFO - Created VN ctest-vn-08724989
2026-09-08 11:59:29,702 - DEBUG - VN ctest-vn-08724989 UUID is b9b897b0-311c-41f3-be67-3f48b5a9c408
2026-09-08 11:59:30,061 - DEBUG - Response for create_network : {'network': {'id': '4ce8f011-db66-42e6-8048-b96e5cbb8639', 'name': 'ctest-vn-65203600', 'tenant_id': '3c45c25c7e68475b99e61f5408fa787e', 'project_id': '3c45c25c7e68475b99e61f5408fa787e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81400470', 'ctest-vn-65203600'], 'port_security_enabled': True, 'description': ''}}
2026-09-08 11:59:30,316 - DEBUG - Response for create_subnet : {'subnet': {'id': '2f8aab7c-140f-473e-9dea-563e5ca45790', 'name': '', 'tenant_id': '3c45c25c7e68475b99e61f5408fa787e', 'network_id': '4ce8f011-db66-42e6-8048-b96e5cbb8639', 'ip_version': 4, 'cidr': '174.223.93.192/26', 'allocation_pools': [{'start': '174.223.93.194', 'end': '174.223.93.254'}], 'gateway_ip': '174.223.93.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '174.223.93.194', 'tags': [], 'project_id': '3c45c25c7e68475b99e61f5408fa787e'}}
2026-09-08 11:59:30,333 - INFO - Created VN ctest-vn-65203600
2026-09-08 11:59:30,387 - DEBUG - VN ctest-vn-65203600 UUID is 4ce8f011-db66-42e6-8048-b96e5cbb8639
2026-09-08 11:59:30,546 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-08724989, 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-81400470:ctest-vn-65203600, 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-09-08 11:59:30,868 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b9b897b0-311c-41f3-be67-3f48b5a9c408', 'name': 'ctest-vn-08724989', 'tenant_id': '3c45c25c7e68475b99e61f5408fa787e', 'project_id': '3c45c25c7e68475b99e61f5408fa787e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['86b29b8e-c56e-484c-9500-53bbd81a2bcb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81400470', 'ctest-vn-08724989'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81400470', 'ctest-policy-allow-all-41881028']], 'subnet_ipam': [{'subnet_cidr': '97.208.35.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-08 11:59:31,101 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4ce8f011-db66-42e6-8048-b96e5cbb8639', 'name': 'ctest-vn-65203600', 'tenant_id': '3c45c25c7e68475b99e61f5408fa787e', 'project_id': '3c45c25c7e68475b99e61f5408fa787e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['2f8aab7c-140f-473e-9dea-563e5ca45790'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-81400470', 'ctest-vn-65203600'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-81400470', 'ctest-policy-allow-all-41881028']], 'subnet_ipam': [{'subnet_cidr': '174.223.93.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-08 11:59:31,266 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-08 11:59:31,593 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-08 11:59:31,619 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9623fb4c-546d-475f-b640-40047a2f5c6d
2026-09-08 11:59:31,631 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c45c25c-7e68-475b-99e6-1f5408fa787e
2026-09-08 11:59:31,706 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b9b897b0-311c-41f3-be67-3f48b5a9c408
2026-09-08 11:59:31,718 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b9b897b0-311c-41f3-be67-3f48b5a9c408
2026-09-08 11:59:31,728 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8cbae557-88b1-48fe-9d3a-f9c483661dbd
2026-09-08 11:59:31,736 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8cbae557-88b1-48fe-9d3a-f9c483661dbd
2026-09-08 11:59:31,743 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c112f619-b4d1-474b-b25e-380823bb2cae
2026-09-08 11:59:31,750 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-08 11:59:31,750 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b9b897b0-311c-41f3-be67-3f48b5a9c408
2026-09-08 11:59:31,759 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8cbae557-88b1-48fe-9d3a-f9c483661dbd
2026-09-08 11:59:31,773 - INFO - Verified VN network id 12 for VN b9b897b0-311c-41f3-be67-3f48b5a9c408
2026-09-08 11:59:31,773 - INFO - Verifications in API Server for VN ctest-vn-08724989 passed
2026-09-08 11:59:31,773 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b9b897b0-311c-41f3-be67-3f48b5a9c408
2026-09-08 11:59:31,783 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8cbae557-88b1-48fe-9d3a-f9c483661dbd
2026-09-08 11:59:31,790 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8cbae557-88b1-48fe-9d3a-f9c483661dbd
2026-09-08 11:59:31,797 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c112f619-b4d1-474b-b25e-380823bb2cae
2026-09-08 11:59:31,809 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-08724989', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81400470', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13382613075725402611', 'uuid-lslong': '13720004371325502472'}, 'enable': 'true', 'created': '2026-09-08T11:59:29', 'last-modified': '2026-09-08T11:59:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.958753'}
2026-09-08 11:59:31,817 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-08 11:59:31,817 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-08724989 passed
2026-09-08 11:59:31,817 - DEBUG - ====Verifying policy data for ctest-vn-08724989 in API_Server ======
2026-09-08 11:59:31,817 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-08 11:59:31,823 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9623fb4c-546d-475f-b640-40047a2f5c6d
2026-09-08 11:59:31,832 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c45c25c-7e68-475b-99e6-1f5408fa787e
2026-09-08 11:59:31,905 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/b9b897b0-311c-41f3-be67-3f48b5a9c408
2026-09-08 11:59:31,915 - DEBUG - ==>Verifying data for policy with id: 52710f24-c581-4433-ad4f-ae9c2af2b6ca, fqn: ['default-domain', 'ctest-TestBasicPolicy-81400470', 'ctest-policy-allow-all-41881028']
2026-09-08 11:59:31,915 - INFO - VN ctest-vn-08724989 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-08 11:59:31,915 - DEBUG - Verifying the vn in opserver
2026-09-08 11:59:31,915 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-08724989 virtual network link through opserver 10.0.0.38
2026-09-08 11:59:31,915 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-08 11:59:32,243 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-08 11:59:32,617 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-08724989', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-08724989?flat'}
2026-09-08 11:59:32,617 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-08724989 is found in opserver
2026-09-08 11:59:32,627 - DEBUG - Do not have enough data to verify VN in agent
2026-09-08 11:59:32,631 - DEBUG - VRF ids for VN ctest-vn-08724989: {}
2026-09-08 11:59:32,632 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-08 11:59:32,637 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9623fb4c-546d-475f-b640-40047a2f5c6d
2026-09-08 11:59:32,648 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c45c25c-7e68-475b-99e6-1f5408fa787e
2026-09-08 11:59:32,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4ce8f011-db66-42e6-8048-b96e5cbb8639
2026-09-08 11:59:32,740 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4ce8f011-db66-42e6-8048-b96e5cbb8639
2026-09-08 11:59:32,750 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c091554-306a-4b87-8716-bcd0cb5f0264
2026-09-08 11:59:32,758 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c091554-306a-4b87-8716-bcd0cb5f0264
2026-09-08 11:59:32,764 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a3add25f-b7d3-43a9-bcdc-efe0a23ca713
2026-09-08 11:59:32,770 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-08 11:59:32,770 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4ce8f011-db66-42e6-8048-b96e5cbb8639
2026-09-08 11:59:32,779 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c091554-306a-4b87-8716-bcd0cb5f0264
2026-09-08 11:59:32,795 - INFO - Verified VN network id 13 for VN 4ce8f011-db66-42e6-8048-b96e5cbb8639
2026-09-08 11:59:32,795 - INFO - Verifications in API Server for VN ctest-vn-65203600 passed
2026-09-08 11:59:32,795 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4ce8f011-db66-42e6-8048-b96e5cbb8639
2026-09-08 11:59:32,805 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c091554-306a-4b87-8716-bcd0cb5f0264
2026-09-08 11:59:32,812 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/5c091554-306a-4b87-8716-bcd0cb5f0264
2026-09-08 11:59:32,818 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a3add25f-b7d3-43a9-bcdc-efe0a23ca713
2026-09-08 11:59:32,830 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-65203600', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-81400470', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5541943300965417702', 'uuid-lslong': '9243842118831277625'}, 'enable': 'true', 'created': '2026-09-08T11:59:30', 'last-modified': '2026-09-08T11:59:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.748316'}
2026-09-08 11:59:32,837 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-08 11:59:32,837 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65203600 passed
2026-09-08 11:59:32,837 - DEBUG - ====Verifying policy data for ctest-vn-65203600 in API_Server ======
2026-09-08 11:59:32,837 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-08 11:59:32,844 - DEBUG - Requesting: http://10.0.0.38:8082/domain/9623fb4c-546d-475f-b640-40047a2f5c6d
2026-09-08 11:59:32,854 - DEBUG - Requesting: http://10.0.0.38:8082/project/3c45c25c-7e68-475b-99e6-1f5408fa787e
2026-09-08 11:59:32,932 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/4ce8f011-db66-42e6-8048-b96e5cbb8639
2026-09-08 11:59:32,942 - DEBUG - ==>Verifying data for policy with id: 52710f24-c581-4433-ad4f-ae9c2af2b6ca, fqn: ['default-domain', 'ctest-TestBasicPolicy-81400470', 'ctest-policy-allow-all-41881028']
2026-09-08 11:59:32,942 - INFO - VN ctest-vn-65203600 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-08 11:59:32,942 - DEBUG - Verifying the vn in opserver
2026-09-08 11:59:32,942 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-65203600 virtual network link through opserver 10.0.0.38
2026-09-08 11:59:32,942 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-08 11:59:32,953 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-65203600', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-65203600?flat'}
2026-09-08 11:59:32,953 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-81400470:ctest-vn-65203600 is found in opserver
2026-09-08 11:59:32,963 - DEBUG - Do not have enough data to verify VN in agent
2026-09-08 11:59:32,967 - DEBUG - VRF ids for VN ctest-vn-65203600: {}
2026-09-08 11:59:33,029 - DEBUG - Services list from nova: [