2026-10-26 14:19:38,094 - INFO - Domain Default found not creating
2026-10-26 14:19:38,347 - INFO - Project ctest-TestBasicPolicy-96147058 not found, creating it
2026-10-26 14:19:38,907 - INFO - Created Project:ctest-TestBasicPolicy-96147058, ID : e9398a89-5604-4a0d-8bcd-5733e4670e01
2026-10-26 14:19:41,277 - INFO - ================================================================================
2026-10-26 14:19:41,277 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-10-26 14:19:41,278 - 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-10-26 14:19:41,560 - DEBUG - Nothing to compare xmpp stats {'10.0.0.188': {'10.20.0.254': '0'}} with
2026-10-26 14:19:41,560 - INFO - Initial checks done. Running the testcase now
2026-10-26 14:19:41,560 - INFO -
2026-10-26 14:19:42,331 - DEBUG - Response for create_network : {'network': {'id': '0b370cd6-8983-4bb7-9fd5-828623f259e6', 'name': 'ctest-vn-30126334', 'tenant_id': 'e9398a8956044a0d8bcd5733e4670e01', 'project_id': 'e9398a8956044a0d8bcd5733e4670e01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96147058', 'ctest-vn-30126334'], 'port_security_enabled': True, 'description': ''}}
2026-10-26 14:19:42,595 - DEBUG - Response for create_subnet : {'subnet': {'id': '57340630-3eeb-4a08-8cd4-05a3342b9ef0', 'name': '', 'tenant_id': 'e9398a8956044a0d8bcd5733e4670e01', 'network_id': '0b370cd6-8983-4bb7-9fd5-828623f259e6', 'ip_version': 4, 'cidr': '168.54.227.192/26', 'allocation_pools': [{'start': '168.54.227.194', 'end': '168.54.227.254'}], 'gateway_ip': '168.54.227.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.54.227.194', 'tags': [], 'project_id': 'e9398a8956044a0d8bcd5733e4670e01'}}
2026-10-26 14:19:42,622 - INFO - Created VN ctest-vn-30126334
2026-10-26 14:19:42,682 - DEBUG - VN ctest-vn-30126334 UUID is 0b370cd6-8983-4bb7-9fd5-828623f259e6
2026-10-26 14:19:43,057 - DEBUG - Response for create_network : {'network': {'id': '5e223703-a839-4004-9f5c-c67eabf3edac', 'name': 'ctest-vn-56454682', 'tenant_id': 'e9398a8956044a0d8bcd5733e4670e01', 'project_id': 'e9398a8956044a0d8bcd5733e4670e01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96147058', 'ctest-vn-56454682'], 'port_security_enabled': True, 'description': ''}}
2026-10-26 14:19:43,339 - DEBUG - Response for create_subnet : {'subnet': {'id': '9a621516-083b-4aaf-9657-1ea631cb2bf3', 'name': '', 'tenant_id': 'e9398a8956044a0d8bcd5733e4670e01', 'network_id': '5e223703-a839-4004-9f5c-c67eabf3edac', 'ip_version': 4, 'cidr': '58.218.93.0/26', 'allocation_pools': [{'start': '58.218.93.2', 'end': '58.218.93.62'}], 'gateway_ip': '58.218.93.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.218.93.2', 'tags': [], 'project_id': 'e9398a8956044a0d8bcd5733e4670e01'}}
2026-10-26 14:19:43,363 - INFO - Created VN ctest-vn-56454682
2026-10-26 14:19:43,421 - DEBUG - VN ctest-vn-56454682 UUID is 5e223703-a839-4004-9f5c-c67eabf3edac
2026-10-26 14:19:43,554 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-30126334, 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-96147058:ctest-vn-56454682, 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-10-26 14:19:43,899 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0b370cd6-8983-4bb7-9fd5-828623f259e6', 'name': 'ctest-vn-30126334', 'tenant_id': 'e9398a8956044a0d8bcd5733e4670e01', 'project_id': 'e9398a8956044a0d8bcd5733e4670e01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['57340630-3eeb-4a08-8cd4-05a3342b9ef0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96147058', 'ctest-vn-30126334'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96147058', 'ctest-policy-allow-all-95239294']], 'subnet_ipam': [{'subnet_cidr': '168.54.227.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-26 14:19:44,123 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5e223703-a839-4004-9f5c-c67eabf3edac', 'name': 'ctest-vn-56454682', 'tenant_id': 'e9398a8956044a0d8bcd5733e4670e01', 'project_id': 'e9398a8956044a0d8bcd5733e4670e01', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['9a621516-083b-4aaf-9657-1ea631cb2bf3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96147058', 'ctest-vn-56454682'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96147058', 'ctest-policy-allow-all-95239294']], 'subnet_ipam': [{'subnet_cidr': '58.218.93.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-10-26 14:19:44,302 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-10-26 14:19:44,693 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-10-26 14:19:44,732 - DEBUG - Requesting: http://10.0.0.188:8082/domain/d2a16bec-094c-4a1a-82ae-c0bee6d48db8
2026-10-26 14:19:44,751 - DEBUG - Requesting: http://10.0.0.188:8082/project/e9398a89-5604-4a0d-8bcd-5733e4670e01
2026-10-26 14:19:44,831 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/0b370cd6-8983-4bb7-9fd5-828623f259e6
2026-10-26 14:19:44,848 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/0b370cd6-8983-4bb7-9fd5-828623f259e6
2026-10-26 14:19:44,861 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/53716b64-5c50-42e6-894c-0b04723ed082
2026-10-26 14:19:44,871 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/53716b64-5c50-42e6-894c-0b04723ed082
2026-10-26 14:19:44,880 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/bf26dc66-7ade-4171-9f8c-c7dbf75cde90
2026-10-26 14:19:44,890 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-26 14:19:44,890 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/0b370cd6-8983-4bb7-9fd5-828623f259e6
2026-10-26 14:19:44,901 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/53716b64-5c50-42e6-894c-0b04723ed082
2026-10-26 14:19:44,919 - INFO - Verified VN network id 12 for VN 0b370cd6-8983-4bb7-9fd5-828623f259e6
2026-10-26 14:19:44,919 - INFO - Verifications in API Server for VN ctest-vn-30126334 passed
2026-10-26 14:19:44,919 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/0b370cd6-8983-4bb7-9fd5-828623f259e6
2026-10-26 14:19:44,931 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/53716b64-5c50-42e6-894c-0b04723ed082
2026-10-26 14:19:44,940 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/53716b64-5c50-42e6-894c-0b04723ed082
2026-10-26 14:19:44,950 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/bf26dc66-7ade-4171-9f8c-c7dbf75cde90
2026-10-26 14:19:44,966 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-30126334', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96147058', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '808128773705911223', 'uuid-lslong': '11517255134710225382'}, 'enable': 'true', 'created': '2026-10-26T14:19:42', 'last-modified': '2026-10-26T14:19:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.099202'}
2026-10-26 14:19:44,974 - DEBUG - Route Targets: ['target:64512:8000005']
2026-10-26 14:19:44,974 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30126334 passed
2026-10-26 14:19:44,974 - DEBUG - ====Verifying policy data for ctest-vn-30126334 in API_Server ======
2026-10-26 14:19:44,975 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-10-26 14:19:44,981 - DEBUG - Requesting: http://10.0.0.188:8082/domain/d2a16bec-094c-4a1a-82ae-c0bee6d48db8
2026-10-26 14:19:44,996 - DEBUG - Requesting: http://10.0.0.188:8082/project/e9398a89-5604-4a0d-8bcd-5733e4670e01
2026-10-26 14:19:45,079 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/0b370cd6-8983-4bb7-9fd5-828623f259e6
2026-10-26 14:19:45,093 - DEBUG - ==>Verifying data for policy with id: 823af96f-401f-4a9a-9863-6fd80a2d49ff, fqn: ['default-domain', 'ctest-TestBasicPolicy-96147058', 'ctest-policy-allow-all-95239294']
2026-10-26 14:19:45,093 - INFO - VN ctest-vn-30126334 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-26 14:19:45,093 - DEBUG - Verifying the vn in opserver
2026-10-26 14:19:45,093 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-30126334 virtual network link through opserver 10.0.0.188
2026-10-26 14:19:45,093 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks
2026-10-26 14:19:45,490 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks
2026-10-26 14:19:45,559 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-30126334', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-30126334?flat'}
2026-10-26 14:19:45,559 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-30126334 is found in opserver
2026-10-26 14:19:45,575 - DEBUG - Do not have enough data to verify VN in agent
2026-10-26 14:19:45,583 - DEBUG - VRF ids for VN ctest-vn-30126334: {}
2026-10-26 14:19:45,583 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-10-26 14:19:45,591 - DEBUG - Requesting: http://10.0.0.188:8082/domain/d2a16bec-094c-4a1a-82ae-c0bee6d48db8
2026-10-26 14:19:45,606 - DEBUG - Requesting: http://10.0.0.188:8082/project/e9398a89-5604-4a0d-8bcd-5733e4670e01
2026-10-26 14:19:45,694 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/5e223703-a839-4004-9f5c-c67eabf3edac
2026-10-26 14:19:45,712 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/5e223703-a839-4004-9f5c-c67eabf3edac
2026-10-26 14:19:45,724 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/0cbc0f85-b191-4002-a19d-4f8f7951a887
2026-10-26 14:19:45,733 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/0cbc0f85-b191-4002-a19d-4f8f7951a887
2026-10-26 14:19:45,744 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/693c0492-f95d-4a4b-a811-14fbc5b0eebe
2026-10-26 14:19:45,755 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-26 14:19:45,755 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/5e223703-a839-4004-9f5c-c67eabf3edac
2026-10-26 14:19:45,769 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/0cbc0f85-b191-4002-a19d-4f8f7951a887
2026-10-26 14:19:45,791 - INFO - Verified VN network id 13 for VN 5e223703-a839-4004-9f5c-c67eabf3edac
2026-10-26 14:19:45,791 - INFO - Verifications in API Server for VN ctest-vn-56454682 passed
2026-10-26 14:19:45,791 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/5e223703-a839-4004-9f5c-c67eabf3edac
2026-10-26 14:19:45,806 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/0cbc0f85-b191-4002-a19d-4f8f7951a887
2026-10-26 14:19:45,816 - DEBUG - Requesting: http://10.0.0.188:8082/routing-instance/0cbc0f85-b191-4002-a19d-4f8f7951a887
2026-10-26 14:19:45,825 - DEBUG - Requesting: http://10.0.0.188:8082/route-target/693c0492-f95d-4a4b-a811-14fbc5b0eebe
2026-10-26 14:19:45,843 - DEBUG - Control-node 10.0.0.188 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-56454682', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96147058', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6783044477620142084', 'uuid-lslong': '11483271397240991148'}, 'enable': 'true', 'created': '2026-10-26T14:19:43', 'last-modified': '2026-10-26T14:19:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.752864'}
2026-10-26 14:19:45,853 - DEBUG - Route Targets: ['target:64512:8000006']
2026-10-26 14:19:45,854 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56454682 passed
2026-10-26 14:19:45,854 - DEBUG - ====Verifying policy data for ctest-vn-56454682 in API_Server ======
2026-10-26 14:19:45,854 - DEBUG - Requesting: http://10.0.0.188:8082/domains
2026-10-26 14:19:45,862 - DEBUG - Requesting: http://10.0.0.188:8082/domain/d2a16bec-094c-4a1a-82ae-c0bee6d48db8
2026-10-26 14:19:45,878 - DEBUG - Requesting: http://10.0.0.188:8082/project/e9398a89-5604-4a0d-8bcd-5733e4670e01
2026-10-26 14:19:45,972 - DEBUG - Requesting: http://10.0.0.188:8082/virtual-network/5e223703-a839-4004-9f5c-c67eabf3edac
2026-10-26 14:19:45,986 - DEBUG - ==>Verifying data for policy with id: 823af96f-401f-4a9a-9863-6fd80a2d49ff, fqn: ['default-domain', 'ctest-TestBasicPolicy-96147058', 'ctest-policy-allow-all-95239294']
2026-10-26 14:19:45,986 - INFO - VN ctest-vn-56454682 Policy verification: verify_vn_policy_in_api_server, status: True
2026-10-26 14:19:45,986 - DEBUG - Verifying the vn in opserver
2026-10-26 14:19:45,986 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-56454682 virtual network link through opserver 10.0.0.188
2026-10-26 14:19:45,986 - DEBUG - Requesting: http://10.0.0.188:8081/analytics/uves/virtual-networks
2026-10-26 14:19:46,000 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-56454682', 'href': 'http://10.0.0.188:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-56454682?flat'}
2026-10-26 14:19:46,000 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96147058:ctest-vn-56454682 is found in opserver
2026-10-26 14:19:46,013 - DEBUG - Do not have enough data to verify VN in agent
2026-10-26 14:19:46,021 - DEBUG - VRF ids for VN ctest-vn-56454682: {}
2026-10-26 14:19:46,094 - DEBUG - Services list from nova: [