2026-09-17 17:21:54,609 - INFO - Domain Default found not creating
2026-09-17 17:21:54,803 - INFO - Project ctest-TestBasicPolicy-41173266 not found, creating it
2026-09-17 17:21:55,328 - INFO - Created Project:ctest-TestBasicPolicy-41173266, ID : 8e7b7092-9fbe-45d6-81a0-e57970c2d194
2026-09-17 17:21:57,068 - INFO - ================================================================================
2026-09-17 17:21:57,069 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-17 17:21:57,069 - 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-09-17 17:21:57,355 - DEBUG - Nothing to compare xmpp stats {'10.0.0.176': {'10.20.0.25': '0'}} with
2026-09-17 17:21:57,355 - INFO - Initial checks done. Running the testcase now
2026-09-17 17:21:57,356 - INFO -
2026-09-17 17:21:58,034 - DEBUG - Response for create_network : {'network': {'id': 'f4cfe4a2-db80-4aec-bc49-b69787eac362', 'name': 'ctest-vn-53687709', 'tenant_id': '8e7b70929fbe45d681a0e57970c2d194', 'project_id': '8e7b70929fbe45d681a0e57970c2d194', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41173266', 'ctest-vn-53687709'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 17:21:58,222 - DEBUG - Response for create_subnet : {'subnet': {'id': '94f617c8-6836-45ce-b43b-66ab7bc72999', 'name': '', 'tenant_id': '8e7b70929fbe45d681a0e57970c2d194', 'network_id': 'f4cfe4a2-db80-4aec-bc49-b69787eac362', 'ip_version': 4, 'cidr': '186.45.137.192/26', 'allocation_pools': [{'start': '186.45.137.194', 'end': '186.45.137.254'}], 'gateway_ip': '186.45.137.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '186.45.137.194', 'tags': [], 'project_id': '8e7b70929fbe45d681a0e57970c2d194'}}
2026-09-17 17:21:58,241 - INFO - Created VN ctest-vn-53687709
2026-09-17 17:21:58,299 - DEBUG - VN ctest-vn-53687709 UUID is f4cfe4a2-db80-4aec-bc49-b69787eac362
2026-09-17 17:21:58,636 - DEBUG - Response for create_network : {'network': {'id': '2b309667-fabe-455f-879e-9bdd6ba6c1ee', 'name': 'ctest-vn-04164616', 'tenant_id': '8e7b70929fbe45d681a0e57970c2d194', 'project_id': '8e7b70929fbe45d681a0e57970c2d194', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41173266', 'ctest-vn-04164616'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 17:21:58,823 - DEBUG - Response for create_subnet : {'subnet': {'id': '3d0c58f6-b64b-426a-b855-700b549671db', 'name': '', 'tenant_id': '8e7b70929fbe45d681a0e57970c2d194', 'network_id': '2b309667-fabe-455f-879e-9bdd6ba6c1ee', 'ip_version': 4, 'cidr': '117.236.224.192/26', 'allocation_pools': [{'start': '117.236.224.194', 'end': '117.236.224.254'}], 'gateway_ip': '117.236.224.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.236.224.194', 'tags': [], 'project_id': '8e7b70929fbe45d681a0e57970c2d194'}}
2026-09-17 17:21:58,852 - INFO - Created VN ctest-vn-04164616
2026-09-17 17:21:58,906 - DEBUG - VN ctest-vn-04164616 UUID is 2b309667-fabe-455f-879e-9bdd6ba6c1ee
2026-09-17 17:21:59,026 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-53687709, 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-41173266:ctest-vn-04164616, 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-09-17 17:21:59,356 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f4cfe4a2-db80-4aec-bc49-b69787eac362', 'name': 'ctest-vn-53687709', 'tenant_id': '8e7b70929fbe45d681a0e57970c2d194', 'project_id': '8e7b70929fbe45d681a0e57970c2d194', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['94f617c8-6836-45ce-b43b-66ab7bc72999'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41173266', 'ctest-vn-53687709'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41173266', 'ctest-policy-allow-all-21241982']], 'subnet_ipam': [{'subnet_cidr': '186.45.137.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-17 17:21:59,610 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2b309667-fabe-455f-879e-9bdd6ba6c1ee', 'name': 'ctest-vn-04164616', 'tenant_id': '8e7b70929fbe45d681a0e57970c2d194', 'project_id': '8e7b70929fbe45d681a0e57970c2d194', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['3d0c58f6-b64b-426a-b855-700b549671db'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41173266', 'ctest-vn-04164616'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41173266', 'ctest-policy-allow-all-21241982']], 'subnet_ipam': [{'subnet_cidr': '117.236.224.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-17 17:21:59,782 - DEBUG - Requesting: http://10.0.0.176:8082/domains
2026-09-17 17:22:00,153 - DEBUG - Requesting: http://10.0.0.176:8082/domains
2026-09-17 17:22:00,188 - DEBUG - Requesting: http://10.0.0.176:8082/domain/ca88d154-4617-4aa9-93a0-97f03c4498d2
2026-09-17 17:22:00,202 - DEBUG - Requesting: http://10.0.0.176:8082/project/8e7b7092-9fbe-45d6-81a0-e57970c2d194
2026-09-17 17:22:00,286 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/f4cfe4a2-db80-4aec-bc49-b69787eac362
2026-09-17 17:22:00,300 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/f4cfe4a2-db80-4aec-bc49-b69787eac362
2026-09-17 17:22:00,311 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/da2905c3-f830-4a43-9346-b1893f5694ee
2026-09-17 17:22:00,323 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/da2905c3-f830-4a43-9346-b1893f5694ee
2026-09-17 17:22:00,334 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/c082837a-3e5b-4c4a-bd1d-d138c08175a4
2026-09-17 17:22:00,344 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-17 17:22:00,344 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/f4cfe4a2-db80-4aec-bc49-b69787eac362
2026-09-17 17:22:00,357 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/da2905c3-f830-4a43-9346-b1893f5694ee
2026-09-17 17:22:00,379 - INFO - Verified VN network id 12 for VN f4cfe4a2-db80-4aec-bc49-b69787eac362
2026-09-17 17:22:00,379 - INFO - Verifications in API Server for VN ctest-vn-53687709 passed
2026-09-17 17:22:00,379 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/f4cfe4a2-db80-4aec-bc49-b69787eac362
2026-09-17 17:22:00,389 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/da2905c3-f830-4a43-9346-b1893f5694ee
2026-09-17 17:22:00,397 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/da2905c3-f830-4a43-9346-b1893f5694ee
2026-09-17 17:22:00,405 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/c082837a-3e5b-4c4a-bd1d-d138c08175a4
2026-09-17 17:22:00,419 - DEBUG - Control-node 10.0.0.176 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-53687709', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41173266', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17640569653551975148', 'uuid-lslong': '13567576114366956386'}, 'enable': 'true', 'created': '2026-09-17T17:21:57', 'last-modified': '2026-09-17T17:21:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.098710'}
2026-09-17 17:22:00,425 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-17 17:22:00,426 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53687709 passed
2026-09-17 17:22:00,426 - DEBUG - ====Verifying policy data for ctest-vn-53687709 in API_Server ======
2026-09-17 17:22:00,426 - DEBUG - Requesting: http://10.0.0.176:8082/domains
2026-09-17 17:22:00,432 - DEBUG - Requesting: http://10.0.0.176:8082/domain/ca88d154-4617-4aa9-93a0-97f03c4498d2
2026-09-17 17:22:00,445 - DEBUG - Requesting: http://10.0.0.176:8082/project/8e7b7092-9fbe-45d6-81a0-e57970c2d194
2026-09-17 17:22:00,525 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/f4cfe4a2-db80-4aec-bc49-b69787eac362
2026-09-17 17:22:00,538 - DEBUG - ==>Verifying data for policy with id: f15ded29-1993-4def-8020-33902e5c567f, fqn: ['default-domain', 'ctest-TestBasicPolicy-41173266', 'ctest-policy-allow-all-21241982']
2026-09-17 17:22:00,538 - INFO - VN ctest-vn-53687709 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-17 17:22:00,538 - DEBUG - Verifying the vn in opserver
2026-09-17 17:22:00,538 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-53687709 virtual network link through opserver 10.0.0.176
2026-09-17 17:22:00,538 - DEBUG - Requesting: http://10.0.0.176:8081/analytics/uves/virtual-networks
2026-09-17 17:22:00,911 - DEBUG - Requesting: http://10.0.0.176:8081/analytics/uves/virtual-networks
2026-09-17 17:22:00,972 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-53687709', 'href': 'http://10.0.0.176:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-53687709?flat'}
2026-09-17 17:22:00,972 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-53687709 is found in opserver
2026-09-17 17:22:00,985 - DEBUG - Do not have enough data to verify VN in agent
2026-09-17 17:22:00,991 - DEBUG - VRF ids for VN ctest-vn-53687709: {}
2026-09-17 17:22:00,991 - DEBUG - Requesting: http://10.0.0.176:8082/domains
2026-09-17 17:22:00,998 - DEBUG - Requesting: http://10.0.0.176:8082/domain/ca88d154-4617-4aa9-93a0-97f03c4498d2
2026-09-17 17:22:01,012 - DEBUG - Requesting: http://10.0.0.176:8082/project/8e7b7092-9fbe-45d6-81a0-e57970c2d194
2026-09-17 17:22:01,093 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/2b309667-fabe-455f-879e-9bdd6ba6c1ee
2026-09-17 17:22:01,108 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/2b309667-fabe-455f-879e-9bdd6ba6c1ee
2026-09-17 17:22:01,118 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/4402bf99-cc5f-4d47-b7ea-a5fb4e596a51
2026-09-17 17:22:01,127 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/4402bf99-cc5f-4d47-b7ea-a5fb4e596a51
2026-09-17 17:22:01,135 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/995add6f-2fc3-416a-887f-a7b6b59d41f2
2026-09-17 17:22:01,144 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-17 17:22:01,144 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/2b309667-fabe-455f-879e-9bdd6ba6c1ee
2026-09-17 17:22:01,154 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/4402bf99-cc5f-4d47-b7ea-a5fb4e596a51
2026-09-17 17:22:01,171 - INFO - Verified VN network id 13 for VN 2b309667-fabe-455f-879e-9bdd6ba6c1ee
2026-09-17 17:22:01,172 - INFO - Verifications in API Server for VN ctest-vn-04164616 passed
2026-09-17 17:22:01,172 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/2b309667-fabe-455f-879e-9bdd6ba6c1ee
2026-09-17 17:22:01,183 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/4402bf99-cc5f-4d47-b7ea-a5fb4e596a51
2026-09-17 17:22:01,192 - DEBUG - Requesting: http://10.0.0.176:8082/routing-instance/4402bf99-cc5f-4d47-b7ea-a5fb4e596a51
2026-09-17 17:22:01,200 - DEBUG - Requesting: http://10.0.0.176:8082/route-target/995add6f-2fc3-416a-887f-a7b6b59d41f2
2026-09-17 17:22:01,215 - DEBUG - Control-node 10.0.0.176 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-04164616', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41173266', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3112152715845584223', 'uuid-lslong': '9772419616736723438'}, 'enable': 'true', 'created': '2026-09-17T17:21:58', 'last-modified': '2026-09-17T17:21:59', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.639732'}
2026-09-17 17:22:01,222 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-17 17:22:01,223 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04164616 passed
2026-09-17 17:22:01,223 - DEBUG - ====Verifying policy data for ctest-vn-04164616 in API_Server ======
2026-09-17 17:22:01,223 - DEBUG - Requesting: http://10.0.0.176:8082/domains
2026-09-17 17:22:01,229 - DEBUG - Requesting: http://10.0.0.176:8082/domain/ca88d154-4617-4aa9-93a0-97f03c4498d2
2026-09-17 17:22:01,240 - DEBUG - Requesting: http://10.0.0.176:8082/project/8e7b7092-9fbe-45d6-81a0-e57970c2d194
2026-09-17 17:22:01,320 - DEBUG - Requesting: http://10.0.0.176:8082/virtual-network/2b309667-fabe-455f-879e-9bdd6ba6c1ee
2026-09-17 17:22:01,330 - DEBUG - ==>Verifying data for policy with id: f15ded29-1993-4def-8020-33902e5c567f, fqn: ['default-domain', 'ctest-TestBasicPolicy-41173266', 'ctest-policy-allow-all-21241982']
2026-09-17 17:22:01,330 - INFO - VN ctest-vn-04164616 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-17 17:22:01,331 - DEBUG - Verifying the vn in opserver
2026-09-17 17:22:01,331 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-04164616 virtual network link through opserver 10.0.0.176
2026-09-17 17:22:01,331 - DEBUG - Requesting: http://10.0.0.176:8081/analytics/uves/virtual-networks
2026-09-17 17:22:01,342 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-04164616', 'href': 'http://10.0.0.176:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-04164616?flat'}
2026-09-17 17:22:01,342 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41173266:ctest-vn-04164616 is found in opserver
2026-09-17 17:22:01,356 - DEBUG - Do not have enough data to verify VN in agent
2026-09-17 17:22:01,361 - DEBUG - VRF ids for VN ctest-vn-04164616: {}
2026-09-17 17:22:01,441 - DEBUG - Services list from nova: [