--- BVT pytest attempt 2026-07-07T12:32:15.769345+00:00 (/.local/bin/uv --directory /home/odh/opendatahub-tests...) --- 2026-07-07T12:32:17.748307Z [info ] Writing tests log to /home/odh/opendatahub-tests/results/pytest-tests.log [conftest] 2026-07-07T12:32:17.750728Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-07.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-07.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-07.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-07.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-07.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( 2026-07-07T12:32:17.883389Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-07.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-07.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-07.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-07.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( 2026-07-07T12:32:17.953606Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-07.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( ============================= test session starts ============================== platform linux -- Python 3.14.6, pytest-9.1.1, pluggy-1.6.0 -- /home/odh/opendatahub-tests/.venv/bin/python3 cachedir: .pytest_cache metadata: {'Python': '3.14.6', 'Platform': 'Linux-5.14.0-570.120.1.el9_6.x86_64-x86_64-with-glibc2.42', 'Packages': {'pytest': '9.1.1', 'pluggy': '1.6.0'}, 'Plugins': {'anyio': '4.14.0', 'langsmith': '0.9.0', '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': '5.3.2'}} rootdir: /home/odh/opendatahub-tests configfile: pytest.ini plugins: anyio-4.14.0, langsmith-0.9.0, 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-5.3.2 asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collecting ... collected 224 items / 219 deselected / 5 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-07-07T12:32:18.426871Z [info ] Executing session fixture: admin_client [conftest] 2026-07-07T12:32:18.427017Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-07T12:32:18.430363Z [info ] Executing session fixture: dsc_resource [conftest] 2026-07-07T12:32:18.430522Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] 2026-07-07T12:32:18.506596Z [info ] Executing package fixture: enabled_kserve_in_dsc [conftest] 2026-07-07T12:32:18.524059Z [warning ] Component kserve was already set to managementState Managed [utilities.data_science_cluster_utils] name=utilities.data_science_cluster_utils 2026-07-07T12:32:18.525395Z [info ] Executing session fixture: event_loop_policy [conftest] 2026-07-07T12:32:18.525544Z [info ] Executing session fixture: _syrupy_apply_ide_patches [conftest] 2026-07-07T12:32:18.525675Z [info ] Executing session fixture: tmp_path_factory [conftest] 2026-07-07T12:32:18.525802Z [info ] Executing session fixture: tests_tmp_dir [conftest] 2026-07-07T12:32:18.526804Z [info ] Executing session fixture: os_path_environment [conftest] 2026-07-07T12:32:18.526945Z [info ] Executing session fixture: tmpdir_factory [conftest] 2026-07-07T12:32:18.527101Z [info ] Executing session fixture: bin_directory [conftest] 2026-07-07T12:32:18.528169Z [info ] Executing session fixture: oc_binary_path [conftest] 2026-07-07T12:32:18.556504Z [info ] kind: ConsoleCLIDownload api version: console.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:32:18.586468Z [info ] All oc console cli download links: ['https://downloads-openshift-console.apps.ods-qe-psi-07.osp.rh-ods.com/amd64/linux/oc.tar'] [utilities.infra] name=utilities.infra 2026-07-07T12:32:18.586549Z [info ] Downloading archive using: url=https://downloads-openshift-console.apps.ods-qe-psi-07.osp.rh-ods.com/amd64/linux/oc.tar [utilities.infra] name=utilities.infra 2026-07-07T12:32:27.291850Z [info ] Extract the downloaded archive. [utilities.infra] name=utilities.infra 2026-07-07T12:32:27.420793Z [info ] Downloaded file: ['oc']  [utilities.infra] name=utilities.infra 2026-07-07T12:32:27.447960Z [info ] Executing session fixture: bin_directory_to_os_path [conftest] 2026-07-07T12:32:27.443612Z [info ] OC binary path: /tmp/pytest-dFyTxyRYKg4Uyzrt9zU45a/bin0/oc [tests.conftest] name=tests.conftest 2026-07-07T12:32:27.443719Z [info ] Adding /tmp/pytest-dFyTxyRYKg4Uyzrt9zU45a/bin0 to $PATH [tests.conftest] name=tests.conftest 2026-07-07T12:32:27.448477Z [info ] Executing session fixture: nodes [conftest] 2026-07-07T12:32:28.625443Z [info ] Executing session fixture: dsci_resource [conftest] 2026-07-07T12:32:28.625637Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] 2026-07-07T12:32:28.642773Z [info ] Executing session fixture: record_testsuite_property [conftest] 2026-07-07T12:32:28.642963Z [info ] Executing session fixture: junitxml_plugin [conftest] 2026-07-07T12:32:28.643151Z [info ] Executing session fixture: cluster_sanity_scope_session [conftest] 2026-07-07T12:32:28.642067Z [info ] Check cluster sanity.  [utilities.infra] name=utilities.infra 2026-07-07T12:32:28.643482Z [info ] Verify all nodes are in a healthy condition. [ocp_utilities.infra] 2026-07-07T12:32:28.784940Z [info ] Verify all nodes are schedulable. [ocp_utilities.infra] 2026-07-07T12:32:28.932589Z [warning ] Skipping RHOAI resource checks, got --cluster-sanity-skip-rhoai-check [utilities.infra] name=utilities.infra 2026-07-07T12:32:28.934611Z [info ] Executing session fixture: autouse_fixtures [conftest] 2026-07-07T12:32:28.934807Z [info ] Executing session fixture: kserve_health_check [conftest] 2026-07-07T12:32:28.973571Z [info ] kind: Deployment api version: apps/v1 [ocp_resources.resource] 2026-07-07T12:32:29.036007Z [info ] KServe component health check passed [tests.model_serving.model_server.kserve.conftest] 2026-07-07T12:32:29.036259Z [info ] Executing session fixture: pytestconfig [conftest] 2026-07-07T12:32:29.036435Z [info ] Executing session fixture: aws_access_key_id [conftest] 2026-07-07T12:32:29.036594Z [info ] Executing session fixture: aws_secret_access_key [conftest] 2026-07-07T12:32:29.036723Z [info ] Executing session fixture: ci_s3_bucket_endpoint [conftest] 2026-07-07T12:32:29.036845Z [info ] Executing session fixture: valid_aws_config [conftest] 2026-07-07T12:32:29.090596Z [info ] AWS credentials validated successfully via STS GetCallerIdentity [tests.conftest] name=tests.conftest 2026-07-07T12:32:29.092422Z [info ] Executing session fixture: use_unprivileged_client [conftest] 2026-07-07T12:32:29.092564Z [info ] Executing session fixture: kubconfig_filepath [conftest] 2026-07-07T12:32:29.092693Z [info ] Executing session fixture: cluster_authentication [conftest] 2026-07-07T12:32:29.092810Z [info ] kind: Authentication api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:32:29.110659Z [info ] Executing session fixture: is_byoidc [conftest] 2026-07-07T12:32:29.130691Z [info ] Executing session fixture: non_admin_user_password [conftest] 2026-07-07T12:32:29.130861Z [info ] Executing session fixture: unprivileged_client [conftest] 2026-07-07T12:32:29.127930Z [warning ] Unprivileged client is not enabled, using admin client [tests.conftest] name=tests.conftest 2026-07-07T12:32:29.131167Z [info ] Executing session fixture: teardown_resources [conftest] 2026-07-07T12:32:29.131293Z [info ] Executing session fixture: ci_s3_bucket_name [conftest] 2026-07-07T12:32:29.131506Z [info ] Executing session fixture: ci_s3_bucket_region [conftest] 2026-07-07T12:32:29.131619Z [info ] Executing session fixture: models_s3_bucket_name [conftest] 2026-07-07T12:32:29.131743Z [info ] Executing session fixture: models_s3_bucket_region [conftest] 2026-07-07T12:32:29.131853Z [info ] Executing session fixture: models_s3_bucket_endpoint [conftest] 2026-07-07T12:32:29.131958Z [info ] Executing class fixture: unprivileged_model_namespace [conftest] 2026-07-07T12:32:29.132092Z [info ] kind: ProjectRequest api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:32:29.132202Z [info ] Create ProjectRequest test-kserve-raw-token-authentication [ocp_resources ProjectRequest] 2026-07-07T12:32:29.132314Z [info ] Posting {'apiVersion': 'project.openshift.io/v1', 'kind': 'ProjectRequest', 'metadata': {'name': 'test-kserve-raw-token-authentication'}} [ocp_resources ProjectRequest] 2026-07-07T12:32:29.251245Z [info ] kind: Project api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:32:29.251432Z [info ] Wait for Project test-kserve-raw-token-authentication status to be Active [ocp_resources Project] 2026-07-07T12:32:29.278418Z [info ] Status of Project test-kserve-raw-token-authentication is Active [ocp_resources Project] 2026-07-07T12:32:29.278590Z [info ] Executing class fixture: http_s3_ovms_serving_runtime [conftest] 2026-07-07T12:32:29.278728Z [info ] kind: Template api version: template.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:32:29.374784Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-07T12:32:29.374970Z [info ] Create ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-07T12:32:29.375238Z [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:5bb57ef927e7481cfc768993faa8e1e70b27154ecc81a88991bd5428001c1ea6', '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-07-07T12:32:29.416717Z [info ] Executing class fixture: ci_endpoint_s3_secret [conftest] 2026-07-07T12:32:29.437236Z [info ] Create Secret ci-bucket-secret [ocp_resources Secret] 2026-07-07T12:32:29.437422Z [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-07-07T12:32:29.474329Z [info ] Wait until Secret ci-bucket-secret is created [ocp_resources Secret] 2026-07-07T12:32:29.491553Z [info ] Executing class fixture: models_endpoint_s3_secret [conftest] 2026-07-07T12:32:29.508813Z [info ] Create Secret models-bucket-secret [ocp_resources Secret] 2026-07-07T12:32:29.509000Z [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-07-07T12:32:29.538984Z [info ] Wait until Secret models-bucket-secret is created [ocp_resources Secret] 2026-07-07T12:32:29.555012Z [info ] Executing class fixture: model_service_account [conftest] 2026-07-07T12:32:29.555281Z [info ] Create ServiceAccount models-bucket-sa [ocp_resources ServiceAccount] 2026-07-07T12:32:29.555557Z [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-07-07T12:32:29.587133Z [info ] Executing class fixture: http_s3_ovms_raw_inference_service [conftest] 2026-07-07T12:32:29.608418Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-07-07T12:32:29.608558Z [info ] Create InferenceService http-onnx [ocp_resources InferenceService] 2026-07-07T12:32:29.608725Z [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-07-07T12:32:29.668780Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-07T12:32:30.707232Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-07T12:32:30.839688Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-07-07T12:32:41.016176Z [info ] kind: Deployment api version: apps/v1 [ocp_resources.resource] 2026-07-07T12:32:41.040557Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-07T12:32:41.100176Z [info ] Wait for Deployment http-onnx-predictor to be deployed: True [ocp_resources Deployment] 2026-07-07T12:32:41.127287Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-07T12:32:41.127449Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-07-07T12:32:41.190912Z [info ] Executing class fixture: http_raw_view_role [conftest] 2026-07-07T12:32:41.191125Z [info ] kind: Role api version: rbac.authorization.k8s.io/v1 [ocp_resources.resource] 2026-07-07T12:32:41.191261Z [info ] Create Role http-onnx-view  [ocp_resources Role] 2026-07-07T12:32:41.191398Z [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-07-07T12:32:41.218853Z [info ] Executing class fixture: http_raw_role_binding [conftest] 2026-07-07T12:32:41.219078Z [info ] kind: RoleBinding api version: rbac.authorization.k8s.io/v1 [ocp_resources.resource] 2026-07-07T12:32:41.219258Z [info ] Create RoleBinding http-models-bucket-sa-view [ocp_resources RoleBinding] 2026-07-07T12:32:41.219462Z [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-07-07T12:32:41.246371Z [info ] Executing class fixture: http_raw_inference_token [conftest] 2026-07-07T12:32:41.246550Z [info ] Running oc create token -n test-kserve-raw-token-authentication models-bucket-sa command [pyhelper_utils.shell] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-07T12:32:41.416569Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-07T12:32:41.455076Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-07T12:32:41.459845Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:32:41.552826Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:32:41.566165Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-07T12:32:41.581420Z [info ] Running Hide By User command  [pyhelper_utils.shell] PASSED _ 1 of 5 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-07-07T12:32:41.655879Z [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, 07 Jul 2026 12:32:41 GMT set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=f2ea942fe46c5a18f2c7c9ea2e052880; 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  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-07-07T12:32:41.664709Z [info ] Executing function fixture: patched_remove_raw_authentication_isvc [conftest] 2026-07-07T12:32:41.664824Z [info ] ResourceEdit: Backing up old data [ocp_resources.resource] 2026-07-07T12:32:41.675986Z [info ] ResourceEdits: Updating data for resource InferenceService http-onnx [ocp_resources.resource] 2026-07-07T12:32:41.676272Z [info ] Update InferenceService http-onnx: {'metadata': {'annotations': {'security.opendatahub.io/enable-auth': 'false'}, 'name': 'http-onnx'}} [ocp_resources InferenceService] 2026-07-07T12:32:41.710388Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-07T12:32:41.710555Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-07-07T12:32:41.788134Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-07T12:32:42.913601Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-07T12:32:42.959842Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-07T12:32:42.964626Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:32:43.028668Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:32:43.041628Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-07T12:32:43.106682Z [info ] Inference output: HTTP/1.1 401 Unauthorized content-type: text/plain; charset=utf-8 x-content-type-options: nosniff date: Tue, 07 Jul 2026 12:32:43 GMT content-length: 13 set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=f2ea942fe46c5a18f2c7c9ea2e052880; path=/; HttpOnly; Secure; SameSite=None Unauthorized  [utilities.inference_utils] name=utilities.inference_utils 2026-07-07T12:32:48.132761Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-07T12:32:48.168247Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-07T12:32:48.174578Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:32:48.240690Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:32:48.259543Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-07T12:32:48.336714Z [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=49405c79f99207bf5a25dffd247786c1; 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-07-07T12:32:48.336901Z [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 --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-07T12:32:48.375191Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-07T12:32:48.417504Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-07T12:32:48.425734Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:32:48.506973Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:32:48.552949Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils PASSED2026-07-07T12:32:48.625496Z [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=49405c79f99207bf5a25dffd247786c1; 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  TEST: TestKserveTokenAuthenticationRawForRest.test_disabled_raw_model_authentication[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] STATUS: PASSED ------------------------------------------------------- TEARDOWN ------------------------------------------------------- 2026-07-07T12:32:48.628542Z [info ] ResourceEdits: Restoring data for resource InferenceService http-onnx [ocp_resources.resource] 2026-07-07T12:32:48.628943Z [info ] Update InferenceService http-onnx: {'metadata': {'annotations': {'security.opendatahub.io/enable-auth': 'true'}, 'name': 'http-onnx'}} [ocp_resources InferenceService] 2026-07-07T12:32:48.660512Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-07T12:32:48.660663Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-07-07T12:32:49.742492Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-07T12:32:49.854202Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-07T12:32:49.898677Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-07T12:32:49.903135Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:32:49.973395Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:32:49.986731Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils _ 2 of 5 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-07-07T12:32:50.053140Z [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=49405c79f99207bf5a25dffd247786c1; 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-07-07T12:32:50.053352Z [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  ----- test_re_enabled_raw_model_authentication[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] ----- -------------------------------------------------------- SETUP -------------------------------------------------------- --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-07T12:32:50.085165Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-07T12:32:50.130071Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-07T12:32:50.135569Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:32:50.198557Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:32:50.212698Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils PASSED _ 3 of 5 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-07-07T12:32:50.278787Z [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=49405c79f99207bf5a25dffd247786c1; 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  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-07-07T12:32:50.289300Z [info ] Executing class fixture: model_service_account_2 [conftest] 2026-07-07T12:32:50.289446Z [info ] Create ServiceAccount models-bucket-sa-2 [ocp_resources ServiceAccount] 2026-07-07T12:32:50.289615Z [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-07-07T12:32:50.319650Z [info ] Executing class fixture: http_s3_ovms_raw_inference_service_2 [conftest] 2026-07-07T12:32:50.331814Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-07-07T12:32:50.331982Z [info ] Create InferenceService http-onnx-2 [ocp_resources InferenceService] 2026-07-07T12:32:50.332238Z [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-07-07T12:32:50.369364Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-07T12:32:51.394288Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-07T12:32:51.450775Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-07-07T12:33:01.659321Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-07T12:33:01.710452Z [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-07-07T12:33:01.737828Z [info ] Wait for InferenceService/http-onnx-2's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-07T12:33:01.737987Z [info ] Wait until InferenceService http-onnx-2 is created [ocp_resources InferenceService] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-07T12:33:01.828531Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-07T12:33:01.879810Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-07T12:33:01.890590Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:33:01.979565Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:33:02.006573Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils PASSED2026-07-07T12:33:02.123344Z [info ] Inference output: HTTP/1.1 403 Forbidden content-type: text/plain; charset=utf-8 x-content-type-options: nosniff date: Tue, 07 Jul 2026 12:33:02 GMT content-length: 145 set-cookie: 69f764f782e5acf3035b89de67f2b2b6=5e3986dac12332b09e3e35bb671ab0a8; 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  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-07-07T12:33:02.125752Z [info ] Delete InferenceService http-onnx-2 [ocp_resources InferenceService] 2026-07-07T12:33:02.153797Z [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-07-07T12:32:50Z', '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-07-07T12:32:50Z'}, {'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-07-07T12:32:50Z'}, {'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-07-07T12:33:00Z'}], 'name': 'http-onnx-2', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '382579817', 'uid': '0849e29e-e8df-4c9a-8855-cd50e8798da9'}, '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-07-07T12:32:50Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-07-07T12:33:00Z', 'message': 'ReplicaSet "http-onnx-2-predictor-59996c845b" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-07-07T12:33:00Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-07-07T12:32:50Z', '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.ods-qe-psi-07.osp.rh-ods.com'}} [ocp_resources InferenceService] 2026-07-07T12:33:02.170788Z [info ] Wait until InferenceService http-onnx-2 is deleted [ocp_resources InferenceService] 2026-07-07T12:33:03.208204Z [info ] Delete ServiceAccount models-bucket-sa-2 [ocp_resources ServiceAccount] 2026-07-07T12:33:03.236255Z [info ] Deleting {'kind': 'ServiceAccount', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-sa-2', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '3e6e08d8-29b5-4eb8-896c-24035235f196', 'resourceVersion': '382579569', 'creationTimestamp': '2026-07-07T12:32:50Z', 'annotations': {'openshift.io/internal-registry-pull-secret-ref': 'models-bucket-sa-2-dockercfg-86rrw'}, 'managedFields': [{'manager': 'openshift.io/image-registry-pull-secrets_service-account-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-07T12:32:50Z', '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-86rrw"}': {}}}}, {'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-07T12:32:50Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:secrets': {'.': {}, 'k:{"name":"models-bucket-secret"}': {}}}}]}, 'secrets': [{'name': 'models-bucket-secret'}, {'name': 'models-bucket-sa-2-dockercfg-86rrw'}], 'imagePullSecrets': [{'name': 'models-bucket-sa-2-dockercfg-86rrw'}]} [ocp_resources ServiceAccount] 2026-07-07T12:33:03.255210Z [info ] Wait until ServiceAccount models-bucket-sa-2 is deleted [ocp_resources ServiceAccount] 2026-07-07T12:33:03.283507Z [info ] Delete RoleBinding http-models-bucket-sa-view [ocp_resources RoleBinding] 2026-07-07T12:33:03.311395Z [info ] Deleting {'kind': 'RoleBinding', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'metadata': {'name': 'http-models-bucket-sa-view', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '68d48e65-9f7e-46e5-97fd-7b8be9e7dde0', 'resourceVersion': '382579331', 'creationTimestamp': '2026-07-07T12:32:41Z', 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'time': '2026-07-07T12:32:41Z', '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-07-07T12:33:03.325378Z [info ] Wait until RoleBinding http-models-bucket-sa-view is deleted [ocp_resources RoleBinding] 2026-07-07T12:33:03.343592Z [info ] Delete Role http-onnx-view  [ocp_resources Role] 2026-07-07T12:33:03.396136Z [info ] Deleting {'kind': 'Role', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'metadata': {'name': 'http-onnx-view', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '8efc9c42-34fd-46f6-b78f-f86b2bbc8783', 'resourceVersion': '382579330', 'creationTimestamp': '2026-07-07T12:32:41Z', 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'time': '2026-07-07T12:32:41Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:rules': {}}}]}, 'rules': [{'verbs': ['get'], 'apiGroups': ['serving.kserve.io'], 'resources': ['inferenceservices'], 'resourceNames': ['http-onnx']}]} [ocp_resources Role] 2026-07-07T12:33:03.414829Z [info ] Wait until Role http-onnx-view is deleted [ocp_resources Role] 2026-07-07T12:33:03.427620Z [info ] Delete InferenceService http-onnx [ocp_resources InferenceService] 2026-07-07T12:33:03.461489Z [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-07-07T12:32:29Z', '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-07-07T12:32:30Z'}, {'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-07-07T12:32: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-07-07T12:32:48Z'}], 'name': 'http-onnx', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '382579533', 'uid': '110a97e6-4573-4350-ace7-d1afeb6a0a4a'}, '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-07-07T12:32:30Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-07-07T12:32:48Z', 'message': 'ReplicaSet "http-onnx-predictor-66d9b4d854" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-07-07T12:32:48Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-07-07T12:32: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.ods-qe-psi-07.osp.rh-ods.com'}} [ocp_resources InferenceService] 2026-07-07T12:33:03.481473Z [info ] Wait until InferenceService http-onnx is deleted [ocp_resources InferenceService] 2026-07-07T12:33:04.515253Z [info ] Delete ServiceAccount models-bucket-sa [ocp_resources ServiceAccount] 2026-07-07T12:33:04.550804Z [info ] Deleting {'kind': 'ServiceAccount', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-sa', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '7a54cb9b-d9d5-402b-9d2e-50dadb8adb25', 'resourceVersion': '382579051', 'creationTimestamp': '2026-07-07T12:32:29Z', 'annotations': {'openshift.io/internal-registry-pull-secret-ref': 'models-bucket-sa-dockercfg-4n7c8'}, 'managedFields': [{'manager': 'openshift.io/image-registry-pull-secrets_service-account-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-07T12:32:29Z', '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-4n7c8"}': {}}}}, {'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-07T12:32:29Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:secrets': {'.': {}, 'k:{"name":"models-bucket-secret"}': {}}}}]}, 'secrets': [{'name': 'models-bucket-secret'}, {'name': 'models-bucket-sa-dockercfg-4n7c8'}], 'imagePullSecrets': [{'name': 'models-bucket-sa-dockercfg-4n7c8'}]} [ocp_resources ServiceAccount] 2026-07-07T12:33:04.583205Z [info ] Wait until ServiceAccount models-bucket-sa is deleted [ocp_resources ServiceAccount] 2026-07-07T12:33:04.600579Z [info ] Delete Secret models-bucket-secret [ocp_resources Secret] 2026-07-07T12:33:04.702928Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-secret', 'namespace': 'test-kserve-raw-token-authentication', 'uid': 'b55f07a0-2e50-4638-86bf-0e3c2614110f', 'resourceVersion': '382579045', 'creationTimestamp': '2026-07-07T12:32:29Z', '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-07-07T12:32:29Z', '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-07-07T12:33:04.727584Z [info ] Wait until Secret models-bucket-secret is deleted [ocp_resources Secret] 2026-07-07T12:33:04.747065Z [info ] Delete Secret ci-bucket-secret [ocp_resources Secret] 2026-07-07T12:33:04.792401Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'ci-bucket-secret', 'namespace': 'test-kserve-raw-token-authentication', 'uid': 'af778a7f-3fdc-469e-b13f-f1c3e4a2cdde', 'resourceVersion': '382579039', 'creationTimestamp': '2026-07-07T12:32:29Z', '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-07-07T12:32:29Z', '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-07-07T12:33:04.809828Z [info ] Wait until Secret ci-bucket-secret is deleted [ocp_resources Secret] 2026-07-07T12:33:04.829265Z [info ] Delete ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-07T12:33:04.865757Z [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-07-07T12:32:29Z', '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-07-07T12:32:29Z'}], 'name': 'http-mnist-runtime', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '382579037', 'uid': '7f667b6c-c928-4726-8ab4-f8078ff451c0'}, '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:5bb57ef927e7481cfc768993faa8e1e70b27154ecc81a88991bd5428001c1ea6', '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-07-07T12:33:04.889724Z [info ] Wait until ServingRuntime http-mnist-runtime is deleted [ocp_resources ServingRuntime] 2026-07-07T12:33:04.922928Z [info ] Delete Project test-kserve-raw-token-authentication [ocp_resources Project] 2026-07-07T12:33:04.963494Z [info ] Deleting {'kind': 'Project', 'apiVersion': 'project.openshift.io/v1', 'metadata': {'name': 'test-kserve-raw-token-authentication', 'uid': '9e439dc7-bf65-42f9-bd79-e4542b42cffc', 'resourceVersion': '382579020', 'creationTimestamp': '2026-07-07T12:32:29Z', '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:c46,c20', 'openshift.io/sa.scc.supplemental-groups': '1002110000/10000', 'openshift.io/sa.scc.uid-range': '1002110000/10000', 'security.openshift.io/MinimallySufficientPodSecurityStandard': 'restricted'}, 'managedFields': [{'manager': 'pod-security-admission-label-synchronization-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-07T12:32:29Z', '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': 'cluster-policy-controller', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-07T12:32:29Z', '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': 'openshift-apiserver', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-07T12:32:29Z', '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-07-07T12:32:29Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {'f:finalizers': {}}}, 'subresource': 'finalize'}]}, 'spec': {'finalizers': ['kubernetes']}, 'status': {'phase': 'Active'}} [ocp_resources Project] 2026-07-07T12:33:04.994127Z [info ] Wait until Project test-kserve-raw-token-authentication is deleted [ocp_resources Project] _ 4 of 5 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]  - test_non_admin_deploy_raw_and_query_model[unprivileged_model_namespace0-unprivileged_s3_ovms_raw_inference_service0] - -------------------------------------------------------- SETUP -------------------------------------------------------- 2026-07-07T12:33:13.213824Z [info ] Executing class fixture: unprivileged_model_namespace [conftest] 2026-07-07T12:33:13.213974Z [info ] kind: ProjectRequest api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:33:13.214154Z [info ] Create ProjectRequest test-non-admin-raw [ocp_resources ProjectRequest] 2026-07-07T12:33:13.214272Z [info ] Posting {'apiVersion': 'project.openshift.io/v1', 'kind': 'ProjectRequest', 'metadata': {'name': 'test-non-admin-raw'}} [ocp_resources ProjectRequest] 2026-07-07T12:33:13.311839Z [info ] kind: Project api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:33:13.311994Z [info ] Wait for Project test-non-admin-raw status to be Active [ocp_resources Project] 2026-07-07T12:33:13.334754Z [info ] Status of Project test-non-admin-raw is Active [ocp_resources Project] 2026-07-07T12:33:13.334904Z [info ] Executing class fixture: http_s3_ovms_serving_runtime [conftest] 2026-07-07T12:33:13.335083Z [info ] kind: Template api version: template.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:33:13.385455Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-07T12:33:13.385622Z [info ] Create ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-07T12:33:13.385788Z [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:5bb57ef927e7481cfc768993faa8e1e70b27154ecc81a88991bd5428001c1ea6', '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-07-07T12:33:13.436887Z [info ] Executing class fixture: unprivileged_ci_endpoint_s3_secret [conftest] 2026-07-07T12:33:13.460627Z [info ] Create Secret ci-bucket-unprivileged [ocp_resources Secret] 2026-07-07T12:33:13.460807Z [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-07-07T12:33:13.500475Z [info ] Wait until Secret ci-bucket-unprivileged is created [ocp_resources Secret] 2026-07-07T12:33:13.511855Z [info ] Executing class fixture: unprivileged_s3_ovms_raw_inference_service [conftest] 2026-07-07T12:33:13.525258Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-07-07T12:33:13.525413Z [info ] Create InferenceService http-onnx-raw [ocp_resources InferenceService] 2026-07-07T12:33:13.525571Z [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-07-07T12:33:13.572190Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-07T12:33:14.607112Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-07T12:33:14.676168Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-07-07T12:33:24.991875Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-07T12:33:25.063481Z [info ] Wait for Deployment http-onnx-raw-predictor to be deployed: True [ocp_resources Deployment] 2026-07-07T12:33:25.097858Z [info ] Wait for InferenceService/http-onnx-raw's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-07T12:33:25.098045Z [info ] Wait until InferenceService http-onnx-raw is created [ocp_resources InferenceService] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-07T12:33:25.319939Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-07T12:33:25.369443Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-07T12:33:25.379047Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:33:25.486292Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-07T12:33:25.618654Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils [2026-07-07T12:33:25Z WARN kube_client::client::tls::rustls_tls] Server cert bypassed PASSED2026-07-07T12:33:26.022609Z [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  TEST: TestRawUnprivilegedUser.test_non_admin_deploy_raw_and_query_model[unprivileged_model_namespace0-unprivileged_s3_ovms_raw_inference_service0] STATUS: PASSED ------------------------------------------------------- TEARDOWN ------------------------------------------------------- 2026-07-07T12:33:26.024706Z [info ] Delete InferenceService http-onnx-raw [ocp_resources InferenceService] 2026-07-07T12:33:26.063323Z [info ] Deleting {'apiVersion': 'serving.kserve.io/v1beta1', 'kind': 'InferenceService', 'metadata': {'annotations': {'modelFormat': 'openvino_ir', 'serving.kserve.io/deploymentMode': 'Standard'}, 'creationTimestamp': '2026-07-07T12:33:13Z', '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-07-07T12:33:13Z'}, {'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-07-07T12:33:13Z'}, {'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-07-07T12:33:24Z'}], 'name': 'http-onnx-raw', 'namespace': 'test-non-admin-raw', 'resourceVersion': '382580471', 'uid': '661950ca-4f66-4f0d-8c35-57bb51502d6f'}, '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:8080'}, 'components': {'predictor': {'url': 'http://http-onnx-raw-predictor-test-non-admin-raw.example.com'}}, 'conditions': [{'lastTransitionTime': '2026-07-07T12:33:13Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-07-07T12:33:24Z', 'message': 'ReplicaSet "http-onnx-raw-predictor-6fbd98c4f" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-07-07T12:33:24Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-07-07T12:33:13Z', '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-07-07T12:33:26.115667Z [info ] Wait until InferenceService http-onnx-raw is deleted [ocp_resources InferenceService] 2026-07-07T12:33:27.160416Z [info ] Delete Secret ci-bucket-unprivileged [ocp_resources Secret] 2026-07-07T12:33:27.203434Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'ci-bucket-unprivileged', 'namespace': 'test-non-admin-raw', 'uid': '2539a978-8114-4702-a82f-bd4965f2d84f', 'resourceVersion': '382580205', 'creationTimestamp': '2026-07-07T12:33:13Z', '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-07-07T12:33:13Z', '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-07-07T12:33:27.225171Z [info ] Wait until Secret ci-bucket-unprivileged is deleted [ocp_resources Secret] 2026-07-07T12:33:27.245922Z [info ] Delete ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-07T12:33:27.282411Z [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-07-07T12:33:13Z', '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-07-07T12:33:13Z'}], 'name': 'http-mnist-runtime', 'namespace': 'test-non-admin-raw', 'resourceVersion': '382580203', 'uid': 'dee5ff6c-0f97-453a-bf80-dc1dff045de2'}, '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:5bb57ef927e7481cfc768993faa8e1e70b27154ecc81a88991bd5428001c1ea6', '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-07-07T12:33:27.303216Z [info ] Wait until ServingRuntime http-mnist-runtime is deleted [ocp_resources ServingRuntime] 2026-07-07T12:33:27.339784Z [info ] Delete Project test-non-admin-raw [ocp_resources Project] 2026-07-07T12:33:27.386455Z [info ] Deleting {'kind': 'Project', 'apiVersion': 'project.openshift.io/v1', 'metadata': {'name': 'test-non-admin-raw', 'uid': 'bc67de9b-ecd1-4c6a-b188-5ff65d93dafc', 'resourceVersion': '382580186', 'creationTimestamp': '2026-07-07T12:33:13Z', '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:c46,c25', 'openshift.io/sa.scc.supplemental-groups': '1002120000/10000', 'openshift.io/sa.scc.uid-range': '1002120000/10000', 'security.openshift.io/MinimallySufficientPodSecurityStandard': 'restricted'}, 'managedFields': [{'manager': 'pod-security-admission-label-synchronization-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-07T12:33:13Z', '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': 'cluster-policy-controller', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-07T12:33:13Z', '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': 'openshift-apiserver', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-07T12:33:13Z', '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-07-07T12:33:13Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {'f:finalizers': {}}}, 'subresource': 'finalize'}]}, 'spec': {'finalizers': ['kubernetes']}, 'status': {'phase': 'Active'}} [ocp_resources Project] 2026-07-07T12:33:27.411870Z [info ] Wait until Project test-non-admin-raw is deleted [ocp_resources Project] _ 5 of 5 completed, 5 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ ========== 5 passed, 219 deselected, 245 warnings in 77.78s (0:01:17) ========== =============================== warnings summary =============================== tests/model_serving/model_server/kserve/authentication/test_kserve_token_authentication_raw.py: 167 warnings tests/model_serving/model_server/kserve/authentication/test_non_admin_users.py: 78 warnings /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-07.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html - generated xml file: /workspace/tests-shared/tests-payload/results/model_server-smoke.xml - ========== 5 passed, 219 deselected, 245 warnings in 77.78s (0:01:17) ==========