--- BVT pytest attempt 2026-07-06T09:17:29.764677+00:00 (/.local/bin/uv --directory /home/odh/opendatahub-tests...) --- 2026-07-06T09:17:31.675397Z [info ] Writing tests log to /home/odh/opendatahub-tests/results/pytest-tests.log [conftest] 2026-07-06T09:17:31.675818Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-23.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-23.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-23.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-23.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-23.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( 2026-07-06T09:17:31.852534Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-23.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-23.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-23.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-23.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( 2026-07-06T09:17:31.911086Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-23.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( ============================= 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-06T09:17:32.346310Z [info ] Executing session fixture: admin_client [conftest] 2026-07-06T09:17:32.347553Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-06T09:17:32.347686Z [info ] Executing session fixture: dsc_resource [conftest] 2026-07-06T09:17:32.347803Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] 2026-07-06T09:17:32.417069Z [info ] Executing package fixture: enabled_kserve_in_dsc [conftest] 2026-07-06T09:17:32.431294Z [warning ] Component kserve was already set to managementState Managed [utilities.data_science_cluster_utils] name=utilities.data_science_cluster_utils 2026-07-06T09:17:32.433080Z [info ] Executing session fixture: event_loop_policy [conftest] 2026-07-06T09:17:32.433266Z [info ] Executing session fixture: _syrupy_apply_ide_patches [conftest] 2026-07-06T09:17:32.433405Z [info ] Executing session fixture: tmp_path_factory [conftest] 2026-07-06T09:17:32.433579Z [info ] Executing session fixture: tests_tmp_dir [conftest] 2026-07-06T09:17:32.434315Z [info ] Executing session fixture: os_path_environment [conftest] 2026-07-06T09:17:32.434486Z [info ] Executing session fixture: tmpdir_factory [conftest] 2026-07-06T09:17:32.434641Z [info ] Executing session fixture: bin_directory [conftest] 2026-07-06T09:17:32.435593Z [info ] Executing session fixture: oc_binary_path [conftest] 2026-07-06T09:17:32.455673Z [info ] kind: ConsoleCLIDownload api version: console.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:17:32.481646Z [info ] All oc console cli download links: ['https://downloads-openshift-console.apps.ods-qe-psi-23.osp.rh-ods.com/amd64/linux/oc.tar'] [utilities.infra] name=utilities.infra 2026-07-06T09:17:32.481755Z [info ] Downloading archive using: url=https://downloads-openshift-console.apps.ods-qe-psi-23.osp.rh-ods.com/amd64/linux/oc.tar [utilities.infra] name=utilities.infra 2026-07-06T09:17:44.956131Z [info ] Extract the downloaded archive. [utilities.infra] name=utilities.infra 2026-07-06T09:17:45.101694Z [info ] Downloaded file: ['oc']  [utilities.infra] name=utilities.infra 2026-07-06T09:17:45.130717Z [info ] Executing session fixture: bin_directory_to_os_path [conftest] 2026-07-06T09:17:45.126428Z [info ] OC binary path: /tmp/pytest-YFMw8Z75VoX7hMTWtNMnXy/bin0/oc [tests.conftest] name=tests.conftest 2026-07-06T09:17:45.126535Z [info ] Adding /tmp/pytest-YFMw8Z75VoX7hMTWtNMnXy/bin0 to $PATH [tests.conftest] name=tests.conftest 2026-07-06T09:17:45.131172Z [info ] Executing session fixture: nodes [conftest] 2026-07-06T09:17:46.106959Z [info ] Executing session fixture: dsci_resource [conftest] 2026-07-06T09:17:46.107114Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] 2026-07-06T09:17:46.120668Z [info ] Executing session fixture: record_testsuite_property [conftest] 2026-07-06T09:17:46.120825Z [info ] Executing session fixture: junitxml_plugin [conftest] 2026-07-06T09:17:46.121076Z [info ] Executing session fixture: cluster_sanity_scope_session [conftest] 2026-07-06T09:17:46.120091Z [info ] Check cluster sanity.  [utilities.infra] name=utilities.infra 2026-07-06T09:17:46.121313Z [info ] Verify all nodes are in a healthy condition. [ocp_utilities.infra] 2026-07-06T09:17:46.190523Z [info ] Verify all nodes are schedulable. [ocp_utilities.infra] 2026-07-06T09:17:46.261981Z [warning ] Skipping RHOAI resource checks, got --cluster-sanity-skip-rhoai-check [utilities.infra] name=utilities.infra 2026-07-06T09:17:46.263240Z [info ] Executing session fixture: autouse_fixtures [conftest] 2026-07-06T09:17:46.263358Z [info ] Executing session fixture: kserve_health_check [conftest] 2026-07-06T09:17:46.293806Z [info ] kind: Deployment api version: apps/v1 [ocp_resources.resource] 2026-07-06T09:17:46.347620Z [info ] KServe component health check passed [tests.model_serving.model_server.kserve.conftest] 2026-07-06T09:17:46.347749Z [info ] Executing session fixture: pytestconfig [conftest] 2026-07-06T09:17:46.347891Z [info ] Executing session fixture: aws_access_key_id [conftest] 2026-07-06T09:17:46.348000Z [info ] Executing session fixture: aws_secret_access_key [conftest] 2026-07-06T09:17:46.348103Z [info ] Executing session fixture: ci_s3_bucket_endpoint [conftest] 2026-07-06T09:17:46.348212Z [info ] Executing session fixture: valid_aws_config [conftest] 2026-07-06T09:17:46.401255Z [info ] AWS credentials validated successfully via STS GetCallerIdentity [tests.conftest] name=tests.conftest 2026-07-06T09:17:46.402979Z [info ] Executing session fixture: use_unprivileged_client [conftest] 2026-07-06T09:17:46.403123Z [info ] Executing session fixture: kubconfig_filepath [conftest] 2026-07-06T09:17:46.403234Z [info ] Executing session fixture: cluster_authentication [conftest] 2026-07-06T09:17:46.439377Z [info ] kind: Authentication api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:17:46.453700Z [info ] Executing session fixture: is_byoidc [conftest] 2026-07-06T09:17:46.469456Z [info ] Executing session fixture: non_admin_user_password [conftest] 2026-07-06T09:17:46.469620Z [info ] Executing session fixture: unprivileged_client [conftest] 2026-07-06T09:17:46.467245Z [warning ] Unprivileged client is not enabled, using admin client [tests.conftest] name=tests.conftest 2026-07-06T09:17:46.469978Z [info ] Executing session fixture: teardown_resources [conftest] 2026-07-06T09:17:46.472046Z [info ] Executing session fixture: ci_s3_bucket_name [conftest] 2026-07-06T09:17:46.472177Z [info ] Executing session fixture: ci_s3_bucket_region [conftest] 2026-07-06T09:17:46.472294Z [info ] Executing session fixture: models_s3_bucket_name [conftest] 2026-07-06T09:17:46.472407Z [info ] Executing session fixture: models_s3_bucket_region [conftest] 2026-07-06T09:17:46.472594Z [info ] Executing session fixture: models_s3_bucket_endpoint [conftest] 2026-07-06T09:17:46.472705Z [info ] Executing class fixture: unprivileged_model_namespace [conftest] 2026-07-06T09:17:46.472805Z [info ] kind: ProjectRequest api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:17:46.472932Z [info ] Create ProjectRequest test-kserve-raw-token-authentication [ocp_resources ProjectRequest] 2026-07-06T09:17:46.473041Z [info ] Posting {'apiVersion': 'project.openshift.io/v1', 'kind': 'ProjectRequest', 'metadata': {'name': 'test-kserve-raw-token-authentication'}} [ocp_resources ProjectRequest] 2026-07-06T09:17:46.571324Z [info ] kind: Project api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:17:46.571496Z [info ] Wait for Project test-kserve-raw-token-authentication status to be Active [ocp_resources Project] 2026-07-06T09:17:46.589323Z [info ] Status of Project test-kserve-raw-token-authentication is Active [ocp_resources Project] 2026-07-06T09:17:46.589482Z [info ] Executing class fixture: http_s3_ovms_serving_runtime [conftest] 2026-07-06T09:17:46.589629Z [info ] kind: Template api version: template.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:17:46.752162Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-06T09:17:46.752409Z [info ] Create ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-06T09:17:46.752589Z [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-06T09:17:46.836215Z [info ] Executing class fixture: ci_endpoint_s3_secret [conftest] 2026-07-06T09:17:46.857417Z [info ] Create Secret ci-bucket-secret [ocp_resources Secret] 2026-07-06T09:17:46.857660Z [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-06T09:17:46.901582Z [info ] Wait until Secret ci-bucket-secret is created [ocp_resources Secret] 2026-07-06T09:17:46.923649Z [info ] Executing class fixture: models_endpoint_s3_secret [conftest] 2026-07-06T09:17:46.961024Z [info ] Create Secret models-bucket-secret [ocp_resources Secret] 2026-07-06T09:17:46.961179Z [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-06T09:17:47.026796Z [info ] Wait until Secret models-bucket-secret is created [ocp_resources Secret] 2026-07-06T09:17:47.048010Z [info ] Executing class fixture: model_service_account [conftest] 2026-07-06T09:17:47.048148Z [info ] Create ServiceAccount models-bucket-sa [ocp_resources ServiceAccount] 2026-07-06T09:17:47.048269Z [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-06T09:17:47.089129Z [info ] Executing class fixture: http_s3_ovms_raw_inference_service [conftest] 2026-07-06T09:17:47.106651Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-07-06T09:17:47.106800Z [info ] Create InferenceService http-onnx [ocp_resources InferenceService] 2026-07-06T09:17:47.107003Z [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-06T09:17:47.202949Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-06T09:17:48.281125Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-06T09:17:48.334943Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-07-06T09:18:28.718552Z [info ] kind: Deployment api version: apps/v1 [ocp_resources.resource] 2026-07-06T09:18:28.732326Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-06T09:18:28.790092Z [info ] Wait for Deployment http-onnx-predictor to be deployed: True [ocp_resources Deployment] 2026-07-06T09:18:28.818498Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-06T09:18:28.818666Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-07-06T09:18:28.893132Z [info ] Executing class fixture: http_raw_view_role [conftest] 2026-07-06T09:18:28.893302Z [info ] kind: Role api version: rbac.authorization.k8s.io/v1 [ocp_resources.resource] 2026-07-06T09:18:28.893427Z [info ] Create Role http-onnx-view  [ocp_resources Role] 2026-07-06T09:18:28.893550Z [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-06T09:18:28.922996Z [info ] Executing class fixture: http_raw_role_binding [conftest] 2026-07-06T09:18:28.923136Z [info ] kind: RoleBinding api version: rbac.authorization.k8s.io/v1 [ocp_resources.resource] 2026-07-06T09:18:28.923259Z [info ] Create RoleBinding http-models-bucket-sa-view [ocp_resources RoleBinding] 2026-07-06T09:18:28.923379Z [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-06T09:18:28.951213Z [info ] Executing class fixture: http_raw_inference_token [conftest] 2026-07-06T09:18:28.951358Z [info ] Running oc create token -n test-kserve-raw-token-authentication models-bucket-sa command [pyhelper_utils.shell] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-06T09:18:29.129114Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-06T09:18:29.185836Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-06T09:18:29.186271Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:18:29.287895Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:18:29.302534Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-06T09:18:29.318546Z [info ] Running Hide By User command  [pyhelper_utils.shell] PASSED2026-07-06T09:18:29.392354Z [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: Mon, 06 Jul 2026 09:18:29 GMT set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=4d3d7278ca3f14c0; path=/; HttpOnly; Secure; SameSite=None { "model_name": "http-onnx", "model_version": "1", "outputs": [{ "name": "Plus214_Output_0", "shape": [1, 10], "datatype": "FP32", "data": [-8.233053207397461, -7.749701976776123, -3.4236819744110107, 12.363025665283203, -12.07910442352295, 17.266592025756836, -10.570975303649902, 0.7130780220031738, 3.3217153549194336, 1.3621225357055664] }] } [utilities.inference_utils] name=utilities.inference_utils _ 1 of 5 completed, 1 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/model_serving/model_server/kserve/authentication/test_kserve_token_authentication_raw.py::TestKserveTokenAuthenticationRawForRest::test_disabled_raw_model_authentication[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0]  TEST: TestKserveTokenAuthenticationRawForRest.test_model_authentication_using_rest_raw[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] STATUS: PASSED ------------------------------------------------------- TEARDOWN -------------------------------------------------------  ------ test_disabled_raw_model_authentication[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] ------ -------------------------------------------------------- SETUP -------------------------------------------------------- 2026-07-06T09:18:29.401543Z [info ] Executing function fixture: patched_remove_raw_authentication_isvc [conftest] 2026-07-06T09:18:29.401659Z [info ] ResourceEdit: Backing up old data [ocp_resources.resource] 2026-07-06T09:18:29.416419Z [info ] ResourceEdits: Updating data for resource InferenceService http-onnx [ocp_resources.resource] 2026-07-06T09:18:29.416632Z [info ] Update InferenceService http-onnx: {'metadata': {'annotations': {'security.opendatahub.io/enable-auth': 'false'}, 'name': 'http-onnx'}} [ocp_resources InferenceService] 2026-07-06T09:18:29.452527Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-06T09:18:29.452726Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-07-06T09:18:29.512139Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-06T09:18:29.648627Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-06T09:18:29.691925Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-06T09:18:29.698463Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:18:29.814297Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:18:29.838277Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-06T09:18:29.974733Z [info ] Inference output: HTTP/1.0 400 Bad Request set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=48ef52a8f875751bd6138d1773c48fd4; path=/; HttpOnly; Secure; SameSite=None Client sent an HTTP request to an HTTPS server.  [utilities.inference_utils] name=utilities.inference_utils 2026-07-06T09:18:35.004366Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-06T09:18:35.046884Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-06T09:18:35.053605Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:18:35.132877Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:18:35.147669Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-06T09:18:35.230960Z [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=49d7b00935ce8a5b2256bc74d9503ca7; 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-06T09:18:35.231227Z [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-06T09:18:35.261058Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-06T09:18:35.309025Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-06T09:18:35.313940Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:18:35.382240Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:18:35.395769Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils PASSED2026-07-06T09:18:35.497351Z [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=49d7b00935ce8a5b2256bc74d9503ca7; 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-06T09:18:35.501020Z [info ] ResourceEdits: Restoring data for resource InferenceService http-onnx [ocp_resources.resource] 2026-07-06T09:18:35.501160Z [info ] Update InferenceService http-onnx: {'metadata': {'annotations': {'security.opendatahub.io/enable-auth': 'true'}, 'name': 'http-onnx'}} [ocp_resources InferenceService] 2026-07-06T09:18:35.533698Z [info ] Wait for InferenceService/http-onnx's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-06T09:18:35.533892Z [info ] Wait until InferenceService http-onnx is created [ocp_resources InferenceService] 2026-07-06T09:18:36.609722Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-06T09:18:36.739780Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-06T09:18:36.783534Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-06T09:18:36.793247Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:18:36.874671Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:18:36.890708Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils 2026-07-06T09:18:42.028930Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-06T09:18:42.035314Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:18:42.102962Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:18:42.116390Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils _ 2 of 5 completed, 2 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/model_serving/model_server/kserve/authentication/test_kserve_token_authentication_raw.py::TestKserveTokenAuthenticationRawForRest::test_re_enabled_raw_model_authentication[unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] 2026-07-06T09:18:42.195264Z [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: Mon, 06 Jul 2026 09:18:42 GMT set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=48ef52a8f875751bd6138d1773c48fd4; 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-06T09:18:42.195418Z [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-06T09:18:42.225284Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-06T09:18:42.267388Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-06T09:18:42.272565Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:18:42.340969Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:18:42.354813Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils PASSED _ 3 of 5 completed, 3 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/model_serving/model_server/kserve/authentication/test_kserve_token_authentication_raw.py::TestKserveTokenAuthenticationRawForRest::test_cross_model_authentication_raw[http_s3_ovms_raw_inference_service_20-unprivileged_model_namespace0-http_s3_ovms_raw_inference_service0] 2026-07-06T09:18:42.426227Z [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: Mon, 06 Jul 2026 09:18:42 GMT set-cookie: 12d2eb568f824d2bcf01971f024ec5f9=48ef52a8f875751bd6138d1773c48fd4; 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-06T09:18:42.430574Z [info ] Executing class fixture: model_service_account_2 [conftest] 2026-07-06T09:18:42.430709Z [info ] Create ServiceAccount models-bucket-sa-2 [ocp_resources ServiceAccount] 2026-07-06T09:18:42.430863Z [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-06T09:18:42.458322Z [info ] Executing class fixture: http_s3_ovms_raw_inference_service_2 [conftest] 2026-07-06T09:18:42.472943Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-07-06T09:18:42.473360Z [info ] Create InferenceService http-onnx-2 [ocp_resources InferenceService] 2026-07-06T09:18:42.473488Z [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-06T09:18:42.521711Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-06T09:18:43.554223Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-06T09:18:43.619622Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-07-06T09:19:04.033432Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-06T09:19:04.151718Z [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-06T09:19:04.194957Z [info ] Wait for InferenceService/http-onnx-2's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-06T09:19:04.195148Z [info ] Wait until InferenceService http-onnx-2 is created [ocp_resources InferenceService] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-06T09:19:04.355835Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-06T09:19:04.425650Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-06T09:19:04.431808Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:19:04.548501Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:19:04.571331Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils PASSED2026-07-06T09:19:04.679692Z [info ] Inference output: HTTP/1.1 403 Forbidden content-type: text/plain; charset=utf-8 x-content-type-options: nosniff date: Mon, 06 Jul 2026 09:19:04 GMT content-length: 145 set-cookie: 69f764f782e5acf3035b89de67f2b2b6=25a5723b0eb4ade5; 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-06T09:19:04.682026Z [info ] Delete InferenceService http-onnx-2 [ocp_resources InferenceService] 2026-07-06T09:19:04.735287Z [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-06T09:18:42Z', '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-06T09:18:42Z'}, {'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-06T09:18:42Z'}, {'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-06T09:18:54Z'}], 'name': 'http-onnx-2', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '244023729', 'uid': '63950c81-9876-4328-b851-47652464468a'}, '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-06T09:18:42Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-07-06T09:18:54Z', 'message': 'ReplicaSet "http-onnx-2-predictor-8b9ffc84c" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-07-06T09:18:54Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-07-06T09:18:42Z', 'severity': 'Info', 'status': 'False', 'type': 'Stopped'}], 'deploymentMode': 'Standard', 'modelStatus': {'copies': {'failedCopies': 0, 'totalCopies': 1}, 'states': {'activeModelState': 'Loaded', 'targetModelState': 'Loaded'}, 'transitionStatus': 'UpToDate'}, 'observedGeneration': 1, 'servingRuntimeName': 'http-mnist-runtime', 'url': 'https://http-onnx-2-test-kserve-raw-token-authentication.apps.ods-qe-psi-23.osp.rh-ods.com'}} [ocp_resources InferenceService] 2026-07-06T09:19:04.764350Z [info ] Wait until InferenceService http-onnx-2 is deleted [ocp_resources InferenceService] 2026-07-06T09:19:05.817299Z [info ] Delete ServiceAccount models-bucket-sa-2 [ocp_resources ServiceAccount] 2026-07-06T09:19:05.866198Z [info ] Deleting {'kind': 'ServiceAccount', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-sa-2', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '9cdd2ef3-117a-481b-add3-6a1a19d3bce1', 'resourceVersion': '244023301', 'creationTimestamp': '2026-07-06T09:18:42Z', 'annotations': {'openshift.io/internal-registry-pull-secret-ref': 'models-bucket-sa-2-dockercfg-fbccw'}, 'managedFields': [{'manager': 'openshift.io/image-registry-pull-secrets_service-account-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-06T09:18:42Z', '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-fbccw"}': {}}}}, {'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-06T09:18:42Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:secrets': {'.': {}, 'k:{"name":"models-bucket-secret"}': {}}}}]}, 'secrets': [{'name': 'models-bucket-secret'}, {'name': 'models-bucket-sa-2-dockercfg-fbccw'}], 'imagePullSecrets': [{'name': 'models-bucket-sa-2-dockercfg-fbccw'}]} [ocp_resources ServiceAccount] 2026-07-06T09:19:05.901277Z [info ] Wait until ServiceAccount models-bucket-sa-2 is deleted [ocp_resources ServiceAccount] 2026-07-06T09:19:05.925637Z [info ] Delete RoleBinding http-models-bucket-sa-view [ocp_resources RoleBinding] 2026-07-06T09:19:05.989273Z [info ] Deleting {'kind': 'RoleBinding', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'metadata': {'name': 'http-models-bucket-sa-view', 'namespace': 'test-kserve-raw-token-authentication', 'uid': 'a71a971e-7ce8-4458-8892-6517bf277c08', 'resourceVersion': '244022866', 'creationTimestamp': '2026-07-06T09:18:28Z', 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'time': '2026-07-06T09:18:28Z', '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-06T09:19:06.022038Z [info ] Wait until RoleBinding http-models-bucket-sa-view is deleted [ocp_resources RoleBinding] 2026-07-06T09:19:06.047706Z [info ] Delete Role http-onnx-view  [ocp_resources Role] 2026-07-06T09:19:06.098955Z [info ] Deleting {'kind': 'Role', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'metadata': {'name': 'http-onnx-view', 'namespace': 'test-kserve-raw-token-authentication', 'uid': '0a11dad5-049f-4667-97a2-e670cb3919a7', 'resourceVersion': '244022865', 'creationTimestamp': '2026-07-06T09:18:28Z', 'managedFields': [{'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'rbac.authorization.k8s.io/v1', 'time': '2026-07-06T09:18:28Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:rules': {}}}]}, 'rules': [{'verbs': ['get'], 'apiGroups': ['serving.kserve.io'], 'resources': ['inferenceservices'], 'resourceNames': ['http-onnx']}]} [ocp_resources Role] 2026-07-06T09:19:06.130571Z [info ] Wait until Role http-onnx-view is deleted [ocp_resources Role] 2026-07-06T09:19:06.150825Z [info ] Delete InferenceService http-onnx [ocp_resources InferenceService] 2026-07-06T09:19:06.209018Z [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-06T09:17: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:finalizers': {'.': {}, 'v:"inferenceservice.finalizers"': {}, 'v:"odh.inferenceservice.finalizers"': {}}}}, 'manager': 'manager', 'operation': 'Update', 'time': '2026-07-06T09:17:47Z'}, {'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-06T09:18:35Z'}, {'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-06T09:18:35Z'}], 'name': 'http-onnx', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '244023120', 'uid': 'f8e3bc87-3687-4d75-acd5-b10c33701513'}, '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-06T09:17:47Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-07-06T09:18:35Z', 'message': 'ReplicaSet "http-onnx-predictor-748f48cf45" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-07-06T09:18:35Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-07-06T09:17:47Z', 'severity': 'Info', 'status': 'False', 'type': 'Stopped'}], 'deploymentMode': 'Standard', 'modelStatus': {'copies': {'failedCopies': 0, 'totalCopies': 1}, 'states': {'activeModelState': 'Loaded', 'targetModelState': 'Loaded'}, 'transitionStatus': 'UpToDate'}, 'observedGeneration': 3, 'servingRuntimeName': 'http-mnist-runtime', 'url': 'https://http-onnx-test-kserve-raw-token-authentication.apps.ods-qe-psi-23.osp.rh-ods.com'}} [ocp_resources InferenceService] 2026-07-06T09:19:06.240104Z [info ] Wait until InferenceService http-onnx is deleted [ocp_resources InferenceService] 2026-07-06T09:19:07.296221Z [info ] Delete ServiceAccount models-bucket-sa [ocp_resources ServiceAccount] 2026-07-06T09:19:07.351757Z [info ] Deleting {'kind': 'ServiceAccount', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-sa', 'namespace': 'test-kserve-raw-token-authentication', 'uid': 'aabbb137-eeb7-4180-aa9d-3ada6e9f2a2f', 'resourceVersion': '244021666', 'creationTimestamp': '2026-07-06T09:17:47Z', 'annotations': {'openshift.io/internal-registry-pull-secret-ref': 'models-bucket-sa-dockercfg-c6tbm'}, 'managedFields': [{'manager': 'openshift.io/image-registry-pull-secrets_service-account-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-06T09:17: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-dockercfg-c6tbm"}': {}}}}, {'manager': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-06T09:17:47Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:secrets': {'.': {}, 'k:{"name":"models-bucket-secret"}': {}}}}]}, 'secrets': [{'name': 'models-bucket-secret'}, {'name': 'models-bucket-sa-dockercfg-c6tbm'}], 'imagePullSecrets': [{'name': 'models-bucket-sa-dockercfg-c6tbm'}]} [ocp_resources ServiceAccount] 2026-07-06T09:19:07.384981Z [info ] Wait until ServiceAccount models-bucket-sa is deleted [ocp_resources ServiceAccount] 2026-07-06T09:19:07.416461Z [info ] Delete Secret models-bucket-secret [ocp_resources Secret] 2026-07-06T09:19:07.472479Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'models-bucket-secret', 'namespace': 'test-kserve-raw-token-authentication', 'uid': 'a2a6a09a-341a-4a1e-918b-ac590444e492', 'resourceVersion': '244021657', 'creationTimestamp': '2026-07-06T09:17:46Z', '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-06T09:17:46Z', '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-06T09:19:07.497404Z [info ] Wait until Secret models-bucket-secret is deleted [ocp_resources Secret] 2026-07-06T09:19:07.515479Z [info ] Delete Secret ci-bucket-secret [ocp_resources Secret] 2026-07-06T09:19:07.572202Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'ci-bucket-secret', 'namespace': 'test-kserve-raw-token-authentication', 'uid': 'b479506a-6dc7-4b1b-a010-e672b228ac91', 'resourceVersion': '244021651', 'creationTimestamp': '2026-07-06T09:17:46Z', '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-06T09:17:46Z', '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-06T09:19:07.601487Z [info ] Wait until Secret ci-bucket-secret is deleted [ocp_resources Secret] 2026-07-06T09:19:07.627671Z [info ] Delete ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-06T09:19:07.695013Z [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-06T09:17:46Z', '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-06T09:17:46Z'}], 'name': 'http-mnist-runtime', 'namespace': 'test-kserve-raw-token-authentication', 'resourceVersion': '244021645', 'uid': '63bd6ac3-e2e9-4429-8e7f-bb442e52483f'}, '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-06T09:19:07.725706Z [info ] Wait until ServingRuntime http-mnist-runtime is deleted [ocp_resources ServingRuntime] 2026-07-06T09:19:07.783945Z [info ] Delete Project test-kserve-raw-token-authentication [ocp_resources Project] 2026-07-06T09:19:07.849206Z [info ] Deleting {'kind': 'Project', 'apiVersion': 'project.openshift.io/v1', 'metadata': {'name': 'test-kserve-raw-token-authentication', 'uid': '1a13522a-d29f-495b-af5d-4f886604a677', 'resourceVersion': '244021623', 'creationTimestamp': '2026-07-06T09:17:46Z', 'labels': {'kubernetes.io/metadata.name': 'test-kserve-raw-token-authentication', 'pod-security.kubernetes.io/audit': 'restricted', 'pod-security.kubernetes.io/audit-version': 'latest', 'pod-security.kubernetes.io/enforce': 'restricted', 'pod-security.kubernetes.io/enforce-version': 'latest', 'pod-security.kubernetes.io/warn': 'restricted', 'pod-security.kubernetes.io/warn-version': 'latest'}, 'annotations': {'openshift.io/description': '', 'openshift.io/display-name': '', 'openshift.io/requester': 'system:serviceaccount:kube-system:olminstall-cluster-admin', 'openshift.io/sa.scc.mcs': 's0:c28,c17', 'openshift.io/sa.scc.supplemental-groups': '1000790000/10000', 'openshift.io/sa.scc.uid-range': '1000790000/10000', 'security.openshift.io/MinimallySufficientPodSecurityStandard': 'restricted'}, 'managedFields': [{'manager': 'pod-security-admission-label-synchronization-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-06T09:17:46Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'f:security.openshift.io/MinimallySufficientPodSecurityStandard': {}}, 'f:labels': {'f:pod-security.kubernetes.io/audit': {}, 'f:pod-security.kubernetes.io/audit-version': {}, 'f:pod-security.kubernetes.io/enforce': {}, 'f:pod-security.kubernetes.io/enforce-version': {}, 'f:pod-security.kubernetes.io/warn': {}, 'f:pod-security.kubernetes.io/warn-version': {}}}}}, {'manager': 'cluster-policy-controller', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-06T09:17:46Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'f:openshift.io/sa.scc.mcs': {}, 'f:openshift.io/sa.scc.supplemental-groups': {}, 'f:openshift.io/sa.scc.uid-range': {}}}}}, {'manager': 'openshift-apiserver', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-06T09:17:46Z', '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-06T09:17:46Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {'f:finalizers': {}}}, 'subresource': 'finalize'}]}, 'spec': {'finalizers': ['kubernetes']}, 'status': {'phase': 'Active'}} [ocp_resources Project] 2026-07-06T09:19:07.884635Z [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-06T09:19:17.136170Z [info ] Executing class fixture: unprivileged_model_namespace [conftest] 2026-07-06T09:19:17.136337Z [info ] kind: ProjectRequest api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:19:17.137269Z [info ] Create ProjectRequest test-non-admin-raw [ocp_resources ProjectRequest] 2026-07-06T09:19:17.137422Z [info ] Posting {'apiVersion': 'project.openshift.io/v1', 'kind': 'ProjectRequest', 'metadata': {'name': 'test-non-admin-raw'}} [ocp_resources ProjectRequest] 2026-07-06T09:19:17.244965Z [info ] kind: Project api version: project.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:19:17.245120Z [info ] Wait for Project test-non-admin-raw status to be Active [ocp_resources Project] 2026-07-06T09:19:17.272828Z [info ] Status of Project test-non-admin-raw is Active [ocp_resources Project] 2026-07-06T09:19:17.273065Z [info ] Executing class fixture: http_s3_ovms_serving_runtime [conftest] 2026-07-06T09:19:17.273190Z [info ] kind: Template api version: template.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:19:17.325543Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-06T09:19:17.325726Z [info ] Create ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-06T09:19:17.325980Z [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-06T09:19:17.375248Z [info ] Executing class fixture: unprivileged_ci_endpoint_s3_secret [conftest] 2026-07-06T09:19:17.396418Z [info ] Create Secret ci-bucket-unprivileged [ocp_resources Secret] 2026-07-06T09:19:17.396649Z [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-06T09:19:17.436417Z [info ] Wait until Secret ci-bucket-unprivileged is created [ocp_resources Secret] 2026-07-06T09:19:17.454023Z [info ] Executing class fixture: unprivileged_s3_ovms_raw_inference_service [conftest] 2026-07-06T09:19:17.472809Z [info ] kind: InferenceService api version: serving.kserve.io/v1beta1 [ocp_resources.resource] 2026-07-06T09:19:17.473065Z [info ] Create InferenceService http-onnx-raw [ocp_resources InferenceService] 2026-07-06T09:19:17.473207Z [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-06T09:19:17.527255Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-06T09:19:18.566761Z [info ] Waiting for pods to be created [utilities.infra] name=utilities.infra 2026-07-06T09:19:18.656731Z [info ] Verifying no failed pods  [utilities.infra] name=utilities.infra 2026-07-06T09:19:39.003300Z [info ] Waiting for inference deployment replicas to complete [utilities.infra] name=utilities.infra 2026-07-06T09:19:39.082494Z [info ] Wait for Deployment http-onnx-raw-predictor to be deployed: True [ocp_resources Deployment] 2026-07-06T09:19:39.120888Z [info ] Wait for InferenceService/http-onnx-raw's 'Ready' condition to be 'True' [ocp_resources InferenceService] 2026-07-06T09:19:39.121066Z [info ] Wait until InferenceService http-onnx-raw is created [ocp_resources InferenceService] --------------------------------------------------------- CALL --------------------------------------------------------- 2026-07-06T09:19:39.495238Z [info ] kind: ServingRuntime api version: serving.kserve.io/v1alpha1 [ocp_resources.resource] 2026-07-06T09:19:39.539628Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-07-06T09:19:39.550508Z [info ] kind: Infrastructure api version: config.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:19:39.780603Z [info ] kind: IngressController api version: operator.openshift.io/v1 [ocp_resources.resource] 2026-07-06T09:19:39.807754Z [info ] Using router certificate secret: router-certs-default [utilities.certificates_utils] name=utilities.certificates_utils [2026-07-06T09:19:40Z WARN kube_client::client::tls::rustls_tls] Server cert bypassed PASSED2026-07-06T09:19:40.227939Z [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-06T09:19:40.230114Z [info ] Delete InferenceService http-onnx-raw [ocp_resources InferenceService] 2026-07-06T09:19:40.277976Z [info ] Deleting {'apiVersion': 'serving.kserve.io/v1beta1', 'kind': 'InferenceService', 'metadata': {'annotations': {'modelFormat': 'openvino_ir', 'serving.kserve.io/deploymentMode': 'Standard'}, 'creationTimestamp': '2026-07-06T09:19:17Z', '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-06T09:19:17Z'}, {'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-06T09:19:17Z'}, {'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-06T09:19:29Z'}], 'name': 'http-onnx-raw', 'namespace': 'test-non-admin-raw', 'resourceVersion': '244024946', 'uid': 'a365f413-05f0-4283-9b9a-5ee1fd58a471'}, '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-06T09:19:17Z', 'status': 'True', 'type': 'IngressReady'}, {'lastTransitionTime': '2026-07-06T09:19:29Z', 'message': 'ReplicaSet "http-onnx-raw-predictor-94bf8bcbb" has successfully progressed.', 'reason': 'NewReplicaSetAvailable', 'status': 'True', 'type': 'PredictorReady'}, {'lastTransitionTime': '2026-07-06T09:19:29Z', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-07-06T09:19:17Z', '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-06T09:19:40.308982Z [info ] Wait until InferenceService http-onnx-raw is deleted [ocp_resources InferenceService] 2026-07-06T09:19:41.348027Z [info ] Delete Secret ci-bucket-unprivileged [ocp_resources Secret] 2026-07-06T09:19:41.392370Z [info ] Deleting {'kind': 'Secret', 'apiVersion': 'v1', 'metadata': {'name': 'ci-bucket-unprivileged', 'namespace': 'test-non-admin-raw', 'uid': '1082a726-9436-4826-9d7b-71327f36a9b2', 'resourceVersion': '244024541', 'creationTimestamp': '2026-07-06T09:19:17Z', '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-06T09:19:17Z', '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-06T09:19:41.415307Z [info ] Wait until Secret ci-bucket-unprivileged is deleted [ocp_resources Secret] 2026-07-06T09:19:41.430711Z [info ] Delete ServingRuntime http-mnist-runtime [ocp_resources ServingRuntime] 2026-07-06T09:19:41.464733Z [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-06T09:19:17Z', '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-06T09:19:17Z'}], 'name': 'http-mnist-runtime', 'namespace': 'test-non-admin-raw', 'resourceVersion': '244024533', 'uid': 'd840ccf1-e219-470e-b991-138b69d04cba'}, '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-06T09:19:41.486542Z [info ] Wait until ServingRuntime http-mnist-runtime is deleted [ocp_resources ServingRuntime] 2026-07-06T09:19:41.619927Z [info ] Delete Project test-non-admin-raw [ocp_resources Project] 2026-07-06T09:19:41.676022Z [info ] Deleting {'kind': 'Project', 'apiVersion': 'project.openshift.io/v1', 'metadata': {'name': 'test-non-admin-raw', 'uid': '0d73e8ea-74d7-4701-af99-7d078e4b87fe', 'resourceVersion': '244024519', 'creationTimestamp': '2026-07-06T09:19:17Z', 'labels': {'kubernetes.io/metadata.name': 'test-non-admin-raw', 'pod-security.kubernetes.io/audit': 'restricted', 'pod-security.kubernetes.io/audit-version': 'latest', 'pod-security.kubernetes.io/enforce': 'restricted', 'pod-security.kubernetes.io/enforce-version': 'latest', 'pod-security.kubernetes.io/warn': 'restricted', 'pod-security.kubernetes.io/warn-version': 'latest'}, 'annotations': {'openshift.io/description': '', 'openshift.io/display-name': '', 'openshift.io/requester': 'system:serviceaccount:kube-system:olminstall-cluster-admin', 'openshift.io/sa.scc.mcs': 's0:c28,c27', 'openshift.io/sa.scc.supplemental-groups': '1000810000/10000', 'openshift.io/sa.scc.uid-range': '1000810000/10000', 'security.openshift.io/MinimallySufficientPodSecurityStandard': 'restricted'}, 'managedFields': [{'manager': 'pod-security-admission-label-synchronization-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-07-06T09:19:17Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'f:security.openshift.io/MinimallySufficientPodSecurityStandard': {}}, 'f:labels': {'f:pod-security.kubernetes.io/audit': {}, 'f:pod-security.kubernetes.io/audit-version': {}, 'f:pod-security.kubernetes.io/enforce': {}, 'f:pod-security.kubernetes.io/enforce-version': {}, 'f:pod-security.kubernetes.io/warn': {}, 'f:pod-security.kubernetes.io/warn-version': {}}}}}, {'manager': 'cluster-policy-controller', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-06T09:19:17Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:annotations': {'f:openshift.io/sa.scc.mcs': {}, 'f:openshift.io/sa.scc.supplemental-groups': {}, 'f:openshift.io/sa.scc.uid-range': {}}}}}, {'manager': 'openshift-apiserver', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-07-06T09:19:17Z', '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-06T09:19:17Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {'f:finalizers': {}}}, 'subresource': 'finalize'}]}, 'spec': {'finalizers': ['kubernetes']}, 'status': {'phase': 'Active'}} [ocp_resources Project] 2026-07-06T09:19:41.702411Z [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, 260 warnings in 138.14s (0:02:18) ========== =============================== warnings summary =============================== tests/model_serving/model_server/kserve/authentication/test_kserve_token_authentication_raw.py: 176 warnings tests/model_serving/model_server/kserve/authentication/test_non_admin_users.py: 84 warnings /home/odh/opendatahub-tests/.venv/lib64/python3.14/site-packages/urllib3/connectionpool.py:1110: InsecureRequestWarning: Unverified HTTPS request is being made to host 'api.ods-qe-psi-23.osp.rh-ods.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html - generated xml file: /workspace/tests-shared/tests-payload/results/model_server-smoke.xml - ========= 5 passed, 188 deselected, 260 warnings in 138.14s (0:02:18) ==========