--- pytest attempt 2026-09-08T08:26:22.273524+00:00 (/.local/bin/uv --directory /home/odh/opendatahub-tests...) --- 2026-09-08T08:26:24.520510Z [info ] Writing tests log to /home/odh/opendatahub-tests/results/pytest-tests.log [conftest] 2026-09-08T08:26:24.523123Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-09-08T08:26:24.622713Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] 2026-09-08T08:26:24.676182Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] ============================= test session starts ============================== platform linux -- Python 3.14.7, pytest-9.1.1, pluggy-1.6.0 -- /home/odh/opendatahub-tests/.venv/bin/python3 cachedir: .pytest_cache metadata: {'Python': '3.14.7', 'Platform': 'Linux-5.14.0-570.131.1.el9_6.x86_64-x86_64-with-glibc2.42', 'Packages': {'pytest': '9.1.1', 'pluggy': '1.6.0'}, 'Plugins': {'anyio': '4.14.2', 'langsmith': '0.11.2', 'asyncio': '1.4.0', 'dependency': '0.6.1', 'html': '4.2.0', 'metadata': '3.1.1', 'order': '1.5.0', 'progress': '1.4.0', 'testconfig': '0.2.0', 'xdist': '3.8.0', 'syrupy': '6.0.0'}} rootdir: /home/odh/opendatahub-tests configfile: pytest.ini plugins: anyio-4.14.2, langsmith-0.11.2, asyncio-1.4.0, dependency-0.6.1, html-4.2.0, metadata-3.1.1, order-1.5.0, progress-1.4.0, testconfig-0.2.0, xdist-3.8.0, syrupy-6.0.0 asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collecting ... 2026-09-08T08:26:26.031973Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-09-08T08:26:27.228897Z [info ] kind: ClusterPolicy api version: kyverno.io/v2beta1 [ocp_resources.resource] collected 477 items / 466 deselected / 11 selected tests/model_serving/model_server/kserve/authentication/test_kserve_token_authentication_raw.py::TestKserveTokenAuthenticationRawForRest::test_model_authentication_using_rest_raw[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0]  ----- test_model_authentication_using_rest_raw[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] ----- -------------------------------------------------------- SETUP -------------------------------------------------------- 2026-09-08T08:26:27.259838Z [info ] Executing session fixture: admin_client [conftest] 2026-09-08T08:26:27.260053Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-09-08T08:26:27.267192Z [info ] Executing session fixture: dsc_resource [conftest] 2026-09-08T08:26:27.267333Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] 2026-09-08T08:26:27.340308Z [info ] Executing package fixture: enabled_kserve_in_dsc [conftest] 2026-09-08T08:26:27.357802Z [warning ] Component kserve was already set to managementState Managed [utilities.data_science_cluster_utils] name=utilities.data_science_cluster_utils 2026-09-08T08:26:27.359105Z [info ] Executing session fixture: event_loop_policy [conftest] 2026-09-08T08:26:27.359284Z [info ] Executing session fixture: _syrupy_apply_ide_patches [conftest] 2026-09-08T08:26:27.359608Z [info ] Executing session fixture: tmp_path_factory [conftest] 2026-09-08T08:26:27.359764Z [info ] Executing session fixture: tests_tmp_dir [conftest] 2026-09-08T08:26:27.360850Z [info ] Executing session fixture: os_path_environment [conftest] 2026-09-08T08:26:27.361004Z [info ] Executing session fixture: tmpdir_factory [conftest] 2026-09-08T08:26:27.361138Z [info ] Executing session fixture: bin_directory [conftest] 2026-09-08T08:26:27.362501Z [info ] Executing session fixture: oc_binary_path [conftest] 2026-09-08T08:26:27.361547Z [warning ] Using previously installed: /workspace/tests-shared/tests-payload/.tools/bin/oc [tests.conftest] name=tests.conftest 2026-09-08T08:26:27.362795Z [info ] Executing session fixture: bin_directory_to_os_path [conftest] 2026-09-08T08:26:27.361672Z [info ] OC binary path: /workspace/tests-shared/tests-payload/.tools/bin/oc [tests.conftest] name=tests.conftest 2026-09-08T08:26:27.361723Z [info ] Adding /tmp/pytest-Rb9ZkwmXLQ8UAhDxgw3b9g/bin0 to $PATH [tests.conftest] name=tests.conftest 2026-09-08T08:26:27.363246Z [info ] Executing session fixture: nodes [conftest] 2026-09-08T08:26:27.394645Z [info ] Executing session fixture: dsci_resource [conftest] 2026-09-08T08:26:27.394837Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] 2026-09-08T08:26:27.411854Z [info ] Executing session fixture: record_testsuite_property [conftest] 2026-09-08T08:26:27.412042Z [info ] Executing session fixture: junitxml_plugin [conftest] 2026-09-08T08:26:27.412204Z [info ] Executing session fixture: cluster_sanity_scope_session [conftest] 2026-09-08T08:26:27.411143Z [info ] Check cluster sanity.  [utilities.infra] name=utilities.infra 2026-09-08T08:26:27.412513Z [info ] Verify all nodes are in a healthy condition. [ocp_utilities.infra] 2026-09-08T08:26:27.462151Z [info ] Verify all nodes are schedulable. [ocp_utilities.infra] 2026-09-08T08:26:27.510728Z [info ] Wait for DSCI default-dsci to be in Ready status. [utilities.infra] name=utilities.infra 2026-09-08T08:26:27.511585Z [info ] Get DSCInitialization default-dsci status [ocp_resources DSCInitialization] 2026-09-08T08:26:27.527812Z [success ] Function: utilities.infra.wait_for_dsci_status_ready succeeded after 4.5299530029296875e-05 [0:00:00.000045]. [timeout_sampler] 2026-09-08T08:26:27.527172Z [info ] Wait for DSC default-dsc are Ready. [utilities.infra] name=utilities.infra 2026-09-08T08:26:27.528176Z [info ] Get DataScienceCluster default-dsc status [ocp_resources DataScienceCluster] 2026-09-08T08:26:27.547307Z [success ] Function: utilities.infra.wait_for_dsc_status_ready succeeded after 2.6226043701171875e-05 [0:00:00.000026]. [timeout_sampler] 2026-09-08T08:26:27.547503Z [info ] Executing session fixture: autouse_fixtures [conftest] 2026-09-08T08:26:27.547624Z [info ] Executing session fixture: kserve_health_check [conftest] 2026-09-08T08:26:27.583656Z [info ] kind: Deployment api version: apps/v1 [ocp_resources.resource] 2026-09-08T08:26:27.648937Z [info ] KServe component health check passed [tests.model_serving.model_server.kserve.conftest] 2026-09-08T08:26:27.649092Z [info ] Executing session fixture: pytestconfig [conftest] 2026-09-08T08:26:27.649234Z [info ] Executing session fixture: aws_access_key_id [conftest] 2026-09-08T08:26:27.649460Z [info ] Executing session fixture: aws_secret_access_key [conftest] 2026-09-08T08:26:27.649639Z [info ] Executing session fixture: ci_s3_bucket_endpoint [conftest] 2026-09-08T08:26:27.649773Z [info ] Executing session fixture: valid_aws_config [conftest] 2026-09-08T08:26:27.687026Z [info ] AWS credentials validated successfully via STS GetCallerIdentity [tests.conftest] name=tests.conftest 2026-09-08T08:26:27.688923Z [info ] Executing session fixture: use_unprivileged_client [conftest] 2026-09-08T08:26:27.689054Z [info ] Executing session fixture: kubconfig_filepath [conftest] 2026-09-08T08:26:27.689174Z [info ] Executing session fixture: cluster_authentication [conftest] 2026-09-08T08:26:27.689290Z [info ] kind: Authentication api version: config.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:26:27.705495Z [info ] Executing session fixture: is_byoidc [conftest] 2026-09-08T08:26:27.723371Z [info ] Executing session fixture: non_admin_user_password [conftest] 2026-09-08T08:26:27.723550Z [info ] Executing session fixture: unprivileged_client [conftest] 2026-09-08T08:26:27.721176Z [warning ] Unprivileged client is not enabled, using admin client [tests.conftest] name=tests.conftest 2026-09-08T08:26:27.723813Z [info ] Executing session fixture: teardown_resources [conftest] 2026-09-08T08:26:27.723937Z [info ] Executing session fixture: ci_s3_bucket_name [conftest] 2026-09-08T08:26:27.724061Z [info ] Executing session fixture: ci_s3_bucket_region [conftest] 2026-09-08T08:26:27.724179Z [info ] Executing session fixture: models_s3_bucket_name [conftest] 2026-09-08T08:26:27.724305Z [info ] Executing session fixture: models_s3_bucket_region [conftest] 2026-09-08T08:26:27.724528Z [info ] Executing session fixture: models_s3_bucket_endpoint [conftest] 2026-09-08T08:26:27.724649Z [info ] Executing class fixture: unprivileged_model_namespace [conftest] 2026-09-08T08:26:27.724758Z [info ] kind: ProjectRequest api version: project.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:26:27.724862Z [info ] Create ProjectRequest test-kserve-raw-token-authentication [ocp_resources ProjectRequest] 2026-09-08T08:26:27.725253Z [info ] Posting {'apiVersion': 'project.openshift.io/v1', 'kind': 'ProjectRequest', 'metadata': {'name': 'test-kserve-raw-token-authentication'}} [ocp_resources ProjectRequest] 2026-09-08T08:26:27.825059Z [info ] kind: Project api version: project.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:26:27.825293Z [info ] Wait for Project test-kserve-raw-token-authentication status to be Active [ocp_resources Project] 2026-09-08T08:26:27.848888Z [info ] Status of Project test-kserve-raw-token-authentication is Active [ocp_resources Project] 2026-09-08T08:26:27.849133Z [success ] Function: lambda: self.exists succeeded after 2.3126602172851562e-05 [0:00:00.000023]. [timeout_sampler] 2026-09-08T08:26:27.849337Z [info ] Executing class fixture: http_s3_ovms_serving_runtime [conftest] 2026-09-08T08:26:27.849531Z [info ] kind: Template api version: template.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:26:27.948398Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-09-08T08:26:27.948707Z [info ] Create ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-09-08T08:26:27.948940Z [info ] Posting {'apiVersion': 'serving.kserve.io/v1alpha1', 'kind': 'ServingRuntime', 'metadata': {'annotations': {'opendatahub.io/recommended-accelerators': '["nvidia.com/gpu"]', 'opendatahub.io/runtime-version': 'v2026.1.0', 'openshift.io/display-name': 'OpenVINO Model Server'}, 'labels': {'opendatahub.io/dashboard': 'true'}, 'name': 'http-mnist-runtime', 'namespace': 'test-kserve-raw-token-authentication'}, 'spec': {'annotations': {'opendatahub.io/kserve-runtime': 'ovms', 'prometheus.io/path': '/metrics', 'prometheus.io/port': '8888'}, 'containers': [{'args': ['--model_name={{.Name}}', '--port=8001', '--rest_port=8888', '--model_path=/mnt/models', '--file_system_poll_wait_seconds=0', '--metrics_enable'], 'image': 'registry.redhat.io/rhoai/odh-openvino-model-server-rhel9@sha256:0086e5198e9f67af0cdeffa12d0a1a19b89ed34ed2d19be37f68cce2da5a8209', 'name': 'kserve-container', 'ports': [{'containerPort': 8888, 'protocol': 'TCP'}]}], 'multiModel': False, 'protocolVersions': ['v2', 'grpc-v2'], 'supportedModelFormats': [{'autoSelect': True, 'name': 'openvino_ir', 'version': 'opset13'}, {'name': 'onnx', 'version': '1'}, {'autoSelect': True, 'name': 'tensorflow', 'version': '1'}, {'autoSelect': True, 'name': 'tensorflow', 'version': '2'}, {'autoSelect': True, 'name': 'paddle', 'version': '2'}, {'autoSelect': True, 'name': 'pytorch', 'version': '2'}]}} [ocp_resources ServingRuntime] 2026-09-08T08:26:28.038826Z [info ] Executing class fixture: ci_endpoint_s3_secret [conftest] 2026-09-08T08:26:28.058419Z [info ] Create Secret ci-bucket-secret [ocp_resources Secret] 2026-09-08T08:26:28.058587Z [info ] Posting {'apiVersion': 'v1', 'kind': 'Secret', 'metadata': {'name': 'ci-bucket-secret', 'labels': {'opendatahub.io/managed': 'true', 'opendatahub.io/dashboard': 'true'}, 'annotations': {'opendatahub.io/connection-type': 's3', 'serving.kserve.io/s3-endpoint': 's3.us-east-1.amazonaws.com/', 'serving.kserve.io/s3-region': 'us-east-1', 'serving.kserve.io/s3-useanoncredential': 'false', 'serving.kserve.io/s3-verifyssl': '0', 'serving.kserve.io/s3-usehttps': '1'}, 'namespace': 'test-kserve-raw-token-authentication'}, 'data': '*******'} [ocp_resources Secret] 2026-09-08T08:26:28.109538Z [info ] Wait until Secret ci-bucket-secret is created [ocp_resources Secret] 2026-09-08T08:26:28.128165Z [success ] Function: lambda: self.exists succeeded after 3.147125244140625e-05 [0:00:00.000031]. [timeout_sampler] 2026-09-08T08:26:28.128445Z [info ] Executing class fixture: models_endpoint_s3_secret [conftest] 2026-09-08T08:26:28.147187Z [info ] Create Secret models-bucket-secret [ocp_resources Secret] 2026-09-08T08:26:28.147488Z [info ] Posting {'apiVersion': 'v1', 'kind': 'Secret', 'metadata': {'name': 'models-bucket-secret', 'labels': {'opendatahub.io/managed': 'true', 'opendatahub.io/dashboard': 'true'}, 'annotations': {'opendatahub.io/connection-type': 's3', 'serving.kserve.io/s3-endpoint': 's3.us-east-2.amazonaws.com/', 'serving.kserve.io/s3-region': 'us-east-2', 'serving.kserve.io/s3-useanoncredential': 'false', 'serving.kserve.io/s3-verifyssl': '0', 'serving.kserve.io/s3-usehttps': '1'}, 'namespace': 'test-kserve-raw-token-authentication'}, 'data': '*******'} [ocp_resources Secret] 2026-09-08T08:26:28.198035Z [info ] Wait until Secret models-bucket-secret is created [ocp_resources Secret] 2026-09-08T08:26:28.214929Z [success ] Function: lambda: self.exists succeeded after 2.9325485229492188e-05 [0:00:00.000029]. [timeout_sampler] 2026-09-08T08:26:28.215173Z [info ] Executing class fixture: model_service_account [conftest] 2026-09-08T08:26:28.215306Z [info ] Create ServiceAccount models-bucket-sa [ocp_resources ServiceAccount] 2026-09-08T08:26:28.215459Z [info ] Posting {'apiVersion': 'v1', 'kind': 'ServiceAccount', 'metadata': {'name': 'models-bucket-sa', 'namespace': 'test-kserve-raw-token-authentication'}, 'secrets': [{'name': 'models-bucket-secret'}]} [ocp_resources ServiceAccount] 2026-09-08T08:26:28.248797Z [info ] Executing class fixture: http_s3_ovms_raw_inference_service [conftest] 2026-09-08T08:26:28.266169Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-09-08T08:26:28.266381Z [info ] Create InferenceService http-onnx [ocp_resources InferenceService] 2026-09-08T08:26:28.266573Z [info ] Posting {'apiVersion': 'serving.kserve.io/v1beta1', 'kind': 'InferenceService', 'metadata': {'name': 'http-onnx', 'labels': {'networking.kserve.io/visibility': 'exposed'}, 'annotations': {'serving.kserve.io/deploymentMode': 'RawDeployment', 'security.opendatahub.io/enable-auth': 'true'}, 'namespace': 'test-kserve-raw-token-authentication'}, 'spec': {'predictor': {'model': {'modelFormat': {'name': 'openvino_ir'}, 'version': None, 'runtime': 'http-mnist-runtime', 'storage': {'key': 'ci-bucket-secret', 'path': '/test-dir/'}}, 'serviceAccountName': 'models-bucket-sa'}}} [ocp_resources InferenceService] 2026-09-08T08:26:28.616052Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-09-08T08:26:29.649924Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-09-08T08:26:29.698472Z [success ] Function: utilities.infra.wait_for_isvc_pods succeeded after 1.0338771343231201 [0:00:01.033877]. [timeout_sampler] 2026-09-08T08:26:29.713988Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-09-08T08:27:10.149047Z [success ] Function: utilities.infra.get_pods_by_isvc_label succeeded after 40.35217881202698 [0:00:40.352179]. [timeout_sampler] 2026-09-08T08:27:10.165751Z [info ] kind: Deployment api version: apps/v1 [ocp_resources.resource] 2026-09-08T08:27:10.182896Z [success ] Function: ocp_resources.resource.get succeeded after 6.985664367675781e-05 [0:00:00.000070]. [timeout_sampler] 2026-09-08T08:27:10.182134Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-09-08T08:27:10.248860Z [success ] Function: lambda: deployment.instance succeeded after 2.3603439331054688e-05 [0:00:00.000024]. [timeout_sampler] 2026-09-08T08:27:10.249005Z [info ] Wait for Deployment http-onnx-predictor to be deployed: True [ocp_resources Deployment] 2026-09-08T08:27:10.265112Z [success ] Function: lambda: self.exists succeeded after 1.5735626220703125e-05 [0:00:00.000016]. [timeout_sampler] 2026-09-08T08:27:10.282215Z [success ] Function: lambda: self.instance succeeded after 1.3828277587890625e-05 [0:00:00.000014]. [timeout_sampler] 2026-09-08T08:27:10.282605Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-09-08T08:27:10.282894Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-09-08T08:27:10.298779Z [success ] Function: lambda: self.exists succeeded after 1.52587890625e-05 [0:00:00.000015]. [timeout_sampler] 2026-09-08T08:27:10.315284Z [success ] Function: lambda: self.instance succeeded after 1.5020370483398438e-05 [0:00:00.000015]. [timeout_sampler] 2026-09-08T08:27:10.348597Z [success ] Function: utilities.inference_utils._is_model_loaded succeeded after 1.3828277587890625e-05 [0:00:00.000014]. [timeout_sampler] 2026-09-08T08:27:10.366701Z [info ] Executing class fixture: http_raw_view_role [conftest] 2026-09-08T08:27:10.366888Z [info ] kind: Role api version: rbac.authorization.k8s.io/v1 [ocp_resources.resource] 2026-09-08T08:27:10.367025Z [info ] Create Role http-onnx-view  [ocp_resources Role] 2026-09-08T08:27:10.367160Z [info ] Posting {'apiVersion': 'rbac.authorization.k8s.io/v1', 'kind': 'Role', 'metadata': {'name': 'http-onnx-view', 'namespace': 'test-kserve-raw-token-authentication'}, 'rules': [{'apiGroups': ['serving.kserve.io'], 'resources': ['inferenceservices'], 'verbs': ['get'], 'resourceNames': ['http-onnx']}]} [ocp_resources Role] 2026-09-08T08:27:10.402133Z [info ] Executing class fixture: http_raw_role_binding [conftest] 2026-09-08T08:27:10.402611Z [info ] kind: RoleBinding api version: rbac.authorization.k8s.io/v1 [ocp_resources.resource] 2026-09-08T08:27:10.402887Z [info ] Create RoleBinding http-models-bucket-sa-view [ocp_resources RoleBinding] 2026-09-08T08:27:10.403009Z [info ] Posting {'apiVersion': 'rbac.authorization.k8s.io/v1', 'kind': 'RoleBinding', 'metadata': {'name': 'http-models-bucket-sa-view', 'namespace': 'test-kserve-raw-token-authentication'}, 'subjects': [{'kind': 'ServiceAccount', 'name': 'models-bucket-sa'}], 'roleRef': {'kind': 'Role', 'name': 'http-onnx-view', 'apiGroup': 'rbac.authorization.k8s.io'}} [ocp_resources RoleBinding] 2026-09-08T08:27:10.437489Z [info ] Executing class fixture: http_raw_inference_token [conftest] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-09-08T08:27:10.491433Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-09-08T08:27:10.543138Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-09-08T08:27:10.547864Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:10.628396Z [info ] Infrastructure cluster resource tags: [{'key': 'expirationDate', 'value': '2026-09-08T11:33+00:00'}, {'key': 'prow.k8s.io/job', 'value': 'ephemeralcluster-ci-org-repo-branch-cluster-provisioning'}, {'key': 'prow.k8s.io/build-id', 'value': '2097225597045444608'}] [utilities.infra] name=utilities.infra 2026-09-08T08:27:10.655886Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:10.670369Z [info ] Using router certificate secret: default-ingress-cert [utilities.certificates_utils] name=utilities.certificates_utils 2026-09-08T08:27:10.687033Z [info ] Running Hide By User command  [pyhelper_utils.shell] PASSED _ 1 of 11 completed, 1 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/model_serving/model_server/kserve/authentication/test_kserve_token_authentication_raw.py::TestKserveTokenAuthenticationRawForRest::test_disabled_raw_model_authentication[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] 2026-09-08T08:27:10.797272Z [info ] Inference output: HTTP/1.1 200 OK access-control-allow-headers: * access-control-allow-methods: * access-control-allow-origin: * content-length: 414 content-type: application/json; charset=utf-8 date: Tue, 08 Sep 2026 08:27:10 GMT set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=278d135cab8d043146e0a26712288f3f; path=/; HttpOnly; Secure; SameSite=None { "model_name": "http-onnx", "model_version": "1", "outputs": [{ "name": "Plus214_Output_0", "shape": [1, 10], "datatype": "FP32", "data": [-8.233053207397461, -7.749701976776123, -3.4236819744110107, 12.363025665283203, -12.07910442352295, 17.266592025756836, -10.570975303649902, 0.7130780220031738, 3.3217153549194336, 1.3621225357055664] }] } [utilities.inference_utils] name=utilities.inference_utils 2026-09-08T08:27:10.805289Z [success ] Function: utilities.inference_utils._execute_inference succeeded after 1.71661376953125e-05 [0:00:00.000017]. [timeout_sampler]  TEST: TestKserveTokenAuthenticationRawForRest.test_model_authentication_using_rest_raw[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] STATUS: PASSED ------------------------------------------------------- TEARDOWN -------------------------------------------------------  ------ test_disabled_raw_model_authentication[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] ------ -------------------------------------------------------- SETUP -------------------------------------------------------- 2026-09-08T08:27:10.806245Z [info ] Executing function fixture: patched_remove_raw_authentication_isvc [conftest] 2026-09-08T08:27:10.806389Z [info ] ResourceEdit: Backing up old data [ocp_resources.resource] 2026-09-08T08:27:10.822276Z [info ] ResourceEdits: Updating data for resource InferenceService http-onnx [ocp_resources.resource] 2026-09-08T08:27:10.822600Z [info ] Update InferenceService http-onnx: {'metadata': {'annotations': {'security.opendatahub.io/enable-auth': 'false'}, 'name': 'http-onnx'}} [ocp_resources InferenceService] 2026-09-08T08:27:10.921861Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-09-08T08:27:10.922039Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-09-08T08:27:10.938388Z [success ] Function: lambda: self.exists succeeded after 2.3365020751953125e-05 [0:00:00.000023]. [timeout_sampler] 2026-09-08T08:27:10.955202Z [success ] Function: lambda: self.instance succeeded after 2.574920654296875e-05 [0:00:00.000026]. [timeout_sampler] 2026-09-08T08:27:10.989018Z [success ] Function: ocp_resources.resource.get succeeded after 3.504753112792969e-05 [0:00:00.000035]. [timeout_sampler] 2026-09-08T08:27:10.988442Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-09-08T08:27:11.055216Z [success ] Function: lambda: deployment.instance succeeded after 2.2172927856445312e-05 [0:00:00.000022]. [timeout_sampler] 2026-09-08T08:27:11.071917Z [success ] Function: lambda: self.exists succeeded after 1.8596649169921875e-05 [0:00:00.000019]. [timeout_sampler] 2026-09-08T08:27:11.089196Z [success ] Function: lambda: self.instance succeeded after 1.5497207641601562e-05 [0:00:00.000015]. [timeout_sampler] 2026-09-08T08:27:11.123468Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-09-08T08:27:11.172173Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-09-08T08:27:11.178775Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:11.249035Z [info ] Infrastructure cluster resource tags: [{'key': 'expirationDate', 'value': '2026-09-08T11:33+00:00'}, {'key': 'prow.k8s.io/job', 'value': 'ephemeralcluster-ci-org-repo-branch-cluster-provisioning'}, {'key': 'prow.k8s.io/build-id', 'value': '2097225597045444608'}] [utilities.infra] name=utilities.infra 2026-09-08T08:27:11.250137Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:11.262572Z [info ] Using router certificate secret: default-ingress-cert [utilities.certificates_utils] name=utilities.certificates_utils 2026-09-08T08:27:11.316517Z [info ] Inference output: HTTP/1.1 401 Unauthorized content-type: text/plain; charset=utf-8 x-content-type-options: nosniff date: Tue, 08 Sep 2026 08:27:11 GMT content-length: 13 set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=278d135cab8d043146e0a26712288f3f; path=/; HttpOnly; Secure; SameSite=None Unauthorized  [utilities.inference_utils] name=utilities.inference_utils 2026-09-08T08:27:11.317483Z [success ] Function: utilities.inference_utils._execute_inference succeeded after 1.71661376953125e-05 [0:00:00.000017]. [timeout_sampler] 2026-09-08T08:27:16.351680Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-09-08T08:27:16.401030Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-09-08T08:27:16.410108Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:16.481862Z [info ] Infrastructure cluster resource tags: [{'key': 'expirationDate', 'value': '2026-09-08T11:33+00:00'}, {'key': 'prow.k8s.io/job', 'value': 'ephemeralcluster-ci-org-repo-branch-cluster-provisioning'}, {'key': 'prow.k8s.io/build-id', 'value': '2097225597045444608'}] [utilities.infra] name=utilities.infra 2026-09-08T08:27:16.482851Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:16.496314Z [info ] Using router certificate secret: default-ingress-cert [utilities.certificates_utils] name=utilities.certificates_utils 2026-09-08T08:27:16.548855Z [info ] Inference output: HTTP/1.1 200 OK content-length: 414 content-type: application/json; charset=utf-8 access-control-allow-headers: * access-control-allow-methods: * access-control-allow-origin: * set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=8ec48a39664cfb38b50947d7ec189baf; path=/; HttpOnly; Secure; SameSite=None { "model_name": "http-onnx", "model_version": "1", "outputs": [{ "name": "Plus214_Output_0", "shape": [1, 10], "datatype": "FP32", "data": [-8.233053207397461, -7.749701976776123, -3.4236819744110107, 12.363025665283203, -12.07910442352295, 17.266592025756836, -10.570975303649902, 0.7130780220031738, 3.3217153549194336, 1.3621225357055664] }] } [utilities.inference_utils] name=utilities.inference_utils 2026-09-08T08:27:16.550586Z [success ] Function: utilities.inference_utils._execute_inference succeeded after 3.0994415283203125e-05 [0:00:00.000031]. [timeout_sampler] 2026-09-08T08:27:16.549091Z [info ] Raw ISVC http-onnx external HTTPS infer ready (auth token=no) [tests.model_serving.model_server.utils] name=tests.model_serving.model_server.utils 2026-09-08T08:27:16.550881Z [success ] Function: tests.model_serving.model_server.utils._https_infer_ok succeeded after 5.228257179260254 [0:00:05.228257]. [timeout_sampler] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-09-08T08:27:16.583515Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-09-08T08:27:16.636186Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-09-08T08:27:16.641719Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:16.719153Z [info ] Infrastructure cluster resource tags: [{'key': 'expirationDate', 'value': '2026-09-08T11:33+00:00'}, {'key': 'prow.k8s.io/job', 'value': 'ephemeralcluster-ci-org-repo-branch-cluster-provisioning'}, {'key': 'prow.k8s.io/build-id', 'value': '2097225597045444608'}] [utilities.infra] name=utilities.infra 2026-09-08T08:27:16.720061Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:16.733462Z [info ] Using router certificate secret: default-ingress-cert [utilities.certificates_utils] name=utilities.certificates_utils PASSED2026-09-08T08:27:16.879044Z [info ] Inference output: HTTP/1.1 200 OK content-length: 414 content-type: application/json; charset=utf-8 access-control-allow-headers: * access-control-allow-methods: * access-control-allow-origin: * set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=8ec48a39664cfb38b50947d7ec189baf; path=/; HttpOnly; Secure; SameSite=None { "model_name": "http-onnx", "model_version": "1", "outputs": [{ "name": "Plus214_Output_0", "shape": [1, 10], "datatype": "FP32", "data": [-8.233053207397461, -7.749701976776123, -3.4236819744110107, 12.363025665283203, -12.07910442352295, 17.266592025756836, -10.570975303649902, 0.7130780220031738, 3.3217153549194336, 1.3621225357055664] }] } [utilities.inference_utils] name=utilities.inference_utils 2026-09-08T08:27:16.881232Z [success ] Function: utilities.inference_utils._execute_inference succeeded after 1.9311904907226562e-05 [0:00:00.000019]. [timeout_sampler]  TEST: TestKserveTokenAuthenticationRawForRest.test_disabled_raw_model_authentication[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] STATUS: PASSED ------------------------------------------------------- TEARDOWN ------------------------------------------------------- 2026-09-08T08:27:16.881764Z [info ] ResourceEdits: Restoring data for resource InferenceService http-onnx [ocp_resources.resource] 2026-09-08T08:27:16.881902Z [info ] Update InferenceService http-onnx: {'metadata': {'annotations': {'security.opendatahub.io/enable-auth': 'true'}, 'name': 'http-onnx'}} [ocp_resources InferenceService] 2026-09-08T08:27:17.000581Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-09-08T08:27:17.000737Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-09-08T08:27:17.016901Z [success ] Function: lambda: self.exists succeeded after 4.3392181396484375e-05 [0:00:00.000043]. [timeout_sampler] 2026-09-08T08:27:17.033737Z [success ] Function: lambda: self.instance succeeded after 2.3603439331054688e-05 [0:00:00.000024]. [timeout_sampler] 2026-09-08T08:27:17.067384Z [success ] Function: ocp_resources.resource.get succeeded after 6.961822509765625e-05 [0:00:00.000070]. [timeout_sampler] 2026-09-08T08:27:17.066855Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-09-08T08:27:17.133553Z [success ] Function: lambda: deployment.instance succeeded after 2.0265579223632812e-05 [0:00:00.000020]. [timeout_sampler] 2026-09-08T08:27:17.150038Z [success ] Function: lambda: self.exists succeeded after 1.8835067749023438e-05 [0:00:00.000019]. [timeout_sampler] 2026-09-08T08:27:17.171255Z [success ] Function: lambda: self.instance succeeded after 1.3828277587890625e-05 [0:00:00.000014]. [timeout_sampler] 2026-09-08T08:27:17.206575Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-09-08T08:27:17.258828Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-09-08T08:27:17.263825Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:17.339581Z [info ] Infrastructure cluster resource tags: [{'key': 'expirationDate', 'value': '2026-09-08T11:33+00:00'}, {'key': 'prow.k8s.io/job', 'value': 'ephemeralcluster-ci-org-repo-branch-cluster-provisioning'}, {'key': 'prow.k8s.io/build-id', 'value': '2097225597045444608'}] [utilities.infra] name=utilities.infra 2026-09-08T08:27:17.340938Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:17.355025Z [info ] Using router certificate secret: default-ingress-cert [utilities.certificates_utils] name=utilities.certificates_utils 2026-09-08T08:27:25.434589Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-09-08T08:27:25.440966Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:25.513531Z [info ] Infrastructure cluster resource tags: [{'key': 'expirationDate', 'value': '2026-09-08T11:33+00:00'}, {'key': 'prow.k8s.io/job', 'value': 'ephemeralcluster-ci-org-repo-branch-cluster-provisioning'}, {'key': 'prow.k8s.io/build-id', 'value': '2097225597045444608'}] [utilities.infra] name=utilities.infra 2026-09-08T08:27:25.514309Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:25.527278Z [info ] Using router certificate secret: default-ingress-cert [utilities.certificates_utils] name=utilities.certificates_utils _ 2 of 11 completed, 2 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/model_serving/model_server/kserve/authentication/test_kserve_token_authentication_raw.py::TestKserveTokenAuthenticationRawForRest::test_re_enabled_raw_model_authentication[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] 2026-09-08T08:27:25.573023Z [info ] Inference output: HTTP/1.1 200 OK access-control-allow-headers: * access-control-allow-methods: * access-control-allow-origin: * content-length: 414 content-type: application/json; charset=utf-8 date: Tue, 08 Sep 2026 08:27:25 GMT set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=278d135cab8d043146e0a26712288f3f; path=/; HttpOnly; Secure; SameSite=None { "model_name": "http-onnx", "model_version": "1", "outputs": [{ "name": "Plus214_Output_0", "shape": [1, 10], "datatype": "FP32", "data": [-8.233053207397461, -7.749701976776123, -3.4236819744110107, 12.363025665283203, -12.07910442352295, 17.266592025756836, -10.570975303649902, 0.7130780220031738, 3.3217153549194336, 1.3621225357055664] }] } [utilities.inference_utils] name=utilities.inference_utils 2026-09-08T08:27:25.575947Z [success ] Function: utilities.inference_utils._execute_inference succeeded after 8.177939414978027 [0:00:08.177939]. [timeout_sampler] 2026-09-08T08:27:25.573209Z [info ] Raw ISVC http-onnx external HTTPS infer ready (auth token=yes) [tests.model_serving.model_server.utils] name=tests.model_serving.model_server.utils 2026-09-08T08:27:25.576250Z [success ] Function: tests.model_serving.model_server.utils._https_infer_ok succeeded after 1.049041748046875e-05 [0:00:00.000010]. [timeout_sampler]  ----- test_re_enabled_raw_model_authentication[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] ----- -------------------------------------------------------- SETUP -------------------------------------------------------- --------------------------------------------------------- CALL --------------------------------------------------------- 2026-09-08T08:27:25.608791Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-09-08T08:27:25.658523Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-09-08T08:27:25.665104Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:25.730522Z [info ] Infrastructure cluster resource tags: [{'key': 'expirationDate', 'value': '2026-09-08T11:33+00:00'}, {'key': 'prow.k8s.io/job', 'value': 'ephemeralcluster-ci-org-repo-branch-cluster-provisioning'}, {'key': 'prow.k8s.io/build-id', 'value': '2097225597045444608'}] [utilities.infra] name=utilities.infra 2026-09-08T08:27:25.731474Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:25.745666Z [info ] Using router certificate secret: default-ingress-cert [utilities.certificates_utils] name=utilities.certificates_utils PASSED _ 3 of 11 completed, 3 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/model_serving/model_server/kserve/authentication/test_kserve_token_authentication_raw.py::TestKserveTokenAuthenticationRawForRest::test_cross_model_authentication_raw[http_s3_ovms_raw_inference_service_20-unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] 2026-09-08T08:27:25.804096Z [info ] Inference output: HTTP/1.1 200 OK access-control-allow-headers: * access-control-allow-methods: * access-control-allow-origin: * content-length: 414 content-type: application/json; charset=utf-8 date: Tue, 08 Sep 2026 08:27:25 GMT set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=278d135cab8d043146e0a26712288f3f; path=/; HttpOnly; Secure; SameSite=None { "model_name": "http-onnx", "model_version": "1", "outputs": [{ "name": "Plus214_Output_0", "shape": [1, 10], "datatype": "FP32", "data": [-8.233053207397461, -7.749701976776123, -3.4236819744110107, 12.363025665283203, -12.07910442352295, 17.266592025756836, -10.570975303649902, 0.7130780220031738, 3.3217153549194336, 1.3621225357055664] }] } [utilities.inference_utils] name=utilities.inference_utils 2026-09-08T08:27:25.807829Z [success ] Function: utilities.inference_utils._execute_inference succeeded after 2.6464462280273438e-05 [0:00:00.000026]. [timeout_sampler]  TEST: TestKserveTokenAuthenticationRawForRest.test_re_enabled_raw_model_authentication[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] STATUS: PASSED ------------------------------------------------------- TEARDOWN -------------------------------------------------------  test_cross_model_authentication_raw[http_s3_ovms_raw_inference_service_20-unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0]  -------------------------------------------------------- SETUP -------------------------------------------------------- 2026-09-08T08:27:25.808527Z [info ] Executing class fixture: model_service_account_2 [conftest] 2026-09-08T08:27:25.808653Z [info ] Create ServiceAccount models-bucket-sa-2 [ocp_resources ServiceAccount] 2026-09-08T08:27:25.808784Z [info ] Posting {'apiVersion': 'v1', 'kind': 'ServiceAccount', 'metadata': {'name': 'models-bucket-sa-2', 'namespace': 'test-kserve-raw-token-authentication'}, 'secrets': [{'name': 'models-bucket-secret'}]} [ocp_resources ServiceAccount] 2026-09-08T08:27:25.844852Z [info ] Executing class fixture: http_s3_ovms_raw_inference_service_2 [conftest] 2026-09-08T08:27:25.862645Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-09-08T08:27:25.862802Z [info ] Create InferenceService http-onnx-2 [ocp_resources InferenceService] 2026-09-08T08:27:25.862942Z [info ] Posting {'apiVersion': 'serving.kserve.io/v1beta1', 'kind': 'InferenceService', 'metadata': {'name': 'http-onnx-2', 'labels': {'networking.kserve.io/visibility': 'exposed'}, 'annotations': {'serving.kserve.io/deploymentMode': 'RawDeployment', 'security.opendatahub.io/enable-auth': 'true'}, 'namespace': 'test-kserve-raw-token-authentication'}, 'spec': {'predictor': {'model': {'modelFormat': {'name': 'openvino_ir'}, 'version': None, 'runtime': 'http-mnist-runtime', 'storage': {'key': 'ci-bucket-secret', 'path': '/test-dir/'}}, 'serviceAccountName': 'models-bucket-sa-2'}}} [ocp_resources InferenceService] 2026-09-08T08:27:25.970500Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-09-08T08:27:27.002719Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-09-08T08:27:27.051729Z [success ] Function: utilities.infra.wait_for_isvc_pods succeeded after 1.0322456359863281 [0:00:01.032246]. [timeout_sampler] 2026-09-08T08:27:27.067608Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-09-08T08:27:37.254468Z [success ] Function: utilities.infra.get_pods_by_isvc_label succeeded after 10.103241682052612 [0:00:10.103242]. [timeout_sampler] 2026-09-08T08:27:37.287615Z [success ] Function: ocp_resources.resource.get succeeded after 3.409385681152344e-05 [0:00:00.000034]. [timeout_sampler] 2026-09-08T08:27:37.287059Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-09-08T08:27:37.354839Z [success ] Function: lambda: deployment.instance succeeded after 2.09808349609375e-05 [0:00:00.000021]. [timeout_sampler] 2026-09-08T08:27:37.355008Z [info ] Wait for Deployment http-onnx-2-predictor to be deployed: True --- [DuplicateFilter: Last log `Wait for Deployment http-onnx-predictor to be deployed: True` repeated 2 times] [ocp_resources Deployment] 2026-09-08T08:27:37.371086Z [success ] Function: lambda: self.exists succeeded after 1.4781951904296875e-05 [0:00:00.000015]. [timeout_sampler] 2026-09-08T08:27:37.388211Z [success ] Function: lambda: self.instance succeeded after 1.6927719116210938e-05 [0:00:00.000017]. [timeout_sampler] 2026-09-08T08:27:37.388592Z [info ] Wait for InferenceService/http-onnx-2's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-09-08T08:27:37.388868Z [info ] Wait until InferenceService http-onnx-2 is created [ocp_resources InferenceService] 2026-09-08T08:27:37.404761Z [success ] Function: lambda: self.exists succeeded after 1.5735626220703125e-05 [0:00:00.000016]. [timeout_sampler] 2026-09-08T08:27:37.420902Z [success ] Function: lambda: self.instance succeeded after 1.3589859008789062e-05 [0:00:00.000014]. [timeout_sampler] 2026-09-08T08:27:37.454016Z [success ] Function: utilities.inference_utils._is_model_loaded succeeded after 1.4066696166992188e-05 [0:00:00.000014]. [timeout_sampler] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-09-08T08:27:37.505703Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-09-08T08:27:37.554559Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-09-08T08:27:37.563992Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:37.641085Z [info ] Infrastructure cluster resource tags: [{'key': 'expirationDate', 'value': '2026-09-08T11:33+00:00'}, {'key': 'prow.k8s.io/job', 'value': 'ephemeralcluster-ci-org-repo-branch-cluster-provisioning'}, {'key': 'prow.k8s.io/build-id', 'value': '2097225597045444608'}] [utilities.infra] name=utilities.infra 2026-09-08T08:27:37.641959Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:37.662124Z [info ] Using router certificate secret: default-ingress-cert [utilities.certificates_utils] name=utilities.certificates_utils PASSED2026-09-08T08:27:37.785863Z [info ] Inference output: HTTP/1.1 403 Forbidden content-type: text/plain; charset=utf-8 x-content-type-options: nosniff date: Tue, 08 Sep 2026 08:27:37 GMT content-length: 145 set-cookie: 69f764f782e5acf3035b89de67f2b2b6=98d94cf9cdca0bcaa1662eee6e68d0cc; path=/; HttpOnly; Secure; SameSite=None Forbidden (user=system:serviceaccount:test-kserve-raw-token-authentication:models-bucket-sa, verb=get, resource=inferenceservices, subresource=)  [utilities.inference_utils] name=utilities.inference_utils 2026-09-08T08:27:37.790012Z [success ] Function: utilities.inference_utils._execute_inference succeeded after 1.239776611328125e-05 [0:00:00.000012]. [timeout_sampler]  TEST: TestKserveTokenAuthenticationRawForRest.test_cross_model_authentication_raw[http_s3_ovms_raw_inference_service_20-unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] STATUS: PASSED ------------------------------------------------------- TEARDOWN ------------------------------------------------------- 2026-09-08T08:27:37.790455Z [info ] Delete InferenceService http-onnx-2 [ocp_resources InferenceService] 2026-09-08T08:27:37.827540Z [info ] Deleting {'apiVersion': 'serving.kserve.io/v1beta1', 'kind': 'InferenceService', 'metadata': {'annotations': {'modelFormat': 'openvino_ir', 'security.opendatahub.io/enable-auth': 'true', 'serving.kserve.io/deploymentMode': 'Standard'}, 'creationTimestamp': '2026-09-08T08:27:25Z', 'finalizers': ['inferenceservice.finalizers', 'odh.inferenceservice.finalizers'], 'generation': 1, 'labels': {'networking.kserve.io/visibility': 'exposed'}, 'managedFields': [{'apiVersion': 'serving.kserve.io/v1beta1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'.': {}, 'f:security.opendatahub.io/enable-auth': {}, 'f:serving.kserve.io/deploymentMode': {}}, 'f:labels': {'.': {}, 'f:networking.kserve.io/visibility': {}}}, 'f:spec': {'.': {}, 'f:predictor': {'.': {}, 'f:model': {'.': {}, 'f:modelFormat': {'.': {}, 'f:name': {}}, 'f:runtime': {}, 'f:storage': {'.': {}, 'f:key': {}, 'f:path': {}}}, 'f:serviceAccountName': {}}}}, 'manager': 'OpenAPI-Generator', 'operation': 'Update', 'time': '2026-09-08T08:27:25Z'}, {'apiVersion': 'serving.kserve.io/v1beta1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:finalizers': {'.': {}, 'v:"inferenceservice.finalizers"': {}, 'v:"odh.inferenceservice.finalizers"': {}}}}, 'manager': 'manager', 'operation': 'Update', 'time': '2026-09-08T08:27:26Z'}, {'apiVersion': 'serving.kserve.io/v1beta1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:status': {'.': {}, 'f:address': {'.': {}, 'f:url': {}}, 'f:components': {'.': {}, 'f:predictor': {'.': {}, 'f:url': {}}}, 'f:conditions': {}, 'f:deploymentMode': {}, 'f:modelStatus': {'.': {}, 'f:copies': {'.': {}, 'f:failedCopies': {}, 'f:totalCopies': {}}, 'f:states': {'.': {}, 'f:activeModelState': {}, 'f:targetModelState': {}}, 'f:transitionStatus': {}}, 'f:observedGeneration': {}, 'f:servingRuntimeName': {}, 'f:url': {}}}, 'manager': 'manager', 'operation': 'Update', 'subresource': 'status', 'time': '2026-09-08T08:27:36Z'}], 'name': 'http-onnx-2', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '74421', 'uid': '0d92eccb-d61c-45f5-8c17-d802b40b5fc6'}, 'spec': {'predictor': {'automountServiceAccountToken': False, 'model': {'modelFormat': {'name': 'openvino_ir'}, 'name': '', 'resources': {}, 'runtime': 'http-mnist-runtime', 'storage': {'key': 'ci-bucket-secret', 'path': '/test-dir/'}}, 'serviceAccountName': 'models-bucket-sa-2'}}, 'status': {'address': {'url': 'https://http-onnx-2-predictor.test-kserve-raw-token-authentication.svc.cluster.local:8443'}, 'components': {'predictor': {'url': 'http://http-onnx-2-predictor-test-kserve-raw-token-authentication.example.com'}}, 'conditions': [{'lastTransitionTime': '2026-09-08T08:27:26Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-09-08T08:27:36Z', 'message': 'ReplicaSet "http-onnx-2-predictor-5cc5b4cd46" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-09-08T08:27:36Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-09-08T08:27:26Z', 'severity': 'Info', 'status': 'False', 'type': 'Stopped'}], 'deploymentMode': 'Standard', 'modelStatus': {'copies': {'failedCopies': 0, 'totalCopies': 1}, 'states': {'activeModelState': 'Loaded', 'targetModelState': 'Loaded'}, 'transitionStatus': 'UpToDate'}, 'observedGeneration': 1, 'servingRuntimeName': 'http-mnist-runtime', 'url': 'https://http-onnx-2-test-kserve-raw-token-authentication.apps.455f64e87dadd17c64d9.prod.konflux-ocp-ci.dev'}} [ocp_resources InferenceService] 2026-09-08T08:27:37.847553Z [info ] Wait until InferenceService http-onnx-2 is deleted [ocp_resources InferenceService] 2026-09-08T08:27:38.884082Z [success ] Function: lambda: self.exists succeeded after 1.0169105529785156 [0:00:01.016911]. [timeout_sampler] 2026-09-08T08:27:38.884272Z [info ] Delete ServiceAccount models-bucket-sa-2 [ocp_resources ServiceAccount] 2026-09-08T08:27:38.919947Z [info ] Deleting {'kind': 'ServiceAccount', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-sa-2', 'namespace': 'test-kserve-raw-token-authentication', 'uid': 'ad4144a6-c992-4361-8bf9-e23d38f6ed8d', 'resourceVersion': '74069', 'creationTimestamp': '2026-09-08T08:27:25Z', 'annotations': {'openshift.io/internal-registry-pull-secret-ref': 'models-bucket-sa-2-dockercfg-fbp5x'}, 'managedFields': [{'manager': 'openshift.io/image-registry-pull-secrets_service-account-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-09-08T08:27:25Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:imagePullSecrets': {}, 'f:metadata': {'f:annotations': {'f:openshift.io/internal-registry-pull-secret-ref': {}}}, 'f:secrets': {'k:{"name":"models-bucket-sa-2-dockercfg-fbp5x"}': {}}}}, {'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-09-08T08:27:25Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:secrets': {'.': {}, 'k:{"name":"models-bucket-secret"}': {}}}}]}, 'secrets': [{'name': 'models-bucket-secret'}, {'name': 'models-bucket-sa-2-dockercfg-fbp5x'}], 'imagePullSecrets': [{'name': 'models-bucket-sa-2-dockercfg-fbp5x'}]} [ocp_resources ServiceAccount] 2026-09-08T08:27:38.937448Z [info ] Wait until ServiceAccount models-bucket-sa-2 is deleted [ocp_resources ServiceAccount] 2026-09-08T08:27:38.954740Z [success ] Function: lambda: self.exists succeeded after 2.0503997802734375e-05 [0:00:00.000021]. [timeout_sampler] 2026-09-08T08:27:38.954918Z [info ] Delete RoleBinding http-models-bucket-sa-view [ocp_resources RoleBinding] 2026-09-08T08:27:38.988015Z [info ] Deleting {'kind': 'RoleBinding', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'metadata': {'name': 'http-models-bucket-sa-view', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '71e7939b-2ac2-4375-8ce0-70a203128efc', 'resourceVersion': '73625', 'creationTimestamp': '2026-09-08T08:27:10Z', 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'time': '2026-09-08T08:27:10Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:roleRef': {}, 'f:subjects': {}}}]}, 'subjects': [{'kind': 'ServiceAccount', 'name': 'models-bucket-sa'}], 'roleRef': {'apiGroup': 'rbac.authorization.k8s.io', 'kind': 'Role', 'name': 'http-onnx-view'}} [ocp_resources RoleBinding] 2026-09-08T08:27:39.005573Z [info ] Wait until RoleBinding http-models-bucket-sa-view is deleted [ocp_resources RoleBinding] 2026-09-08T08:27:39.022806Z [success ] Function: lambda: self.exists succeeded after 1.52587890625e-05 [0:00:00.000015]. [timeout_sampler] 2026-09-08T08:27:39.022984Z [info ] Delete Role http-onnx-view  [ocp_resources Role] 2026-09-08T08:27:39.055991Z [info ] Deleting {'kind': 'Role', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'metadata': {'name': 'http-onnx-view', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '0c3b60a5-87c8-489a-8298-ba2ad413099e', 'resourceVersion': '73624', 'creationTimestamp': '2026-09-08T08:27:10Z', 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'time': '2026-09-08T08:27:10Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:rules': {}}}]}, 'rules': [{'verbs': ['get'], 'apiGroups': ['serving.kserve.io'], 'resources': ['inferenceservices'], 'resourceNames': ['http-onnx']}]} [ocp_resources Role] 2026-09-08T08:27:39.073313Z [info ] Wait until Role http-onnx-view is deleted [ocp_resources Role] 2026-09-08T08:27:39.091152Z [success ] Function: lambda: self.exists succeeded after 1.7642974853515625e-05 [0:00:00.000018]. [timeout_sampler] 2026-09-08T08:27:39.091342Z [info ] Delete InferenceService http-onnx [ocp_resources InferenceService] 2026-09-08T08:27:39.128991Z [info ] Deleting {'apiVersion': 'serving.kserve.io/v1beta1', 'kind': 'InferenceService', 'metadata': {'annotations': {'modelFormat': 'openvino_ir', 'security.opendatahub.io/enable-auth': 'true', 'serving.kserve.io/deploymentMode': 'Standard'}, 'creationTimestamp': '2026-09-08T08:26:28Z', 'finalizers': ['inferenceservice.finalizers', 'odh.inferenceservice.finalizers'], 'generation': 1, 'labels': {'networking.kserve.io/visibility': 'exposed'}, 'managedFields': [{'apiVersion': 'serving.kserve.io/v1beta1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:finalizers': {'.': {}, 'v:"inferenceservice.finalizers"': {}, 'v:"odh.inferenceservice.finalizers"': {}}}}, 'manager': 'manager', 'operation': 'Update', 'time': '2026-09-08T08:26:29Z'}, {'apiVersion': 'serving.kserve.io/v1beta1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'.': {}, 'f:security.opendatahub.io/enable-auth': {}, 'f:serving.kserve.io/deploymentMode': {}}, 'f:labels': {'.': {}, 'f:networking.kserve.io/visibility': {}}}, 'f:spec': {'.': {}, 'f:predictor': {'.': {}, 'f:model': {'.': {}, 'f:modelFormat': {'.': {}, 'f:name': {}}, 'f:runtime': {}, 'f:storage': {'.': {}, 'f:key': {}, 'f:path': {}}}, 'f:serviceAccountName': {}}}}, 'manager': 'OpenAPI-Generator', 'operation': 'Update', 'time': '2026-09-08T08:27:16Z'}, {'apiVersion': 'serving.kserve.io/v1beta1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:status': {'.': {}, 'f:address': {'.': {}, 'f:url': {}}, 'f:components': {'.': {}, 'f:predictor': {'.': {}, 'f:url': {}}}, 'f:conditions': {}, 'f:deploymentMode': {}, 'f:modelStatus': {'.': {}, 'f:copies': {'.': {}, 'f:failedCopies': {}, 'f:totalCopies': {}}, 'f:states': {'.': {}, 'f:activeModelState': {}, 'f:targetModelState': {}}, 'f:transitionStatus': {}}, 'f:observedGeneration': {}, 'f:servingRuntimeName': {}, 'f:url': {}}}, 'manager': 'manager', 'operation': 'Update', 'subresource': 'status', 'time': '2026-09-08T08:27:17Z'}], 'name': 'http-onnx', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '73864', 'uid': '03cf1c33-9154-4d98-9b50-a4a23c924a67'}, 'spec': {'predictor': {'automountServiceAccountToken': False, 'model': {'modelFormat': {'name': 'openvino_ir'}, 'name': '', 'resources': {}, 'runtime': 'http-mnist-runtime', 'storage': {'key': 'ci-bucket-secret', 'path': '/test-dir/'}}, 'serviceAccountName': 'models-bucket-sa'}}, 'status': {'address': {'url': 'https://http-onnx-predictor.test-kserve-raw-token-authentication.svc.cluster.local:8443'}, 'components': {'predictor': {'url': 'http://http-onnx-predictor-test-kserve-raw-token-authentication.example.com'}}, 'conditions': [{'lastTransitionTime': '2026-09-08T08:26:29Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-09-08T08:27:17Z', 'message': 'ReplicaSet "http-onnx-predictor-7675c9bfcd" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-09-08T08:27:06Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-09-08T08:26:29Z', 'severity': 'Info', 'status': 'False', 'type': 'Stopped'}], 'deploymentMode': 'Standard', 'modelStatus': {'copies': {'failedCopies': 0, 'totalCopies': 1}, 'states': {'activeModelState': 'Loaded', 'targetModelState': 'Loaded'}, 'transitionStatus': 'UpToDate'}, 'observedGeneration': 3, 'servingRuntimeName': 'http-mnist-runtime', 'url': 'https://http-onnx-test-kserve-raw-token-authentication.apps.455f64e87dadd17c64d9.prod.konflux-ocp-ci.dev'}} [ocp_resources InferenceService] 2026-09-08T08:27:39.149405Z [info ] Wait until InferenceService http-onnx is deleted [ocp_resources InferenceService] 2026-09-08T08:27:40.184166Z [success ] Function: lambda: self.exists succeeded after 1.0163733959197998 [0:00:01.016373]. [timeout_sampler] 2026-09-08T08:27:40.184323Z [info ] Delete ServiceAccount models-bucket-sa [ocp_resources ServiceAccount] 2026-09-08T08:27:40.218797Z [info ] Deleting {'kind': 'ServiceAccount', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-sa', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '0f111bdb-9264-41f4-9fac-b122965c4b9b', 'resourceVersion': '72538', 'creationTimestamp': '2026-09-08T08:26:28Z', 'annotations': {'openshift.io/internal-registry-pull-secret-ref': 'models-bucket-sa-dockercfg-d9k6v'}, 'managedFields': [{'manager': 'openshift.io/image-registry-pull-secrets_service-account-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-09-08T08:26:28Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:imagePullSecrets': {}, 'f:metadata': {'f:annotations': {'f:openshift.io/internal-registry-pull-secret-ref': {}}}, 'f:secrets': {'k:{"name":"models-bucket-sa-dockercfg-d9k6v"}': {}}}}, {'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-09-08T08:26:28Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:secrets': {'.': {}, 'k:{"name":"models-bucket-secret"}': {}}}}]}, 'secrets': [{'name': 'models-bucket-secret'}, {'name': 'models-bucket-sa-dockercfg-d9k6v'}], 'imagePullSecrets': [{'name': 'models-bucket-sa-dockercfg-d9k6v'}]} [ocp_resources ServiceAccount] 2026-09-08T08:27:40.238681Z [info ] Wait until ServiceAccount models-bucket-sa is deleted [ocp_resources ServiceAccount] 2026-09-08T08:27:40.255964Z [success ] Function: lambda: self.exists succeeded after 3.933906555175781e-05 [0:00:00.000039]. [timeout_sampler] 2026-09-08T08:27:40.256142Z [info ] Delete Secret models-bucket-secret [ocp_resources Secret] 2026-09-08T08:27:40.297154Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-secret', 'namespace': 'test-kserve-raw-token-authentication', 'uid': 'b289ddca-f72e-413f-93ae-1a4e006053f8', 'resourceVersion': '72534', 'creationTimestamp': '2026-09-08T08:26:28Z', 'labels': {'opendatahub.io/dashboard': 'true', 'opendatahub.io/managed': 'true'}, 'annotations': {'opendatahub.io/connection-type': 's3', 'serving.kserve.io/s3-endpoint': 's3.us-east-2.amazonaws.com/', 'serving.kserve.io/s3-region': 'us-east-2', 'serving.kserve.io/s3-useanoncredential': 'false', 'serving.kserve.io/s3-usehttps': '1', 'serving.kserve.io/s3-verifyssl': '0'}, 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-09-08T08:26:28Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:data': {'.': {}, 'f:AWS_ACCESS_KEY_ID': {}, 'f:AWS_DEFAULT_REGION': {}, 'f:AWS_S3_BUCKET': {}, 'f:AWS_S3_ENDPOINT': {}, 'f:AWS_SECRET_ACCESS_KEY': {}}, 'f:metadata': {'f:annotations': {'.': {}, 'f:opendatahub.io/connection-type': {}, 'f:serving.kserve.io/s3-endpoint': {}, 'f:serving.kserve.io/s3-region': {}, 'f:serving.kserve.io/s3-useanoncredential': {}, 'f:serving.kserve.io/s3-usehttps': {}, 'f:serving.kserve.io/s3-verifyssl': {}}, 'f:labels': {'.': {}, 'f:opendatahub.io/dashboard': {}, 'f:opendatahub.io/managed': {}}}, 'f:type': {}}}]}, 'data': '*******', 'type': 'Opaque'} [ocp_resources Secret] 2026-09-08T08:27:40.330072Z [info ] Wait until Secret models-bucket-secret is deleted [ocp_resources Secret] 2026-09-08T08:27:40.347099Z [success ] Function: lambda: self.exists succeeded after 2.7418136596679688e-05 [0:00:00.000027]. [timeout_sampler] 2026-09-08T08:27:40.347461Z [info ] Delete Secret ci-bucket-secret [ocp_resources Secret] 2026-09-08T08:27:40.389773Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'ci-bucket-secret', 'namespace': 'test-kserve-raw-token-authentication', 'uid': 'cf12987d-bd77-4a45-883b-5f07c4ee7f19', 'resourceVersion': '72528', 'creationTimestamp': '2026-09-08T08:26:28Z', 'labels': {'opendatahub.io/dashboard': 'true', 'opendatahub.io/managed': 'true'}, 'annotations': {'opendatahub.io/connection-type': 's3', 'serving.kserve.io/s3-endpoint': 's3.us-east-1.amazonaws.com/', 'serving.kserve.io/s3-region': 'us-east-1', 'serving.kserve.io/s3-useanoncredential': 'false', 'serving.kserve.io/s3-usehttps': '1', 'serving.kserve.io/s3-verifyssl': '0'}, 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-09-08T08:26:28Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:data': {'.': {}, 'f:AWS_ACCESS_KEY_ID': {}, 'f:AWS_DEFAULT_REGION': {}, 'f:AWS_S3_BUCKET': {}, 'f:AWS_S3_ENDPOINT': {}, 'f:AWS_SECRET_ACCESS_KEY': {}}, 'f:metadata': {'f:annotations': {'.': {}, 'f:opendatahub.io/connection-type': {}, 'f:serving.kserve.io/s3-endpoint': {}, 'f:serving.kserve.io/s3-region': {}, 'f:serving.kserve.io/s3-useanoncredential': {}, 'f:serving.kserve.io/s3-usehttps': {}, 'f:serving.kserve.io/s3-verifyssl': {}}, 'f:labels': {'.': {}, 'f:opendatahub.io/dashboard': {}, 'f:opendatahub.io/managed': {}}}, 'f:type': {}}}]}, 'data': '*******', 'type': 'Opaque'} [ocp_resources Secret] 2026-09-08T08:27:40.424773Z [info ] Wait until Secret ci-bucket-secret is deleted [ocp_resources Secret] 2026-09-08T08:27:40.442520Z [success ] Function: lambda: self.exists succeeded after 1.6689300537109375e-05 [0:00:00.000017]. [timeout_sampler] 2026-09-08T08:27:40.442827Z [info ] Delete ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-09-08T08:27:40.479423Z [info ] Deleting {'apiVersion': 'serving.kserve.io/v1alpha1', 'kind': 'ServingRuntime', 'metadata': {'annotations': {'opendatahub.io/recommended-accelerators': '["nvidia.com/gpu"]', 'opendatahub.io/runtime-version': 'v2026.1.0', 'openshift.io/display-name': 'OpenVINO Model Server'}, 'creationTimestamp': '2026-09-08T08:26:27Z', 'generation': 1, 'labels': {'opendatahub.io/dashboard': 'true'}, 'managedFields': [{'apiVersion': 'serving.kserve.io/v1alpha1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'.': {}, 'f:opendatahub.io/recommended-accelerators': {}, 'f:opendatahub.io/runtime-version': {}, 'f:openshift.io/display-name': {}}, 'f:labels': {'.': {}, 'f:opendatahub.io/dashboard': {}}}, 'f:spec': {'.': {}, 'f:annotations': {'.': {}, 'f:opendatahub.io/kserve-runtime': {}, 'f:prometheus.io/path': {}, 'f:prometheus.io/port': {}}, 'f:containers': {}, 'f:multiModel': {}, 'f:protocolVersions': {}, 'f:supportedModelFormats': {}}}, 'manager': 'OpenAPI-Generator', 'operation': 'Update', 'time': '2026-09-08T08:26:27Z'}], 'name': 'http-mnist-runtime', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '72520', 'uid': 'f3f9fc06-fcf6-45d2-9d90-6ebac79323e5'}, 'spec': {'annotations': {'opendatahub.io/kserve-runtime': 'ovms', 'prometheus.io/path': '/metrics', 'prometheus.io/port': '8888'}, 'containers': [{'args': ['--model_name={{.Name}}', '--port=8001', '--rest_port=8888', '--model_path=/mnt/models', '--file_system_poll_wait_seconds=0', '--metrics_enable'], 'image': 'registry.redhat.io/rhoai/odh-openvino-model-server-rhel9@sha256:0086e5198e9f67af0cdeffa12d0a1a19b89ed34ed2d19be37f68cce2da5a8209', 'name': 'kserve-container', 'ports': [{'containerPort': 8888, 'protocol': 'TCP'}]}], 'multiModel': False, 'protocolVersions': ['v2', 'grpc-v2'], 'supportedModelFormats': [{'autoSelect': True, 'name': 'openvino_ir', 'version': 'opset13'}, {'name': 'onnx', 'version': '1'}, {'autoSelect': True, 'name': 'tensorflow', 'version': '1'}, {'autoSelect': True, 'name': 'tensorflow', 'version': '2'}, {'autoSelect': True, 'name': 'paddle', 'version': '2'}, {'autoSelect': True, 'name': 'pytorch', 'version': '2'}]}} [ocp_resources ServingRuntime] 2026-09-08T08:27:40.497665Z [info ] Wait until ServingRuntime http-mnist-runtime is deleted [ocp_resources ServingRuntime] 2026-09-08T08:27:40.514873Z [success ] Function: lambda: self.exists succeeded after 3.695487976074219e-05 [0:00:00.000037]. [timeout_sampler] 2026-09-08T08:27:40.580062Z [info ] Delete Project test-kserve-raw-token-authentication [ocp_resources Project] 2026-09-08T08:27:40.619945Z [info ] Deleting {'kind': 'Project', 'apiVersion': 'project.openshift.io/v1', 'metadata': {'name': 'test-kserve-raw-token-authentication', 'uid': 'b629c619-11f5-4d2e-8951-1e69fa356694', 'resourceVersion': '72498', 'creationTimestamp': '2026-09-08T08:26:27Z', 'labels': {'kubernetes.io/metadata.name': 'test-kserve-raw-token-authentication', 'pod-security.kubernetes.io/audit': 'restricted', 'pod-security.kubernetes.io/audit-version': 'latest', 'pod-security.kubernetes.io/warn': 'restricted', 'pod-security.kubernetes.io/warn-version': 'latest'}, 'annotations': {'openshift.io/description': '', 'openshift.io/display-name': '', 'openshift.io/requester': 'system:serviceaccount:kube-system:olminstall-cluster-admin', 'openshift.io/sa.scc.mcs': 's0:c30,c25', 'openshift.io/sa.scc.supplemental-groups': '1000920000/10000', 'openshift.io/sa.scc.uid-range': '1000920000/10000', 'security.openshift.io/MinimallySufficientPodSecurityStandard': 'restricted'}, 'managedFields': [{'manager': 'cluster-policy-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-09-08T08:26:27Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'f:openshift.io/sa.scc.mcs': {}, 'f:openshift.io/sa.scc.supplemental-groups': {}, 'f:openshift.io/sa.scc.uid-range': {}}}}}, {'manager': 'pod-security-admission-label-synchronization-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-09-08T08:26:27Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'f:security.openshift.io/MinimallySufficientPodSecurityStandard': {}}, 'f:labels': {'f:pod-security.kubernetes.io/audit': {}, 'f:pod-security.kubernetes.io/audit-version': {}, 'f:pod-security.kubernetes.io/warn': {}, 'f:pod-security.kubernetes.io/warn-version': {}}}}}, {'manager': 'openshift-apiserver', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-09-08T08:26:27Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'.': {}, 'f:openshift.io/description': {}, 'f:openshift.io/display-name': {}, 'f:openshift.io/requester': {}}, 'f:labels': {'.': {}, 'f:kubernetes.io/metadata.name': {}}}}}, {'manager': 'openshift-controller-manager', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-09-08T08:26:27Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {'f:finalizers': {}}}, 'subresource': 'finalize'}]}, 'spec': {'finalizers': ['kubernetes']}, 'status': {'phase': 'Active'}} [ocp_resources Project] 2026-09-08T08:27:40.659927Z [info ] Wait until Project test-kserve-raw-token-authentication is deleted [ocp_resources Project] _ 4 of 11 completed, 4 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/model_serving/model_server/kserve/authentication/test_non_admin_users.py::TestRawUnprivilegedUser::test_non_admin_deploy_raw_and_query_model[unprivileged_model_namespace0-unprivileged_s3_ovms_raw_inference_service0] 2026-09-08T08:27:47.826186Z [success ] Function: lambda: self.exists succeeded after 7.142614364624023 [0:00:07.142614]. [timeout_sampler]  - test_non_admin_deploy_raw_and_query_model[unprivileged_model_namespace0-unprivileged_s3_ovms_raw_inference_service0] - -------------------------------------------------------- SETUP -------------------------------------------------------- 2026-09-08T08:27:47.826690Z [info ] Executing class fixture: unprivileged_model_namespace [conftest] 2026-09-08T08:27:47.826839Z [info ] kind: ProjectRequest api version: project.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:47.826952Z [info ] Create ProjectRequest test-non-admin-raw [ocp_resources ProjectRequest] 2026-09-08T08:27:47.827084Z [info ] Posting {'apiVersion': 'project.openshift.io/v1', 'kind': 'ProjectRequest', 'metadata': {'name': 'test-non-admin-raw'}} [ocp_resources ProjectRequest] 2026-09-08T08:27:47.926110Z [info ] kind: Project api version: project.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:47.926370Z [info ] Wait for Project test-non-admin-raw status to be Active [ocp_resources Project] 2026-09-08T08:27:47.949311Z [info ] Status of Project test-non-admin-raw is Active [ocp_resources Project] 2026-09-08T08:27:47.949472Z [success ] Function: lambda: self.exists succeeded after 1.811981201171875e-05 [0:00:00.000018]. [timeout_sampler] 2026-09-08T08:27:47.949594Z [info ] Executing class fixture: http_s3_ovms_serving_runtime [conftest] 2026-09-08T08:27:47.949704Z [info ] kind: Template api version: template.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:27:47.987728Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-09-08T08:27:47.987896Z [info ] Create ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-09-08T08:27:47.988058Z [info ] Posting {'apiVersion': 'serving.kserve.io/v1alpha1', 'kind': 'ServingRuntime', 'metadata': {'annotations': {'opendatahub.io/recommended-accelerators': '["nvidia.com/gpu"]', 'opendatahub.io/runtime-version': 'v2026.1.0', 'openshift.io/display-name': 'OpenVINO Model Server'}, 'labels': {'opendatahub.io/dashboard': 'true'}, 'name': 'http-mnist-runtime', 'namespace': 'test-non-admin-raw'}, 'spec': {'annotations': {'opendatahub.io/kserve-runtime': 'ovms', 'prometheus.io/path': '/metrics', 'prometheus.io/port': '8888'}, 'containers': [{'args': ['--model_name={{.Name}}', '--port=8001', '--rest_port=8888', '--model_path=/mnt/models', '--file_system_poll_wait_seconds=0', '--metrics_enable'], 'image': 'registry.redhat.io/rhoai/odh-openvino-model-server-rhel9@sha256:0086e5198e9f67af0cdeffa12d0a1a19b89ed34ed2d19be37f68cce2da5a8209', 'name': 'kserve-container', 'ports': [{'containerPort': 8888, 'protocol': 'TCP'}]}], 'multiModel': False, 'protocolVersions': ['v2', 'grpc-v2'], 'supportedModelFormats': [{'autoSelect': True, 'name': 'openvino_ir', 'version': 'opset13'}, {'name': 'onnx', 'version': '1'}, {'autoSelect': True, 'name': 'tensorflow', 'version': '1'}, {'autoSelect': True, 'name': 'tensorflow', 'version': '2'}, {'autoSelect': True, 'name': 'paddle', 'version': '2'}, {'autoSelect': True, 'name': 'pytorch', 'version': '2'}]}} [ocp_resources ServingRuntime] 2026-09-08T08:27:48.044116Z [info ] Executing class fixture: unprivileged_ci_endpoint_s3_secret [conftest] 2026-09-08T08:27:48.063040Z [info ] Create Secret ci-bucket-unprivileged [ocp_resources Secret] 2026-09-08T08:27:48.063338Z [info ] Posting {'apiVersion': 'v1', 'kind': 'Secret', 'metadata': {'name': 'ci-bucket-unprivileged', 'labels': {'opendatahub.io/managed': 'true', 'opendatahub.io/dashboard': 'true'}, 'annotations': {'opendatahub.io/connection-type': 's3', 'serving.kserve.io/s3-endpoint': 's3.us-east-1.amazonaws.com/', 'serving.kserve.io/s3-region': 'us-east-1', 'serving.kserve.io/s3-useanoncredential': 'false', 'serving.kserve.io/s3-verifyssl': '0', 'serving.kserve.io/s3-usehttps': '1'}, 'namespace': 'test-non-admin-raw'}, 'data': '*******'} [ocp_resources Secret] 2026-09-08T08:27:48.115026Z [info ] Wait until Secret ci-bucket-unprivileged is created [ocp_resources Secret] 2026-09-08T08:27:48.134131Z [success ] Function: lambda: self.exists succeeded after 5.841255187988281e-05 [0:00:00.000058]. [timeout_sampler] 2026-09-08T08:27:48.134408Z [info ] Executing class fixture: unprivileged_s3_ovms_raw_inference_service [conftest] 2026-09-08T08:27:48.151614Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-09-08T08:27:48.152076Z [info ] Create InferenceService http-onnx-raw [ocp_resources InferenceService] 2026-09-08T08:27:48.153048Z [info ] Posting {'apiVersion': 'serving.kserve.io/v1beta1', 'kind': 'InferenceService', 'metadata': {'name': 'http-onnx-raw', 'annotations': {'serving.kserve.io/deploymentMode': 'RawDeployment'}, 'namespace': 'test-non-admin-raw'}, 'spec': {'predictor': {'model': {'modelFormat': {'name': 'openvino_ir'}, 'version': None, 'runtime': 'http-mnist-runtime', 'storage': {'key': 'ci-bucket-unprivileged', 'path': '/test-dir/'}}}}} [ocp_resources InferenceService] 2026-09-08T08:27:48.283040Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-09-08T08:27:49.316822Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-09-08T08:27:49.366417Z [success ] Function: utilities.infra.wait_for_isvc_pods succeeded after 1.0338175296783447 [0:00:01.033818]. [timeout_sampler] 2026-09-08T08:27:49.382270Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-09-08T08:28:09.654332Z [success ] Function: utilities.infra.get_pods_by_isvc_label succeeded after 20.186536073684692 [0:00:20.186536]. [timeout_sampler] 2026-09-08T08:28:09.687975Z [success ] Function: ocp_resources.resource.get succeeded after 3.4332275390625e-05 [0:00:00.000034]. [timeout_sampler] 2026-09-08T08:28:09.687206Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-09-08T08:28:09.754539Z [success ] Function: lambda: deployment.instance succeeded after 2.5510787963867188e-05 [0:00:00.000026]. [timeout_sampler] 2026-09-08T08:28:09.754713Z [info ] Wait for Deployment http-onnx-raw-predictor to be deployed: True [ocp_resources Deployment] 2026-09-08T08:28:09.770808Z [success ] Function: lambda: self.exists succeeded after 1.71661376953125e-05 [0:00:00.000017]. [timeout_sampler] 2026-09-08T08:28:09.787183Z [success ] Function: lambda: self.instance succeeded after 1.3828277587890625e-05 [0:00:00.000014]. [timeout_sampler] 2026-09-08T08:28:09.787563Z [info ] Wait for InferenceService/http-onnx-raw's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-09-08T08:28:09.787838Z [info ] Wait until InferenceService http-onnx-raw is created [ocp_resources InferenceService] 2026-09-08T08:28:09.804614Z [success ] Function: lambda: self.exists succeeded after 1.5735626220703125e-05 [0:00:00.000016]. [timeout_sampler] 2026-09-08T08:28:09.821120Z [success ] Function: lambda: self.instance succeeded after 2.2172927856445312e-05 [0:00:00.000022]. [timeout_sampler] 2026-09-08T08:28:09.854843Z [success ] Function: utilities.inference_utils._is_model_loaded succeeded after 3.123283386230469e-05 [0:00:00.000031]. [timeout_sampler] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-09-08T08:28:09.904451Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-09-08T08:28:09.938124Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-09-08T08:28:09.945151Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:28:10.034969Z [info ] Infrastructure cluster resource tags: [{'key': 'expirationDate', 'value': '2026-09-08T11:33+00:00'}, {'key': 'prow.k8s.io/job', 'value': 'ephemeralcluster-ci-org-repo-branch-cluster-provisioning'}, {'key': 'prow.k8s.io/build-id', 'value': '2097225597045444608'}] [utilities.infra] name=utilities.infra 2026-09-08T08:28:10.036265Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:28:10.052971Z [info ] Using router certificate secret: default-ingress-cert [utilities.certificates_utils] name=utilities.certificates_utils PASSED2026-09-08T08:28:10.401147Z [info ] Inference output: HTTP/1.1 200 OK content-length: 418 content-type: application/json; charset=utf-8 access-control-allow-headers: * access-control-allow-methods: * access-control-allow-origin: * { "model_name": "http-onnx-raw", "model_version": "1", "outputs": [{ "name": "Plus214_Output_0", "shape": [1, 10], "datatype": "FP32", "data": [-8.233053207397461, -7.749701976776123, -3.4236819744110107, 12.363025665283203, -12.07910442352295, 17.266592025756836, -10.570975303649902, 0.7130780220031738, 3.3217153549194336, 1.3621225357055664] }] } [utilities.inference_utils] name=utilities.inference_utils 2026-09-08T08:28:10.403466Z [success ] Function: utilities.inference_utils._execute_inference succeeded after 1.9550323486328125e-05 [0:00:00.000020]. [timeout_sampler]  TEST: TestRawUnprivilegedUser.test_non_admin_deploy_raw_and_query_model[unprivileged_model_namespace0-unprivileged_s3_ovms_raw_inference_service0] STATUS: PASSED ------------------------------------------------------- TEARDOWN ------------------------------------------------------- 2026-09-08T08:28:10.403825Z [info ] Delete InferenceService http-onnx-raw [ocp_resources InferenceService] 2026-09-08T08:28:10.440184Z [info ] Deleting {'apiVersion': 'serving.kserve.io/v1beta1', 'kind': 'InferenceService', 'metadata': {'annotations': {'modelFormat': 'openvino_ir', 'serving.kserve.io/deploymentMode': 'Standard'}, 'creationTimestamp': '2026-09-08T08:27:48Z', 'finalizers': ['inferenceservice.finalizers', 'odh.inferenceservice.finalizers'], 'generation': 1, 'managedFields': [{'apiVersion': 'serving.kserve.io/v1beta1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'.': {}, 'f:serving.kserve.io/deploymentMode': {}}}, 'f:spec': {'.': {}, 'f:predictor': {'.': {}, 'f:model': {'.': {}, 'f:modelFormat': {'.': {}, 'f:name': {}}, 'f:runtime': {}, 'f:storage': {'.': {}, 'f:key': {}, 'f:path': {}}}}}}, 'manager': 'OpenAPI-Generator', 'operation': 'Update', 'time': '2026-09-08T08:27:48Z'}, {'apiVersion': 'serving.kserve.io/v1beta1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:finalizers': {'.': {}, 'v:"inferenceservice.finalizers"': {}, 'v:"odh.inferenceservice.finalizers"': {}}}}, 'manager': 'manager', 'operation': 'Update', 'time': '2026-09-08T08:27:48Z'}, {'apiVersion': 'serving.kserve.io/v1beta1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:status': {'.': {}, 'f:address': {'.': {}, 'f:url': {}}, 'f:components': {'.': {}, 'f:predictor': {'.': {}, 'f:url': {}}}, 'f:conditions': {}, 'f:deploymentMode': {}, 'f:modelStatus': {'.': {}, 'f:copies': {'.': {}, 'f:failedCopies': {}, 'f:totalCopies': {}}, 'f:states': {'.': {}, 'f:activeModelState': {}, 'f:targetModelState': {}}, 'f:transitionStatus': {}}, 'f:observedGeneration': {}, 'f:servingRuntimeName': {}, 'f:url': {}}}, 'manager': 'manager', 'operation': 'Update', 'subresource': 'status', 'time': '2026-09-08T08:28:00Z'}], 'name': 'http-onnx-raw', 'namespace': 'test-non-admin-raw', 'resourceVersion': '75294', 'uid': '569de617-06f3-40c3-842f-6d97e656bc6c'}, 'spec': {'predictor': {'automountServiceAccountToken': False, 'model': {'modelFormat': {'name': 'openvino_ir'}, 'name': '', 'resources': {}, 'runtime': 'http-mnist-runtime', 'storage': {'key': 'ci-bucket-unprivileged', 'path': '/test-dir/'}}}}, 'status': {'address': {'url': 'http://http-onnx-raw-predictor.test-non-admin-raw.svc.cluster.local:8888'}, 'components': {'predictor': {'url': 'http://http-onnx-raw-predictor-test-non-admin-raw.example.com'}}, 'conditions': [{'lastTransitionTime': '2026-09-08T08:27:48Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-09-08T08:28:00Z', 'message': 'ReplicaSet "http-onnx-raw-predictor-5cf8fb7f67" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-09-08T08:28:00Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-09-08T08:27:48Z', 'severity': 'Info', 'status': 'False', 'type': 'Stopped'}], 'deploymentMode': 'Standard', 'modelStatus': {'copies': {'failedCopies': 0, 'totalCopies': 1}, 'states': {'activeModelState': 'Loaded', 'targetModelState': 'Loaded'}, 'transitionStatus': 'UpToDate'}, 'observedGeneration': 1, 'servingRuntimeName': 'http-mnist-runtime', 'url': 'http://http-onnx-raw-predictor.test-non-admin-raw.svc.cluster.local'}} [ocp_resources InferenceService] 2026-09-08T08:28:10.461425Z [info ] Wait until InferenceService http-onnx-raw is deleted [ocp_resources InferenceService] 2026-09-08T08:28:11.497961Z [success ] Function: lambda: self.exists succeeded after 1.018648624420166 [0:00:01.018649]. [timeout_sampler] 2026-09-08T08:28:11.498169Z [info ] Delete Secret ci-bucket-unprivileged [ocp_resources Secret] 2026-09-08T08:28:11.538263Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'ci-bucket-unprivileged', 'namespace': 'test-non-admin-raw', 'uid': '8aafb506-dda3-4cdf-9bc4-3ec2c5d47c88', 'resourceVersion': '74919', 'creationTimestamp': '2026-09-08T08:27:48Z', 'labels': {'opendatahub.io/dashboard': 'true', 'opendatahub.io/managed': 'true'}, 'annotations': {'opendatahub.io/connection-type': 's3', 'serving.kserve.io/s3-endpoint': 's3.us-east-1.amazonaws.com/', 'serving.kserve.io/s3-region': 'us-east-1', 'serving.kserve.io/s3-useanoncredential': 'false', 'serving.kserve.io/s3-usehttps': '1', 'serving.kserve.io/s3-verifyssl': '0'}, 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-09-08T08:27:48Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:data': {'.': {}, 'f:AWS_ACCESS_KEY_ID': {}, 'f:AWS_DEFAULT_REGION': {}, 'f:AWS_S3_BUCKET': {}, 'f:AWS_S3_ENDPOINT': {}, 'f:AWS_SECRET_ACCESS_KEY': {}}, 'f:metadata': {'f:annotations': {'.': {}, 'f:opendatahub.io/connection-type': {}, 'f:serving.kserve.io/s3-endpoint': {}, 'f:serving.kserve.io/s3-region': {}, 'f:serving.kserve.io/s3-useanoncredential': {}, 'f:serving.kserve.io/s3-usehttps': {}, 'f:serving.kserve.io/s3-verifyssl': {}}, 'f:labels': {'.': {}, 'f:opendatahub.io/dashboard': {}, 'f:opendatahub.io/managed': {}}}, 'f:type': {}}}]}, 'data': '*******', 'type': 'Opaque'} [ocp_resources Secret] 2026-09-08T08:28:11.572757Z [info ] Wait until Secret ci-bucket-unprivileged is deleted [ocp_resources Secret] 2026-09-08T08:28:11.590019Z [success ] Function: lambda: self.exists succeeded after 3.981590270996094e-05 [0:00:00.000040]. [timeout_sampler] 2026-09-08T08:28:11.590224Z [info ] Delete ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-09-08T08:28:11.624058Z [info ] Deleting {'apiVersion': 'serving.kserve.io/v1alpha1', 'kind': 'ServingRuntime', 'metadata': {'annotations': {'opendatahub.io/recommended-accelerators': '["nvidia.com/gpu"]', 'opendatahub.io/runtime-version': 'v2026.1.0', 'openshift.io/display-name': 'OpenVINO Model Server'}, 'creationTimestamp': '2026-09-08T08:27:47Z', 'generation': 1, 'labels': {'opendatahub.io/dashboard': 'true'}, 'managedFields': [{'apiVersion': 'serving.kserve.io/v1alpha1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'.': {}, 'f:opendatahub.io/recommended-accelerators': {}, 'f:opendatahub.io/runtime-version': {}, 'f:openshift.io/display-name': {}}, 'f:labels': {'.': {}, 'f:opendatahub.io/dashboard': {}}}, 'f:spec': {'.': {}, 'f:annotations': {'.': {}, 'f:opendatahub.io/kserve-runtime': {}, 'f:prometheus.io/path': {}, 'f:prometheus.io/port': {}}, 'f:containers': {}, 'f:multiModel': {}, 'f:protocolVersions': {}, 'f:supportedModelFormats': {}}}, 'manager': 'OpenAPI-Generator', 'operation': 'Update', 'time': '2026-09-08T08:27:47Z'}], 'name': 'http-mnist-runtime', 'namespace': 'test-non-admin-raw', 'resourceVersion': '74909', 'uid': 'e2688847-f528-4ccb-a815-a8e0500680bd'}, 'spec': {'annotations': {'opendatahub.io/kserve-runtime': 'ovms', 'prometheus.io/path': '/metrics', 'prometheus.io/port': '8888'}, 'containers': [{'args': ['--model_name={{.Name}}', '--port=8001', '--rest_port=8888', '--model_path=/mnt/models', '--file_system_poll_wait_seconds=0', '--metrics_enable'], 'image': 'registry.redhat.io/rhoai/odh-openvino-model-server-rhel9@sha256:0086e5198e9f67af0cdeffa12d0a1a19b89ed34ed2d19be37f68cce2da5a8209', 'name': 'kserve-container', 'ports': [{'containerPort': 8888, 'protocol': 'TCP'}]}], 'multiModel': False, 'protocolVersions': ['v2', 'grpc-v2'], 'supportedModelFormats': [{'autoSelect': True, 'name': 'openvino_ir', 'version': 'opset13'}, {'name': 'onnx', 'version': '1'}, {'autoSelect': True, 'name': 'tensorflow', 'version': '1'}, {'autoSelect': True, 'name': 'tensorflow', 'version': '2'}, {'autoSelect': True, 'name': 'paddle', 'version': '2'}, {'autoSelect': True, 'name': 'pytorch', 'version': '2'}]}} [ocp_resources ServingRuntime] 2026-09-08T08:28:11.642504Z [info ] Wait until ServingRuntime http-mnist-runtime is deleted [ocp_resources ServingRuntime] 2026-09-08T08:28:11.659968Z [success ] Function: lambda: self.exists succeeded after 3.5762786865234375e-05 [0:00:00.000036]. [timeout_sampler] 2026-09-08T08:28:11.725145Z [info ] Delete Project test-non-admin-raw [ocp_resources Project] 2026-09-08T08:28:11.765109Z [info ] Deleting {'kind': 'Project', 'apiVersion': 'project.openshift.io/v1', 'metadata': {'name': 'test-non-admin-raw', 'uid': 'b0eeb8aa-6a90-46d8-95a1-e5f884e4dce2', 'resourceVersion': '74901', 'creationTimestamp': '2026-09-08T08:27:47Z', 'labels': {'kubernetes.io/metadata.name': 'test-non-admin-raw', 'pod-security.kubernetes.io/audit': 'restricted', 'pod-security.kubernetes.io/audit-version': 'latest', 'pod-security.kubernetes.io/warn': 'restricted', 'pod-security.kubernetes.io/warn-version': 'latest'}, 'annotations': {'openshift.io/description': '', 'openshift.io/display-name': '', 'openshift.io/requester': 'system:serviceaccount:kube-system:olminstall-cluster-admin', 'openshift.io/sa.scc.mcs': 's0:c31,c5', 'openshift.io/sa.scc.supplemental-groups': '1000940000/10000', 'openshift.io/sa.scc.uid-range': '1000940000/10000', 'security.openshift.io/MinimallySufficientPodSecurityStandard': 'restricted'}, 'managedFields': [{'manager': 'cluster-policy-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-09-08T08:27:47Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'f:openshift.io/sa.scc.mcs': {}, 'f:openshift.io/sa.scc.supplemental-groups': {}, 'f:openshift.io/sa.scc.uid-range': {}}}}}, {'manager': 'pod-security-admission-label-synchronization-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-09-08T08:27:47Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'f:security.openshift.io/MinimallySufficientPodSecurityStandard': {}}, 'f:labels': {'f:pod-security.kubernetes.io/audit': {}, 'f:pod-security.kubernetes.io/audit-version': {}, 'f:pod-security.kubernetes.io/warn': {}, 'f:pod-security.kubernetes.io/warn-version': {}}}}}, {'manager': 'openshift-apiserver', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-09-08T08:27:47Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'.': {}, 'f:openshift.io/description': {}, 'f:openshift.io/display-name': {}, 'f:openshift.io/requester': {}}, 'f:labels': {'.': {}, 'f:kubernetes.io/metadata.name': {}}}}}, {'manager': 'openshift-controller-manager', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-09-08T08:27:47Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {'f:finalizers': {}}}, 'subresource': 'finalize'}]}, 'spec': {'finalizers': ['kubernetes']}, 'status': {'phase': 'Active'}} [ocp_resources Project] 2026-09-08T08:28:11.801303Z [info ] Wait until Project test-non-admin-raw is deleted [ocp_resources Project] _ 5 of 11 completed, 5 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/model_serving/model_server/kserve/model_cache/test_local_model_cache.py::TestModelCacheSmoke::test_local_model_cache_reaches_node_downloaded[test_namespace_cache_node_downloaded] 2026-09-08T08:28:17.961450Z [success ] Function: lambda: self.exists succeeded after 6.113173961639404 [0:00:06.113174]. [timeout_sampler]  ----------------- test_local_model_cache_reaches_node_downloaded[test_namespace_cache_node_downloaded] ----------------- -------------------------------------------------------- SETUP -------------------------------------------------------- 2026-09-08T08:28:17.963694Z [info ] Executing session fixture: model_cache_infra_ready [conftest] 2026-09-08T08:28:17.963842Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] 2026-09-08T08:28:18.167796Z [info ] ResourceEdit: Backing up old data [ocp_resources.resource] 2026-09-08T08:28:18.190021Z [info ] ResourceEdits: Updating data for resource DataScienceCluster default-dsc [ocp_resources.resource] 2026-09-08T08:28:18.190232Z [info ] Update DataScienceCluster default-dsc: {'spec': {'components': {'kserve': {'modelCache': {'managementState': 'Managed', 'cacheSize': '1Gi', 'nodeNames': ['ip-10-0-128-79.ec2.internal', 'ip-10-0-142-26.ec2.internal']}}}}, 'metadata': {'name': 'default-dsc'}} [ocp_resources DataScienceCluster] 2026-09-08T08:28:18.328341Z [info ] Wait for DSC default-dsc are Ready. [utilities.infra] name=utilities.infra 2026-09-08T08:28:18.329441Z [info ] Get DataScienceCluster default-dsc status [ocp_resources DataScienceCluster] 2026-09-08T08:28:18.348319Z [success ] Function: utilities.infra.wait_for_dsc_status_ready succeeded after 2.2649765014648438e-05 [0:00:00.000023]. [timeout_sampler] 2026-09-08T08:28:18.434431Z [warning ] Couldn't find LocalModelNodeGroup in serving.kserve.io api group [ocp_resources.resource] 2026-09-08T08:28:28.532756Z [info ] kind: LocalModelNodeGroup api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-09-08T08:28:28.549200Z [success ] Function: lambda: admin_client.LocalModelNodeGroup.LOCAL_MODEL_NODE_GROUP_NAME.exists succeeded after 10.086396217346191 [0:00:10.086396]. [timeout_sampler] 2026-09-08T08:28:28.566965Z [info ] kind: DaemonSet api version: apps/v1 [ocp_resources.resource] 2026-09-08T08:28:28.583920Z [success ] Function: lambda: agent.exists succeeded after 2.5272369384765625e-05 [0:00:00.000025]. [timeout_sampler] 2026-09-08T08:28:28.584219Z [info ] Executing class fixture: unprivileged_model_namespace [conftest] 2026-09-08T08:28:28.604701Z [info ] kind: ProjectRequest api version: project.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:28:28.604857Z [info ] Create ProjectRequest kserve-model-cache-smoke [ocp_resources ProjectRequest] 2026-09-08T08:28:28.604989Z [info ] Posting {'apiVersion': 'project.openshift.io/v1', 'kind': 'ProjectRequest', 'metadata': {'name': 'kserve-model-cache-smoke'}} [ocp_resources ProjectRequest] 2026-09-08T08:28:28.713396Z [info ] kind: Project api version: project.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:28:28.713560Z [info ] Wait for Project kserve-model-cache-smoke status to be Active [ocp_resources Project] 2026-09-08T08:28:28.735560Z [info ] Status of Project kserve-model-cache-smoke is Active [ocp_resources Project] 2026-09-08T08:28:28.735839Z [success ] Function: lambda: self.exists succeeded after 1.3828277587890625e-05 [0:00:00.000014]. [timeout_sampler] 2026-09-08T08:28:28.735959Z [info ] Executing class fixture: ovms_kserve_serving_runtime [conftest] 2026-09-08T08:28:28.756620Z [info ] kind: Template api version: template.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:28:28.808625Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-09-08T08:28:28.808790Z [info ] Create ServingRuntime onnx-runtime [ocp_resources ServingRuntime] 2026-09-08T08:28:28.808943Z [info ] Posting {'apiVersion': 'serving.kserve.io/v1alpha1', 'kind': 'ServingRuntime', 'metadata': {'annotations': {'opendatahub.io/recommended-accelerators': '["nvidia.com/gpu"]', 'opendatahub.io/runtime-version': 'v2026.1.0', 'openshift.io/display-name': 'OpenVINO Model Server'}, 'labels': {'opendatahub.io/dashboard': 'true'}, 'name': 'onnx-runtime', 'namespace': 'kserve-model-cache-smoke'}, 'spec': {'annotations': {'opendatahub.io/kserve-runtime': 'ovms', 'prometheus.io/path': '/metrics', 'prometheus.io/port': '8888'}, 'containers': [{'args': ['--model_name={{.Name}}', '--port=8001', '--rest_port=8888', '--model_path=/mnt/models', '--file_system_poll_wait_seconds=0', '--metrics_enable'], 'image': 'registry.redhat.io/rhoai/odh-openvino-model-server-rhel9@sha256:0086e5198e9f67af0cdeffa12d0a1a19b89ed34ed2d19be37f68cce2da5a8209', 'name': 'kserve-container', 'ports': [{'containerPort': 8888, 'protocol': 'TCP'}]}], 'multiModel': False, 'protocolVersions': ['v2', 'grpc-v2'], 'supportedModelFormats': [{'autoSelect': True, 'name': 'openvino_ir', 'version': 'opset13'}, {'name': 'onnx', 'version': 'opset13'}, {'autoSelect': True, 'name': 'tensorflow', 'version': '1'}, {'autoSelect': True, 'name': 'tensorflow', 'version': '2'}, {'autoSelect': True, 'name': 'paddle', 'version': '2'}, {'autoSelect': True, 'name': 'pytorch', 'version': '2'}]}} [ocp_resources ServingRuntime] 2026-09-08T08:28:28.863462Z [info ] Executing class fixture: model_cache_download_s3_secret [conftest] 2026-09-08T08:28:30.096984Z [info ] Create Secret model-cache-download-secret-qvqavrj2zy [ocp_resources Secret] 2026-09-08T08:28:30.097159Z [info ] Posting {'apiVersion': 'v1', 'kind': 'Secret', 'metadata': {'name': 'model-cache-download-secret-qvqavrj2zy', 'labels': {'opendatahub.io/managed': 'true', 'opendatahub.io/dashboard': 'true'}, 'annotations': {'opendatahub.io/connection-type': 's3', 'serving.kserve.io/s3-endpoint': 's3.us-east-1.amazonaws.com/', 'serving.kserve.io/s3-region': 'us-east-1', 'serving.kserve.io/s3-useanoncredential': 'false', 'serving.kserve.io/s3-verifyssl': '0', 'serving.kserve.io/s3-usehttps': '1'}, 'namespace': 'redhat-ods-applications'}, 'data': '*******'} [ocp_resources Secret] 2026-09-08T08:28:30.149681Z [info ] Wait until Secret model-cache-download-secret-qvqavrj2zy is created [ocp_resources Secret] 2026-09-08T08:28:30.167027Z [success ] Function: lambda: self.exists succeeded after 2.2172927856445312e-05 [0:00:00.000022]. [timeout_sampler] 2026-09-08T08:28:30.167203Z [info ] Executing class fixture: mnist_local_model_cache [conftest] 2026-09-08T08:28:30.167402Z [info ] kind: LocalModelNamespaceCache api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-09-08T08:28:30.167569Z [info ] Create LocalModelNamespaceCache mnist-onnx-gjutshvd7w [ocp_resources LocalModelNamespaceCache] 2026-09-08T08:28:30.167741Z [info ] Posting {'apiVersion': 'serving.kserve.io/v1alpha1', 'kind': 'LocalModelNamespaceCache', 'metadata': {'name': 'mnist-onnx-gjutshvd7w', 'namespace': 'kserve-model-cache-smoke'}, 'spec': {'modelSize': '100Mi', 'nodeGroups': ['workers'], 'sourceModelUri': 's3://ods-ci-s3/test-dir/', 'storage': {'key': 'model-cache-download-secret-qvqavrj2zy'}}} [ocp_resources LocalModelNamespaceCache] 2026-09-08T08:28:30.215091Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-09-08T08:36:22.478087Z [info ] Delete LocalModelNamespaceCache mnist-onnx-gjutshvd7w [ocp_resources LocalModelNamespaceCache] 2026-09-08T08:36:22.512220Z [info ] Deleting {'apiVersion': 'serving.kserve.io/v1alpha1', 'kind': 'LocalModelNamespaceCache', 'metadata': {'creationTimestamp': '2026-09-08T08:28:30Z', 'generation': 1, 'managedFields': [{'apiVersion': 'serving.kserve.io/v1alpha1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {'.': {}, 'f:modelSize': {}, 'f:nodeGroups': {}, 'f:sourceModelUri': {}, 'f:storage': {'.': {}, 'f:key': {}}}}, 'manager': 'OpenAPI-Generator', 'operation': 'Update', 'time': '2026-09-08T08:28:30Z'}], 'name': 'mnist-onnx-gjutshvd7w', 'namespace': 'kserve-model-cache-smoke', 'resourceVersion': '76449', 'uid': '74a643d2-f2fe-4768-bee3-ea0913b8378d'}, 'spec': {'modelSize': '100Mi', 'nodeGroups': ['workers'], 'sourceModelUri': 's3://ods-ci-s3/test-dir/', 'storage': {'key': 'model-cache-download-secret-qvqavrj2zy'}}} [ocp_resources LocalModelNamespaceCache] 2026-09-08T08:36:22.530466Z [info ] Wait until LocalModelNamespaceCache mnist-onnx-gjutshvd7w is deleted [ocp_resources LocalModelNamespaceCache] 2026-09-08T08:36:22.547687Z [success ] Function: lambda: self.exists succeeded after 4.839897155761719e-05 [0:00:00.000048]. [timeout_sampler] 2026-09-08T08:36:22.548010Z [error ] Function: lambda: cache._cache_download_state_sample failed after 466.0323734283447 [0:07:46.032373]. [timeout_sampler] 2026-09-08T08:36:22.548262Z [info ] Delete LocalModelNamespaceCache mnist-onnx-gjutshvd7w [ocp_resources LocalModelNamespaceCache] 2026-09-08T08:36:22.565223Z [warning ] Resource LocalModelNamespaceCache mnist-onnx-gjutshvd7w was not found, and wasn't deleted [ocp_resources LocalModelNamespaceCache] ERROR _ ERROR at setup of TestModelCacheSmoke.test_local_model_cache_reaches_node_downloaded[test_namespace_cache_node_downloaded] _ Traceback (most recent call last): File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ~~~~^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/runner.py", line 250, in lambda: runtest_hook(item=item, **kwds), ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/capture.py", line 895, in pytest_runtest_setup return (yield) ^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/runner.py", line 170, in pytest_runtest_setup item.session._setupstate.setup(item) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/runner.py", line 536, in setup col.setup() ~~~~~~~~~^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/python.py", line 1710, in setup self._request._fillfixtures() ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 806, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 630, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 726, in _get_active_fixturedef fixturedef.execute(request=subrequest) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 1232, in execute result: FixtureValue = ihook.pytest_fixture_setup( ~~~~~~~~~~~~~~~~~~~~~~~~~~^ fixturedef=self, request=request ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pytest_asyncio/plugin.py", line 924, in pytest_fixture_setup return (yield) ^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ~~~~~~~~~~~~~~~~~^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) ^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 1328, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 998, in call_fixture_func fixture_result = next(generator) File "/home/odh/opendatahub-tests/tests/model_serving/model_server/kserve/model_cache/conftest.py", line 104, in mnist_local_model_cache wait_for_local_model_cache_nodes_downloaded(cache=cache, timeout=600) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/tests/model_serving/model_server/kserve/model_cache/utils.py", line 74, in wait_for_local_model_cache_nodes_downloaded for sample in TimeoutSampler( ~~~~~~~~~~~~~~^ wait_timeout=timeout, ^^^^^^^^^^^^^^^^^^^^^ sleep=15, ^^^^^^^^^ func=lambda: _cache_download_state_sample(cache=cache), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ): ^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/timeout_sampler/__init__.py", line 319, in __iter__ time.sleep(self.sleep) ~~~~~~~~~~^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/ocp_resources/resource.py", line 799, in _sigint_handler sys.exit(signal_received) ~~~~~~~~^^^^^^^^^^^^^^^^^ SystemExit: 2 _ 6 of 11 completed, 5 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 1 Error, 0 ReRun _ tests/model_serving/model_server/kserve/model_cache/test_local_model_cache.py::TestModelCacheSmoke::test_cached_model_inference_succeeds[test_cached_model_inference]  TEST: TestModelCacheSmoke.test_local_model_cache_reaches_node_downloaded[test_namespace_cache_node_downloaded] [setup] STATUS: ERROR 2026-09-08T08:36:22.572335Z [error ] Traceback (most recent call last): File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ~~~~^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/runner.py", line 250, in lambda: runtest_hook(item=item, **kwds), ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/capture.py", line 895, in pytest_runtest_setup return (yield) ^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/runner.py", line 170, in pytest_runtest_setup item.session._setupstate.setup(item) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/runner.py", line 536, in setup col.setup() ~~~~~~~~~^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/python.py", line 1710, in setup self._request._fillfixtures() ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 806, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 630, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 726, in _get_active_fixturedef fixturedef.execute(request=subrequest) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 1232, in execute result: FixtureValue = ihook.pytest_fixture_setup( ~~~~~~~~~~~~~~~~~~~~~~~~~~^ fixturedef=self, request=request ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pytest_asyncio/plugin.py", line 924, in pytest_fixture_setup return (yield) ^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper return result.get_result() ~~~~~~~~~~~~~~~~~^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_result.py", line 103, in get_result raise exc.with_traceback(tb) File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper res = yield ^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/setuponly.py", line 36, in pytest_fixture_setup return (yield) ^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 1328, in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 998, in call_fixture_func fixture_result = next(generator) File "/home/odh/opendatahub-tests/tests/model_serving/model_server/kserve/model_cache/conftest.py", line 104, in mnist_local_model_cache wait_for_local_model_cache_nodes_downloaded(cache=cache, timeout=600) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/tests/model_serving/model_server/kserve/model_cache/utils.py", line 74, in wait_for_local_model_cache_nodes_downloaded for sample in TimeoutSampler( ~~~~~~~~~~~~~~^ wait_timeout=timeout, ^^^^^^^^^^^^^^^^^^^^^ sleep=15, ^^^^^^^^^ func=lambda: _cache_download_state_sample(cache=cache), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ): ^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/timeout_sampler/__init__.py", line 319, in __iter__ time.sleep(self.sleep) ~~~~~~~~~~^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/ocp_resources/resource.py", line 799, in _sigint_handler sys.exit(signal_received) ~~~~~~~~^^^^^^^^^^^^^^^^^ SystemExit: 2 [conftest] ------------------------------------------------------- TEARDOWN -------------------------------------------------------  -------------------------- test_cached_model_inference_succeeds[test_cached_model_inference] -------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- ERROR TEST: TestModelCacheSmoke.test_cached_model_inference_succeeds[test_cached_model_inference] [setup] STATUS: ERROR 2026-09-08T08:36:22.575836Z [error ] Traceback (most recent call last): File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ~~~~^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/runner.py", line 250, in lambda: runtest_hook(item=item, **kwds), ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/capture.py", line 895, in pytest_runtest_setup return (yield) ^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/runner.py", line 170, in pytest_runtest_setup item.session._setupstate.setup(item) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/runner.py", line 536, in setup col.setup() ~~~~~~~~~^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/python.py", line 1710, in setup self._request._fillfixtures() ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 806, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 630, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 726, in _get_active_fixturedef fixturedef.execute(request=subrequest) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 1221, in execute assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ AssertionError [conftest] ------------------------------------------------------- TEARDOWN ------------------------------------------------------- 2026-09-08T08:36:22.576299Z [info ] Delete Secret model-cache-download-secret-qvqavrj2zy [ocp_resources Secret] 2026-09-08T08:36:22.617692Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'model-cache-download-secret-qvqavrj2zy', 'namespace': 'redhat-ods-applications', 'uid': '84f5ca63-294b-4407-bbe6-b0e752996b80', 'resourceVersion': '76444', 'creationTimestamp': '2026-09-08T08:28:30Z', 'labels': {'opendatahub.io/dashboard': 'true', 'opendatahub.io/managed': 'true'}, 'annotations': {'opendatahub.io/connection-type': 's3', 'serving.kserve.io/s3-endpoint': 's3.us-east-1.amazonaws.com/', 'serving.kserve.io/s3-region': 'us-east-1', 'serving.kserve.io/s3-useanoncredential': 'false', 'serving.kserve.io/s3-usehttps': '1', 'serving.kserve.io/s3-verifyssl': '0'}, 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-09-08T08:28:30Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:data': {'.': {}, 'f:AWS_ACCESS_KEY_ID': {}, 'f:AWS_DEFAULT_REGION': {}, 'f:AWS_S3_BUCKET': {}, 'f:AWS_S3_ENDPOINT': {}, 'f:AWS_SECRET_ACCESS_KEY': {}}, 'f:metadata': {'f:annotations': {'.': {}, 'f:opendatahub.io/connection-type': {}, 'f:serving.kserve.io/s3-endpoint': {}, 'f:serving.kserve.io/s3-region': {}, 'f:serving.kserve.io/s3-useanoncredential': {}, 'f:serving.kserve.io/s3-usehttps': {}, 'f:serving.kserve.io/s3-verifyssl': {}}, 'f:labels': {'.': {}, 'f:opendatahub.io/dashboard': {}, 'f:opendatahub.io/managed': {}}}, 'f:type': {}}}]}, 'data': '*******', 'type': 'Opaque'} [ocp_resources Secret] 2026-09-08T08:36:22.651067Z [info ] Wait until Secret model-cache-download-secret-qvqavrj2zy is deleted [ocp_resources Secret] 2026-09-08T08:36:22.667968Z [success ] Function: lambda: self.exists succeeded after 1.71661376953125e-05 [0:00:00.000017]. [timeout_sampler] 2026-09-08T08:36:22.668146Z [info ] Delete ServingRuntime onnx-runtime [ocp_resources ServingRuntime] 2026-09-08T08:36:22.704032Z [info ] Deleting {'apiVersion': 'serving.kserve.io/v1alpha1', 'kind': 'ServingRuntime', 'metadata': {'annotations': {'opendatahub.io/recommended-accelerators': '["nvidia.com/gpu"]', 'opendatahub.io/runtime-version': 'v2026.1.0', 'openshift.io/display-name': 'OpenVINO Model Server'}, 'creationTimestamp': '2026-09-08T08:28:28Z', 'generation': 1, 'labels': {'opendatahub.io/dashboard': 'true'}, 'managedFields': [{'apiVersion': 'serving.kserve.io/v1alpha1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'.': {}, 'f:opendatahub.io/recommended-accelerators': {}, 'f:opendatahub.io/runtime-version': {}, 'f:openshift.io/display-name': {}}, 'f:labels': {'.': {}, 'f:opendatahub.io/dashboard': {}}}, 'f:spec': {'.': {}, 'f:annotations': {'.': {}, 'f:opendatahub.io/kserve-runtime': {}, 'f:prometheus.io/path': {}, 'f:prometheus.io/port': {}}, 'f:containers': {}, 'f:multiModel': {}, 'f:protocolVersions': {}, 'f:supportedModelFormats': {}}}, 'manager': 'OpenAPI-Generator', 'operation': 'Update', 'time': '2026-09-08T08:28:28Z'}], 'name': 'onnx-runtime', 'namespace': 'kserve-model-cache-smoke', 'resourceVersion': '76372', 'uid': 'f0f15774-85db-4e47-a7e7-c7ace0326702'}, 'spec': {'annotations': {'opendatahub.io/kserve-runtime': 'ovms', 'prometheus.io/path': '/metrics', 'prometheus.io/port': '8888'}, 'containers': [{'args': ['--model_name={{.Name}}', '--port=8001', '--rest_port=8888', '--model_path=/mnt/models', '--file_system_poll_wait_seconds=0', '--metrics_enable'], 'image': 'registry.redhat.io/rhoai/odh-openvino-model-server-rhel9@sha256:0086e5198e9f67af0cdeffa12d0a1a19b89ed34ed2d19be37f68cce2da5a8209', 'name': 'kserve-container', 'ports': [{'containerPort': 8888, 'protocol': 'TCP'}]}], 'multiModel': False, 'protocolVersions': ['v2', 'grpc-v2'], 'supportedModelFormats': [{'autoSelect': True, 'name': 'openvino_ir', 'version': 'opset13'}, {'name': 'onnx', 'version': 'opset13'}, {'autoSelect': True, 'name': 'tensorflow', 'version': '1'}, {'autoSelect': True, 'name': 'tensorflow', 'version': '2'}, {'autoSelect': True, 'name': 'paddle', 'version': '2'}, {'autoSelect': True, 'name': 'pytorch', 'version': '2'}]}} [ocp_resources ServingRuntime] 2026-09-08T08:36:22.721589Z [info ] Wait until ServingRuntime onnx-runtime is deleted [ocp_resources ServingRuntime] 2026-09-08T08:36:22.738997Z [success ] Function: lambda: self.exists succeeded after 1.5735626220703125e-05 [0:00:00.000016]. [timeout_sampler] 2026-09-08T08:36:22.755561Z [info ] Delete Project kserve-model-cache-smoke [ocp_resources Project] 2026-09-08T08:36:22.795618Z [info ] Deleting {'kind': 'Project', 'apiVersion': 'project.openshift.io/v1', 'metadata': {'name': 'kserve-model-cache-smoke', 'uid': '7db5746d-8505-4779-87fa-77ea6325ed62', 'resourceVersion': '76353', 'creationTimestamp': '2026-09-08T08:28:28Z', 'labels': {'kubernetes.io/metadata.name': 'kserve-model-cache-smoke', 'pod-security.kubernetes.io/audit': 'restricted', 'pod-security.kubernetes.io/audit-version': 'latest', 'pod-security.kubernetes.io/warn': 'restricted', 'pod-security.kubernetes.io/warn-version': 'latest'}, 'annotations': {'openshift.io/description': '', 'openshift.io/display-name': '', 'openshift.io/requester': 'system:serviceaccount:kube-system:olminstall-cluster-admin', 'openshift.io/sa.scc.mcs': 's0:c31,c20', 'openshift.io/sa.scc.supplemental-groups': '1000970000/10000', 'openshift.io/sa.scc.uid-range': '1000970000/10000', 'security.openshift.io/MinimallySufficientPodSecurityStandard': 'restricted'}, 'managedFields': [{'manager': 'cluster-policy-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-09-08T08:28:28Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'f:openshift.io/sa.scc.mcs': {}, 'f:openshift.io/sa.scc.supplemental-groups': {}, 'f:openshift.io/sa.scc.uid-range': {}}}}}, {'manager': 'pod-security-admission-label-synchronization-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-09-08T08:28:28Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'f:security.openshift.io/MinimallySufficientPodSecurityStandard': {}}, 'f:labels': {'f:pod-security.kubernetes.io/audit': {}, 'f:pod-security.kubernetes.io/audit-version': {}, 'f:pod-security.kubernetes.io/warn': {}, 'f:pod-security.kubernetes.io/warn-version': {}}}}}, {'manager': 'openshift-apiserver', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-09-08T08:28:28Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'.': {}, 'f:openshift.io/description': {}, 'f:openshift.io/display-name': {}, 'f:openshift.io/requester': {}}, 'f:labels': {'.': {}, 'f:kubernetes.io/metadata.name': {}}}}}, {'manager': 'openshift-controller-manager', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-09-08T08:28:28Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {'f:finalizers': {}}}, 'subresource': 'finalize'}]}, 'spec': {'finalizers': ['kubernetes']}, 'status': {'phase': 'Active'}} [ocp_resources Project] 2026-09-08T08:36:22.834022Z [info ] Wait until Project kserve-model-cache-smoke is deleted [ocp_resources Project] _ ERROR at setup of TestModelCacheSmoke.test_cached_model_inference_succeeds[test_cached_model_inference] _ Traceback (most recent call last): File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/runner.py", line 361, in from_call result: TResult | None = func() ~~~~^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/runner.py", line 250, in lambda: runtest_hook(item=item, **kwds), ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_hooks.py", line 512, in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_manager.py", line 120, in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 167, in _multicall raise exception File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 139, in _multicall teardown.throw(exception) ~~~~~~~~~~~~~~^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/capture.py", line 895, in pytest_runtest_setup return (yield) ^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/pluggy/_callers.py", line 121, in _multicall res = hook_impl.function(*args) File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/runner.py", line 170, in pytest_runtest_setup item.session._setupstate.setup(item) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/runner.py", line 536, in setup col.setup() ~~~~~~~~~^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/python.py", line 1710, in setup self._request._fillfixtures() ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 806, in _fillfixtures item.funcargs[argname] = self.getfixturevalue(argname) ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 630, in getfixturevalue fixturedef = self._get_active_fixturedef(argname) File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 726, in _get_active_fixturedef fixturedef.execute(request=subrequest) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^ File "/home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/_pytest/fixtures.py", line 1221, in execute assert not self._finalizers ^^^^^^^^^^^^^^^^^^^^ AssertionError _ 7 of 11 completed, 5 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 2 Error, 0 ReRun _ tests/model_serving/model_server/kserve/transformer/test_transformer_auth.py::TestTransformerAuthEnforcement::test_unauthenticated_request_rejected[unprivileged_model_namespace0-transformer_auth_inference_service0] 2026-09-08T08:36:29.988494Z [success ] Function: lambda: self.exists succeeded after 7.133111238479614 [0:00:07.133111]. [timeout_sampler]  ------- test_unauthenticated_request_rejected[unprivileged_model_namespace0-transformer_auth_inference_service0] ------- -------------------------------------------------------- SETUP -------------------------------------------------------- 2026-09-08T08:36:29.990872Z [info ] Executing class fixture: unprivileged_model_namespace [conftest] 2026-09-08T08:36:29.991082Z [info ] kind: ProjectRequest api version: project.openshift.io/v1 --- [DuplicateFilter: Last log `Trying to get client via new_client_from_config` repeated 31 times] [ocp_resources.resource] 2026-09-08T08:36:29.991248Z [info ] Create ProjectRequest test-kserve-transformer-auth [ocp_resources ProjectRequest] 2026-09-08T08:36:29.991514Z [info ] Posting {'apiVersion': 'project.openshift.io/v1', 'kind': 'ProjectRequest', 'metadata': {'name': 'test-kserve-transformer-auth'}} [ocp_resources ProjectRequest] 2026-09-08T08:36:30.094619Z [info ] kind: Project api version: project.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:36:30.094765Z [info ] Wait for Project test-kserve-transformer-auth status to be Active [ocp_resources Project] 2026-09-08T08:36:30.124734Z [info ] Status of Project test-kserve-transformer-auth is Active [ocp_resources Project] 2026-09-08T08:36:30.124902Z [success ] Function: lambda: self.exists succeeded after 1.5735626220703125e-05 [0:00:00.000016]. [timeout_sampler] 2026-09-08T08:36:30.125058Z [info ] Executing class fixture: ci_endpoint_s3_secret [conftest] 2026-09-08T08:36:30.143613Z [info ] Create Secret ci-bucket-secret [ocp_resources Secret] 2026-09-08T08:36:30.143792Z [info ] Posting {'apiVersion': 'v1', 'kind': 'Secret', 'metadata': {'name': 'ci-bucket-secret', 'labels': {'opendatahub.io/managed': 'true', 'opendatahub.io/dashboard': 'true'}, 'annotations': {'opendatahub.io/connection-type': 's3', 'serving.kserve.io/s3-endpoint': 's3.us-east-1.amazonaws.com/', 'serving.kserve.io/s3-region': 'us-east-1', 'serving.kserve.io/s3-useanoncredential': 'false', 'serving.kserve.io/s3-verifyssl': '0', 'serving.kserve.io/s3-usehttps': '1'}, 'namespace': 'test-kserve-transformer-auth'}, 'data': '*******'} [ocp_resources Secret] 2026-09-08T08:36:30.201038Z [info ] Wait until Secret ci-bucket-secret is created [ocp_resources Secret] 2026-09-08T08:36:30.216784Z [success ] Function: lambda: self.exists succeeded after 1.5974044799804688e-05 [0:00:00.000016]. [timeout_sampler] 2026-09-08T08:36:30.216945Z [info ] Executing class fixture: ci_service_account [conftest] 2026-09-08T08:36:30.217099Z [info ] Create ServiceAccount ci-bucket-sa [ocp_resources ServiceAccount] 2026-09-08T08:36:30.217250Z [info ] Posting {'apiVersion': 'v1', 'kind': 'ServiceAccount', 'metadata': {'name': 'ci-bucket-sa', 'namespace': 'test-kserve-transformer-auth'}, 'secrets': [{'name': 'ci-bucket-secret'}]} [ocp_resources ServiceAccount] 2026-09-08T08:36:30.250890Z [info ] Executing class fixture: transformer_auth_inference_service [conftest] 2026-09-08T08:36:30.251037Z [info ] kind: Template api version: template.openshift.io/v1 [ocp_resources.resource] 2026-09-08T08:36:30.292959Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-09-08T08:36:30.293132Z [info ] Create ServingRuntime transformer-runtime [ocp_resources ServingRuntime] 2026-09-08T08:36:30.293304Z [info ] Posting {'apiVersion': 'serving.kserve.io/v1alpha1', 'kind': 'ServingRuntime', 'metadata': {'annotations': {'opendatahub.io/runtime-version': '1.7.1', 'openshift.io/display-name': 'MLServer ServingRuntime for KServe', 'serving.kserve.io/server-type': 'mlserver'}, 'labels': {'opendatahub.io/dashboard': 'true'}, 'name': 'transformer-runtime', 'namespace': 'test-kserve-transformer-auth'}, 'spec': {'annotations': {'monitoring.opendatahub.io/scrape': 'true', 'opendatahub.io/kserve-runtime': 'mlserver', 'prometheus.io/path': '/metrics', 'prometheus.io/port': '8082'}, 'containers': [{'env': [{'name': 'MLSERVER_MODEL_IMPLEMENTATION', 'value': '{{.Labels.modelClass}}'}, {'name': 'MLSERVER_HTTP_PORT', 'value': '8080'}, {'name': 'MLSERVER_MODELS_DIR', 'value': '/mnt/models'}], 'image': 'registry.redhat.io/rhoai/odh-mlserver-rhel9@sha256:393c89dc1e7f3222730455e4d444f5f360cd1b253652fd366784e8469ed53bb9', 'livenessProbe': {'failureThreshold': 6, 'httpGet': {'path': '/v2/models/{{.Name}}/ready', 'port': 8080}, 'initialDelaySeconds': 20, 'periodSeconds': 10, 'timeoutSeconds': 5}, 'name': 'kserve-container', 'ports': [{'containerPort': 8080, 'protocol': 'TCP'}], 'readinessProbe': {'failureThreshold': 3, 'httpGet': {'path': '/v2/models/{{.Name}}/ready', 'port': 8080}, 'initialDelaySeconds': 5, 'periodSeconds': 5, 'timeoutSeconds': 5}, 'resources': {'limits': {'cpu': '2', 'memory': '4Gi'}, 'requests': {'cpu': '1', 'memory': '2Gi'}}, 'securityContext': {'allowPrivilegeEscalation': False, 'capabilities': {'drop': ['ALL']}, 'privileged': False, 'runAsNonRoot': True}, 'startupProbe': {'exec': {'command': ['/bin/sh', '-c', '[ -n "$(ls -A /mnt/models 2>/dev/null)" ]\n']}, 'failureThreshold': 1, 'initialDelaySeconds': 1, 'periodSeconds': 1}}], 'multiModel': False, 'protocolVersions': ['v2'], 'supportedModelFormats': [{'name': 'sklearn', 'version': '0'}, {'name': 'sklearn', 'version': '1'}, {'name': 'xgboost', 'version': '1'}, {'name': 'xgboost', 'version': '2'}, {'name': 'lightgbm', 'version': '3'}, {'name': 'lightgbm', 'version': '4'}, {'name': 'onnx', 'version': '1'}]}} [ocp_resources ServingRuntime] 2026-09-08T08:36:30.402040Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-09-08T08:36:30.402490Z [info ] Create InferenceService sentiment-analysis [ocp_resources InferenceService] 2026-09-08T08:36:30.402634Z [info ] Posting {'apiVersion': 'serving.kserve.io/v1beta1', 'kind': 'InferenceService', 'metadata': {'name': 'sentiment-analysis', 'labels': {'networking.kserve.io/visibility': 'exposed'}, 'annotations': {'security.opendatahub.io/enable-auth': 'true', 'serving.kserve.io/deploymentMode': 'RawDeployment'}, 'namespace': 'test-kserve-transformer-auth'}, 'spec': {'predictor': {'serviceAccountName': 'ci-bucket-sa', 'minReplicas': 1, 'model': {'modelFormat': {'name': 'onnx'}, 'runtime': 'transformer-runtime', 'storage': {'key': 'ci-bucket-secret', 'path': '/sentiment-analysis/'}, 'resources': {'requests': {'cpu': '10m', 'memory': '256Mi'}, 'limits': {'cpu': '1', 'memory': '2Gi'}}}}, 'transformer': {'minReplicas': 1, 'containers': [{'name': 'kserve-container', 'image': 'quay.io/spolti/kserve-sentiment-custom-transformer@sha256:6af753f5d13e07fd2d0d3da9e55ddbcd4d5cabcd9d5f4c1fbbdce06fb1e08c67', 'imagePullPolicy': 'IfNotPresent', 'args': ['--model-name=sentiment-analysis', '--tokenizer_name=/app/tokenizer', '--sentiment_labels=negative,positive', '--max_length=128', '--input_names=input_ids,attention_mask', '--output_name=predict', '--include_star_rating'], 'resources': {'requests': {'cpu': '500m', 'memory': '512Mi'}, 'limits': {'cpu': '1000m', 'memory': '2Gi'}}}]}}} [ocp_resources InferenceService] 2026-09-08T08:36:30.783407Z [info ] Wait for InferenceService/sentiment-analysis's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-09-08T08:36:30.783641Z [info ] Wait until InferenceService sentiment-analysis is created [ocp_resources InferenceService] 2026-09-08T08:36:30.800126Z [success ] Function: lambda: self.exists succeeded after 4.8160552978515625e-05 [0:00:00.000048]. [timeout_sampler] 2026-09-08T08:37:16.622743Z [success ] Function: lambda: self.instance succeeded after 45.804829359054565 [0:00:45.804829]. [timeout_sampler] 2026-09-08T08:37:16.672769Z [success ] Function: ocp_resources.resource.get succeeded after 5.030632019042969e-05 [0:00:00.000050]. [timeout_sampler] 2026-09-08T08:37:16.672035Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-09-08T08:37:16.739738Z [success ] Function: lambda: deployment.instance succeeded after 3.814697265625e-05 [0:00:00.000038]. [timeout_sampler] 2026-09-08T08:37:16.740063Z [info ] Wait for Deployment sentiment-analysis-predictor to be deployed: True [ocp_resources Deployment] 2026-09-08T08:37:16.755623Z [success ] Function: lambda: self.exists succeeded after 1.52587890625e-05 [0:00:00.000015]. [timeout_sampler] 2026-09-08T08:37:16.772057Z [success ] Function: lambda: self.instance succeeded after 1.52587890625e-05 [0:00:00.000015]. [timeout_sampler] 2026-09-08T08:37:16.839277Z [success ] Function: lambda: deployment.instance succeeded after 4.4345855712890625e-05 [0:00:00.000044]. [timeout_sampler] 2026-09-08T08:37:16.839503Z [info ] Wait for Deployment sentiment-analysis-transformer to be deployed: True [ocp_resources Deployment] 2026-09-08T08:37:16.855383Z [success ] Function: lambda: self.exists succeeded after 1.6927719116210938e-05 [0:00:00.000017]. [timeout_sampler]