← Back to Pull requests

RHOAIENG-102052: Remove outdated distributed-workloads ODH tests on 3.4 #3139

Merged
pawelpaszki merged 11 files (1395 lines) on Oct 28, 2026 14:21 UTC
View on GitHub
pawelpaszki pawelpaszki commented on Oct 28, 2026 14:16 UTC
Author

JIRA ISSUE


https://redhat.atlassian.net/browse/RHOAIENG-102052

DESCRIPTION


Drop the legacy test-run-distributed-workloads-tests suite and trim DistributedWorkloads.resource to match master, keeping Training Hub RayJob tests only.

Diff: 1395 lines (+86 / -1309) across 11 files Reviewer: chipspeak Review duration: 4m
All Vouch review confidence checks passed
Residual risk 0.37 = Change Risk (0.68) × (1 − Review Confidence (0.45)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.68 · 1395 lines diff across 11 files
0.68
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.71 · 5 substantive comment(s)
0.71
Model 3 · Review Timing & Attention
Session adequacy: 14% · Reviewer familiarity: 50%
44%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.400
Rapid Merge rapid_merge
0.100
Real PR Conversation Timeline
12 items
openshift-ci-robot openshift-ci-robot commented on Oct 28, 2026 14:16 UTC
Contributor

@pawelpaszki: This pull request references RHOAIENG-102052 which is a valid jira issue.

<details>

In response to this:

>## JIRA ISSUE
>https://redhat.atlassian.net/browse/RHOAIENG-102052

>## DESCRIPTION

>Drop the legacy test-run-distributed-workloads-tests suite and trim DistributedWorkloads.resource to match master, keeping Training Hub RayJob tests only.
>

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.
</details>

[RHOAIENG-102052]: https://redhat.atlassian.net/browse/RHOAIENG-102052?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

coderabbitai[bot] coderabbitai[bot] commented on Oct 28, 2026 14:16 UTC
Bot

<!-- coderabbit-ai-generated:v1 -->

<!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- This is an auto-generated comment: skip review by coderabbit.ai -->

[!IMPORTANT]

## Review skipped

> Auto reviews are disabled on base/target branches other than the default branch.

>

> Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

> <details>

<summary><strong><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</strong></summary>

<dl>

<dd>

> - Source mode: Auto

- Repository: Unavailable

- Branch: Unavailable

- File: No configuration file from this repository applied

- Commit: Unavailable

- Layers: Organization UI

- Review profile: CHILL

- Plan: Advanced

- Run ID: bbd22eb1-18ae-46ea-ad7a-f974a7b17be6

> </dd>

</dl>

</details>

> You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

> Use the checkbox below for a quick retry:

- [ ] <!-- {"checkboxId":"e9bb8d72-00e8-4f67-9cb2-caf3b22574fe"} --> 🔍 Trigger review

<!-- end of auto-generated comment: skip review by coderabbit.ai -->

<!-- tips_start -->

<sub>Comment @coderabbitai help to get the list of available commands.</sub>

<!-- tips_end -->

github-advanced-security[bot] github-advanced-security[bot] commented on code on Oct 28, 2026 14:17 UTC
Code Review
ods_ci/tests/Resources/Page/DistributedWorkloads/DistributedWorkloads.resource:1
@@ -237,48 +140,54 @@
     Log To Console    "Retrieving user tokens"
     ${common_user_token} =    Generate User Token    ${NOTEBOOK_USER_NAME}    ${NOTEBOOK_USER_PASSWORD}
     Set Suite Variable    ${NOTEBOOK_USER_TOKEN}   ${common_user_token}
-    Log To Console    "Log back as cluster admin"
-    Login To OCP Using API    ${OCP_ADMIN_USER.USERNAME}    ${OCP_ADMIN_USER.PASSWORD}
     RHOSi Setup
-    Setup RBAC for codeflare-sdk
-    # Set Kueue component to Unmanaged state as admin
-    Log To Console    "Setting Kueue component to Unmanaged state"
-    Set Component State    kueue    Unmanaged
-    Wait For DataScienceCluster CustomResource To Be Ready    timeout=600
+    IF    ${enable_kueue}
+        Setup RBAC for codeflare-sdk

Robocop / Keyword name '{{ keyword_name }}' does not follow case convention

Keyword name 'Setup RBAC for codeflare-sdk' does not follow case convention

Show more details

github-advanced-security[bot] github-advanced-security[bot] commented on code on Oct 28, 2026 14:17 UTC
Code Review
ods_ci/tests/Resources/Page/DistributedWorkloads/DistributedWorkloads.resource:1
@@ -237,48 +140,54 @@
     Log To Console    "Retrieving user tokens"
     ${common_user_token} =    Generate User Token    ${NOTEBOOK_USER_NAME}    ${NOTEBOOK_USER_PASSWORD}
     Set Suite Variable    ${NOTEBOOK_USER_TOKEN}   ${common_user_token}
-    Log To Console    "Log back as cluster admin"
-    Login To OCP Using API    ${OCP_ADMIN_USER.USERNAME}    ${OCP_ADMIN_USER.PASSWORD}
     RHOSi Setup
-    Setup RBAC for codeflare-sdk
-    # Set Kueue component to Unmanaged state as admin
-    Log To Console    "Setting Kueue component to Unmanaged state"
-    Set Component State    kueue    Unmanaged
-    Wait For DataScienceCluster CustomResource To Be Ready    timeout=600
+    IF    ${enable_kueue}
+        Setup RBAC for codeflare-sdk
+        # Set Kueue component to Unmanaged state as admin
+        Log To Console    "Setting Kueue component to Unmanaged state"
+        Set Component State    kueue    Unmanaged
+        Wait For DataScienceCluster CustomResource To Be Ready    timeout=600
+    END
 
 Teardown DistributedWorkloads Integration Test Suite
     [Documentation]    Teardown DistributedWorkloads Integration Test Suite
-    Log To Console    "Log back as cluster admin"
-    Login To OCP Using API    ${OCP_ADMIN_USER.USERNAME}    ${OCP_ADMIN_USER.PASSWORD}
+    [Arguments]    ${enable_kueue}=${TRUE}
     Log To Console    "Removing test binaries"
     Remove File        ${ODH_BINARY_NAME}
-    RHOSi Teardown
-    # Set Kueue component back to Removed state
-    Log To Console    "Setting Kueue component to Removed state"
-    Set Component State    kueue    Removed
-    Wait For DataScienceCluster CustomResource To Be Ready    timeout=600
-    Teardown RBAC for codeflare-sdk
+    IF    ${enable_kueue}
+        # Set Kueue component back to Removed state
+        Log To Console    "Setting Kueue component to Removed state"
+        Set Component State    kueue    Removed
+        Wait For DataScienceCluster CustomResource To Be Ready    timeout=600
+        Teardown RBAC for codeflare-sdk

Robocop / Keyword name '{{ keyword_name }}' does not follow case convention

Keyword name 'Teardown RBAC for codeflare-sdk' does not follow case convention

Show more details

github-advanced-security[bot] github-advanced-security[bot] commented on code on Oct 28, 2026 14:17 UTC
Code Review
ods_ci/tests/Tests/0600__distributed_workloads/test-run-training-hub-rayjob-tests.robot:1
@@ -0,0 +1,50 @@
+*** Settings ***
+Documentation     Training Hub RayJob Integration tests - https://github.com/opendatahub-io/distributed-workloads/tree/main/tests/odh
+Suite Setup       Prepare DistributedWorkloads Integration Test Suite    enable_kueue=${FALSE}
+Suite Teardown    Teardown DistributedWorkloads Integration Test Suite    enable_kueue=${FALSE}
+Library           OperatingSystem
+Library           Process
+Resource          ../../../tasks/Resources/RHODS_OLM/install/oc_install.robot
+Resource          ../../Resources/Page/DistributedWorkloads/DistributedWorkloads.resource
+
+
+*** Test Cases ***
+Run TestSftRayJobSingleGpu ODH test
+    [Documentation]    Run Go ODH test: TestSftRayJobSingleGpu
+    [Tags]  RHOAIENG-65214
+    ...     Resources-GPU    NVIDIA-GPUs
+    ...     Tier1
+    ...     DistributedWorkloads
+    ...     TrainingRay
+    ...     TrainingHub
+    Run DistributedWorkloads Training Hub ODH Test    TestSftRayJobSingleGpu    ${RAY_TRAINING_HUB_IMAGE}    ${NOTEBOOK_IMAGE_3.12}

Robocop / Line is too long ({{ line_length }}/{{ allowed_length }})

Line is too long (131/120)

Show more details

github-advanced-security[bot] github-advanced-security[bot] commented on code on Oct 28, 2026 14:17 UTC
Code Review
ods_ci/tests/Tests/0600__distributed_workloads/test-run-training-hub-rayjob-tests.robot:1
@@ -0,0 +1,50 @@
+*** Settings ***
+Documentation     Training Hub RayJob Integration tests - https://github.com/opendatahub-io/distributed-workloads/tree/main/tests/odh
+Suite Setup       Prepare DistributedWorkloads Integration Test Suite    enable_kueue=${FALSE}
+Suite Teardown    Teardown DistributedWorkloads Integration Test Suite    enable_kueue=${FALSE}
+Library           OperatingSystem
+Library           Process
+Resource          ../../../tasks/Resources/RHODS_OLM/install/oc_install.robot
+Resource          ../../Resources/Page/DistributedWorkloads/DistributedWorkloads.resource
+
+
+*** Test Cases ***
+Run TestSftRayJobSingleGpu ODH test
+    [Documentation]    Run Go ODH test: TestSftRayJobSingleGpu
+    [Tags]  RHOAIENG-65214
+    ...     Resources-GPU    NVIDIA-GPUs
+    ...     Tier1
+    ...     DistributedWorkloads
+    ...     TrainingRay
+    ...     TrainingHub
+    Run DistributedWorkloads Training Hub ODH Test    TestSftRayJobSingleGpu    ${RAY_TRAINING_HUB_IMAGE}    ${NOTEBOOK_IMAGE_3.12}
+
+Run TestOsftRayJobSingleGpu ODH test
+    [Documentation]    Run Go ODH test: TestOsftRayJobSingleGpu
+    [Tags]  RHOAIENG-65214
+    ...     Resources-GPU    NVIDIA-GPUs
+    ...     Tier1
+    ...     DistributedWorkloads
+    ...     TrainingRay
+    ...     TrainingHub
+    Run DistributedWorkloads Training Hub ODH Test    TestOsftRayJobSingleGpu    ${RAY_TRAINING_HUB_IMAGE}    ${NOTEBOOK_IMAGE_3.12}

Robocop / Line is too long ({{ line_length }}/{{ allowed_length }})

Line is too long (132/120)

Show more details

github-advanced-security[bot] github-advanced-security[bot] commented on code on Oct 28, 2026 14:17 UTC
Code Review
ods_ci/tests/Tests/0600__distributed_workloads/test-run-training-hub-rayjob-tests.robot:1
@@ -0,0 +1,50 @@
+*** Settings ***
+Documentation     Training Hub RayJob Integration tests - https://github.com/opendatahub-io/distributed-workloads/tree/main/tests/odh
+Suite Setup       Prepare DistributedWorkloads Integration Test Suite    enable_kueue=${FALSE}
+Suite Teardown    Teardown DistributedWorkloads Integration Test Suite    enable_kueue=${FALSE}
+Library           OperatingSystem
+Library           Process
+Resource          ../../../tasks/Resources/RHODS_OLM/install/oc_install.robot
+Resource          ../../Resources/Page/DistributedWorkloads/DistributedWorkloads.resource
+
+
+*** Test Cases ***
+Run TestSftRayJobSingleGpu ODH test
+    [Documentation]    Run Go ODH test: TestSftRayJobSingleGpu
+    [Tags]  RHOAIENG-65214
+    ...     Resources-GPU    NVIDIA-GPUs
+    ...     Tier1
+    ...     DistributedWorkloads
+    ...     TrainingRay
+    ...     TrainingHub
+    Run DistributedWorkloads Training Hub ODH Test    TestSftRayJobSingleGpu    ${RAY_TRAINING_HUB_IMAGE}    ${NOTEBOOK_IMAGE_3.12}
+
+Run TestOsftRayJobSingleGpu ODH test
+    [Documentation]    Run Go ODH test: TestOsftRayJobSingleGpu
+    [Tags]  RHOAIENG-65214
+    ...     Resources-GPU    NVIDIA-GPUs
+    ...     Tier1
+    ...     DistributedWorkloads
+    ...     TrainingRay
+    ...     TrainingHub
+    Run DistributedWorkloads Training Hub ODH Test    TestOsftRayJobSingleGpu    ${RAY_TRAINING_HUB_IMAGE}    ${NOTEBOOK_IMAGE_3.12}
+
+Run TestLoraRayJobSingleGpu ODH test
+    [Documentation]    Run Go ODH test: TestLoraRayJobSingleGpu
+    [Tags]  RHOAIENG-65214
+    ...     Resources-GPU    NVIDIA-GPUs
+    ...     Tier1
+    ...     DistributedWorkloads
+    ...     TrainingRay
+    ...     TrainingHub
+    Run DistributedWorkloads Training Hub ODH Test    TestLoraRayJobSingleGpu    ${RAY_TRAINING_HUB_IMAGE}    ${NOTEBOOK_IMAGE_3.12}

Robocop / Line is too long ({{ line_length }}/{{ allowed_length }})

Line is too long (132/120)

Show more details

github-advanced-security[bot] github-advanced-security[bot] commented on code on Oct 28, 2026 14:17 UTC
Code Review
ods_ci/tests/Tests/0600__distributed_workloads/test-run-training-hub-rayjob-tests.robot:1
@@ -0,0 +1,50 @@
+*** Settings ***
+Documentation     Training Hub RayJob Integration tests - https://github.com/opendatahub-io/distributed-workloads/tree/main/tests/odh
+Suite Setup       Prepare DistributedWorkloads Integration Test Suite    enable_kueue=${FALSE}
+Suite Teardown    Teardown DistributedWorkloads Integration Test Suite    enable_kueue=${FALSE}
+Library           OperatingSystem
+Library           Process
+Resource          ../../../tasks/Resources/RHODS_OLM/install/oc_install.robot
+Resource          ../../Resources/Page/DistributedWorkloads/DistributedWorkloads.resource
+
+
+*** Test Cases ***
+Run TestSftRayJobSingleGpu ODH test
+    [Documentation]    Run Go ODH test: TestSftRayJobSingleGpu
+    [Tags]  RHOAIENG-65214
+    ...     Resources-GPU    NVIDIA-GPUs
+    ...     Tier1
+    ...     DistributedWorkloads
+    ...     TrainingRay
+    ...     TrainingHub
+    Run DistributedWorkloads Training Hub ODH Test    TestSftRayJobSingleGpu    ${RAY_TRAINING_HUB_IMAGE}    ${NOTEBOOK_IMAGE_3.12}
+
+Run TestOsftRayJobSingleGpu ODH test
+    [Documentation]    Run Go ODH test: TestOsftRayJobSingleGpu
+    [Tags]  RHOAIENG-65214
+    ...     Resources-GPU    NVIDIA-GPUs
+    ...     Tier1
+    ...     DistributedWorkloads
+    ...     TrainingRay
+    ...     TrainingHub
+    Run DistributedWorkloads Training Hub ODH Test    TestOsftRayJobSingleGpu    ${RAY_TRAINING_HUB_IMAGE}    ${NOTEBOOK_IMAGE_3.12}
+
+Run TestLoraRayJobSingleGpu ODH test
+    [Documentation]    Run Go ODH test: TestLoraRayJobSingleGpu
+    [Tags]  RHOAIENG-65214
+    ...     Resources-GPU    NVIDIA-GPUs
+    ...     Tier1
+    ...     DistributedWorkloads
+    ...     TrainingRay
+    ...     TrainingHub
+    Run DistributedWorkloads Training Hub ODH Test    TestLoraRayJobSingleGpu    ${RAY_TRAINING_HUB_IMAGE}    ${NOTEBOOK_IMAGE_3.12}
+
+Run TestGrpoRayJobSingleNodeMultiGpu ODH test
+    [Documentation]    Run Go ODH test: TestGrpoRayJobSingleNodeMultiGpu
+    [Tags]  RHOAIENG-63702
+    ...     Resources-GPU    NVIDIA-GPUs
+    ...     Tier1
+    ...     DistributedWorkloads
+    ...     TrainingRay
+    ...     TrainingHub
+    Run DistributedWorkloads Training Hub ODH Test    TestGrpoRayJobSingleNodeMultiGpu    ${RAY_TRAINING_HUB_IMAGE}    ${NOTEBOOK_IMAGE_3.12}

Robocop / Line is too long ({{ line_length }}/{{ allowed_length }})

Line is too long (141/120)

Show more details

chipspeak chipspeak approved these changes on Oct 28, 2026 14:19 UTC
Approved Reviewer

Approved these changes.

openshift-ci[bot] openshift-ci[bot] commented on Oct 28, 2026 14:19 UTC
Bot

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: <a href="https://github.com/red-hat-data-services/ods-ci/pull/3139#pullrequestreview-5684159206" title="Approved">chipspeak</a>, <a href="https://github.com/red-hat-data-services/ods-ci/pull/3139#" title="Author self-approved">pawelpaszki</a>

The full list of commands accepted by this bot can be found here.

<details open>
Needs approval from an approver in each of these files:

  • OWNERS
  • Approvers can indicate their approval by writing /approve in a comment
    Approvers can cancel approval by writing /approve cancel in a comment
    </details>
    <!-- META={"approvers":[]} -->

    Reviewers
    Assignees
    pawelpaszki pawelpaszki
    Labels
    risk: medium confidence: 44.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 67.7% (HIGH) · Higher = larger blast radius
    67.7%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 44.7% · Lower = rushed or shallow review
    44.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 37.4% · Moderate risk
    37.4%