← Back to Pull requests

test(e2e): timebomb 4.20->4.21 minor upgrade until Cincinnati publishes edges #6642

Closed
unknown closed this pull request without merging on Aug 21, 2026 10:09 UTC
View on GitHub
unknown unknown commented on Aug 21, 2026 08:13 UTC
Author

Summary

  • Scoped Skip in test/e2e/control_plane_minor_upgrade.go for the candidate/fast 4.20 → 4.21 case, expiring 2026-08-31.

  • Nightly and other minor jumps are unaffected.
  • Why

    All of the dev CI is failing on the test "Customer should be able to successfully upgrade control plane minor version from 4.20 minor to 4.21 minor"

    Upstream openshift/cincinnati-graph-data promoted 4.20.35 as a node in candidate-4.21 on 2026-08-21 (commit 12b0b5a5), but has not yet added outgoing 4.20.35 → 4.21.z edges. Because the RP picks the channel tip (offset 0) for candidate/fast (GetZStreamOffset in backend/pkg/controllers/cluster/version/control_plane_desired_version_controller.go), every 4.20 → 4.21 run lands on 4.20.35 and is rejected by frontend admission (internal/admission/admit_cluster.go:670-723) with:

    no upgrade path to update channel "candidate-4.21" is currently available for this cluster

    Confirmed via graph query:

    curl -s 'https://api.openshift.com/api/upgrades_info/graph?channel=candidate-4.21&arch=amd64' \
      | jq -r '.nodes as $n | .edges[] | select($n[.[0]].version=="4.20.35") | $n[.[1]].version' \
      | grep '^4\.21' || echo "no 4.20.35 -> 4.21.x edge yet"
    

    Runtime evidence (int-uksouth, 2026-08-21 04:11Z): serviceproviderclusters snapshot for the failing cluster shows desiredVersionChannels = ["candidate-4.20"], activeVersions = [{"version":"4.20.35","state":"Completed"}].

    Jira: AROSLSRE-1853

    Follow-up

    Replace the timebomb with a preflight that queries the Cincinnati graph for an outgoing edge from the resolved install version to the target minor and Skips if absent — removes the race for good and self-heals across future z-stream promotions.

    Test plan

  • CI green on this branch

  • Verify the 4.20 → 4.21 entry reports SKIP (not fail) in E2E output while the timebomb is active

  • Verify the 4.21 → 4.22 entry still runs
  • Diff: 261 lines (+195 / -66) across 3 files Reviewer: mvacula02 Review duration: 116m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 261 lines diff across 3 files
    0.39
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    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.333
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #6642"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 39.2% (MEDIUM) · Higher = larger blast radius
    39.2%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 15.5% · Safe to merge
    15.5%
    Repository