ha: filter the Compose v5 Created line in the namespaces test #2234
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.32) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.32 · 122 lines diff across 1 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.288
Real PR Conversation Timeline
1 comments
"Review active on #2234"
general
weight: 0.35
baum
What is broken
ha (namespaces) and ha (namespaces_loop) fail on runners with Docker Compose v5
compose v5 prints a 'Container ... Created' line when it runs the nvmeof-cli container
verify_num_namespaces() in tests/ha/namespaces.sh only filters the 'Creating' line
so the extra line goes into jq together with the get_subsystems output and jq fails with
jq: parse error: Invalid numeric literal at line 1, column 11
the test exits with code 5 at step 1 before any namespace is added
Seen on #2214 and on other PRs, for example run 39559988952 which has Docker Compose version v5.1.3
What I did
Filter both 'Creating' and 'Created' in verify_num_namespaces()
this is the same change as the namespaces.sh part of cf5adbff63 on squid_8.1
the rest of that commit does not apply cleanly on devel so only this line is ported
Testing
Ran the filter on the output from the failed job and the JSON now parses and gives the right namespace count
bash -n tests/ha/namespaces.sh passes