--- BVT pytest attempt 2026-06-14T08:33:17.503730+00:00 (/.local/bin/uv run pytest...) --- 2026-06-14T08:33:18.680175Z [info ] Writing tests log to /home/odh/opendatahub-tests/results/pytest-tests.log [conftest] 2026-06-14T08:33:18.680643Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-06-14T08:33:18.687491Z [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:1097: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-23.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-06-14T08:33:18.766695Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] 2026-06-14T08:33:18.790750Z [info ] Running model registry tests against default namespace [conftest] 2026-06-14T08:33:18.790999Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] ============================= test session starts ============================== platform linux -- Python 3.14.5, pytest-9.0.3, pluggy-1.6.0 -- /home/odh/opendatahub-tests/.venv/bin/python cachedir: .pytest_cache metadata: {'Python': '3.14.5', 'Platform': 'Linux-5.14.0-427.115.1.el9_4.x86_64-x86_64-with-glibc2.42', 'Packages': {'pytest': '9.0.3', 'pluggy': '1.6.0'}, 'Plugins': {'anyio': '4.13.0', 'asyncio': '1.3.0', 'dependency': '0.6.1', 'html': '4.2.0', 'metadata': '3.1.1', 'order': '1.3.0', 'progress': '1.4.0', 'testconfig': '0.2.0', 'xdist': '3.8.0', 'syrupy': '5.1.0'}} rootdir: /home/odh/opendatahub-tests configfile: pytest.ini plugins: anyio-4.13.0, asyncio-1.3.0, dependency-0.6.1, html-4.2.0, metadata-3.1.1, order-1.3.0, progress-1.4.0, testconfig-0.2.0, xdist-3.8.0, syrupy-5.1.0 asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collecting ... collected 191 items / 186 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-06-14T08:33:19.212162Z [info ] Executing session fixture: admin_client [conftest] 2026-06-14T08:33:19.212343Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-06-14T08:33:19.216455Z [info ] Executing session fixture: dsc_resource [conftest] 2026-06-14T08:33:19.216778Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] 2026-06-14T08:33:19.286208Z [info ] Executing package fixture: enabled_kserve_in_dsc [conftest] 2026-06-14T08:33:19.304087Z [warning ] Component kserve was already set to managementState Managed [utilities.data_science_cluster_utils] name=utilities.data_science_cluster_utils 2026-06-14T08:33:19.305425Z [info ] Executing session fixture: event_loop_policy [conftest] 2026-06-14T08:33:19.305565Z [info ] Executing session fixture: _syrupy_apply_ide_patches [conftest] 2026-06-14T08:33:19.305696Z [info ] Executing session fixture: tmp_path_factory [conftest] 2026-06-14T08:33:19.305842Z [info ] Executing session fixture: tests_tmp_dir [conftest] 2026-06-14T08:33:19.307033Z [info ] Executing session fixture: os_path_environment [conftest] 2026-06-14T08:33:19.307375Z [info ] Executing session fixture: tmpdir_factory [conftest] 2026-06-14T08:33:19.307494Z [info ] Executing session fixture: bin_directory [conftest] 2026-06-14T08:33:19.308917Z [info ] Executing session fixture: oc_binary_path [conftest] 2026-06-14T08:33:19.309208Z [info ] kind: ConsoleCLIDownload api version: console.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:19.334076Z [info ] All oc console cli download links: ['https://downloads-openshift-console.apps.ods-qe-psi-23.osp.rh-ods.com/amd64/linux/oc.tar'] [utilities.infra] name=utilities.infra 2026-06-14T08:33:19.334259Z [info ] Downloading archive using: url=https://downloads-openshift-console.apps.ods-qe-psi-23.osp.rh-ods.com/amd64/linux/oc.tar [utilities.infra] name=utilities.infra 2026-06-14T08:33:21.212584Z [info ] Extract the downloaded archive. [utilities.infra] name=utilities.infra 2026-06-14T08:33:21.406253Z [info ] Downloaded file: ['oc']  [utilities.infra] name=utilities.infra 2026-06-14T08:33:21.436420Z [info ] Executing session fixture: bin_directory_to_os_path [conftest] 2026-06-14T08:33:21.434307Z [info ] OC binary path: /tmp/pytest-4fN5oV6er7A4Ws5gW4bwwS/bin0/oc [tests.conftest] name=tests.conftest 2026-06-14T08:33:21.434372Z [info ] Adding /tmp/pytest-4fN5oV6er7A4Ws5gW4bwwS/bin0 to $PATH [tests.conftest] name=tests.conftest 2026-06-14T08:33:21.436881Z [info ] Executing session fixture: nodes [conftest] 2026-06-14T08:33:21.488986Z [info ] Executing session fixture: dsci_resource [conftest] 2026-06-14T08:33:21.489131Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] 2026-06-14T08:33:21.503667Z [info ] Executing session fixture: record_testsuite_property [conftest] 2026-06-14T08:33:21.503848Z [info ] Executing session fixture: junitxml_plugin [conftest] 2026-06-14T08:33:21.504050Z [info ] Executing session fixture: cluster_sanity_scope_session [conftest] 2026-06-14T08:33:21.503096Z [info ] Check cluster sanity.  [utilities.infra] name=utilities.infra 2026-06-14T08:33:21.504314Z [info ] Verify all nodes are in a healthy condition. [ocp_utilities.infra] 2026-06-14T08:33:21.598643Z [info ] Verify all nodes are schedulable. [ocp_utilities.infra] 2026-06-14T08:33:21.680877Z [info ] Wait for DSCI default-dsci to be in Ready status. [utilities.infra] name=utilities.infra 2026-06-14T08:33:21.681551Z [info ] Get DSCInitialization default-dsci status [ocp_resources DSCInitialization] 2026-06-14T08:33:21.693948Z [info ] Wait for DSC default-dsc are Ready. [utilities.infra] name=utilities.infra 2026-06-14T08:33:21.694569Z [info ] Get DataScienceCluster default-dsc status [ocp_resources DataScienceCluster] 2026-06-14T08:33:21.708891Z [info ] Executing session fixture: autouse_fixtures [conftest] 2026-06-14T08:33:21.709101Z [info ] Executing session fixture: kserve_health_check [conftest] 2026-06-14T08:33:21.739205Z [info ] kind: Deployment api version: apps/v1 [ocp_resources.resource] 2026-06-14T08:33:21.790249Z [info ] KServe component health check passed [tests.model_serving.model_server.kserve.conftest] 2026-06-14T08:33:21.790377Z [info ] Executing session fixture: pytestconfig [conftest] 2026-06-14T08:33:21.790480Z [info ] Executing session fixture: aws_access_key_id [conftest] 2026-06-14T08:33:21.790582Z [info ] Executing session fixture: aws_secret_access_key [conftest] 2026-06-14T08:33:21.790688Z [info ] Executing session fixture: ci_s3_bucket_endpoint [conftest] 2026-06-14T08:33:21.790886Z [info ] Executing session fixture: valid_aws_config [conftest] 2026-06-14T08:33:21.847544Z [info ] AWS credentials validated successfully via STS GetCallerIdentity [tests.conftest] name=tests.conftest 2026-06-14T08:33:21.850131Z [info ] Executing session fixture: use_unprivileged_client [conftest] 2026-06-14T08:33:21.850385Z [info ] Executing session fixture: kubconfig_filepath [conftest] 2026-06-14T08:33:21.850491Z [info ] Executing session fixture: cluster_authentication [conftest] 2026-06-14T08:33:21.850603Z [info ] kind: Authentication api version: config.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:21.863639Z [info ] Executing session fixture: is_byoidc [conftest] 2026-06-14T08:33:21.880075Z [info ] Executing session fixture: non_admin_user_password [conftest] 2026-06-14T08:33:21.880406Z [info ] Executing session fixture: unprivileged_client [conftest] 2026-06-14T08:33:21.876710Z [warning ] Unprivileged client is not enabled, using admin client [tests.conftest] name=tests.conftest 2026-06-14T08:33:21.880625Z [info ] Executing session fixture: teardown_resources [conftest] 2026-06-14T08:33:21.880734Z [info ] Executing session fixture: ci_s3_bucket_name [conftest] 2026-06-14T08:33:21.880869Z [info ] Executing session fixture: ci_s3_bucket_region [conftest] 2026-06-14T08:33:21.880980Z [info ] Executing session fixture: models_s3_bucket_name [conftest] 2026-06-14T08:33:21.881085Z [info ] Executing session fixture: models_s3_bucket_region [conftest] 2026-06-14T08:33:21.881191Z [info ] Executing session fixture: models_s3_bucket_endpoint [conftest] 2026-06-14T08:33:21.881291Z [info ] Executing class fixture: unprivileged_model_namespace [conftest] 2026-06-14T08:33:21.881398Z [info ] kind: ProjectRequest api version: project.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:21.881502Z [info ] Create ProjectRequest test-kserve-raw-token-authentication [ocp_resources ProjectRequest] 2026-06-14T08:33:21.881610Z [info ] Posting {'apiVersion': 'project.openshift.io/v1', 'kind': 'ProjectRequest', 'metadata': {'name': 'test-kserve-raw-token-authentication'}} [ocp_resources ProjectRequest] 2026-06-14T08:33:21.985215Z [info ] kind: Project api version: project.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:21.985378Z [info ] Wait for Project test-kserve-raw-token-authentication status to be Active [ocp_resources Project] 2026-06-14T08:33:22.007773Z [info ] Status of Project test-kserve-raw-token-authentication is Active [ocp_resources Project] 2026-06-14T08:33:22.007962Z [info ] Executing class fixture: http_s3_ovms_serving_runtime [conftest] 2026-06-14T08:33:22.008120Z [info ] kind: Template api version: template.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:22.085885Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-06-14T08:33:22.086334Z [info ] Create ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-06-14T08:33:22.086540Z [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:1ab58519c50e2c3a9ebf0fee6d0708b1b5a0ae972aefcc722d87b2f62239a033', '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-06-14T08:33:22.151358Z [info ] Executing class fixture: ci_endpoint_s3_secret [conftest] 2026-06-14T08:33:22.188335Z [info ] Create Secret ci-bucket-secret [ocp_resources Secret] 2026-06-14T08:33:22.188527Z [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-06-14T08:33:22.223571Z [info ] Wait until Secret ci-bucket-secret is created [ocp_resources Secret] 2026-06-14T08:33:22.248102Z [info ] Executing class fixture: models_endpoint_s3_secret [conftest] 2026-06-14T08:33:22.269081Z [info ] Create Secret models-bucket-secret [ocp_resources Secret] 2026-06-14T08:33:22.269438Z [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-06-14T08:33:22.302250Z [info ] Wait until Secret models-bucket-secret is created [ocp_resources Secret] 2026-06-14T08:33:22.315113Z [info ] Executing class fixture: model_service_account [conftest] 2026-06-14T08:33:22.315429Z [info ] Create ServiceAccount models-bucket-sa [ocp_resources ServiceAccount] 2026-06-14T08:33:22.315554Z [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-06-14T08:33:22.343380Z [info ] Executing class fixture: http_s3_ovms_raw_inference_service [conftest] 2026-06-14T08:33:22.357139Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-06-14T08:33:22.357442Z [info ] Create InferenceService http-onnx [ocp_resources InferenceService] 2026-06-14T08:33:22.357575Z [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-06-14T08:33:22.420342Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-06-14T08:33:23.446235Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-06-14T08:33:23.501513Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-06-14T08:33:33.687959Z [info ] kind: Deployment api version: apps/v1 [ocp_resources.resource] 2026-06-14T08:33:33.703122Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-06-14T08:33:33.755639Z [info ] Wait for Deployment http-onnx-predictor to be deployed: True [ocp_resources Deployment] 2026-06-14T08:33:33.782007Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-06-14T08:33:33.782176Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-06-14T08:33:33.848661Z [info ] Executing class fixture: http_raw_view_role [conftest] 2026-06-14T08:33:33.849142Z [info ] kind: Role api version: rbac.authorization.k8s.io/v1 [ocp_resources.resource] 2026-06-14T08:33:33.849445Z [info ] Create Role http-onnx-view  [ocp_resources Role] 2026-06-14T08:33:33.849725Z [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-06-14T08:33:33.876647Z [info ] Executing class fixture: http_raw_role_binding [conftest] 2026-06-14T08:33:33.876952Z [info ] kind: RoleBinding api version: rbac.authorization.k8s.io/v1 [ocp_resources.resource] 2026-06-14T08:33:33.877080Z [info ] Create RoleBinding http-models-bucket-sa-view [ocp_resources RoleBinding] 2026-06-14T08:33:33.877198Z [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-06-14T08:33:33.904135Z [info ] Executing class fixture: http_raw_inference_token [conftest] 2026-06-14T08:33:33.904287Z [info ] Running oc create token -n test-kserve-raw-token-authentication models-bucket-sa command [pyhelper_utils.shell] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-06-14T08:33:34.072696Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-06-14T08:33:34.115164Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-06-14T08:33:34.121069Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:34.219045Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:34.235911Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils 2026-06-14T08:33:34.253777Z [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-06-14T08:33:34.318622Z [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: Sun, 14 Jun 2026 08:33:34 GMT set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=73b3b2ad1edc5c31; 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-06-14T08:33:34.326484Z [info ] Executing function fixture: patched_remove_raw_authentication_isvc [conftest] 2026-06-14T08:33:34.326615Z [info ] ResourceEdit: Backing up old data [ocp_resources.resource] 2026-06-14T08:33:34.353608Z [info ] ResourceEdits: Updating data for resource InferenceService http-onnx [ocp_resources.resource] 2026-06-14T08:33:34.353790Z [info ] Update InferenceService http-onnx: {'metadata': {'annotations': {'security.opendatahub.io/enable-auth': 'false'}, 'name': 'http-onnx'}} [ocp_resources InferenceService] 2026-06-14T08:33:34.385892Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-06-14T08:33:34.386022Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-06-14T08:33:34.441300Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-06-14T08:33:34.570399Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-06-14T08:33:34.612196Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-06-14T08:33:34.616393Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:34.682286Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:34.696690Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils 2026-06-14T08:33:34.763580Z [info ] Inference output: HTTP/1.0 400 Bad Request set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=ce73d15bb9fd5a282647fe1aebbc6bd8; path=/; HttpOnly; Secure; SameSite=None Client sent an HTTP request to an HTTPS server.  [utilities.inference_utils] name=utilities.inference_utils 2026-06-14T08:33:39.794260Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-06-14T08:33:39.833682Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-06-14T08:33:39.840121Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:39.911006Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:39.925626Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils 2026-06-14T08:33:39.985849Z [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=ab9feda0dffc6d998991002ac9b18942; 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-06-14T08:33:39.986048Z [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-06-14T08:33:40.023752Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-06-14T08:33:40.067329Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-06-14T08:33:40.072017Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:40.133727Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:40.146153Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils PASSED2026-06-14T08:33:40.211020Z [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=ab9feda0dffc6d998991002ac9b18942; 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-06-14T08:33:40.213741Z [info ] ResourceEdits: Restoring data for resource InferenceService http-onnx [ocp_resources.resource] 2026-06-14T08:33:40.214052Z [info ] Update InferenceService http-onnx: {'metadata': {'annotations': {'security.opendatahub.io/enable-auth': 'true'}, 'name': 'http-onnx'}} [ocp_resources InferenceService] 2026-06-14T08:33:40.243214Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-06-14T08:33:40.243457Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-06-14T08:33:40.299731Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-06-14T08:33:41.418977Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-06-14T08:33:41.457229Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-06-14T08:33:41.464094Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:41.534302Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:41.546907Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils 2026-06-14T08:33:46.630039Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-06-14T08:33:46.637496Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:46.721718Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:46.739422Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils 2026-06-14T08:33:51.837235Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-06-14T08:33:51.843635Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:51.910234Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:51.922542Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils 2026-06-14T08:33:57.016404Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-06-14T08:33:57.020808Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:57.084391Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:57.096792Z [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-06-14T08:33:57.169144Z [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: Sun, 14 Jun 2026 08:33:57 GMT set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=db7c20de1e2927e5; 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-06-14T08:33:57.169286Z [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-06-14T08:33:57.203603Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-06-14T08:33:57.256078Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-06-14T08:33:57.260549Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:57.325283Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:33:57.337585Z [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-06-14T08:33:57.656840Z [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: Sun, 14 Jun 2026 08:33:57 GMT set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=db7c20de1e2927e5; 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-06-14T08:33:57.661003Z [info ] Executing class fixture: model_service_account_2 [conftest] 2026-06-14T08:33:57.661111Z [info ] Create ServiceAccount models-bucket-sa-2 [ocp_resources ServiceAccount] 2026-06-14T08:33:57.661226Z [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-06-14T08:33:57.689257Z [info ] Executing class fixture: http_s3_ovms_raw_inference_service_2 [conftest] 2026-06-14T08:33:57.703166Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-06-14T08:33:57.703321Z [info ] Create InferenceService http-onnx-2 [ocp_resources InferenceService] 2026-06-14T08:33:57.703473Z [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-06-14T08:33:57.743143Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-06-14T08:33:58.769665Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-06-14T08:33:58.821522Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-06-14T08:34:19.187784Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-06-14T08:34:19.268079Z [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-06-14T08:34:19.308296Z [info ] Wait for InferenceService/http-onnx-2's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-06-14T08:34:19.308451Z [info ] Wait until InferenceService http-onnx-2 is created [ocp_resources InferenceService] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-06-14T08:34:19.469993Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-06-14T08:34:19.549525Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-06-14T08:34:19.553692Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:34:19.651422Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:34:19.664322Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils PASSED2026-06-14T08:34:19.788867Z [info ] Inference output: HTTP/1.1 403 Forbidden content-type: text/plain; charset=utf-8 x-content-type-options: nosniff date: Sun, 14 Jun 2026 08:34:19 GMT content-length: 145 set-cookie: 69f764f782e5acf3035b89de67f2b2b6=213528f19d29e6a3; 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-06-14T08:34:19.791148Z [info ] Delete InferenceService http-onnx-2 [ocp_resources InferenceService] 2026-06-14T08:34:19.849406Z [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-06-14T08:33:57Z', '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-06-14T08:33: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-06-14T08:33:57Z'}, {'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-06-14T08:34:09Z'}], 'name': 'http-onnx-2', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '182486102', 'uid': '85e32b41-1e88-4cd3-add0-6c2ec9d2efb1'}, '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-06-14T08:33:57Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-06-14T08:34:09Z', 'message': 'ReplicaSet "http-onnx-2-predictor-84b9789455" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-06-14T08:34:09Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-06-14T08:33:57Z', '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-23.osp.rh-ods.com'}} [ocp_resources InferenceService] 2026-06-14T08:34:19.878835Z [info ] Wait until InferenceService http-onnx-2 is deleted [ocp_resources InferenceService] 2026-06-14T08:34:20.926316Z [info ] Delete ServiceAccount models-bucket-sa-2 [ocp_resources ServiceAccount] 2026-06-14T08:34:20.970668Z [info ] Deleting {'kind': 'ServiceAccount', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-sa-2', 'namespace': 'test-kserve-raw-token-authentication', 'uid': 'f2035efc-bcc0-4aaf-9629-f6d78072429a', 'resourceVersion': '182485733', 'creationTimestamp': '2026-06-14T08:33:57Z', 'annotations': {'openshift.io/internal-registry-pull-secret-ref': 'models-bucket-sa-2-dockercfg-fggkk'}, 'managedFields': [{'manager': 'openshift.io/image-registry-pull-secrets_service-account-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-06-14T08:33:57Z', '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-fggkk"}': {}}}}, {'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-06-14T08:33:57Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:secrets': {'.': {}, 'k:{"name":"models-bucket-secret"}': {}}}}]}, 'secrets': [{'name': 'models-bucket-secret'}, {'name': 'models-bucket-sa-2-dockercfg-fggkk'}], 'imagePullSecrets': [{'name': 'models-bucket-sa-2-dockercfg-fggkk'}]} [ocp_resources ServiceAccount] 2026-06-14T08:34:20.995793Z [info ] Wait until ServiceAccount models-bucket-sa-2 is deleted [ocp_resources ServiceAccount] 2026-06-14T08:34:21.018120Z [info ] Delete RoleBinding http-models-bucket-sa-view [ocp_resources RoleBinding] 2026-06-14T08:34:21.059258Z [info ] Deleting {'kind': 'RoleBinding', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'metadata': {'name': 'http-models-bucket-sa-view', 'namespace': 'test-kserve-raw-token-authentication', 'uid': 'ba2d75d3-474c-46bf-8843-bf0d995fdc0a', 'resourceVersion': '182484980', 'creationTimestamp': '2026-06-14T08:33:33Z', 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'time': '2026-06-14T08:33:33Z', '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-06-14T08:34:21.078813Z [info ] Wait until RoleBinding http-models-bucket-sa-view is deleted [ocp_resources RoleBinding] 2026-06-14T08:34:21.104727Z [info ] Delete Role http-onnx-view  [ocp_resources Role] 2026-06-14T08:34:21.144112Z [info ] Deleting {'kind': 'Role', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'metadata': {'name': 'http-onnx-view', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '3003a0e5-064c-4c67-88c0-40ad892e4b78', 'resourceVersion': '182484977', 'creationTimestamp': '2026-06-14T08:33:33Z', 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'time': '2026-06-14T08:33:33Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:rules': {}}}]}, 'rules': [{'verbs': ['get'], 'apiGroups': ['serving.kserve.io'], 'resources': ['inferenceservices'], 'resourceNames': ['http-onnx']}]} [ocp_resources Role] 2026-06-14T08:34:21.174319Z [info ] Wait until Role http-onnx-view is deleted [ocp_resources Role] 2026-06-14T08:34:21.192984Z [info ] Delete InferenceService http-onnx [ocp_resources InferenceService] 2026-06-14T08:34:21.240275Z [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-06-14T08:33:22Z', '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-06-14T08:33:22Z'}, {'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-06-14T08:33:40Z'}, {'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-06-14T08:33:52Z'}], 'name': 'http-onnx', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '182485577', 'uid': 'ad383a0e-2474-48db-a83b-be61bec34651'}, '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-06-14T08:33:22Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-06-14T08:33:52Z', 'message': 'ReplicaSet "http-onnx-predictor-86778bd869" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-06-14T08:33:52Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-06-14T08:33:22Z', 'severity': 'Info', 'status': 'False', 'type': 'Stopped'}], 'deploymentMode': 'Standard', 'modelStatus': {'copies': {'failedCopies': 0, 'totalCopies': 2}, '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-23.osp.rh-ods.com'}} [ocp_resources InferenceService] 2026-06-14T08:34:21.262475Z [info ] Wait until InferenceService http-onnx is deleted [ocp_resources InferenceService] 2026-06-14T08:34:22.304062Z [info ] Delete ServiceAccount models-bucket-sa [ocp_resources ServiceAccount] 2026-06-14T08:34:22.345089Z [info ] Deleting {'kind': 'ServiceAccount', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-sa', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '241721b8-fd00-4b31-bd3b-09928ab4f4ed', 'resourceVersion': '182484595', 'creationTimestamp': '2026-06-14T08:33:22Z', 'annotations': {'openshift.io/internal-registry-pull-secret-ref': 'models-bucket-sa-dockercfg-vwxwx'}, 'managedFields': [{'manager': 'openshift.io/image-registry-pull-secrets_service-account-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-06-14T08:33:22Z', '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-vwxwx"}': {}}}}, {'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-06-14T08:33:22Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:secrets': {'.': {}, 'k:{"name":"models-bucket-secret"}': {}}}}]}, 'secrets': [{'name': 'models-bucket-secret'}, {'name': 'models-bucket-sa-dockercfg-vwxwx'}], 'imagePullSecrets': [{'name': 'models-bucket-sa-dockercfg-vwxwx'}]} [ocp_resources ServiceAccount] 2026-06-14T08:34:22.372214Z [info ] Wait until ServiceAccount models-bucket-sa is deleted [ocp_resources ServiceAccount] 2026-06-14T08:34:22.393113Z [info ] Delete Secret models-bucket-secret [ocp_resources Secret] 2026-06-14T08:34:22.442180Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-secret', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '362861ef-5a5e-44c4-a719-ab8cd79e2f41', 'resourceVersion': '182484587', 'creationTimestamp': '2026-06-14T08:33:22Z', '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-06-14T08:33:22Z', '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-06-14T08:34:22.465019Z [info ] Wait until Secret models-bucket-secret is deleted [ocp_resources Secret] 2026-06-14T08:34:22.486419Z [info ] Delete Secret ci-bucket-secret [ocp_resources Secret] 2026-06-14T08:34:22.535856Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'ci-bucket-secret', 'namespace': 'test-kserve-raw-token-authentication', 'uid': 'c6ccd99c-58d1-4dd0-ab03-feee10fea296', 'resourceVersion': '182484581', 'creationTimestamp': '2026-06-14T08:33:22Z', '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-06-14T08:33:22Z', '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-06-14T08:34:22.558997Z [info ] Wait until Secret ci-bucket-secret is deleted [ocp_resources Secret] 2026-06-14T08:34:22.580844Z [info ] Delete ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-06-14T08:34:22.626688Z [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-06-14T08:33:22Z', '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-06-14T08:33:22Z'}], 'name': 'http-mnist-runtime', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '182484576', 'uid': '48d1a195-4eb3-4c66-8004-ed489c288202'}, '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:1ab58519c50e2c3a9ebf0fee6d0708b1b5a0ae972aefcc722d87b2f62239a033', '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-06-14T08:34:22.650915Z [info ] Wait until ServingRuntime http-mnist-runtime is deleted [ocp_resources ServingRuntime] 2026-06-14T08:34:22.697228Z [info ] Delete Project test-kserve-raw-token-authentication [ocp_resources Project] 2026-06-14T08:34:22.750890Z [info ] Deleting {'kind': 'Project', 'apiVersion': 'project.openshift.io/v1', 'metadata': {'name': 'test-kserve-raw-token-authentication', 'uid': 'ddee0b03-f8e9-4432-8532-b8c1aafd55ab', 'resourceVersion': '182484558', 'creationTimestamp': '2026-06-14T08:33:21Z', '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/enforce': 'restricted', 'pod-security.kubernetes.io/enforce-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': 'odh-admin1', 'openshift.io/sa.scc.mcs': 's0:c30,c25', 'openshift.io/sa.scc.supplemental-groups': '1000920000/10000', 'openshift.io/sa.scc.uid-range': '1000920000/10000', 'security.openshift.io/MinimallySufficientPodSecurityStandard': 'restricted'}, 'managedFields': [{'manager': 'pod-security-admission-label-synchronization-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-06-14T08:33:21Z', '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/enforce': {}, 'f:pod-security.kubernetes.io/enforce-version': {}, 'f:pod-security.kubernetes.io/warn': {}, 'f:pod-security.kubernetes.io/warn-version': {}}}}}, {'manager': 'cluster-policy-controller', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-06-14T08:33:21Z', '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-06-14T08:33:21Z', '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-06-14T08:33:21Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {'f:finalizers': {}}}, 'subresource': 'finalize'}]}, 'spec': {'finalizers': ['kubernetes']}, 'status': {'phase': 'Active'}} [ocp_resources Project] 2026-06-14T08:34:22.785045Z [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-06-14T08:34:31.018897Z [info ] Executing class fixture: unprivileged_model_namespace [conftest] 2026-06-14T08:34:31.019015Z [info ] kind: ProjectRequest api version: project.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:34:31.019130Z [info ] Create ProjectRequest test-non-admin-raw [ocp_resources ProjectRequest] 2026-06-14T08:34:31.019255Z [info ] Posting {'apiVersion': 'project.openshift.io/v1', 'kind': 'ProjectRequest', 'metadata': {'name': 'test-non-admin-raw'}} [ocp_resources ProjectRequest] 2026-06-14T08:34:31.130405Z [info ] kind: Project api version: project.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:34:31.130864Z [info ] Wait for Project test-non-admin-raw status to be Active [ocp_resources Project] 2026-06-14T08:34:31.159124Z [info ] Status of Project test-non-admin-raw is Active [ocp_resources Project] 2026-06-14T08:34:31.159308Z [info ] Executing class fixture: http_s3_ovms_serving_runtime [conftest] 2026-06-14T08:34:31.159477Z [info ] kind: Template api version: template.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:34:31.213806Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-06-14T08:34:31.213960Z [info ] Create ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-06-14T08:34:31.214085Z [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:1ab58519c50e2c3a9ebf0fee6d0708b1b5a0ae972aefcc722d87b2f62239a033', '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-06-14T08:34:31.272307Z [info ] Executing class fixture: unprivileged_ci_endpoint_s3_secret [conftest] 2026-06-14T08:34:31.300663Z [info ] Create Secret ci-bucket-unprivileged [ocp_resources Secret] 2026-06-14T08:34:31.300936Z [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-06-14T08:34:31.350795Z [info ] Wait until Secret ci-bucket-unprivileged is created [ocp_resources Secret] 2026-06-14T08:34:31.373523Z [info ] Executing class fixture: unprivileged_s3_ovms_raw_inference_service [conftest] 2026-06-14T08:34:31.396643Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-06-14T08:34:31.396893Z [info ] Create InferenceService http-onnx-raw [ocp_resources InferenceService] 2026-06-14T08:34:31.397072Z [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-06-14T08:34:31.458944Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-06-14T08:34:32.516757Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-06-14T08:34:32.586014Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-06-14T08:34:42.787861Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-06-14T08:34:42.839120Z [info ] Wait for Deployment http-onnx-raw-predictor to be deployed: True [ocp_resources Deployment] 2026-06-14T08:34:42.865062Z [info ] Wait for InferenceService/http-onnx-raw's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-06-14T08:34:42.865211Z [info ] Wait until InferenceService http-onnx-raw is created [ocp_resources InferenceService] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-06-14T08:34:42.961133Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-06-14T08:34:42.988239Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-06-14T08:34:42.998763Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:34:43.065682Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-06-14T08:34:43.076526Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils [2026-06-14T08:34:43Z WARN kube_client::client::tls::rustls_tls] Server cert bypassed PASSED2026-06-14T08:34:43.292727Z [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-06-14T08:34:43.295030Z [info ] Delete InferenceService http-onnx-raw [ocp_resources InferenceService] 2026-06-14T08:34:43.325807Z [info ] Deleting {'apiVersion': 'serving.kserve.io/v1beta1', 'kind': 'InferenceService', 'metadata': {'annotations': {'modelFormat': 'openvino_ir', 'serving.kserve.io/deploymentMode': 'Standard'}, 'creationTimestamp': '2026-06-14T08:34:31Z', '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-06-14T08:34:31Z'}, {'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-06-14T08:34: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-06-14T08:34:35Z'}], 'name': 'http-onnx-raw', 'namespace': 'test-non-admin-raw', 'resourceVersion': '182487051', 'uid': '481a95bc-2e61-460c-853d-a2d52acfe41e'}, '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-06-14T08:34:31Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-06-14T08:34:35Z', 'message': 'ReplicaSet "http-onnx-raw-predictor-7d584db466" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-06-14T08:34:35Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-06-14T08:34:31Z', '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-06-14T08:34:43.343005Z [info ] Wait until InferenceService http-onnx-raw is deleted [ocp_resources InferenceService] 2026-06-14T08:34:44.385253Z [info ] Delete Secret ci-bucket-unprivileged [ocp_resources Secret] 2026-06-14T08:34:44.428999Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'ci-bucket-unprivileged', 'namespace': 'test-non-admin-raw', 'uid': '11e31eaf-0500-4416-87cb-5b7445cf517d', 'resourceVersion': '182486881', 'creationTimestamp': '2026-06-14T08:34:31Z', '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-06-14T08:34:31Z', '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-06-14T08:34:44.444785Z [info ] Wait until Secret ci-bucket-unprivileged is deleted [ocp_resources Secret] 2026-06-14T08:34:44.464915Z [info ] Delete ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-06-14T08:34:44.504943Z [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-06-14T08:34:31Z', '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-06-14T08:34:31Z'}], 'name': 'http-mnist-runtime', 'namespace': 'test-non-admin-raw', 'resourceVersion': '182486876', 'uid': '0c2186cf-82aa-40ac-8a94-14c77b97ed40'}, '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:1ab58519c50e2c3a9ebf0fee6d0708b1b5a0ae972aefcc722d87b2f62239a033', '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-06-14T08:34:44.528332Z [info ] Wait until ServingRuntime http-mnist-runtime is deleted [ocp_resources ServingRuntime] 2026-06-14T08:34:44.567943Z [info ] Delete Project test-non-admin-raw [ocp_resources Project] 2026-06-14T08:34:44.629764Z [info ] Deleting {'kind': 'Project', 'apiVersion': 'project.openshift.io/v1', 'metadata': {'name': 'test-non-admin-raw', 'uid': 'c5f0de8b-1ca8-4ef6-9956-d595bd740983', 'resourceVersion': '182486854', 'creationTimestamp': '2026-06-14T08:34:31Z', '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/enforce': 'restricted', 'pod-security.kubernetes.io/enforce-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': 'odh-admin1', 'openshift.io/sa.scc.mcs': 's0:c31,c0', 'openshift.io/sa.scc.supplemental-groups': '1000930000/10000', 'openshift.io/sa.scc.uid-range': '1000930000/10000', 'security.openshift.io/MinimallySufficientPodSecurityStandard': 'restricted'}, 'managedFields': [{'manager': 'pod-security-admission-label-synchronization-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-06-14T08:34:31Z', '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/enforce': {}, 'f:pod-security.kubernetes.io/enforce-version': {}, 'f:pod-security.kubernetes.io/warn': {}, 'f:pod-security.kubernetes.io/warn-version': {}}}}}, {'manager': 'cluster-policy-controller', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-06-14T08:34:31Z', '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-06-14T08:34:31Z', '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-06-14T08:34:31Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {'f:finalizers': {}}}, 'subresource': 'finalize'}]}, 'spec': {'finalizers': ['kubernetes']}, 'status': {'phase': 'Active'}} [ocp_resources Project] 2026-06-14T08:34:44.661738Z [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, 186 deselected, 14 warnings in 94.09s (0:01:34) =========== =============================== warnings summary =============================== tests/model_serving/model_server/kserve/authentication/test_kserve_token_authentication_raw.py: 12 warnings tests/model_serving/model_server/kserve/authentication/test_non_admin_users.py: 2 warnings /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1097: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-23.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: /artifacts/model_server-smoke.xml ------------- ========== 5 passed, 186 deselected, 14 warnings in 94.09s (0:01:34) ===========