2026-09-17 09:03:22,623 - INFO - Domain Default found not creating
2026-09-17 09:03:22,824 - INFO - Project ctest-TestBasicPolicy-48774387 not found, creating it
2026-09-17 09:03:23,363 - INFO - Created Project:ctest-TestBasicPolicy-48774387, ID : 58ba33fb-e031-48b0-9eb5-24a5aada3b48
2026-09-17 09:03:24,947 - INFO - ================================================================================
2026-09-17 09:03:24,947 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-17 09:03:24,948 - 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-09-17 09:03:25,218 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with
2026-09-17 09:03:25,218 - INFO - Initial checks done. Running the testcase now
2026-09-17 09:03:25,218 - INFO -
2026-09-17 09:03:25,857 - DEBUG - Response for create_network : {'network': {'id': '427d982d-efb5-4c69-995a-8204e42f755d', 'name': 'ctest-vn-28282910', 'tenant_id': '58ba33fbe03148b09eb524a5aada3b48', 'project_id': '58ba33fbe03148b09eb524a5aada3b48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48774387', 'ctest-vn-28282910'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 09:03:26,112 - DEBUG - Response for create_subnet : {'subnet': {'id': '60621973-9292-452e-8852-bcc3f15c715e', 'name': '', 'tenant_id': '58ba33fbe03148b09eb524a5aada3b48', 'network_id': '427d982d-efb5-4c69-995a-8204e42f755d', 'ip_version': 4, 'cidr': '193.23.142.128/26', 'allocation_pools': [{'start': '193.23.142.130', 'end': '193.23.142.190'}], 'gateway_ip': '193.23.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '193.23.142.130', 'tags': [], 'project_id': '58ba33fbe03148b09eb524a5aada3b48'}}
2026-09-17 09:03:26,134 - INFO - Created VN ctest-vn-28282910
2026-09-17 09:03:26,190 - DEBUG - VN ctest-vn-28282910 UUID is 427d982d-efb5-4c69-995a-8204e42f755d
2026-09-17 09:03:26,552 - DEBUG - Response for create_network : {'network': {'id': '34eb26f3-610b-4074-9db5-6212da6cf590', 'name': 'ctest-vn-24769841', 'tenant_id': '58ba33fbe03148b09eb524a5aada3b48', 'project_id': '58ba33fbe03148b09eb524a5aada3b48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48774387', 'ctest-vn-24769841'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 09:03:26,772 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bdd404d4-dadc-40f7-9778-fcdc3773fda1', 'name': '', 'tenant_id': '58ba33fbe03148b09eb524a5aada3b48', 'network_id': '34eb26f3-610b-4074-9db5-6212da6cf590', 'ip_version': 4, 'cidr': '33.247.22.128/26', 'allocation_pools': [{'start': '33.247.22.130', 'end': '33.247.22.190'}], 'gateway_ip': '33.247.22.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '33.247.22.130', 'tags': [], 'project_id': '58ba33fbe03148b09eb524a5aada3b48'}}
2026-09-17 09:03:26,792 - INFO - Created VN ctest-vn-24769841
2026-09-17 09:03:26,850 - DEBUG - VN ctest-vn-24769841 UUID is 34eb26f3-610b-4074-9db5-6212da6cf590
2026-09-17 09:03:27,006 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-28282910, 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-48774387:ctest-vn-24769841, 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-09-17 09:03:27,349 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '427d982d-efb5-4c69-995a-8204e42f755d', 'name': 'ctest-vn-28282910', 'tenant_id': '58ba33fbe03148b09eb524a5aada3b48', 'project_id': '58ba33fbe03148b09eb524a5aada3b48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['60621973-9292-452e-8852-bcc3f15c715e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48774387', 'ctest-vn-28282910'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48774387', 'ctest-policy-allow-all-71608431']], 'subnet_ipam': [{'subnet_cidr': '193.23.142.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-17 09:03:27,602 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '34eb26f3-610b-4074-9db5-6212da6cf590', 'name': 'ctest-vn-24769841', 'tenant_id': '58ba33fbe03148b09eb524a5aada3b48', 'project_id': '58ba33fbe03148b09eb524a5aada3b48', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['bdd404d4-dadc-40f7-9778-fcdc3773fda1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48774387', 'ctest-vn-24769841'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48774387', 'ctest-policy-allow-all-71608431']], 'subnet_ipam': [{'subnet_cidr': '33.247.22.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-17 09:03:27,762 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-17 09:03:28,098 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-17 09:03:28,135 - DEBUG - Requesting: http://10.0.0.190:8082/domain/c0139787-77d8-43e2-a7cd-3416226bccb5
2026-09-17 09:03:28,153 - DEBUG - Requesting: http://10.0.0.190:8082/project/58ba33fb-e031-48b0-9eb5-24a5aada3b48
2026-09-17 09:03:28,279 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/427d982d-efb5-4c69-995a-8204e42f755d
2026-09-17 09:03:28,294 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/427d982d-efb5-4c69-995a-8204e42f755d
2026-09-17 09:03:28,308 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/c89254a5-9d62-4f73-88b1-1a5ed2da8b36
2026-09-17 09:03:28,319 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/c89254a5-9d62-4f73-88b1-1a5ed2da8b36
2026-09-17 09:03:28,330 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/bf430530-6b24-437b-a76e-26d872e73111
2026-09-17 09:03:28,340 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-17 09:03:28,340 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/427d982d-efb5-4c69-995a-8204e42f755d
2026-09-17 09:03:28,352 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/c89254a5-9d62-4f73-88b1-1a5ed2da8b36
2026-09-17 09:03:28,368 - INFO - Verified VN network id 12 for VN 427d982d-efb5-4c69-995a-8204e42f755d
2026-09-17 09:03:28,368 - INFO - Verifications in API Server for VN ctest-vn-28282910 passed
2026-09-17 09:03:28,368 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/427d982d-efb5-4c69-995a-8204e42f755d
2026-09-17 09:03:28,378 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/c89254a5-9d62-4f73-88b1-1a5ed2da8b36
2026-09-17 09:03:28,386 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/c89254a5-9d62-4f73-88b1-1a5ed2da8b36
2026-09-17 09:03:28,395 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/bf430530-6b24-437b-a76e-26d872e73111
2026-09-17 09:03:28,411 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-28282910', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48774387', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4791152901654662249', 'uuid-lslong': '11050287593226728797'}, 'enable': 'true', 'created': '2026-09-17T09:03:25', 'last-modified': '2026-09-17T09:03:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.094618'}
2026-09-17 09:03:28,420 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-17 09:03:28,420 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-28282910 passed
2026-09-17 09:03:28,420 - DEBUG - ====Verifying policy data for ctest-vn-28282910 in API_Server ======
2026-09-17 09:03:28,420 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-17 09:03:28,428 - DEBUG - Requesting: http://10.0.0.190:8082/domain/c0139787-77d8-43e2-a7cd-3416226bccb5
2026-09-17 09:03:28,442 - DEBUG - Requesting: http://10.0.0.190:8082/project/58ba33fb-e031-48b0-9eb5-24a5aada3b48
2026-09-17 09:03:28,530 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/427d982d-efb5-4c69-995a-8204e42f755d
2026-09-17 09:03:28,542 - DEBUG - ==>Verifying data for policy with id: f10bbbb2-2167-4912-9bf0-08014e183cac, fqn: ['default-domain', 'ctest-TestBasicPolicy-48774387', 'ctest-policy-allow-all-71608431']
2026-09-17 09:03:28,542 - INFO - VN ctest-vn-28282910 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-17 09:03:28,542 - DEBUG - Verifying the vn in opserver
2026-09-17 09:03:28,542 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-28282910 virtual network link through opserver 10.0.0.190
2026-09-17 09:03:28,542 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-09-17 09:03:28,877 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-09-17 09:03:28,943 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-28282910', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-28282910?flat'}
2026-09-17 09:03:28,943 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-28282910 is found in opserver
2026-09-17 09:03:28,956 - DEBUG - Do not have enough data to verify VN in agent
2026-09-17 09:03:28,962 - DEBUG - VRF ids for VN ctest-vn-28282910: {}
2026-09-17 09:03:28,962 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-17 09:03:28,970 - DEBUG - Requesting: http://10.0.0.190:8082/domain/c0139787-77d8-43e2-a7cd-3416226bccb5
2026-09-17 09:03:28,987 - DEBUG - Requesting: http://10.0.0.190:8082/project/58ba33fb-e031-48b0-9eb5-24a5aada3b48
2026-09-17 09:03:29,078 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/34eb26f3-610b-4074-9db5-6212da6cf590
2026-09-17 09:03:29,093 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/34eb26f3-610b-4074-9db5-6212da6cf590
2026-09-17 09:03:29,105 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/6ddc2fe6-3802-4b98-bc03-24eea9292f84
2026-09-17 09:03:29,116 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/6ddc2fe6-3802-4b98-bc03-24eea9292f84
2026-09-17 09:03:29,124 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/c54bf8e1-ebc0-4a6b-8429-56031213f877
2026-09-17 09:03:29,132 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-17 09:03:29,132 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/34eb26f3-610b-4074-9db5-6212da6cf590
2026-09-17 09:03:29,143 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/6ddc2fe6-3802-4b98-bc03-24eea9292f84
2026-09-17 09:03:29,162 - INFO - Verified VN network id 13 for VN 34eb26f3-610b-4074-9db5-6212da6cf590
2026-09-17 09:03:29,163 - INFO - Verifications in API Server for VN ctest-vn-24769841 passed
2026-09-17 09:03:29,163 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/34eb26f3-610b-4074-9db5-6212da6cf590
2026-09-17 09:03:29,174 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/6ddc2fe6-3802-4b98-bc03-24eea9292f84
2026-09-17 09:03:29,183 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/6ddc2fe6-3802-4b98-bc03-24eea9292f84
2026-09-17 09:03:29,193 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/c54bf8e1-ebc0-4a6b-8429-56031213f877
2026-09-17 09:03:29,212 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-24769841', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48774387', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3813184336246292596', 'uuid-lslong': '11364097067852821904'}, 'enable': 'true', 'created': '2026-09-17T09:03:26', 'last-modified': '2026-09-17T09:03:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.649089'}
2026-09-17 09:03:29,222 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-17 09:03:29,222 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-24769841 passed
2026-09-17 09:03:29,222 - DEBUG - ====Verifying policy data for ctest-vn-24769841 in API_Server ======
2026-09-17 09:03:29,222 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-17 09:03:29,231 - DEBUG - Requesting: http://10.0.0.190:8082/domain/c0139787-77d8-43e2-a7cd-3416226bccb5
2026-09-17 09:03:29,248 - DEBUG - Requesting: http://10.0.0.190:8082/project/58ba33fb-e031-48b0-9eb5-24a5aada3b48
2026-09-17 09:03:29,443 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/34eb26f3-610b-4074-9db5-6212da6cf590
2026-09-17 09:03:29,457 - DEBUG - ==>Verifying data for policy with id: f10bbbb2-2167-4912-9bf0-08014e183cac, fqn: ['default-domain', 'ctest-TestBasicPolicy-48774387', 'ctest-policy-allow-all-71608431']
2026-09-17 09:03:29,457 - INFO - VN ctest-vn-24769841 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-17 09:03:29,457 - DEBUG - Verifying the vn in opserver
2026-09-17 09:03:29,457 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-24769841 virtual network link through opserver 10.0.0.190
2026-09-17 09:03:29,457 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-09-17 09:03:29,470 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-24769841', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-24769841?flat'}
2026-09-17 09:03:29,470 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48774387:ctest-vn-24769841 is found in opserver
2026-09-17 09:03:29,483 - DEBUG - Do not have enough data to verify VN in agent
2026-09-17 09:03:29,487 - DEBUG - VRF ids for VN ctest-vn-24769841: {}
2026-09-17 09:03:29,545 - DEBUG - Services list from nova: [