2026-02-19 19:20:37,602 - INFO - Domain Default found not creating
2026-02-19 19:20:37,762 - INFO - Project ctest-TestBasicPolicy-71236320 not found, creating it
2026-02-19 19:20:38,226 - INFO - Created Project:ctest-TestBasicPolicy-71236320, ID : 1eeeea17-9814-444d-9ab2-0d807b5cfa33
2026-02-19 19:20:39,700 - INFO - ================================================================================
2026-02-19 19:20:39,701 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-19 19:20:39,701 - 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-02-19 19:20:39,953 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2026-02-19 19:20:39,953 - INFO - Initial checks done. Running the testcase now
2026-02-19 19:20:39,953 - INFO -
2026-02-19 19:20:40,488 - DEBUG - Response for create_network : {'network': {'id': '6d24e61f-0a59-444a-a15b-25dd44dfbfc5', 'name': 'ctest-vn-52951453', 'tenant_id': '1eeeea179814444d9ab20d807b5cfa33', 'project_id': '1eeeea179814444d9ab20d807b5cfa33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71236320', 'ctest-vn-52951453'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 19:20:40,648 - DEBUG - Response for create_subnet : {'subnet': {'id': '9808b930-9941-439e-a664-eea44105260a', 'name': '', 'tenant_id': '1eeeea179814444d9ab20d807b5cfa33', 'network_id': '6d24e61f-0a59-444a-a15b-25dd44dfbfc5', 'ip_version': 4, 'cidr': '129.12.172.128/26', 'allocation_pools': [{'start': '129.12.172.130', 'end': '129.12.172.190'}], 'gateway_ip': '129.12.172.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '129.12.172.130', 'tags': [], 'project_id': '1eeeea179814444d9ab20d807b5cfa33'}}
2026-02-19 19:20:40,666 - INFO - Created VN ctest-vn-52951453
2026-02-19 19:20:40,716 - DEBUG - VN ctest-vn-52951453 UUID is 6d24e61f-0a59-444a-a15b-25dd44dfbfc5
2026-02-19 19:20:41,017 - DEBUG - Response for create_network : {'network': {'id': '1306d918-40b7-4336-ae06-101191612d9c', 'name': 'ctest-vn-35841185', 'tenant_id': '1eeeea179814444d9ab20d807b5cfa33', 'project_id': '1eeeea179814444d9ab20d807b5cfa33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71236320', 'ctest-vn-35841185'], 'port_security_enabled': True, 'description': ''}}
2026-02-19 19:20:41,218 - DEBUG - Response for create_subnet : {'subnet': {'id': '84c3fec9-0f7f-40e3-b444-24bae7a0873f', 'name': '', 'tenant_id': '1eeeea179814444d9ab20d807b5cfa33', 'network_id': '1306d918-40b7-4336-ae06-101191612d9c', 'ip_version': 4, 'cidr': '32.80.163.128/26', 'allocation_pools': [{'start': '32.80.163.130', 'end': '32.80.163.190'}], 'gateway_ip': '32.80.163.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.80.163.130', 'tags': [], 'project_id': '1eeeea179814444d9ab20d807b5cfa33'}}
2026-02-19 19:20:41,240 - INFO - Created VN ctest-vn-35841185
2026-02-19 19:20:41,292 - DEBUG - VN ctest-vn-35841185 UUID is 1306d918-40b7-4336-ae06-101191612d9c
2026-02-19 19:20:41,444 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-71236320:ctest-vn-52951453, 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-71236320:ctest-vn-35841185, 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-02-19 19:20:41,738 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6d24e61f-0a59-444a-a15b-25dd44dfbfc5', 'name': 'ctest-vn-52951453', 'tenant_id': '1eeeea179814444d9ab20d807b5cfa33', 'project_id': '1eeeea179814444d9ab20d807b5cfa33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9808b930-9941-439e-a664-eea44105260a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71236320', 'ctest-vn-52951453'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71236320', 'ctest-policy-allow-all-68286984']], 'subnet_ipam': [{'subnet_cidr': '129.12.172.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 19:20:41,915 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '1306d918-40b7-4336-ae06-101191612d9c', 'name': 'ctest-vn-35841185', 'tenant_id': '1eeeea179814444d9ab20d807b5cfa33', 'project_id': '1eeeea179814444d9ab20d807b5cfa33', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['84c3fec9-0f7f-40e3-b444-24bae7a0873f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-71236320', 'ctest-vn-35841185'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-71236320', 'ctest-policy-allow-all-68286984']], 'subnet_ipam': [{'subnet_cidr': '32.80.163.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-19 19:20:42,056 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-19 19:20:42,355 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-19 19:20:42,387 - DEBUG - Requesting: http://10.0.0.38:8082/domain/41bd6984-0dc0-48cf-8fb0-76c779e3cb8c
2026-02-19 19:20:42,399 - DEBUG - Requesting: http://10.0.0.38:8082/project/1eeeea17-9814-444d-9ab2-0d807b5cfa33
2026-02-19 19:20:42,473 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6d24e61f-0a59-444a-a15b-25dd44dfbfc5
2026-02-19 19:20:42,483 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6d24e61f-0a59-444a-a15b-25dd44dfbfc5
2026-02-19 19:20:42,491 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1e8fb1a-f398-46cb-95bf-c0567796aba3
2026-02-19 19:20:42,497 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1e8fb1a-f398-46cb-95bf-c0567796aba3
2026-02-19 19:20:42,502 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/201c8aac-8102-416f-85db-f002735da167
2026-02-19 19:20:42,508 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 19:20:42,508 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6d24e61f-0a59-444a-a15b-25dd44dfbfc5
2026-02-19 19:20:42,515 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1e8fb1a-f398-46cb-95bf-c0567796aba3
2026-02-19 19:20:42,527 - INFO - Verified VN network id 12 for VN 6d24e61f-0a59-444a-a15b-25dd44dfbfc5
2026-02-19 19:20:42,527 - INFO - Verifications in API Server for VN ctest-vn-52951453 passed
2026-02-19 19:20:42,527 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6d24e61f-0a59-444a-a15b-25dd44dfbfc5
2026-02-19 19:20:42,534 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1e8fb1a-f398-46cb-95bf-c0567796aba3
2026-02-19 19:20:42,540 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/d1e8fb1a-f398-46cb-95bf-c0567796aba3
2026-02-19 19:20:42,545 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/201c8aac-8102-416f-85db-f002735da167
2026-02-19 19:20:42,555 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71236320:ctest-vn-52951453', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71236320', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7864663870287725642', 'uuid-lslong': '11626928495260581829'}, 'enable': 'true', 'created': '2026-02-19T19:20:40', 'last-modified': '2026-02-19T19:20:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.840590'}
2026-02-19 19:20:42,561 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-19 19:20:42,561 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52951453 passed
2026-02-19 19:20:42,561 - DEBUG - ====Verifying policy data for ctest-vn-52951453 in API_Server ======
2026-02-19 19:20:42,561 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-19 19:20:42,566 - DEBUG - Requesting: http://10.0.0.38:8082/domain/41bd6984-0dc0-48cf-8fb0-76c779e3cb8c
2026-02-19 19:20:42,576 - DEBUG - Requesting: http://10.0.0.38:8082/project/1eeeea17-9814-444d-9ab2-0d807b5cfa33
2026-02-19 19:20:42,644 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6d24e61f-0a59-444a-a15b-25dd44dfbfc5
2026-02-19 19:20:42,652 - DEBUG - ==>Verifying data for policy with id: 67d4609f-854a-40b9-b5ed-4dbc3fa54fb5, fqn: ['default-domain', 'ctest-TestBasicPolicy-71236320', 'ctest-policy-allow-all-68286984']
2026-02-19 19:20:42,652 - INFO - VN ctest-vn-52951453 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 19:20:42,652 - DEBUG - Verifying the vn in opserver
2026-02-19 19:20:42,652 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71236320:ctest-vn-52951453 virtual network link through opserver 10.0.0.38
2026-02-19 19:20:42,652 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-19 19:20:42,942 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-19 19:20:43,002 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71236320:ctest-vn-52951453', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71236320:ctest-vn-52951453?flat'}
2026-02-19 19:20:43,002 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71236320:ctest-vn-52951453 is found in opserver
2026-02-19 19:20:43,013 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 19:20:43,018 - DEBUG - VRF ids for VN ctest-vn-52951453: {}
2026-02-19 19:20:43,019 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-19 19:20:43,023 - DEBUG - Requesting: http://10.0.0.38:8082/domain/41bd6984-0dc0-48cf-8fb0-76c779e3cb8c
2026-02-19 19:20:43,034 - DEBUG - Requesting: http://10.0.0.38:8082/project/1eeeea17-9814-444d-9ab2-0d807b5cfa33
2026-02-19 19:20:43,100 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1306d918-40b7-4336-ae06-101191612d9c
2026-02-19 19:20:43,112 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1306d918-40b7-4336-ae06-101191612d9c
2026-02-19 19:20:43,120 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ed355af8-28d5-42ad-b82c-c4e8919e2b42
2026-02-19 19:20:43,127 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ed355af8-28d5-42ad-b82c-c4e8919e2b42
2026-02-19 19:20:43,133 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2f4d98fc-7255-4276-8105-6a8d7928b8d9
2026-02-19 19:20:43,139 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 19:20:43,139 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1306d918-40b7-4336-ae06-101191612d9c
2026-02-19 19:20:43,148 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ed355af8-28d5-42ad-b82c-c4e8919e2b42
2026-02-19 19:20:43,162 - INFO - Verified VN network id 13 for VN 1306d918-40b7-4336-ae06-101191612d9c
2026-02-19 19:20:43,162 - INFO - Verifications in API Server for VN ctest-vn-35841185 passed
2026-02-19 19:20:43,162 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1306d918-40b7-4336-ae06-101191612d9c
2026-02-19 19:20:43,172 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ed355af8-28d5-42ad-b82c-c4e8919e2b42
2026-02-19 19:20:43,180 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/ed355af8-28d5-42ad-b82c-c4e8919e2b42
2026-02-19 19:20:43,186 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/2f4d98fc-7255-4276-8105-6a8d7928b8d9
2026-02-19 19:20:43,197 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-71236320:ctest-vn-35841185', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-71236320', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1371021834769089334', 'uuid-lslong': '12539727880099278236'}, 'enable': 'true', 'created': '2026-02-19T19:20:40', 'last-modified': '2026-02-19T19:20:41', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.303826'}
2026-02-19 19:20:43,203 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-19 19:20:43,203 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35841185 passed
2026-02-19 19:20:43,204 - DEBUG - ====Verifying policy data for ctest-vn-35841185 in API_Server ======
2026-02-19 19:20:43,204 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-02-19 19:20:43,210 - DEBUG - Requesting: http://10.0.0.38:8082/domain/41bd6984-0dc0-48cf-8fb0-76c779e3cb8c
2026-02-19 19:20:43,223 - DEBUG - Requesting: http://10.0.0.38:8082/project/1eeeea17-9814-444d-9ab2-0d807b5cfa33
2026-02-19 19:20:43,293 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/1306d918-40b7-4336-ae06-101191612d9c
2026-02-19 19:20:43,302 - DEBUG - ==>Verifying data for policy with id: 67d4609f-854a-40b9-b5ed-4dbc3fa54fb5, fqn: ['default-domain', 'ctest-TestBasicPolicy-71236320', 'ctest-policy-allow-all-68286984']
2026-02-19 19:20:43,302 - INFO - VN ctest-vn-35841185 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-19 19:20:43,302 - DEBUG - Verifying the vn in opserver
2026-02-19 19:20:43,303 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-71236320:ctest-vn-35841185 virtual network link through opserver 10.0.0.38
2026-02-19 19:20:43,303 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-02-19 19:20:43,312 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-71236320:ctest-vn-35841185', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-71236320:ctest-vn-35841185?flat'}
2026-02-19 19:20:43,312 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-71236320:ctest-vn-35841185 is found in opserver
2026-02-19 19:20:43,321 - DEBUG - Do not have enough data to verify VN in agent
2026-02-19 19:20:43,325 - DEBUG - VRF ids for VN ctest-vn-35841185: {}
2026-02-19 19:20:43,375 - DEBUG - Services list from nova: [