2026-02-27 18:01:12,223 - INFO - Domain Default found not creating
2026-02-27 18:01:12,404 - INFO - Project ctest-TestBasicPolicy-36425132 not found, creating it
2026-02-27 18:01:12,880 - INFO - Created Project:ctest-TestBasicPolicy-36425132, ID : a923cb12-69c4-49ab-80e7-30bb4b0232df
2026-02-27 18:01:14,362 - INFO - ================================================================================
2026-02-27 18:01:14,362 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-27 18:01:14,362 - 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-27 18:01:14,616 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-02-27 18:01:14,616 - INFO - Initial checks done. Running the testcase now
2026-02-27 18:01:14,617 - INFO -
2026-02-27 18:01:15,222 - DEBUG - Response for create_network : {'network': {'id': 'e8f63980-ec3d-455b-b84f-18a1b515daf2', 'name': 'ctest-vn-93963759', 'tenant_id': 'a923cb1269c449ab80e730bb4b0232df', 'project_id': 'a923cb1269c449ab80e730bb4b0232df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36425132', 'ctest-vn-93963759'], 'port_security_enabled': True, 'description': ''}}
2026-02-27 18:01:15,417 - DEBUG - Response for create_subnet : {'subnet': {'id': '552cb0a6-f736-4d0a-896e-0ba820eac5d7', 'name': '', 'tenant_id': 'a923cb1269c449ab80e730bb4b0232df', 'network_id': 'e8f63980-ec3d-455b-b84f-18a1b515daf2', 'ip_version': 4, 'cidr': '79.132.233.0/26', 'allocation_pools': [{'start': '79.132.233.2', 'end': '79.132.233.62'}], 'gateway_ip': '79.132.233.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.132.233.2', 'tags': [], 'project_id': 'a923cb1269c449ab80e730bb4b0232df'}}
2026-02-27 18:01:15,435 - INFO - Created VN ctest-vn-93963759
2026-02-27 18:01:15,487 - DEBUG - VN ctest-vn-93963759 UUID is e8f63980-ec3d-455b-b84f-18a1b515daf2
2026-02-27 18:01:15,774 - DEBUG - Response for create_network : {'network': {'id': '3c07a60b-cf2d-48d2-82d5-44048a65cfe9', 'name': 'ctest-vn-10556162', 'tenant_id': 'a923cb1269c449ab80e730bb4b0232df', 'project_id': 'a923cb1269c449ab80e730bb4b0232df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36425132', 'ctest-vn-10556162'], 'port_security_enabled': True, 'description': ''}}
2026-02-27 18:01:16,002 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cd926eeb-306a-4383-8774-6a64fd772902', 'name': '', 'tenant_id': 'a923cb1269c449ab80e730bb4b0232df', 'network_id': '3c07a60b-cf2d-48d2-82d5-44048a65cfe9', 'ip_version': 4, 'cidr': '6.186.192.0/26', 'allocation_pools': [{'start': '6.186.192.2', 'end': '6.186.192.62'}], 'gateway_ip': '6.186.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '6.186.192.2', 'tags': [], 'project_id': 'a923cb1269c449ab80e730bb4b0232df'}}
2026-02-27 18:01:16,020 - INFO - Created VN ctest-vn-10556162
2026-02-27 18:01:16,071 - DEBUG - VN ctest-vn-10556162 UUID is 3c07a60b-cf2d-48d2-82d5-44048a65cfe9
2026-02-27 18:01:16,188 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-93963759, 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-36425132:ctest-vn-10556162, 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-27 18:01:16,477 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e8f63980-ec3d-455b-b84f-18a1b515daf2', 'name': 'ctest-vn-93963759', 'tenant_id': 'a923cb1269c449ab80e730bb4b0232df', 'project_id': 'a923cb1269c449ab80e730bb4b0232df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['552cb0a6-f736-4d0a-896e-0ba820eac5d7'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36425132', 'ctest-vn-93963759'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36425132', 'ctest-policy-allow-all-70181460']], 'subnet_ipam': [{'subnet_cidr': '79.132.233.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-27 18:01:16,710 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3c07a60b-cf2d-48d2-82d5-44048a65cfe9', 'name': 'ctest-vn-10556162', 'tenant_id': 'a923cb1269c449ab80e730bb4b0232df', 'project_id': 'a923cb1269c449ab80e730bb4b0232df', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cd926eeb-306a-4383-8774-6a64fd772902'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-36425132', 'ctest-vn-10556162'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-36425132', 'ctest-policy-allow-all-70181460']], 'subnet_ipam': [{'subnet_cidr': '6.186.192.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-27 18:01:16,859 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-27 18:01:17,160 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-27 18:01:17,193 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6a7c7f1d-356c-4cce-9958-f511dd3ecfaf
2026-02-27 18:01:17,206 - DEBUG - Requesting: http://10.0.0.22:8082/project/a923cb12-69c4-49ab-80e7-30bb4b0232df
2026-02-27 18:01:17,276 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e8f63980-ec3d-455b-b84f-18a1b515daf2
2026-02-27 18:01:17,286 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e8f63980-ec3d-455b-b84f-18a1b515daf2
2026-02-27 18:01:17,295 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/23d634f9-0d8c-45f3-ae91-f4294c93b85f
2026-02-27 18:01:17,302 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/23d634f9-0d8c-45f3-ae91-f4294c93b85f
2026-02-27 18:01:17,308 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/8fd4db04-a424-4751-9a01-ff6708d4a596
2026-02-27 18:01:17,314 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-27 18:01:17,314 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e8f63980-ec3d-455b-b84f-18a1b515daf2
2026-02-27 18:01:17,322 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/23d634f9-0d8c-45f3-ae91-f4294c93b85f
2026-02-27 18:01:17,336 - INFO - Verified VN network id 11 for VN e8f63980-ec3d-455b-b84f-18a1b515daf2
2026-02-27 18:01:17,337 - INFO - Verifications in API Server for VN ctest-vn-93963759 passed
2026-02-27 18:01:17,337 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e8f63980-ec3d-455b-b84f-18a1b515daf2
2026-02-27 18:01:17,347 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/23d634f9-0d8c-45f3-ae91-f4294c93b85f
2026-02-27 18:01:17,355 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/23d634f9-0d8c-45f3-ae91-f4294c93b85f
2026-02-27 18:01:17,363 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/8fd4db04-a424-4751-9a01-ff6708d4a596
2026-02-27 18:01:17,378 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-93963759', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36425132', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16786667886952138075', 'uuid-lslong': '13280860908945791730'}, 'enable': 'true', 'created': '2026-02-27T18:01:15', 'last-modified': '2026-02-27T18:01:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.919118'}
2026-02-27 18:01:17,385 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-27 18:01:17,385 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93963759 passed
2026-02-27 18:01:17,385 - DEBUG - ====Verifying policy data for ctest-vn-93963759 in API_Server ======
2026-02-27 18:01:17,385 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-27 18:01:17,390 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6a7c7f1d-356c-4cce-9958-f511dd3ecfaf
2026-02-27 18:01:17,401 - DEBUG - Requesting: http://10.0.0.22:8082/project/a923cb12-69c4-49ab-80e7-30bb4b0232df
2026-02-27 18:01:17,469 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/e8f63980-ec3d-455b-b84f-18a1b515daf2
2026-02-27 18:01:17,480 - DEBUG - ==>Verifying data for policy with id: 0f0cee9f-8ce1-4ab0-bf2f-42312b8cf4c1, fqn: ['default-domain', 'ctest-TestBasicPolicy-36425132', 'ctest-policy-allow-all-70181460']
2026-02-27 18:01:17,480 - INFO - VN ctest-vn-93963759 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-27 18:01:17,480 - DEBUG - Verifying the vn in opserver
2026-02-27 18:01:17,481 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-93963759 virtual network link through opserver 10.0.0.22
2026-02-27 18:01:17,481 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-27 18:01:17,781 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-27 18:01:17,845 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-93963759', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-93963759?flat'}
2026-02-27 18:01:17,845 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-93963759 is found in opserver
2026-02-27 18:01:17,854 - DEBUG - Do not have enough data to verify VN in agent
2026-02-27 18:01:17,858 - DEBUG - VRF ids for VN ctest-vn-93963759: {}
2026-02-27 18:01:17,858 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-27 18:01:17,863 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6a7c7f1d-356c-4cce-9958-f511dd3ecfaf
2026-02-27 18:01:17,875 - DEBUG - Requesting: http://10.0.0.22:8082/project/a923cb12-69c4-49ab-80e7-30bb4b0232df
2026-02-27 18:01:17,944 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3c07a60b-cf2d-48d2-82d5-44048a65cfe9
2026-02-27 18:01:17,955 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3c07a60b-cf2d-48d2-82d5-44048a65cfe9
2026-02-27 18:01:17,964 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f57b0f14-d0ba-4d55-83fb-56f60b4b40b0
2026-02-27 18:01:17,972 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f57b0f14-d0ba-4d55-83fb-56f60b4b40b0
2026-02-27 18:01:17,978 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/ffe27c49-362a-4d87-a164-9251d1c8c971
2026-02-27 18:01:17,985 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-27 18:01:17,985 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3c07a60b-cf2d-48d2-82d5-44048a65cfe9
2026-02-27 18:01:17,996 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f57b0f14-d0ba-4d55-83fb-56f60b4b40b0
2026-02-27 18:01:18,011 - INFO - Verified VN network id 12 for VN 3c07a60b-cf2d-48d2-82d5-44048a65cfe9
2026-02-27 18:01:18,012 - INFO - Verifications in API Server for VN ctest-vn-10556162 passed
2026-02-27 18:01:18,012 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3c07a60b-cf2d-48d2-82d5-44048a65cfe9
2026-02-27 18:01:18,022 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f57b0f14-d0ba-4d55-83fb-56f60b4b40b0
2026-02-27 18:01:18,029 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/f57b0f14-d0ba-4d55-83fb-56f60b4b40b0
2026-02-27 18:01:18,037 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/ffe27c49-362a-4d87-a164-9251d1c8c971
2026-02-27 18:01:18,052 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-10556162', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-36425132', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4325608536763353298', 'uuid-lslong': '9427516181262487529'}, 'enable': 'true', 'created': '2026-02-27T18:01:15', 'last-modified': '2026-02-27T18:01:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.366425'}
2026-02-27 18:01:18,058 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-27 18:01:18,058 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-10556162 passed
2026-02-27 18:01:18,058 - DEBUG - ====Verifying policy data for ctest-vn-10556162 in API_Server ======
2026-02-27 18:01:18,058 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-27 18:01:18,064 - DEBUG - Requesting: http://10.0.0.22:8082/domain/6a7c7f1d-356c-4cce-9958-f511dd3ecfaf
2026-02-27 18:01:18,074 - DEBUG - Requesting: http://10.0.0.22:8082/project/a923cb12-69c4-49ab-80e7-30bb4b0232df
2026-02-27 18:01:18,147 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/3c07a60b-cf2d-48d2-82d5-44048a65cfe9
2026-02-27 18:01:18,156 - DEBUG - ==>Verifying data for policy with id: 0f0cee9f-8ce1-4ab0-bf2f-42312b8cf4c1, fqn: ['default-domain', 'ctest-TestBasicPolicy-36425132', 'ctest-policy-allow-all-70181460']
2026-02-27 18:01:18,156 - INFO - VN ctest-vn-10556162 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-27 18:01:18,156 - DEBUG - Verifying the vn in opserver
2026-02-27 18:01:18,156 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-10556162 virtual network link through opserver 10.0.0.22
2026-02-27 18:01:18,156 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-27 18:01:18,166 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-10556162', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-10556162?flat'}
2026-02-27 18:01:18,166 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-36425132:ctest-vn-10556162 is found in opserver
2026-02-27 18:01:18,179 - DEBUG - Do not have enough data to verify VN in agent
2026-02-27 18:01:18,183 - DEBUG - VRF ids for VN ctest-vn-10556162: {}
2026-02-27 18:01:18,241 - DEBUG - Services list from nova: [