2026-06-17 10:23:11,991 - INFO - Domain Default found not creating
2026-06-17 10:23:12,131 - INFO - Project ctest-TestBasicPolicy-55466270 not found, creating it
2026-06-17 10:23:12,594 - INFO - Created Project:ctest-TestBasicPolicy-55466270, ID : 25bdea75-d9d5-4add-b22e-944bb90f42e8
2026-06-17 10:23:13,975 - INFO - ================================================================================
2026-06-17 10:23:13,975 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-17 10:23:13,975 - 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-17 10:23:14,235 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-06-17 10:23:14,235 - INFO - Initial checks done. Running the testcase now
2026-06-17 10:23:14,235 - INFO -
2026-06-17 10:23:14,766 - DEBUG - Response for create_network : {'network': {'id': 'd8299f50-6ae6-4547-9c42-dedba69d3773', 'name': 'ctest-vn-02033623', 'tenant_id': '25bdea75d9d54addb22e944bb90f42e8', 'project_id': '25bdea75d9d54addb22e944bb90f42e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55466270', 'ctest-vn-02033623'], 'port_security_enabled': True, 'description': ''}}
2026-06-17 10:23:14,965 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e2f310d0-882f-46cd-8078-5e597f0fff1a', 'name': '', 'tenant_id': '25bdea75d9d54addb22e944bb90f42e8', 'network_id': 'd8299f50-6ae6-4547-9c42-dedba69d3773', 'ip_version': 4, 'cidr': '39.91.230.64/26', 'allocation_pools': [{'start': '39.91.230.66', 'end': '39.91.230.126'}], 'gateway_ip': '39.91.230.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.91.230.66', 'tags': [], 'project_id': '25bdea75d9d54addb22e944bb90f42e8'}}
2026-06-17 10:23:14,978 - INFO - Created VN ctest-vn-02033623
2026-06-17 10:23:15,027 - DEBUG - VN ctest-vn-02033623 UUID is d8299f50-6ae6-4547-9c42-dedba69d3773
2026-06-17 10:23:15,315 - DEBUG - Response for create_network : {'network': {'id': '28df8dbb-fb52-44c7-9161-35981de406c0', 'name': 'ctest-vn-05114965', 'tenant_id': '25bdea75d9d54addb22e944bb90f42e8', 'project_id': '25bdea75d9d54addb22e944bb90f42e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55466270', 'ctest-vn-05114965'], 'port_security_enabled': True, 'description': ''}}
2026-06-17 10:23:15,523 - DEBUG - Response for create_subnet : {'subnet': {'id': '3a366065-07a3-41af-8f14-f7bb17377c86', 'name': '', 'tenant_id': '25bdea75d9d54addb22e944bb90f42e8', 'network_id': '28df8dbb-fb52-44c7-9161-35981de406c0', 'ip_version': 4, 'cidr': '88.254.224.0/26', 'allocation_pools': [{'start': '88.254.224.2', 'end': '88.254.224.62'}], 'gateway_ip': '88.254.224.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '88.254.224.2', 'tags': [], 'project_id': '25bdea75d9d54addb22e944bb90f42e8'}}
2026-06-17 10:23:15,536 - INFO - Created VN ctest-vn-05114965
2026-06-17 10:23:15,587 - DEBUG - VN ctest-vn-05114965 UUID is 28df8dbb-fb52-44c7-9161-35981de406c0
2026-06-17 10:23:15,719 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55466270:ctest-vn-02033623, 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-55466270:ctest-vn-05114965, 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-17 10:23:15,992 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd8299f50-6ae6-4547-9c42-dedba69d3773', 'name': 'ctest-vn-02033623', 'tenant_id': '25bdea75d9d54addb22e944bb90f42e8', 'project_id': '25bdea75d9d54addb22e944bb90f42e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e2f310d0-882f-46cd-8078-5e597f0fff1a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55466270', 'ctest-vn-02033623'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55466270', 'ctest-policy-allow-all-21976589']], 'subnet_ipam': [{'subnet_cidr': '39.91.230.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-17 10:23:16,199 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '28df8dbb-fb52-44c7-9161-35981de406c0', 'name': 'ctest-vn-05114965', 'tenant_id': '25bdea75d9d54addb22e944bb90f42e8', 'project_id': '25bdea75d9d54addb22e944bb90f42e8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3a366065-07a3-41af-8f14-f7bb17377c86'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55466270', 'ctest-vn-05114965'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55466270', 'ctest-policy-allow-all-21976589']], 'subnet_ipam': [{'subnet_cidr': '88.254.224.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-17 10:23:16,359 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-17 10:23:16,671 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-17 10:23:16,695 - DEBUG - Requesting: http://10.0.0.50:8082/domain/65c3da3c-1489-4580-849c-dfd345df9012
2026-06-17 10:23:16,705 - DEBUG - Requesting: http://10.0.0.50:8082/project/25bdea75-d9d5-4add-b22e-944bb90f42e8
2026-06-17 10:23:16,769 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d8299f50-6ae6-4547-9c42-dedba69d3773
2026-06-17 10:23:16,778 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d8299f50-6ae6-4547-9c42-dedba69d3773
2026-06-17 10:23:16,785 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a363319c-4b73-427d-9bf3-1fb5d7fdc770
2026-06-17 10:23:16,791 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a363319c-4b73-427d-9bf3-1fb5d7fdc770
2026-06-17 10:23:16,796 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8b9f2073-6cf6-4e01-bd46-2ef2e1346e07
2026-06-17 10:23:16,800 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-17 10:23:16,800 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d8299f50-6ae6-4547-9c42-dedba69d3773
2026-06-17 10:23:16,807 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a363319c-4b73-427d-9bf3-1fb5d7fdc770
2026-06-17 10:23:16,817 - INFO - Verified VN network id 11 for VN d8299f50-6ae6-4547-9c42-dedba69d3773
2026-06-17 10:23:16,817 - INFO - Verifications in API Server for VN ctest-vn-02033623 passed
2026-06-17 10:23:16,817 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d8299f50-6ae6-4547-9c42-dedba69d3773
2026-06-17 10:23:16,823 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a363319c-4b73-427d-9bf3-1fb5d7fdc770
2026-06-17 10:23:16,828 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/a363319c-4b73-427d-9bf3-1fb5d7fdc770
2026-06-17 10:23:16,834 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8b9f2073-6cf6-4e01-bd46-2ef2e1346e07
2026-06-17 10:23:16,843 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55466270:ctest-vn-02033623', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55466270', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15576155953977247047', 'uuid-lslong': '11259807053354186611'}, 'enable': 'true', 'created': '2026-06-17T10:23:14', 'last-modified': '2026-06-17T10:23:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.871455'}
2026-06-17 10:23:16,848 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-17 10:23:16,848 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02033623 passed
2026-06-17 10:23:16,848 - DEBUG - ====Verifying policy data for ctest-vn-02033623 in API_Server ======
2026-06-17 10:23:16,848 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-17 10:23:16,852 - DEBUG - Requesting: http://10.0.0.50:8082/domain/65c3da3c-1489-4580-849c-dfd345df9012
2026-06-17 10:23:16,861 - DEBUG - Requesting: http://10.0.0.50:8082/project/25bdea75-d9d5-4add-b22e-944bb90f42e8
2026-06-17 10:23:16,924 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d8299f50-6ae6-4547-9c42-dedba69d3773
2026-06-17 10:23:16,932 - DEBUG - ==>Verifying data for policy with id: 0104e469-8dc5-4f96-b2d4-f9424ac029f1, fqn: ['default-domain', 'ctest-TestBasicPolicy-55466270', 'ctest-policy-allow-all-21976589']
2026-06-17 10:23:16,932 - INFO - VN ctest-vn-02033623 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-17 10:23:16,932 - DEBUG - Verifying the vn in opserver
2026-06-17 10:23:16,932 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55466270:ctest-vn-02033623 virtual network link through opserver 10.0.0.50
2026-06-17 10:23:16,932 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-17 10:23:17,245 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-17 10:23:17,288 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55466270:ctest-vn-02033623', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55466270:ctest-vn-02033623?flat'}
2026-06-17 10:23:17,288 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55466270:ctest-vn-02033623 is found in opserver
2026-06-17 10:23:17,296 - DEBUG - Do not have enough data to verify VN in agent
2026-06-17 10:23:17,299 - DEBUG - VRF ids for VN ctest-vn-02033623: {}
2026-06-17 10:23:17,299 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-17 10:23:17,304 - DEBUG - Requesting: http://10.0.0.50:8082/domain/65c3da3c-1489-4580-849c-dfd345df9012
2026-06-17 10:23:17,312 - DEBUG - Requesting: http://10.0.0.50:8082/project/25bdea75-d9d5-4add-b22e-944bb90f42e8
2026-06-17 10:23:17,380 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/28df8dbb-fb52-44c7-9161-35981de406c0
2026-06-17 10:23:17,390 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/28df8dbb-fb52-44c7-9161-35981de406c0
2026-06-17 10:23:17,397 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bc0c63ce-8351-46b1-a6e9-25cd057aa065
2026-06-17 10:23:17,403 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bc0c63ce-8351-46b1-a6e9-25cd057aa065
2026-06-17 10:23:17,408 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d770ae8b-368e-4756-99b3-87117af07ee6
2026-06-17 10:23:17,413 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-17 10:23:17,413 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/28df8dbb-fb52-44c7-9161-35981de406c0
2026-06-17 10:23:17,419 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bc0c63ce-8351-46b1-a6e9-25cd057aa065
2026-06-17 10:23:17,429 - INFO - Verified VN network id 12 for VN 28df8dbb-fb52-44c7-9161-35981de406c0
2026-06-17 10:23:17,429 - INFO - Verifications in API Server for VN ctest-vn-05114965 passed
2026-06-17 10:23:17,429 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/28df8dbb-fb52-44c7-9161-35981de406c0
2026-06-17 10:23:17,435 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bc0c63ce-8351-46b1-a6e9-25cd057aa065
2026-06-17 10:23:17,440 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/bc0c63ce-8351-46b1-a6e9-25cd057aa065
2026-06-17 10:23:17,444 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/d770ae8b-368e-4756-99b3-87117af07ee6
2026-06-17 10:23:17,453 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55466270:ctest-vn-05114965', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55466270', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2945228519838467271', 'uuid-lslong': '10475713135693268672'}, 'enable': 'true', 'created': '2026-06-17T10:23:15', 'last-modified': '2026-06-17T10:23:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.268328'}
2026-06-17 10:23:17,457 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-17 10:23:17,457 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-05114965 passed
2026-06-17 10:23:17,457 - DEBUG - ====Verifying policy data for ctest-vn-05114965 in API_Server ======
2026-06-17 10:23:17,457 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-17 10:23:17,461 - DEBUG - Requesting: http://10.0.0.50:8082/domain/65c3da3c-1489-4580-849c-dfd345df9012
2026-06-17 10:23:17,469 - DEBUG - Requesting: http://10.0.0.50:8082/project/25bdea75-d9d5-4add-b22e-944bb90f42e8
2026-06-17 10:23:17,532 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/28df8dbb-fb52-44c7-9161-35981de406c0
2026-06-17 10:23:17,540 - DEBUG - ==>Verifying data for policy with id: 0104e469-8dc5-4f96-b2d4-f9424ac029f1, fqn: ['default-domain', 'ctest-TestBasicPolicy-55466270', 'ctest-policy-allow-all-21976589']
2026-06-17 10:23:17,540 - INFO - VN ctest-vn-05114965 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-17 10:23:17,540 - DEBUG - Verifying the vn in opserver
2026-06-17 10:23:17,540 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55466270:ctest-vn-05114965 virtual network link through opserver 10.0.0.50
2026-06-17 10:23:17,540 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-17 10:23:17,547 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55466270:ctest-vn-05114965', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55466270:ctest-vn-05114965?flat'}
2026-06-17 10:23:17,547 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55466270:ctest-vn-05114965 is found in opserver
2026-06-17 10:23:17,554 - DEBUG - Do not have enough data to verify VN in agent
2026-06-17 10:23:17,558 - DEBUG - VRF ids for VN ctest-vn-05114965: {}
2026-06-17 10:23:17,603 - DEBUG - Services list from nova: [