2026-02-17 13:44:29,237 - INFO - Domain Default found not creating
2026-02-17 13:44:29,406 - INFO - Project ctest-TestBasicPolicy-94017738 not found, creating it
2026-02-17 13:44:29,854 - INFO - Created Project:ctest-TestBasicPolicy-94017738, ID : 194f8c72-7fd4-4c95-b561-8a938eb40745
2026-02-17 13:44:31,273 - INFO - ================================================================================
2026-02-17 13:44:31,273 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-17 13:44:31,274 - 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-02-17 13:44:31,538 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.254': '0'}} with
2026-02-17 13:44:31,538 - INFO - Initial checks done. Running the testcase now
2026-02-17 13:44:31,538 - INFO -
2026-02-17 13:44:32,070 - DEBUG - Response for create_network : {'network': {'id': '3b91f7fc-afc3-4c75-b0ff-439a93fedf95', 'name': 'ctest-vn-92768164', 'tenant_id': '194f8c727fd44c95b5618a938eb40745', 'project_id': '194f8c727fd44c95b5618a938eb40745', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94017738', 'ctest-vn-92768164'], 'port_security_enabled': True, 'description': ''}}
2026-02-17 13:44:32,210 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b7539571-be40-4de8-898a-a086480b88ba', 'name': '', 'tenant_id': '194f8c727fd44c95b5618a938eb40745', 'network_id': '3b91f7fc-afc3-4c75-b0ff-439a93fedf95', 'ip_version': 4, 'cidr': '193.36.31.0/26', 'allocation_pools': [{'start': '193.36.31.2', 'end': '193.36.31.62'}], 'gateway_ip': '193.36.31.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.36.31.2', 'tags': [], 'project_id': '194f8c727fd44c95b5618a938eb40745'}}
2026-02-17 13:44:32,227 - INFO - Created VN ctest-vn-92768164
2026-02-17 13:44:32,278 - DEBUG - VN ctest-vn-92768164 UUID is 3b91f7fc-afc3-4c75-b0ff-439a93fedf95
2026-02-17 13:44:32,557 - DEBUG - Response for create_network : {'network': {'id': '4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46', 'name': 'ctest-vn-27119381', 'tenant_id': '194f8c727fd44c95b5618a938eb40745', 'project_id': '194f8c727fd44c95b5618a938eb40745', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94017738', 'ctest-vn-27119381'], 'port_security_enabled': True, 'description': ''}}
2026-02-17 13:44:32,728 - DEBUG - Response for create_subnet : {'subnet': {'id': '32c9fa72-be82-4d63-8497-9549bb193d82', 'name': '', 'tenant_id': '194f8c727fd44c95b5618a938eb40745', 'network_id': '4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46', 'ip_version': 4, 'cidr': '211.76.244.192/26', 'allocation_pools': [{'start': '211.76.244.194', 'end': '211.76.244.254'}], 'gateway_ip': '211.76.244.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '211.76.244.194', 'tags': [], 'project_id': '194f8c727fd44c95b5618a938eb40745'}}
2026-02-17 13:44:32,748 - INFO - Created VN ctest-vn-27119381
2026-02-17 13:44:32,798 - DEBUG - VN ctest-vn-27119381 UUID is 4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46
2026-02-17 13:44:32,942 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-92768164, 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-94017738:ctest-vn-27119381, 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-02-17 13:44:33,227 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3b91f7fc-afc3-4c75-b0ff-439a93fedf95', 'name': 'ctest-vn-92768164', 'tenant_id': '194f8c727fd44c95b5618a938eb40745', 'project_id': '194f8c727fd44c95b5618a938eb40745', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b7539571-be40-4de8-898a-a086480b88ba'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94017738', 'ctest-vn-92768164'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94017738', 'ctest-policy-allow-all-18720245']], 'subnet_ipam': [{'subnet_cidr': '193.36.31.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-17 13:44:33,488 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46', 'name': 'ctest-vn-27119381', 'tenant_id': '194f8c727fd44c95b5618a938eb40745', 'project_id': '194f8c727fd44c95b5618a938eb40745', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['32c9fa72-be82-4d63-8497-9549bb193d82'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-94017738', 'ctest-vn-27119381'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-94017738', 'ctest-policy-allow-all-18720245']], 'subnet_ipam': [{'subnet_cidr': '211.76.244.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-17 13:44:33,635 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-17 13:44:33,940 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-17 13:44:33,972 - DEBUG - Requesting: http://10.0.0.19:8082/domain/0a990a00-a3d7-47a7-a1f1-017e3dfbdadb
2026-02-17 13:44:33,984 - DEBUG - Requesting: http://10.0.0.19:8082/project/194f8c72-7fd4-4c95-b561-8a938eb40745
2026-02-17 13:44:34,051 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b91f7fc-afc3-4c75-b0ff-439a93fedf95
2026-02-17 13:44:34,062 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b91f7fc-afc3-4c75-b0ff-439a93fedf95
2026-02-17 13:44:34,070 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7abe23b2-01dc-45a8-a1c2-0c8cf6f7162b
2026-02-17 13:44:34,076 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7abe23b2-01dc-45a8-a1c2-0c8cf6f7162b
2026-02-17 13:44:34,082 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/bfe91162-260b-469a-ae50-17638ceedae7
2026-02-17 13:44:34,088 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-17 13:44:34,089 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b91f7fc-afc3-4c75-b0ff-439a93fedf95
2026-02-17 13:44:34,097 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7abe23b2-01dc-45a8-a1c2-0c8cf6f7162b
2026-02-17 13:44:34,111 - INFO - Verified VN network id 11 for VN 3b91f7fc-afc3-4c75-b0ff-439a93fedf95
2026-02-17 13:44:34,111 - INFO - Verifications in API Server for VN ctest-vn-92768164 passed
2026-02-17 13:44:34,111 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b91f7fc-afc3-4c75-b0ff-439a93fedf95
2026-02-17 13:44:34,119 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7abe23b2-01dc-45a8-a1c2-0c8cf6f7162b
2026-02-17 13:44:34,124 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/7abe23b2-01dc-45a8-a1c2-0c8cf6f7162b
2026-02-17 13:44:34,129 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/bfe91162-260b-469a-ae50-17638ceedae7
2026-02-17 13:44:34,139 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-92768164', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94017738', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4292484584513424501', 'uuid-lslong': '12753987000923512725'}, 'enable': 'true', 'created': '2026-02-17T13:44:32', 'last-modified': '2026-02-17T13:44:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.933653'}
2026-02-17 13:44:34,144 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-17 13:44:34,144 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92768164 passed
2026-02-17 13:44:34,144 - DEBUG - ====Verifying policy data for ctest-vn-92768164 in API_Server ======
2026-02-17 13:44:34,144 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-17 13:44:34,149 - DEBUG - Requesting: http://10.0.0.19:8082/domain/0a990a00-a3d7-47a7-a1f1-017e3dfbdadb
2026-02-17 13:44:34,158 - DEBUG - Requesting: http://10.0.0.19:8082/project/194f8c72-7fd4-4c95-b561-8a938eb40745
2026-02-17 13:44:34,232 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3b91f7fc-afc3-4c75-b0ff-439a93fedf95
2026-02-17 13:44:34,244 - DEBUG - ==>Verifying data for policy with id: a5c235d7-4eac-4292-875b-4a826c9d6b09, fqn: ['default-domain', 'ctest-TestBasicPolicy-94017738', 'ctest-policy-allow-all-18720245']
2026-02-17 13:44:34,244 - INFO - VN ctest-vn-92768164 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-17 13:44:34,244 - DEBUG - Verifying the vn in opserver
2026-02-17 13:44:34,244 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-92768164 virtual network link through opserver 10.0.0.19
2026-02-17 13:44:34,244 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-17 13:44:34,541 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-17 13:44:34,601 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-92768164', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-92768164?flat'}
2026-02-17 13:44:34,601 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-92768164 is found in opserver
2026-02-17 13:44:34,610 - DEBUG - Do not have enough data to verify VN in agent
2026-02-17 13:44:34,614 - DEBUG - VRF ids for VN ctest-vn-92768164: {}
2026-02-17 13:44:34,614 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-17 13:44:34,619 - DEBUG - Requesting: http://10.0.0.19:8082/domain/0a990a00-a3d7-47a7-a1f1-017e3dfbdadb
2026-02-17 13:44:34,628 - DEBUG - Requesting: http://10.0.0.19:8082/project/194f8c72-7fd4-4c95-b561-8a938eb40745
2026-02-17 13:44:34,701 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46
2026-02-17 13:44:34,711 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46
2026-02-17 13:44:34,719 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/39f5db38-6198-47bb-9b72-73fab44da87e
2026-02-17 13:44:34,726 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/39f5db38-6198-47bb-9b72-73fab44da87e
2026-02-17 13:44:34,733 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/28ac2c63-4b2c-4e17-81ed-e0548a92e08a
2026-02-17 13:44:34,739 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-17 13:44:34,739 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46
2026-02-17 13:44:34,747 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/39f5db38-6198-47bb-9b72-73fab44da87e
2026-02-17 13:44:34,759 - INFO - Verified VN network id 12 for VN 4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46
2026-02-17 13:44:34,760 - INFO - Verifications in API Server for VN ctest-vn-27119381 passed
2026-02-17 13:44:34,760 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46
2026-02-17 13:44:34,768 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/39f5db38-6198-47bb-9b72-73fab44da87e
2026-02-17 13:44:34,774 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/39f5db38-6198-47bb-9b72-73fab44da87e
2026-02-17 13:44:34,779 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/28ac2c63-4b2c-4e17-81ed-e0548a92e08a
2026-02-17 13:44:34,789 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-27119381', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-94017738', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5713257168817115109', 'uuid-lslong': '12276586324167384390'}, 'enable': 'true', 'created': '2026-02-17T13:44:32', 'last-modified': '2026-02-17T13:44:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.363953'}
2026-02-17 13:44:34,794 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-17 13:44:34,794 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27119381 passed
2026-02-17 13:44:34,794 - DEBUG - ====Verifying policy data for ctest-vn-27119381 in API_Server ======
2026-02-17 13:44:34,794 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-17 13:44:34,808 - DEBUG - Requesting: http://10.0.0.19:8082/domain/0a990a00-a3d7-47a7-a1f1-017e3dfbdadb
2026-02-17 13:44:34,819 - DEBUG - Requesting: http://10.0.0.19:8082/project/194f8c72-7fd4-4c95-b561-8a938eb40745
2026-02-17 13:44:34,886 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/4f49911f-f9cc-4fe5-aa5f-3237ba6a5d46
2026-02-17 13:44:34,896 - DEBUG - ==>Verifying data for policy with id: a5c235d7-4eac-4292-875b-4a826c9d6b09, fqn: ['default-domain', 'ctest-TestBasicPolicy-94017738', 'ctest-policy-allow-all-18720245']
2026-02-17 13:44:34,896 - INFO - VN ctest-vn-27119381 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-17 13:44:34,896 - DEBUG - Verifying the vn in opserver
2026-02-17 13:44:34,896 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-27119381 virtual network link through opserver 10.0.0.19
2026-02-17 13:44:34,896 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-17 13:44:34,905 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-27119381', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-27119381?flat'}
2026-02-17 13:44:34,905 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-94017738:ctest-vn-27119381 is found in opserver
2026-02-17 13:44:34,913 - DEBUG - Do not have enough data to verify VN in agent
2026-02-17 13:44:34,917 - DEBUG - VRF ids for VN ctest-vn-27119381: {}
2026-02-17 13:44:34,976 - DEBUG - Services list from nova: [