2026-09-07 11:02:26,873 - INFO - Domain Default found not creating
2026-09-07 11:02:27,002 - INFO - Project ctest-TestBasicPolicy-83179327 not found, creating it
2026-09-07 11:02:27,424 - INFO - Created Project:ctest-TestBasicPolicy-83179327, ID : cf69924e-a2bb-4b21-b7b0-30a728ac849c
2026-09-07 11:02:28,962 - INFO - ================================================================================
2026-09-07 11:02:28,962 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-07 11:02:28,962 - 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-07 11:02:29,215 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.25': '0'}} with
2026-09-07 11:02:29,215 - INFO - Initial checks done. Running the testcase now
2026-09-07 11:02:29,215 - INFO -
2026-09-07 11:02:29,803 - DEBUG - Response for create_network : {'network': {'id': '02032124-45b7-4ca2-88ad-95e8dbf3b358', 'name': 'ctest-vn-02089826', 'tenant_id': 'cf69924ea2bb4b21b7b030a728ac849c', 'project_id': 'cf69924ea2bb4b21b7b030a728ac849c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83179327', 'ctest-vn-02089826'], 'port_security_enabled': True, 'description': ''}}
2026-09-07 11:02:30,015 - DEBUG - Response for create_subnet : {'subnet': {'id': '8244ddbc-8710-47b7-b0fa-26610d1a07f9', 'name': '', 'tenant_id': 'cf69924ea2bb4b21b7b030a728ac849c', 'network_id': '02032124-45b7-4ca2-88ad-95e8dbf3b358', 'ip_version': 4, 'cidr': '117.142.130.0/26', 'allocation_pools': [{'start': '117.142.130.2', 'end': '117.142.130.62'}], 'gateway_ip': '117.142.130.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '117.142.130.2', 'tags': [], 'project_id': 'cf69924ea2bb4b21b7b030a728ac849c'}}
2026-09-07 11:02:30,028 - INFO - Created VN ctest-vn-02089826
2026-09-07 11:02:30,078 - DEBUG - VN ctest-vn-02089826 UUID is 02032124-45b7-4ca2-88ad-95e8dbf3b358
2026-09-07 11:02:30,369 - DEBUG - Response for create_network : {'network': {'id': 'f0b0f36c-7a6d-4515-be9a-be5750527545', 'name': 'ctest-vn-50025224', 'tenant_id': 'cf69924ea2bb4b21b7b030a728ac849c', 'project_id': 'cf69924ea2bb4b21b7b030a728ac849c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83179327', 'ctest-vn-50025224'], 'port_security_enabled': True, 'description': ''}}
2026-09-07 11:02:30,557 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a5e84392-a394-4261-aefa-7ab6b3c24d1f', 'name': '', 'tenant_id': 'cf69924ea2bb4b21b7b030a728ac849c', 'network_id': 'f0b0f36c-7a6d-4515-be9a-be5750527545', 'ip_version': 4, 'cidr': '97.239.40.192/26', 'allocation_pools': [{'start': '97.239.40.194', 'end': '97.239.40.254'}], 'gateway_ip': '97.239.40.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.239.40.194', 'tags': [], 'project_id': 'cf69924ea2bb4b21b7b030a728ac849c'}}
2026-09-07 11:02:30,571 - INFO - Created VN ctest-vn-50025224
2026-09-07 11:02:30,622 - DEBUG - VN ctest-vn-50025224 UUID is f0b0f36c-7a6d-4515-be9a-be5750527545
2026-09-07 11:02:30,762 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83179327:ctest-vn-02089826, 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-83179327:ctest-vn-50025224, 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-07 11:02:31,053 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '02032124-45b7-4ca2-88ad-95e8dbf3b358', 'name': 'ctest-vn-02089826', 'tenant_id': 'cf69924ea2bb4b21b7b030a728ac849c', 'project_id': 'cf69924ea2bb4b21b7b030a728ac849c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['8244ddbc-8710-47b7-b0fa-26610d1a07f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83179327', 'ctest-vn-02089826'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83179327', 'ctest-policy-allow-all-61510632']], 'subnet_ipam': [{'subnet_cidr': '117.142.130.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-07 11:02:31,270 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f0b0f36c-7a6d-4515-be9a-be5750527545', 'name': 'ctest-vn-50025224', 'tenant_id': 'cf69924ea2bb4b21b7b030a728ac849c', 'project_id': 'cf69924ea2bb4b21b7b030a728ac849c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['a5e84392-a394-4261-aefa-7ab6b3c24d1f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83179327', 'ctest-vn-50025224'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83179327', 'ctest-policy-allow-all-61510632']], 'subnet_ipam': [{'subnet_cidr': '97.239.40.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-07 11:02:31,426 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-07 11:02:31,785 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-07 11:02:31,809 - DEBUG - Requesting: http://10.0.0.189:8082/domain/324925fe-93de-4662-a1da-2b7e9cc371f6
2026-09-07 11:02:31,821 - DEBUG - Requesting: http://10.0.0.189:8082/project/cf69924e-a2bb-4b21-b7b0-30a728ac849c
2026-09-07 11:02:31,889 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/02032124-45b7-4ca2-88ad-95e8dbf3b358
2026-09-07 11:02:31,899 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/02032124-45b7-4ca2-88ad-95e8dbf3b358
2026-09-07 11:02:31,907 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/8dc74ed5-ccde-4b3c-bf0b-1dbc9ea6856f
2026-09-07 11:02:31,913 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/8dc74ed5-ccde-4b3c-bf0b-1dbc9ea6856f
2026-09-07 11:02:31,918 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/a81fab74-0682-4225-b740-0c772545571c
2026-09-07 11:02:31,922 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-07 11:02:31,922 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/02032124-45b7-4ca2-88ad-95e8dbf3b358
2026-09-07 11:02:31,930 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/8dc74ed5-ccde-4b3c-bf0b-1dbc9ea6856f
2026-09-07 11:02:31,941 - INFO - Verified VN network id 11 for VN 02032124-45b7-4ca2-88ad-95e8dbf3b358
2026-09-07 11:02:31,941 - INFO - Verifications in API Server for VN ctest-vn-02089826 passed
2026-09-07 11:02:31,941 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/02032124-45b7-4ca2-88ad-95e8dbf3b358
2026-09-07 11:02:31,949 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/8dc74ed5-ccde-4b3c-bf0b-1dbc9ea6856f
2026-09-07 11:02:31,954 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/8dc74ed5-ccde-4b3c-bf0b-1dbc9ea6856f
2026-09-07 11:02:31,959 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/a81fab74-0682-4225-b740-0c772545571c
2026-09-07 11:02:31,970 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83179327:ctest-vn-02089826', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83179327', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '144996052678167714', 'uuid-lslong': '9848692787484275544'}, 'enable': 'true', 'created': '2026-09-07T11:02:29', 'last-modified': '2026-09-07T11:02:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.941707'}
2026-09-07 11:02:31,976 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-07 11:02:31,976 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-02089826 passed
2026-09-07 11:02:31,976 - DEBUG - ====Verifying policy data for ctest-vn-02089826 in API_Server ======
2026-09-07 11:02:31,976 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-07 11:02:31,980 - DEBUG - Requesting: http://10.0.0.189:8082/domain/324925fe-93de-4662-a1da-2b7e9cc371f6
2026-09-07 11:02:31,990 - DEBUG - Requesting: http://10.0.0.189:8082/project/cf69924e-a2bb-4b21-b7b0-30a728ac849c
2026-09-07 11:02:32,064 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/02032124-45b7-4ca2-88ad-95e8dbf3b358
2026-09-07 11:02:32,073 - DEBUG - ==>Verifying data for policy with id: c9fcf7f1-b6e6-48b9-94ba-7e9613afc1c4, fqn: ['default-domain', 'ctest-TestBasicPolicy-83179327', 'ctest-policy-allow-all-61510632']
2026-09-07 11:02:32,073 - INFO - VN ctest-vn-02089826 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-07 11:02:32,073 - DEBUG - Verifying the vn in opserver
2026-09-07 11:02:32,073 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83179327:ctest-vn-02089826 virtual network link through opserver 10.0.0.189
2026-09-07 11:02:32,073 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-07 11:02:32,430 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-07 11:02:32,476 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83179327:ctest-vn-02089826', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83179327:ctest-vn-02089826?flat'}
2026-09-07 11:02:32,476 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83179327:ctest-vn-02089826 is found in opserver
2026-09-07 11:02:32,486 - DEBUG - Do not have enough data to verify VN in agent
2026-09-07 11:02:32,491 - DEBUG - VRF ids for VN ctest-vn-02089826: {}
2026-09-07 11:02:32,491 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-07 11:02:32,496 - DEBUG - Requesting: http://10.0.0.189:8082/domain/324925fe-93de-4662-a1da-2b7e9cc371f6
2026-09-07 11:02:32,505 - DEBUG - Requesting: http://10.0.0.189:8082/project/cf69924e-a2bb-4b21-b7b0-30a728ac849c
2026-09-07 11:02:32,577 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f0b0f36c-7a6d-4515-be9a-be5750527545
2026-09-07 11:02:32,589 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f0b0f36c-7a6d-4515-be9a-be5750527545
2026-09-07 11:02:32,597 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1292f475-2f54-4c37-ad56-fd2f95d70c9b
2026-09-07 11:02:32,603 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1292f475-2f54-4c37-ad56-fd2f95d70c9b
2026-09-07 11:02:32,608 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/d2416a15-287a-4571-a637-066d3ccdb51a
2026-09-07 11:02:32,613 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-07 11:02:32,613 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f0b0f36c-7a6d-4515-be9a-be5750527545
2026-09-07 11:02:32,621 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1292f475-2f54-4c37-ad56-fd2f95d70c9b
2026-09-07 11:02:32,633 - INFO - Verified VN network id 12 for VN f0b0f36c-7a6d-4515-be9a-be5750527545
2026-09-07 11:02:32,633 - INFO - Verifications in API Server for VN ctest-vn-50025224 passed
2026-09-07 11:02:32,633 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f0b0f36c-7a6d-4515-be9a-be5750527545
2026-09-07 11:02:32,642 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1292f475-2f54-4c37-ad56-fd2f95d70c9b
2026-09-07 11:02:32,648 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1292f475-2f54-4c37-ad56-fd2f95d70c9b
2026-09-07 11:02:32,653 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/d2416a15-287a-4571-a637-066d3ccdb51a
2026-09-07 11:02:32,664 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83179327:ctest-vn-50025224', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83179327', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17343629812239779093', 'uuid-lslong': '13734499295838762309'}, 'enable': 'true', 'created': '2026-09-07T11:02:30', 'last-modified': '2026-09-07T11:02:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.416884'}
2026-09-07 11:02:32,670 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-07 11:02:32,670 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50025224 passed
2026-09-07 11:02:32,671 - DEBUG - ====Verifying policy data for ctest-vn-50025224 in API_Server ======
2026-09-07 11:02:32,671 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-07 11:02:32,675 - DEBUG - Requesting: http://10.0.0.189:8082/domain/324925fe-93de-4662-a1da-2b7e9cc371f6
2026-09-07 11:02:32,684 - DEBUG - Requesting: http://10.0.0.189:8082/project/cf69924e-a2bb-4b21-b7b0-30a728ac849c
2026-09-07 11:02:32,755 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/f0b0f36c-7a6d-4515-be9a-be5750527545
2026-09-07 11:02:32,764 - DEBUG - ==>Verifying data for policy with id: c9fcf7f1-b6e6-48b9-94ba-7e9613afc1c4, fqn: ['default-domain', 'ctest-TestBasicPolicy-83179327', 'ctest-policy-allow-all-61510632']
2026-09-07 11:02:32,764 - INFO - VN ctest-vn-50025224 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-07 11:02:32,764 - DEBUG - Verifying the vn in opserver
2026-09-07 11:02:32,764 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83179327:ctest-vn-50025224 virtual network link through opserver 10.0.0.189
2026-09-07 11:02:32,764 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-07 11:02:32,772 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83179327:ctest-vn-50025224', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83179327:ctest-vn-50025224?flat'}
2026-09-07 11:02:32,772 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83179327:ctest-vn-50025224 is found in opserver
2026-09-07 11:02:32,783 - DEBUG - Do not have enough data to verify VN in agent
2026-09-07 11:02:32,787 - DEBUG - VRF ids for VN ctest-vn-50025224: {}
2026-09-07 11:02:32,841 - DEBUG - Services list from nova: [