2026-06-18 02:04:46,988 - INFO - Domain Default found not creating
2026-06-18 02:04:47,132 - INFO - Project ctest-TestBasicPolicy-66593767 not found, creating it
2026-06-18 02:04:47,591 - INFO - Created Project:ctest-TestBasicPolicy-66593767, ID : 60405204-a4d1-4708-b847-7b7d6e09a40d
2026-06-18 02:04:49,089 - INFO - ================================================================================
2026-06-18 02:04:49,089 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-18 02:04:49,089 - 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-06-18 02:04:49,364 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.192': '0'}} with
2026-06-18 02:04:49,364 - INFO - Initial checks done. Running the testcase now
2026-06-18 02:04:49,364 - INFO -
2026-06-18 02:04:49,961 - DEBUG - Response for create_network : {'network': {'id': '698e5385-5f70-4411-9596-ddccc6cd0497', 'name': 'ctest-vn-41903396', 'tenant_id': '60405204a4d14708b8477b7d6e09a40d', 'project_id': '60405204a4d14708b8477b7d6e09a40d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66593767', 'ctest-vn-41903396'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 02:04:50,188 - DEBUG - Response for create_subnet : {'subnet': {'id': '22f3e11e-a4d3-4a9d-82ec-586f9b9aec24', 'name': '', 'tenant_id': '60405204a4d14708b8477b7d6e09a40d', 'network_id': '698e5385-5f70-4411-9596-ddccc6cd0497', 'ip_version': 4, 'cidr': '107.201.33.192/26', 'allocation_pools': [{'start': '107.201.33.194', 'end': '107.201.33.254'}], 'gateway_ip': '107.201.33.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.201.33.194', 'tags': [], 'project_id': '60405204a4d14708b8477b7d6e09a40d'}}
2026-06-18 02:04:50,205 - INFO - Created VN ctest-vn-41903396
2026-06-18 02:04:50,258 - DEBUG - VN ctest-vn-41903396 UUID is 698e5385-5f70-4411-9596-ddccc6cd0497
2026-06-18 02:04:50,598 - DEBUG - Response for create_network : {'network': {'id': 'a3f68ce5-0d3f-468a-bee7-b7877c996a7d', 'name': 'ctest-vn-69552611', 'tenant_id': '60405204a4d14708b8477b7d6e09a40d', 'project_id': '60405204a4d14708b8477b7d6e09a40d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66593767', 'ctest-vn-69552611'], 'port_security_enabled': True, 'description': ''}}
2026-06-18 02:04:50,784 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd65ab609-1524-4e6f-81ca-c13e6f17ba29', 'name': '', 'tenant_id': '60405204a4d14708b8477b7d6e09a40d', 'network_id': 'a3f68ce5-0d3f-468a-bee7-b7877c996a7d', 'ip_version': 4, 'cidr': '37.197.74.0/26', 'allocation_pools': [{'start': '37.197.74.2', 'end': '37.197.74.62'}], 'gateway_ip': '37.197.74.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '37.197.74.2', 'tags': [], 'project_id': '60405204a4d14708b8477b7d6e09a40d'}}
2026-06-18 02:04:50,802 - INFO - Created VN ctest-vn-69552611
2026-06-18 02:04:50,854 - DEBUG - VN ctest-vn-69552611 UUID is a3f68ce5-0d3f-468a-bee7-b7877c996a7d
2026-06-18 02:04:50,978 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66593767:ctest-vn-41903396, 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-66593767:ctest-vn-69552611, 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-06-18 02:04:51,289 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '698e5385-5f70-4411-9596-ddccc6cd0497', 'name': 'ctest-vn-41903396', 'tenant_id': '60405204a4d14708b8477b7d6e09a40d', 'project_id': '60405204a4d14708b8477b7d6e09a40d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['22f3e11e-a4d3-4a9d-82ec-586f9b9aec24'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66593767', 'ctest-vn-41903396'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66593767', 'ctest-policy-allow-all-70083938']], 'subnet_ipam': [{'subnet_cidr': '107.201.33.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-18 02:04:51,519 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a3f68ce5-0d3f-468a-bee7-b7877c996a7d', 'name': 'ctest-vn-69552611', 'tenant_id': '60405204a4d14708b8477b7d6e09a40d', 'project_id': '60405204a4d14708b8477b7d6e09a40d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d65ab609-1524-4e6f-81ca-c13e6f17ba29'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66593767', 'ctest-vn-69552611'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66593767', 'ctest-policy-allow-all-70083938']], 'subnet_ipam': [{'subnet_cidr': '37.197.74.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-18 02:04:51,686 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-06-18 02:04:52,006 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-06-18 02:04:52,031 - DEBUG - Requesting: http://10.0.0.241:8082/domain/8338746b-5c5a-4754-abb3-14f74319c1fe
2026-06-18 02:04:52,045 - DEBUG - Requesting: http://10.0.0.241:8082/project/60405204-a4d1-4708-b847-7b7d6e09a40d
2026-06-18 02:04:52,122 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/698e5385-5f70-4411-9596-ddccc6cd0497
2026-06-18 02:04:52,133 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/698e5385-5f70-4411-9596-ddccc6cd0497
2026-06-18 02:04:52,142 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/b0b62566-1c3f-471a-bce3-6360e0f84d81
2026-06-18 02:04:52,149 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/b0b62566-1c3f-471a-bce3-6360e0f84d81
2026-06-18 02:04:52,156 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/f269a9e4-cbe7-4624-8928-dffa325830c8
2026-06-18 02:04:52,163 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-18 02:04:52,163 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/698e5385-5f70-4411-9596-ddccc6cd0497
2026-06-18 02:04:52,173 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/b0b62566-1c3f-471a-bce3-6360e0f84d81
2026-06-18 02:04:52,188 - INFO - Verified VN network id 12 for VN 698e5385-5f70-4411-9596-ddccc6cd0497
2026-06-18 02:04:52,188 - INFO - Verifications in API Server for VN ctest-vn-41903396 passed
2026-06-18 02:04:52,188 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/698e5385-5f70-4411-9596-ddccc6cd0497
2026-06-18 02:04:52,198 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/b0b62566-1c3f-471a-bce3-6360e0f84d81
2026-06-18 02:04:52,204 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/b0b62566-1c3f-471a-bce3-6360e0f84d81
2026-06-18 02:04:52,211 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/f269a9e4-cbe7-4624-8928-dffa325830c8
2026-06-18 02:04:52,223 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66593767:ctest-vn-41903396', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66593767', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7606108652972295185', 'uuid-lslong': '10779046629736252567'}, 'enable': 'true', 'created': '2026-06-18T02:04:49', 'last-modified': '2026-06-18T02:04:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.958761'}
2026-06-18 02:04:52,228 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-18 02:04:52,228 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41903396 passed
2026-06-18 02:04:52,228 - DEBUG - ====Verifying policy data for ctest-vn-41903396 in API_Server ======
2026-06-18 02:04:52,228 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-06-18 02:04:52,235 - DEBUG - Requesting: http://10.0.0.241:8082/domain/8338746b-5c5a-4754-abb3-14f74319c1fe
2026-06-18 02:04:52,251 - DEBUG - Requesting: http://10.0.0.241:8082/project/60405204-a4d1-4708-b847-7b7d6e09a40d
2026-06-18 02:04:52,328 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/698e5385-5f70-4411-9596-ddccc6cd0497
2026-06-18 02:04:52,336 - DEBUG - ==>Verifying data for policy with id: 10d58c78-0543-403c-8652-fe39890c71df, fqn: ['default-domain', 'ctest-TestBasicPolicy-66593767', 'ctest-policy-allow-all-70083938']
2026-06-18 02:04:52,336 - INFO - VN ctest-vn-41903396 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-18 02:04:52,336 - DEBUG - Verifying the vn in opserver
2026-06-18 02:04:52,337 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66593767:ctest-vn-41903396 virtual network link through opserver 10.0.0.241
2026-06-18 02:04:52,337 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-06-18 02:04:52,661 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-06-18 02:04:52,724 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66593767:ctest-vn-41903396', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66593767:ctest-vn-41903396?flat'}
2026-06-18 02:04:52,724 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66593767:ctest-vn-41903396 is found in opserver
2026-06-18 02:04:52,736 - DEBUG - Do not have enough data to verify VN in agent
2026-06-18 02:04:52,741 - DEBUG - VRF ids for VN ctest-vn-41903396: {}
2026-06-18 02:04:52,741 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-06-18 02:04:52,747 - DEBUG - Requesting: http://10.0.0.241:8082/domain/8338746b-5c5a-4754-abb3-14f74319c1fe
2026-06-18 02:04:52,757 - DEBUG - Requesting: http://10.0.0.241:8082/project/60405204-a4d1-4708-b847-7b7d6e09a40d
2026-06-18 02:04:52,826 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a3f68ce5-0d3f-468a-bee7-b7877c996a7d
2026-06-18 02:04:52,841 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a3f68ce5-0d3f-468a-bee7-b7877c996a7d
2026-06-18 02:04:52,849 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/ebd00028-c3df-492b-bd31-8d76f1266290
2026-06-18 02:04:52,855 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/ebd00028-c3df-492b-bd31-8d76f1266290
2026-06-18 02:04:52,860 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/999641fd-430a-40d1-9401-9d2ee076cc5a
2026-06-18 02:04:52,866 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-18 02:04:52,866 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a3f68ce5-0d3f-468a-bee7-b7877c996a7d
2026-06-18 02:04:52,875 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/ebd00028-c3df-492b-bd31-8d76f1266290
2026-06-18 02:04:52,892 - INFO - Verified VN network id 13 for VN a3f68ce5-0d3f-468a-bee7-b7877c996a7d
2026-06-18 02:04:52,893 - INFO - Verifications in API Server for VN ctest-vn-69552611 passed
2026-06-18 02:04:52,893 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a3f68ce5-0d3f-468a-bee7-b7877c996a7d
2026-06-18 02:04:52,901 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/ebd00028-c3df-492b-bd31-8d76f1266290
2026-06-18 02:04:52,906 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/ebd00028-c3df-492b-bd31-8d76f1266290
2026-06-18 02:04:52,911 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/999641fd-430a-40d1-9401-9d2ee076cc5a
2026-06-18 02:04:52,921 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66593767:ctest-vn-69552611', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66593767', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11814785587850725002', 'uuid-lslong': '13756165379365366397'}, 'enable': 'true', 'created': '2026-06-18T02:04:50', 'last-modified': '2026-06-18T02:04:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.429078'}
2026-06-18 02:04:52,926 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-18 02:04:52,926 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69552611 passed
2026-06-18 02:04:52,926 - DEBUG - ====Verifying policy data for ctest-vn-69552611 in API_Server ======
2026-06-18 02:04:52,927 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-06-18 02:04:52,930 - DEBUG - Requesting: http://10.0.0.241:8082/domain/8338746b-5c5a-4754-abb3-14f74319c1fe
2026-06-18 02:04:52,946 - DEBUG - Requesting: http://10.0.0.241:8082/project/60405204-a4d1-4708-b847-7b7d6e09a40d
2026-06-18 02:04:53,020 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/a3f68ce5-0d3f-468a-bee7-b7877c996a7d
2026-06-18 02:04:53,027 - DEBUG - ==>Verifying data for policy with id: 10d58c78-0543-403c-8652-fe39890c71df, fqn: ['default-domain', 'ctest-TestBasicPolicy-66593767', 'ctest-policy-allow-all-70083938']
2026-06-18 02:04:53,027 - INFO - VN ctest-vn-69552611 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-18 02:04:53,027 - DEBUG - Verifying the vn in opserver
2026-06-18 02:04:53,027 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66593767:ctest-vn-69552611 virtual network link through opserver 10.0.0.241
2026-06-18 02:04:53,027 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-06-18 02:04:53,036 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66593767:ctest-vn-69552611', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66593767:ctest-vn-69552611?flat'}
2026-06-18 02:04:53,036 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66593767:ctest-vn-69552611 is found in opserver
2026-06-18 02:04:53,044 - DEBUG - Do not have enough data to verify VN in agent
2026-06-18 02:04:53,048 - DEBUG - VRF ids for VN ctest-vn-69552611: {}
2026-06-18 02:04:53,106 - DEBUG - Services list from nova: [