2026-06-01 13:25:40,145 - INFO - Domain Default found not creating
2026-06-01 13:25:40,295 - INFO - Project ctest-TestBasicPolicy-32529039 not found, creating it
2026-06-01 13:25:40,729 - INFO - Created Project:ctest-TestBasicPolicy-32529039, ID : 3827c6a7-1f60-4553-bbfc-7bc9a1ffe85a
2026-06-01 13:25:42,761 - INFO - ================================================================================
2026-06-01 13:25:42,761 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-01 13:25:42,761 - 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-01 13:25:43,018 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.254': '0'}} with
2026-06-01 13:25:43,018 - INFO - Initial checks done. Running the testcase now
2026-06-01 13:25:43,019 - INFO -
2026-06-01 13:25:43,549 - DEBUG - Response for create_network : {'network': {'id': 'e64d3d45-321a-41ed-9e08-1a243eda670f', 'name': 'ctest-vn-14093817', 'tenant_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'project_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32529039', 'ctest-vn-14093817'], 'port_security_enabled': True, 'description': ''}}
2026-06-01 13:25:43,730 - DEBUG - Response for create_subnet : {'subnet': {'id': '620d0efd-c814-4bd6-a526-91a9a0737250', 'name': '', 'tenant_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'network_id': 'e64d3d45-321a-41ed-9e08-1a243eda670f', 'ip_version': 4, 'cidr': '136.38.51.128/26', 'allocation_pools': [{'start': '136.38.51.130', 'end': '136.38.51.190'}], 'gateway_ip': '136.38.51.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.38.51.130', 'tags': [], 'project_id': '3827c6a71f604553bbfc7bc9a1ffe85a'}}
2026-06-01 13:25:43,748 - INFO - Created VN ctest-vn-14093817
2026-06-01 13:25:43,801 - DEBUG - VN ctest-vn-14093817 UUID is e64d3d45-321a-41ed-9e08-1a243eda670f
2026-06-01 13:25:44,114 - DEBUG - Response for create_network : {'network': {'id': 'f5686cf8-810e-41a5-a897-c6d06d94dc9e', 'name': 'ctest-vn-92773366', 'tenant_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'project_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32529039', 'ctest-vn-92773366'], 'port_security_enabled': True, 'description': ''}}
2026-06-01 13:25:44,275 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c0931daf-eedb-42ac-8946-e729d45a65b0', 'name': '', 'tenant_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'network_id': 'f5686cf8-810e-41a5-a897-c6d06d94dc9e', 'ip_version': 4, 'cidr': '119.220.221.64/26', 'allocation_pools': [{'start': '119.220.221.66', 'end': '119.220.221.126'}], 'gateway_ip': '119.220.221.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '119.220.221.66', 'tags': [], 'project_id': '3827c6a71f604553bbfc7bc9a1ffe85a'}}
2026-06-01 13:25:44,292 - INFO - Created VN ctest-vn-92773366
2026-06-01 13:25:44,345 - DEBUG - VN ctest-vn-92773366 UUID is f5686cf8-810e-41a5-a897-c6d06d94dc9e
2026-06-01 13:25:44,497 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-14093817, 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-32529039:ctest-vn-92773366, 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-01 13:25:44,791 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e64d3d45-321a-41ed-9e08-1a243eda670f', 'name': 'ctest-vn-14093817', 'tenant_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'project_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['620d0efd-c814-4bd6-a526-91a9a0737250'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32529039', 'ctest-vn-14093817'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32529039', 'ctest-policy-allow-all-57634908']], 'subnet_ipam': [{'subnet_cidr': '136.38.51.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-01 13:25:45,005 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f5686cf8-810e-41a5-a897-c6d06d94dc9e', 'name': 'ctest-vn-92773366', 'tenant_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'project_id': '3827c6a71f604553bbfc7bc9a1ffe85a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c0931daf-eedb-42ac-8946-e729d45a65b0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32529039', 'ctest-vn-92773366'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32529039', 'ctest-policy-allow-all-57634908']], 'subnet_ipam': [{'subnet_cidr': '119.220.221.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-01 13:25:45,173 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-06-01 13:25:45,469 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-06-01 13:25:45,497 - DEBUG - Requesting: http://10.0.0.41:8082/domain/8d501a31-5178-4c20-bee1-1a6df9581e93
2026-06-01 13:25:45,507 - DEBUG - Requesting: http://10.0.0.41:8082/project/3827c6a7-1f60-4553-bbfc-7bc9a1ffe85a
2026-06-01 13:25:45,573 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e64d3d45-321a-41ed-9e08-1a243eda670f
2026-06-01 13:25:45,584 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e64d3d45-321a-41ed-9e08-1a243eda670f
2026-06-01 13:25:45,592 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7504fe89-16a0-44ef-8675-2c9d9544e8ae
2026-06-01 13:25:45,599 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7504fe89-16a0-44ef-8675-2c9d9544e8ae
2026-06-01 13:25:45,605 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/39a035e4-f9cd-4b1b-8909-9dc5b1437afa
2026-06-01 13:25:45,611 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-01 13:25:45,612 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e64d3d45-321a-41ed-9e08-1a243eda670f
2026-06-01 13:25:45,620 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7504fe89-16a0-44ef-8675-2c9d9544e8ae
2026-06-01 13:25:45,632 - INFO - Verified VN network id 10 for VN e64d3d45-321a-41ed-9e08-1a243eda670f
2026-06-01 13:25:45,632 - INFO - Verifications in API Server for VN ctest-vn-14093817 passed
2026-06-01 13:25:45,632 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e64d3d45-321a-41ed-9e08-1a243eda670f
2026-06-01 13:25:45,640 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7504fe89-16a0-44ef-8675-2c9d9544e8ae
2026-06-01 13:25:45,647 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/7504fe89-16a0-44ef-8675-2c9d9544e8ae
2026-06-01 13:25:45,653 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/39a035e4-f9cd-4b1b-8909-9dc5b1437afa
2026-06-01 13:25:45,664 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-14093817', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32529039', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16594987569332765165', 'uuid-lslong': '11387380400781944591'}, 'enable': 'true', 'created': '2026-06-01T13:25:43', 'last-modified': '2026-06-01T13:25:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.895623'}
2026-06-01 13:25:45,670 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-01 13:25:45,670 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14093817 passed
2026-06-01 13:25:45,670 - DEBUG - ====Verifying policy data for ctest-vn-14093817 in API_Server ======
2026-06-01 13:25:45,670 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-06-01 13:25:45,676 - DEBUG - Requesting: http://10.0.0.41:8082/domain/8d501a31-5178-4c20-bee1-1a6df9581e93
2026-06-01 13:25:45,685 - DEBUG - Requesting: http://10.0.0.41:8082/project/3827c6a7-1f60-4553-bbfc-7bc9a1ffe85a
2026-06-01 13:25:45,753 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/e64d3d45-321a-41ed-9e08-1a243eda670f
2026-06-01 13:25:45,761 - DEBUG - ==>Verifying data for policy with id: 6bee2765-434e-4c0e-9dbe-e5a285ede44d, fqn: ['default-domain', 'ctest-TestBasicPolicy-32529039', 'ctest-policy-allow-all-57634908']
2026-06-01 13:25:45,761 - INFO - VN ctest-vn-14093817 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-01 13:25:45,761 - DEBUG - Verifying the vn in opserver
2026-06-01 13:25:45,761 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-14093817 virtual network link through opserver 10.0.0.41
2026-06-01 13:25:45,761 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-06-01 13:25:46,050 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-06-01 13:25:46,106 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-14093817', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-14093817?flat'}
2026-06-01 13:25:46,106 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-14093817 is found in opserver
2026-06-01 13:25:46,115 - DEBUG - Do not have enough data to verify VN in agent
2026-06-01 13:25:46,119 - DEBUG - VRF ids for VN ctest-vn-14093817: {}
2026-06-01 13:25:46,120 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-06-01 13:25:46,124 - DEBUG - Requesting: http://10.0.0.41:8082/domain/8d501a31-5178-4c20-bee1-1a6df9581e93
2026-06-01 13:25:46,133 - DEBUG - Requesting: http://10.0.0.41:8082/project/3827c6a7-1f60-4553-bbfc-7bc9a1ffe85a
2026-06-01 13:25:46,203 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f5686cf8-810e-41a5-a897-c6d06d94dc9e
2026-06-01 13:25:46,212 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f5686cf8-810e-41a5-a897-c6d06d94dc9e
2026-06-01 13:25:46,220 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5e5c67d2-81a3-46b0-a60c-a623b655ca6a
2026-06-01 13:25:46,227 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5e5c67d2-81a3-46b0-a60c-a623b655ca6a
2026-06-01 13:25:46,233 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/b52b8004-a7f3-4dd7-9a47-da6b44c36bb0
2026-06-01 13:25:46,238 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-01 13:25:46,238 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f5686cf8-810e-41a5-a897-c6d06d94dc9e
2026-06-01 13:25:46,245 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5e5c67d2-81a3-46b0-a60c-a623b655ca6a
2026-06-01 13:25:46,256 - INFO - Verified VN network id 11 for VN f5686cf8-810e-41a5-a897-c6d06d94dc9e
2026-06-01 13:25:46,256 - INFO - Verifications in API Server for VN ctest-vn-92773366 passed
2026-06-01 13:25:46,256 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f5686cf8-810e-41a5-a897-c6d06d94dc9e
2026-06-01 13:25:46,263 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5e5c67d2-81a3-46b0-a60c-a623b655ca6a
2026-06-01 13:25:46,269 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/5e5c67d2-81a3-46b0-a60c-a623b655ca6a
2026-06-01 13:25:46,274 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/b52b8004-a7f3-4dd7-9a47-da6b44c36bb0
2026-06-01 13:25:46,284 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-92773366', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32529039', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17683503751443136933', 'uuid-lslong': '12148397118349171870'}, 'enable': 'true', 'created': '2026-06-01T13:25:44', 'last-modified': '2026-06-01T13:25:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.294138'}
2026-06-01 13:25:46,289 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-01 13:25:46,289 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-92773366 passed
2026-06-01 13:25:46,289 - DEBUG - ====Verifying policy data for ctest-vn-92773366 in API_Server ======
2026-06-01 13:25:46,289 - DEBUG - Requesting: http://10.0.0.41:8082/domains
2026-06-01 13:25:46,294 - DEBUG - Requesting: http://10.0.0.41:8082/domain/8d501a31-5178-4c20-bee1-1a6df9581e93
2026-06-01 13:25:46,303 - DEBUG - Requesting: http://10.0.0.41:8082/project/3827c6a7-1f60-4553-bbfc-7bc9a1ffe85a
2026-06-01 13:25:46,373 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/f5686cf8-810e-41a5-a897-c6d06d94dc9e
2026-06-01 13:25:46,381 - DEBUG - ==>Verifying data for policy with id: 6bee2765-434e-4c0e-9dbe-e5a285ede44d, fqn: ['default-domain', 'ctest-TestBasicPolicy-32529039', 'ctest-policy-allow-all-57634908']
2026-06-01 13:25:46,381 - INFO - VN ctest-vn-92773366 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-01 13:25:46,381 - DEBUG - Verifying the vn in opserver
2026-06-01 13:25:46,381 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-92773366 virtual network link through opserver 10.0.0.41
2026-06-01 13:25:46,381 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks
2026-06-01 13:25:46,391 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-92773366', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-92773366?flat'}
2026-06-01 13:25:46,391 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32529039:ctest-vn-92773366 is found in opserver
2026-06-01 13:25:46,400 - DEBUG - Do not have enough data to verify VN in agent
2026-06-01 13:25:46,404 - DEBUG - VRF ids for VN ctest-vn-92773366: {}
2026-06-01 13:25:46,457 - DEBUG - Services list from nova: [