2026-02-13 09:59:12,348 - INFO - Domain Default found not creating
2026-02-13 09:59:12,530 - INFO - Project ctest-TestBasicPolicy-79638248 not found, creating it
2026-02-13 09:59:12,989 - INFO - Created Project:ctest-TestBasicPolicy-79638248, ID : f1a8546c-fc18-4b81-b69e-038b60732fe6
2026-02-13 09:59:14,491 - INFO - ================================================================================
2026-02-13 09:59:14,491 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-13 09:59:14,491 - 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-13 09:59:14,749 - DEBUG - Nothing to compare xmpp stats {'10.0.0.27': {'10.20.0.17': '0'}} with
2026-02-13 09:59:14,749 - INFO - Initial checks done. Running the testcase now
2026-02-13 09:59:14,749 - INFO -
2026-02-13 09:59:15,297 - DEBUG - Response for create_network : {'network': {'id': '55a9636f-5fd1-4dae-b922-389caab04e12', 'name': 'ctest-vn-86567385', 'tenant_id': 'f1a8546cfc184b81b69e038b60732fe6', 'project_id': 'f1a8546cfc184b81b69e038b60732fe6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79638248', 'ctest-vn-86567385'], 'port_security_enabled': True, 'description': ''}}
2026-02-13 09:59:15,500 - DEBUG - Response for create_subnet : {'subnet': {'id': '1df08de3-a6ca-4f06-8ba6-95876d949282', 'name': '', 'tenant_id': 'f1a8546cfc184b81b69e038b60732fe6', 'network_id': '55a9636f-5fd1-4dae-b922-389caab04e12', 'ip_version': 4, 'cidr': '38.122.192.0/26', 'allocation_pools': [{'start': '38.122.192.2', 'end': '38.122.192.62'}], 'gateway_ip': '38.122.192.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '38.122.192.2', 'tags': [], 'project_id': 'f1a8546cfc184b81b69e038b60732fe6'}}
2026-02-13 09:59:15,516 - INFO - Created VN ctest-vn-86567385
2026-02-13 09:59:15,567 - DEBUG - VN ctest-vn-86567385 UUID is 55a9636f-5fd1-4dae-b922-389caab04e12
2026-02-13 09:59:15,904 - DEBUG - Response for create_network : {'network': {'id': 'a5ef1538-d51d-466e-b678-725db57ee0ef', 'name': 'ctest-vn-40982868', 'tenant_id': 'f1a8546cfc184b81b69e038b60732fe6', 'project_id': 'f1a8546cfc184b81b69e038b60732fe6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79638248', 'ctest-vn-40982868'], 'port_security_enabled': True, 'description': ''}}
2026-02-13 09:59:16,050 - DEBUG - Response for create_subnet : {'subnet': {'id': '0431360b-6e11-4717-aa55-7a4e0b246e6c', 'name': '', 'tenant_id': 'f1a8546cfc184b81b69e038b60732fe6', 'network_id': 'a5ef1538-d51d-466e-b678-725db57ee0ef', 'ip_version': 4, 'cidr': '113.61.124.192/26', 'allocation_pools': [{'start': '113.61.124.194', 'end': '113.61.124.254'}], 'gateway_ip': '113.61.124.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.61.124.194', 'tags': [], 'project_id': 'f1a8546cfc184b81b69e038b60732fe6'}}
2026-02-13 09:59:16,068 - INFO - Created VN ctest-vn-40982868
2026-02-13 09:59:16,119 - DEBUG - VN ctest-vn-40982868 UUID is a5ef1538-d51d-466e-b678-725db57ee0ef
2026-02-13 09:59:16,271 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-79638248:ctest-vn-86567385, 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-79638248:ctest-vn-40982868, 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-13 09:59:16,562 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '55a9636f-5fd1-4dae-b922-389caab04e12', 'name': 'ctest-vn-86567385', 'tenant_id': 'f1a8546cfc184b81b69e038b60732fe6', 'project_id': 'f1a8546cfc184b81b69e038b60732fe6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1df08de3-a6ca-4f06-8ba6-95876d949282'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79638248', 'ctest-vn-86567385'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79638248', 'ctest-policy-allow-all-27220067']], 'subnet_ipam': [{'subnet_cidr': '38.122.192.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-13 09:59:16,795 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a5ef1538-d51d-466e-b678-725db57ee0ef', 'name': 'ctest-vn-40982868', 'tenant_id': 'f1a8546cfc184b81b69e038b60732fe6', 'project_id': 'f1a8546cfc184b81b69e038b60732fe6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0431360b-6e11-4717-aa55-7a4e0b246e6c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-79638248', 'ctest-vn-40982868'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-79638248', 'ctest-policy-allow-all-27220067']], 'subnet_ipam': [{'subnet_cidr': '113.61.124.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-13 09:59:16,963 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-13 09:59:17,255 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-13 09:59:17,286 - DEBUG - Requesting: http://10.0.0.27:8082/domain/13da08fd-16a8-4055-b729-97bf76ffa43f
2026-02-13 09:59:17,298 - DEBUG - Requesting: http://10.0.0.27:8082/project/f1a8546c-fc18-4b81-b69e-038b60732fe6
2026-02-13 09:59:17,370 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/55a9636f-5fd1-4dae-b922-389caab04e12
2026-02-13 09:59:17,380 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/55a9636f-5fd1-4dae-b922-389caab04e12
2026-02-13 09:59:17,390 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5222d265-a1da-46d6-9aa9-710028a8fb9e
2026-02-13 09:59:17,398 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5222d265-a1da-46d6-9aa9-710028a8fb9e
2026-02-13 09:59:17,405 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/6c4e43c3-9991-426a-bd0b-dd4b7f3702d6
2026-02-13 09:59:17,411 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-13 09:59:17,412 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/55a9636f-5fd1-4dae-b922-389caab04e12
2026-02-13 09:59:17,420 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5222d265-a1da-46d6-9aa9-710028a8fb9e
2026-02-13 09:59:17,433 - INFO - Verified VN network id 11 for VN 55a9636f-5fd1-4dae-b922-389caab04e12
2026-02-13 09:59:17,433 - INFO - Verifications in API Server for VN ctest-vn-86567385 passed
2026-02-13 09:59:17,433 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/55a9636f-5fd1-4dae-b922-389caab04e12
2026-02-13 09:59:17,442 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5222d265-a1da-46d6-9aa9-710028a8fb9e
2026-02-13 09:59:17,450 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/5222d265-a1da-46d6-9aa9-710028a8fb9e
2026-02-13 09:59:17,458 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/6c4e43c3-9991-426a-bd0b-dd4b7f3702d6
2026-02-13 09:59:17,471 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79638248:ctest-vn-86567385', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79638248', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6172574094288047534', 'uuid-lslong': '13340287291754565138'}, 'enable': 'true', 'created': '2026-02-13T09:59:15', 'last-modified': '2026-02-13T09:59:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.927209'}
2026-02-13 09:59:17,478 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-13 09:59:17,478 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86567385 passed
2026-02-13 09:59:17,478 - DEBUG - ====Verifying policy data for ctest-vn-86567385 in API_Server ======
2026-02-13 09:59:17,478 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-13 09:59:17,485 - DEBUG - Requesting: http://10.0.0.27:8082/domain/13da08fd-16a8-4055-b729-97bf76ffa43f
2026-02-13 09:59:17,498 - DEBUG - Requesting: http://10.0.0.27:8082/project/f1a8546c-fc18-4b81-b69e-038b60732fe6
2026-02-13 09:59:17,572 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/55a9636f-5fd1-4dae-b922-389caab04e12
2026-02-13 09:59:17,580 - DEBUG - ==>Verifying data for policy with id: cd88bbca-a4bf-4af9-a314-7f1f7a4b1427, fqn: ['default-domain', 'ctest-TestBasicPolicy-79638248', 'ctest-policy-allow-all-27220067']
2026-02-13 09:59:17,580 - INFO - VN ctest-vn-86567385 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-13 09:59:17,581 - DEBUG - Verifying the vn in opserver
2026-02-13 09:59:17,581 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79638248:ctest-vn-86567385 virtual network link through opserver 10.0.0.27
2026-02-13 09:59:17,581 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-02-13 09:59:17,875 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-02-13 09:59:17,960 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79638248:ctest-vn-86567385', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79638248:ctest-vn-86567385?flat'}
2026-02-13 09:59:17,960 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79638248:ctest-vn-86567385 is found in opserver
2026-02-13 09:59:17,971 - DEBUG - Do not have enough data to verify VN in agent
2026-02-13 09:59:17,978 - DEBUG - VRF ids for VN ctest-vn-86567385: {}
2026-02-13 09:59:17,978 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-13 09:59:17,985 - DEBUG - Requesting: http://10.0.0.27:8082/domain/13da08fd-16a8-4055-b729-97bf76ffa43f
2026-02-13 09:59:18,000 - DEBUG - Requesting: http://10.0.0.27:8082/project/f1a8546c-fc18-4b81-b69e-038b60732fe6
2026-02-13 09:59:18,078 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a5ef1538-d51d-466e-b678-725db57ee0ef
2026-02-13 09:59:18,091 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a5ef1538-d51d-466e-b678-725db57ee0ef
2026-02-13 09:59:18,102 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/760c674f-86c0-4998-bead-d0c12953fa21
2026-02-13 09:59:18,111 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/760c674f-86c0-4998-bead-d0c12953fa21
2026-02-13 09:59:18,120 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/146cc288-e1c4-40c3-a6b8-4d83b2120275
2026-02-13 09:59:18,128 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-13 09:59:18,128 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a5ef1538-d51d-466e-b678-725db57ee0ef
2026-02-13 09:59:18,138 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/760c674f-86c0-4998-bead-d0c12953fa21
2026-02-13 09:59:18,154 - INFO - Verified VN network id 12 for VN a5ef1538-d51d-466e-b678-725db57ee0ef
2026-02-13 09:59:18,154 - INFO - Verifications in API Server for VN ctest-vn-40982868 passed
2026-02-13 09:59:18,154 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a5ef1538-d51d-466e-b678-725db57ee0ef
2026-02-13 09:59:18,165 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/760c674f-86c0-4998-bead-d0c12953fa21
2026-02-13 09:59:18,175 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/760c674f-86c0-4998-bead-d0c12953fa21
2026-02-13 09:59:18,183 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/146cc288-e1c4-40c3-a6b8-4d83b2120275
2026-02-13 09:59:18,195 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-79638248:ctest-vn-40982868', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-79638248', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11956798869529773678', 'uuid-lslong': '13148384858910679279'}, 'enable': 'true', 'created': '2026-02-13T09:59:15', 'last-modified': '2026-02-13T09:59:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.420479'}
2026-02-13 09:59:18,201 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-13 09:59:18,201 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40982868 passed
2026-02-13 09:59:18,202 - DEBUG - ====Verifying policy data for ctest-vn-40982868 in API_Server ======
2026-02-13 09:59:18,202 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2026-02-13 09:59:18,207 - DEBUG - Requesting: http://10.0.0.27:8082/domain/13da08fd-16a8-4055-b729-97bf76ffa43f
2026-02-13 09:59:18,218 - DEBUG - Requesting: http://10.0.0.27:8082/project/f1a8546c-fc18-4b81-b69e-038b60732fe6
2026-02-13 09:59:18,287 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/a5ef1538-d51d-466e-b678-725db57ee0ef
2026-02-13 09:59:18,298 - DEBUG - ==>Verifying data for policy with id: cd88bbca-a4bf-4af9-a314-7f1f7a4b1427, fqn: ['default-domain', 'ctest-TestBasicPolicy-79638248', 'ctest-policy-allow-all-27220067']
2026-02-13 09:59:18,298 - INFO - VN ctest-vn-40982868 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-13 09:59:18,298 - DEBUG - Verifying the vn in opserver
2026-02-13 09:59:18,298 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-79638248:ctest-vn-40982868 virtual network link through opserver 10.0.0.27
2026-02-13 09:59:18,299 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2026-02-13 09:59:18,309 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-79638248:ctest-vn-40982868', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-79638248:ctest-vn-40982868?flat'}
2026-02-13 09:59:18,309 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-79638248:ctest-vn-40982868 is found in opserver
2026-02-13 09:59:18,320 - DEBUG - Do not have enough data to verify VN in agent
2026-02-13 09:59:18,325 - DEBUG - VRF ids for VN ctest-vn-40982868: {}
2026-02-13 09:59:18,382 - DEBUG - Services list from nova: [