test: add E2E matrix for control plane y-stream then z-stream upgrade #7656
All Vouch review confidence checks passed
Residual risk 0.32 = Change Risk (0.57) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.57 · 428 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.363
Shallow Review Depth
shallow_review_depth
0.344
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #7656"
general
weight: 0.35
ahitacat
https://redhat.atlassian.net/browse/ARO-30325
What
Adds an E2E test (
test/e2e/control_plane_yz_stream_upgrade.go) that, for a cluster with no node pool:1. Installs the cluster at a given minor (
<installMinor>.latest).2. Y-stream upgrades the control plane to the next minor (
<cpMinor>.latest-1).3. Z-stream upgrades the control plane to the latest patch on that minor (
<cpMinor>.latest).It is a
DescribeTableover a small, deliberate slice of the supported minors (4.20 through 5.0), including the cross-major4.22 -> 5.0hop. Entries whose target minor is not yet published (4.22 -> 4.23,4.23 -> 5.1,5.0 -> 5.1) self-skip through the version-resolution guards, so the table documents intended coverage without failing on unpublished versions.Verification:
clusterversionhistory check with the newVerifyClusterActiveVersionsSettledAtMinor, which reads the cluster's ARMactiveVersions(derived by the backendControlPlaneActiveVersionscontroller fromHostedClusterstatus.controlPlaneVersion). activeVersions reports control-plane completion independent of data-plane health.VerifyHostedControlPlaneReachedVersion(exact match inclusterversionhistory), because ARMactiveVersionsis onlymajor.minorgranular and cannot distinguish a z-stream hop within one minor.Why
We need to ensure a cluster whose control plane was y-stream upgraded can then take a z-stream upgrade, with no node pool present (no worker capacity to settle the data plane). Relying on the guest CVO alone is unreliable here — without functional workers it can report
Partialindefinitely — so the y-stream check also reads the backend-publishedactiveVersions, which reflects the control plane's own progress.Testing
DescribeTableE2E spec (3 covered entries 4.20->4.21, 4.21->4.22, 4.22->5.0; 3 self-skipping entries for not-yet-published minors).Special notes for your reviewer
Split into two commits: (1) the DescribeTable matrix refactor, (2) adoption of the ARM
activeVersionsverifier. TheactiveVersionsverifier mirrors the one introduced in #7766; if that PR merges first this file will need to be reconciled to avoid a duplicate.PR Checklist
If E2E tests are included:
demonstrate that the test is able to detect a defect/error and fail with
proper error message and logs which communicates nature of the problem.
🤖 Generated with Claude Code