--- pytest attempt 2026-07-19T10:40:47.341333+00:00 (/.local/bin/uv --directory /home/odh/opendatahub-tests...) --- 2026-07-19T10:40:49.408247Z [info ] Writing tests log to /home/odh/opendatahub-tests/results/pytest-tests.log [conftest] 2026-07-19T10:40:49.408687Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-19T10:40:49.446877Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] 2026-07-19T10:40:49.463776Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] ============================= 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.122.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-19T10:40:49.898565Z [info ] Executing session fixture: admin_client [conftest] 2026-07-19T10:40:49.898922Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-19T10:40:49.900114Z [info ] Executing session fixture: dsc_resource [conftest] 2026-07-19T10:40:49.900286Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] 2026-07-19T10:40:49.921811Z [info ] Executing package fixture: enabled_kserve_in_dsc [conftest] 2026-07-19T10:40:49.926474Z [warning ] Component kserve was already set to managementState Managed [utilities.data_science_cluster_utils] name=utilities.data_science_cluster_utils 2026-07-19T10:40:49.927453Z [info ] Executing session fixture: event_loop_policy [conftest] 2026-07-19T10:40:49.927585Z [info ] Executing session fixture: _syrupy_apply_ide_patches [conftest] 2026-07-19T10:40:49.927705Z [info ] Executing session fixture: tmp_path_factory [conftest] 2026-07-19T10:40:49.927824Z [info ] Executing session fixture: tests_tmp_dir [conftest] 2026-07-19T10:40:49.928714Z [info ] Executing session fixture: os_path_environment [conftest] 2026-07-19T10:40:49.928863Z [info ] Executing session fixture: tmpdir_factory [conftest] 2026-07-19T10:40:49.929088Z [info ] Executing session fixture: bin_directory [conftest] 2026-07-19T10:40:49.929884Z [info ] Executing session fixture: oc_binary_path [conftest] 2026-07-19T10:40:49.934096Z [info ] kind: ConsoleCLIDownload api version: console.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:40:49.939586Z [info ] All oc console cli download links: ['https://downloads-openshift-console.apps.50527ea0-81bc-4d50-8750-2ba76494b8c2.prod.konfluxeaas.com/amd64/linux/oc.tar'] [utilities.infra] name=utilities.infra 2026-07-19T10:40:49.939650Z [info ] Downloading archive using: url=https://downloads-openshift-console.apps.50527ea0-81bc-4d50-8750-2ba76494b8c2.prod.konfluxeaas.com/amd64/linux/oc.tar [utilities.infra] name=utilities.infra 2026-07-19T10:40:50.405484Z [info ] Extract the downloaded archive. [utilities.infra] name=utilities.infra 2026-07-19T10:40:50.491833Z [info ] Downloaded file: ['oc']  [utilities.infra] name=utilities.infra 2026-07-19T10:40:50.510111Z [info ] Executing session fixture: bin_directory_to_os_path [conftest] 2026-07-19T10:40:50.508926Z [info ] OC binary path: /tmp/pytest-hjp2rBu5LDvZdUZHrdJoqV/bin0/oc [tests.conftest] name=tests.conftest 2026-07-19T10:40:50.508982Z [info ] Adding /tmp/pytest-hjp2rBu5LDvZdUZHrdJoqV/bin0 to $PATH [tests.conftest] name=tests.conftest 2026-07-19T10:40:50.510607Z [info ] Executing session fixture: nodes [conftest] 2026-07-19T10:40:50.719897Z [info ] Executing session fixture: dsci_resource [conftest] 2026-07-19T10:40:50.720146Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] 2026-07-19T10:40:50.724258Z [info ] Executing session fixture: record_testsuite_property [conftest] 2026-07-19T10:40:50.724558Z [info ] Executing session fixture: junitxml_plugin [conftest] 2026-07-19T10:40:50.724705Z [info ] Executing session fixture: cluster_sanity_scope_session [conftest] 2026-07-19T10:40:50.723450Z [info ] Check cluster sanity.  [utilities.infra] name=utilities.infra 2026-07-19T10:40:50.724925Z [info ] Verify all nodes are in a healthy condition. [ocp_utilities.infra] 2026-07-19T10:40:50.735884Z [info ] Verify all nodes are schedulable. [ocp_utilities.infra] 2026-07-19T10:40:50.746494Z [info ] Wait for DSCI default-dsci to be in Ready status. [utilities.infra] name=utilities.infra 2026-07-19T10:40:50.747182Z [info ] Get DSCInitialization default-dsci status [ocp_resources DSCInitialization] 2026-07-19T10:40:50.750421Z [info ] Wait for DSC default-dsc are Ready. [utilities.infra] name=utilities.infra 2026-07-19T10:40:50.750927Z [info ] Get DataScienceCluster default-dsc status [ocp_resources DataScienceCluster] 2026-07-19T10:40:50.756775Z [info ] Executing session fixture: autouse_fixtures [conftest] 2026-07-19T10:40:50.756918Z [info ] Executing session fixture: kserve_health_check [conftest] 2026-07-19T10:40:50.768642Z [info ] kind: Deployment api version: apps/v1 [ocp_resources.resource] 2026-07-19T10:40:50.781732Z [info ] KServe component health check passed [tests.model_serving.model_server.kserve.conftest] 2026-07-19T10:40:50.781879Z [info ] Executing session fixture: pytestconfig [conftest] 2026-07-19T10:40:50.782018Z [info ] Executing session fixture: aws_access_key_id [conftest] 2026-07-19T10:40:50.782188Z [info ] Executing session fixture: aws_secret_access_key [conftest] 2026-07-19T10:40:50.782405Z [info ] Executing session fixture: ci_s3_bucket_endpoint [conftest] 2026-07-19T10:40:50.782544Z [info ] Executing session fixture: valid_aws_config [conftest] 2026-07-19T10:40:50.845393Z [info ] AWS credentials validated successfully via STS GetCallerIdentity [tests.conftest] name=tests.conftest 2026-07-19T10:40:50.847099Z [info ] Executing session fixture: use_unprivileged_client [conftest] 2026-07-19T10:40:50.847277Z [info ] Executing session fixture: kubconfig_filepath [conftest] 2026-07-19T10:40:50.847408Z [info ] Executing session fixture: cluster_authentication [conftest] 2026-07-19T10:40:50.847537Z [info ] kind: Authentication api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:40:50.850108Z [info ] Executing session fixture: is_byoidc [conftest] 2026-07-19T10:40:50.855173Z [info ] Executing session fixture: non_admin_user_password [conftest] 2026-07-19T10:40:50.855413Z [info ] Executing session fixture: unprivileged_client [conftest] 2026-07-19T10:40:50.853075Z [warning ] Unprivileged client is not enabled, using admin client [tests.conftest] name=tests.conftest 2026-07-19T10:40:50.855676Z [info ] Executing session fixture: teardown_resources [conftest] 2026-07-19T10:40:50.855789Z [info ] Executing session fixture: ci_s3_bucket_name [conftest] 2026-07-19T10:40:50.855902Z [info ] Executing session fixture: ci_s3_bucket_region [conftest] 2026-07-19T10:40:50.856020Z [info ] Executing session fixture: models_s3_bucket_name [conftest] 2026-07-19T10:40:50.856123Z [info ] Executing session fixture: models_s3_bucket_region [conftest] 2026-07-19T10:40:50.856255Z [info ] Executing session fixture: models_s3_bucket_endpoint [conftest] 2026-07-19T10:40:50.856360Z [info ] Executing class fixture: unprivileged_model_namespace [conftest] 2026-07-19T10:40:50.856471Z [info ] kind: ProjectRequest api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:40:50.856580Z [info ] Create ProjectRequest test-kserve-raw-token-authentication [ocp_resources ProjectRequest] 2026-07-19T10:40:50.856690Z [info ] Posting {'apiVersion': 'project.openshift.io/v1', 'kind': 'ProjectRequest', 'metadata': {'name': 'test-kserve-raw-token-authentication'}} [ocp_resources ProjectRequest] 2026-07-19T10:40:50.918830Z [info ] kind: Project api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:40:50.919491Z [info ] Wait for Project test-kserve-raw-token-authentication status to be Active [ocp_resources Project] 2026-07-19T10:40:50.934771Z [info ] Status of Project test-kserve-raw-token-authentication is Active [ocp_resources Project] 2026-07-19T10:40:50.934929Z [info ] Executing class fixture: http_s3_ovms_serving_runtime [conftest] 2026-07-19T10:40:50.935075Z [info ] kind: Template api version: template.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:40:50.969881Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-19T10:40:50.970046Z [info ] Create ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-19T10:40:50.970285Z [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:8c1b225509bfdc43756195f34a356d1e2ebd58fcd83fda3d37380dd7f5304df8', '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-19T10:40:51.002570Z [info ] Executing class fixture: ci_endpoint_s3_secret [conftest] 2026-07-19T10:40:51.012585Z [info ] Create Secret ci-bucket-secret [ocp_resources Secret] 2026-07-19T10:40:51.012843Z [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.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-19T10:40:51.025172Z [info ] Wait until Secret ci-bucket-secret is created [ocp_resources Secret] 2026-07-19T10:40:51.028345Z [info ] Executing class fixture: models_endpoint_s3_secret [conftest] 2026-07-19T10:40:51.034642Z [info ] Create Secret models-bucket-secret [ocp_resources Secret] 2026-07-19T10:40:51.034806Z [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.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-19T10:40:51.053979Z [info ] Wait until Secret models-bucket-secret is created [ocp_resources Secret] 2026-07-19T10:40:51.057952Z [info ] Executing class fixture: model_service_account [conftest] 2026-07-19T10:40:51.058100Z [info ] Create ServiceAccount models-bucket-sa [ocp_resources ServiceAccount] 2026-07-19T10:40:51.058280Z [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-19T10:40:51.074119Z [info ] Executing class fixture: http_s3_ovms_raw_inference_service [conftest] 2026-07-19T10:40:51.086541Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-07-19T10:40:51.086899Z [info ] Create InferenceService http-onnx [ocp_resources InferenceService] 2026-07-19T10:40:51.087085Z [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-19T10:40:51.220358Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-19T10:40:52.230028Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-19T10:40:52.244728Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-07-19T10:41:32.341994Z [info ] kind: Deployment api version: apps/v1 [ocp_resources.resource] 2026-07-19T10:41:32.345616Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-19T10:41:32.360902Z [info ] Wait for Deployment http-onnx-predictor to be deployed: True [ocp_resources Deployment] 2026-07-19T10:41:32.369075Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-19T10:41:32.369252Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-07-19T10:41:32.389595Z [info ] Executing class fixture: http_raw_view_role [conftest] 2026-07-19T10:41:32.389796Z [info ] kind: Role api version: rbac.authorization.k8s.io/v1 [ocp_resources.resource] 2026-07-19T10:41:32.389953Z [info ] Create Role http-onnx-view  [ocp_resources Role] 2026-07-19T10:41:32.390135Z [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-19T10:41:32.399321Z [info ] Executing class fixture: http_raw_role_binding [conftest] 2026-07-19T10:41:32.399488Z [info ] kind: RoleBinding api version: rbac.authorization.k8s.io/v1 [ocp_resources.resource] 2026-07-19T10:41:32.399640Z [info ] Create RoleBinding http-models-bucket-sa-view [ocp_resources RoleBinding] 2026-07-19T10:41:32.399875Z [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-19T10:41:32.413499Z [info ] Executing class fixture: http_raw_inference_token [conftest] 2026-07-19T10:41:32.413643Z [info ] Running oc create token -n test-kserve-raw-token-authentication models-bucket-sa command [pyhelper_utils.shell] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-19T10:41:32.552540Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-19T10:41:32.578475Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-19T10:41:32.582922Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:41:32.647735Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:41:32.653790Z [info ] Using router certificate secret: default-ingress-cert [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-19T10:41:32.672652Z [info ] Running Hide By User command  [pyhelper_utils.shell] PASSED _ 1 of 5 completed, 1 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/model_serving/model_server/kserve/authentication/test_kserve_token_authentication_raw.py::TestKserveTokenAuthenticationRawForRest::test_disabled_raw_model_authentication[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] 2026-07-19T10:41:32.726053Z [info ] Inference output: HTTP/1.1 200 OK access-control-allow-headers: * access-control-allow-methods: * access-control-allow-origin: * content-length: 412 content-type: application/json; charset=utf-8 date: Sun, 19 Jul 2026 10:41:32 GMT set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=566e6c7aef50e6b8ec43f648cd063f85; path=/; HttpOnly; Secure; SameSite=None { "model_name": "http-onnx", "model_version": "1", "outputs": [{ "name": "Plus214_Output_0", "shape": [1, 10], "datatype": "FP32", "data": [-8.232938766479492, -7.751516342163086, -3.424166440963745, 12.362397193908691, -12.08025074005127, 17.26592445373535, -10.571304321289063, 0.7125824093818665, 3.3235487937927246, 1.3641753196716309] }] } [utilities.inference_utils] name=utilities.inference_utils  TEST: TestKserveTokenAuthenticationRawForRest.test_model_authentication_using_rest_raw[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] STATUS: PASSED ------------------------------------------------------- TEARDOWN -------------------------------------------------------  ------ test_disabled_raw_model_authentication[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] ------ -------------------------------------------------------- SETUP -------------------------------------------------------- 2026-07-19T10:41:32.735418Z [info ] Executing function fixture: patched_remove_raw_authentication_isvc [conftest] 2026-07-19T10:41:32.735523Z [info ] ResourceEdit: Backing up old data [ocp_resources.resource] 2026-07-19T10:41:32.740250Z [info ] ResourceEdits: Updating data for resource InferenceService http-onnx [ocp_resources.resource] 2026-07-19T10:41:32.740459Z [info ] Update InferenceService http-onnx: {'metadata': {'annotations': {'security.opendatahub.io/enable-auth': 'false'}, 'name': 'http-onnx'}} [ocp_resources InferenceService] 2026-07-19T10:41:32.774591Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-19T10:41:32.774755Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-07-19T10:41:32.790619Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-19T10:41:32.827756Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-19T10:41:32.847833Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-19T10:41:32.851958Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:41:32.887250Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:41:32.891117Z [info ] Using router certificate secret: default-ingress-cert [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-19T10:41:32.938844Z [info ] Inference output: HTTP/1.1 401 Unauthorized content-type: text/plain; charset=utf-8 x-content-type-options: nosniff date: Sun, 19 Jul 2026 10:41:32 GMT content-length: 13 set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=566e6c7aef50e6b8ec43f648cd063f85; path=/; HttpOnly; Secure; SameSite=None Unauthorized  [utilities.inference_utils] name=utilities.inference_utils 2026-07-19T10:41:37.952043Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-19T10:41:37.966664Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-19T10:41:37.972830Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:41:38.011756Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:41:38.017373Z [info ] Using router certificate secret: default-ingress-cert [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-19T10:41:38.051582Z [info ] Inference output: HTTP/1.1 200 OK content-length: 412 content-type: application/json; charset=utf-8 access-control-allow-headers: * access-control-allow-methods: * access-control-allow-origin: * set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=f5f0c726884df7b822b4b9d0130b2397; path=/; HttpOnly; Secure; SameSite=None { "model_name": "http-onnx", "model_version": "1", "outputs": [{ "name": "Plus214_Output_0", "shape": [1, 10], "datatype": "FP32", "data": [-8.232938766479492, -7.751516342163086, -3.424166440963745, 12.362397193908691, -12.08025074005127, 17.26592445373535, -10.571304321289063, 0.7125824093818665, 3.3235487937927246, 1.3641753196716309] }] } [utilities.inference_utils] name=utilities.inference_utils 2026-07-19T10:41:38.051746Z [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-19T10:41:38.064125Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-19T10:41:38.076750Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-19T10:41:38.082785Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:41:38.111835Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:41:38.116089Z [info ] Using router certificate secret: default-ingress-cert [utilities.certificates_utils] name=utilities.certificates_utils PASSED2026-07-19T10:41:38.145090Z [info ] Inference output: HTTP/1.1 200 OK content-length: 412 content-type: application/json; charset=utf-8 access-control-allow-headers: * access-control-allow-methods: * access-control-allow-origin: * set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=f5f0c726884df7b822b4b9d0130b2397; path=/; HttpOnly; Secure; SameSite=None { "model_name": "http-onnx", "model_version": "1", "outputs": [{ "name": "Plus214_Output_0", "shape": [1, 10], "datatype": "FP32", "data": [-8.232938766479492, -7.751516342163086, -3.424166440963745, 12.362397193908691, -12.08025074005127, 17.26592445373535, -10.571304321289063, 0.7125824093818665, 3.3235487937927246, 1.3641753196716309] }] } [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-19T10:41:38.147286Z [info ] ResourceEdits: Restoring data for resource InferenceService http-onnx [ocp_resources.resource] 2026-07-19T10:41:38.147448Z [info ] Update InferenceService http-onnx: {'metadata': {'annotations': {'security.opendatahub.io/enable-auth': 'true'}, 'name': 'http-onnx'}} [ocp_resources InferenceService] 2026-07-19T10:41:38.176235Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-19T10:41:38.176408Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-07-19T10:41:39.195673Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-19T10:41:39.225138Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-19T10:41:39.236964Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-19T10:41:39.245326Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:41:39.278883Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:41:39.282823Z [info ] Using router certificate secret: default-ingress-cert [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-19T10:41:47.336298Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-19T10:41:47.527737Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:41:47.560383Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:41:47.564892Z [info ] Using router certificate secret: default-ingress-cert [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-19T10:41:47.609229Z [info ] Inference output: HTTP/1.1 200 OK access-control-allow-headers: * access-control-allow-methods: * access-control-allow-origin: * content-length: 412 content-type: application/json; charset=utf-8 date: Sun, 19 Jul 2026 10:41:47 GMT set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=566e6c7aef50e6b8ec43f648cd063f85; path=/; HttpOnly; Secure; SameSite=None { "model_name": "http-onnx", "model_version": "1", "outputs": [{ "name": "Plus214_Output_0", "shape": [1, 10], "datatype": "FP32", "data": [-8.232938766479492, -7.751516342163086, -3.424166440963745, 12.362397193908691, -12.08025074005127, 17.26592445373535, -10.571304321289063, 0.7125824093818665, 3.3235487937927246, 1.3641753196716309] }] } [utilities.inference_utils] name=utilities.inference_utils 2026-07-19T10:41:47.609351Z [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-19T10:41:47.620231Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-19T10:41:47.633280Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-19T10:41:47.637283Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:41:47.660715Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:41:47.664262Z [info ] Using router certificate secret: default-ingress-cert [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-19T10:41:47.698076Z [info ] Inference output: HTTP/1.1 200 OK access-control-allow-headers: * access-control-allow-methods: * access-control-allow-origin: * content-length: 412 content-type: application/json; charset=utf-8 date: Sun, 19 Jul 2026 10:41:47 GMT set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=566e6c7aef50e6b8ec43f648cd063f85; path=/; HttpOnly; Secure; SameSite=None { "model_name": "http-onnx", "model_version": "1", "outputs": [{ "name": "Plus214_Output_0", "shape": [1, 10], "datatype": "FP32", "data": [-8.232938766479492, -7.751516342163086, -3.424166440963745, 12.362397193908691, -12.08025074005127, 17.26592445373535, -10.571304321289063, 0.7125824093818665, 3.3235487937927246, 1.3641753196716309] }] } [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-19T10:41:47.702839Z [info ] Executing class fixture: model_service_account_2 [conftest] 2026-07-19T10:41:47.702977Z [info ] Create ServiceAccount models-bucket-sa-2 [ocp_resources ServiceAccount] 2026-07-19T10:41:47.703108Z [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-19T10:41:47.709625Z [info ] Executing class fixture: http_s3_ovms_raw_inference_service_2 [conftest] 2026-07-19T10:41:47.714516Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-07-19T10:41:47.714836Z [info ] Create InferenceService http-onnx-2 [ocp_resources InferenceService] 2026-07-19T10:41:47.714973Z [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-19T10:41:47.745098Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-19T10:41:48.753265Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-19T10:41:48.768116Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-07-19T10:42:08.828853Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-19T10:42:08.848944Z [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-19T10:42:08.856007Z [info ] Wait for InferenceService/http-onnx-2's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-19T10:42:08.856418Z [info ] Wait until InferenceService http-onnx-2 is created [ocp_resources InferenceService] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-19T10:42:08.882700Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-19T10:42:08.893256Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-19T10:42:08.899308Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:42:08.936093Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:42:08.940806Z [info ] Using router certificate secret: default-ingress-cert [utilities.certificates_utils] name=utilities.certificates_utils PASSED2026-07-19T10:42:08.997916Z [info ] Inference output: HTTP/1.1 403 Forbidden content-type: text/plain; charset=utf-8 x-content-type-options: nosniff date: Sun, 19 Jul 2026 10:42:08 GMT content-length: 145 set-cookie: 69f764f782e5acf3035b89de67f2b2b6=ed197e36ee146fdb7a8efdd5c114a137; 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-19T10:42:08.999815Z [info ] Delete InferenceService http-onnx-2 [ocp_resources InferenceService] 2026-07-19T10:42:09.011053Z [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-19T10:41:47Z', 'finalizers': ['inferenceservice.finalizers', 'odh.inferenceservice.finalizers'], 'generation': 1, 'labels': {'networking.kserve.io/visibility': 'exposed'}, 'managedFields': [{'apiVersion': 'serving.kserve.io/v1beta1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'.': {}, 'f:security.opendatahub.io/enable-auth': {}, 'f:serving.kserve.io/deploymentMode': {}}, 'f:labels': {'.': {}, 'f:networking.kserve.io/visibility': {}}}, 'f:spec': {'.': {}, 'f:predictor': {'.': {}, 'f:model': {'.': {}, 'f:modelFormat': {'.': {}, 'f:name': {}}, 'f:runtime': {}, 'f:storage': {'.': {}, 'f:key': {}, 'f:path': {}}}, 'f:serviceAccountName': {}}}}, 'manager': 'OpenAPI-Generator', 'operation': 'Update', 'time': '2026-07-19T10:41:47Z'}, {'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-19T10:41:47Z'}, {'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-19T10:41:59Z'}], 'name': 'http-onnx-2', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '71590', 'uid': '10495ddd-9644-4355-914b-4211412c0bd7'}, '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-19T10:41:47Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-07-19T10:41:59Z', 'message': 'ReplicaSet "http-onnx-2-predictor-7fc87c5c6c" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-07-19T10:41:59Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-07-19T10:41:47Z', '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.50527ea0-81bc-4d50-8750-2ba76494b8c2.prod.konfluxeaas.com'}} [ocp_resources InferenceService] 2026-07-19T10:42:09.019067Z [info ] Wait until InferenceService http-onnx-2 is deleted [ocp_resources InferenceService] 2026-07-19T10:42:10.029718Z [info ] Delete ServiceAccount models-bucket-sa-2 [ocp_resources ServiceAccount] 2026-07-19T10:42:10.038204Z [info ] Deleting {'kind': 'ServiceAccount', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-sa-2', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '3128d2c3-b620-4d5e-ae47-ae44eef63d3d', 'resourceVersion': '71326', 'creationTimestamp': '2026-07-19T10:41:47Z', 'annotations': {'openshift.io/internal-registry-pull-secret-ref': 'models-bucket-sa-2-dockercfg-vf9ll'}, 'managedFields': [{'manager': 'openshift.io/image-registry-pull-secrets_service-account-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-19T10:41:47Z', '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-vf9ll"}': {}}}}, {'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-19T10:41:47Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:secrets': {'.': {}, 'k:{"name":"models-bucket-secret"}': {}}}}]}, 'secrets': [{'name': 'models-bucket-secret'}, {'name': 'models-bucket-sa-2-dockercfg-vf9ll'}], 'imagePullSecrets': [{'name': 'models-bucket-sa-2-dockercfg-vf9ll'}]} [ocp_resources ServiceAccount] 2026-07-19T10:42:10.046140Z [info ] Wait until ServiceAccount models-bucket-sa-2 is deleted [ocp_resources ServiceAccount] 2026-07-19T10:42:10.050663Z [info ] Delete RoleBinding http-models-bucket-sa-view [ocp_resources RoleBinding] 2026-07-19T10:42:10.061385Z [info ] Deleting {'kind': 'RoleBinding', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'metadata': {'name': 'http-models-bucket-sa-view', 'namespace': 'test-kserve-raw-token-authentication', 'uid': 'c953f05b-c27d-4b4e-b49c-31ecc2afd833', 'resourceVersion': '71003', 'creationTimestamp': '2026-07-19T10:41:32Z', 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'time': '2026-07-19T10:41:32Z', '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-19T10:42:10.066949Z [info ] Wait until RoleBinding http-models-bucket-sa-view is deleted [ocp_resources RoleBinding] 2026-07-19T10:42:10.071717Z [info ] Delete Role http-onnx-view  [ocp_resources Role] 2026-07-19T10:42:10.078878Z [info ] Deleting {'kind': 'Role', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'metadata': {'name': 'http-onnx-view', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '7e90aac0-49ab-44d4-9d16-ab9f0d474c70', 'resourceVersion': '71002', 'creationTimestamp': '2026-07-19T10:41:32Z', 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'time': '2026-07-19T10:41:32Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:rules': {}}}]}, 'rules': [{'verbs': ['get'], 'apiGroups': ['serving.kserve.io'], 'resources': ['inferenceservices'], 'resourceNames': ['http-onnx']}]} [ocp_resources Role] 2026-07-19T10:42:10.084611Z [info ] Wait until Role http-onnx-view is deleted [ocp_resources Role] 2026-07-19T10:42:10.088859Z [info ] Delete InferenceService http-onnx [ocp_resources InferenceService] 2026-07-19T10:42:10.101169Z [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-19T10:40:51Z', 'finalizers': ['inferenceservice.finalizers', 'odh.inferenceservice.finalizers'], 'generation': 1, 'labels': {'networking.kserve.io/visibility': 'exposed'}, 'managedFields': [{'apiVersion': 'serving.kserve.io/v1beta1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:finalizers': {'.': {}, 'v:"inferenceservice.finalizers"': {}, 'v:"odh.inferenceservice.finalizers"': {}}}}, 'manager': 'manager', 'operation': 'Update', 'time': '2026-07-19T10:40:51Z'}, {'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-19T10:41:38Z'}, {'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-19T10:41:38Z'}], 'name': 'http-onnx', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '71164', 'uid': 'f5eac207-553e-4511-94b5-b5d8fab1306e'}, '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-19T10:40:51Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-07-19T10:41:38Z', 'message': 'ReplicaSet "http-onnx-predictor-5f65d4b8d7" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-07-19T10:41:38Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-07-19T10:40:51Z', '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.50527ea0-81bc-4d50-8750-2ba76494b8c2.prod.konfluxeaas.com'}} [ocp_resources InferenceService] 2026-07-19T10:42:10.109720Z [info ] Wait until InferenceService http-onnx is deleted [ocp_resources InferenceService] 2026-07-19T10:42:11.119514Z [info ] Delete ServiceAccount models-bucket-sa [ocp_resources ServiceAccount] 2026-07-19T10:42:11.127598Z [info ] Deleting {'kind': 'ServiceAccount', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-sa', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '158cab5b-b2a0-47d8-b3e1-60621f1840c9', 'resourceVersion': '70218', 'creationTimestamp': '2026-07-19T10:40:51Z', 'annotations': {'openshift.io/internal-registry-pull-secret-ref': 'models-bucket-sa-dockercfg-zzwkb'}, 'managedFields': [{'manager': 'openshift.io/image-registry-pull-secrets_service-account-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-19T10:40:51Z', '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-zzwkb"}': {}}}}, {'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-19T10:40:51Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:secrets': {'.': {}, 'k:{"name":"models-bucket-secret"}': {}}}}]}, 'secrets': [{'name': 'models-bucket-secret'}, {'name': 'models-bucket-sa-dockercfg-zzwkb'}], 'imagePullSecrets': [{'name': 'models-bucket-sa-dockercfg-zzwkb'}]} [ocp_resources ServiceAccount] 2026-07-19T10:42:11.132921Z [info ] Wait until ServiceAccount models-bucket-sa is deleted [ocp_resources ServiceAccount] 2026-07-19T10:42:11.137578Z [info ] Delete Secret models-bucket-secret [ocp_resources Secret] 2026-07-19T10:42:11.152763Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-secret', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '94de17fc-077f-43a1-94b4-3407beb95353', 'resourceVersion': '70214', 'creationTimestamp': '2026-07-19T10:40:51Z', 'labels': {'opendatahub.io/dashboard': 'true', 'opendatahub.io/managed': 'true'}, 'annotations': {'opendatahub.io/connection-type': 's3', 'serving.kserve.io/s3-endpoint': 's3.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-19T10:40:51Z', '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-19T10:42:11.162660Z [info ] Wait until Secret models-bucket-secret is deleted [ocp_resources Secret] 2026-07-19T10:42:11.169820Z [info ] Delete Secret ci-bucket-secret [ocp_resources Secret] 2026-07-19T10:42:11.186107Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'ci-bucket-secret', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '83b1f217-986a-4200-a2fc-695aa5a931e0', 'resourceVersion': '70211', 'creationTimestamp': '2026-07-19T10:40:51Z', 'labels': {'opendatahub.io/dashboard': 'true', 'opendatahub.io/managed': 'true'}, 'annotations': {'opendatahub.io/connection-type': 's3', 'serving.kserve.io/s3-endpoint': 's3.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-19T10:40:51Z', '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-19T10:42:11.194790Z [info ] Wait until Secret ci-bucket-secret is deleted [ocp_resources Secret] 2026-07-19T10:42:11.199101Z [info ] Delete ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-19T10:42:11.209642Z [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-19T10:40:50Z', '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-19T10:40:50Z'}], 'name': 'http-mnist-runtime', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '70205', 'uid': '2d2c44e6-0cb8-422a-9fa5-4c6bf7ce3bed'}, '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:8c1b225509bfdc43756195f34a356d1e2ebd58fcd83fda3d37380dd7f5304df8', '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-19T10:42:11.215021Z [info ] Wait until ServingRuntime http-mnist-runtime is deleted [ocp_resources ServingRuntime] 2026-07-19T10:42:11.232669Z [info ] Delete Project test-kserve-raw-token-authentication [ocp_resources Project] 2026-07-19T10:42:11.248428Z [info ] Deleting {'kind': 'Project', 'apiVersion': 'project.openshift.io/v1', 'metadata': {'name': 'test-kserve-raw-token-authentication', 'uid': 'ffd0e0ef-a488-484c-8633-166a310a2635', 'resourceVersion': '70197', 'creationTimestamp': '2026-07-19T10:40:50Z', 'labels': {'kubernetes.io/metadata.name': 'test-kserve-raw-token-authentication', 'pod-security.kubernetes.io/audit': 'restricted', 'pod-security.kubernetes.io/audit-version': 'latest', 'pod-security.kubernetes.io/warn': 'restricted', 'pod-security.kubernetes.io/warn-version': 'latest'}, 'annotations': {'openshift.io/description': '', 'openshift.io/display-name': '', 'openshift.io/requester': 'system:serviceaccount:kube-system:olminstall-cluster-admin', 'openshift.io/sa.scc.mcs': 's0:c30,c15', 'openshift.io/sa.scc.supplemental-groups': '1000900000/10000', 'openshift.io/sa.scc.uid-range': '1000900000/10000', 'security.openshift.io/MinimallySufficientPodSecurityStandard': 'restricted'}, 'managedFields': [{'manager': 'cluster-policy-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-19T10:40:50Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'f:openshift.io/sa.scc.mcs': {}, 'f:openshift.io/sa.scc.supplemental-groups': {}, 'f:openshift.io/sa.scc.uid-range': {}}}}}, {'manager': 'pod-security-admission-label-synchronization-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-19T10:40:50Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'f:security.openshift.io/MinimallySufficientPodSecurityStandard': {}}, 'f:labels': {'f:pod-security.kubernetes.io/audit': {}, 'f:pod-security.kubernetes.io/audit-version': {}, 'f:pod-security.kubernetes.io/warn': {}, 'f:pod-security.kubernetes.io/warn-version': {}}}}}, {'manager': 'openshift-apiserver', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-19T10:40:50Z', '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-19T10:40:50Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {'f:finalizers': {}}}, 'subresource': 'finalize'}]}, 'spec': {'finalizers': ['kubernetes']}, 'status': {'phase': 'Active'}} [ocp_resources Project] 2026-07-19T10:42:11.263866Z [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-19T10:42:18.325228Z [info ] Executing class fixture: unprivileged_model_namespace [conftest] 2026-07-19T10:42:18.325382Z [info ] kind: ProjectRequest api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:42:18.325507Z [info ] Create ProjectRequest test-non-admin-raw [ocp_resources ProjectRequest] 2026-07-19T10:42:18.325649Z [info ] Posting {'apiVersion': 'project.openshift.io/v1', 'kind': 'ProjectRequest', 'metadata': {'name': 'test-non-admin-raw'}} [ocp_resources ProjectRequest] 2026-07-19T10:42:18.412541Z [info ] kind: Project api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:42:18.412778Z [info ] Wait for Project test-non-admin-raw status to be Active [ocp_resources Project] 2026-07-19T10:42:18.427919Z [info ] Status of Project test-non-admin-raw is Active [ocp_resources Project] 2026-07-19T10:42:18.428069Z [info ] Executing class fixture: http_s3_ovms_serving_runtime [conftest] 2026-07-19T10:42:18.428288Z [info ] kind: Template api version: template.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:42:18.443700Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-19T10:42:18.443872Z [info ] Create ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-19T10:42:18.444047Z [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:8c1b225509bfdc43756195f34a356d1e2ebd58fcd83fda3d37380dd7f5304df8', '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-19T10:42:18.459433Z [info ] Executing class fixture: unprivileged_ci_endpoint_s3_secret [conftest] 2026-07-19T10:42:18.465624Z [info ] Create Secret ci-bucket-unprivileged [ocp_resources Secret] 2026-07-19T10:42:18.465841Z [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.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-19T10:42:18.484614Z [info ] Wait until Secret ci-bucket-unprivileged is created [ocp_resources Secret] 2026-07-19T10:42:18.487978Z [info ] Executing class fixture: unprivileged_s3_ovms_raw_inference_service [conftest] 2026-07-19T10:42:18.492373Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-07-19T10:42:18.492789Z [info ] Create InferenceService http-onnx-raw [ocp_resources InferenceService] 2026-07-19T10:42:18.493015Z [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-19T10:42:18.525994Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-19T10:42:19.596304Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-19T10:42:19.610986Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-07-19T10:42:39.758501Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-19T10:42:39.772888Z [info ] Wait for Deployment http-onnx-raw-predictor to be deployed: True [ocp_resources Deployment] 2026-07-19T10:42:39.784062Z [info ] Wait for InferenceService/http-onnx-raw's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-19T10:42:39.784350Z [info ] Wait until InferenceService http-onnx-raw is created [ocp_resources InferenceService] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-19T10:42:39.810088Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-19T10:42:39.817808Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-19T10:42:39.824010Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:42:39.866659Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-19T10:42:39.870633Z [info ] Using router certificate secret: default-ingress-cert [utilities.certificates_utils] name=utilities.certificates_utils PASSED2026-07-19T10:42:40.002641Z [info ] Inference output: HTTP/1.1 200 OK content-length: 416 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.232938766479492, -7.751516342163086, -3.424166440963745, 12.362397193908691, -12.08025074005127, 17.26592445373535, -10.571304321289063, 0.7125824093818665, 3.3235487937927246, 1.3641753196716309] }] } [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-19T10:42:40.004418Z [info ] Delete InferenceService http-onnx-raw [ocp_resources InferenceService] 2026-07-19T10:42:40.016070Z [info ] Deleting {'apiVersion': 'serving.kserve.io/v1beta1', 'kind': 'InferenceService', 'metadata': {'annotations': {'modelFormat': 'openvino_ir', 'serving.kserve.io/deploymentMode': 'Standard'}, 'creationTimestamp': '2026-07-19T10:42:18Z', '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-19T10:42:18Z'}, {'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-19T10:42:18Z'}, {'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-19T10:42:30Z'}], 'name': 'http-onnx-raw', 'namespace': 'test-non-admin-raw', 'resourceVersion': '72396', 'uid': '9486e5af-69b7-4ed8-a960-8cab3f7ad13c'}, '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-19T10:42:18Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-07-19T10:42:30Z', 'message': 'ReplicaSet "http-onnx-raw-predictor-6d45f84b54" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-07-19T10:42:30Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-07-19T10:42:18Z', '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-19T10:42:40.024095Z [info ] Wait until InferenceService http-onnx-raw is deleted [ocp_resources InferenceService] 2026-07-19T10:42:41.033174Z [info ] Delete Secret ci-bucket-unprivileged [ocp_resources Secret] 2026-07-19T10:42:41.049175Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'ci-bucket-unprivileged', 'namespace': 'test-non-admin-raw', 'uid': 'b07b6661-3f20-4631-891f-a77e7e52c6cd', 'resourceVersion': '72111', 'creationTimestamp': '2026-07-19T10:42:18Z', 'labels': {'opendatahub.io/dashboard': 'true', 'opendatahub.io/managed': 'true'}, 'annotations': {'opendatahub.io/connection-type': 's3', 'serving.kserve.io/s3-endpoint': 's3.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-19T10:42:18Z', '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-19T10:42:41.060298Z [info ] Wait until Secret ci-bucket-unprivileged is deleted [ocp_resources Secret] 2026-07-19T10:42:41.065007Z [info ] Delete ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-19T10:42:41.074632Z [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-19T10:42:18Z', '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-19T10:42:18Z'}], 'name': 'http-mnist-runtime', 'namespace': 'test-non-admin-raw', 'resourceVersion': '72107', 'uid': '949c4d53-558b-4d79-ba31-fd9d9a994719'}, '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:8c1b225509bfdc43756195f34a356d1e2ebd58fcd83fda3d37380dd7f5304df8', '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-19T10:42:41.079947Z [info ] Wait until ServingRuntime http-mnist-runtime is deleted [ocp_resources ServingRuntime] 2026-07-19T10:42:41.087038Z [info ] Delete Project test-non-admin-raw [ocp_resources Project] 2026-07-19T10:42:41.101499Z [info ] Deleting {'kind': 'Project', 'apiVersion': 'project.openshift.io/v1', 'metadata': {'name': 'test-non-admin-raw', 'uid': 'c9b62c77-16d1-4d09-8254-4b9263802265', 'resourceVersion': '72098', 'creationTimestamp': '2026-07-19T10:42:18Z', 'labels': {'kubernetes.io/metadata.name': 'test-non-admin-raw', 'pod-security.kubernetes.io/audit': 'restricted', 'pod-security.kubernetes.io/audit-version': 'latest', 'pod-security.kubernetes.io/warn': 'restricted', 'pod-security.kubernetes.io/warn-version': 'latest'}, 'annotations': {'openshift.io/description': '', 'openshift.io/display-name': '', 'openshift.io/requester': 'system:serviceaccount:kube-system:olminstall-cluster-admin', 'openshift.io/sa.scc.mcs': 's0:c31,c0', 'openshift.io/sa.scc.supplemental-groups': '1000930000/10000', 'openshift.io/sa.scc.uid-range': '1000930000/10000', 'security.openshift.io/MinimallySufficientPodSecurityStandard': 'restricted'}, 'managedFields': [{'manager': 'cluster-policy-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-19T10:42:18Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'f:openshift.io/sa.scc.mcs': {}, 'f:openshift.io/sa.scc.supplemental-groups': {}, 'f:openshift.io/sa.scc.uid-range': {}}}}}, {'manager': 'pod-security-admission-label-synchronization-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-19T10:42:18Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'f:security.openshift.io/MinimallySufficientPodSecurityStandard': {}}, 'f:labels': {'f:pod-security.kubernetes.io/audit': {}, 'f:pod-security.kubernetes.io/audit-version': {}, 'f:pod-security.kubernetes.io/warn': {}, 'f:pod-security.kubernetes.io/warn-version': {}}}}}, {'manager': 'openshift-apiserver', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-19T10:42:18Z', '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-19T10:42:18Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {'f:finalizers': {}}}, 'subresource': 'finalize'}]}, 'spec': {'finalizers': ['kubernetes']}, 'status': {'phase': 'Active'}} [ocp_resources Project] 2026-07-19T10:42:41.114797Z [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 in 117.70s (0:01:57) ================= - generated xml file: /workspace/tests-shared/tests-payload/results/model_server-smoke.xml - ================ 5 passed, 219 deselected in 117.70s (0:01:57) =================