2026-02-11 16:54:38,638 - INFO - Domain Default found not creating
2026-02-11 16:54:38,801 - INFO - Project ctest-TestBasicPolicy-72559357 not found, creating it
2026-02-11 16:54:39,262 - INFO - Created Project:ctest-TestBasicPolicy-72559357, ID : d6e9012a-e606-435b-9c74-8619ab71102e
2026-02-11 16:54:40,735 - INFO - ================================================================================
2026-02-11 16:54:40,735 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-11 16:54:40,735 - 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-11 16:54:40,987 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-11 16:54:40,987 - INFO - Initial checks done. Running the testcase now
2026-02-11 16:54:40,987 - INFO -
2026-02-11 16:54:41,551 - DEBUG - Response for create_network : {'network': {'id': '15975232-a657-405e-a74f-da424c18bcf3', 'name': 'ctest-vn-85651564', 'tenant_id': 'd6e9012ae606435b9c748619ab71102e', 'project_id': 'd6e9012ae606435b9c748619ab71102e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72559357', 'ctest-vn-85651564'], 'port_security_enabled': True, 'description': ''}}
2026-02-11 16:54:41,740 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e66e9667-e66f-4233-8f75-ac73c71fafaa', 'name': '', 'tenant_id': 'd6e9012ae606435b9c748619ab71102e', 'network_id': '15975232-a657-405e-a74f-da424c18bcf3', 'ip_version': 4, 'cidr': '16.23.45.128/26', 'allocation_pools': [{'start': '16.23.45.130', 'end': '16.23.45.190'}], 'gateway_ip': '16.23.45.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '16.23.45.130', 'tags': [], 'project_id': 'd6e9012ae606435b9c748619ab71102e'}}
2026-02-11 16:54:41,759 - INFO - Created VN ctest-vn-85651564
2026-02-11 16:54:41,814 - DEBUG - VN ctest-vn-85651564 UUID is 15975232-a657-405e-a74f-da424c18bcf3
2026-02-11 16:54:42,095 - DEBUG - Response for create_network : {'network': {'id': '2ac0f493-359d-4582-9179-6fde15b12e18', 'name': 'ctest-vn-86005395', 'tenant_id': 'd6e9012ae606435b9c748619ab71102e', 'project_id': 'd6e9012ae606435b9c748619ab71102e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72559357', 'ctest-vn-86005395'], 'port_security_enabled': True, 'description': ''}}
2026-02-11 16:54:42,273 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f5ecad33-6c35-4dee-90f5-23ce104d9192', 'name': '', 'tenant_id': 'd6e9012ae606435b9c748619ab71102e', 'network_id': '2ac0f493-359d-4582-9179-6fde15b12e18', 'ip_version': 4, 'cidr': '38.208.107.128/26', 'allocation_pools': [{'start': '38.208.107.130', 'end': '38.208.107.190'}], 'gateway_ip': '38.208.107.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.208.107.130', 'tags': [], 'project_id': 'd6e9012ae606435b9c748619ab71102e'}}
2026-02-11 16:54:42,289 - INFO - Created VN ctest-vn-86005395
2026-02-11 16:54:42,342 - DEBUG - VN ctest-vn-86005395 UUID is 2ac0f493-359d-4582-9179-6fde15b12e18
2026-02-11 16:54:42,490 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-72559357:ctest-vn-85651564, 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-72559357:ctest-vn-86005395, 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-11 16:54:42,966 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '15975232-a657-405e-a74f-da424c18bcf3', 'name': 'ctest-vn-85651564', 'tenant_id': 'd6e9012ae606435b9c748619ab71102e', 'project_id': 'd6e9012ae606435b9c748619ab71102e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e66e9667-e66f-4233-8f75-ac73c71fafaa'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72559357', 'ctest-vn-85651564'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72559357', 'ctest-policy-allow-all-10606721']], 'subnet_ipam': [{'subnet_cidr': '16.23.45.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-11 16:54:43,228 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2ac0f493-359d-4582-9179-6fde15b12e18', 'name': 'ctest-vn-86005395', 'tenant_id': 'd6e9012ae606435b9c748619ab71102e', 'project_id': 'd6e9012ae606435b9c748619ab71102e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f5ecad33-6c35-4dee-90f5-23ce104d9192'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-72559357', 'ctest-vn-86005395'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-72559357', 'ctest-policy-allow-all-10606721']], 'subnet_ipam': [{'subnet_cidr': '38.208.107.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-11 16:54:43,362 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-11 16:54:43,659 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-11 16:54:43,693 - DEBUG - Requesting: http://10.0.0.50:8082/domain/13bd3417-4207-4e05-9cf4-3a0ff5bd6ff5
2026-02-11 16:54:43,705 - DEBUG - Requesting: http://10.0.0.50:8082/project/d6e9012a-e606-435b-9c74-8619ab71102e
2026-02-11 16:54:43,779 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15975232-a657-405e-a74f-da424c18bcf3
2026-02-11 16:54:43,789 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15975232-a657-405e-a74f-da424c18bcf3
2026-02-11 16:54:43,798 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0fcf38f4-b57d-4650-a7a0-cfdee7f9970f
2026-02-11 16:54:43,804 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0fcf38f4-b57d-4650-a7a0-cfdee7f9970f
2026-02-11 16:54:43,811 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/89e9c4ed-f3de-49b8-86d7-45d4369ea16a
2026-02-11 16:54:43,818 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-11 16:54:43,818 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15975232-a657-405e-a74f-da424c18bcf3
2026-02-11 16:54:43,826 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0fcf38f4-b57d-4650-a7a0-cfdee7f9970f
2026-02-11 16:54:43,839 - INFO - Verified VN network id 12 for VN 15975232-a657-405e-a74f-da424c18bcf3
2026-02-11 16:54:43,839 - INFO - Verifications in API Server for VN ctest-vn-85651564 passed
2026-02-11 16:54:43,839 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15975232-a657-405e-a74f-da424c18bcf3
2026-02-11 16:54:43,847 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0fcf38f4-b57d-4650-a7a0-cfdee7f9970f
2026-02-11 16:54:43,853 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0fcf38f4-b57d-4650-a7a0-cfdee7f9970f
2026-02-11 16:54:43,859 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/89e9c4ed-f3de-49b8-86d7-45d4369ea16a
2026-02-11 16:54:43,871 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72559357:ctest-vn-85651564', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72559357', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1555802573772374110', 'uuid-lslong': '12056094705773493491'}, 'enable': 'true', 'created': '2026-02-11T16:54:41', 'last-modified': '2026-02-11T16:54:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.946739'}
2026-02-11 16:54:43,877 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-11 16:54:43,877 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85651564 passed
2026-02-11 16:54:43,877 - DEBUG - ====Verifying policy data for ctest-vn-85651564 in API_Server ======
2026-02-11 16:54:43,877 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-11 16:54:43,882 - DEBUG - Requesting: http://10.0.0.50:8082/domain/13bd3417-4207-4e05-9cf4-3a0ff5bd6ff5
2026-02-11 16:54:43,892 - DEBUG - Requesting: http://10.0.0.50:8082/project/d6e9012a-e606-435b-9c74-8619ab71102e
2026-02-11 16:54:43,958 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/15975232-a657-405e-a74f-da424c18bcf3
2026-02-11 16:54:43,966 - DEBUG - ==>Verifying data for policy with id: 0441a95b-4a88-4aa8-a1be-a99680e491e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-72559357', 'ctest-policy-allow-all-10606721']
2026-02-11 16:54:43,966 - INFO - VN ctest-vn-85651564 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-11 16:54:43,966 - DEBUG - Verifying the vn in opserver
2026-02-11 16:54:43,966 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72559357:ctest-vn-85651564 virtual network link through opserver 10.0.0.50
2026-02-11 16:54:43,967 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-11 16:54:44,259 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-11 16:54:44,318 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72559357:ctest-vn-85651564', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72559357:ctest-vn-85651564?flat'}
2026-02-11 16:54:44,318 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72559357:ctest-vn-85651564 is found in opserver
2026-02-11 16:54:44,327 - DEBUG - Do not have enough data to verify VN in agent
2026-02-11 16:54:44,332 - DEBUG - VRF ids for VN ctest-vn-85651564: {}
2026-02-11 16:54:44,332 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-11 16:54:44,338 - DEBUG - Requesting: http://10.0.0.50:8082/domain/13bd3417-4207-4e05-9cf4-3a0ff5bd6ff5
2026-02-11 16:54:44,349 - DEBUG - Requesting: http://10.0.0.50:8082/project/d6e9012a-e606-435b-9c74-8619ab71102e
2026-02-11 16:54:44,420 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2ac0f493-359d-4582-9179-6fde15b12e18
2026-02-11 16:54:44,433 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2ac0f493-359d-4582-9179-6fde15b12e18
2026-02-11 16:54:44,441 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5cbeec7f-681f-4950-aa32-5d7cfed2346d
2026-02-11 16:54:44,448 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5cbeec7f-681f-4950-aa32-5d7cfed2346d
2026-02-11 16:54:44,454 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/37743482-96c0-4b41-b2e2-0bf491cdc8be
2026-02-11 16:54:44,461 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-11 16:54:44,461 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2ac0f493-359d-4582-9179-6fde15b12e18
2026-02-11 16:54:44,469 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5cbeec7f-681f-4950-aa32-5d7cfed2346d
2026-02-11 16:54:44,481 - INFO - Verified VN network id 13 for VN 2ac0f493-359d-4582-9179-6fde15b12e18
2026-02-11 16:54:44,481 - INFO - Verifications in API Server for VN ctest-vn-86005395 passed
2026-02-11 16:54:44,481 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2ac0f493-359d-4582-9179-6fde15b12e18
2026-02-11 16:54:44,490 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5cbeec7f-681f-4950-aa32-5d7cfed2346d
2026-02-11 16:54:44,497 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/5cbeec7f-681f-4950-aa32-5d7cfed2346d
2026-02-11 16:54:44,503 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/37743482-96c0-4b41-b2e2-0bf491cdc8be
2026-02-11 16:54:44,513 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-72559357:ctest-vn-86005395', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-72559357', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3080731058218288514', 'uuid-lslong': '10482532607318896152'}, 'enable': 'true', 'created': '2026-02-11T16:54:42', 'last-modified': '2026-02-11T16:54:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.312524'}
2026-02-11 16:54:44,518 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-11 16:54:44,519 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86005395 passed
2026-02-11 16:54:44,519 - DEBUG - ====Verifying policy data for ctest-vn-86005395 in API_Server ======
2026-02-11 16:54:44,519 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-11 16:54:44,524 - DEBUG - Requesting: http://10.0.0.50:8082/domain/13bd3417-4207-4e05-9cf4-3a0ff5bd6ff5
2026-02-11 16:54:44,534 - DEBUG - Requesting: http://10.0.0.50:8082/project/d6e9012a-e606-435b-9c74-8619ab71102e
2026-02-11 16:54:44,603 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/2ac0f493-359d-4582-9179-6fde15b12e18
2026-02-11 16:54:44,611 - DEBUG - ==>Verifying data for policy with id: 0441a95b-4a88-4aa8-a1be-a99680e491e3, fqn: ['default-domain', 'ctest-TestBasicPolicy-72559357', 'ctest-policy-allow-all-10606721']
2026-02-11 16:54:44,611 - INFO - VN ctest-vn-86005395 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-11 16:54:44,611 - DEBUG - Verifying the vn in opserver
2026-02-11 16:54:44,611 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-72559357:ctest-vn-86005395 virtual network link through opserver 10.0.0.50
2026-02-11 16:54:44,611 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-11 16:54:44,619 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-72559357:ctest-vn-86005395', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-72559357:ctest-vn-86005395?flat'}
2026-02-11 16:54:44,619 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-72559357:ctest-vn-86005395 is found in opserver
2026-02-11 16:54:44,627 - DEBUG - Do not have enough data to verify VN in agent
2026-02-11 16:54:44,631 - DEBUG - VRF ids for VN ctest-vn-86005395: {}
2026-02-11 16:54:44,684 - DEBUG - Services list from nova: [