--- BVT pytest attempt 2026-07-02T11:49:24.486179+00:00 (/.local/bin/uv --directory /home/odh/opendatahub-tests...) --- 2026-07-02T11:49:26.415388Z [info ] Writing tests log to /home/odh/opendatahub-tests/results/pytest-tests.log [conftest] 2026-07-02T11:49:26.418034Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T11:49:26.554370Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] 2026-07-02T11:49:26.632405Z [info ] kind: DSCInitialization api version: dscinitialization.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/python3 cachedir: .pytest_cache metadata: {'Python': '3.14.5', 'Platform': 'Linux-5.14.0-570.120.1.el9_6.x86_64-x86_64-with-glibc2.42', 'Packages': {'pytest': '9.0.3', 'pluggy': '1.6.0'}, 'Plugins': {'anyio': '4.13.0', 'langsmith': '0.8.5', 'asyncio': '1.3.0', 'dependency': '0.6.1', 'html': '4.2.0', 'metadata': '3.1.1', 'order': '1.4.0', 'progress': '1.4.0', 'testconfig': '0.2.0', 'xdist': '3.8.0', 'syrupy': '5.2.0'}} rootdir: /home/odh/opendatahub-tests configfile: pytest.ini plugins: anyio-4.13.0, langsmith-0.8.5, asyncio-1.3.0, dependency-0.6.1, html-4.2.0, metadata-3.1.1, order-1.4.0, progress-1.4.0, testconfig-0.2.0, xdist-3.8.0, syrupy-5.2.0 asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collecting ... collected 193 items / 188 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-02T11:49:27.065212Z [info ] Executing session fixture: admin_client [conftest] 2026-07-02T11:49:27.067264Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T11:49:27.068527Z [info ] Executing session fixture: dsc_resource [conftest] 2026-07-02T11:49:27.068761Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] 2026-07-02T11:49:27.149063Z [info ] Executing package fixture: enabled_kserve_in_dsc [conftest] 2026-07-02T11:49:27.168829Z [warning ] Component kserve was already set to managementState Managed [utilities.data_science_cluster_utils] name=utilities.data_science_cluster_utils 2026-07-02T11:49:27.169898Z [info ] Executing session fixture: event_loop_policy [conftest] 2026-07-02T11:49:27.170124Z [info ] Executing session fixture: _syrupy_apply_ide_patches [conftest] 2026-07-02T11:49:27.170262Z [info ] Executing session fixture: tmp_path_factory [conftest] 2026-07-02T11:49:27.170385Z [info ] Executing session fixture: tests_tmp_dir [conftest] 2026-07-02T11:49:27.171109Z [info ] Executing session fixture: os_path_environment [conftest] 2026-07-02T11:49:27.171238Z [info ] Executing session fixture: tmpdir_factory [conftest] 2026-07-02T11:49:27.171351Z [info ] Executing session fixture: bin_directory [conftest] 2026-07-02T11:49:27.172224Z [info ] Executing session fixture: oc_binary_path [conftest] 2026-07-02T11:49:27.189641Z [info ] kind: ConsoleCLIDownload api version: console.openshift.io/v1 [ocp_resources.resource] 2026-07-02T11:49:27.225412Z [info ] All oc console cli download links: ['https://downloads-openshift-console.apps.rosa.nmanos-konflux1.durx.p3.openshiftapps.com/amd64/linux/oc.tar'] [utilities.infra] name=utilities.infra 2026-07-02T11:49:27.225492Z [info ] Downloading archive using: url=https://downloads-openshift-console.apps.rosa.nmanos-konflux1.durx.p3.openshiftapps.com/amd64/linux/oc.tar [utilities.infra] name=utilities.infra 2026-07-02T11:49:28.043327Z [info ] Extract the downloaded archive. [utilities.infra] name=utilities.infra 2026-07-02T11:49:28.134821Z [info ] Downloaded file: ['oc']  [utilities.infra] name=utilities.infra 2026-07-02T11:49:28.155288Z [info ] Executing session fixture: bin_directory_to_os_path [conftest] 2026-07-02T11:49:28.153536Z [info ] OC binary path: /tmp/pytest-3QTBQZa4F8eJsZZJXBpEaB/bin0/oc [tests.conftest] name=tests.conftest 2026-07-02T11:49:28.153607Z [info ] Adding /tmp/pytest-3QTBQZa4F8eJsZZJXBpEaB/bin0 to $PATH [tests.conftest] name=tests.conftest 2026-07-02T11:49:28.155698Z [info ] Executing session fixture: nodes [conftest] 2026-07-02T11:49:29.473549Z [info ] Executing session fixture: dsci_resource [conftest] 2026-07-02T11:49:29.473752Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] 2026-07-02T11:49:29.492484Z [info ] Executing session fixture: record_testsuite_property [conftest] 2026-07-02T11:49:29.492643Z [info ] Executing session fixture: junitxml_plugin [conftest] 2026-07-02T11:49:29.492853Z [info ] Executing session fixture: cluster_sanity_scope_session [conftest] 2026-07-02T11:49:29.491748Z [info ] Check cluster sanity.  [utilities.infra] name=utilities.infra 2026-07-02T11:49:29.493159Z [info ] Verify all nodes are in a healthy condition. [ocp_utilities.infra] 2026-07-02T11:49:29.548389Z [info ] Verify all nodes are schedulable. [ocp_utilities.infra] 2026-07-02T11:49:29.604694Z [warning ] Skipping RHOAI resource checks, got --cluster-sanity-skip-rhoai-check [utilities.infra] name=utilities.infra 2026-07-02T11:49:29.606272Z [info ] Executing session fixture: autouse_fixtures [conftest] 2026-07-02T11:49:29.606457Z [info ] Executing session fixture: kserve_health_check [conftest] 2026-07-02T11:49:29.647726Z [info ] kind: Deployment api version: apps/v1 [ocp_resources.resource] 2026-07-02T11:49:29.721240Z [info ] KServe component health check passed [tests.model_serving.model_server.kserve.conftest] 2026-07-02T11:49:29.721470Z [info ] Executing session fixture: pytestconfig [conftest] 2026-07-02T11:49:29.721594Z [info ] Executing session fixture: aws_access_key_id [conftest] 2026-07-02T11:49:29.721804Z [info ] Executing session fixture: aws_secret_access_key [conftest] 2026-07-02T11:49:29.721925Z [info ] Executing session fixture: ci_s3_bucket_endpoint [conftest] 2026-07-02T11:49:29.722034Z [info ] Executing session fixture: valid_aws_config [conftest] 2026-07-02T11:49:29.768498Z [info ] AWS credentials validated successfully via STS GetCallerIdentity [tests.conftest] name=tests.conftest 2026-07-02T11:49:29.770423Z [info ] Executing session fixture: use_unprivileged_client [conftest] 2026-07-02T11:49:29.770541Z [info ] Executing session fixture: kubconfig_filepath [conftest] 2026-07-02T11:49:29.770647Z [info ] Executing session fixture: cluster_authentication [conftest] 2026-07-02T11:49:29.770790Z [info ] kind: Authentication api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-02T11:49:29.788897Z [info ] Executing session fixture: is_byoidc [conftest] 2026-07-02T11:49:29.808442Z [info ] Executing session fixture: non_admin_user_password [conftest] 2026-07-02T11:49:29.808589Z [info ] Executing session fixture: unprivileged_client [conftest] 2026-07-02T11:49:29.806472Z [warning ] Unprivileged client is not enabled, using admin client [tests.conftest] name=tests.conftest 2026-07-02T11:49:29.808946Z [info ] Executing session fixture: teardown_resources [conftest] 2026-07-02T11:49:29.809080Z [info ] Executing session fixture: ci_s3_bucket_name [conftest] 2026-07-02T11:49:29.810954Z [info ] Executing session fixture: ci_s3_bucket_region [conftest] 2026-07-02T11:49:29.811080Z [info ] Executing session fixture: models_s3_bucket_name [conftest] 2026-07-02T11:49:29.811192Z [info ] Executing session fixture: models_s3_bucket_region [conftest] 2026-07-02T11:49:29.811301Z [info ] Executing session fixture: models_s3_bucket_endpoint [conftest] 2026-07-02T11:49:29.811409Z [info ] Executing class fixture: unprivileged_model_namespace [conftest] 2026-07-02T11:49:29.811517Z [info ] kind: ProjectRequest api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-02T11:49:29.811626Z [info ] Create ProjectRequest test-kserve-raw-token-authentication [ocp_resources ProjectRequest] 2026-07-02T11:49:29.811852Z [info ] Posting {'apiVersion': 'project.openshift.io/v1', 'kind': 'ProjectRequest', 'metadata': {'name': 'test-kserve-raw-token-authentication'}} [ocp_resources ProjectRequest] 2026-07-02T11:49:29.956784Z [info ] kind: Project api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-02T11:49:29.956990Z [info ] Wait for Project test-kserve-raw-token-authentication status to be Active [ocp_resources Project] 2026-07-02T11:49:30.031419Z [info ] Status of Project test-kserve-raw-token-authentication is Active [ocp_resources Project] 2026-07-02T11:49:30.031572Z [info ] Executing class fixture: http_s3_ovms_serving_runtime [conftest] 2026-07-02T11:49:30.031742Z [info ] kind: Template api version: template.openshift.io/v1 [ocp_resources.resource] 2026-07-02T11:49:30.167357Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T11:49:30.167630Z [info ] Create ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-02T11:49:30.168069Z [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:8456a5e15035b06449619cd95ce0c73c3b24389723ed46524c06b6d87c988697', '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-02T11:49:30.262926Z [info ] Executing class fixture: ci_endpoint_s3_secret [conftest] 2026-07-02T11:49:30.287402Z [info ] Create Secret ci-bucket-secret [ocp_resources Secret] 2026-07-02T11:49:30.287574Z [info ] Posting {'apiVersion': 'v1', 'kind': 'Secret', 'metadata': {'name': 'ci-bucket-secret', 'labels': {'opendatahub.io/managed': 'true', 'opendatahub.io/dashboard': 'true'}, 'annotations': {'opendatahub.io/connection-type': 's3', 'serving.kserve.io/s3-endpoint': 's3.us-east-1.amazonaws.com/', 'serving.kserve.io/s3-region': 'us-east-1', 'serving.kserve.io/s3-useanoncredential': 'false', 'serving.kserve.io/s3-verifyssl': '0', 'serving.kserve.io/s3-usehttps': '1'}, 'namespace': 'test-kserve-raw-token-authentication'}, 'data': '*******'} [ocp_resources Secret] 2026-07-02T11:49:30.347742Z [info ] Wait until Secret ci-bucket-secret is created [ocp_resources Secret] 2026-07-02T11:49:30.368983Z [info ] Executing class fixture: models_endpoint_s3_secret [conftest] 2026-07-02T11:49:30.396315Z [info ] Create Secret models-bucket-secret [ocp_resources Secret] 2026-07-02T11:49:30.396558Z [info ] Posting {'apiVersion': 'v1', 'kind': 'Secret', 'metadata': {'name': 'models-bucket-secret', 'labels': {'opendatahub.io/managed': 'true', 'opendatahub.io/dashboard': 'true'}, 'annotations': {'opendatahub.io/connection-type': 's3', 'serving.kserve.io/s3-endpoint': 's3.us-east-2.amazonaws.com/', 'serving.kserve.io/s3-region': 'us-east-2', 'serving.kserve.io/s3-useanoncredential': 'false', 'serving.kserve.io/s3-verifyssl': '0', 'serving.kserve.io/s3-usehttps': '1'}, 'namespace': 'test-kserve-raw-token-authentication'}, 'data': '*******'} [ocp_resources Secret] 2026-07-02T11:49:30.469758Z [info ] Wait until Secret models-bucket-secret is created [ocp_resources Secret] 2026-07-02T11:49:30.489789Z [info ] Executing class fixture: model_service_account [conftest] 2026-07-02T11:49:30.490173Z [info ] Create ServiceAccount models-bucket-sa [ocp_resources ServiceAccount] 2026-07-02T11:49:30.490439Z [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-02T11:49:30.545883Z [info ] Executing class fixture: http_s3_ovms_raw_inference_service [conftest] 2026-07-02T11:49:30.575141Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-07-02T11:49:30.575505Z [info ] Create InferenceService http-onnx [ocp_resources InferenceService] 2026-07-02T11:49:30.575631Z [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-02T11:49:30.918983Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-02T11:49:31.964048Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-02T11:49:32.036650Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-07-02T11:49:52.347975Z [info ] kind: Deployment api version: apps/v1 [ocp_resources.resource] 2026-07-02T11:49:52.365861Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-02T11:49:52.440424Z [info ] Wait for Deployment http-onnx-predictor to be deployed: True [ocp_resources Deployment] 2026-07-02T11:49:52.477270Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-02T11:49:52.477423Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-07-02T11:49:52.571183Z [info ] Executing class fixture: http_raw_view_role [conftest] 2026-07-02T11:49:52.571472Z [info ] kind: Role api version: rbac.authorization.k8s.io/v1 [ocp_resources.resource] 2026-07-02T11:49:52.571861Z [info ] Create Role http-onnx-view  [ocp_resources Role] 2026-07-02T11:49:52.572091Z [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-02T11:49:52.609359Z [info ] Executing class fixture: http_raw_role_binding [conftest] 2026-07-02T11:49:52.609529Z [info ] kind: RoleBinding api version: rbac.authorization.k8s.io/v1 [ocp_resources.resource] 2026-07-02T11:49:52.609757Z [info ] Create RoleBinding http-models-bucket-sa-view [ocp_resources RoleBinding] 2026-07-02T11:49:52.609914Z [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-02T11:49:52.649718Z [info ] Executing class fixture: http_raw_inference_token [conftest] 2026-07-02T11:49:52.650085Z [info ] Running oc create token -n test-kserve-raw-token-authentication models-bucket-sa command [pyhelper_utils.shell] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-02T11:49:52.912643Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T11:49:52.968314Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T11:49:52.974518Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-02T11:49:53.075039Z [info ] Infrastructure cluster resource tags: [{'key': 'api.openshift.com/environment', 'value': 'production'}, {'key': 'api.openshift.com/id', 'value': '2r2qdb90ltvhjc43lp6iqc6aqb7bgjda'}, {'key': 'api.openshift.com/legal-entity-id', 'value': '1pwwsfazToamNegaehP6eaDg80K'}, {'key': 'api.openshift.com/name', 'value': 'nmanos-konflux1'}, {'key': 'dns', 'value': 'external'}, {'key': 'red-hat-clustertype', 'value': 'rosa'}, {'key': 'red-hat-managed', 'value': 'true'}] [utilities.infra] name=utilities.infra 2026-07-02T11:49:53.075154Z [info ] Running on managed cluster, not using ca bundle [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-02T11:49:53.075207Z [warning ] No CA bundle found, using insecure access [utilities.inference_utils] name=utilities.inference_utils 2026-07-02T11:49:53.077643Z [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-02T11:49:53.174627Z [info ] Inference output: HTTP/1.1 200 OK access-control-allow-headers: * access-control-allow-methods: * access-control-allow-origin: * content-length: 414 content-type: application/json; charset=utf-8 date: Thu, 02 Jul 2026 11:49:53 GMT set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=741a9dc0cf3918d104778c1c2a2dd988; path=/; HttpOnly; Secure; SameSite=None { "model_name": "http-onnx", "model_version": "1", "outputs": [{ "name": "Plus214_Output_0", "shape": [1, 10], "datatype": "FP32", "data": [-8.233053207397461, -7.749701976776123, -3.4236819744110107, 12.363025665283203, -12.07910442352295, 17.266592025756836, -10.570975303649902, 0.7130780220031738, 3.3217153549194336, 1.3621225357055664] }] } [utilities.inference_utils] name=utilities.inference_utils  TEST: TestKserveTokenAuthenticationRawForRest.test_model_authentication_using_rest_raw[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] STATUS: PASSED ------------------------------------------------------- TEARDOWN -------------------------------------------------------  ------ test_disabled_raw_model_authentication[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] ------ -------------------------------------------------------- SETUP -------------------------------------------------------- 2026-07-02T11:49:53.182480Z [info ] Executing function fixture: patched_remove_raw_authentication_isvc [conftest] 2026-07-02T11:49:53.182589Z [info ] ResourceEdit: Backing up old data [ocp_resources.resource] 2026-07-02T11:49:53.201081Z [info ] ResourceEdits: Updating data for resource InferenceService http-onnx [ocp_resources.resource] 2026-07-02T11:49:53.201289Z [info ] Update InferenceService http-onnx: {'metadata': {'annotations': {'security.opendatahub.io/enable-auth': 'false'}, 'name': 'http-onnx'}} [ocp_resources InferenceService] 2026-07-02T11:49:53.248706Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-02T11:49:53.248864Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-07-02T11:49:53.325173Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-02T11:49:54.497874Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T11:49:54.552766Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T11:49:54.558985Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-02T11:49:54.654706Z [info ] Infrastructure cluster resource tags: [{'key': 'api.openshift.com/environment', 'value': 'production'}, {'key': 'api.openshift.com/id', 'value': '2r2qdb90ltvhjc43lp6iqc6aqb7bgjda'}, {'key': 'api.openshift.com/legal-entity-id', 'value': '1pwwsfazToamNegaehP6eaDg80K'}, {'key': 'api.openshift.com/name', 'value': 'nmanos-konflux1'}, {'key': 'dns', 'value': 'external'}, {'key': 'red-hat-clustertype', 'value': 'rosa'}, {'key': 'red-hat-managed', 'value': 'true'}] [utilities.infra] name=utilities.infra 2026-07-02T11:49:54.655135Z [info ] Running on managed cluster, not using ca bundle [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-02T11:49:54.655251Z [warning ] No CA bundle found, using insecure access [utilities.inference_utils] name=utilities.inference_utils 2026-07-02T11:49:54.724176Z [info ] Inference output: HTTP/1.0 400 Bad Request set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=741a9dc0cf3918d104778c1c2a2dd988; path=/; HttpOnly; Secure; SameSite=None Client sent an HTTP request to an HTTPS server.  [utilities.inference_utils] name=utilities.inference_utils 2026-07-02T11:49:59.763803Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T11:49:59.820220Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T11:49:59.827049Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-02T11:49:59.923417Z [info ] Infrastructure cluster resource tags: [{'key': 'api.openshift.com/environment', 'value': 'production'}, {'key': 'api.openshift.com/id', 'value': '2r2qdb90ltvhjc43lp6iqc6aqb7bgjda'}, {'key': 'api.openshift.com/legal-entity-id', 'value': '1pwwsfazToamNegaehP6eaDg80K'}, {'key': 'api.openshift.com/name', 'value': 'nmanos-konflux1'}, {'key': 'dns', 'value': 'external'}, {'key': 'red-hat-clustertype', 'value': 'rosa'}, {'key': 'red-hat-managed', 'value': 'true'}] [utilities.infra] name=utilities.infra 2026-07-02T11:49:59.923601Z [info ] Running on managed cluster, not using ca bundle [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-02T11:49:59.923645Z [warning ] No CA bundle found, using insecure access [utilities.inference_utils] name=utilities.inference_utils 2026-07-02T11:49:59.987186Z [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=b91506fde260423c280acf0bea89cf87; path=/; HttpOnly; Secure; SameSite=None { "model_name": "http-onnx", "model_version": "1", "outputs": [{ "name": "Plus214_Output_0", "shape": [1, 10], "datatype": "FP32", "data": [-8.233053207397461, -7.749701976776123, -3.4236819744110107, 12.363025665283203, -12.07910442352295, 17.266592025756836, -10.570975303649902, 0.7130780220031738, 3.3217153549194336, 1.3621225357055664] }] } [utilities.inference_utils] name=utilities.inference_utils 2026-07-02T11:49:59.987503Z [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-02T11:50:00.033606Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T11:50:00.090959Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T11:50:00.095270Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-02T11:50:00.187476Z [info ] Infrastructure cluster resource tags: [{'key': 'api.openshift.com/environment', 'value': 'production'}, {'key': 'api.openshift.com/id', 'value': '2r2qdb90ltvhjc43lp6iqc6aqb7bgjda'}, {'key': 'api.openshift.com/legal-entity-id', 'value': '1pwwsfazToamNegaehP6eaDg80K'}, {'key': 'api.openshift.com/name', 'value': 'nmanos-konflux1'}, {'key': 'dns', 'value': 'external'}, {'key': 'red-hat-clustertype', 'value': 'rosa'}, {'key': 'red-hat-managed', 'value': 'true'}] [utilities.infra] name=utilities.infra 2026-07-02T11:50:00.187597Z [info ] Running on managed cluster, not using ca bundle [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-02T11:50:00.187639Z [warning ] No CA bundle found, using insecure access [utilities.inference_utils] name=utilities.inference_utils PASSED2026-07-02T11:50:00.257050Z [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=b91506fde260423c280acf0bea89cf87; path=/; HttpOnly; Secure; SameSite=None { "model_name": "http-onnx", "model_version": "1", "outputs": [{ "name": "Plus214_Output_0", "shape": [1, 10], "datatype": "FP32", "data": [-8.233053207397461, -7.749701976776123, -3.4236819744110107, 12.363025665283203, -12.07910442352295, 17.266592025756836, -10.570975303649902, 0.7130780220031738, 3.3217153549194336, 1.3621225357055664] }] } [utilities.inference_utils] name=utilities.inference_utils  TEST: TestKserveTokenAuthenticationRawForRest.test_disabled_raw_model_authentication[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] STATUS: PASSED ------------------------------------------------------- TEARDOWN ------------------------------------------------------- 2026-07-02T11:50:00.260830Z [info ] ResourceEdits: Restoring data for resource InferenceService http-onnx [ocp_resources.resource] 2026-07-02T11:50:00.260961Z [info ] Update InferenceService http-onnx: {'metadata': {'annotations': {'security.opendatahub.io/enable-auth': 'true'}, 'name': 'http-onnx'}} [ocp_resources InferenceService] 2026-07-02T11:50:00.309321Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-02T11:50:00.309477Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-07-02T11:50:01.408160Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-02T11:50:01.565619Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T11:50:01.621144Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T11:50:01.631122Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-02T11:50:01.725595Z [info ] Infrastructure cluster resource tags: [{'key': 'api.openshift.com/environment', 'value': 'production'}, {'key': 'api.openshift.com/id', 'value': '2r2qdb90ltvhjc43lp6iqc6aqb7bgjda'}, {'key': 'api.openshift.com/legal-entity-id', 'value': '1pwwsfazToamNegaehP6eaDg80K'}, {'key': 'api.openshift.com/name', 'value': 'nmanos-konflux1'}, {'key': 'dns', 'value': 'external'}, {'key': 'red-hat-clustertype', 'value': 'rosa'}, {'key': 'red-hat-managed', 'value': 'true'}] [utilities.infra] name=utilities.infra 2026-07-02T11:50:01.725776Z [info ] Running on managed cluster, not using ca bundle [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-02T11:50:01.725827Z [warning ] No CA bundle found, using insecure access [utilities.inference_utils] name=utilities.inference_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-02T11:50:01.860490Z [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=b91506fde260423c280acf0bea89cf87; path=/; HttpOnly; Secure; SameSite=None { "model_name": "http-onnx", "model_version": "1", "outputs": [{ "name": "Plus214_Output_0", "shape": [1, 10], "datatype": "FP32", "data": [-8.233053207397461, -7.749701976776123, -3.4236819744110107, 12.363025665283203, -12.07910442352295, 17.266592025756836, -10.570975303649902, 0.7130780220031738, 3.3217153549194336, 1.3621225357055664] }] } [utilities.inference_utils] name=utilities.inference_utils 2026-07-02T11:50:01.860731Z [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-02T11:50:01.902550Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T11:50:01.957900Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T11:50:01.964068Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-02T11:50:02.065849Z [info ] Infrastructure cluster resource tags: [{'key': 'api.openshift.com/environment', 'value': 'production'}, {'key': 'api.openshift.com/id', 'value': '2r2qdb90ltvhjc43lp6iqc6aqb7bgjda'}, {'key': 'api.openshift.com/legal-entity-id', 'value': '1pwwsfazToamNegaehP6eaDg80K'}, {'key': 'api.openshift.com/name', 'value': 'nmanos-konflux1'}, {'key': 'dns', 'value': 'external'}, {'key': 'red-hat-clustertype', 'value': 'rosa'}, {'key': 'red-hat-managed', 'value': 'true'}] [utilities.infra] name=utilities.infra 2026-07-02T11:50:02.065972Z [info ] Running on managed cluster, not using ca bundle [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-02T11:50:02.066019Z [warning ] No CA bundle found, using insecure access [utilities.inference_utils] name=utilities.inference_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-02T11:50:02.134495Z [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=b91506fde260423c280acf0bea89cf87; path=/; HttpOnly; Secure; SameSite=None { "model_name": "http-onnx", "model_version": "1", "outputs": [{ "name": "Plus214_Output_0", "shape": [1, 10], "datatype": "FP32", "data": [-8.233053207397461, -7.749701976776123, -3.4236819744110107, 12.363025665283203, -12.07910442352295, 17.266592025756836, -10.570975303649902, 0.7130780220031738, 3.3217153549194336, 1.3621225357055664] }] } [utilities.inference_utils] name=utilities.inference_utils  TEST: TestKserveTokenAuthenticationRawForRest.test_re_enabled_raw_model_authentication[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] STATUS: PASSED ------------------------------------------------------- TEARDOWN -------------------------------------------------------  test_cross_model_authentication_raw[http_s3_ovms_raw_inference_service_20-unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0]  -------------------------------------------------------- SETUP -------------------------------------------------------- 2026-07-02T11:50:02.139764Z [info ] Executing class fixture: model_service_account_2 [conftest] 2026-07-02T11:50:02.139876Z [info ] Create ServiceAccount models-bucket-sa-2 [ocp_resources ServiceAccount] 2026-07-02T11:50:02.139981Z [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-02T11:50:02.176777Z [info ] Executing class fixture: http_s3_ovms_raw_inference_service_2 [conftest] 2026-07-02T11:50:02.196368Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-07-02T11:50:02.196792Z [info ] Create InferenceService http-onnx-2 [ocp_resources InferenceService] 2026-07-02T11:50:02.196935Z [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-02T11:50:02.262883Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-02T11:50:03.300802Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-02T11:50:03.415911Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-07-02T11:50:23.745695Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-02T11:50:23.823344Z [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-02T11:50:23.861474Z [info ] Wait for InferenceService/http-onnx-2's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-02T11:50:23.861626Z [info ] Wait until InferenceService http-onnx-2 is created [ocp_resources InferenceService] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-02T11:50:23.994717Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T11:50:24.055896Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T11:50:24.062137Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-02T11:50:24.154651Z [info ] Infrastructure cluster resource tags: [{'key': 'api.openshift.com/environment', 'value': 'production'}, {'key': 'api.openshift.com/id', 'value': '2r2qdb90ltvhjc43lp6iqc6aqb7bgjda'}, {'key': 'api.openshift.com/legal-entity-id', 'value': '1pwwsfazToamNegaehP6eaDg80K'}, {'key': 'api.openshift.com/name', 'value': 'nmanos-konflux1'}, {'key': 'dns', 'value': 'external'}, {'key': 'red-hat-clustertype', 'value': 'rosa'}, {'key': 'red-hat-managed', 'value': 'true'}] [utilities.infra] name=utilities.infra 2026-07-02T11:50:24.154828Z [info ] Running on managed cluster, not using ca bundle [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-02T11:50:24.154894Z [warning ] No CA bundle found, using insecure access [utilities.inference_utils] name=utilities.inference_utils PASSED2026-07-02T11:50:24.271189Z [info ] Inference output: HTTP/1.1 403 Forbidden content-type: text/plain; charset=utf-8 x-content-type-options: nosniff date: Thu, 02 Jul 2026 11:50:24 GMT content-length: 145 set-cookie: 69f764f782e5acf3035b89de67f2b2b6=be3aa4365a7f70173936d21f4f89dde5; 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-02T11:50:24.273917Z [info ] Delete InferenceService http-onnx-2 [ocp_resources InferenceService] 2026-07-02T11:50:24.315158Z [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-02T11:50:02Z', '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-02T11:50:02Z'}, {'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-02T11:50:02Z'}, {'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-02T11:50:14Z'}], 'name': 'http-onnx-2', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '11416393', 'uid': 'c9721526-3f89-4853-8323-ce90843f5fed'}, '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-02T11:50:02Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-07-02T11:50:14Z', 'message': 'ReplicaSet "http-onnx-2-predictor-8466dd94c9" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-07-02T11:50:14Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-07-02T11:50:02Z', '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.rosa.nmanos-konflux1.durx.p3.openshiftapps.com'}} [ocp_resources InferenceService] 2026-07-02T11:50:24.340169Z [info ] Wait until InferenceService http-onnx-2 is deleted [ocp_resources InferenceService] 2026-07-02T11:50:25.382056Z [info ] Delete ServiceAccount models-bucket-sa-2 [ocp_resources ServiceAccount] 2026-07-02T11:50:25.419483Z [info ] Deleting {'kind': 'ServiceAccount', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-sa-2', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '68e47666-cedd-4da0-aa8d-ad7de5f24e61', 'resourceVersion': '11416107', 'creationTimestamp': '2026-07-02T11:50:02Z', 'annotations': {'openshift.io/internal-registry-pull-secret-ref': 'models-bucket-sa-2-dockercfg-r2rdv'}, 'managedFields': [{'manager': 'openshift.io/image-registry-pull-secrets_service-account-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-02T11:50:02Z', '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-r2rdv"}': {}}}}, {'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-02T11:50:02Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:secrets': {'.': {}, 'k:{"name":"models-bucket-secret"}': {}}}}]}, 'secrets': [{'name': 'models-bucket-secret'}, {'name': 'models-bucket-sa-2-dockercfg-r2rdv'}], 'imagePullSecrets': [{'name': 'models-bucket-sa-2-dockercfg-r2rdv'}]} [ocp_resources ServiceAccount] 2026-07-02T11:50:25.461961Z [info ] Wait until ServiceAccount models-bucket-sa-2 is deleted [ocp_resources ServiceAccount] 2026-07-02T11:50:25.481327Z [info ] Delete RoleBinding http-models-bucket-sa-view [ocp_resources RoleBinding] 2026-07-02T11:50:25.518918Z [info ] Deleting {'kind': 'RoleBinding', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'metadata': {'name': 'http-models-bucket-sa-view', 'namespace': 'test-kserve-raw-token-authentication', 'uid': 'd3088177-3c2e-4fae-a8b4-5df672f2b46b', 'resourceVersion': '11415841', 'creationTimestamp': '2026-07-02T11:49:52Z', 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'time': '2026-07-02T11:49:52Z', '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-02T11:50:25.554087Z [info ] Wait until RoleBinding http-models-bucket-sa-view is deleted [ocp_resources RoleBinding] 2026-07-02T11:50:25.575356Z [info ] Delete Role http-onnx-view  [ocp_resources Role] 2026-07-02T11:50:25.615101Z [info ] Deleting {'kind': 'Role', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'metadata': {'name': 'http-onnx-view', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '36fb55a6-29e1-4c8d-940a-a6b8e3fadbcf', 'resourceVersion': '11415839', 'creationTimestamp': '2026-07-02T11:49:52Z', 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'time': '2026-07-02T11:49:52Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:rules': {}}}]}, 'rules': [{'verbs': ['get'], 'apiGroups': ['serving.kserve.io'], 'resources': ['inferenceservices'], 'resourceNames': ['http-onnx']}]} [ocp_resources Role] 2026-07-02T11:50:25.637908Z [info ] Wait until Role http-onnx-view is deleted [ocp_resources Role] 2026-07-02T11:50:25.657127Z [info ] Delete InferenceService http-onnx [ocp_resources InferenceService] 2026-07-02T11:50:25.700178Z [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-02T11:49:30Z', 'finalizers': ['odh.inferenceservice.finalizers', 'inferenceservice.finalizers'], 'generation': 1, 'labels': {'networking.kserve.io/visibility': 'exposed'}, 'managedFields': [{'apiVersion': 'serving.kserve.io/v1beta1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:finalizers': {'.': {}, 'v:"inferenceservice.finalizers"': {}, 'v:"odh.inferenceservice.finalizers"': {}}}}, 'manager': 'manager', 'operation': 'Update', 'time': '2026-07-02T11:49:31Z'}, {'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-02T11:50:00Z'}, {'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-02T11:50:00Z'}], 'name': 'http-onnx', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '11416059', 'uid': '91d48c44-095f-44ea-8250-f5970fbe9417'}, '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-02T11:49:31Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-07-02T11:50:00Z', 'message': 'ReplicaSet "http-onnx-predictor-7b9b784649" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-07-02T11:50:00Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-07-02T11:49:31Z', '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.rosa.nmanos-konflux1.durx.p3.openshiftapps.com'}} [ocp_resources InferenceService] 2026-07-02T11:50:25.725411Z [info ] Wait until InferenceService http-onnx is deleted [ocp_resources InferenceService] 2026-07-02T11:50:26.764299Z [info ] Delete ServiceAccount models-bucket-sa [ocp_resources ServiceAccount] 2026-07-02T11:50:26.801374Z [info ] Deleting {'kind': 'ServiceAccount', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-sa', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '45adb270-5c35-41c8-bbaf-92db139bd82a', 'resourceVersion': '11415380', 'creationTimestamp': '2026-07-02T11:49:30Z', 'annotations': {'openshift.io/internal-registry-pull-secret-ref': 'models-bucket-sa-dockercfg-hxmfv'}, 'managedFields': [{'manager': 'openshift.io/image-registry-pull-secrets_service-account-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-02T11:49:30Z', '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-hxmfv"}': {}}}}, {'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-02T11:49:30Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:secrets': {'.': {}, 'k:{"name":"models-bucket-secret"}': {}}}}]}, 'secrets': [{'name': 'models-bucket-secret'}, {'name': 'models-bucket-sa-dockercfg-hxmfv'}], 'imagePullSecrets': [{'name': 'models-bucket-sa-dockercfg-hxmfv'}]} [ocp_resources ServiceAccount] 2026-07-02T11:50:26.824066Z [info ] Wait until ServiceAccount models-bucket-sa is deleted [ocp_resources ServiceAccount] 2026-07-02T11:50:26.843444Z [info ] Delete Secret models-bucket-secret [ocp_resources Secret] 2026-07-02T11:50:26.886530Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-secret', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '6fd8833b-81e0-48ef-aa8e-5c6dec8e1c7f', 'resourceVersion': '11415373', 'creationTimestamp': '2026-07-02T11:49:30Z', 'labels': {'opendatahub.io/dashboard': 'true', 'opendatahub.io/managed': 'true'}, 'annotations': {'opendatahub.io/connection-type': 's3', 'serving.kserve.io/s3-endpoint': 's3.us-east-2.amazonaws.com/', 'serving.kserve.io/s3-region': 'us-east-2', 'serving.kserve.io/s3-useanoncredential': 'false', 'serving.kserve.io/s3-usehttps': '1', 'serving.kserve.io/s3-verifyssl': '0'}, 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-02T11:49:30Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:data': {'.': {}, 'f:AWS_ACCESS_KEY_ID': {}, 'f:AWS_DEFAULT_REGION': {}, 'f:AWS_S3_BUCKET': {}, 'f:AWS_S3_ENDPOINT': {}, 'f:AWS_SECRET_ACCESS_KEY': {}}, 'f:metadata': {'f:annotations': {'.': {}, 'f:opendatahub.io/connection-type': {}, 'f:serving.kserve.io/s3-endpoint': {}, 'f:serving.kserve.io/s3-region': {}, 'f:serving.kserve.io/s3-useanoncredential': {}, 'f:serving.kserve.io/s3-usehttps': {}, 'f:serving.kserve.io/s3-verifyssl': {}}, 'f:labels': {'.': {}, 'f:opendatahub.io/dashboard': {}, 'f:opendatahub.io/managed': {}}}, 'f:type': {}}}]}, 'data': '*******', 'type': 'Opaque'} [ocp_resources Secret] 2026-07-02T11:50:26.915082Z [info ] Wait until Secret models-bucket-secret is deleted [ocp_resources Secret] 2026-07-02T11:50:26.934298Z [info ] Delete Secret ci-bucket-secret [ocp_resources Secret] 2026-07-02T11:50:26.978174Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'ci-bucket-secret', 'namespace': 'test-kserve-raw-token-authentication', 'uid': 'a307668d-e002-4622-9b80-277f3d994db5', 'resourceVersion': '11415366', 'creationTimestamp': '2026-07-02T11:49:30Z', 'labels': {'opendatahub.io/dashboard': 'true', 'opendatahub.io/managed': 'true'}, 'annotations': {'opendatahub.io/connection-type': 's3', 'serving.kserve.io/s3-endpoint': 's3.us-east-1.amazonaws.com/', 'serving.kserve.io/s3-region': 'us-east-1', 'serving.kserve.io/s3-useanoncredential': 'false', 'serving.kserve.io/s3-usehttps': '1', 'serving.kserve.io/s3-verifyssl': '0'}, 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-02T11:49:30Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:data': {'.': {}, 'f:AWS_ACCESS_KEY_ID': {}, 'f:AWS_DEFAULT_REGION': {}, 'f:AWS_S3_BUCKET': {}, 'f:AWS_S3_ENDPOINT': {}, 'f:AWS_SECRET_ACCESS_KEY': {}}, 'f:metadata': {'f:annotations': {'.': {}, 'f:opendatahub.io/connection-type': {}, 'f:serving.kserve.io/s3-endpoint': {}, 'f:serving.kserve.io/s3-region': {}, 'f:serving.kserve.io/s3-useanoncredential': {}, 'f:serving.kserve.io/s3-usehttps': {}, 'f:serving.kserve.io/s3-verifyssl': {}}, 'f:labels': {'.': {}, 'f:opendatahub.io/dashboard': {}, 'f:opendatahub.io/managed': {}}}, 'f:type': {}}}]}, 'data': '*******', 'type': 'Opaque'} [ocp_resources Secret] 2026-07-02T11:50:27.002397Z [info ] Wait until Secret ci-bucket-secret is deleted [ocp_resources Secret] 2026-07-02T11:50:27.021413Z [info ] Delete ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-02T11:50:27.059878Z [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-02T11:49:30Z', '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-02T11:49:30Z'}], 'name': 'http-mnist-runtime', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '11415363', 'uid': 'a9ef05ea-8885-4276-9ba3-a82c7869cfd7'}, '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:8456a5e15035b06449619cd95ce0c73c3b24389723ed46524c06b6d87c988697', '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-02T11:50:27.082316Z [info ] Wait until ServingRuntime http-mnist-runtime is deleted [ocp_resources ServingRuntime] 2026-07-02T11:50:27.173648Z [info ] Delete Project test-kserve-raw-token-authentication [ocp_resources Project] 2026-07-02T11:50:27.224530Z [info ] Deleting {'kind': 'Project', 'apiVersion': 'project.openshift.io/v1', 'metadata': {'name': 'test-kserve-raw-token-authentication', 'uid': '5f408115-8017-4848-b194-a2235106e5a5', 'resourceVersion': '11415347', 'creationTimestamp': '2026-07-02T11:49:29Z', 'labels': {'kubernetes.io/metadata.name': 'test-kserve-raw-token-authentication', 'pod-security.kubernetes.io/audit': 'restricted', 'pod-security.kubernetes.io/audit-version': 'latest', 'pod-security.kubernetes.io/warn': 'restricted', 'pod-security.kubernetes.io/warn-version': 'latest'}, 'annotations': {'openshift.io/description': '', 'openshift.io/display-name': '', 'openshift.io/requester': 'system:serviceaccount:kube-system:olminstall-cluster-admin', 'openshift.io/sa.scc.mcs': 's0:c29,c24', 'openshift.io/sa.scc.supplemental-groups': '1000860000/10000', 'openshift.io/sa.scc.uid-range': '1000860000/10000', 'security.openshift.io/MinimallySufficientPodSecurityStandard': 'restricted'}, 'managedFields': [{'manager': 'cluster-policy-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-02T11:49:29Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'f:openshift.io/sa.scc.mcs': {}, 'f:openshift.io/sa.scc.supplemental-groups': {}, 'f:openshift.io/sa.scc.uid-range': {}}}}}, {'manager': 'pod-security-admission-label-synchronization-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-02T11:49:29Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'f:security.openshift.io/MinimallySufficientPodSecurityStandard': {}}, 'f:labels': {'f:pod-security.kubernetes.io/audit': {}, 'f:pod-security.kubernetes.io/audit-version': {}, 'f:pod-security.kubernetes.io/warn': {}, 'f:pod-security.kubernetes.io/warn-version': {}}}}}, {'manager': 'openshift-apiserver', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-02T11:49:29Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'.': {}, 'f:openshift.io/description': {}, 'f:openshift.io/display-name': {}, 'f:openshift.io/requester': {}}, 'f:labels': {'.': {}, 'f:kubernetes.io/metadata.name': {}}}}}, {'manager': 'openshift-controller-manager', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-02T11:49:29Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {'f:finalizers': {}}}, 'subresource': 'finalize'}]}, 'spec': {'finalizers': ['kubernetes']}, 'status': {'phase': 'Active'}} [ocp_resources Project] 2026-07-02T11:50:27.269898Z [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-02T11:50:36.516452Z [info ] Executing class fixture: unprivileged_model_namespace [conftest] 2026-07-02T11:50:36.516578Z [info ] kind: ProjectRequest api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-02T11:50:36.516737Z [info ] Create ProjectRequest test-non-admin-raw [ocp_resources ProjectRequest] 2026-07-02T11:50:36.516861Z [info ] Posting {'apiVersion': 'project.openshift.io/v1', 'kind': 'ProjectRequest', 'metadata': {'name': 'test-non-admin-raw'}} [ocp_resources ProjectRequest] 2026-07-02T11:50:36.678038Z [info ] kind: Project api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-02T11:50:36.678294Z [info ] Wait for Project test-non-admin-raw status to be Active [ocp_resources Project] 2026-07-02T11:50:36.709262Z [info ] Status of Project test-non-admin-raw is Active [ocp_resources Project] 2026-07-02T11:50:36.709425Z [info ] Executing class fixture: http_s3_ovms_serving_runtime [conftest] 2026-07-02T11:50:36.709565Z [info ] kind: Template api version: template.openshift.io/v1 [ocp_resources.resource] 2026-07-02T11:50:36.761372Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T11:50:36.761575Z [info ] Create ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-02T11:50:36.761855Z [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:8456a5e15035b06449619cd95ce0c73c3b24389723ed46524c06b6d87c988697', '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-02T11:50:36.807252Z [info ] Executing class fixture: unprivileged_ci_endpoint_s3_secret [conftest] 2026-07-02T11:50:36.828010Z [info ] Create Secret ci-bucket-unprivileged [ocp_resources Secret] 2026-07-02T11:50:36.828319Z [info ] Posting {'apiVersion': 'v1', 'kind': 'Secret', 'metadata': {'name': 'ci-bucket-unprivileged', 'labels': {'opendatahub.io/managed': 'true', 'opendatahub.io/dashboard': 'true'}, 'annotations': {'opendatahub.io/connection-type': 's3', 'serving.kserve.io/s3-endpoint': 's3.us-east-1.amazonaws.com/', 'serving.kserve.io/s3-region': 'us-east-1', 'serving.kserve.io/s3-useanoncredential': 'false', 'serving.kserve.io/s3-verifyssl': '0', 'serving.kserve.io/s3-usehttps': '1'}, 'namespace': 'test-non-admin-raw'}, 'data': '*******'} [ocp_resources Secret] 2026-07-02T11:50:36.871820Z [info ] Wait until Secret ci-bucket-unprivileged is created [ocp_resources Secret] 2026-07-02T11:50:36.889609Z [info ] Executing class fixture: unprivileged_s3_ovms_raw_inference_service [conftest] 2026-07-02T11:50:36.909387Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-07-02T11:50:36.909551Z [info ] Create InferenceService http-onnx-raw [ocp_resources InferenceService] 2026-07-02T11:50:36.909818Z [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-02T11:50:37.004129Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-02T11:50:38.045596Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-02T11:50:38.118216Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-07-02T11:50:58.443817Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-02T11:50:58.521917Z [info ] Wait for Deployment http-onnx-raw-predictor to be deployed: True [ocp_resources Deployment] 2026-07-02T11:50:58.557863Z [info ] Wait for InferenceService/http-onnx-raw's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-02T11:50:58.558009Z [info ] Wait until InferenceService http-onnx-raw is created [ocp_resources InferenceService] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-02T11:50:58.686191Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-02T11:50:58.722904Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-02T11:50:58.729151Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-02T11:50:58.831505Z [info ] Infrastructure cluster resource tags: [{'key': 'api.openshift.com/environment', 'value': 'production'}, {'key': 'api.openshift.com/id', 'value': '2r2qdb90ltvhjc43lp6iqc6aqb7bgjda'}, {'key': 'api.openshift.com/legal-entity-id', 'value': '1pwwsfazToamNegaehP6eaDg80K'}, {'key': 'api.openshift.com/name', 'value': 'nmanos-konflux1'}, {'key': 'dns', 'value': 'external'}, {'key': 'red-hat-clustertype', 'value': 'rosa'}, {'key': 'red-hat-managed', 'value': 'true'}] [utilities.infra] name=utilities.infra 2026-07-02T11:50:58.831720Z [info ] Running on managed cluster, not using ca bundle [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-02T11:50:58.831823Z [warning ] No CA bundle found, using insecure access [utilities.inference_utils] name=utilities.inference_utils PASSED2026-07-02T11:50:59.173715Z [info ] Inference output: HTTP/1.1 200 OK content-length: 418 content-type: application/json; charset=utf-8 access-control-allow-headers: * access-control-allow-methods: * access-control-allow-origin: * { "model_name": "http-onnx-raw", "model_version": "1", "outputs": [{ "name": "Plus214_Output_0", "shape": [1, 10], "datatype": "FP32", "data": [-8.233053207397461, -7.749701976776123, -3.4236819744110107, 12.363025665283203, -12.07910442352295, 17.266592025756836, -10.570975303649902, 0.7130780220031738, 3.3217153549194336, 1.3621225357055664] }] } [utilities.inference_utils] name=utilities.inference_utils  TEST: TestRawUnprivilegedUser.test_non_admin_deploy_raw_and_query_model[unprivileged_model_namespace0-unprivileged_s3_ovms_raw_inference_service0] STATUS: PASSED ------------------------------------------------------- TEARDOWN ------------------------------------------------------- 2026-07-02T11:50:59.175938Z [info ] Delete InferenceService http-onnx-raw [ocp_resources InferenceService] 2026-07-02T11:50:59.217172Z [info ] Deleting {'apiVersion': 'serving.kserve.io/v1beta1', 'kind': 'InferenceService', 'metadata': {'annotations': {'modelFormat': 'openvino_ir', 'serving.kserve.io/deploymentMode': 'Standard'}, 'creationTimestamp': '2026-07-02T11:50:36Z', '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-02T11:50:36Z'}, {'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-02T11:50:37Z'}, {'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-02T11:50:48Z'}], 'name': 'http-onnx-raw', 'namespace': 'test-non-admin-raw', 'resourceVersion': '11417281', 'uid': '8cb89d22-593d-4ae4-be06-4e7c4b0aa536'}, '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-02T11:50:37Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-07-02T11:50:48Z', 'message': 'ReplicaSet "http-onnx-raw-predictor-6f67bb66c4" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-07-02T11:50:48Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-07-02T11:50:37Z', '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-02T11:50:59.242305Z [info ] Wait until InferenceService http-onnx-raw is deleted [ocp_resources InferenceService] 2026-07-02T11:51:00.282754Z [info ] Delete Secret ci-bucket-unprivileged [ocp_resources Secret] 2026-07-02T11:51:00.326655Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'ci-bucket-unprivileged', 'namespace': 'test-non-admin-raw', 'uid': 'e0630bda-ac56-406c-9bb9-0a8876ce9ef6', 'resourceVersion': '11416985', 'creationTimestamp': '2026-07-02T11:50:36Z', 'labels': {'opendatahub.io/dashboard': 'true', 'opendatahub.io/managed': 'true'}, 'annotations': {'opendatahub.io/connection-type': 's3', 'serving.kserve.io/s3-endpoint': 's3.us-east-1.amazonaws.com/', 'serving.kserve.io/s3-region': 'us-east-1', 'serving.kserve.io/s3-useanoncredential': 'false', 'serving.kserve.io/s3-usehttps': '1', 'serving.kserve.io/s3-verifyssl': '0'}, 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-02T11:50:36Z', '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-02T11:51:00.353203Z [info ] Wait until Secret ci-bucket-unprivileged is deleted [ocp_resources Secret] 2026-07-02T11:51:00.372207Z [info ] Delete ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-02T11:51:00.411954Z [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-02T11:50:36Z', '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-02T11:50:36Z'}], 'name': 'http-mnist-runtime', 'namespace': 'test-non-admin-raw', 'resourceVersion': '11416980', 'uid': 'edbfaea3-73b2-4d8d-a4e1-77c16f38a67d'}, '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:8456a5e15035b06449619cd95ce0c73c3b24389723ed46524c06b6d87c988697', '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-02T11:51:00.434392Z [info ] Wait until ServingRuntime http-mnist-runtime is deleted [ocp_resources ServingRuntime] 2026-07-02T11:51:00.472342Z [info ] Delete Project test-non-admin-raw [ocp_resources Project] 2026-07-02T11:51:00.524277Z [info ] Deleting {'kind': 'Project', 'apiVersion': 'project.openshift.io/v1', 'metadata': {'name': 'test-non-admin-raw', 'uid': '9542fdd2-506b-41fe-b95d-155539c224ef', 'resourceVersion': '11416960', 'creationTimestamp': '2026-07-02T11:50:36Z', '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:c30,c25', 'openshift.io/sa.scc.supplemental-groups': '1000920000/10000', 'openshift.io/sa.scc.uid-range': '1000920000/10000', 'security.openshift.io/MinimallySufficientPodSecurityStandard': 'restricted'}, 'managedFields': [{'manager': 'cluster-policy-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-02T11:50:36Z', '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-02T11:50:36Z', '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-02T11:50:36Z', '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-02T11:50:36Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {'f:finalizers': {}}}, 'subresource': 'finalize'}]}, 'spec': {'finalizers': ['kubernetes']}, 'status': {'phase': 'Active'}} [ocp_resources Project] 2026-07-02T11:51:00.560605Z [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, 188 deselected in 102.12s (0:01:42) ================= - generated xml file: /workspace/tests-shared/tests-payload/results/model_server-smoke.xml - ================ 5 passed, 188 deselected in 102.12s (0:01:42) =================