2026-05-29 17:37:20,985 - INFO - Domain Default found not creating
2026-05-29 17:37:21,164 - INFO - Project ctest-TestBasicPolicy-11034565 not found, creating it
2026-05-29 17:37:21,658 - INFO - Created Project:ctest-TestBasicPolicy-11034565, ID : b58d603b-853d-4047-ba24-3abdc1f47144
2026-05-29 17:37:23,210 - INFO - ================================================================================
2026-05-29 17:37:23,210 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-29 17:37:23,210 - 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-05-29 17:37:23,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-05-29 17:37:23,464 - INFO - Initial checks done. Running the testcase now
2026-05-29 17:37:23,464 - INFO -
2026-05-29 17:37:24,031 - DEBUG - Response for create_network : {'network': {'id': '7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0', 'name': 'ctest-vn-41826710', 'tenant_id': 'b58d603b853d4047ba243abdc1f47144', 'project_id': 'b58d603b853d4047ba243abdc1f47144', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11034565', 'ctest-vn-41826710'], 'port_security_enabled': True, 'description': ''}}
2026-05-29 17:37:24,202 - DEBUG - Response for create_subnet : {'subnet': {'id': '6b937279-247f-4ee6-bc33-677650997d88', 'name': '', 'tenant_id': 'b58d603b853d4047ba243abdc1f47144', 'network_id': '7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0', 'ip_version': 4, 'cidr': '205.40.1.128/26', 'allocation_pools': [{'start': '205.40.1.130', 'end': '205.40.1.190'}], 'gateway_ip': '205.40.1.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '205.40.1.130', 'tags': [], 'project_id': 'b58d603b853d4047ba243abdc1f47144'}}
2026-05-29 17:37:24,221 - INFO - Created VN ctest-vn-41826710
2026-05-29 17:37:24,277 - DEBUG - VN ctest-vn-41826710 UUID is 7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0
2026-05-29 17:37:24,568 - DEBUG - Response for create_network : {'network': {'id': '47170ebb-29d3-4c7e-9463-7f3335bf0c7e', 'name': 'ctest-vn-47471031', 'tenant_id': 'b58d603b853d4047ba243abdc1f47144', 'project_id': 'b58d603b853d4047ba243abdc1f47144', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11034565', 'ctest-vn-47471031'], 'port_security_enabled': True, 'description': ''}}
2026-05-29 17:37:24,776 - DEBUG - Response for create_subnet : {'subnet': {'id': '76854e8e-a33d-4112-a06e-aa4257cfc17e', 'name': '', 'tenant_id': 'b58d603b853d4047ba243abdc1f47144', 'network_id': '47170ebb-29d3-4c7e-9463-7f3335bf0c7e', 'ip_version': 4, 'cidr': '77.234.228.128/26', 'allocation_pools': [{'start': '77.234.228.130', 'end': '77.234.228.190'}], 'gateway_ip': '77.234.228.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '77.234.228.130', 'tags': [], 'project_id': 'b58d603b853d4047ba243abdc1f47144'}}
2026-05-29 17:37:24,796 - INFO - Created VN ctest-vn-47471031
2026-05-29 17:37:24,849 - DEBUG - VN ctest-vn-47471031 UUID is 47170ebb-29d3-4c7e-9463-7f3335bf0c7e
2026-05-29 17:37:24,972 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-41826710, 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-11034565:ctest-vn-47471031, 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-05-29 17:37:25,274 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0', 'name': 'ctest-vn-41826710', 'tenant_id': 'b58d603b853d4047ba243abdc1f47144', 'project_id': 'b58d603b853d4047ba243abdc1f47144', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['6b937279-247f-4ee6-bc33-677650997d88'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11034565', 'ctest-vn-41826710'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11034565', 'ctest-policy-allow-all-17867603']], 'subnet_ipam': [{'subnet_cidr': '205.40.1.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-29 17:37:25,503 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '47170ebb-29d3-4c7e-9463-7f3335bf0c7e', 'name': 'ctest-vn-47471031', 'tenant_id': 'b58d603b853d4047ba243abdc1f47144', 'project_id': 'b58d603b853d4047ba243abdc1f47144', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['76854e8e-a33d-4112-a06e-aa4257cfc17e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-11034565', 'ctest-vn-47471031'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-11034565', 'ctest-policy-allow-all-17867603']], 'subnet_ipam': [{'subnet_cidr': '77.234.228.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-29 17:37:25,681 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-29 17:37:25,987 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-29 17:37:26,021 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3a0f1d13-475c-4e43-a4c1-701be370f3b8
2026-05-29 17:37:26,034 - DEBUG - Requesting: http://10.0.0.50:8082/project/b58d603b-853d-4047-ba24-3abdc1f47144
2026-05-29 17:37:26,106 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0
2026-05-29 17:37:26,119 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0
2026-05-29 17:37:26,131 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9455af2b-d72a-4e93-ad04-cd0c87500b4b
2026-05-29 17:37:26,139 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9455af2b-d72a-4e93-ad04-cd0c87500b4b
2026-05-29 17:37:26,148 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fadfb634-aef3-4522-9dbd-2164c2025639
2026-05-29 17:37:26,155 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-29 17:37:26,155 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0
2026-05-29 17:37:26,164 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9455af2b-d72a-4e93-ad04-cd0c87500b4b
2026-05-29 17:37:26,180 - INFO - Verified VN network id 11 for VN 7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0
2026-05-29 17:37:26,180 - INFO - Verifications in API Server for VN ctest-vn-41826710 passed
2026-05-29 17:37:26,180 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0
2026-05-29 17:37:26,190 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9455af2b-d72a-4e93-ad04-cd0c87500b4b
2026-05-29 17:37:26,197 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/9455af2b-d72a-4e93-ad04-cd0c87500b4b
2026-05-29 17:37:26,206 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/fadfb634-aef3-4522-9dbd-2164c2025639
2026-05-29 17:37:26,218 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-41826710', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11034565', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9007099554536704995', 'uuid-lslong': '13523886698539181216'}, 'enable': 'true', 'created': '2026-05-29T17:37:24', 'last-modified': '2026-05-29T17:37:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.967708'}
2026-05-29 17:37:26,224 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-29 17:37:26,224 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41826710 passed
2026-05-29 17:37:26,224 - DEBUG - ====Verifying policy data for ctest-vn-41826710 in API_Server ======
2026-05-29 17:37:26,224 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-29 17:37:26,230 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3a0f1d13-475c-4e43-a4c1-701be370f3b8
2026-05-29 17:37:26,241 - DEBUG - Requesting: http://10.0.0.50:8082/project/b58d603b-853d-4047-ba24-3abdc1f47144
2026-05-29 17:37:26,313 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7cffa552-bcbd-4be3-bbae-7f4cb90ee4a0
2026-05-29 17:37:26,322 - DEBUG - ==>Verifying data for policy with id: f7b25260-f991-47f7-8439-7f2aae3f4c31, fqn: ['default-domain', 'ctest-TestBasicPolicy-11034565', 'ctest-policy-allow-all-17867603']
2026-05-29 17:37:26,322 - INFO - VN ctest-vn-41826710 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-29 17:37:26,322 - DEBUG - Verifying the vn in opserver
2026-05-29 17:37:26,322 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-41826710 virtual network link through opserver 10.0.0.50
2026-05-29 17:37:26,322 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-29 17:37:26,618 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-29 17:37:26,691 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-41826710', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-41826710?flat'}
2026-05-29 17:37:26,691 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-41826710 is found in opserver
2026-05-29 17:37:26,701 - DEBUG - Do not have enough data to verify VN in agent
2026-05-29 17:37:26,706 - DEBUG - VRF ids for VN ctest-vn-41826710: {}
2026-05-29 17:37:26,706 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-29 17:37:26,713 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3a0f1d13-475c-4e43-a4c1-701be370f3b8
2026-05-29 17:37:26,726 - DEBUG - Requesting: http://10.0.0.50:8082/project/b58d603b-853d-4047-ba24-3abdc1f47144
2026-05-29 17:37:26,804 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47170ebb-29d3-4c7e-9463-7f3335bf0c7e
2026-05-29 17:37:26,815 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47170ebb-29d3-4c7e-9463-7f3335bf0c7e
2026-05-29 17:37:26,825 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/74d038f7-b164-4d15-a0df-c21b34b5a3c6
2026-05-29 17:37:26,833 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/74d038f7-b164-4d15-a0df-c21b34b5a3c6
2026-05-29 17:37:26,839 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a7cdf6ac-565a-4c3f-8561-445094cd4845
2026-05-29 17:37:26,846 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-29 17:37:26,846 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47170ebb-29d3-4c7e-9463-7f3335bf0c7e
2026-05-29 17:37:26,858 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/74d038f7-b164-4d15-a0df-c21b34b5a3c6
2026-05-29 17:37:26,877 - INFO - Verified VN network id 12 for VN 47170ebb-29d3-4c7e-9463-7f3335bf0c7e
2026-05-29 17:37:26,877 - INFO - Verifications in API Server for VN ctest-vn-47471031 passed
2026-05-29 17:37:26,877 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47170ebb-29d3-4c7e-9463-7f3335bf0c7e
2026-05-29 17:37:26,887 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/74d038f7-b164-4d15-a0df-c21b34b5a3c6
2026-05-29 17:37:26,894 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/74d038f7-b164-4d15-a0df-c21b34b5a3c6
2026-05-29 17:37:26,904 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a7cdf6ac-565a-4c3f-8561-445094cd4845
2026-05-29 17:37:26,916 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-47471031', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-11034565', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5122579298180615294', 'uuid-lslong': '10692529798229462142'}, 'enable': 'true', 'created': '2026-05-29T17:37:24', 'last-modified': '2026-05-29T17:37:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.435424'}
2026-05-29 17:37:26,922 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-29 17:37:26,922 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47471031 passed
2026-05-29 17:37:26,923 - DEBUG - ====Verifying policy data for ctest-vn-47471031 in API_Server ======
2026-05-29 17:37:26,923 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-05-29 17:37:26,928 - DEBUG - Requesting: http://10.0.0.50:8082/domain/3a0f1d13-475c-4e43-a4c1-701be370f3b8
2026-05-29 17:37:26,939 - DEBUG - Requesting: http://10.0.0.50:8082/project/b58d603b-853d-4047-ba24-3abdc1f47144
2026-05-29 17:37:27,014 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/47170ebb-29d3-4c7e-9463-7f3335bf0c7e
2026-05-29 17:37:27,025 - DEBUG - ==>Verifying data for policy with id: f7b25260-f991-47f7-8439-7f2aae3f4c31, fqn: ['default-domain', 'ctest-TestBasicPolicy-11034565', 'ctest-policy-allow-all-17867603']
2026-05-29 17:37:27,025 - INFO - VN ctest-vn-47471031 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-29 17:37:27,025 - DEBUG - Verifying the vn in opserver
2026-05-29 17:37:27,025 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-47471031 virtual network link through opserver 10.0.0.50
2026-05-29 17:37:27,025 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-05-29 17:37:27,036 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-47471031', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-47471031?flat'}
2026-05-29 17:37:27,036 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-11034565:ctest-vn-47471031 is found in opserver
2026-05-29 17:37:27,046 - DEBUG - Do not have enough data to verify VN in agent
2026-05-29 17:37:27,051 - DEBUG - VRF ids for VN ctest-vn-47471031: {}
2026-05-29 17:37:27,114 - DEBUG - Services list from nova: [