2026-06-19 18:33:10,477 - INFO - Domain Default found not creating
2026-06-19 18:33:10,605 - INFO - Project ctest-TestBasicPolicy-41746745 not found, creating it
2026-06-19 18:33:11,044 - INFO - Created Project:ctest-TestBasicPolicy-41746745, ID : a9ea24bc-0259-4f9f-a041-4fb390297029
2026-06-19 18:33:12,418 - INFO - ================================================================================
2026-06-19 18:33:12,419 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-19 18:33:12,419 - 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-19 18:33:12,683 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with
2026-06-19 18:33:12,683 - INFO - Initial checks done. Running the testcase now
2026-06-19 18:33:12,683 - INFO -
2026-06-19 18:33:13,211 - DEBUG - Response for create_network : {'network': {'id': 'a6f8e58d-e3cf-4962-87b4-8a3562490591', 'name': 'ctest-vn-10436109', 'tenant_id': 'a9ea24bc02594f9fa0414fb390297029', 'project_id': 'a9ea24bc02594f9fa0414fb390297029', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41746745', 'ctest-vn-10436109'], 'port_security_enabled': True, 'description': ''}}
2026-06-19 18:33:13,345 - DEBUG - Response for create_subnet : {'subnet': {'id': '57f72dd9-bfbd-45a2-bf64-4077f6e47955', 'name': '', 'tenant_id': 'a9ea24bc02594f9fa0414fb390297029', 'network_id': 'a6f8e58d-e3cf-4962-87b4-8a3562490591', 'ip_version': 4, 'cidr': '20.41.126.128/26', 'allocation_pools': [{'start': '20.41.126.130', 'end': '20.41.126.190'}], 'gateway_ip': '20.41.126.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.41.126.130', 'tags': [], 'project_id': 'a9ea24bc02594f9fa0414fb390297029'}}
2026-06-19 18:33:13,359 - INFO - Created VN ctest-vn-10436109
2026-06-19 18:33:13,407 - DEBUG - VN ctest-vn-10436109 UUID is a6f8e58d-e3cf-4962-87b4-8a3562490591
2026-06-19 18:33:13,702 - DEBUG - Response for create_network : {'network': {'id': '48939dea-2eeb-49ec-abdf-fc7b78d587cf', 'name': 'ctest-vn-56165683', 'tenant_id': 'a9ea24bc02594f9fa0414fb390297029', 'project_id': 'a9ea24bc02594f9fa0414fb390297029', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41746745', 'ctest-vn-56165683'], 'port_security_enabled': True, 'description': ''}}
2026-06-19 18:33:13,854 - DEBUG - Response for create_subnet : {'subnet': {'id': '684bf47e-5ca2-4825-bb0c-2d3c8bfcf3bc', 'name': '', 'tenant_id': 'a9ea24bc02594f9fa0414fb390297029', 'network_id': '48939dea-2eeb-49ec-abdf-fc7b78d587cf', 'ip_version': 4, 'cidr': '198.140.172.192/26', 'allocation_pools': [{'start': '198.140.172.194', 'end': '198.140.172.254'}], 'gateway_ip': '198.140.172.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.140.172.194', 'tags': [], 'project_id': 'a9ea24bc02594f9fa0414fb390297029'}}
2026-06-19 18:33:13,867 - INFO - Created VN ctest-vn-56165683
2026-06-19 18:33:13,919 - DEBUG - VN ctest-vn-56165683 UUID is 48939dea-2eeb-49ec-abdf-fc7b78d587cf
2026-06-19 18:33:14,055 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-10436109, 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-41746745:ctest-vn-56165683, 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-19 18:33:14,327 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a6f8e58d-e3cf-4962-87b4-8a3562490591', 'name': 'ctest-vn-10436109', 'tenant_id': 'a9ea24bc02594f9fa0414fb390297029', 'project_id': 'a9ea24bc02594f9fa0414fb390297029', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['57f72dd9-bfbd-45a2-bf64-4077f6e47955'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41746745', 'ctest-vn-10436109'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41746745', 'ctest-policy-allow-all-70213622']], 'subnet_ipam': [{'subnet_cidr': '20.41.126.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-19 18:33:14,532 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48939dea-2eeb-49ec-abdf-fc7b78d587cf', 'name': 'ctest-vn-56165683', 'tenant_id': 'a9ea24bc02594f9fa0414fb390297029', 'project_id': 'a9ea24bc02594f9fa0414fb390297029', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['684bf47e-5ca2-4825-bb0c-2d3c8bfcf3bc'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41746745', 'ctest-vn-56165683'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41746745', 'ctest-policy-allow-all-70213622']], 'subnet_ipam': [{'subnet_cidr': '198.140.172.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-19 18:33:14,687 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-19 18:33:15,001 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-19 18:33:15,023 - DEBUG - Requesting: http://10.0.0.33:8082/domain/557505ac-6a99-45d5-8320-cac4d8aae725
2026-06-19 18:33:15,034 - DEBUG - Requesting: http://10.0.0.33:8082/project/a9ea24bc-0259-4f9f-a041-4fb390297029
2026-06-19 18:33:15,102 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a6f8e58d-e3cf-4962-87b4-8a3562490591
2026-06-19 18:33:15,111 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a6f8e58d-e3cf-4962-87b4-8a3562490591
2026-06-19 18:33:15,118 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/812ee153-a58d-4249-9526-88dd25026e0b
2026-06-19 18:33:15,123 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/812ee153-a58d-4249-9526-88dd25026e0b
2026-06-19 18:33:15,128 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f6ec4e8e-de24-4c7f-8ae5-e5b87abe1086
2026-06-19 18:33:15,133 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-19 18:33:15,133 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a6f8e58d-e3cf-4962-87b4-8a3562490591
2026-06-19 18:33:15,139 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/812ee153-a58d-4249-9526-88dd25026e0b
2026-06-19 18:33:15,149 - INFO - Verified VN network id 11 for VN a6f8e58d-e3cf-4962-87b4-8a3562490591
2026-06-19 18:33:15,149 - INFO - Verifications in API Server for VN ctest-vn-10436109 passed
2026-06-19 18:33:15,149 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a6f8e58d-e3cf-4962-87b4-8a3562490591
2026-06-19 18:33:15,156 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/812ee153-a58d-4249-9526-88dd25026e0b
2026-06-19 18:33:15,161 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/812ee153-a58d-4249-9526-88dd25026e0b
2026-06-19 18:33:15,166 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f6ec4e8e-de24-4c7f-8ae5-e5b87abe1086
2026-06-19 18:33:15,175 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-10436109', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41746745', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12031618802095442274', 'uuid-lslong': '9778592652815041937'}, 'enable': 'true', 'created': '2026-06-19T18:33:13', 'last-modified': '2026-06-19T18:33:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.867077'}
2026-06-19 18:33:15,180 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-19 18:33:15,180 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10436109 passed
2026-06-19 18:33:15,180 - DEBUG - ====Verifying policy data for ctest-vn-10436109 in API_Server ======
2026-06-19 18:33:15,180 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-19 18:33:15,184 - DEBUG - Requesting: http://10.0.0.33:8082/domain/557505ac-6a99-45d5-8320-cac4d8aae725
2026-06-19 18:33:15,193 - DEBUG - Requesting: http://10.0.0.33:8082/project/a9ea24bc-0259-4f9f-a041-4fb390297029
2026-06-19 18:33:15,258 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a6f8e58d-e3cf-4962-87b4-8a3562490591
2026-06-19 18:33:15,266 - DEBUG - ==>Verifying data for policy with id: 297473c6-66c7-4e3a-a1d3-bdc492c2f303, fqn: ['default-domain', 'ctest-TestBasicPolicy-41746745', 'ctest-policy-allow-all-70213622']
2026-06-19 18:33:15,266 - INFO - VN ctest-vn-10436109 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-19 18:33:15,266 - DEBUG - Verifying the vn in opserver
2026-06-19 18:33:15,266 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-10436109 virtual network link through opserver 10.0.0.33
2026-06-19 18:33:15,266 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-19 18:33:15,578 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-19 18:33:15,620 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-10436109', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-10436109?flat'}
2026-06-19 18:33:15,620 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-10436109 is found in opserver
2026-06-19 18:33:15,634 - DEBUG - Do not have enough data to verify VN in agent
2026-06-19 18:33:15,640 - DEBUG - VRF ids for VN ctest-vn-10436109: {}
2026-06-19 18:33:15,640 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-19 18:33:15,644 - DEBUG - Requesting: http://10.0.0.33:8082/domain/557505ac-6a99-45d5-8320-cac4d8aae725
2026-06-19 18:33:15,653 - DEBUG - Requesting: http://10.0.0.33:8082/project/a9ea24bc-0259-4f9f-a041-4fb390297029
2026-06-19 18:33:15,718 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48939dea-2eeb-49ec-abdf-fc7b78d587cf
2026-06-19 18:33:15,728 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48939dea-2eeb-49ec-abdf-fc7b78d587cf
2026-06-19 18:33:15,735 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9018e295-92c6-4608-a5dd-86c3f6617e59
2026-06-19 18:33:15,740 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9018e295-92c6-4608-a5dd-86c3f6617e59
2026-06-19 18:33:15,745 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/23a0c9fa-5e64-42b0-bedf-8597de0911e7
2026-06-19 18:33:15,750 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-19 18:33:15,750 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48939dea-2eeb-49ec-abdf-fc7b78d587cf
2026-06-19 18:33:15,757 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9018e295-92c6-4608-a5dd-86c3f6617e59
2026-06-19 18:33:15,767 - INFO - Verified VN network id 12 for VN 48939dea-2eeb-49ec-abdf-fc7b78d587cf
2026-06-19 18:33:15,767 - INFO - Verifications in API Server for VN ctest-vn-56165683 passed
2026-06-19 18:33:15,767 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48939dea-2eeb-49ec-abdf-fc7b78d587cf
2026-06-19 18:33:15,774 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9018e295-92c6-4608-a5dd-86c3f6617e59
2026-06-19 18:33:15,779 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9018e295-92c6-4608-a5dd-86c3f6617e59
2026-06-19 18:33:15,784 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/23a0c9fa-5e64-42b0-bedf-8597de0911e7
2026-06-19 18:33:15,794 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-56165683', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41746745', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5229697221442357740', 'uuid-lslong': '12384895107530590159'}, 'enable': 'true', 'created': '2026-06-19T18:33:13', 'last-modified': '2026-06-19T18:33:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.280400'}
2026-06-19 18:33:15,799 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-19 18:33:15,800 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56165683 passed
2026-06-19 18:33:15,800 - DEBUG - ====Verifying policy data for ctest-vn-56165683 in API_Server ======
2026-06-19 18:33:15,800 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-19 18:33:15,804 - DEBUG - Requesting: http://10.0.0.33:8082/domain/557505ac-6a99-45d5-8320-cac4d8aae725
2026-06-19 18:33:15,812 - DEBUG - Requesting: http://10.0.0.33:8082/project/a9ea24bc-0259-4f9f-a041-4fb390297029
2026-06-19 18:33:15,880 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/48939dea-2eeb-49ec-abdf-fc7b78d587cf
2026-06-19 18:33:15,888 - DEBUG - ==>Verifying data for policy with id: 297473c6-66c7-4e3a-a1d3-bdc492c2f303, fqn: ['default-domain', 'ctest-TestBasicPolicy-41746745', 'ctest-policy-allow-all-70213622']
2026-06-19 18:33:15,888 - INFO - VN ctest-vn-56165683 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-19 18:33:15,888 - DEBUG - Verifying the vn in opserver
2026-06-19 18:33:15,889 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-56165683 virtual network link through opserver 10.0.0.33
2026-06-19 18:33:15,889 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-19 18:33:15,896 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-56165683', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-56165683?flat'}
2026-06-19 18:33:15,896 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41746745:ctest-vn-56165683 is found in opserver
2026-06-19 18:33:15,905 - DEBUG - Do not have enough data to verify VN in agent
2026-06-19 18:33:15,910 - DEBUG - VRF ids for VN ctest-vn-56165683: {}
2026-06-19 18:33:15,958 - DEBUG - Services list from nova: [