← Back to Pull requests

Add more OTE tests, drop ReleaseGate, fix test races #1516

Open
unknown opened this pull request with 251 lines diff across 3 files
View on GitHub
unknown unknown commented on May 14, 2026 16:00 UTC
Author

Add all the remaining NTO tests from openshift-tests-private repository,
apart from HyperShift tests. HyperShift tests will be added as a follow-up PR.

This also fixes numerous race conditions and issues previously present in
tests and utility functions in openshift-tests-private.

Remove the ReleaseGate label from all tests. The gating mechanism is no
longer used. Instead, the Informing label should be dropped once a test is
considered mature.

Refactor nto_util.go: replace FixtureTB interface with proper error
returns, add NtoResource struct, introduce TestdataFixturePathBase with
lazy fixture materialization, and add IsNTOInstalled deployment check.

Add new utility modules (cluster_helpers, debug_helpers, helpers,
log_helpers) and spec helpers (hypernto, helpers). Add AGENTS.md and
README.md documentation.

As pod-level labelling is deprecated, move tests to node-level labelling
where possible:
rewritten:
test_id:33237
test_id:33238
test_id:27491
test_id:37125
test_id:49705
removed:
test_id:23959 already deprecated in Polarion
test_id:23958 already deprecated in Polarion

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

Summary by CodeRabbit

New Features
Expanded validation for NTO tuning, performance profiles, hugepages, sysctl settings, and hosted ROSA HyperShift clusters.
Added reusable test fixtures and broader coverage for cluster topologies, node discovery, debugging, and resource management.
Added more reliable command execution with timeouts and cancellable streaming checks.

Bug Fixes
Tests now skip cleanly when NTO is unavailable or unsupported cluster types are detected.
Corrected test data formatting and streamlined suite qualification.

Documentation
Added comprehensive guidance for developing, running, and maintaining extended tests.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Diff: 251 lines (+188 / -63) across 3 files Reviewer: jmencak Review duration: 209774m
All Vouch review confidence checks passed
Residual risk 0.25 = Change Risk (0.46) × (1 − Review Confidence (0.45)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.46 · 251 lines diff across 3 files
0.46
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
0.02
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
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
Shallow Review Depth shallow_review_depth
0.344
Diff Size diff_size
0.331
Real PR Conversation Timeline
1 comments
"Review active on #1516"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low 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: 46% (MEDIUM) · Higher = larger blast radius
46%
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: 25.4% · Safe to merge
25.4%