--- BVT pytest attempt 2026-07-02T19:44:54.294157+00:00 (/.local/bin/uv --directory /home/odh/opendatahub-tests...) --- 2026-07-02T19:44:56.194638Z [info ] Writing tests log to /home/odh/opendatahub-tests/results/pytest-tests.log [conftest] 2026-07-02T19:44:56.194853Z [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-02T19:44:56.357516Z [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-02T19:44:56.438346Z [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-02T19:44:56.912844Z [info ] Executing session fixture: admin_client [conftest] 2026-07-02T19:44:56.914079Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T19:44:56.914236Z [info ] Executing session fixture: dsc_resource [conftest] 2026-07-02T19:44:56.914389Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] 2026-07-02T19:44:56.989888Z [info ] Executing package fixture: enabled_kserve_in_dsc [conftest] 2026-07-02T19:44:57.008093Z [warning ] Component kserve was already set to managementState Managed [utilities.data_science_cluster_utils] name=utilities.data_science_cluster_utils 2026-07-02T19:44:57.009074Z [info ] Executing session fixture: event_loop_policy [conftest] 2026-07-02T19:44:57.009362Z [info ] Executing session fixture: _syrupy_apply_ide_patches [conftest] 2026-07-02T19:44:57.009515Z [info ] Executing session fixture: tmp_path_factory [conftest] 2026-07-02T19:44:57.009717Z [info ] Executing session fixture: tests_tmp_dir [conftest] 2026-07-02T19:44:57.010488Z [info ] Executing session fixture: os_path_environment [conftest] 2026-07-02T19:44:57.010682Z [info ] Executing session fixture: tmpdir_factory [conftest] 2026-07-02T19:44:57.010861Z [info ] Executing session fixture: bin_directory [conftest] 2026-07-02T19:44:57.011541Z [info ] Executing session fixture: oc_binary_path [conftest] 2026-07-02T19:44:57.041743Z [info ] kind: ConsoleCLIDownload api version: console.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:44:57.077504Z [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-02T19:44:57.077702Z [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-02T19:45:01.241620Z [info ] Extract the downloaded archive. [utilities.infra] name=utilities.infra 2026-07-02T19:45:01.499155Z [info ] Downloaded file: ['oc']  [utilities.infra] name=utilities.infra 2026-07-02T19:45:01.579657Z [info ] Executing session fixture: bin_directory_to_os_path [conftest] 2026-07-02T19:45:01.575202Z [info ] OC binary path: /tmp/pytest-gVv5cgwSQYCZNYTjPbhbuv/bin0/oc [tests.conftest] name=tests.conftest 2026-07-02T19:45:01.575301Z [info ] Adding /tmp/pytest-gVv5cgwSQYCZNYTjPbhbuv/bin0 to $PATH [tests.conftest] name=tests.conftest 2026-07-02T19:45:01.580519Z [info ] Executing session fixture: nodes [conftest] 2026-07-02T19:45:02.650027Z [info ] Executing session fixture: dsci_resource [conftest] 2026-07-02T19:45:02.650198Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] 2026-07-02T19:45:02.666777Z [info ] Executing session fixture: record_testsuite_property [conftest] 2026-07-02T19:45:02.666908Z [info ] Executing session fixture: junitxml_plugin [conftest] 2026-07-02T19:45:02.667020Z [info ] Executing session fixture: cluster_sanity_scope_session [conftest] 2026-07-02T19:45:02.666090Z [info ] Check cluster sanity.  [utilities.infra] name=utilities.infra 2026-07-02T19:45:02.667235Z [info ] Verify all nodes are in a healthy condition. [ocp_utilities.infra] 2026-07-02T19:45:02.801567Z [info ] Verify all nodes are schedulable. [ocp_utilities.infra] 2026-07-02T19:45:02.928156Z [warning ] Skipping RHOAI resource checks, got --cluster-sanity-skip-rhoai-check [utilities.infra] name=utilities.infra 2026-07-02T19:45:02.929075Z [info ] Executing session fixture: autouse_fixtures [conftest] 2026-07-02T19:45:02.929235Z [info ] Executing session fixture: kserve_health_check [conftest] 2026-07-02T19:45:02.975665Z [info ] kind: Deployment api version: apps/v1 [ocp_resources.resource] 2026-07-02T19:45:03.100429Z [info ] KServe component health check passed [tests.model_serving.model_server.kserve.conftest] 2026-07-02T19:45:03.100622Z [info ] Executing session fixture: pytestconfig [conftest] 2026-07-02T19:45:03.100784Z [info ] Executing session fixture: aws_access_key_id [conftest] 2026-07-02T19:45:03.100936Z [info ] Executing session fixture: aws_secret_access_key [conftest] 2026-07-02T19:45:03.101080Z [info ] Executing session fixture: ci_s3_bucket_endpoint [conftest] 2026-07-02T19:45:03.101330Z [info ] Executing session fixture: valid_aws_config [conftest] 2026-07-02T19:45:03.151545Z [info ] AWS credentials validated successfully via STS GetCallerIdentity [tests.conftest] name=tests.conftest 2026-07-02T19:45:03.153964Z [info ] Executing session fixture: use_unprivileged_client [conftest] 2026-07-02T19:45:03.154083Z [info ] Executing session fixture: kubconfig_filepath [conftest] 2026-07-02T19:45:03.154198Z [info ] Executing session fixture: cluster_authentication [conftest] 2026-07-02T19:45:03.154333Z [info ] kind: Authentication api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:03.167928Z [info ] Executing session fixture: is_byoidc [conftest] 2026-07-02T19:45:03.184768Z [info ] Executing session fixture: non_admin_user_password [conftest] 2026-07-02T19:45:03.184957Z [info ] Executing session fixture: unprivileged_client [conftest] 2026-07-02T19:45:03.181178Z [warning ] Unprivileged client is not enabled, using admin client [tests.conftest] name=tests.conftest 2026-07-02T19:45:03.185206Z [info ] Executing session fixture: teardown_resources [conftest] 2026-07-02T19:45:03.185331Z [info ] Executing session fixture: ci_s3_bucket_name [conftest] 2026-07-02T19:45:03.185542Z [info ] Executing session fixture: ci_s3_bucket_region [conftest] 2026-07-02T19:45:03.185684Z [info ] Executing session fixture: models_s3_bucket_name [conftest] 2026-07-02T19:45:03.185801Z [info ] Executing session fixture: models_s3_bucket_region [conftest] 2026-07-02T19:45:03.185907Z [info ] Executing session fixture: models_s3_bucket_endpoint [conftest] 2026-07-02T19:45:03.186017Z [info ] Executing class fixture: unprivileged_model_namespace [conftest] 2026-07-02T19:45:03.186125Z [info ] kind: ProjectRequest api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:03.186229Z [info ] Create ProjectRequest test-kserve-raw-token-authentication [ocp_resources ProjectRequest] 2026-07-02T19:45:03.186344Z [info ] Posting {'apiVersion': 'project.openshift.io/v1', 'kind': 'ProjectRequest', 'metadata': {'name': 'test-kserve-raw-token-authentication'}} [ocp_resources ProjectRequest] 2026-07-02T19:45:03.297999Z [info ] kind: Project api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:03.298143Z [info ] Wait for Project test-kserve-raw-token-authentication status to be Active [ocp_resources Project] 2026-07-02T19:45:03.314303Z [info ] Status of Project test-kserve-raw-token-authentication is Active [ocp_resources Project] 2026-07-02T19:45:03.314644Z [info ] Executing class fixture: http_s3_ovms_serving_runtime [conftest] 2026-07-02T19:45:03.314898Z [info ] kind: Template api version: template.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:03.406080Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T19:45:03.406500Z [info ] Create ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-02T19:45:03.406881Z [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-02T19:45:03.449577Z [info ] Executing class fixture: ci_endpoint_s3_secret [conftest] 2026-07-02T19:45:03.469920Z [info ] Create Secret ci-bucket-secret [ocp_resources Secret] 2026-07-02T19:45:03.470282Z [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-02T19:45:03.500072Z [info ] Wait until Secret ci-bucket-secret is created [ocp_resources Secret] 2026-07-02T19:45:03.513295Z [info ] Executing class fixture: models_endpoint_s3_secret [conftest] 2026-07-02T19:45:03.530092Z [info ] Create Secret models-bucket-secret [ocp_resources Secret] 2026-07-02T19:45:03.530365Z [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-02T19:45:03.560060Z [info ] Wait until Secret models-bucket-secret is created [ocp_resources Secret] 2026-07-02T19:45:03.574781Z [info ] Executing class fixture: model_service_account [conftest] 2026-07-02T19:45:03.574944Z [info ] Create ServiceAccount models-bucket-sa [ocp_resources ServiceAccount] 2026-07-02T19:45:03.575099Z [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-02T19:45:03.607437Z [info ] Executing class fixture: http_s3_ovms_raw_inference_service [conftest] 2026-07-02T19:45:03.626845Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-07-02T19:45:03.626995Z [info ] Create InferenceService http-onnx [ocp_resources InferenceService] 2026-07-02T19:45:03.627141Z [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-02T19:45:03.745787Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-02T19:45:04.771745Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-02T19:45:04.825640Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-07-02T19:45:25.156095Z [info ] kind: Deployment api version: apps/v1 [ocp_resources.resource] 2026-07-02T19:45:25.173936Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-02T19:45:25.244299Z [info ] Wait for Deployment http-onnx-predictor to be deployed: True [ocp_resources Deployment] 2026-07-02T19:45:25.272393Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-02T19:45:25.272639Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-07-02T19:45:25.344286Z [info ] Executing class fixture: http_raw_view_role [conftest] 2026-07-02T19:45:25.344650Z [info ] kind: Role api version: rbac.authorization.k8s.io/v1 [ocp_resources.resource] 2026-07-02T19:45:25.344774Z [info ] Create Role http-onnx-view  [ocp_resources Role] 2026-07-02T19:45:25.344899Z [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-02T19:45:25.373183Z [info ] Executing class fixture: http_raw_role_binding [conftest] 2026-07-02T19:45:25.373544Z [info ] kind: RoleBinding api version: rbac.authorization.k8s.io/v1 [ocp_resources.resource] 2026-07-02T19:45:25.373690Z [info ] Create RoleBinding http-models-bucket-sa-view [ocp_resources RoleBinding] 2026-07-02T19:45:25.373810Z [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-02T19:45:25.403044Z [info ] Executing class fixture: http_raw_inference_token [conftest] 2026-07-02T19:45:25.403223Z [info ] Running oc create token -n test-kserve-raw-token-authentication models-bucket-sa command [pyhelper_utils.shell] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-02T19:45:25.591873Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T19:45:25.644062Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T19:45:25.650479Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:25.749163Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:25.764930Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-02T19:45:25.783425Z [info ] Running Hide By User command  [pyhelper_utils.shell] PASSED2026-07-02T19:45:25.850405Z [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: Thu, 02 Jul 2026 19:45:25 GMT set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=7b7bb33be2ffee59fcbe15a21c7d8384; 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 _ 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]  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-02T19:45:25.860178Z [info ] Executing function fixture: patched_remove_raw_authentication_isvc [conftest] 2026-07-02T19:45:25.860296Z [info ] ResourceEdit: Backing up old data [ocp_resources.resource] 2026-07-02T19:45:25.878071Z [info ] ResourceEdits: Updating data for resource InferenceService http-onnx [ocp_resources.resource] 2026-07-02T19:45:25.878402Z [info ] Update InferenceService http-onnx: {'metadata': {'annotations': {'security.opendatahub.io/enable-auth': 'false'}, 'name': 'http-onnx'}} [ocp_resources InferenceService] 2026-07-02T19:45:25.918032Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-02T19:45:25.918301Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-07-02T19:45:25.989007Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-02T19:45:26.175731Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T19:45:26.226327Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T19:45:26.230562Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:26.310133Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:26.323454Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-02T19:45:26.393075Z [info ] Inference output: HTTP/1.0 400 Bad Request set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=7b7bb33be2ffee59fcbe15a21c7d8384; path=/; HttpOnly; Secure; SameSite=None Client sent an HTTP request to an HTTPS server.  [utilities.inference_utils] name=utilities.inference_utils 2026-07-02T19:45:31.424762Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T19:45:31.471317Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T19:45:31.475455Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:31.540353Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:31.560261Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-02T19:45:31.631224Z [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=db3cb06e6b6427fd7242b9bce83cd015; 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-02T19:45:31.631446Z [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-02T19:45:31.668250Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T19:45:31.718047Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T19:45:31.726245Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:31.809774Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:31.827942Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils PASSED2026-07-02T19:45:31.902169Z [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=db3cb06e6b6427fd7242b9bce83cd015; 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-02T19:45:31.904447Z [info ] ResourceEdits: Restoring data for resource InferenceService http-onnx [ocp_resources.resource] 2026-07-02T19:45:31.904608Z [info ] Update InferenceService http-onnx: {'metadata': {'annotations': {'security.opendatahub.io/enable-auth': 'true'}, 'name': 'http-onnx'}} [ocp_resources InferenceService] 2026-07-02T19:45:31.935316Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-02T19:45:31.935466Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-07-02T19:45:33.008560Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-02T19:45:33.117332Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T19:45:33.157289Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T19:45:33.163511Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:33.224353Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:33.236898Z [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-02T19:45:33.562228Z [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=db3cb06e6b6427fd7242b9bce83cd015; 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-02T19:45:33.562394Z [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-02T19:45:33.592421Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T19:45:33.632063Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T19:45:33.638219Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:33.700315Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:33.713054Z [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-02T19:45:33.771945Z [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=db3cb06e6b6427fd7242b9bce83cd015; 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-02T19:45:33.775773Z [info ] Executing class fixture: model_service_account_2 [conftest] 2026-07-02T19:45:33.775881Z [info ] Create ServiceAccount models-bucket-sa-2 [ocp_resources ServiceAccount] 2026-07-02T19:45:33.775983Z [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-02T19:45:33.803147Z [info ] Executing class fixture: http_s3_ovms_raw_inference_service_2 [conftest] 2026-07-02T19:45:33.817061Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-07-02T19:45:33.817233Z [info ] Create InferenceService http-onnx-2 [ocp_resources InferenceService] 2026-07-02T19:45:33.817397Z [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-02T19:45:33.856918Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-02T19:45:34.884434Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-02T19:45:34.936960Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-07-02T19:45:45.087652Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-02T19:45:45.142021Z [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-02T19:45:45.168029Z [info ] Wait for InferenceService/http-onnx-2's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-02T19:45:45.168172Z [info ] Wait until InferenceService http-onnx-2 is created [ocp_resources InferenceService] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-02T19:45:45.775879Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T19:45:45.816817Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T19:45:45.822879Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:45.897813Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:46.061978Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils PASSED2026-07-02T19:45:46.421346Z [info ] Inference output: HTTP/1.1 403 Forbidden content-type: text/plain; charset=utf-8 x-content-type-options: nosniff date: Thu, 02 Jul 2026 19:45:46 GMT content-length: 145 set-cookie: 69f764f782e5acf3035b89de67f2b2b6=2e5557db11d1ace2e73b82a471afd715; 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-02T19:45:46.423517Z [info ] Delete InferenceService http-onnx-2 [ocp_resources InferenceService] 2026-07-02T19:45:46.455290Z [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-02T19:45:33Z', 'finalizers': ['odh.inferenceservice.finalizers', '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-02T19:45:33Z'}, {'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-02T19:45:33Z'}, {'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-02T19:45:44Z'}], 'name': 'http-onnx-2', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '375749664', 'uid': '4a129aee-3e34-40cf-8410-b9589d077c70'}, '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-02T19:45:34Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-07-02T19:45:44Z', 'message': 'ReplicaSet "http-onnx-2-predictor-59996c845b" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-07-02T19:45:44Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-07-02T19:45:34Z', '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-02T19:45:46.474091Z [info ] Wait until InferenceService http-onnx-2 is deleted [ocp_resources InferenceService] 2026-07-02T19:45:47.520188Z [info ] Delete ServiceAccount models-bucket-sa-2 [ocp_resources ServiceAccount] 2026-07-02T19:45:47.835236Z [info ] Deleting {'kind': 'ServiceAccount', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-sa-2', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '9cca109c-2201-4933-9894-3b924235753c', 'resourceVersion': '375749428', 'creationTimestamp': '2026-07-02T19:45:33Z', 'annotations': {'openshift.io/internal-registry-pull-secret-ref': 'models-bucket-sa-2-dockercfg-mrfpr'}, 'managedFields': [{'manager': 'openshift.io/image-registry-pull-secrets_service-account-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-02T19:45:33Z', '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-mrfpr"}': {}}}}, {'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-02T19:45:33Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:secrets': {'.': {}, 'k:{"name":"models-bucket-secret"}': {}}}}]}, 'secrets': [{'name': 'models-bucket-secret'}, {'name': 'models-bucket-sa-2-dockercfg-mrfpr'}], 'imagePullSecrets': [{'name': 'models-bucket-sa-2-dockercfg-mrfpr'}]} [ocp_resources ServiceAccount] 2026-07-02T19:45:47.850775Z [info ] Wait until ServiceAccount models-bucket-sa-2 is deleted [ocp_resources ServiceAccount] 2026-07-02T19:45:47.906306Z [info ] Delete RoleBinding http-models-bucket-sa-view [ocp_resources RoleBinding] 2026-07-02T19:45:47.931522Z [info ] Deleting {'kind': 'RoleBinding', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'metadata': {'name': 'http-models-bucket-sa-view', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '6deb5625-6156-4949-a804-6c6363b151de', 'resourceVersion': '375749210', 'creationTimestamp': '2026-07-02T19:45:25Z', 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'time': '2026-07-02T19:45:25Z', '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-02T19:45:47.947271Z [info ] Wait until RoleBinding http-models-bucket-sa-view is deleted [ocp_resources RoleBinding] 2026-07-02T19:45:47.960491Z [info ] Delete Role http-onnx-view  [ocp_resources Role] 2026-07-02T19:45:47.985543Z [info ] Deleting {'kind': 'Role', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'metadata': {'name': 'http-onnx-view', 'namespace': 'test-kserve-raw-token-authentication', 'uid': 'dbe88b5f-2049-4902-a4ec-a0d54d72182c', 'resourceVersion': '375749209', 'creationTimestamp': '2026-07-02T19:45:25Z', 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'time': '2026-07-02T19:45:25Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:rules': {}}}]}, 'rules': [{'verbs': ['get'], 'apiGroups': ['serving.kserve.io'], 'resources': ['inferenceservices'], 'resourceNames': ['http-onnx']}]} [ocp_resources Role] 2026-07-02T19:45:48.002496Z [info ] Wait until Role http-onnx-view is deleted [ocp_resources Role] 2026-07-02T19:45:48.016271Z [info ] Delete InferenceService http-onnx [ocp_resources InferenceService] 2026-07-02T19:45:48.048226Z [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-02T19:45:03Z', 'finalizers': ['odh.inferenceservice.finalizers', '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-02T19:45:03Z'}, {'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-02T19:45:31Z'}, {'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-02T19:45:32Z'}], 'name': 'http-onnx', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '375749391', 'uid': '2697cd75-c38a-413a-a93f-c2dd83385a50'}, '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-02T19:45:04Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-07-02T19:45:32Z', 'message': 'ReplicaSet "http-onnx-predictor-66d9b4d854" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-07-02T19:45:32Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-07-02T19:45:04Z', '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-02T19:45:48.069753Z [info ] Wait until InferenceService http-onnx is deleted [ocp_resources InferenceService] 2026-07-02T19:45:49.099881Z [info ] Delete ServiceAccount models-bucket-sa [ocp_resources ServiceAccount] 2026-07-02T19:45:49.126915Z [info ] Deleting {'kind': 'ServiceAccount', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-sa', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '531af0de-8268-47d8-ae46-b4d4b267caea', 'resourceVersion': '375748722', 'creationTimestamp': '2026-07-02T19:45:03Z', 'annotations': {'openshift.io/internal-registry-pull-secret-ref': 'models-bucket-sa-dockercfg-vqq2n'}, 'managedFields': [{'manager': 'openshift.io/image-registry-pull-secrets_service-account-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-02T19:45:03Z', '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-vqq2n"}': {}}}}, {'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-02T19:45:03Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:secrets': {'.': {}, 'k:{"name":"models-bucket-secret"}': {}}}}]}, 'secrets': [{'name': 'models-bucket-secret'}, {'name': 'models-bucket-sa-dockercfg-vqq2n'}], 'imagePullSecrets': [{'name': 'models-bucket-sa-dockercfg-vqq2n'}]} [ocp_resources ServiceAccount] 2026-07-02T19:45:49.142714Z [info ] Wait until ServiceAccount models-bucket-sa is deleted [ocp_resources ServiceAccount] 2026-07-02T19:45:49.159347Z [info ] Delete Secret models-bucket-secret [ocp_resources Secret] 2026-07-02T19:45:49.193979Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-secret', 'namespace': 'test-kserve-raw-token-authentication', 'uid': 'f074c764-8e88-4ff2-8c3a-b14e995005d3', 'resourceVersion': '375748719', 'creationTimestamp': '2026-07-02T19:45:03Z', '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-02T19:45:03Z', '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-02T19:45:49.209514Z [info ] Wait until Secret models-bucket-secret is deleted [ocp_resources Secret] 2026-07-02T19:45:49.223156Z [info ] Delete Secret ci-bucket-secret [ocp_resources Secret] 2026-07-02T19:45:49.256320Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'ci-bucket-secret', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '080cf9bb-c7b1-4504-8966-840c56446111', 'resourceVersion': '375748715', 'creationTimestamp': '2026-07-02T19:45:03Z', '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-02T19:45:03Z', '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-02T19:45:49.275572Z [info ] Wait until Secret ci-bucket-secret is deleted [ocp_resources Secret] 2026-07-02T19:45:49.289695Z [info ] Delete ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-02T19:45:49.319177Z [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-02T19:45:03Z', '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-02T19:45:03Z'}], 'name': 'http-mnist-runtime', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '375748710', 'uid': '53813574-5e77-4869-a2e6-f11e5862dbb3'}, '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-02T19:45:49.336530Z [info ] Wait until ServingRuntime http-mnist-runtime is deleted [ocp_resources ServingRuntime] 2026-07-02T19:45:49.399327Z [info ] Delete Project test-kserve-raw-token-authentication [ocp_resources Project] 2026-07-02T19:45:49.452285Z [info ] Deleting {'kind': 'Project', 'apiVersion': 'project.openshift.io/v1', 'metadata': {'name': 'test-kserve-raw-token-authentication', 'uid': '7bfa6545-38c4-40ff-a3ab-a10aad5c557c', 'resourceVersion': '375748690', 'creationTimestamp': '2026-07-02T19:45:03Z', '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:c40,c10', 'openshift.io/sa.scc.supplemental-groups': '1001580000/10000', 'openshift.io/sa.scc.uid-range': '1001580000/10000', 'security.openshift.io/MinimallySufficientPodSecurityStandard': 'restricted'}, 'managedFields': [{'manager': 'pod-security-admission-label-synchronization-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-02T19:45:03Z', '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-02T19:45:03Z', '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-02T19:45:03Z', '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-02T19:45:03Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {'f:finalizers': {}}}, 'subresource': 'finalize'}]}, 'spec': {'finalizers': ['kubernetes']}, 'status': {'phase': 'Active'}} [ocp_resources Project] 2026-07-02T19:45:49.477541Z [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-02T19:45:57.632357Z [info ] Executing class fixture: unprivileged_model_namespace [conftest] 2026-07-02T19:45:57.632497Z [info ] kind: ProjectRequest api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:57.632648Z [info ] Create ProjectRequest test-non-admin-raw [ocp_resources ProjectRequest] 2026-07-02T19:45:57.632760Z [info ] Posting {'apiVersion': 'project.openshift.io/v1', 'kind': 'ProjectRequest', 'metadata': {'name': 'test-non-admin-raw'}} [ocp_resources ProjectRequest] 2026-07-02T19:45:57.745320Z [info ] kind: Project api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:57.745469Z [info ] Wait for Project test-non-admin-raw status to be Active [ocp_resources Project] 2026-07-02T19:45:57.762101Z [info ] Status of Project test-non-admin-raw is Active [ocp_resources Project] 2026-07-02T19:45:57.762315Z [info ] Executing class fixture: http_s3_ovms_serving_runtime [conftest] 2026-07-02T19:45:57.762454Z [info ] kind: Template api version: template.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:45:57.803913Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T19:45:57.804067Z [info ] Create ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-02T19:45:57.804235Z [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-02T19:45:57.845565Z [info ] Executing class fixture: unprivileged_ci_endpoint_s3_secret [conftest] 2026-07-02T19:45:57.863030Z [info ] Create Secret ci-bucket-unprivileged [ocp_resources Secret] 2026-07-02T19:45:57.863205Z [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-02T19:45:57.895042Z [info ] Wait until Secret ci-bucket-unprivileged is created [ocp_resources Secret] 2026-07-02T19:45:57.908295Z [info ] Executing class fixture: unprivileged_s3_ovms_raw_inference_service [conftest] 2026-07-02T19:45:57.921797Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-07-02T19:45:57.921952Z [info ] Create InferenceService http-onnx-raw [ocp_resources InferenceService] 2026-07-02T19:45:57.922095Z [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-02T19:45:57.962714Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-02T19:45:58.990959Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-02T19:45:59.062750Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-07-02T19:46:09.398900Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-02T19:46:09.504338Z [info ] Wait for Deployment http-onnx-raw-predictor to be deployed: True [ocp_resources Deployment] 2026-07-02T19:46:09.552868Z [info ] Wait for InferenceService/http-onnx-raw's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-02T19:46:09.553048Z [info ] Wait until InferenceService http-onnx-raw is created [ocp_resources InferenceService] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-02T19:46:09.734051Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T19:46:09.802006Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T19:46:09.997807Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:46:10.071282Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-02T19:46:10.083931Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils [2026-07-02T19:46:10Z WARN kube_client::client::tls::rustls_tls] Server cert bypassed PASSED2026-07-02T19:46:10.887627Z [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-02T19:46:10.890267Z [info ] Delete InferenceService http-onnx-raw [ocp_resources InferenceService] 2026-07-02T19:46:10.945382Z [info ] Deleting {'apiVersion': 'serving.kserve.io/v1beta1', 'kind': 'InferenceService', 'metadata': {'annotations': {'modelFormat': 'openvino_ir', 'serving.kserve.io/deploymentMode': 'Standard'}, 'creationTimestamp': '2026-07-02T19:45:57Z', '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-02T19:45:57Z'}, {'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-02T19:45:58Z'}, {'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-02T19:46:08Z'}], 'name': 'http-onnx-raw', 'namespace': 'test-non-admin-raw', 'resourceVersion': '375750332', 'uid': '69750e9f-f09f-46ed-9d14-66b09760c21a'}, '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-02T19:45:58Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-07-02T19:46:08Z', 'message': 'ReplicaSet "http-onnx-raw-predictor-6fbd98c4f" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-07-02T19:46:08Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-07-02T19:45:58Z', '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-02T19:46:10.978812Z [info ] Wait until InferenceService http-onnx-raw is deleted [ocp_resources InferenceService] 2026-07-02T19:46:12.013176Z [info ] Delete Secret ci-bucket-unprivileged [ocp_resources Secret] 2026-07-02T19:46:12.111966Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'ci-bucket-unprivileged', 'namespace': 'test-non-admin-raw', 'uid': '0970bba9-a5d5-46a4-90c3-b1aad695c885', 'resourceVersion': '375750082', 'creationTimestamp': '2026-07-02T19:45:57Z', '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-02T19:45:57Z', '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-02T19:46:12.132447Z [info ] Wait until Secret ci-bucket-unprivileged is deleted [ocp_resources Secret] 2026-07-02T19:46:12.149676Z [info ] Delete ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-02T19:46:12.182204Z [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-02T19:45:57Z', '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-02T19:45:57Z'}], 'name': 'http-mnist-runtime', 'namespace': 'test-non-admin-raw', 'resourceVersion': '375750078', 'uid': 'efe3318b-f16d-42a4-a6f0-141596d4c239'}, '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-02T19:46:12.202117Z [info ] Wait until ServingRuntime http-mnist-runtime is deleted [ocp_resources ServingRuntime] 2026-07-02T19:46:12.235514Z [info ] Delete Project test-non-admin-raw [ocp_resources Project] 2026-07-02T19:46:12.281010Z [info ] Deleting {'kind': 'Project', 'apiVersion': 'project.openshift.io/v1', 'metadata': {'name': 'test-non-admin-raw', 'uid': 'f845aa1e-5093-4614-8dba-963ed45ce482', 'resourceVersion': '375750070', 'creationTimestamp': '2026-07-02T19:45:57Z', '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:c40,c20', 'openshift.io/sa.scc.supplemental-groups': '1001600000/10000', 'openshift.io/sa.scc.uid-range': '1001600000/10000', 'security.openshift.io/MinimallySufficientPodSecurityStandard': 'restricted'}, 'managedFields': [{'manager': 'pod-security-admission-label-synchronization-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-02T19:45:57Z', '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-02T19:45:57Z', '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-02T19:45:57Z', '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-02T19:45:57Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {'f:finalizers': {}}}, 'subresource': 'finalize'}]}, 'spec': {'finalizers': ['kubernetes']}, 'status': {'phase': 'Active'}} [ocp_resources Project] 2026-07-02T19:46:12.310344Z [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, 246 warnings in 84.01s (0:01:24) ========== =============================== warnings summary =============================== tests/model_serving/model_server/kserve/authentication/test_kserve_token_authentication_raw.py: 168 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, 246 warnings in 84.01s (0:01:24) ==========