2026-06-17 07:36:32,608 - INFO - Domain Default found not creating
2026-06-17 07:36:32,755 - INFO - Project ctest-TestBasicPolicy-70098196 not found, creating it
2026-06-17 07:36:33,204 - INFO - Created Project:ctest-TestBasicPolicy-70098196, ID : dac69f1e-c063-4708-9f5b-3b42503798a8
2026-06-17 07:36:34,712 - INFO - ================================================================================
2026-06-17 07:36:34,712 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-17 07:36:34,712 - 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 07:36:34,966 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-06-17 07:36:34,966 - INFO - Initial checks done. Running the testcase now
2026-06-17 07:36:34,967 - INFO -
2026-06-17 07:36:35,735 - DEBUG - Response for create_network : {'network': {'id': '78fc533d-c7eb-4db3-b6c0-2caeed9d6644', 'name': 'ctest-vn-86023531', 'tenant_id': 'dac69f1ec06347089f5b3b42503798a8', 'project_id': 'dac69f1ec06347089f5b3b42503798a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70098196', 'ctest-vn-86023531'], 'port_security_enabled': True, 'description': ''}}
2026-06-17 07:36:36,093 - DEBUG - Response for create_subnet : {'subnet': {'id': '00be947e-b536-4016-80b3-a4c4eb1a6109', 'name': '', 'tenant_id': 'dac69f1ec06347089f5b3b42503798a8', 'network_id': '78fc533d-c7eb-4db3-b6c0-2caeed9d6644', 'ip_version': 4, 'cidr': '22.104.196.128/26', 'allocation_pools': [{'start': '22.104.196.130', 'end': '22.104.196.190'}], 'gateway_ip': '22.104.196.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '22.104.196.130', 'tags': [], 'project_id': 'dac69f1ec06347089f5b3b42503798a8'}}
2026-06-17 07:36:36,115 - INFO - Created VN ctest-vn-86023531
2026-06-17 07:36:36,168 - DEBUG - VN ctest-vn-86023531 UUID is 78fc533d-c7eb-4db3-b6c0-2caeed9d6644
2026-06-17 07:36:36,478 - DEBUG - Response for create_network : {'network': {'id': '87cd00e1-0ee5-4a92-a215-c2f3b326efb3', 'name': 'ctest-vn-97584914', 'tenant_id': 'dac69f1ec06347089f5b3b42503798a8', 'project_id': 'dac69f1ec06347089f5b3b42503798a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70098196', 'ctest-vn-97584914'], 'port_security_enabled': True, 'description': ''}}
2026-06-17 07:36:36,685 - DEBUG - Response for create_subnet : {'subnet': {'id': '3345c1f7-8b20-49f6-b65e-72ab8169fff2', 'name': '', 'tenant_id': 'dac69f1ec06347089f5b3b42503798a8', 'network_id': '87cd00e1-0ee5-4a92-a215-c2f3b326efb3', 'ip_version': 4, 'cidr': '94.82.17.0/26', 'allocation_pools': [{'start': '94.82.17.2', 'end': '94.82.17.62'}], 'gateway_ip': '94.82.17.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '94.82.17.2', 'tags': [], 'project_id': 'dac69f1ec06347089f5b3b42503798a8'}}
2026-06-17 07:36:36,700 - INFO - Created VN ctest-vn-97584914
2026-06-17 07:36:36,748 - DEBUG - VN ctest-vn-97584914 UUID is 87cd00e1-0ee5-4a92-a215-c2f3b326efb3
2026-06-17 07:36:36,892 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-70098196:ctest-vn-86023531, 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-70098196:ctest-vn-97584914, 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 07:36:37,179 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '78fc533d-c7eb-4db3-b6c0-2caeed9d6644', 'name': 'ctest-vn-86023531', 'tenant_id': 'dac69f1ec06347089f5b3b42503798a8', 'project_id': 'dac69f1ec06347089f5b3b42503798a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['00be947e-b536-4016-80b3-a4c4eb1a6109'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70098196', 'ctest-vn-86023531'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70098196', 'ctest-policy-allow-all-31755414']], 'subnet_ipam': [{'subnet_cidr': '22.104.196.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-17 07:36:37,394 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '87cd00e1-0ee5-4a92-a215-c2f3b326efb3', 'name': 'ctest-vn-97584914', 'tenant_id': 'dac69f1ec06347089f5b3b42503798a8', 'project_id': 'dac69f1ec06347089f5b3b42503798a8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3345c1f7-8b20-49f6-b65e-72ab8169fff2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70098196', 'ctest-vn-97584914'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70098196', 'ctest-policy-allow-all-31755414']], 'subnet_ipam': [{'subnet_cidr': '94.82.17.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-17 07:36:37,552 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-17 07:36:37,869 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-17 07:36:37,894 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2a73fc62-26ac-4fec-95e5-4c2c0e1a33a7
2026-06-17 07:36:37,904 - DEBUG - Requesting: http://10.0.0.50:8082/project/dac69f1e-c063-4708-9f5b-3b42503798a8
2026-06-17 07:36:37,975 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/78fc533d-c7eb-4db3-b6c0-2caeed9d6644
2026-06-17 07:36:37,984 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/78fc533d-c7eb-4db3-b6c0-2caeed9d6644
2026-06-17 07:36:37,991 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9472021d-5364-4f40-b541-49a39bd21b46
2026-06-17 07:36:37,997 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9472021d-5364-4f40-b541-49a39bd21b46
2026-06-17 07:36:38,002 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9323ed5b-abe9-4cbb-8af0-cd99da822e8c
2026-06-17 07:36:38,006 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-17 07:36:38,006 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/78fc533d-c7eb-4db3-b6c0-2caeed9d6644
2026-06-17 07:36:38,012 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9472021d-5364-4f40-b541-49a39bd21b46
2026-06-17 07:36:38,022 - INFO - Verified VN network id 11 for VN 78fc533d-c7eb-4db3-b6c0-2caeed9d6644
2026-06-17 07:36:38,022 - INFO - Verifications in API Server for VN ctest-vn-86023531 passed
2026-06-17 07:36:38,022 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/78fc533d-c7eb-4db3-b6c0-2caeed9d6644
2026-06-17 07:36:38,029 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9472021d-5364-4f40-b541-49a39bd21b46
2026-06-17 07:36:38,034 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9472021d-5364-4f40-b541-49a39bd21b46
2026-06-17 07:36:38,039 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9323ed5b-abe9-4cbb-8af0-cd99da822e8c
2026-06-17 07:36:38,047 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70098196:ctest-vn-86023531', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70098196', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8717934503494634931', 'uuid-lslong': '13168574440253777476'}, 'enable': 'true', 'created': '2026-06-17T07:36:35', 'last-modified': '2026-06-17T07:36:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.887616'}
2026-06-17 07:36:38,052 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-17 07:36:38,052 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86023531 passed
2026-06-17 07:36:38,053 - DEBUG - ====Verifying policy data for ctest-vn-86023531 in API_Server ======
2026-06-17 07:36:38,053 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-17 07:36:38,056 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2a73fc62-26ac-4fec-95e5-4c2c0e1a33a7
2026-06-17 07:36:38,065 - DEBUG - Requesting: http://10.0.0.50:8082/project/dac69f1e-c063-4708-9f5b-3b42503798a8
2026-06-17 07:36:38,132 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/78fc533d-c7eb-4db3-b6c0-2caeed9d6644
2026-06-17 07:36:38,140 - DEBUG - ==>Verifying data for policy with id: b339df2b-032a-4c20-b0f6-882e056d1662, fqn: ['default-domain', 'ctest-TestBasicPolicy-70098196', 'ctest-policy-allow-all-31755414']
2026-06-17 07:36:38,140 - INFO - VN ctest-vn-86023531 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-17 07:36:38,140 - DEBUG - Verifying the vn in opserver
2026-06-17 07:36:38,140 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70098196:ctest-vn-86023531 virtual network link through opserver 10.0.0.50
2026-06-17 07:36:38,140 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-17 07:36:38,456 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-17 07:36:38,499 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70098196:ctest-vn-86023531', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70098196:ctest-vn-86023531?flat'}
2026-06-17 07:36:38,499 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70098196:ctest-vn-86023531 is found in opserver
2026-06-17 07:36:38,508 - DEBUG - Do not have enough data to verify VN in agent
2026-06-17 07:36:38,511 - DEBUG - VRF ids for VN ctest-vn-86023531: {}
2026-06-17 07:36:38,511 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-17 07:36:38,516 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2a73fc62-26ac-4fec-95e5-4c2c0e1a33a7
2026-06-17 07:36:38,524 - DEBUG - Requesting: http://10.0.0.50:8082/project/dac69f1e-c063-4708-9f5b-3b42503798a8
2026-06-17 07:36:38,593 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/87cd00e1-0ee5-4a92-a215-c2f3b326efb3
2026-06-17 07:36:38,603 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/87cd00e1-0ee5-4a92-a215-c2f3b326efb3
2026-06-17 07:36:38,611 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/eccf55ea-337c-437c-ac8f-f0cb514f5db7
2026-06-17 07:36:38,617 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/eccf55ea-337c-437c-ac8f-f0cb514f5db7
2026-06-17 07:36:38,621 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ce439113-cdb0-443c-a2e8-344641d9d88a
2026-06-17 07:36:38,626 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-17 07:36:38,626 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/87cd00e1-0ee5-4a92-a215-c2f3b326efb3
2026-06-17 07:36:38,633 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/eccf55ea-337c-437c-ac8f-f0cb514f5db7
2026-06-17 07:36:38,643 - INFO - Verified VN network id 12 for VN 87cd00e1-0ee5-4a92-a215-c2f3b326efb3
2026-06-17 07:36:38,643 - INFO - Verifications in API Server for VN ctest-vn-97584914 passed
2026-06-17 07:36:38,643 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/87cd00e1-0ee5-4a92-a215-c2f3b326efb3
2026-06-17 07:36:38,650 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/eccf55ea-337c-437c-ac8f-f0cb514f5db7
2026-06-17 07:36:38,654 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/eccf55ea-337c-437c-ac8f-f0cb514f5db7
2026-06-17 07:36:38,659 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/ce439113-cdb0-443c-a2e8-344641d9d88a
2026-06-17 07:36:38,674 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70098196:ctest-vn-97584914', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70098196', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9785478531963505298', 'uuid-lslong': '11679455560593764275'}, 'enable': 'true', 'created': '2026-06-17T07:36:36', 'last-modified': '2026-06-17T07:36:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.299631'}
2026-06-17 07:36:38,679 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-17 07:36:38,679 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97584914 passed
2026-06-17 07:36:38,679 - DEBUG - ====Verifying policy data for ctest-vn-97584914 in API_Server ======
2026-06-17 07:36:38,679 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-06-17 07:36:38,684 - DEBUG - Requesting: http://10.0.0.50:8082/domain/2a73fc62-26ac-4fec-95e5-4c2c0e1a33a7
2026-06-17 07:36:38,693 - DEBUG - Requesting: http://10.0.0.50:8082/project/dac69f1e-c063-4708-9f5b-3b42503798a8
2026-06-17 07:36:38,759 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/87cd00e1-0ee5-4a92-a215-c2f3b326efb3
2026-06-17 07:36:38,766 - DEBUG - ==>Verifying data for policy with id: b339df2b-032a-4c20-b0f6-882e056d1662, fqn: ['default-domain', 'ctest-TestBasicPolicy-70098196', 'ctest-policy-allow-all-31755414']
2026-06-17 07:36:38,767 - INFO - VN ctest-vn-97584914 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-17 07:36:38,767 - DEBUG - Verifying the vn in opserver
2026-06-17 07:36:38,767 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70098196:ctest-vn-97584914 virtual network link through opserver 10.0.0.50
2026-06-17 07:36:38,767 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-06-17 07:36:38,775 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70098196:ctest-vn-97584914', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70098196:ctest-vn-97584914?flat'}
2026-06-17 07:36:38,775 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70098196:ctest-vn-97584914 is found in opserver
2026-06-17 07:36:38,783 - DEBUG - Do not have enough data to verify VN in agent
2026-06-17 07:36:38,787 - DEBUG - VRF ids for VN ctest-vn-97584914: {}
2026-06-17 07:36:38,835 - DEBUG - Services list from nova: [