2026-04-29 19:58:14,805 - INFO - Domain Default found not creating
2026-04-29 19:58:14,987 - INFO - Project ctest-TestBasicPolicy-29463923 not found, creating it
2026-04-29 19:58:15,476 - INFO - Created Project:ctest-TestBasicPolicy-29463923, ID : 6160c11a-c81f-4a5b-9c64-4ec66803a4bf
2026-04-29 19:58:17,609 - INFO - ================================================================================
2026-04-29 19:58:17,609 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-04-29 19:58:17,609 - 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-04-29 19:58:17,875 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-04-29 19:58:17,875 - INFO - Initial checks done. Running the testcase now
2026-04-29 19:58:17,875 - INFO -
2026-04-29 19:58:18,431 - DEBUG - Response for create_network : {'network': {'id': '5ec31f99-c3c3-4411-93f5-4c258b812abf', 'name': 'ctest-vn-91948290', 'tenant_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'project_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29463923', 'ctest-vn-91948290'], 'port_security_enabled': True, 'description': ''}}
2026-04-29 19:58:18,618 - DEBUG - Response for create_subnet : {'subnet': {'id': '44f19f07-f0ac-4345-8e7a-8020401c8c38', 'name': '', 'tenant_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'network_id': '5ec31f99-c3c3-4411-93f5-4c258b812abf', 'ip_version': 4, 'cidr': '112.28.58.192/26', 'allocation_pools': [{'start': '112.28.58.194', 'end': '112.28.58.254'}], 'gateway_ip': '112.28.58.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '112.28.58.194', 'tags': [], 'project_id': '6160c11ac81f4a5b9c644ec66803a4bf'}}
2026-04-29 19:58:18,638 - INFO - Created VN ctest-vn-91948290
2026-04-29 19:58:18,693 - DEBUG - VN ctest-vn-91948290 UUID is 5ec31f99-c3c3-4411-93f5-4c258b812abf
2026-04-29 19:58:19,001 - DEBUG - Response for create_network : {'network': {'id': 'df043ae2-46ef-42dc-941c-41667efc373c', 'name': 'ctest-vn-11299145', 'tenant_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'project_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29463923', 'ctest-vn-11299145'], 'port_security_enabled': True, 'description': ''}}
2026-04-29 19:58:19,172 - DEBUG - Response for create_subnet : {'subnet': {'id': '3dbdfeb2-af09-4429-8735-8d6d2513f1de', 'name': '', 'tenant_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'network_id': 'df043ae2-46ef-42dc-941c-41667efc373c', 'ip_version': 4, 'cidr': '74.255.81.0/26', 'allocation_pools': [{'start': '74.255.81.2', 'end': '74.255.81.62'}], 'gateway_ip': '74.255.81.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.255.81.2', 'tags': [], 'project_id': '6160c11ac81f4a5b9c644ec66803a4bf'}}
2026-04-29 19:58:19,193 - INFO - Created VN ctest-vn-11299145
2026-04-29 19:58:19,245 - DEBUG - VN ctest-vn-11299145 UUID is df043ae2-46ef-42dc-941c-41667efc373c
2026-04-29 19:58:19,368 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-91948290, 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-29463923:ctest-vn-11299145, 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-04-29 19:58:19,654 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5ec31f99-c3c3-4411-93f5-4c258b812abf', 'name': 'ctest-vn-91948290', 'tenant_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'project_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['44f19f07-f0ac-4345-8e7a-8020401c8c38'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29463923', 'ctest-vn-91948290'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29463923', 'ctest-policy-allow-all-58213708']], 'subnet_ipam': [{'subnet_cidr': '112.28.58.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-29 19:58:19,885 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'df043ae2-46ef-42dc-941c-41667efc373c', 'name': 'ctest-vn-11299145', 'tenant_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'project_id': '6160c11ac81f4a5b9c644ec66803a4bf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['3dbdfeb2-af09-4429-8735-8d6d2513f1de'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29463923', 'ctest-vn-11299145'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29463923', 'ctest-policy-allow-all-58213708']], 'subnet_ipam': [{'subnet_cidr': '74.255.81.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-04-29 19:58:20,056 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-29 19:58:20,348 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-29 19:58:20,378 - DEBUG - Requesting: http://10.0.0.38:8082/domain/be681d47-90d9-4701-b2ab-9f284526f161
2026-04-29 19:58:20,388 - DEBUG - Requesting: http://10.0.0.38:8082/project/6160c11a-c81f-4a5b-9c64-4ec66803a4bf
2026-04-29 19:58:20,457 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5ec31f99-c3c3-4411-93f5-4c258b812abf
2026-04-29 19:58:20,467 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5ec31f99-c3c3-4411-93f5-4c258b812abf
2026-04-29 19:58:20,474 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91f25212-a759-4b43-b9c7-5e6e7ae79be4
2026-04-29 19:58:20,480 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91f25212-a759-4b43-b9c7-5e6e7ae79be4
2026-04-29 19:58:20,486 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b54e2ded-279f-417e-b59f-ab86d6bdc29b
2026-04-29 19:58:20,491 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-29 19:58:20,491 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5ec31f99-c3c3-4411-93f5-4c258b812abf
2026-04-29 19:58:20,497 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91f25212-a759-4b43-b9c7-5e6e7ae79be4
2026-04-29 19:58:20,509 - INFO - Verified VN network id 11 for VN 5ec31f99-c3c3-4411-93f5-4c258b812abf
2026-04-29 19:58:20,509 - INFO - Verifications in API Server for VN ctest-vn-91948290 passed
2026-04-29 19:58:20,509 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5ec31f99-c3c3-4411-93f5-4c258b812abf
2026-04-29 19:58:20,517 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91f25212-a759-4b43-b9c7-5e6e7ae79be4
2026-04-29 19:58:20,523 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/91f25212-a759-4b43-b9c7-5e6e7ae79be4
2026-04-29 19:58:20,528 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b54e2ded-279f-417e-b59f-ab86d6bdc29b
2026-04-29 19:58:20,537 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-91948290', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29463923', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6828336205298615313', 'uuid-lslong': '10661511417007516351'}, 'enable': 'true', 'created': '2026-04-29T19:58:18', 'last-modified': '2026-04-29T19:58:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.903121'}
2026-04-29 19:58:20,542 - DEBUG - Route Targets: ['target:64512:8000004']
2026-04-29 19:58:20,542 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91948290 passed
2026-04-29 19:58:20,543 - DEBUG - ====Verifying policy data for ctest-vn-91948290 in API_Server ======
2026-04-29 19:58:20,543 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-29 19:58:20,547 - DEBUG - Requesting: http://10.0.0.38:8082/domain/be681d47-90d9-4701-b2ab-9f284526f161
2026-04-29 19:58:20,558 - DEBUG - Requesting: http://10.0.0.38:8082/project/6160c11a-c81f-4a5b-9c64-4ec66803a4bf
2026-04-29 19:58:20,625 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5ec31f99-c3c3-4411-93f5-4c258b812abf
2026-04-29 19:58:20,633 - DEBUG - ==>Verifying data for policy with id: 3a66cdb9-5715-4c18-8c7b-8a31fc4c02a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-29463923', 'ctest-policy-allow-all-58213708']
2026-04-29 19:58:20,633 - INFO - VN ctest-vn-91948290 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-29 19:58:20,633 - DEBUG - Verifying the vn in opserver
2026-04-29 19:58:20,633 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-91948290 virtual network link through opserver 10.0.0.38
2026-04-29 19:58:20,633 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-04-29 19:58:20,926 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-04-29 19:58:20,978 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-91948290', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-91948290?flat'}
2026-04-29 19:58:20,978 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-91948290 is found in opserver
2026-04-29 19:58:20,986 - DEBUG - Do not have enough data to verify VN in agent
2026-04-29 19:58:20,990 - DEBUG - VRF ids for VN ctest-vn-91948290: {}
2026-04-29 19:58:20,990 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-29 19:58:20,997 - DEBUG - Requesting: http://10.0.0.38:8082/domain/be681d47-90d9-4701-b2ab-9f284526f161
2026-04-29 19:58:21,008 - DEBUG - Requesting: http://10.0.0.38:8082/project/6160c11a-c81f-4a5b-9c64-4ec66803a4bf
2026-04-29 19:58:21,073 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df043ae2-46ef-42dc-941c-41667efc373c
2026-04-29 19:58:21,084 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df043ae2-46ef-42dc-941c-41667efc373c
2026-04-29 19:58:21,091 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13da75d3-68ef-4ece-9432-20b03affbcae
2026-04-29 19:58:21,097 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13da75d3-68ef-4ece-9432-20b03affbcae
2026-04-29 19:58:21,102 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f9deeb35-c1e0-43f9-997c-660327f42174
2026-04-29 19:58:21,107 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-29 19:58:21,107 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df043ae2-46ef-42dc-941c-41667efc373c
2026-04-29 19:58:21,114 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13da75d3-68ef-4ece-9432-20b03affbcae
2026-04-29 19:58:21,125 - INFO - Verified VN network id 12 for VN df043ae2-46ef-42dc-941c-41667efc373c
2026-04-29 19:58:21,125 - INFO - Verifications in API Server for VN ctest-vn-11299145 passed
2026-04-29 19:58:21,125 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df043ae2-46ef-42dc-941c-41667efc373c
2026-04-29 19:58:21,132 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13da75d3-68ef-4ece-9432-20b03affbcae
2026-04-29 19:58:21,137 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/13da75d3-68ef-4ece-9432-20b03affbcae
2026-04-29 19:58:21,142 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/f9deeb35-c1e0-43f9-997c-660327f42174
2026-04-29 19:58:21,151 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-11299145', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29463923', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16070034113891877596', 'uuid-lslong': '10672477125434160956'}, 'enable': 'true', 'created': '2026-04-29T19:58:18', 'last-modified': '2026-04-29T19:58:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.288808'}
2026-04-29 19:58:21,156 - DEBUG - Route Targets: ['target:64512:8000005']
2026-04-29 19:58:21,156 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11299145 passed
2026-04-29 19:58:21,156 - DEBUG - ====Verifying policy data for ctest-vn-11299145 in API_Server ======
2026-04-29 19:58:21,156 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-04-29 19:58:21,161 - DEBUG - Requesting: http://10.0.0.38:8082/domain/be681d47-90d9-4701-b2ab-9f284526f161
2026-04-29 19:58:21,171 - DEBUG - Requesting: http://10.0.0.38:8082/project/6160c11a-c81f-4a5b-9c64-4ec66803a4bf
2026-04-29 19:58:21,241 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df043ae2-46ef-42dc-941c-41667efc373c
2026-04-29 19:58:21,249 - DEBUG - ==>Verifying data for policy with id: 3a66cdb9-5715-4c18-8c7b-8a31fc4c02a6, fqn: ['default-domain', 'ctest-TestBasicPolicy-29463923', 'ctest-policy-allow-all-58213708']
2026-04-29 19:58:21,249 - INFO - VN ctest-vn-11299145 Policy verification: verify_vn_policy_in_api_server, status: True
2026-04-29 19:58:21,249 - DEBUG - Verifying the vn in opserver
2026-04-29 19:58:21,249 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-11299145 virtual network link through opserver 10.0.0.38
2026-04-29 19:58:21,249 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-04-29 19:58:21,258 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-11299145', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-11299145?flat'}
2026-04-29 19:58:21,259 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29463923:ctest-vn-11299145 is found in opserver
2026-04-29 19:58:21,268 - DEBUG - Do not have enough data to verify VN in agent
2026-04-29 19:58:21,273 - DEBUG - VRF ids for VN ctest-vn-11299145: {}
2026-04-29 19:58:21,329 - DEBUG - Services list from nova: [