fix(health-events-analyzer): exclude IGNORE and RESTART_APP XIDs from RepeatedXIDErrorOnSameGPU #2340
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 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.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #2340"
general
weight: 0.35
tanishagoyal2
Summary
Fixes #2339.
RepeatedXIDErrorOnSameGPUcounts every XID except 31 and 45. An application crash-looping on a GPU raises its XID again on each restart, and each restart more than 3 minutes after the last starts a new burst. So about five restarts escalate a healthy GPU to a fatalCONTACT_SUPPORTevent, and with the standard fault-quarantine rules the node gets cordoned.Following review, this excludes the XIDs whose Xid catalogue immediate action is
IGNOREorRESTART_APP, plus 45, instead of only 43 and 137. The exceptions are the retirement failures 157 and 161, which stay counted. The catalogue defines the two buckets as:IGNORE: "No Action required"RESTART_APP: "The application should be restarted. RESET_GPU or RESTART_BM is not deemed necessary."Neither calls for a hardware action, so a repeat shouldn't escalate a healthy GPU. This follows #2064, which excluded 45 after #1710.
The list has 68 codes, generated from the embedded
Xid-Catalog.xlsx(column I) rather than written by hand:RESTART_APP(48): 8, 11, 13, 25, 31, 32, 39, 40, 41, 60, 68, 69, 70, 71, 72, 75, 76, 77, 80, 82, 83, 84, 85, 86, 88, 89, 94, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 139IGNORE(19): 14, 37, 38, 43, 44, 63, 66, 67, 92, 93, 106, 107, 108, 121, 137, 141, 152, 153, 160WORKFLOW_XID_45, already excluded)IGNOREin the catalogue, but a repeat means repairs keep failing on the GPU, which is what this rule'sCONTACT_SUPPORTis for.Changes:
charts/health-events-analyzer/values.yaml:- The list is used in the
whencondition, the current-event gate and the candidate match stage. The gate's two$nechecks became one$not/$inlist, the formvalues-tilt.yamlalready used.- The description and the excluded-codes comment explain the exclusion by catalogue bucket, and the comment asks to keep the three lists in sync.
values-tilt.yaml: the same three lists and the description.docs/configuration/health-events-analyzer.md: the rule row now reads "Any XID whose Xid catalogue immediate action is notIGNOREorRESTART_APP(and not 45)".tests/health_events_analyzer_test.go: comments only. The e2e test already expected XIDs 13 and 31 not to trigger this rule; the comments now give the exclusion as the reason.The dedicated XID 31 and XID 13 rules are unchanged, as is the sticky-XID list (74, 79, 95, 109, 119).
A few excluded codes could still be worth a second look, since a repeat might point at memory or link hardware: 63 (row remap event), 92 (high single-bit ECC rate), 94 (contained memory error) and 121 (corrected C2C errors). The catalogue also lists
CONTACT_SUPPORTas the investigatory action for many of these codes. Happy to keep any of them counting too, as with 157 and 161.The branch also includes the merge of
mainfrom Nov 15.Type of Change
Component(s) Affected
Testing
Local checks:
helm lint distros/kubernetes/nvsentinel: passes.helm templateof the parent chart: the renderedhealth-events-analyzer-configparses as TOML (22 rules), and all stages ofRepeatedXIDErrorOnSameGPUparse as JSON. In both the chart and the Tilt config, the gate list and the match list each equal the 68-code list.whenexpression, compiled and evaluated withcel.dev/cel-gov0.33.2 (the version inhealth-events-analyzer/go.mod):| Event | Triggers |
|---|---|
| each of the 68 listed codes | no (68/68) |
| 157, 161 and 48, 62, 64, 74, 79, 95, 119, 120, 154 | yes |
| XID event with no code | yes |
| non-XID check | no |
tests/health_events_analyzer_test.gotrigger this rule with XIDs 119, 120, 48 and 79, none of which are excluded. The only listed codes they use are 13 and 31, which were already expected not to trigger. I haven't run the e2e suite locally.Manual testing: three nodes (H100 and H200) were fenced for days by this rule on XID 43 and 137 from an application crash-loop. All 24 GPUs had zero ECC double-bit errors, row-remap failures and uncorrectable remapped rows. One node passed
dcgmi diag -r 3on all 8 GPUs, and all three went back into service after a manual uncordon.Checklist
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Bug Fixes
Repeated XID error detection now excludes a broader set of codes whose catalogue actions are
IGNOREorRESTART_APP, including XIDs 13, 31, and 45. XIDs 157 and 161 continue to count toward the rule. The updated exclusions apply consistently to current events and historical candidate events; the same-GPU, 24-hour, burst, sticky-XID, and five-occurrence criteria are unchanged.Documentation
Updated configuration guidance to describe the revised exclusion criteria and the XIDs that remain included.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->