2026-03-06 11:47:27,770 - INFO - Domain Default found not creating
2026-03-06 11:47:27,986 - INFO - Project ctest-TestBasicPolicy-24611130 not found, creating it
2026-03-06 11:47:28,483 - INFO - Created Project:ctest-TestBasicPolicy-24611130, ID : 15d83c00-4d63-4366-a37a-2b7ef55ced03
2026-03-06 11:47:30,098 - INFO - ================================================================================
2026-03-06 11:47:30,099 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-06 11:47:30,099 - 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-03-06 11:47:30,361 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-03-06 11:47:30,361 - INFO - Initial checks done. Running the testcase now
2026-03-06 11:47:30,361 - INFO -
2026-03-06 11:47:30,922 - DEBUG - Response for create_network : {'network': {'id': 'ca9d5752-3944-477f-b25d-56eb0eeec18a', 'name': 'ctest-vn-35814831', 'tenant_id': '15d83c004d634366a37a2b7ef55ced03', 'project_id': '15d83c004d634366a37a2b7ef55ced03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24611130', 'ctest-vn-35814831'], 'port_security_enabled': True, 'description': ''}}
2026-03-06 11:47:31,074 - DEBUG - Response for create_subnet : {'subnet': {'id': '24411391-f550-4a70-9496-73ba410ae38f', 'name': '', 'tenant_id': '15d83c004d634366a37a2b7ef55ced03', 'network_id': 'ca9d5752-3944-477f-b25d-56eb0eeec18a', 'ip_version': 4, 'cidr': '78.195.212.0/26', 'allocation_pools': [{'start': '78.195.212.2', 'end': '78.195.212.62'}], 'gateway_ip': '78.195.212.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.195.212.2', 'tags': [], 'project_id': '15d83c004d634366a37a2b7ef55ced03'}}
2026-03-06 11:47:31,091 - INFO - Created VN ctest-vn-35814831
2026-03-06 11:47:31,146 - DEBUG - VN ctest-vn-35814831 UUID is ca9d5752-3944-477f-b25d-56eb0eeec18a
2026-03-06 11:47:31,450 - DEBUG - Response for create_network : {'network': {'id': '56da8429-6e8d-4f25-9135-6db8c5230c1c', 'name': 'ctest-vn-31245703', 'tenant_id': '15d83c004d634366a37a2b7ef55ced03', 'project_id': '15d83c004d634366a37a2b7ef55ced03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24611130', 'ctest-vn-31245703'], 'port_security_enabled': True, 'description': ''}}
2026-03-06 11:47:31,673 - DEBUG - Response for create_subnet : {'subnet': {'id': '8557720b-ece3-4784-b095-32e375518424', 'name': '', 'tenant_id': '15d83c004d634366a37a2b7ef55ced03', 'network_id': '56da8429-6e8d-4f25-9135-6db8c5230c1c', 'ip_version': 4, 'cidr': '26.5.117.0/26', 'allocation_pools': [{'start': '26.5.117.2', 'end': '26.5.117.62'}], 'gateway_ip': '26.5.117.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.5.117.2', 'tags': [], 'project_id': '15d83c004d634366a37a2b7ef55ced03'}}
2026-03-06 11:47:31,696 - INFO - Created VN ctest-vn-31245703
2026-03-06 11:47:31,750 - DEBUG - VN ctest-vn-31245703 UUID is 56da8429-6e8d-4f25-9135-6db8c5230c1c
2026-03-06 11:47:31,865 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-35814831, 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-24611130:ctest-vn-31245703, 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-03-06 11:47:32,237 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ca9d5752-3944-477f-b25d-56eb0eeec18a', 'name': 'ctest-vn-35814831', 'tenant_id': '15d83c004d634366a37a2b7ef55ced03', 'project_id': '15d83c004d634366a37a2b7ef55ced03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['24411391-f550-4a70-9496-73ba410ae38f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24611130', 'ctest-vn-35814831'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24611130', 'ctest-policy-allow-all-13227201']], 'subnet_ipam': [{'subnet_cidr': '78.195.212.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-06 11:47:32,478 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '56da8429-6e8d-4f25-9135-6db8c5230c1c', 'name': 'ctest-vn-31245703', 'tenant_id': '15d83c004d634366a37a2b7ef55ced03', 'project_id': '15d83c004d634366a37a2b7ef55ced03', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8557720b-ece3-4784-b095-32e375518424'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-24611130', 'ctest-vn-31245703'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-24611130', 'ctest-policy-allow-all-13227201']], 'subnet_ipam': [{'subnet_cidr': '26.5.117.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-06 11:47:32,646 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-06 11:47:32,937 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-06 11:47:32,970 - DEBUG - Requesting: http://10.0.0.33:8082/domain/416f1e79-0b11-4787-a446-853f43b4fc70
2026-03-06 11:47:32,982 - DEBUG - Requesting: http://10.0.0.33:8082/project/15d83c00-4d63-4366-a37a-2b7ef55ced03
2026-03-06 11:47:33,052 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ca9d5752-3944-477f-b25d-56eb0eeec18a
2026-03-06 11:47:33,063 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ca9d5752-3944-477f-b25d-56eb0eeec18a
2026-03-06 11:47:33,072 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e12e7029-c54a-4f2a-abf9-cc4e8d20e6ae
2026-03-06 11:47:33,079 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e12e7029-c54a-4f2a-abf9-cc4e8d20e6ae
2026-03-06 11:47:33,085 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e9b2559f-045f-483f-b7fb-709777e285b7
2026-03-06 11:47:33,094 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-06 11:47:33,094 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ca9d5752-3944-477f-b25d-56eb0eeec18a
2026-03-06 11:47:33,125 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e12e7029-c54a-4f2a-abf9-cc4e8d20e6ae
2026-03-06 11:47:33,140 - INFO - Verified VN network id 11 for VN ca9d5752-3944-477f-b25d-56eb0eeec18a
2026-03-06 11:47:33,140 - INFO - Verifications in API Server for VN ctest-vn-35814831 passed
2026-03-06 11:47:33,140 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ca9d5752-3944-477f-b25d-56eb0eeec18a
2026-03-06 11:47:33,148 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e12e7029-c54a-4f2a-abf9-cc4e8d20e6ae
2026-03-06 11:47:33,155 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/e12e7029-c54a-4f2a-abf9-cc4e8d20e6ae
2026-03-06 11:47:33,161 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e9b2559f-045f-483f-b7fb-709777e285b7
2026-03-06 11:47:33,172 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-35814831', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24611130', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14599921577664726911', 'uuid-lslong': '12852524479153095050'}, 'enable': 'true', 'created': '2026-03-06T11:47:30', 'last-modified': '2026-03-06T11:47:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.992293'}
2026-03-06 11:47:33,179 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-06 11:47:33,179 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35814831 passed
2026-03-06 11:47:33,179 - DEBUG - ====Verifying policy data for ctest-vn-35814831 in API_Server ======
2026-03-06 11:47:33,179 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-06 11:47:33,185 - DEBUG - Requesting: http://10.0.0.33:8082/domain/416f1e79-0b11-4787-a446-853f43b4fc70
2026-03-06 11:47:33,198 - DEBUG - Requesting: http://10.0.0.33:8082/project/15d83c00-4d63-4366-a37a-2b7ef55ced03
2026-03-06 11:47:33,267 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/ca9d5752-3944-477f-b25d-56eb0eeec18a
2026-03-06 11:47:33,276 - DEBUG - ==>Verifying data for policy with id: d22ca336-2eda-48f6-91bf-00554e714022, fqn: ['default-domain', 'ctest-TestBasicPolicy-24611130', 'ctest-policy-allow-all-13227201']
2026-03-06 11:47:33,276 - INFO - VN ctest-vn-35814831 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-06 11:47:33,277 - DEBUG - Verifying the vn in opserver
2026-03-06 11:47:33,277 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-35814831 virtual network link through opserver 10.0.0.33
2026-03-06 11:47:33,277 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-06 11:47:33,579 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-06 11:47:33,651 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-35814831', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-35814831?flat'}
2026-03-06 11:47:33,651 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-35814831 is found in opserver
2026-03-06 11:47:33,660 - DEBUG - Do not have enough data to verify VN in agent
2026-03-06 11:47:33,665 - DEBUG - VRF ids for VN ctest-vn-35814831: {}
2026-03-06 11:47:33,665 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-06 11:47:33,670 - DEBUG - Requesting: http://10.0.0.33:8082/domain/416f1e79-0b11-4787-a446-853f43b4fc70
2026-03-06 11:47:33,681 - DEBUG - Requesting: http://10.0.0.33:8082/project/15d83c00-4d63-4366-a37a-2b7ef55ced03
2026-03-06 11:47:33,751 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/56da8429-6e8d-4f25-9135-6db8c5230c1c
2026-03-06 11:47:33,762 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/56da8429-6e8d-4f25-9135-6db8c5230c1c
2026-03-06 11:47:33,772 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1939e864-330a-42a9-ac6f-0a03b00412e7
2026-03-06 11:47:33,779 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1939e864-330a-42a9-ac6f-0a03b00412e7
2026-03-06 11:47:33,786 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/5ef5013f-431d-42e5-8040-efb99a924b16
2026-03-06 11:47:33,792 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-06 11:47:33,792 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/56da8429-6e8d-4f25-9135-6db8c5230c1c
2026-03-06 11:47:33,802 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1939e864-330a-42a9-ac6f-0a03b00412e7
2026-03-06 11:47:33,817 - INFO - Verified VN network id 12 for VN 56da8429-6e8d-4f25-9135-6db8c5230c1c
2026-03-06 11:47:33,817 - INFO - Verifications in API Server for VN ctest-vn-31245703 passed
2026-03-06 11:47:33,817 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/56da8429-6e8d-4f25-9135-6db8c5230c1c
2026-03-06 11:47:33,827 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1939e864-330a-42a9-ac6f-0a03b00412e7
2026-03-06 11:47:33,838 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/1939e864-330a-42a9-ac6f-0a03b00412e7
2026-03-06 11:47:33,846 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/5ef5013f-431d-42e5-8040-efb99a924b16
2026-03-06 11:47:33,859 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-31245703', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-24611130', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6258459945668005669', 'uuid-lslong': '10463389949614033948'}, 'enable': 'true', 'created': '2026-03-06T11:47:31', 'last-modified': '2026-03-06T11:47:32', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.402917'}
2026-03-06 11:47:33,864 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-06 11:47:33,865 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31245703 passed
2026-03-06 11:47:33,865 - DEBUG - ====Verifying policy data for ctest-vn-31245703 in API_Server ======
2026-03-06 11:47:33,865 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-03-06 11:47:33,871 - DEBUG - Requesting: http://10.0.0.33:8082/domain/416f1e79-0b11-4787-a446-853f43b4fc70
2026-03-06 11:47:33,881 - DEBUG - Requesting: http://10.0.0.33:8082/project/15d83c00-4d63-4366-a37a-2b7ef55ced03
2026-03-06 11:47:33,952 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/56da8429-6e8d-4f25-9135-6db8c5230c1c
2026-03-06 11:47:33,963 - DEBUG - ==>Verifying data for policy with id: d22ca336-2eda-48f6-91bf-00554e714022, fqn: ['default-domain', 'ctest-TestBasicPolicy-24611130', 'ctest-policy-allow-all-13227201']
2026-03-06 11:47:33,963 - INFO - VN ctest-vn-31245703 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-06 11:47:33,963 - DEBUG - Verifying the vn in opserver
2026-03-06 11:47:33,963 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-31245703 virtual network link through opserver 10.0.0.33
2026-03-06 11:47:33,963 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-03-06 11:47:33,974 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-31245703', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-31245703?flat'}
2026-03-06 11:47:33,974 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-24611130:ctest-vn-31245703 is found in opserver
2026-03-06 11:47:33,984 - DEBUG - Do not have enough data to verify VN in agent
2026-03-06 11:47:33,988 - DEBUG - VRF ids for VN ctest-vn-31245703: {}
2026-03-06 11:47:34,047 - DEBUG - Services list from nova: [