Skip to content

[RHOAI 3.5] fix: trainer image tag odh-3.5.0 + progression e2e races - #141

Merged
kapil27 merged 3 commits into
rhoai-3.5from
cherry-pick/rhoai-3.5-image-tag-and-e2e
Aug 6, 2026
Merged

kapil27 merged 3 commits into
rhoai-3.5from
cherry-pick/rhoai-3.5-image-tag-and-e2e

Conversation

@kapil27

@kapil27 kapil27 commented Aug 5, 2026

Copy link
Copy Markdown

Summary

Cherry-pick midstream fixes needed for ODH/RHOAI operator e2e (RHOAIENG-80313):

  1. fix: remove race conditions in progression tracking E2E test opendatahub-io/trainer#200 (f5ffd6de) — remove race conditions in progression tracking E2E test (Rob Bell)
  2. fix: point trainer controller image at odh-3.5.0 opendatahub-io/trainer#203 (896c93c6) — point trainer controller image at odh-3.5.0 to match Konflux release-push / Quay

Why

  • Operator PR chore: update manifest commit SHAs opendatahub-io/opendatahub-operator#3921 RHOAI e2e fails with ImagePullBackOff for quay.io/opendatahub/trainer:odh-3.5 (manifest unknown).
  • Quay publishes odh-3.5.0 only; params.env still referenced odh-3.5.
  • RHOAI e2e loads red-hat-data-services/trainer:rhoai-3.5, so midstream-only is not enough.
  • Rob's e2e fix is included so this PR's Konflux/trainer e2e is less likely to flake on the unreachable-metrics assertions.

TH image tags remain on :odh-3.5 (those Quay tags exist).

Test plan

  • Confirm manifests/rhoai/params.env controller image is quay.io/opendatahub/trainer:odh-3.5.0
  • Confirm trainer CI / Konflux e2e pass
  • After merge, bump RHOAI trainer SHA in opendatahub-operator get_all_manifests.sh and re-run opendatahub-operator-rhoai-e2e

Made with Cursor

robert-bell and others added 2 commits August 5, 2026 22:12
The "metrics endpoint unreachable" test had two race conditions:

1. The Consistently block checking running status could race with job
   completion and annotation synthesis between status check and assertion
2. The final assertion expected no annotation, but raced with the
   reconciler's fallback that synthesizes 100% on completion

Test was passing for 8 months probably because the race condition never got
hit - the check that no annotation was added was done quickly, probably before
the final reconcile happened.

Fix: Remove flaky assertions about annotation state. Focus on what
matters - the controller handles metrics errors gracefully and the
TrainJob completes successfully

Signed-off-by: Rob Bell <robell@redhat.com>
Konflux release-push publishes quay.io/opendatahub/trainer:odh-3.5.0,
but params.env referenced the non-existent odh-3.5 stream tag, causing
operator RHOAI e2e ImagePullBackOff (RHOAIENG-80313). Leave TH image
tags on odh-3.5 where those Quay tags already exist.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coveralls

coveralls commented Aug 5, 2026 •

Copy link
Copy Markdown

Coverage Report for CI Build 31027195448

Coverage remained the same at 53.898%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 3143
Covered Lines: 1694
Line Coverage: 53.9%
Coverage Strength: 0.63 hits per line

💛 - Coveralls

Satisfy pre-commit end-of-file-fixer on the RHOAI 3.5 cherry-pick.

Co-authored-by: Cursor <cursoragent@cursor.com>
@kapil27 kapil27 changed the title [RHOAI 3.5] fix: trainer image tag odh-3.5.0 + progression e2e races [do not merge] [RHOAI 3.5] fix: trainer image tag odh-3.5.0 + progression e2e races Aug 5, 2026
@ChughShilpa
ChughShilpa self-requested a review August 6, 2026 06:18

@ChughShilpa ChughShilpa left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@kapil27 kapil27 changed the title [do not merge] [RHOAI 3.5] fix: trainer image tag odh-3.5.0 + progression e2e races [RHOAI 3.5] fix: trainer image tag odh-3.5.0 + progression e2e races Aug 6, 2026
@kapil27
kapil27 merged commit b6803e0 into rhoai-3.5 Aug 6, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants