2026-03-04 18:35:10,873 - INFO - Domain Default found not creating
2026-03-04 18:35:11,088 - INFO - Project ctest-TestBasicPolicy-98793701 not found, creating it
2026-03-04 18:35:11,553 - INFO - Created Project:ctest-TestBasicPolicy-98793701, ID : 4aa9b248-3dc5-41cc-9e44-601f2cea2a2f
2026-03-04 18:35:13,034 - INFO - ================================================================================
2026-03-04 18:35:13,035 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-04 18:35:13,035 - 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-03-04 18:35:13,287 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.14': '0'}} with
2026-03-04 18:35:13,287 - INFO - Initial checks done. Running the testcase now
2026-03-04 18:35:13,287 - INFO -
2026-03-04 18:35:13,819 - DEBUG - Response for create_network : {'network': {'id': 'a5fa365c-33ad-4dc1-89bd-5419ea21c87f', 'name': 'ctest-vn-23859587', 'tenant_id': '4aa9b2483dc541cc9e44601f2cea2a2f', 'project_id': '4aa9b2483dc541cc9e44601f2cea2a2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98793701', 'ctest-vn-23859587'], 'port_security_enabled': True, 'description': ''}}
2026-03-04 18:35:13,986 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc88a68a-ad0c-4436-98ab-6ee9900c95d1', 'name': '', 'tenant_id': '4aa9b2483dc541cc9e44601f2cea2a2f', 'network_id': 'a5fa365c-33ad-4dc1-89bd-5419ea21c87f', 'ip_version': 4, 'cidr': '75.170.73.64/26', 'allocation_pools': [{'start': '75.170.73.66', 'end': '75.170.73.126'}], 'gateway_ip': '75.170.73.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '75.170.73.66', 'tags': [], 'project_id': '4aa9b2483dc541cc9e44601f2cea2a2f'}}
2026-03-04 18:35:14,004 - INFO - Created VN ctest-vn-23859587
2026-03-04 18:35:14,057 - DEBUG - VN ctest-vn-23859587 UUID is a5fa365c-33ad-4dc1-89bd-5419ea21c87f
2026-03-04 18:35:14,346 - DEBUG - Response for create_network : {'network': {'id': '70c42adf-f258-4480-8110-d89b3943d38a', 'name': 'ctest-vn-70571605', 'tenant_id': '4aa9b2483dc541cc9e44601f2cea2a2f', 'project_id': '4aa9b2483dc541cc9e44601f2cea2a2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98793701', 'ctest-vn-70571605'], 'port_security_enabled': True, 'description': ''}}
2026-03-04 18:35:14,489 - DEBUG - Response for create_subnet : {'subnet': {'id': '1cc8568f-aa2f-41d9-9e96-340feaadd99c', 'name': '', 'tenant_id': '4aa9b2483dc541cc9e44601f2cea2a2f', 'network_id': '70c42adf-f258-4480-8110-d89b3943d38a', 'ip_version': 4, 'cidr': '162.154.99.64/26', 'allocation_pools': [{'start': '162.154.99.66', 'end': '162.154.99.126'}], 'gateway_ip': '162.154.99.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.154.99.66', 'tags': [], 'project_id': '4aa9b2483dc541cc9e44601f2cea2a2f'}}
2026-03-04 18:35:14,508 - INFO - Created VN ctest-vn-70571605
2026-03-04 18:35:14,562 - DEBUG - VN ctest-vn-70571605 UUID is 70c42adf-f258-4480-8110-d89b3943d38a
2026-03-04 18:35:14,713 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-98793701:ctest-vn-23859587, 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-98793701:ctest-vn-70571605, 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-03-04 18:35:15,048 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a5fa365c-33ad-4dc1-89bd-5419ea21c87f', 'name': 'ctest-vn-23859587', 'tenant_id': '4aa9b2483dc541cc9e44601f2cea2a2f', 'project_id': '4aa9b2483dc541cc9e44601f2cea2a2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bc88a68a-ad0c-4436-98ab-6ee9900c95d1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98793701', 'ctest-vn-23859587'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98793701', 'ctest-policy-allow-all-27718214']], 'subnet_ipam': [{'subnet_cidr': '75.170.73.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-04 18:35:15,286 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '70c42adf-f258-4480-8110-d89b3943d38a', 'name': 'ctest-vn-70571605', 'tenant_id': '4aa9b2483dc541cc9e44601f2cea2a2f', 'project_id': '4aa9b2483dc541cc9e44601f2cea2a2f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1cc8568f-aa2f-41d9-9e96-340feaadd99c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-98793701', 'ctest-vn-70571605'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-98793701', 'ctest-policy-allow-all-27718214']], 'subnet_ipam': [{'subnet_cidr': '162.154.99.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-04 18:35:15,458 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-04 18:35:15,755 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-04 18:35:15,790 - DEBUG - Requesting: http://10.0.0.33:8082/domain/43ae3b76-4c26-4084-b595-2e9b852d91dc
2026-03-04 18:35:15,803 - DEBUG - Requesting: http://10.0.0.33:8082/project/4aa9b248-3dc5-41cc-9e44-601f2cea2a2f
2026-03-04 18:35:15,879 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a5fa365c-33ad-4dc1-89bd-5419ea21c87f
2026-03-04 18:35:15,889 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a5fa365c-33ad-4dc1-89bd-5419ea21c87f
2026-03-04 18:35:15,899 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9a138c2d-0d16-49f3-bc02-d4d71f9ba525
2026-03-04 18:35:15,906 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9a138c2d-0d16-49f3-bc02-d4d71f9ba525
2026-03-04 18:35:15,913 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/05a103fa-0e97-4061-afb6-9485d24194d1
2026-03-04 18:35:15,920 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-04 18:35:15,920 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a5fa365c-33ad-4dc1-89bd-5419ea21c87f
2026-03-04 18:35:15,929 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9a138c2d-0d16-49f3-bc02-d4d71f9ba525
2026-03-04 18:35:15,944 - INFO - Verified VN network id 11 for VN a5fa365c-33ad-4dc1-89bd-5419ea21c87f
2026-03-04 18:35:15,944 - INFO - Verifications in API Server for VN ctest-vn-23859587 passed
2026-03-04 18:35:15,944 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a5fa365c-33ad-4dc1-89bd-5419ea21c87f
2026-03-04 18:35:15,953 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9a138c2d-0d16-49f3-bc02-d4d71f9ba525
2026-03-04 18:35:15,960 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9a138c2d-0d16-49f3-bc02-d4d71f9ba525
2026-03-04 18:35:15,966 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/05a103fa-0e97-4061-afb6-9485d24194d1
2026-03-04 18:35:15,981 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98793701:ctest-vn-23859587', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98793701', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11959931530067660225', 'uuid-lslong': '9925181624073439359'}, 'enable': 'true', 'created': '2026-03-04T18:35:13', 'last-modified': '2026-03-04T18:35:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.990360'}
2026-03-04 18:35:15,988 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-04 18:35:15,988 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23859587 passed
2026-03-04 18:35:15,988 - DEBUG - ====Verifying policy data for ctest-vn-23859587 in API_Server ======
2026-03-04 18:35:15,988 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-04 18:35:15,995 - DEBUG - Requesting: http://10.0.0.33:8082/domain/43ae3b76-4c26-4084-b595-2e9b852d91dc
2026-03-04 18:35:16,006 - DEBUG - Requesting: http://10.0.0.33:8082/project/4aa9b248-3dc5-41cc-9e44-601f2cea2a2f
2026-03-04 18:35:16,078 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/a5fa365c-33ad-4dc1-89bd-5419ea21c87f
2026-03-04 18:35:16,087 - DEBUG - ==>Verifying data for policy with id: ab44b3a6-430d-4650-855b-b61b4a8cef65, fqn: ['default-domain', 'ctest-TestBasicPolicy-98793701', 'ctest-policy-allow-all-27718214']
2026-03-04 18:35:16,088 - INFO - VN ctest-vn-23859587 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-04 18:35:16,088 - DEBUG - Verifying the vn in opserver
2026-03-04 18:35:16,088 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98793701:ctest-vn-23859587 virtual network link through opserver 10.0.0.33
2026-03-04 18:35:16,088 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-04 18:35:16,387 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-04 18:35:16,456 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98793701:ctest-vn-23859587', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98793701:ctest-vn-23859587?flat'}
2026-03-04 18:35:16,456 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98793701:ctest-vn-23859587 is found in opserver
2026-03-04 18:35:16,464 - DEBUG - Do not have enough data to verify VN in agent
2026-03-04 18:35:16,468 - DEBUG - VRF ids for VN ctest-vn-23859587: {}
2026-03-04 18:35:16,469 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-04 18:35:16,474 - DEBUG - Requesting: http://10.0.0.33:8082/domain/43ae3b76-4c26-4084-b595-2e9b852d91dc
2026-03-04 18:35:16,485 - DEBUG - Requesting: http://10.0.0.33:8082/project/4aa9b248-3dc5-41cc-9e44-601f2cea2a2f
2026-03-04 18:35:16,554 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/70c42adf-f258-4480-8110-d89b3943d38a
2026-03-04 18:35:16,569 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/70c42adf-f258-4480-8110-d89b3943d38a
2026-03-04 18:35:16,588 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ec3a817b-69c6-42c7-8423-854347ebdc94
2026-03-04 18:35:16,608 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ec3a817b-69c6-42c7-8423-854347ebdc94
2026-03-04 18:35:16,622 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/93cc1d7b-1011-4d22-a6dc-fd0d1e592067
2026-03-04 18:35:16,629 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-04 18:35:16,629 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/70c42adf-f258-4480-8110-d89b3943d38a
2026-03-04 18:35:16,637 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ec3a817b-69c6-42c7-8423-854347ebdc94
2026-03-04 18:35:16,649 - INFO - Verified VN network id 12 for VN 70c42adf-f258-4480-8110-d89b3943d38a
2026-03-04 18:35:16,649 - INFO - Verifications in API Server for VN ctest-vn-70571605 passed
2026-03-04 18:35:16,649 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/70c42adf-f258-4480-8110-d89b3943d38a
2026-03-04 18:35:16,657 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ec3a817b-69c6-42c7-8423-854347ebdc94
2026-03-04 18:35:16,663 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/ec3a817b-69c6-42c7-8423-854347ebdc94
2026-03-04 18:35:16,669 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/93cc1d7b-1011-4d22-a6dc-fd0d1e592067
2026-03-04 18:35:16,679 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-98793701:ctest-vn-70571605', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-98793701', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8125666769015161984', 'uuid-lslong': '9300171391712351114'}, 'enable': 'true', 'created': '2026-03-04T18:35:14', 'last-modified': '2026-03-04T18:35:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.419804'}
2026-03-04 18:35:16,685 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-04 18:35:16,685 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70571605 passed
2026-03-04 18:35:16,685 - DEBUG - ====Verifying policy data for ctest-vn-70571605 in API_Server ======
2026-03-04 18:35:16,685 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-04 18:35:16,690 - DEBUG - Requesting: http://10.0.0.33:8082/domain/43ae3b76-4c26-4084-b595-2e9b852d91dc
2026-03-04 18:35:16,700 - DEBUG - Requesting: http://10.0.0.33:8082/project/4aa9b248-3dc5-41cc-9e44-601f2cea2a2f
2026-03-04 18:35:16,771 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/70c42adf-f258-4480-8110-d89b3943d38a
2026-03-04 18:35:16,779 - DEBUG - ==>Verifying data for policy with id: ab44b3a6-430d-4650-855b-b61b4a8cef65, fqn: ['default-domain', 'ctest-TestBasicPolicy-98793701', 'ctest-policy-allow-all-27718214']
2026-03-04 18:35:16,779 - INFO - VN ctest-vn-70571605 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-04 18:35:16,779 - DEBUG - Verifying the vn in opserver
2026-03-04 18:35:16,779 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-98793701:ctest-vn-70571605 virtual network link through opserver 10.0.0.33
2026-03-04 18:35:16,779 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-04 18:35:16,788 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-98793701:ctest-vn-70571605', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-98793701:ctest-vn-70571605?flat'}
2026-03-04 18:35:16,788 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-98793701:ctest-vn-70571605 is found in opserver
2026-03-04 18:35:16,799 - DEBUG - Do not have enough data to verify VN in agent
2026-03-04 18:35:16,804 - DEBUG - VRF ids for VN ctest-vn-70571605: {}
2026-03-04 18:35:16,857 - DEBUG - Services list from nova: [