2026-02-02 19:50:18,390 - INFO - Domain Default found not creating
2026-02-02 19:50:18,809 - INFO - Project ctest-TestBasicPolicy-40650411 not found, creating it
2026-02-02 19:50:19,378 - INFO - Created Project:ctest-TestBasicPolicy-40650411, ID : 4990f057-4087-4c4e-8685-a7881af9853e
2026-02-02 19:50:21,447 - INFO - ================================================================================
2026-02-02 19:50:21,447 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-02 19:50:21,448 - 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-02-02 19:50:21,741 - DEBUG - Nothing to compare xmpp stats {'10.0.0.23': {'10.20.0.17': '0'}} with
2026-02-02 19:50:21,741 - INFO - Initial checks done. Running the testcase now
2026-02-02 19:50:21,741 - INFO -
2026-02-02 19:50:22,428 - DEBUG - Response for create_network : {'network': {'id': 'f0ee793e-4515-470d-a306-ae8ac6b0b2ee', 'name': 'ctest-vn-51235586', 'tenant_id': '4990f05740874c4e8685a7881af9853e', 'project_id': '4990f05740874c4e8685a7881af9853e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40650411', 'ctest-vn-51235586'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 19:50:22,651 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ddcf1c92-b4ed-4a66-bda8-1792a091cdd4', 'name': '', 'tenant_id': '4990f05740874c4e8685a7881af9853e', 'network_id': 'f0ee793e-4515-470d-a306-ae8ac6b0b2ee', 'ip_version': 4, 'cidr': '60.54.102.128/26', 'allocation_pools': [{'start': '60.54.102.130', 'end': '60.54.102.190'}], 'gateway_ip': '60.54.102.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.54.102.130', 'tags': [], 'project_id': '4990f05740874c4e8685a7881af9853e'}}
2026-02-02 19:50:22,670 - INFO - Created VN ctest-vn-51235586
2026-02-02 19:50:22,720 - DEBUG - VN ctest-vn-51235586 UUID is f0ee793e-4515-470d-a306-ae8ac6b0b2ee
2026-02-02 19:50:23,147 - DEBUG - Response for create_network : {'network': {'id': '4f395e46-34ab-4d2a-949f-f9e5825ab6be', 'name': 'ctest-vn-04639884', 'tenant_id': '4990f05740874c4e8685a7881af9853e', 'project_id': '4990f05740874c4e8685a7881af9853e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40650411', 'ctest-vn-04639884'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 19:50:23,336 - DEBUG - Response for create_subnet : {'subnet': {'id': '6d641b9b-173e-4481-83e2-c53518c852fd', 'name': '', 'tenant_id': '4990f05740874c4e8685a7881af9853e', 'network_id': '4f395e46-34ab-4d2a-949f-f9e5825ab6be', 'ip_version': 4, 'cidr': '99.139.200.192/26', 'allocation_pools': [{'start': '99.139.200.194', 'end': '99.139.200.254'}], 'gateway_ip': '99.139.200.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '99.139.200.194', 'tags': [], 'project_id': '4990f05740874c4e8685a7881af9853e'}}
2026-02-02 19:50:23,363 - INFO - Created VN ctest-vn-04639884
2026-02-02 19:50:23,421 - DEBUG - VN ctest-vn-04639884 UUID is 4f395e46-34ab-4d2a-949f-f9e5825ab6be
2026-02-02 19:50:23,598 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-51235586, 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-40650411:ctest-vn-04639884, 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-02-02 19:50:24,047 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f0ee793e-4515-470d-a306-ae8ac6b0b2ee', 'name': 'ctest-vn-51235586', 'tenant_id': '4990f05740874c4e8685a7881af9853e', 'project_id': '4990f05740874c4e8685a7881af9853e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ddcf1c92-b4ed-4a66-bda8-1792a091cdd4'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40650411', 'ctest-vn-51235586'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40650411', 'ctest-policy-allow-all-12134168']], 'subnet_ipam': [{'subnet_cidr': '60.54.102.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-02 19:50:24,377 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4f395e46-34ab-4d2a-949f-f9e5825ab6be', 'name': 'ctest-vn-04639884', 'tenant_id': '4990f05740874c4e8685a7881af9853e', 'project_id': '4990f05740874c4e8685a7881af9853e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6d641b9b-173e-4481-83e2-c53518c852fd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-40650411', 'ctest-vn-04639884'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-40650411', 'ctest-policy-allow-all-12134168']], 'subnet_ipam': [{'subnet_cidr': '99.139.200.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-02 19:50:24,565 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-02 19:50:24,879 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-02 19:50:24,935 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8d7a5b3d-e4cf-4fac-8887-07511fecac4d
2026-02-02 19:50:24,968 - DEBUG - Requesting: http://10.0.0.23:8082/project/4990f057-4087-4c4e-8685-a7881af9853e
2026-02-02 19:50:25,067 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f0ee793e-4515-470d-a306-ae8ac6b0b2ee
2026-02-02 19:50:25,091 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f0ee793e-4515-470d-a306-ae8ac6b0b2ee
2026-02-02 19:50:25,114 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/b9eb627c-6555-42e4-8c32-b23856d49687
2026-02-02 19:50:25,126 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/b9eb627c-6555-42e4-8c32-b23856d49687
2026-02-02 19:50:25,141 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/7cbfd2a9-b96c-445d-b9ec-1f2249ff3675
2026-02-02 19:50:25,153 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-02 19:50:25,153 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f0ee793e-4515-470d-a306-ae8ac6b0b2ee
2026-02-02 19:50:25,175 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/b9eb627c-6555-42e4-8c32-b23856d49687
2026-02-02 19:50:25,212 - INFO - Verified VN network id 11 for VN f0ee793e-4515-470d-a306-ae8ac6b0b2ee
2026-02-02 19:50:25,212 - INFO - Verifications in API Server for VN ctest-vn-51235586 passed
2026-02-02 19:50:25,212 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f0ee793e-4515-470d-a306-ae8ac6b0b2ee
2026-02-02 19:50:25,230 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/b9eb627c-6555-42e4-8c32-b23856d49687
2026-02-02 19:50:25,242 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/b9eb627c-6555-42e4-8c32-b23856d49687
2026-02-02 19:50:25,254 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/7cbfd2a9-b96c-445d-b9ec-1f2249ff3675
2026-02-02 19:50:25,277 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-51235586', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40650411', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17360946921913796365', 'uuid-lslong': '11747268589104706286'}, 'enable': 'true', 'created': '2026-02-02T19:50:22', 'last-modified': '2026-02-02T19:50:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.274091'}
2026-02-02 19:50:25,292 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-02 19:50:25,292 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-51235586 passed
2026-02-02 19:50:25,292 - DEBUG - ====Verifying policy data for ctest-vn-51235586 in API_Server ======
2026-02-02 19:50:25,292 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-02 19:50:25,301 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8d7a5b3d-e4cf-4fac-8887-07511fecac4d
2026-02-02 19:50:25,336 - DEBUG - Requesting: http://10.0.0.23:8082/project/4990f057-4087-4c4e-8685-a7881af9853e
2026-02-02 19:50:25,449 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/f0ee793e-4515-470d-a306-ae8ac6b0b2ee
2026-02-02 19:50:25,466 - DEBUG - ==>Verifying data for policy with id: 3b105264-adc1-4c38-8c94-b04428cb5a7c, fqn: ['default-domain', 'ctest-TestBasicPolicy-40650411', 'ctest-policy-allow-all-12134168']
2026-02-02 19:50:25,467 - INFO - VN ctest-vn-51235586 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-02 19:50:25,467 - DEBUG - Verifying the vn in opserver
2026-02-02 19:50:25,467 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-51235586 virtual network link through opserver 10.0.0.23
2026-02-02 19:50:25,467 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2026-02-02 19:50:25,796 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2026-02-02 19:50:25,919 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-51235586', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-51235586?flat'}
2026-02-02 19:50:25,919 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-51235586 is found in opserver
2026-02-02 19:50:25,934 - DEBUG - Do not have enough data to verify VN in agent
2026-02-02 19:50:25,943 - DEBUG - VRF ids for VN ctest-vn-51235586: {}
2026-02-02 19:50:25,943 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-02 19:50:25,952 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8d7a5b3d-e4cf-4fac-8887-07511fecac4d
2026-02-02 19:50:25,980 - DEBUG - Requesting: http://10.0.0.23:8082/project/4990f057-4087-4c4e-8685-a7881af9853e
2026-02-02 19:50:26,083 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4f395e46-34ab-4d2a-949f-f9e5825ab6be
2026-02-02 19:50:26,107 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4f395e46-34ab-4d2a-949f-f9e5825ab6be
2026-02-02 19:50:26,125 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d5cb32a5-f9a3-4a33-9b45-05548b56ebba
2026-02-02 19:50:26,138 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d5cb32a5-f9a3-4a33-9b45-05548b56ebba
2026-02-02 19:50:26,147 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/7d28176e-8219-4a2d-b0a3-525852f3b65b
2026-02-02 19:50:26,160 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-02 19:50:26,160 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4f395e46-34ab-4d2a-949f-f9e5825ab6be
2026-02-02 19:50:26,181 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d5cb32a5-f9a3-4a33-9b45-05548b56ebba
2026-02-02 19:50:26,213 - INFO - Verified VN network id 12 for VN 4f395e46-34ab-4d2a-949f-f9e5825ab6be
2026-02-02 19:50:26,214 - INFO - Verifications in API Server for VN ctest-vn-04639884 passed
2026-02-02 19:50:26,214 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4f395e46-34ab-4d2a-949f-f9e5825ab6be
2026-02-02 19:50:26,232 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d5cb32a5-f9a3-4a33-9b45-05548b56ebba
2026-02-02 19:50:26,248 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/d5cb32a5-f9a3-4a33-9b45-05548b56ebba
2026-02-02 19:50:26,257 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/7d28176e-8219-4a2d-b0a3-525852f3b65b
2026-02-02 19:50:26,274 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-04639884', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-40650411', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5708697658293177642', 'uuid-lslong': '10709553203040138942'}, 'enable': 'true', 'created': '2026-02-02T19:50:23', 'last-modified': '2026-02-02T19:50:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.958227'}
2026-02-02 19:50:26,281 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-02 19:50:26,281 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04639884 passed
2026-02-02 19:50:26,282 - DEBUG - ====Verifying policy data for ctest-vn-04639884 in API_Server ======
2026-02-02 19:50:26,282 - DEBUG - Requesting: http://10.0.0.23:8082/domains
2026-02-02 19:50:26,293 - DEBUG - Requesting: http://10.0.0.23:8082/domain/8d7a5b3d-e4cf-4fac-8887-07511fecac4d
2026-02-02 19:50:26,320 - DEBUG - Requesting: http://10.0.0.23:8082/project/4990f057-4087-4c4e-8685-a7881af9853e
2026-02-02 19:50:26,413 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/4f395e46-34ab-4d2a-949f-f9e5825ab6be
2026-02-02 19:50:26,426 - DEBUG - ==>Verifying data for policy with id: 3b105264-adc1-4c38-8c94-b04428cb5a7c, fqn: ['default-domain', 'ctest-TestBasicPolicy-40650411', 'ctest-policy-allow-all-12134168']
2026-02-02 19:50:26,426 - INFO - VN ctest-vn-04639884 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-02 19:50:26,426 - DEBUG - Verifying the vn in opserver
2026-02-02 19:50:26,426 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-04639884 virtual network link through opserver 10.0.0.23
2026-02-02 19:50:26,426 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2026-02-02 19:50:26,440 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-04639884', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-04639884?flat'}
2026-02-02 19:50:26,440 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-40650411:ctest-vn-04639884 is found in opserver
2026-02-02 19:50:26,454 - DEBUG - Do not have enough data to verify VN in agent
2026-02-02 19:50:26,462 - DEBUG - VRF ids for VN ctest-vn-04639884: {}
2026-02-02 19:50:26,564 - DEBUG - Services list from nova: [