2026-05-28 14:36:33,146 - INFO - Domain Default found not creating
2026-05-28 14:36:33,351 - INFO - Project ctest-TestBasicPolicy-49092807 not found, creating it
2026-05-28 14:36:33,839 - INFO - Created Project:ctest-TestBasicPolicy-49092807, ID : 24fe1a6e-95cf-44c2-8a38-e744b63e9296
2026-05-28 14:36:35,409 - INFO - ================================================================================
2026-05-28 14:36:35,409 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-28 14:36:35,409 - 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-05-28 14:36:35,690 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2026-05-28 14:36:35,690 - INFO - Initial checks done. Running the testcase now
2026-05-28 14:36:35,690 - INFO -
2026-05-28 14:36:36,285 - DEBUG - Response for create_network : {'network': {'id': '48df269d-e839-471d-a528-60af7dab09b3', 'name': 'ctest-vn-69994170', 'tenant_id': '24fe1a6e95cf44c28a38e744b63e9296', 'project_id': '24fe1a6e95cf44c28a38e744b63e9296', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49092807', 'ctest-vn-69994170'], 'port_security_enabled': True, 'description': ''}}
2026-05-28 14:36:36,504 - DEBUG - Response for create_subnet : {'subnet': {'id': '45ef9367-81ea-44aa-8d54-b107a7804249', 'name': '', 'tenant_id': '24fe1a6e95cf44c28a38e744b63e9296', 'network_id': '48df269d-e839-471d-a528-60af7dab09b3', 'ip_version': 4, 'cidr': '47.197.15.64/26', 'allocation_pools': [{'start': '47.197.15.66', 'end': '47.197.15.126'}], 'gateway_ip': '47.197.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '47.197.15.66', 'tags': [], 'project_id': '24fe1a6e95cf44c28a38e744b63e9296'}}
2026-05-28 14:36:36,526 - INFO - Created VN ctest-vn-69994170
2026-05-28 14:36:36,580 - DEBUG - VN ctest-vn-69994170 UUID is 48df269d-e839-471d-a528-60af7dab09b3
2026-05-28 14:36:36,934 - DEBUG - Response for create_network : {'network': {'id': '17e7208f-40bf-49c3-bd00-90cbedfa1f25', 'name': 'ctest-vn-16195413', 'tenant_id': '24fe1a6e95cf44c28a38e744b63e9296', 'project_id': '24fe1a6e95cf44c28a38e744b63e9296', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49092807', 'ctest-vn-16195413'], 'port_security_enabled': True, 'description': ''}}
2026-05-28 14:36:37,171 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b0319eb5-54dd-4790-9af5-c66a958d8e4e', 'name': '', 'tenant_id': '24fe1a6e95cf44c28a38e744b63e9296', 'network_id': '17e7208f-40bf-49c3-bd00-90cbedfa1f25', 'ip_version': 4, 'cidr': '99.234.152.128/26', 'allocation_pools': [{'start': '99.234.152.130', 'end': '99.234.152.190'}], 'gateway_ip': '99.234.152.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.234.152.130', 'tags': [], 'project_id': '24fe1a6e95cf44c28a38e744b63e9296'}}
2026-05-28 14:36:37,196 - INFO - Created VN ctest-vn-16195413
2026-05-28 14:36:37,252 - DEBUG - VN ctest-vn-16195413 UUID is 17e7208f-40bf-49c3-bd00-90cbedfa1f25
2026-05-28 14:36:37,381 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-69994170, 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-49092807:ctest-vn-16195413, 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-05-28 14:36:37,717 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48df269d-e839-471d-a528-60af7dab09b3', 'name': 'ctest-vn-69994170', 'tenant_id': '24fe1a6e95cf44c28a38e744b63e9296', 'project_id': '24fe1a6e95cf44c28a38e744b63e9296', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['45ef9367-81ea-44aa-8d54-b107a7804249'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49092807', 'ctest-vn-69994170'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49092807', 'ctest-policy-allow-all-49289626']], 'subnet_ipam': [{'subnet_cidr': '47.197.15.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-28 14:36:37,961 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '17e7208f-40bf-49c3-bd00-90cbedfa1f25', 'name': 'ctest-vn-16195413', 'tenant_id': '24fe1a6e95cf44c28a38e744b63e9296', 'project_id': '24fe1a6e95cf44c28a38e744b63e9296', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b0319eb5-54dd-4790-9af5-c66a958d8e4e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49092807', 'ctest-vn-16195413'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49092807', 'ctest-policy-allow-all-49289626']], 'subnet_ipam': [{'subnet_cidr': '99.234.152.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-28 14:36:38,128 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-05-28 14:36:38,432 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-05-28 14:36:38,484 - DEBUG - Requesting: http://10.0.0.249:8082/domain/51551d90-0d66-4cdf-b60c-b6c23a4db702
2026-05-28 14:36:38,497 - DEBUG - Requesting: http://10.0.0.249:8082/project/24fe1a6e-95cf-44c2-8a38-e744b63e9296
2026-05-28 14:36:38,588 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48df269d-e839-471d-a528-60af7dab09b3
2026-05-28 14:36:38,600 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48df269d-e839-471d-a528-60af7dab09b3
2026-05-28 14:36:38,611 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5a901598-06b9-44fe-ba68-571672d750d5
2026-05-28 14:36:38,622 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5a901598-06b9-44fe-ba68-571672d750d5
2026-05-28 14:36:38,632 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/78c65542-601e-4583-a207-04aad36a25ee
2026-05-28 14:36:38,639 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-28 14:36:38,639 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48df269d-e839-471d-a528-60af7dab09b3
2026-05-28 14:36:38,650 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5a901598-06b9-44fe-ba68-571672d750d5
2026-05-28 14:36:38,667 - INFO - Verified VN network id 9 for VN 48df269d-e839-471d-a528-60af7dab09b3
2026-05-28 14:36:38,667 - INFO - Verifications in API Server for VN ctest-vn-69994170 passed
2026-05-28 14:36:38,667 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48df269d-e839-471d-a528-60af7dab09b3
2026-05-28 14:36:38,677 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5a901598-06b9-44fe-ba68-571672d750d5
2026-05-28 14:36:38,686 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/5a901598-06b9-44fe-ba68-571672d750d5
2026-05-28 14:36:38,695 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/78c65542-601e-4583-a207-04aad36a25ee
2026-05-28 14:36:38,709 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-69994170', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49092807', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5250958150185076509', 'uuid-lslong': '11900868322170440115'}, 'enable': 'true', 'created': '2026-05-28T14:36:36', 'last-modified': '2026-05-28T14:36:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.021697'}
2026-05-28 14:36:38,715 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-28 14:36:38,715 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69994170 passed
2026-05-28 14:36:38,715 - DEBUG - ====Verifying policy data for ctest-vn-69994170 in API_Server ======
2026-05-28 14:36:38,715 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-05-28 14:36:38,722 - DEBUG - Requesting: http://10.0.0.249:8082/domain/51551d90-0d66-4cdf-b60c-b6c23a4db702
2026-05-28 14:36:38,736 - DEBUG - Requesting: http://10.0.0.249:8082/project/24fe1a6e-95cf-44c2-8a38-e744b63e9296
2026-05-28 14:36:38,813 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/48df269d-e839-471d-a528-60af7dab09b3
2026-05-28 14:36:38,823 - DEBUG - ==>Verifying data for policy with id: 4485a14a-988d-44f2-9416-4d72ede58f26, fqn: ['default-domain', 'ctest-TestBasicPolicy-49092807', 'ctest-policy-allow-all-49289626']
2026-05-28 14:36:38,823 - INFO - VN ctest-vn-69994170 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-28 14:36:38,823 - DEBUG - Verifying the vn in opserver
2026-05-28 14:36:38,823 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-69994170 virtual network link through opserver 10.0.0.249
2026-05-28 14:36:38,824 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-05-28 14:36:39,124 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-05-28 14:36:39,204 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-69994170', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-69994170?flat'}
2026-05-28 14:36:39,204 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-69994170 is found in opserver
2026-05-28 14:36:39,219 - DEBUG - Do not have enough data to verify VN in agent
2026-05-28 14:36:39,224 - DEBUG - VRF ids for VN ctest-vn-69994170: {}
2026-05-28 14:36:39,225 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-05-28 14:36:39,232 - DEBUG - Requesting: http://10.0.0.249:8082/domain/51551d90-0d66-4cdf-b60c-b6c23a4db702
2026-05-28 14:36:39,246 - DEBUG - Requesting: http://10.0.0.249:8082/project/24fe1a6e-95cf-44c2-8a38-e744b63e9296
2026-05-28 14:36:39,323 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/17e7208f-40bf-49c3-bd00-90cbedfa1f25
2026-05-28 14:36:39,337 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/17e7208f-40bf-49c3-bd00-90cbedfa1f25
2026-05-28 14:36:39,349 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c10eb423-2e47-4613-b103-249daa46c1b1
2026-05-28 14:36:39,358 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c10eb423-2e47-4613-b103-249daa46c1b1
2026-05-28 14:36:39,367 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/ecb207f5-b04c-4a9c-b476-10cb5e11218d
2026-05-28 14:36:39,376 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-28 14:36:39,376 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/17e7208f-40bf-49c3-bd00-90cbedfa1f25
2026-05-28 14:36:39,387 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c10eb423-2e47-4613-b103-249daa46c1b1
2026-05-28 14:36:39,407 - INFO - Verified VN network id 10 for VN 17e7208f-40bf-49c3-bd00-90cbedfa1f25
2026-05-28 14:36:39,407 - INFO - Verifications in API Server for VN ctest-vn-16195413 passed
2026-05-28 14:36:39,407 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/17e7208f-40bf-49c3-bd00-90cbedfa1f25
2026-05-28 14:36:39,419 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c10eb423-2e47-4613-b103-249daa46c1b1
2026-05-28 14:36:39,427 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/c10eb423-2e47-4613-b103-249daa46c1b1
2026-05-28 14:36:39,435 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/ecb207f5-b04c-4a9c-b476-10cb5e11218d
2026-05-28 14:36:39,450 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-16195413', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49092807', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1722381182131194307', 'uuid-lslong': '13619044478713732901'}, 'enable': 'true', 'created': '2026-05-28T14:36:36', 'last-modified': '2026-05-28T14:36:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.511236'}
2026-05-28 14:36:39,457 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-28 14:36:39,457 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16195413 passed
2026-05-28 14:36:39,457 - DEBUG - ====Verifying policy data for ctest-vn-16195413 in API_Server ======
2026-05-28 14:36:39,457 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-05-28 14:36:39,465 - DEBUG - Requesting: http://10.0.0.249:8082/domain/51551d90-0d66-4cdf-b60c-b6c23a4db702
2026-05-28 14:36:39,478 - DEBUG - Requesting: http://10.0.0.249:8082/project/24fe1a6e-95cf-44c2-8a38-e744b63e9296
2026-05-28 14:36:39,556 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/17e7208f-40bf-49c3-bd00-90cbedfa1f25
2026-05-28 14:36:39,567 - DEBUG - ==>Verifying data for policy with id: 4485a14a-988d-44f2-9416-4d72ede58f26, fqn: ['default-domain', 'ctest-TestBasicPolicy-49092807', 'ctest-policy-allow-all-49289626']
2026-05-28 14:36:39,567 - INFO - VN ctest-vn-16195413 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-28 14:36:39,567 - DEBUG - Verifying the vn in opserver
2026-05-28 14:36:39,567 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-16195413 virtual network link through opserver 10.0.0.249
2026-05-28 14:36:39,567 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-05-28 14:36:39,580 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-16195413', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-16195413?flat'}
2026-05-28 14:36:39,580 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49092807:ctest-vn-16195413 is found in opserver
2026-05-28 14:36:39,592 - DEBUG - Do not have enough data to verify VN in agent
2026-05-28 14:36:39,597 - DEBUG - VRF ids for VN ctest-vn-16195413: {}
2026-05-28 14:36:39,669 - DEBUG - Services list from nova: [