GTEST: Skip rdmacm netdevs whose RDMA device is not visible #12395
All Vouch review confidence checks passed
Residual risk 0.12 = Change Risk (0.30) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.30 · 88 lines diff across 1 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
Shallow Review Depth
shallow_review_depth
0.289
Diff Size
diff_size
0.269
Real PR Conversation Timeline
1 comments
"Review active on #12395"
general
weight: 0.35
tvegas1
What?
Skip a netdev in
get_all_rdmacm_net_devices()when its RDMA device is not listed in/sys/class/infiniband.Why?
In a container that exposes only some RDMA devices,
/sys/class/net/<if>/device/infinibandstill points to the hidden devices, so their interfaces were reported as rdmacm-capable. UCT rdmacm tests failed on them, and UCP sockaddr tests over IB hung until the watchdog. On Vera Rubin nodes, this cost about 23% of the gtest run time.How?
Check that
/sys/class/infiniband/<dev>exists before adding the netdev. Nothing changes when all devices are visible. On a Vera Rubin node in a container:rdmacm/*528/528 pass, and UCP IB sockaddr tests 1085/1085 pass with no hangs.