--- pytest attempt 2026-09-07T13:27:36.649210+00:00 (/.local/bin/uv --directory /home/odh/opendatahub-tests...) --- 2026-09-07T13:27:38.970764Z [info ] Writing tests log to /home/odh/opendatahub-tests/results/pytest-tests.log [conftest] 2026-09-07T13:27:38.971208Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-09-07T13:27:39.125381Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] 2026-09-07T13:27:39.218931Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] ============================= test session starts ============================== platform linux -- Python 3.14.7, pytest-9.1.1, pluggy-1.6.0 -- /home/odh/opendatahub-tests/.venv/bin/python3 cachedir: .pytest_cache metadata: {'Python': '3.14.7', 'Platform': 'Linux-5.14.0-570.131.1.el9_6.x86_64-x86_64-with-glibc2.42', 'Packages': {'pytest': '9.1.1', 'pluggy': '1.6.0'}, 'Plugins': {'anyio': '4.14.2', 'langsmith': '0.10.10', 'asyncio': '1.4.0', 'dependency': '0.6.1', 'html': '4.2.0', 'metadata': '3.1.1', 'order': '1.5.0', 'progress': '1.4.0', 'testconfig': '0.2.0', 'xdist': '3.8.0', 'syrupy': '5.5.3'}} rootdir: /home/odh/opendatahub-tests configfile: pytest.ini plugins: anyio-4.14.2, langsmith-0.10.10, asyncio-1.4.0, dependency-0.6.1, html-4.2.0, metadata-3.1.1, order-1.5.0, progress-1.4.0, testconfig-0.2.0, xdist-3.8.0, syrupy-5.5.3 asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function collecting ... collected 304 items / 298 deselected / 6 selected tests/ai_safety/evalhub/single_tenancy/test_evalhub_single_tenancy_k8s.py::TestEvalHubSingleTenancyOperatorResources::test_deployment_created_and_ready[model_namespace0]  --------------------------------- test_deployment_created_and_ready[model_namespace0] --------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- 2026-09-07T13:27:39.906675Z [info ] Executing session fixture: event_loop_policy [conftest] 2026-09-07T13:27:39.907859Z [info ] Executing session fixture: _syrupy_apply_ide_patches [conftest] 2026-09-07T13:27:39.908019Z [info ] Executing session fixture: admin_client [conftest] 2026-09-07T13:27:39.908163Z [info ] Trying to get client via new_client_from_config [ocp_resources.resource] 2026-09-07T13:27:39.908275Z [info ] Executing session fixture: dsc_resource [conftest] 2026-09-07T13:27:39.908397Z [info ] kind: DataScienceCluster api version: datasciencecluster.opendatahub.io/v2 [ocp_resources.resource] 2026-09-07T13:27:39.996439Z [info ] Executing session fixture: tmp_path_factory [conftest] 2026-09-07T13:27:39.996692Z [info ] Executing session fixture: tests_tmp_dir [conftest] 2026-09-07T13:27:39.997681Z [info ] Executing session fixture: os_path_environment [conftest] 2026-09-07T13:27:39.997893Z [info ] Executing session fixture: tmpdir_factory [conftest] 2026-09-07T13:27:39.998048Z [info ] Executing session fixture: bin_directory [conftest] 2026-09-07T13:27:39.999225Z [info ] Executing session fixture: oc_binary_path [conftest] 2026-09-07T13:27:39.998438Z [warning ] Using previously installed: /workspace/tests-shared/tests-payload/.tools/bin/oc [tests.conftest] name=tests.conftest 2026-09-07T13:27:39.999673Z [info ] Executing session fixture: bin_directory_to_os_path [conftest] 2026-09-07T13:27:39.998582Z [info ] OC binary path: /workspace/tests-shared/tests-payload/.tools/bin/oc [tests.conftest] name=tests.conftest 2026-09-07T13:27:39.998629Z [info ] Adding /tmp/pytest-NPrL9E5hmVm7SDKQLAf7Fs/bin0 to $PATH [tests.conftest] name=tests.conftest 2026-09-07T13:27:40.000058Z [info ] Executing session fixture: nodes [conftest] 2026-09-07T13:27:41.113908Z [info ] Executing session fixture: dsci_resource [conftest] 2026-09-07T13:27:41.114091Z [info ] kind: DSCInitialization api version: dscinitialization.opendatahub.io/v2 [ocp_resources.resource] 2026-09-07T13:27:41.130053Z [info ] Executing session fixture: record_testsuite_property [conftest] 2026-09-07T13:27:41.130252Z [info ] Executing session fixture: junitxml_plugin [conftest] 2026-09-07T13:27:41.130408Z [info ] Executing session fixture: cluster_sanity_scope_session [conftest] 2026-09-07T13:27:41.129357Z [info ] Check cluster sanity.  [utilities.infra] name=utilities.infra 2026-09-07T13:27:41.130753Z [info ] Verify all nodes are in a healthy condition. [ocp_utilities.infra] 2026-09-07T13:27:41.161790Z [info ] Verify all nodes are schedulable. [ocp_utilities.infra] 2026-09-07T13:27:41.193995Z [info ] Waiting for 120 seconds [0:02:00], retry every 5 seconds. (Function: utilities.infra.wait_for_dsci_status_ready Kwargs: {'dsci_resource': }) [timeout_sampler] 2026-09-07T13:27:41.193506Z [info ] Wait for DSCI default-dsci to be in Ready status. [utilities.infra] name=utilities.infra 2026-09-07T13:27:41.194265Z [info ] Get DSCInitialization default-dsci status [ocp_resources DSCInitialization] 2026-09-07T13:27:41.213277Z [success ] Function: utilities.infra.wait_for_dsci_status_ready succeeded after 8.416175842285156e-05 [0:00:00.000084]. [timeout_sampler] 2026-09-07T13:27:41.213424Z [info ] Waiting for 120 seconds [0:02:00], retry every 5 seconds. (Function: utilities.infra.wait_for_dsc_status_ready Kwargs: {'dsc_resource': }) [timeout_sampler] 2026-09-07T13:27:41.212533Z [info ] Wait for DSC default-dsc are Ready. [utilities.infra] name=utilities.infra 2026-09-07T13:27:41.213678Z [info ] Get DataScienceCluster default-dsc status [ocp_resources DataScienceCluster] 2026-09-07T13:27:41.234919Z [success ] Function: utilities.infra.wait_for_dsc_status_ready succeeded after 0.00010395050048828125 [0:00:00.000104]. [timeout_sampler] 2026-09-07T13:27:41.235083Z [info ] Executing session fixture: autouse_fixtures [conftest] 2026-09-07T13:27:41.235226Z [info ] Executing session fixture: pytestconfig [conftest] 2026-09-07T13:27:41.235344Z [info ] Executing session fixture: teardown_resources [conftest] 2026-09-07T13:27:41.235458Z [info ] Executing class fixture: model_namespace [conftest] 2026-09-07T13:27:41.235596Z [info ] Create Namespace test-evalhub-st-resources [ocp_resources Namespace] 2026-09-07T13:27:41.235776Z [info ] Posting {'apiVersion': 'v1', 'kind': 'Namespace', 'metadata': {'name': 'test-evalhub-st-resources'}, 'spec': {}} [ocp_resources Namespace] 2026-09-07T13:27:41.278376Z [info ] Wait for Namespace test-evalhub-st-resources status to be Active [ocp_resources Namespace] 2026-09-07T13:27:41.278538Z [info ] Waiting for 120 seconds [0:02:00], retry every 1 seconds. (Function: ocp_resources.resource.wait_for_status.lambda: self.exists) [timeout_sampler] 2026-09-07T13:27:41.300185Z [info ] Status of Namespace test-evalhub-st-resources is Active [ocp_resources Namespace] 2026-09-07T13:27:41.300333Z [success ] Function: lambda: self.exists succeeded after 6.008148193359375e-05 [0:00:00.000060]. [timeout_sampler] 2026-09-07T13:27:41.300452Z [info ] Executing class fixture: evalhub_st_cr [conftest] 2026-09-07T13:27:41.300579Z [info ] kind: CustomResourceDefinition api version: apiextensions.k8s.io/v1 [ocp_resources.resource] 2026-09-07T13:27:41.374991Z [info ] kind: EvalHub api version: trustyai.opendatahub.io/v1 [ocp_resources.resource] 2026-09-07T13:27:41.375210Z [info ] Create EvalHub evalhub-st  [ocp_resources EvalHub] 2026-09-07T13:27:41.375333Z [info ] Posting {'apiVersion': 'trustyai.opendatahub.io/v1', 'kind': 'EvalHub', 'metadata': {'name': 'evalhub-st', 'namespace': 'test-evalhub-st-resources'}, 'spec': {'database': {'type': 'sqlite'}, 'tenancy': 'single'}} [ocp_resources EvalHub] 2026-09-07T13:27:41.424879Z [info ] Wait until EvalHub evalhub-st is created [ocp_resources EvalHub] 2026-09-07T13:27:41.425045Z [info ] Waiting for 240 seconds [0:04:00], retry every 1 seconds. (Function: ocp_resources.resource.wait.lambda: self.exists) [timeout_sampler] 2026-09-07T13:27:41.456074Z [success ] Function: lambda: self.exists succeeded after 4.5299530029296875e-05 [0:00:00.000045]. [timeout_sampler] 2026-09-07T13:27:41.456230Z [info ] Executing class fixture: evalhub_st_deployment [conftest] 2026-09-07T13:27:41.456361Z [info ] kind: Deployment api version: apps/v1 [ocp_resources.resource] 2026-09-07T13:27:41.456483Z [info ] Wait for Deployment evalhub-st to be deployed: True [ocp_resources Deployment] 2026-09-07T13:27:41.456631Z [info ] Waiting for 300 seconds [0:05:00], retry every 1 seconds. (Function: ocp_resources.deployment.wait_for_replicas.lambda: self.exists) [timeout_sampler] 2026-09-07T13:27:44.530646Z [success ] Function: lambda: self.exists succeeded after 3.056600570678711 [0:00:03.056601]. [timeout_sampler] 2026-09-07T13:27:44.530870Z [info ] Waiting for 296.9255084991455 seconds [0:04:56.925508], retry every 1 seconds. (Function: ocp_resources.deployment.wait_for_replicas.lambda: self.instance) [timeout_sampler] 2026-09-07T13:27:56.763523Z [success ] Function: lambda: self.instance succeeded after 12.215469598770142 [0:00:12.215470]. [timeout_sampler] --------------------------------------------------------- CALL --------------------------------------------------------- PASSED TEST: TestEvalHubSingleTenancyOperatorResources.test_deployment_created_and_ready[model_namespace0] STATUS: PASSED ------------------------------------------------------- TEARDOWN ------------------------------------------------------- _ 1 of 6 completed, 1 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/ai_safety/evalhub/single_tenancy/test_evalhub_single_tenancy_k8s.py::TestEvalHubSingleTenancyOperatorResources::test_service_created_with_correct_port[model_namespace0]  ------------------------------- test_service_created_with_correct_port[model_namespace0] ------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- --------------------------------------------------------- CALL --------------------------------------------------------- PASSED _ 2 of 6 completed, 2 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/ai_safety/evalhub/single_tenancy/test_evalhub_single_tenancy_k8s.py::TestEvalHubSingleTenancyOperatorResources::test_route_created[model_namespace0]  TEST: TestEvalHubSingleTenancyOperatorResources.test_service_created_with_correct_port[model_namespace0] STATUS: PASSED ------------------------------------------------------- TEARDOWN -------------------------------------------------------  ----------------------------------------- test_route_created[model_namespace0] ----------------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- 2026-09-07T13:27:56.861942Z [info ] Executing class fixture: evalhub_st_route [conftest] 2026-09-07T13:27:56.862052Z [info ] kind: Route api version: route.openshift.io/v1 [ocp_resources.resource] --------------------------------------------------------- CALL --------------------------------------------------------- PASSED TEST: TestEvalHubSingleTenancyOperatorResources.test_route_created[model_namespace0] STATUS: PASSED _ 3 of 6 completed, 3 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/ai_safety/evalhub/single_tenancy/test_evalhub_single_tenancy_k8s.py::TestEvalHubSingleTenancyOperatorResources::test_metrics_service_created[model_namespace0] ------------------------------------------------------- TEARDOWN -------------------------------------------------------  ------------------------------------ test_metrics_service_created[model_namespace0] ------------------------------------ -------------------------------------------------------- SETUP -------------------------------------------------------- --------------------------------------------------------- CALL --------------------------------------------------------- PASSED _ 4 of 6 completed, 4 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/ai_safety/evalhub/single_tenancy/test_evalhub_single_tenancy_k8s.py::TestEvalHubSingleTenancyOperatorResources::test_service_monitor_created[model_namespace0]  TEST: TestEvalHubSingleTenancyOperatorResources.test_metrics_service_created[model_namespace0] STATUS: PASSED ------------------------------------------------------- TEARDOWN -------------------------------------------------------  ------------------------------------ test_service_monitor_created[model_namespace0] ------------------------------------ -------------------------------------------------------- SETUP -------------------------------------------------------- --------------------------------------------------------- CALL --------------------------------------------------------- 2026-09-07T13:27:57.018932Z [info ] kind: ServiceMonitor api version: monitoring.coreos.com/v1 [ocp_resources.resource] PASSED TEST: TestEvalHubSingleTenancyOperatorResources.test_service_monitor_created[model_namespace0] STATUS: PASSED ------------------------------------------------------- TEARDOWN ------------------------------------------------------- 2026-09-07T13:27:57.038331Z [info ] Delete EvalHub evalhub-st  [ocp_resources EvalHub] 2026-09-07T13:27:57.079002Z [info ] Deleting {'apiVersion': 'trustyai.opendatahub.io/v1', 'kind': 'EvalHub', 'metadata': {'creationTimestamp': '2026-09-07T13:27:41Z', 'finalizers': ['trustyai.opendatahub.io/evalhub-finalizer'], 'generation': 1, 'managedFields': [{'apiVersion': 'trustyai.opendatahub.io/v1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:spec': {'.': {}, 'f:collections': {}, 'f:database': {'.': {}, 'f:maxIdleConns': {}, 'f:maxOpenConns': {}, 'f:type': {}}, 'f:providers': {}, 'f:replicas': {}, 'f:tenancy': {}}}, 'manager': 'OpenAPI-Generator', 'operation': 'Update', 'time': '2026-09-07T13:27:41Z'}, {'apiVersion': 'trustyai.opendatahub.io/v1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:finalizers': {'.': {}, 'v:"trustyai.opendatahub.io/evalhub-finalizer"': {}}}}, 'manager': 'manager', 'operation': 'Update', 'time': '2026-09-07T13:27:41Z'}, {'apiVersion': 'trustyai.opendatahub.io/v1', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:status': {'.': {}, 'f:activeCollections': {}, 'f:activeProviders': {}, 'f:conditions': {}, 'f:lastUpdateTime': {}, 'f:mcp': {'.': {}, 'f:phase': {}, 'f:ready': {}}, 'f:phase': {}, 'f:ready': {}, 'f:readyReplicas': {}, 'f:replicas': {}, 'f:url': {}}}, 'manager': 'manager', 'operation': 'Update', 'subresource': 'status', 'time': '2026-09-07T13:27:56Z'}], 'name': 'evalhub-st', 'namespace': 'test-evalhub-st-resources', 'resourceVersion': '113805327', 'uid': '4a1124e4-35e7-40d9-a28a-3704f2f2f23d'}, 'spec': {'collections': ['leaderboard-v2', 'safety-and-fairness-v1', 'toxicity-and-ethical-principles'], 'database': {'maxIdleConns': 5, 'maxOpenConns': 25, 'type': 'sqlite'}, 'providers': ['garak', 'garak-kfp', 'lm-evaluation-harness'], 'replicas': 1, 'tenancy': 'single'}, 'status': {'activeCollections': ['leaderboard-v2', 'safety-and-fairness-v1', 'toxicity-and-ethical-principles'], 'activeProviders': ['garak', 'garak-kfp', 'lm-evaluation-harness'], 'conditions': [{'lastTransitionTime': '2026-09-07T13:27:56Z', 'message': 'All replicas are ready', 'reason': 'DeploymentReady', 'status': 'True', 'type': 'Ready'}, {'lastTransitionTime': '2026-09-07T13:27:56Z', 'reason': 'MonitoringReady', 'status': 'False', 'type': 'MonitoringDegraded'}], 'lastUpdateTime': '2026-09-07T13:27:56Z', 'mcp': {'phase': 'Disabled', 'ready': False}, 'phase': 'Ready', 'ready': 'True', 'readyReplicas': 1, 'replicas': 1, 'url': 'https://evalhub-st.test-evalhub-st-resources.svc.cluster.local:8443'}} [ocp_resources EvalHub] 2026-09-07T13:27:57.101197Z [info ] Wait until EvalHub evalhub-st is deleted [ocp_resources EvalHub] 2026-09-07T13:27:57.101367Z [info ] Waiting for 240 seconds [0:04:00], retry every 1 seconds. (Function: ocp_resources.resource.wait_deleted.lambda: self.exists) [timeout_sampler] 2026-09-07T13:27:58.134394Z [success ] Function: lambda: self.exists succeeded after 1.0158216953277588 [0:00:01.015822]. [timeout_sampler] 2026-09-07T13:27:58.198494Z [info ] Delete Namespace test-evalhub-st-resources [ocp_resources Namespace] 2026-09-07T13:27:58.231602Z [info ] Deleting {'kind': 'Namespace', 'apiVersion': 'v1', 'metadata': {'name': 'test-evalhub-st-resources', 'uid': 'cb0f60f1-54c8-4db5-a9cb-54c12fb46442', 'resourceVersion': '113804877', 'creationTimestamp': '2026-09-07T13:27:41Z', 'labels': {'kubernetes.io/metadata.name': 'test-evalhub-st-resources', '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/sa.scc.mcs': 's0:c41,c5', 'openshift.io/sa.scc.supplemental-groups': '1001650000/10000', 'openshift.io/sa.scc.uid-range': '1001650000/10000', 'security.openshift.io/MinimallySufficientPodSecurityStandard': 'restricted'}, 'managedFields': [{'manager': 'cluster-policy-controller', 'operation': 'Apply', 'apiVersion': 'v1', 'time': '2026-09-07T13:27:41Z', '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-09-07T13:27:41Z', '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': 'OpenAPI-Generator', 'operation': 'Update', 'apiVersion': 'v1', 'time': '2026-09-07T13:27:41Z', 'fieldsType': 'FieldsV1', 'fieldsV1': {'f:metadata': {'f:labels': {'.': {}, 'f:kubernetes.io/metadata.name': {}}}}}]}, 'spec': {'finalizers': ['kubernetes']}, 'status': {'phase': 'Active'}} [ocp_resources Namespace] 2026-09-07T13:27:58.261308Z [info ] Wait until Namespace test-evalhub-st-resources is deleted [ocp_resources Namespace] 2026-09-07T13:27:58.261584Z [info ] Waiting for 240 seconds [0:04:00], retry every 1 seconds. (Function: ocp_resources.resource.wait_deleted.lambda: self.exists) [timeout_sampler] _ 5 of 6 completed, 5 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ tests/ai_safety/evalhub/test_evalhub_deployment.py::test_evalhub_crd_exists 2026-09-07T13:28:08.456040Z [success ] Function: lambda: self.exists succeeded after 10.173972845077515 [0:00:10.173973]. [timeout_sampler]  ----------------------------------------------- test_evalhub_crd_exists ----------------------------------------------- -------------------------------------------------------- SETUP -------------------------------------------------------- --------------------------------------------------------- CALL --------------------------------------------------------- 2026-09-07T13:28:08.456720Z [info ] kind: CustomResourceDefinition api version: apiextensions.k8s.io/v1 [ocp_resources.resource] PASSED TEST: test_evalhub_crd_exists STATUS: PASSED ------------------------------------------------------- TEARDOWN ------------------------------------------------------- _ 6 of 6 completed, 6 Pass, 0 Fail, 0 Skip, 0 XPass, 0 XFail, 0 Error, 0 ReRun _ ====================== 6 passed, 298 deselected in 29.27s ====================== - generated xml file: /workspace/tests-shared/tests-payload/results/ai-safety-evalhub-smoke.xml - ====================== 6 passed, 298 deselected in 29.27s ======================