2026-09-02 03:01:59,096 - INFO - Domain Default found not creating
2026-09-02 03:01:59,283 - INFO - Project ctest-TestBasicPolicy-98750764 not found, creating it
2026-09-02 03:01:59,780 - INFO - Created Project:ctest-TestBasicPolicy-98750764, ID : 7abe8af7-4bc0-41d8-8202-90bec4683ccd
2026-09-02 03:02:01,383 - INFO - ================================================================================
2026-09-02 03:02:01,383 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-02 03:02:01,383 - 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-02 03:02:01,644 - DEBUG - Nothing to compare xmpp stats {'10.0.0.248': {'10.20.0.17': '0'}} with
2026-09-02 03:02:01,644 - INFO - Initial checks done. Running the testcase now
2026-09-02 03:02:01,645 - INFO -
2026-09-02 03:02:02,309 - DEBUG - Response for create_network : {'network': {'id': '7dd00796-a4dc-494e-9bad-ed55c96def1c', 'name': 'ctest-vn-99232518', 'tenant_id': '7abe8af74bc041d8820290bec4683ccd', 'project_id': '7abe8af74bc041d8820290bec4683ccd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98750764', 'ctest-vn-99232518'], 'port_security_enabled': True, 'description': ''}}
2026-09-02 03:02:02,568 - DEBUG - Response for create_subnet : {'subnet': {'id': '682a0ef6-f730-4f97-9319-62dc4f65a8be', 'name': '', 'tenant_id': '7abe8af74bc041d8820290bec4683ccd', 'network_id': '7dd00796-a4dc-494e-9bad-ed55c96def1c', 'ip_version': 4, 'cidr': '19.37.178.0/26', 'allocation_pools': [{'start': '19.37.178.2', 'end': '19.37.178.62'}], 'gateway_ip': '19.37.178.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '19.37.178.2', 'tags': [], 'project_id': '7abe8af74bc041d8820290bec4683ccd'}}
2026-09-02 03:02:02,589 - INFO - Created VN ctest-vn-99232518
2026-09-02 03:02:02,646 - DEBUG - VN ctest-vn-99232518 UUID is 7dd00796-a4dc-494e-9bad-ed55c96def1c
2026-09-02 03:02:02,994 - DEBUG - Response for create_network : {'network': {'id': '97cc6c50-9a22-41e5-8e49-71e383e1775c', 'name': 'ctest-vn-95238166', 'tenant_id': '7abe8af74bc041d8820290bec4683ccd', 'project_id': '7abe8af74bc041d8820290bec4683ccd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98750764', 'ctest-vn-95238166'], 'port_security_enabled': True, 'description': ''}}
2026-09-02 03:02:03,217 - DEBUG - Response for create_subnet : {'subnet': {'id': '677ecfa6-69b6-46da-ae3a-7df1b63b34fd', 'name': '', 'tenant_id': '7abe8af74bc041d8820290bec4683ccd', 'network_id': '97cc6c50-9a22-41e5-8e49-71e383e1775c', 'ip_version': 4, 'cidr': '220.186.205.128/26', 'allocation_pools': [{'start': '220.186.205.130', 'end': '220.186.205.190'}], 'gateway_ip': '220.186.205.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.186.205.130', 'tags': [], 'project_id': '7abe8af74bc041d8820290bec4683ccd'}}
2026-09-02 03:02:03,237 - INFO - Created VN ctest-vn-95238166
2026-09-02 03:02:03,294 - DEBUG - VN ctest-vn-95238166 UUID is 97cc6c50-9a22-41e5-8e49-71e383e1775c
2026-09-02 03:02:03,420 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-99232518, 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-98750764:ctest-vn-95238166, 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-02 03:02:03,778 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7dd00796-a4dc-494e-9bad-ed55c96def1c', 'name': 'ctest-vn-99232518', 'tenant_id': '7abe8af74bc041d8820290bec4683ccd', 'project_id': '7abe8af74bc041d8820290bec4683ccd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['682a0ef6-f730-4f97-9319-62dc4f65a8be'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98750764', 'ctest-vn-99232518'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98750764', 'ctest-policy-allow-all-89130357']], 'subnet_ipam': [{'subnet_cidr': '19.37.178.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-02 03:02:04,029 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '97cc6c50-9a22-41e5-8e49-71e383e1775c', 'name': 'ctest-vn-95238166', 'tenant_id': '7abe8af74bc041d8820290bec4683ccd', 'project_id': '7abe8af74bc041d8820290bec4683ccd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['677ecfa6-69b6-46da-ae3a-7df1b63b34fd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98750764', 'ctest-vn-95238166'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98750764', 'ctest-policy-allow-all-89130357']], 'subnet_ipam': [{'subnet_cidr': '220.186.205.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-02 03:02:04,194 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-02 03:02:04,525 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-02 03:02:04,558 - DEBUG - Requesting: http://10.0.0.248:8082/domain/039cb222-8513-42b3-b8b0-060b2d1e146c
2026-09-02 03:02:04,574 - DEBUG - Requesting: http://10.0.0.248:8082/project/7abe8af7-4bc0-41d8-8202-90bec4683ccd
2026-09-02 03:02:04,660 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7dd00796-a4dc-494e-9bad-ed55c96def1c
2026-09-02 03:02:04,674 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7dd00796-a4dc-494e-9bad-ed55c96def1c
2026-09-02 03:02:04,686 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/35801874-abc8-4b28-97ca-7a5c6afd0d06
2026-09-02 03:02:04,695 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/35801874-abc8-4b28-97ca-7a5c6afd0d06
2026-09-02 03:02:04,703 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/c5d88cfe-9b22-486b-a7a6-b6126aab7465
2026-09-02 03:02:04,711 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-02 03:02:04,711 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7dd00796-a4dc-494e-9bad-ed55c96def1c
2026-09-02 03:02:04,724 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/35801874-abc8-4b28-97ca-7a5c6afd0d06
2026-09-02 03:02:04,742 - INFO - Verified VN network id 12 for VN 7dd00796-a4dc-494e-9bad-ed55c96def1c
2026-09-02 03:02:04,742 - INFO - Verifications in API Server for VN ctest-vn-99232518 passed
2026-09-02 03:02:04,742 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7dd00796-a4dc-494e-9bad-ed55c96def1c
2026-09-02 03:02:04,754 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/35801874-abc8-4b28-97ca-7a5c6afd0d06
2026-09-02 03:02:04,762 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/35801874-abc8-4b28-97ca-7a5c6afd0d06
2026-09-02 03:02:04,771 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/c5d88cfe-9b22-486b-a7a6-b6126aab7465
2026-09-02 03:02:04,785 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-99232518', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98750764', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9065754393489197390', 'uuid-lslong': '11217883199557201692'}, 'enable': 'true', 'created': '2026-09-02T03:02:02', 'last-modified': '2026-09-02T03:02:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.043746'}
2026-09-02 03:02:04,793 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-02 03:02:04,793 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-99232518 passed
2026-09-02 03:02:04,793 - DEBUG - ====Verifying policy data for ctest-vn-99232518 in API_Server ======
2026-09-02 03:02:04,793 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-02 03:02:04,799 - DEBUG - Requesting: http://10.0.0.248:8082/domain/039cb222-8513-42b3-b8b0-060b2d1e146c
2026-09-02 03:02:04,810 - DEBUG - Requesting: http://10.0.0.248:8082/project/7abe8af7-4bc0-41d8-8202-90bec4683ccd
2026-09-02 03:02:04,885 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/7dd00796-a4dc-494e-9bad-ed55c96def1c
2026-09-02 03:02:04,896 - DEBUG - ==>Verifying data for policy with id: 1783c4bc-3718-4353-a009-f1fe12595d52, fqn: ['default-domain', 'ctest-TestBasicPolicy-98750764', 'ctest-policy-allow-all-89130357']
2026-09-02 03:02:04,896 - INFO - VN ctest-vn-99232518 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-02 03:02:04,896 - DEBUG - Verifying the vn in opserver
2026-09-02 03:02:04,896 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-99232518 virtual network link through opserver 10.0.0.248
2026-09-02 03:02:04,896 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-09-02 03:02:05,215 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-09-02 03:02:05,279 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-99232518', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-99232518?flat'}
2026-09-02 03:02:05,279 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-99232518 is found in opserver
2026-09-02 03:02:05,289 - DEBUG - Do not have enough data to verify VN in agent
2026-09-02 03:02:05,294 - DEBUG - VRF ids for VN ctest-vn-99232518: {}
2026-09-02 03:02:05,294 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-02 03:02:05,299 - DEBUG - Requesting: http://10.0.0.248:8082/domain/039cb222-8513-42b3-b8b0-060b2d1e146c
2026-09-02 03:02:05,310 - DEBUG - Requesting: http://10.0.0.248:8082/project/7abe8af7-4bc0-41d8-8202-90bec4683ccd
2026-09-02 03:02:05,387 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/97cc6c50-9a22-41e5-8e49-71e383e1775c
2026-09-02 03:02:05,402 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/97cc6c50-9a22-41e5-8e49-71e383e1775c
2026-09-02 03:02:05,413 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/64bf1ca6-a1c5-4776-a790-9208d2447834
2026-09-02 03:02:05,422 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/64bf1ca6-a1c5-4776-a790-9208d2447834
2026-09-02 03:02:05,433 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/9304478d-fa86-47ea-8967-762e06b47098
2026-09-02 03:02:05,443 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-02 03:02:05,443 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/97cc6c50-9a22-41e5-8e49-71e383e1775c
2026-09-02 03:02:05,453 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/64bf1ca6-a1c5-4776-a790-9208d2447834
2026-09-02 03:02:05,468 - INFO - Verified VN network id 13 for VN 97cc6c50-9a22-41e5-8e49-71e383e1775c
2026-09-02 03:02:05,468 - INFO - Verifications in API Server for VN ctest-vn-95238166 passed
2026-09-02 03:02:05,468 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/97cc6c50-9a22-41e5-8e49-71e383e1775c
2026-09-02 03:02:05,477 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/64bf1ca6-a1c5-4776-a790-9208d2447834
2026-09-02 03:02:05,486 - DEBUG - Requesting: http://10.0.0.248:8082/routing-instance/64bf1ca6-a1c5-4776-a790-9208d2447834
2026-09-02 03:02:05,494 - DEBUG - Requesting: http://10.0.0.248:8082/route-target/9304478d-fa86-47ea-8967-762e06b47098
2026-09-02 03:02:05,506 - DEBUG - Control-node 10.0.0.248 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-95238166', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98750764', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10938236688415212005', 'uuid-lslong': '10252851248669751132'}, 'enable': 'true', 'created': '2026-09-02T03:02:02', 'last-modified': '2026-09-02T03:02:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.506854'}
2026-09-02 03:02:05,512 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-02 03:02:05,512 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95238166 passed
2026-09-02 03:02:05,512 - DEBUG - ====Verifying policy data for ctest-vn-95238166 in API_Server ======
2026-09-02 03:02:05,512 - DEBUG - Requesting: http://10.0.0.248:8082/domains
2026-09-02 03:02:05,518 - DEBUG - Requesting: http://10.0.0.248:8082/domain/039cb222-8513-42b3-b8b0-060b2d1e146c
2026-09-02 03:02:05,531 - DEBUG - Requesting: http://10.0.0.248:8082/project/7abe8af7-4bc0-41d8-8202-90bec4683ccd
2026-09-02 03:02:05,605 - DEBUG - Requesting: http://10.0.0.248:8082/virtual-network/97cc6c50-9a22-41e5-8e49-71e383e1775c
2026-09-02 03:02:05,614 - DEBUG - ==>Verifying data for policy with id: 1783c4bc-3718-4353-a009-f1fe12595d52, fqn: ['default-domain', 'ctest-TestBasicPolicy-98750764', 'ctest-policy-allow-all-89130357']
2026-09-02 03:02:05,614 - INFO - VN ctest-vn-95238166 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-02 03:02:05,614 - DEBUG - Verifying the vn in opserver
2026-09-02 03:02:05,614 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-95238166 virtual network link through opserver 10.0.0.248
2026-09-02 03:02:05,614 - DEBUG - Requesting: http://10.0.0.248:8081/analytics/uves/virtual-networks
2026-09-02 03:02:05,624 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-95238166', 'href': 'http://10.0.0.248:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-95238166?flat'}
2026-09-02 03:02:05,624 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98750764:ctest-vn-95238166 is found in opserver
2026-09-02 03:02:05,635 - DEBUG - Do not have enough data to verify VN in agent
2026-09-02 03:02:05,640 - DEBUG - VRF ids for VN ctest-vn-95238166: {}
2026-09-02 03:02:05,721 - DEBUG - Services list from nova: [