2026-03-26 20:40:22,225 - INFO - Domain Default found not creating
2026-03-26 20:40:22,402 - INFO - Project ctest-TestBasicPolicy-78895300 not found, creating it
2026-03-26 20:40:22,862 - INFO - Created Project:ctest-TestBasicPolicy-78895300, ID : 937c6177-08c4-49b5-b3b8-0647a34e5119
2026-03-26 20:40:24,369 - INFO - ================================================================================
2026-03-26 20:40:24,369 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-26 20:40:24,369 - 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-26 20:40:24,624 - DEBUG - Nothing to compare xmpp stats {'10.0.0.129': {'10.20.0.17': '0'}} with
2026-03-26 20:40:24,624 - INFO - Initial checks done. Running the testcase now
2026-03-26 20:40:24,624 - INFO -
2026-03-26 20:40:25,177 - DEBUG - Response for create_network : {'network': {'id': '8552d01e-3c66-4558-be18-bbb0abc88a32', 'name': 'ctest-vn-07947113', 'tenant_id': '937c617708c449b5b3b80647a34e5119', 'project_id': '937c617708c449b5b3b80647a34e5119', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78895300', 'ctest-vn-07947113'], 'port_security_enabled': True, 'description': ''}}
2026-03-26 20:40:25,380 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aa51f177-7e85-4d2d-8b5a-5b6aa3d1a495', 'name': '', 'tenant_id': '937c617708c449b5b3b80647a34e5119', 'network_id': '8552d01e-3c66-4558-be18-bbb0abc88a32', 'ip_version': 4, 'cidr': '173.162.174.192/26', 'allocation_pools': [{'start': '173.162.174.194', 'end': '173.162.174.254'}], 'gateway_ip': '173.162.174.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.162.174.194', 'tags': [], 'project_id': '937c617708c449b5b3b80647a34e5119'}}
2026-03-26 20:40:25,397 - INFO - Created VN ctest-vn-07947113
2026-03-26 20:40:25,450 - DEBUG - VN ctest-vn-07947113 UUID is 8552d01e-3c66-4558-be18-bbb0abc88a32
2026-03-26 20:40:25,763 - DEBUG - Response for create_network : {'network': {'id': '46e295ce-c2ed-457b-aaf1-c2b74fb79743', 'name': 'ctest-vn-41882339', 'tenant_id': '937c617708c449b5b3b80647a34e5119', 'project_id': '937c617708c449b5b3b80647a34e5119', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78895300', 'ctest-vn-41882339'], 'port_security_enabled': True, 'description': ''}}
2026-03-26 20:40:25,965 - DEBUG - Response for create_subnet : {'subnet': {'id': '93f8cc3b-6ba8-40f3-badf-1e038a752c37', 'name': '', 'tenant_id': '937c617708c449b5b3b80647a34e5119', 'network_id': '46e295ce-c2ed-457b-aaf1-c2b74fb79743', 'ip_version': 4, 'cidr': '220.70.49.128/26', 'allocation_pools': [{'start': '220.70.49.130', 'end': '220.70.49.190'}], 'gateway_ip': '220.70.49.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.70.49.130', 'tags': [], 'project_id': '937c617708c449b5b3b80647a34e5119'}}
2026-03-26 20:40:25,982 - INFO - Created VN ctest-vn-41882339
2026-03-26 20:40:26,035 - DEBUG - VN ctest-vn-41882339 UUID is 46e295ce-c2ed-457b-aaf1-c2b74fb79743
2026-03-26 20:40:26,186 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-78895300:ctest-vn-07947113, 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-78895300:ctest-vn-41882339, 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-26 20:40:26,484 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8552d01e-3c66-4558-be18-bbb0abc88a32', 'name': 'ctest-vn-07947113', 'tenant_id': '937c617708c449b5b3b80647a34e5119', 'project_id': '937c617708c449b5b3b80647a34e5119', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['aa51f177-7e85-4d2d-8b5a-5b6aa3d1a495'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78895300', 'ctest-vn-07947113'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78895300', 'ctest-policy-allow-all-56214049']], 'subnet_ipam': [{'subnet_cidr': '173.162.174.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-26 20:40:26,709 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '46e295ce-c2ed-457b-aaf1-c2b74fb79743', 'name': 'ctest-vn-41882339', 'tenant_id': '937c617708c449b5b3b80647a34e5119', 'project_id': '937c617708c449b5b3b80647a34e5119', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['93f8cc3b-6ba8-40f3-badf-1e038a752c37'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-78895300', 'ctest-vn-41882339'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-78895300', 'ctest-policy-allow-all-56214049']], 'subnet_ipam': [{'subnet_cidr': '220.70.49.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-26 20:40:26,882 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-03-26 20:40:27,184 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-03-26 20:40:27,214 - DEBUG - Requesting: http://10.0.0.129:8082/domain/5ee3b9bd-3511-4401-b76e-41eff2e870a1
2026-03-26 20:40:27,225 - DEBUG - Requesting: http://10.0.0.129:8082/project/937c6177-08c4-49b5-b3b8-0647a34e5119
2026-03-26 20:40:27,296 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8552d01e-3c66-4558-be18-bbb0abc88a32
2026-03-26 20:40:27,306 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8552d01e-3c66-4558-be18-bbb0abc88a32
2026-03-26 20:40:27,315 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/2a246f78-d43b-430b-af84-20b30abf3543
2026-03-26 20:40:27,322 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/2a246f78-d43b-430b-af84-20b30abf3543
2026-03-26 20:40:27,329 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/4a8d0b71-02e3-43cd-b651-0008704baf79
2026-03-26 20:40:27,335 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-26 20:40:27,335 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8552d01e-3c66-4558-be18-bbb0abc88a32
2026-03-26 20:40:27,344 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/2a246f78-d43b-430b-af84-20b30abf3543
2026-03-26 20:40:27,359 - INFO - Verified VN network id 11 for VN 8552d01e-3c66-4558-be18-bbb0abc88a32
2026-03-26 20:40:27,359 - INFO - Verifications in API Server for VN ctest-vn-07947113 passed
2026-03-26 20:40:27,359 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8552d01e-3c66-4558-be18-bbb0abc88a32
2026-03-26 20:40:27,369 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/2a246f78-d43b-430b-af84-20b30abf3543
2026-03-26 20:40:27,377 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/2a246f78-d43b-430b-af84-20b30abf3543
2026-03-26 20:40:27,386 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/4a8d0b71-02e3-43cd-b651-0008704baf79
2026-03-26 20:40:27,403 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78895300:ctest-vn-07947113', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78895300', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9606969783415620952', 'uuid-lslong': '13697904634118048306'}, 'enable': 'true', 'created': '2026-03-26T20:40:25', 'last-modified': '2026-03-26T20:40:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.938545'}
2026-03-26 20:40:27,409 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-26 20:40:27,409 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-07947113 passed
2026-03-26 20:40:27,409 - DEBUG - ====Verifying policy data for ctest-vn-07947113 in API_Server ======
2026-03-26 20:40:27,409 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-03-26 20:40:27,414 - DEBUG - Requesting: http://10.0.0.129:8082/domain/5ee3b9bd-3511-4401-b76e-41eff2e870a1
2026-03-26 20:40:27,425 - DEBUG - Requesting: http://10.0.0.129:8082/project/937c6177-08c4-49b5-b3b8-0647a34e5119
2026-03-26 20:40:27,504 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/8552d01e-3c66-4558-be18-bbb0abc88a32
2026-03-26 20:40:27,513 - DEBUG - ==>Verifying data for policy with id: d1ae703c-476e-4b53-b56d-bb864c336f8b, fqn: ['default-domain', 'ctest-TestBasicPolicy-78895300', 'ctest-policy-allow-all-56214049']
2026-03-26 20:40:27,513 - INFO - VN ctest-vn-07947113 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-26 20:40:27,513 - DEBUG - Verifying the vn in opserver
2026-03-26 20:40:27,513 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78895300:ctest-vn-07947113 virtual network link through opserver 10.0.0.129
2026-03-26 20:40:27,513 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-03-26 20:40:27,814 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-03-26 20:40:27,884 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78895300:ctest-vn-07947113', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78895300:ctest-vn-07947113?flat'}
2026-03-26 20:40:27,884 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78895300:ctest-vn-07947113 is found in opserver
2026-03-26 20:40:27,893 - DEBUG - Do not have enough data to verify VN in agent
2026-03-26 20:40:27,898 - DEBUG - VRF ids for VN ctest-vn-07947113: {}
2026-03-26 20:40:27,898 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-03-26 20:40:27,904 - DEBUG - Requesting: http://10.0.0.129:8082/domain/5ee3b9bd-3511-4401-b76e-41eff2e870a1
2026-03-26 20:40:27,915 - DEBUG - Requesting: http://10.0.0.129:8082/project/937c6177-08c4-49b5-b3b8-0647a34e5119
2026-03-26 20:40:27,988 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/46e295ce-c2ed-457b-aaf1-c2b74fb79743
2026-03-26 20:40:28,015 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/46e295ce-c2ed-457b-aaf1-c2b74fb79743
2026-03-26 20:40:28,027 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4258af59-052c-42ca-b739-657a6509f052
2026-03-26 20:40:28,033 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4258af59-052c-42ca-b739-657a6509f052
2026-03-26 20:40:28,040 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/7c087d03-ef66-4c47-b8d1-86b26b50f708
2026-03-26 20:40:28,046 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-26 20:40:28,046 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/46e295ce-c2ed-457b-aaf1-c2b74fb79743
2026-03-26 20:40:28,055 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4258af59-052c-42ca-b739-657a6509f052
2026-03-26 20:40:28,067 - INFO - Verified VN network id 12 for VN 46e295ce-c2ed-457b-aaf1-c2b74fb79743
2026-03-26 20:40:28,067 - INFO - Verifications in API Server for VN ctest-vn-41882339 passed
2026-03-26 20:40:28,067 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/46e295ce-c2ed-457b-aaf1-c2b74fb79743
2026-03-26 20:40:28,075 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4258af59-052c-42ca-b739-657a6509f052
2026-03-26 20:40:28,081 - DEBUG - Requesting: http://10.0.0.129:8082/routing-instance/4258af59-052c-42ca-b739-657a6509f052
2026-03-26 20:40:28,088 - DEBUG - Requesting: http://10.0.0.129:8082/route-target/7c087d03-ef66-4c47-b8d1-86b26b50f708
2026-03-26 20:40:28,098 - DEBUG - Control-node 10.0.0.129 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-78895300:ctest-vn-41882339', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-78895300', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5107809642657695099', 'uuid-lslong': '12317840548407252803'}, 'enable': 'true', 'created': '2026-03-26T20:40:25', 'last-modified': '2026-03-26T20:40:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.407388'}
2026-03-26 20:40:28,104 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-26 20:40:28,104 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41882339 passed
2026-03-26 20:40:28,104 - DEBUG - ====Verifying policy data for ctest-vn-41882339 in API_Server ======
2026-03-26 20:40:28,104 - DEBUG - Requesting: http://10.0.0.129:8082/domains
2026-03-26 20:40:28,110 - DEBUG - Requesting: http://10.0.0.129:8082/domain/5ee3b9bd-3511-4401-b76e-41eff2e870a1
2026-03-26 20:40:28,122 - DEBUG - Requesting: http://10.0.0.129:8082/project/937c6177-08c4-49b5-b3b8-0647a34e5119
2026-03-26 20:40:28,191 - DEBUG - Requesting: http://10.0.0.129:8082/virtual-network/46e295ce-c2ed-457b-aaf1-c2b74fb79743
2026-03-26 20:40:28,199 - DEBUG - ==>Verifying data for policy with id: d1ae703c-476e-4b53-b56d-bb864c336f8b, fqn: ['default-domain', 'ctest-TestBasicPolicy-78895300', 'ctest-policy-allow-all-56214049']
2026-03-26 20:40:28,199 - INFO - VN ctest-vn-41882339 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-26 20:40:28,199 - DEBUG - Verifying the vn in opserver
2026-03-26 20:40:28,199 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-78895300:ctest-vn-41882339 virtual network link through opserver 10.0.0.129
2026-03-26 20:40:28,199 - DEBUG - Requesting: http://10.0.0.129:8081/analytics/uves/virtual-networks
2026-03-26 20:40:28,207 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-78895300:ctest-vn-41882339', 'href': 'http://10.0.0.129:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-78895300:ctest-vn-41882339?flat'}
2026-03-26 20:40:28,207 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-78895300:ctest-vn-41882339 is found in opserver
2026-03-26 20:40:28,216 - DEBUG - Do not have enough data to verify VN in agent
2026-03-26 20:40:28,221 - DEBUG - VRF ids for VN ctest-vn-41882339: {}
2026-03-26 20:40:28,279 - DEBUG - Services list from nova: [