nmo-operator: add nmo-snr conflict test #129
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
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.333
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #129"
general
weight: 0.35
weshayutin
Port of OCP-69928
test_nmo_snr_conflictfrom ocp-edge-auto to the NMO suite (RHWA-1252, PR D of 4).What it verifies
A node under NMO maintenance cannot be remediated by SNR:
remediation.medik8s.io/exclude-from-remediation=trueself-node-remediation-ds) excludes labelled nodes through a required node affinity, so the agent pod leaves the nodeTest case: OCP-69928
Spec flow
1. BeforeAll: NMO deployment Ready; skip when SNR is not installed (SelfNodeRemediationConfig CRD absent); SNR agent DaemonSet deployed; at least 2 schedulable non-control-plane workers (skip otherwise)
2. Baseline: an SNR agent pod is Running with all containers ready on the target worker
3. Create the NodeMaintenance CR; verify Succeeded phase, cordon, drain taint, drain completed
4. Wait until no SNR agent pod is bound to the node
5. Verify the node carries
remediation.medik8s.io/exclude-from-remediation=true6. Consistently: no SNR agent pod on the node for the whole window
7. Delete the NodeMaintenance CR; verify the node is uncordoned, untainted and the label is removed
8. Verify an SNR agent pod is Running with all containers ready on the node again
Notes
Jira: RHWA-1252