CMP-4824: Run most serial e2e tests in parallel #1451
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 316 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 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.345
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1451"
general
weight: 0.35
Vincent056
The serial suite's destructive tests each apply MachineConfigs to the one shared
e2epool and wait for its node to reboot, so the whole suite runs one test at a time ande2e-aws-serialtakes 67-70 minutes. This PR gives each of those tests a MachineConfigPool of its own, a lane, and runs the scan-only tests in parallel alongside them. The laste2e-aws-serialrun with 5 lanes passed 21/21 in 23.6 minutes.| Serial suite (21 tests) | master | this PR |
|---|---|---|
| Sequential | 21 | 4 |
| Parallel scan tests | 0 | 11 |
| Lane tests | 0 | 6 |
Each of the four commits explains its part in its message: lanes for suites that ask for them (
framework.WithTestPools()), scan-phase locks for the parallel scan tests (ScanPhaseTest), pinning the operator to nodes that don't reboot, and the serial suite opting in.Workers: 5 lanes plus the spare need 6 workers, and openshift/release#87590 gives
e2e-aws-serial6 (COMPUTE_NODE_REPLICAS). Until it merges, this PR'se2e-aws-serialruns on 3 workers, so with 2 lanes. On a cluster you keep,E2E_RESTORE_TEST_POOLS=trueremoves the lanes after the run.Testing surface:
TestInconsistentResult.TestMustGatherImageWorksAsExpected,TestResultServerNodeSelectorMasterandTestResultServerNodeSelectorWorkerbind a TailoredProfile extending the small E8 profiles instead of CIS or high-node, so their scans are named after the test. They check pods and must-gather output, not rule results.TestOpenSCAPRuleMetadataPropagationstays sequential until #1452 fixes the aggregator's Rule metadata cache, which is keyed by rule ID across bundles.Runs (
go testtime for the 21 tests):| Run | Code | Workers, lanes | Result | Time |
|---|---|---|---|---|
| CI
e2e-aws-serial, Oct 22 | 821734060 | 6, 5 | 21/21 | 23.6 min || CI
e2e-aws-serial, Oct 21 | f52521339 | 6, 5 | 21/21 | 25.2 min || OCP 4.22 on GCP, Oct 21 | f52521339 | 6, 5 | 21/21 | 27.6 min |
| CI
e2e-aws-serialon 5 PRs that don't change the tests, Oct 21-22 | master | 3, none | 21/21 | 67-70 min (one run 92) |Both CI runs come from earlier pushes, which scaled the workers from 3 to 6 during setup.
TestAutoRemediateholds its lane longest, 16-19 minutes; the other remediation tests take 7-11 andTestResultServerTolerationsOnTaintedNodeunder 2.Generated with Claude Code