2026-11-04 10:12:13,319 - INFO - Domain Default found not creating
2026-11-04 10:12:13,461 - INFO - Project ctest-TestBasicPolicy-38003054 not found, creating it
2026-11-04 10:12:13,897 - INFO - Created Project:ctest-TestBasicPolicy-38003054, ID : 547f4691-8a13-4ab0-8610-ba12db9f62f5
2026-11-04 10:12:15,331 - INFO - ================================================================================
2026-11-04 10:12:15,332 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-04 10:12:15,332 - 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-11-04 10:12:15,585 - DEBUG - Nothing to compare xmpp stats {'10.0.0.185': {'10.20.0.25': '0'}} with
2026-11-04 10:12:15,585 - INFO - Initial checks done. Running the testcase now
2026-11-04 10:12:15,585 - INFO -
2026-11-04 10:12:16,120 - DEBUG - Response for create_network : {'network': {'id': 'b5cee07e-4356-45c1-b866-f5d303ce8a1f', 'name': 'ctest-vn-91394274', 'tenant_id': '547f46918a134ab08610ba12db9f62f5', 'project_id': '547f46918a134ab08610ba12db9f62f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38003054', 'ctest-vn-91394274'], 'port_security_enabled': True, 'description': ''}}
2026-11-04 10:12:16,323 - DEBUG - Response for create_subnet : {'subnet': {'id': '621396d8-74fa-4014-b6ba-e0e3f802f3eb', 'name': '', 'tenant_id': '547f46918a134ab08610ba12db9f62f5', 'network_id': 'b5cee07e-4356-45c1-b866-f5d303ce8a1f', 'ip_version': 4, 'cidr': '85.193.221.128/26', 'allocation_pools': [{'start': '85.193.221.130', 'end': '85.193.221.190'}], 'gateway_ip': '85.193.221.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '85.193.221.130', 'tags': [], 'project_id': '547f46918a134ab08610ba12db9f62f5'}}
2026-11-04 10:12:16,335 - INFO - Created VN ctest-vn-91394274
2026-11-04 10:12:16,388 - DEBUG - VN ctest-vn-91394274 UUID is b5cee07e-4356-45c1-b866-f5d303ce8a1f
2026-11-04 10:12:16,685 - DEBUG - Response for create_network : {'network': {'id': '88b5ce3e-1fed-4079-a159-dde55293a645', 'name': 'ctest-vn-50092688', 'tenant_id': '547f46918a134ab08610ba12db9f62f5', 'project_id': '547f46918a134ab08610ba12db9f62f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38003054', 'ctest-vn-50092688'], 'port_security_enabled': True, 'description': ''}}
2026-11-04 10:12:16,859 - DEBUG - Response for create_subnet : {'subnet': {'id': '008890df-4b1a-438a-86b9-0dade8e74216', 'name': '', 'tenant_id': '547f46918a134ab08610ba12db9f62f5', 'network_id': '88b5ce3e-1fed-4079-a159-dde55293a645', 'ip_version': 4, 'cidr': '112.18.200.64/26', 'allocation_pools': [{'start': '112.18.200.66', 'end': '112.18.200.126'}], 'gateway_ip': '112.18.200.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.18.200.66', 'tags': [], 'project_id': '547f46918a134ab08610ba12db9f62f5'}}
2026-11-04 10:12:16,871 - INFO - Created VN ctest-vn-50092688
2026-11-04 10:12:16,920 - DEBUG - VN ctest-vn-50092688 UUID is 88b5ce3e-1fed-4079-a159-dde55293a645
2026-11-04 10:12:17,056 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-91394274, 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-38003054:ctest-vn-50092688, 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-11-04 10:12:17,346 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'b5cee07e-4356-45c1-b866-f5d303ce8a1f', 'name': 'ctest-vn-91394274', 'tenant_id': '547f46918a134ab08610ba12db9f62f5', 'project_id': '547f46918a134ab08610ba12db9f62f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['621396d8-74fa-4014-b6ba-e0e3f802f3eb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38003054', 'ctest-vn-91394274'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38003054', 'ctest-policy-allow-all-22919590']], 'subnet_ipam': [{'subnet_cidr': '85.193.221.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-04 10:12:17,564 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '88b5ce3e-1fed-4079-a159-dde55293a645', 'name': 'ctest-vn-50092688', 'tenant_id': '547f46918a134ab08610ba12db9f62f5', 'project_id': '547f46918a134ab08610ba12db9f62f5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['008890df-4b1a-438a-86b9-0dade8e74216'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38003054', 'ctest-vn-50092688'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38003054', 'ctest-policy-allow-all-22919590']], 'subnet_ipam': [{'subnet_cidr': '112.18.200.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-04 10:12:17,732 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-11-04 10:12:18,049 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-11-04 10:12:18,072 - DEBUG - Requesting: http://10.0.0.185:8082/domain/5972d707-fe83-49e7-9281-6c5874d144db
2026-11-04 10:12:18,082 - DEBUG - Requesting: http://10.0.0.185:8082/project/547f4691-8a13-4ab0-8610-ba12db9f62f5
2026-11-04 10:12:18,149 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b5cee07e-4356-45c1-b866-f5d303ce8a1f
2026-11-04 10:12:18,159 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b5cee07e-4356-45c1-b866-f5d303ce8a1f
2026-11-04 10:12:18,166 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/e349f051-0802-44ee-8b0a-e7350f627024
2026-11-04 10:12:18,172 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/e349f051-0802-44ee-8b0a-e7350f627024
2026-11-04 10:12:18,177 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/11eadd12-8849-46cb-afa3-2bbaaac99606
2026-11-04 10:12:18,182 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-04 10:12:18,182 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b5cee07e-4356-45c1-b866-f5d303ce8a1f
2026-11-04 10:12:18,189 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/e349f051-0802-44ee-8b0a-e7350f627024
2026-11-04 10:12:18,200 - INFO - Verified VN network id 10 for VN b5cee07e-4356-45c1-b866-f5d303ce8a1f
2026-11-04 10:12:18,200 - INFO - Verifications in API Server for VN ctest-vn-91394274 passed
2026-11-04 10:12:18,200 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b5cee07e-4356-45c1-b866-f5d303ce8a1f
2026-11-04 10:12:18,206 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/e349f051-0802-44ee-8b0a-e7350f627024
2026-11-04 10:12:18,211 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/e349f051-0802-44ee-8b0a-e7350f627024
2026-11-04 10:12:18,224 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/11eadd12-8849-46cb-afa3-2bbaaac99606
2026-11-04 10:12:18,233 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-91394274', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38003054', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13100655198967580097', 'uuid-lslong': '13287578037253999135'}, 'enable': 'true', 'created': '2026-11-04T10:12:16', 'last-modified': '2026-11-04T10:12:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.918336'}
2026-11-04 10:12:18,239 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-04 10:12:18,239 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91394274 passed
2026-11-04 10:12:18,239 - DEBUG - ====Verifying policy data for ctest-vn-91394274 in API_Server ======
2026-11-04 10:12:18,239 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-11-04 10:12:18,243 - DEBUG - Requesting: http://10.0.0.185:8082/domain/5972d707-fe83-49e7-9281-6c5874d144db
2026-11-04 10:12:18,251 - DEBUG - Requesting: http://10.0.0.185:8082/project/547f4691-8a13-4ab0-8610-ba12db9f62f5
2026-11-04 10:12:18,319 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/b5cee07e-4356-45c1-b866-f5d303ce8a1f
2026-11-04 10:12:18,327 - DEBUG - ==>Verifying data for policy with id: 2edc1389-0bc3-4322-a317-e53745be0384, fqn: ['default-domain', 'ctest-TestBasicPolicy-38003054', 'ctest-policy-allow-all-22919590']
2026-11-04 10:12:18,327 - INFO - VN ctest-vn-91394274 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-04 10:12:18,327 - DEBUG - Verifying the vn in opserver
2026-11-04 10:12:18,327 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-91394274 virtual network link through opserver 10.0.0.185
2026-11-04 10:12:18,327 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-11-04 10:12:18,641 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-11-04 10:12:18,685 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-91394274', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-91394274?flat'}
2026-11-04 10:12:18,685 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-91394274 is found in opserver
2026-11-04 10:12:18,693 - DEBUG - Do not have enough data to verify VN in agent
2026-11-04 10:12:18,697 - DEBUG - VRF ids for VN ctest-vn-91394274: {}
2026-11-04 10:12:18,697 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-11-04 10:12:18,701 - DEBUG - Requesting: http://10.0.0.185:8082/domain/5972d707-fe83-49e7-9281-6c5874d144db
2026-11-04 10:12:18,713 - DEBUG - Requesting: http://10.0.0.185:8082/project/547f4691-8a13-4ab0-8610-ba12db9f62f5
2026-11-04 10:12:18,780 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/88b5ce3e-1fed-4079-a159-dde55293a645
2026-11-04 10:12:18,790 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/88b5ce3e-1fed-4079-a159-dde55293a645
2026-11-04 10:12:18,798 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/ce463146-42cf-439a-8326-2921f715df24
2026-11-04 10:12:18,804 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/ce463146-42cf-439a-8326-2921f715df24
2026-11-04 10:12:18,809 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/8cc6606b-cca8-4403-bd01-03beced08b91
2026-11-04 10:12:18,814 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-04 10:12:18,814 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/88b5ce3e-1fed-4079-a159-dde55293a645
2026-11-04 10:12:18,821 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/ce463146-42cf-439a-8326-2921f715df24
2026-11-04 10:12:18,830 - INFO - Verified VN network id 11 for VN 88b5ce3e-1fed-4079-a159-dde55293a645
2026-11-04 10:12:18,830 - INFO - Verifications in API Server for VN ctest-vn-50092688 passed
2026-11-04 10:12:18,830 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/88b5ce3e-1fed-4079-a159-dde55293a645
2026-11-04 10:12:18,838 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/ce463146-42cf-439a-8326-2921f715df24
2026-11-04 10:12:18,842 - DEBUG - Requesting: http://10.0.0.185:8082/routing-instance/ce463146-42cf-439a-8326-2921f715df24
2026-11-04 10:12:18,848 - DEBUG - Requesting: http://10.0.0.185:8082/route-target/8cc6606b-cca8-4403-bd01-03beced08b91
2026-11-04 10:12:18,858 - DEBUG - Control-node 10.0.0.185 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-50092688', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38003054', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9851006526161764473', 'uuid-lslong': '11626567890036303429'}, 'enable': 'true', 'created': '2026-11-04T10:12:16', 'last-modified': '2026-11-04T10:12:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.315712'}
2026-11-04 10:12:18,863 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-04 10:12:18,863 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50092688 passed
2026-11-04 10:12:18,864 - DEBUG - ====Verifying policy data for ctest-vn-50092688 in API_Server ======
2026-11-04 10:12:18,864 - DEBUG - Requesting: http://10.0.0.185:8082/domains
2026-11-04 10:12:18,868 - DEBUG - Requesting: http://10.0.0.185:8082/domain/5972d707-fe83-49e7-9281-6c5874d144db
2026-11-04 10:12:18,877 - DEBUG - Requesting: http://10.0.0.185:8082/project/547f4691-8a13-4ab0-8610-ba12db9f62f5
2026-11-04 10:12:18,951 - DEBUG - Requesting: http://10.0.0.185:8082/virtual-network/88b5ce3e-1fed-4079-a159-dde55293a645
2026-11-04 10:12:18,959 - DEBUG - ==>Verifying data for policy with id: 2edc1389-0bc3-4322-a317-e53745be0384, fqn: ['default-domain', 'ctest-TestBasicPolicy-38003054', 'ctest-policy-allow-all-22919590']
2026-11-04 10:12:18,959 - INFO - VN ctest-vn-50092688 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-04 10:12:18,959 - DEBUG - Verifying the vn in opserver
2026-11-04 10:12:18,959 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-50092688 virtual network link through opserver 10.0.0.185
2026-11-04 10:12:18,959 - DEBUG - Requesting: http://10.0.0.185:8081/analytics/uves/virtual-networks
2026-11-04 10:12:18,968 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-50092688', 'href': 'http://10.0.0.185:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-50092688?flat'}
2026-11-04 10:12:18,968 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38003054:ctest-vn-50092688 is found in opserver
2026-11-04 10:12:18,977 - DEBUG - Do not have enough data to verify VN in agent
2026-11-04 10:12:18,981 - DEBUG - VRF ids for VN ctest-vn-50092688: {}
2026-11-04 10:12:19,028 - DEBUG - Services list from nova: [