Skip to content

AZP/TESTS: Limit RNR retries in the no-SRQ gtest task - #12324

Open
GuangguanWang wants to merge 1 commit into
openucx:masterfrom
GuangguanWang:ci_test
Open

GuangguanWang wants to merge 1 commit into
openucx:masterfrom
GuangguanWang:ci_test

Conversation

@GuangguanWang

@GuangguanWang GuangguanWang commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

What?

Set UCX_RC_VERBS_RNR_RETRY_COUNT=6 in run_rc_verbs_nosrq_gtest and keep the default RNR timeout.

Why?

Finite RNR retries make persistent RNR report an explicit retry-exceeded error instead of hanging until the watchdog aborts. This helps diagnose CI failures and avoids repeatedly attributing unexplained timeouts to RNR.

The default RNR timeout (1ms, ~6ms in total for 6 retries) is kept:

  • It is sufficient in practice: earlier builds of this PR ran the task ~40 times with only RNR_RETRY_COUNT=6, without RNR errors or slowdown.
  • Longer timers slow down tests that hit RNR by design. With flow control disabled and 64 receive WRs per QP, test_uct_pending.pending_fairness hits RNR throughout. With RNR_TIMEOUT=200ms, it took 625-662s per variant on CI (builds 146023 and 146933), vs ~3s with the default timer, i.e. ~70% of the 900s gtest watchdog. The whole no-SRQ task grew from 6-15 min to 16-40 min.

CI failures under investigation

The first three failures occurred in run_rc_verbs_nosrq_gtest with UCX_RC_VERBS_SRQ_ENABLE=n. The last one occurred in the regular AddressSanitizer gtest shards.

Build PR Test Symptom Bot comment Conclusion
144509 12258 rc/
test_ucp_tag_
match_rndv.
length0/6
<rc_v/
rndv_put_flush,
proto_v1>
Hang, watchdog abort after 15 min Suspects per-QP receive replenishment No specific no-SRQ issue has been identified. Root cause unknown; relationship to #12066 remains unconfirmed.
144735 12274 rc_verbs/
uct_p2p_am_test.
am_sync/2
<rc_verbs/
mlx5_1:1>
Four AM receive waits ended with m_am_count=0, then cleanup flush hung Attributes the failure to the no-SRQ receive path Initial receive posting guarantees a nonempty RQ, yet not a single AM reached the callback. Receive-queue depletion alone should not prevent the first AM from arriving. Likely unrelated to the no-SRQ changes in #12066.
144751 12283 rc_verbs/
test_rc.
stress_iface_
ops/1
<rc_verbs/
mlx5_1:1>
Hang in uct_test::flush(), watchdog abort after 15 min Suspects no-SRQ refill / flow-control logic Only RDMA_WRITE operations are used; no receive WRs are consumed. Likely unrelated to the no-SRQ changes in #12066. 144988failed again in SRQ path.
144794 12311 rc_verbs/
uct_p2p_am_
alignment.
align_short/1
<rc_verbs/
mlx5_0:1/
loopback>
Printed alignment: 1, offset: none, then watchdog abort after about 18 min 20 s Attributes the hang to #12066 receive-path changes Failed in regular gtest; the no-SRQ task was skipped. Likely unrelated to the no-SRQ changes in #12066.

@GuangguanWang
GuangguanWang requested a review from a team as a code owner November 12, 2026 17:06
@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

Comment thread contrib/test_jenkins.sh
UCX_RC_VERBS_SRQ_ENABLE=n \
UCX_RC_VERBS_RX_CQ_LEN=262144 \
UCX_RC_VERBS_RX_MAX_WR=64 \
UCX_RC_VERBS_RNR_RETRY_COUNT=6 \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need to bound RNR retries here? with the default RC_RNR_TIMEOUT=1ms this gives only ~6ms before IBV_WC_RNR_RETRY_EXC_ERR, and the no-SRQ path can still hit RNR on a fresh QP's first burst (see the fc_max_wnd_size comment in uct_rc_verbs_iface_t init), so a slow receiver on a loaded CI machine would fail the job. if the goal is to turn RNR hangs into explicit errors, can we raise UCX_RC_VERBS_RNR_TIMEOUT as well and add a one-line comment why?

Comment thread contrib/test_jenkins.sh Outdated
UCX_RC_VERBS_RX_CQ_LEN=262144 \
UCX_RC_VERBS_RX_MAX_WR=64 \
UCX_RC_VERBS_RNR_RETRY_COUNT=6 \
UCX_RC_VERBS_RETRY_COUNT=6 \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: RETRY_COUNT default is already 7, which is the maximum (UCT_RC_QP_MAX_RETRY_COUNT), so 6 just drops one retry at the default 1s timeout - what does it buy? maybe remove it, or lower UCX_RC_VERBS_TIMEOUT instead if the intent is faster error detection.

@tvegas1 tvegas1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please provide the list of tests failing? Any local repro?

@GuangguanWang

Copy link
Copy Markdown
Contributor Author

Can you please provide the list of tests failing? Any local repro?

The list of failing tests is included in the PR description. I haven't been able to reproduce these failures locally.

I'm considering adding UCX_RC_VERBS_RNR_RETRY_COUNT=6 and UCX_RC_VERBS_RNR_TIMEOUT=1s to run_rc_verbs_nosrq_gtest, and I'd appreciate your thoughts on this.
This would make persistent RNR failures report an explicit retry-exceeded error instead of hanging until the watchdog aborts. The longer retry interval would allow temporary receive-buffer shortages to recover. This should make diagnosis easier and give the bot concrete evidence instead of repeatedly attributing timeouts to RNR.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

@GuangguanWang GuangguanWang changed the title AZP/TESTS: Limit RC retries in the no-SRQ gtest task [test only, do not merge] AZP/TESTS: Limit RNR retries in the no-SRQ gtest task [test only, do not merge] Nov 13, 2026
Comment thread contrib/test_jenkins.sh
UCX_RC_VERBS_SRQ_ENABLE=n \
UCX_RC_VERBS_RX_CQ_LEN=262144 \
UCX_RC_VERBS_RX_MAX_WR=64 \
UCX_RC_VERBS_RNR_RETRY_COUNT=6 \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is a finite RNR retry count needed here? the default 7 means infinite RNR retries, so with 6 a QP fails with RNR_RETRY_EXC after ~6 x 655ms, and for tests without an error handler uct_base_iface_failure_log_level() returns FATAL, which aborts the whole gtest run instead of failing one test. Tests in the filter that don't install an error handler (e.g. rc_verbs/uct_p2p_am_test*, rc_verbs/test_uct_pending*, rc_verbs/uct_flush_test*) would abort the whole gtest process.

Comment thread contrib/test_jenkins.sh Outdated
UCX_RC_VERBS_RX_CQ_LEN=262144 \
UCX_RC_VERBS_RX_MAX_WR=64 \
UCX_RC_VERBS_RNR_RETRY_COUNT=6 \
UCX_RC_VERBS_RNR_TIMEOUT=1s \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: 1s is above the maximal RNR NAK timer (uct_ib_qp_rnr_time_ms tops at 491.52ms), so uct_ib_to_rnr_fabric_time() silently clamps it to the 655.36ms encoding; pls use a value within the range so the script matches what the QP gets.

@svc-nvidia-pr-review

Copy link
Copy Markdown

contrib/test_jenkins.sh

The diff carries no rationale and no evidence (CI run, log excerpt) that the job behaves as intended with these two variables; per REVIEW.md, CI changes should show the stated behavior change. If the goal was to avoid RNR retry storms in the no-SRQ job, a note in the commit message or a short comment above the env block would make the intent reviewable.

@svc-ucx

svc-ucx commented Nov 13, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (Tests roce on worker 3) · commit 3b6c2d6f

TL;DR: The shm_ib_ipc/test_ucp_atomic64.post/0 test aborted because the mlx5 UMR loopback QP never completes its BIND_MW WQE on a RoCE port (30 s ibv_poll_cq timeout) — the UMR QP's AH is filled in without grh.sgid_index/grh.hop_limit and with a LID-based/GID-index-0 path that is invalid on RoCE; fix the AH setup (and the post-timeout error path) in uct_ib_mlx5_devx_umr_modify_qp.

Full analysis

Summary: roce on worker 3 gtest run aborted in shm_ib_ipc/test_ucp_atomic64.post/0: UMR mkey registration timed out, ucp_mem_map failed with "Input/output error", and ucp_cleanup then hit the rcache assertion region->refcount == 0 and core-dumped (make: *** [Makefile:5014: test] Aborted).

Root cause: Timeline shows a 31-second silence (10:34:45 → 10:35:16) between the test start and the first error — a hang, not slowness. It is exactly the 30 s UMR poll timeout:

  • ib_mlx5dv_md.c:1439 mlx5_0: ibv_poll_cq(UMR CQ, registration, UMR mkey ... index 0x36bd) timed out — the IBV_WR_BIND_MW WQE posted by uct_ib_mlx5_devx_umr_mkey_bind() (line 1537) never generated a completion.
  • The UMR QP is an RC QP looped back to itself by uct_ib_mlx5_devx_umr_modify_qp() (lines 1198–1250). Its AH is built with ah_attr.dlid = port_attr->lid (0 on a RoCE/Ethernet port), is_global = 1, and the DGID taken from the hardcoded UCT_IB_DEVICE_DEFAULT_GID_INDEX (GID 0 = RoCEv1 on RoCE ports). Crucially ah_attr.grh.sgid_index, grh.hop_limit, traffic_class and flow_label are never set, so they stay 0. With hop_limit == 0 a RoCEv2 (UDP-encapsulated) packet is dropped by the HCA/stack, so the loopback send never completes — which is why this only fails on the RoCE worker. Everywhere else UCX fills these fields from the iface config/GID info (uct_ib_iface_fill_ah_attr_* in src/uct/ib/base/ib_iface.c); the UMR MD path bypasses that helper.
  • Cascading failures: the error path uct_ib_mlx5_devx_umr_mkey_invalidate() (line 1539) posts IBV_WR_LOCAL_INV on the same QP that still has the stuck WQE outstanding (cap.max_send_wr = 1, line 1142) → ib_mlx5dv_md.c:1430 ibv_post_send(... invalidation ...) returned 12: Bad address. Registration returns UCS_ERR_IO_ERROR → test/gtest/ucp/test_ucp_memheap.cc:68: Failure / Error: Input/output error. The failed map leaves the UCP rcache region with ref 1, so ucs_rcache_purge() warns "destroying inuse region" (rcache.c:679) and ucs_mem_region_destroy_internal() asserts at rcache.c:403 during ucp_cleanup() → core dump.

Implicated commit: unknown — the UMR QP/mkey code is not in the recent history of this file; the latest touches are e4d1e597 (dmitrygx, "UCT/IB/MLX5: Fix atomic MR offset without a flush memory key", #12265) and feb231ce (Thomas Vegas, #12207), neither of which modifies the UMR AH setup. The rcache-side fallout may be aggravated by e536ef03 (william-gallagher-nv, "UCS/RCACHE: Adds capability for merging adjacent rcache regions", #11958).

File: src/uct/ib/mlx5/dv/ib_mlx5dv_md.c:1213 (AH setup, uct_ib_mlx5_devx_umr_modify_qp); timeout at src/uct/ib/mlx5/dv/ib_mlx5dv_md.c:1436-1443; secondary abort at src/ucs/memory/rcache.c:403

Suggested fix:

  1. In uct_ib_mlx5_devx_umr_modify_qp(), fill the AH correctly for both link layers instead of hand-rolling it: set ah_attr.grh.sgid_index to the port's actual (RoCEv2) GID index rather than hardcoding UCT_IB_DEVICE_DEFAULT_GID_INDEX, set ah_attr.grh.hop_limit (e.g. 255 / the IB HOP_LIMIT config), set traffic_class/flow_label, and for Ethernet ports do not rely on port_attr->lid. Reuse the existing uct_ib_iface_fill_ah_attr_from_gid_lid()-style logic in src/uct/ib/base/ib_iface.c so the RoCE path is handled in one place.
  2. Make the timeout path safe: after uct_ib_mlx5_devx_umr_post_sync() times out, flush/transition the UMR QP to ERR and re-init it (or mark UMR unusable) instead of posting another WQE on a QP with an outstanding, never-completing send — the current code guarantees the follow-up ibv_post_send failure.
  3. Separately, fix the reference leak so a failed ucp_mem_map releases its rcache region; otherwise any UCT registration error turns a clean error return into an assertion/core dump at ucp_cleanup().

Related: none found (searched for "UMR CQ timed out", "rcache destroying inuse region", "test_ucp_atomic64.post" — no matching issue). Possibly interacting: #11958

@GuangguanWang

Copy link
Copy Markdown
Contributor Author

Can you please provide the list of tests failing? Any local repro?

The list of failing tests is included in the PR description. I haven't been able to reproduce these failures locally.

I'm considering adding UCX_RC_VERBS_RNR_RETRY_COUNT=6 and UCX_RC_VERBS_RNR_TIMEOUT=1s to run_rc_verbs_nosrq_gtest, and I'd appreciate your thoughts on this. This would make persistent RNR failures report an explicit retry-exceeded error instead of hanging until the watchdog aborts. The longer retry interval would allow temporary receive-buffer shortages to recover. This should make diagnosis easier and give the bot concrete evidence instead of repeatedly attributing timeouts to RNR.

The failure in 144988 is caused by UCX_RC_VERBS_RNR_TIMEOUT=1s, so remove UCX_RC_VERBS_RNR_TIMEOUT=1s and only add UCX_RC_VERBS_RNR_RETRY_COUNT=6

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

Comment thread contrib/test_jenkins.sh
UCX_RC_VERBS_SRQ_ENABLE=n \
UCX_RC_VERBS_RX_CQ_LEN=262144 \
UCX_RC_VERBS_RX_MAX_WR=64 \
UCX_RC_VERBS_RNR_RETRY_COUNT=6 \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why 6? RNR_TIMEOUT stays at its 1ms default here, so a QP now goes to error after ~6ms of RNR, while the no-SRQ path can legitimately RNR until the receiver reposts (see the fc_max_wnd_size comment in uct_rc_verbs_iface_t init). The UCT tests in this filter install no error handler, so an RNR-retry-exceeded completion is fatal — maybe raise UCX_RC_VERBS_RNR_TIMEOUT as well, so a loaded/ASAN run does not flake?

@svc-nvidia-pr-review

Copy link
Copy Markdown

contrib/test_jenkins.sh

Residual coverage gap worth noting: the job env only affects rc_verbs, so the rc/test_ucp_* entries in the filter may run over rc_mlx5 on mlx5 hosts and are unaffected by this variable (pre-existing, same as UCX_RC_VERBS_SRQ_ENABLE=n).

@svc-ucx

svc-ucx commented Nov 13, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (Tests roce on worker 1) · commit 6bed203e

TL;DR: The roce on worker 1 gtest task failed on a single test, ib/test_md.alloc/1 (mlx5_1), while the PR under test is a test-only AZP config change to a different task — this is an unrelated flake in the MD allocation loop, most plausibly MD allocation resources being exhausted so the test's "<50 % allocation failures" tolerance (or an ASSERT_UCS_OK in the same loop) tripped. Re-run the job; if it recurs, harden test_md.alloc rather than changing the PR.

Full analysis

Summary: make test in build-test/test/gtest exited with error 1 because 1 of 9101 tests failed: [ FAILED ] ib/test_md.alloc/1, where GetParam() = mlx5_1 (make: *** [Makefile:5014: test] Error 1, ##[error]Bash exited with code '2').

Root cause: The only failure in the whole run is the IB memory-domain allocation test on device mlx5_1. That test (UCS_TEST_SKIP_COND_P(test_md, alloc, ...)) runs 300 iterations of uct_mem_alloc(UCT_ALLOC_METHOD_MD) + uct_md_mkey_pack_v2(..., INVALIDATE_RMA|INVALIDATE_AMO) + uct_mem_free(), deliberately swallowing MD allocation errors ("failed to allocate", "exceeds maximal supported size") and counting UCS_ERR_NO_MEMORY returns; it then fails if more than 50 % of iterations could not allocate (EXPECT_LT((double)num_alloc_failures / iterations, 0.5) << "Too many OUT_OF_RESOURCE failures"), or if uct_mem_alloc/uct_md_mkey_pack_v2 return a non-OK, non-NO_MEMORY status (ASSERT_UCS_OK). Everything else in the run — including all other mlx5_1 IB/RoCE tests (rc_mlx5/test_uct_stats on mlx5_1:1, ud_mlx5/uct_amo_add_xor_test on mlx5_1:1) — passed, and no transport/connectivity errors appear, so this is a device-resource/registration-key exhaustion flake on the shared worker (multiple parallel gtest workers hitting the same HCA), not a transport regression.

Important caveats from the evidence: the PR is #12324 "AZP/TESTS: Limit RNR retries in the no-SRQ gtest task [test only, do not merge]", which only changes the no-SRQ gtest task config and cannot affect ib/test_md.alloc on the roce task; and the per-assertion detail line for the failure sits above the retrievable log window (only the last ~500 lines of this 3209 s run are exposed by the Azure log API), so the precise failing assertion (threshold vs. ASSERT_UCS_OK) could not be read.

Implicated commit: unknown — not attributable to [REDACTED:Hex High Entropy String] (test-only AZP change to another task). Recent changes touching the IB MD path that are worth bisecting against if it reproduces: 80ac741a (Artemy Kovalyov, UCT/GDAKI: Assign HCAs to GPUs by fabric plane, #12260), 7aed3848 (Guy Ealey Morag, #12270), deaa328e (Thomas Vegas, #12032) in src/uct/ib/base/ib_md.c.

File: test/gtest/uct/test_md.cc:467–549 (failure point is the loop at 504–549; thresholds at 529/541/547)

Suggested fix: Re-trigger the roce on worker 1 task — a single-test failure in an unrelated MD allocation test on a test-only PR should not block it. To stop the recurring flake: (1) capture the actual assertion by running ./gtest --gtest_filter='ib/test_md.alloc/1' with the full log retained, then (2) make test_md.alloc robust to device-resource contention — retry/back off on UCS_ERR_NO_MEMORY instead of counting it toward a hard 50 % threshold, or skip/relax the threshold when the MD reports a small max_alloc; also reset num_alloc_failures inside the ucs_for_each_bit(mem_type, ...) loop (line 472 is initialized once outside it, so failures accumulate across memory types and bias the ratio check at line 547).

Related: PR under test: #12324 (test-only, "do not merge"). No existing issue found for ib/test_md.alloc flakiness.

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id 519416f6-f92e-4112-821c-980cebe631f5 in the triage console for the audit trail.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

Comment thread contrib/test_jenkins.sh
UCX_RC_VERBS_SRQ_ENABLE=n \
UCX_RC_VERBS_RX_CQ_LEN=262144 \
UCX_RC_VERBS_RX_MAX_WR=64 \
UCX_RC_VERBS_RNR_RETRY_COUNT=6 \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why 6? rnr_retry=7 is "retry forever", so this turns RNR into a hard QP failure after ~6 × RNR_TIMEOUT (6ms with the UCT default of 1ms). The tests in this filter which disable FC (test_uct_pending/test_uct_peer_failure call reduce_tl_send_queues() → RC_FC_ENABLE?=n) can leave the receiver without posted WRs longer than that on a loaded CI host, and the resulting send completion error is fatal for tests with no error handler — is the fail-fast intentional, and if so can we pair it with a larger UCX_RC_VERBS_RNR_TIMEOUT?

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

Comment thread contrib/test_jenkins.sh
UCX_RC_VERBS_SRQ_ENABLE=n \
UCX_RC_VERBS_RX_CQ_LEN=262144 \
UCX_RC_VERBS_RX_MAX_WR=64 \
UCX_RC_VERBS_RNR_RETRY_COUNT=6 \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the default 1ms RNR timer, lowering RNR_RETRY_COUNT from the default 7 (infinite retry) to 6 leaves the receiver only ~6ms (6 × ~0.96ms) to repost before the QP fails with RNR_RETRY_EXC_ERR → uct_rc_verbs_handle_failure(), which is error/fatal for tests without an error handler. Several tests in this job's filter run with flow control disabled (test_uct_pending / test_uct_peer_failure via uct_test::reduce_tl_send_queues() → RC_FC_ENABLE?=n), and in the no-SRQ path RNR is an expected/recoverable condition per rc_verbs_iface.c and test_rc_no_srq.rnr_fc_disabled. On a loaded CI host (shuffled gtest, ASan) this can turn a transient RNR into a hard failure. Can we keep the default 7 (infinite retry), or raise UCX_RC_VERBS_RNR_TIMEOUT together with the lower retry count?

@svc-ucx

svc-ucx commented Nov 16, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (Tests roce on worker 1) · commit a39359b5

TL;DR: The roce on worker 1 gtest task failed because exactly one of 9104 tests, ib/test_md.alloc/1 (MD = mlx5_1), failed — an IB memory-domain allocation failure unrelated to this CI-yaml-only PR; the test's own assertion ordering swallows the real ucs_status_t, so re-run the job and fix test_md.alloc to report the actual status.

Full analysis

Summary: make test in build-test/test/gtest exited with error 1 (Makefile:5015) after [ FAILED ] ib/test_md.alloc/1, where GetParam() = mlx5_1; 9103/9104 tests passed.

Root cause: From the log, the run was healthy and not hung — the whole suite completed in 3150569 ms with sub-second gaps between consecutive timestamps right up to the tear-down, and the only failure is a single IB MD allocation test. PR #12324 ("AZP/TESTS: Limit RNR retries in the no-SRQ gtest task [test only, do not merge]") touches only the Azure pipeline definition, not uct/ib or test/gtest/uct, so the failing test is not caused by the change under test — it is an environmental/flaky allocation failure on the shared agent (/scrap/azure/agent-05) at the end of a ~52-minute, 9104-test run.

The reason the log tail carries no diagnostic for it is a defect in the test itself: in test_md.alloc, only UCS_ERR_NO_MEMORY is treated as a tolerable transient failure (test/gtest/uct/test_md.cc:519-523), and the log handler at lines 448-465 suppresses the "failed to allocate" / "exceeds maximal supported size" messages that would identify the cause. Worse, lines 525-527 read mem.length / mem.address before ASSERT_UCS_OK(status) on line 529, so any other non-OK status makes the test first fail on an uninitialized uct_allocated_memory_t instead of printing the real status. num_alloc_failures is also never reset between mem_type iterations, so the < 0.5 ratio check on line 547 accumulates across memory types.

Implicated commit: unknown — no source commit implicated; PR #12324 (branch ci_test) modifies only the AZP pipeline YAML. Most recent related touches are 84fb2f0 (Yaser Afshar, test/gtest/uct/test_md.cc) and b46c849 (Raul Akhmetshin, src/uct/ib/base/ib_md.c), neither of which the log ties to this failure.

File: test/gtest/uct/test_md.cc:519-532 (test body UCS_TEST_SKIP_COND_P(test_md, alloc) at :467)

Suggested fix:

  1. Re-trigger the roce on worker 1 job — this is a single-test, non-reproducing failure on a test-only PR and should not block it.
  2. Make the test diagnosable so the next occurrence is triageable: move ASSERT_UCS_OK(status) (line 529) to immediately after the UCS_ERR_NO_MEMORY early-continue, before any access to mem, and include the failing size/mem_type/status in the message, e.g. ASSERT_UCS_OK(status) << "size=" << orig_size << " mem_type=" << ucs_memory_type_names[mem_type];.
  3. Reset num_alloc_failures = 0 at the top of the ucs_for_each_bit(mem_type, ...) loop so the 50% threshold on line 547 is evaluated per memory type.
  4. Have the suppressing log handler (lines 448-465) re-emit the suppressed text via UCS_TEST_MESSAGE instead of dropping it, so the real ibv_reg_mr/alloc error reaches the CI log.

Related: #12324 (the PR under test, CI-only change)

Comment thread contrib/test_jenkins.sh
UCX_RC_VERBS_SRQ_ENABLE=n \
UCX_RC_VERBS_RX_CQ_LEN=262144 \
UCX_RC_VERBS_RX_MAX_WR=64 \
UCX_RC_VERBS_RNR_RETRY_COUNT=6 \

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
UCX_RC_VERBS_RNR_RETRY_COUNT=6 \
UCX_RC_VERBS_RNR_RETRY_COUNT=6 \
UCX_RC_VERBS_RNR_TIMEOUT=500ms \

with the default 1ms RNR timer 6 retries fail the QP after ~6ms, and this job runs pending/flush/peer failure tests with FC disabled and RX_MAX_WR=64, where RNR is expected; with 500ms a QP fails only after ~3s of RNR (6 is the max finite count, 655ms the max timer). pls also compare the duration of this job before/after, since every RNR now waits ~0.5s.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggestion. Among the tests in this job, rc_verbs/test_uct_pending.pending_fairness is the one most affected by RNR_TIMEOUT, so I measured it on my own setup (rc_verbs on mlx5_bond_0), one run per value:

UCX_RC_VERBS_SRQ_ENABLE=n UCX_RC_VERBS_RX_CQ_LEN=262144 \
UCX_RC_VERBS_RX_MAX_WR=64 UCX_RC_VERBS_RNR_RETRY_COUNT=6 \
UCX_RC_VERBS_RNR_TIMEOUT=<value> \
./test/gtest/gtest --gtest_filter='rc_verbs/test_uct_pending.pending_fairness/*'
RNR_TIMEOUT Effective RNR timer Time to QP failure (6 retries) Test duration
1ms (default) 0.96ms ~6ms 0.28s
100ms 81.92ms ~0.5s 3.5s
200ms 163.84ms ~1s 8.6s
300ms 327.68ms ~2s 185.5s
500ms 491.52ms ~2.9s 240.4s

Above 200ms the duration of this test jumps from ~9s to 3-4 minutes.
I'd prefer 200ms: it still tolerates ~1s of continuous RNR (vs ~6ms with the default), while keeping this test under 10s. 100ms (~0.5s tolerance) would also be fine if we want to minimize the job time. WDYT?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for measuring. on CI 200ms costs much more than locally, so let's drop RNR_TIMEOUT and keep only RNR_RETRY_COUNT=6, as in d4fa84b:

  • every RNR now waits ~164ms (200ms is rounded down to the IBTA value), and test_uct_pending hits RNR by design here (FC disabled, 64 receive WRs per QP): in builds 146023 and 146933 pending_fairness takes 625-662s per variant vs ~3s with the default timer, ~70% of the 900s gtest watchdog
  • the whole no-SRQ task goes from 6-15 min to 16-40 min
  • the ~6ms budget of the default timer is small on paper, but it held in practice: the earlier builds of this PR ran the task ~40 times with only RNR_RETRY_COUNT=6, without RNR errors or slowdown, even though pending_fairness hits RNR throughout
  • so far it's the longer timers that caused trouble: 1s failed 144988 per your comment, and 200ms brings pending_fairness close to the watchdog
  • the goal is still met: a receiver that never reposts fails within a few ms with an explicit RNR retry-exceeded error instead of a watchdog hang

pls also update the comment above the env block and the PR description accordingly.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggestion. RNR_TIMEOUT is dropped and only RNR_RETRY_COUNT=6 is kept. The comment above the env block and the PR description are updated accordingly. The PR is ready for review.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

Comment thread contrib/test_jenkins.sh
UCX_RC_VERBS_SRQ_ENABLE=n \
UCX_RC_VERBS_RX_CQ_LEN=262144 \
UCX_RC_VERBS_RX_MAX_WR=64 \
UCX_RC_VERBS_RNR_RETRY_COUNT=6 \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why 6 instead of the default 7? 7 means infinite RNR retry, so with 6 a receiver that has no posted receive WRs for ~6 x RNR_TIMEOUT (6ms for the UCT tests here, 60ms for the rc/test_ucp_* ones) fails the QP with RNR retry exceeded, and tests without an error handler abort the whole shard from uct_rc_verbs_handle_failure() at fatal level. Given that the no-SRQ receive path intentionally allows RNR on a fresh QP's first burst, this looks like a CI flakiness risk. If the intent is to catch RNR storms in this job, can we also raise UCX_RC_VERBS_RNR_TIMEOUT so a transient backlog does not become a CI crash?

Comment thread contrib/test_jenkins.sh
UCX_RC_VERBS_SRQ_ENABLE=n \
UCX_RC_VERBS_RX_CQ_LEN=262144 \
UCX_RC_VERBS_RX_MAX_WR=64 \
UCX_RC_VERBS_RNR_RETRY_COUNT=6 \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Residual coverage gap: the only test that depends on RNR retries (test_rc_no_srq.rnr_fc_disabled) is excluded by this job's filter (-*test_rc_no_srq*), so no test in the job actually validates the new finite-retry setting; the behavior change is only observable through a full CI run of this shard.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

Comment thread contrib/test_jenkins.sh
UCX_RC_VERBS_SRQ_ENABLE=n \
UCX_RC_VERBS_RX_CQ_LEN=262144 \
UCX_RC_VERBS_RX_MAX_WR=64 \
UCX_RC_VERBS_RNR_RETRY_COUNT=6 \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These tests run with FC disabled (uct_test::reduce_tl_send_queues() sets RC_FC_ENABLE?=n for test_uct_pending/test_uct_peer_failure), and without an SRQ delivery then relies on RNR retries (cf. test_rc_no_srq.rnr_fc_disabled). A finite count caps recovery at ~1s, which may be too short on a loaded or ASAN host — did this job stay clean under run_asan_check?

Comment thread contrib/test_jenkins.sh Outdated
UCX_RC_VERBS_RX_CQ_LEN=262144 \
UCX_RC_VERBS_RX_MAX_WR=64 \
UCX_RC_VERBS_RNR_RETRY_COUNT=6 \
UCX_RC_VERBS_RNR_TIMEOUT=200ms \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: 200ms is not in the IBTA RNR NAK timer table, so uct_ib_to_rnr_fabric_time() rounds it down to 163.84ms. Please use a representable value or state the effective one, so the comment above matches the timeout actually programmed on the QP.

@svc-nvidia-pr-review

Copy link
Copy Markdown

Residual coverage gap: no evidence in the diff that the job was run under the ASAN variant, where the ~1s RNR budget is most likely to be exceeded.

@svc-ucx

svc-ucx commented Nov 21, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (Tests new on worker 0) · commit c62ff56f

TL;DR: The gtest task failed on a single test — tcp/test_ucp_rma.put_nonblocking/2 (tcp,cuda_copy,rocm_copy/user_memh) — out of 9135, which makes make test exit 1; the failing test is a TCP/user-memory-handle RMA put verification failure that has nothing to do with this PR's IB RNR-retry CI tweak, so re-run and chase it as an unrelated (likely flaky) user-memh put failure.

Full analysis

Summary: ./contrib/test_jenkins.sh → make test in build-test/test/gtest returned Error 1 because exactly one gtest case failed: tcp/test_ucp_rma.put_nonblocking/2, where GetParam() = tcp,cuda_copy,rocm_copy/user_memh (9134 passed, 3489 skipped, no crash/timeout — the suite ran to completion and tore down normally).

Root cause: From the log, the only failing assertion is in the user_memh variant of test_ucp_rma.put_nonblocking over TCP. That test path is test_mem_types() → test_message_sizes() → test_ucp_memheap::test_xfer(..., user_memh=true, is_ep_flush=false), whose single failure point is the post-flush_worker() buffer comparison (ADD_FAILURE() << "data validation failed"), i.e. the data put with a user-supplied ucp_mem_h (UCP_OP_ATTR_FIELD_MEMH, param.op_attr_mask = 0, request released immediately by put_nbi) did not match on the target after a worker flush. The per-test gtest detail lines sit earlier than the retrievable ~500-line tail of the Azure log, so the exact mismatch offset is not visible; the tail does confirm there was no hang (timestamps are continuous, largest gap < 1 s) and no SIGTERM/time-limit kill.
Importantly, this build is the plain "new on worker 0" gtest task and the failing case uses the TCP transport, which has no SRQ/RNR-retry semantics — so PR #12324 ("AZP/TESTS: Limit RNR retries in the no-SRQ gtest task", test/CI-config only, branch ci_test) cannot plausibly produce this failure. It is a pre-existing/flaky failure in the user-memh RMA put verification path.

Implicated commit: unknown — not attributable to [REDACTED:Hex High Entropy String] (PR #12324 changes only the no-SRQ gtest task's RNR-retry setting; the failure is on TCP)

File: test/gtest/ucp/test_ucp_memheap.cc:115 (validation failure raised for test/gtest/ucp/test_ucp_rma.cc:283 put_nonblocking, user_memh variant added at test_ucp_rma.cc:33)

Suggested fix:

  1. Treat this build as not blocked by the PR change; re-run the "Tests new on worker 0" task to confirm the failure is intermittent.
  2. To make this triageable, publish the gtest stdout as a build artifact (or grep the full task log for [ FAILED ] tcp/test_ucp_rma.put_nonblocking and the preceding data validation failed / error lines) — the current 500-line tail drops the actual assertion.
  3. To reproduce locally/in CI: ./gtest --gtest_filter='tcp/test_ucp_rma.put_nonblocking/2' --gtest_repeat=50 with UCX_TLS=tcp UCX_PROTO_INFO=y UCX_LOG_LEVEL=info to capture the selected put protocol and the mismatch offset. If it reproduces, focus on the pre-registered-memh put path (ucp_put_nbx with UCP_OP_ATTR_FIELD_MEMH) and on whether flush_worker() alone guarantees completion for that protocol on TCP; a targeted comparison against the flush_ep variant (/1, which passed) will tell whether the gap is in worker-level flush completion rather than in the data path.

Related: PR #12324 (the PR under test, CI-config only) — #12324; possibly relevant flush-correctness work: #12266 "UCP/FLUSH: Flush the other lanes after the pending lane" — #12266

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id 2669113b-9787-4cb1-a53c-a0a877c0c5fb in the triage console for the audit trail.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

@svc-nvidia-pr-review

Copy link
Copy Markdown

contrib/test_jenkins.sh

minor: the RNR timeout is quantized by uct_ib_to_rnr_fabric_time() to the IBTA table, so 200ms is programmed as 163.84ms (the table only has 163.84 and 245.76). pls use a table value or adjust the comment, so the intended per-retry wait and total budget are clear.

@svc-ucx

svc-ucx commented Nov 23, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (Tests new on worker 2) · commit 23494d35

TL;DR: The gtest stage failed because exactly one of 9198 tests failed — tcp/test_ucp_rma.put_nonblocking/2 (tcp,cuda_copy,rocm_copy/user_memh) — i.e. a non-blocking RMA put whose data was not visible after the flush; this is unrelated to PR #12324 (which only tweaks the no-SRQ gtest task's RNR-retry env), so re-run and track it as the known multi-RMA-lane flush race rather than as a PR regression.

Full analysis

Summary: make test in contrib/test_jenkins.sh exited 2 (Makefile:5017: test Error 1) because tcp/test_ucp_rma.put_nonblocking/2 <tcp,cuda_copy,rocm_copy/user_memh> failed; all other 9197 tests passed and no crash/timeout/signal is present in the log (the run completed its tear-down normally in 3049903 ms, with continuous output up to the end — not a hang or wall-clock kill).

Root cause: The failing case is the USER_MEMH variant of test_ucp_rma, which issues ucp_put_nbx with UCP_OP_ATTR_FIELD_MEMH and does not wait per request (put_nbi → request_release), then relies solely on flush_ep/flush_worker before mem_buffer::compare() (test/gtest/ucp/test_ucp_memheap.cc:110, ADD_FAILURE() << "data validation failed"). The fixture forces two RMA lanes (modify_config("MAX_RMA_LANES", "2"), test/gtest/ucp/test_ucp_rma.cc:39), so completion correctness depends on the endpoint flush covering all RMA lanes. In ucp_ep_flush_progress() the lane owned by a pending callback is excluded (src/ucp/rma/flush.c:160-163) and the loop breaks out when a second lane returns UCS_ERR_NO_RESOURCE while a pending flush already exists (src/ucp/rma/flush.c:190-197) — the exact "flush the other lanes after the pending lane" scenario that open PR #12266 addresses. TCP, which hits NO_RESOURCE easily under the non-blocking put loop, is the transport that failed. Note: the per-test failure message itself is ~50 minutes earlier in the step log and is outside the retrievable log tail, so the specific assertion text could not be confirmed — the attribution above is based on the failing test/variant plus the code path, and PR #12324 changes only AZP gtest-task RNR/no-SRQ settings, which cannot affect the TCP RMA data path.

Implicated commit: unknown (not a regression from [REDACTED:Hex High Entropy String] — that branch's change is CI-config-only for the no-SRQ task)

File: test/gtest/ucp/test_ucp_memheap.cc:110 (data validation) with src/ucp/rma/flush.c:160-197 (multi-lane flush/pending-lane handling)

Suggested fix: Re-run this job to confirm the failure is intermittent; do not change CI time limits (no hang/timeout signature). To get a usable signature next time, make the gtest step archive the gtest output so the [ FAILED ] block and preceding [ INFO ] host->host ... size line are retrievable, or re-run just the failing case with --gtest_filter=tcp/test_ucp_rma.put_nonblocking/2 plus UCX_LOG_LEVEL=trace_req. For the underlying defect, land/validate PR #12266 (flush remaining lanes after the pending lane) so that a flush with MAX_RMA_LANES=2 cannot report completion while a lane that returned UCS_ERR_NO_RESOURCE is still unflushed.

Related: #12266 (UCP/FLUSH: Flush the other lanes after the pending lane), #12324 (the PR under test, CI-only), #12066 (no-SRQ support, context for #12324)

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id 284710cd-3b41-45eb-84e0-ce5ea29c4751 in the triage console for the audit trail.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Review complete — no issues found.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

Comment thread contrib/test_jenkins.sh
UCX_RC_VERBS_SRQ_ENABLE=n \
UCX_RC_VERBS_RX_CQ_LEN=262144 \
UCX_RC_VERBS_RX_MAX_WR=64 \
UCX_RC_VERBS_RNR_RETRY_COUNT=6 \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UCX_RC_VERBS_RNR_TIMEOUT stays at the 1ms default (0.96ms after the IBTA quantization in uct_ib_to_rnr_fabric_time()), so the whole RNR budget here is only ~6ms. A receiver that needs longer to repost its 64 RX WRs (ASAN job, loaded host) will hit RNR-retry-exceeded, and since the uct tests in this filter create entities without an err_handler, uct_rc_verbs_handle_failure() logs at FATAL and aborts the whole gtest binary. Can we pair this with a larger UCX_RC_VERBS_RNR_TIMEOUT (e.g. 20ms → ~120ms total) so only a truly stuck receiver hits the limit?

@svc-nvidia-pr-review

Copy link
Copy Markdown

Residual coverage gap: there is still no CI evidence in the PR that this job (in particular the ASAN variant, where the ~6 ms RNR budget is most likely to be exceeded) was run with the new variable.

@GuangguanWang GuangguanWang changed the title AZP/TESTS: Limit RNR retries in the no-SRQ gtest task [test only, do not merge] AZP/TESTS: Limit RNR retries in the no-SRQ gtest task Nov 23, 2026
@svc-ucx

svc-ucx commented Nov 23, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (Tests roce on worker 1) · commit aadd3d24

TL;DR: The run_ucx_perftest_fault_tolerance task failed because ucx_drop_tool -d mlx5_0 -s 11 -t 41 never actually blocked any traffic on this RoCE worker, so UCP never failed over and verify_active_devices couldn't find protocol configuration cfg#1; the test's SL/TC values (derived from EXECUTOR_NUMBER) are not valid/matchable on RoCEv2, so the FT test should be skipped (or SL/DSCP adjusted) on RoCE ports.

Full analysis

Summary: contrib/test_jenkins.sh → run_ucx_perftest_fault_tolerance exited 1 with Error: Failed to find protocol configuration count 1 in standard out after blocking mlx5_0; the whole "roce on worker 1" job failed (Bash exited with code '1'). All 9315 gtests passed beforehand.

Root cause: The test starts ucx_perftest -t ucp_put_lat -efailover -l with UCX_IB_SL=11, UCX_IB_TRAFFIC_CLASS=41, UCX_MAX_RMA_RAILS=2, then runs the drop tool to filter SL 11 / TC 41 on mlx5_0 and expects UCP to reconfigure onto mlx5_1 within 10 s.
Evidence from the log that no traffic was ever dropped:

  • Baseline cfg#0 was found correctly (50% on rc_mlx5/mlx5_0:1 and 50% on rc_mlx5/mlx5_1:1).
  • The drop tool started at 15:32:38.18 and produced no output; the perftest report lines captured in ucx_perftest.stdout during the 15:32:38→15:32:48 window continue completely unaffected (81.0 µs 50%ile, ~12.2 GB/s, single 98 µs blip at iteration 47698), and there is not a single UCX error/timeout/failover log line in the file.
  • Consequently no second proto-info block (| perftest self cfg#1) was ever printed, and parse_active_devices returned 1.

Why the filter can't match on this RoCE row: the values are derived from the executor index — sl=$((EXECUTOR_NUMBER+1))=11, tc=$((EXECUTOR_NUMBER+31))=41 (contrib/test_jenkins.sh:514-515). On a RoCE port UCX_IB_SL is the Ethernet priority (valid range 0–7, documented at src/uct/ib/base/ib_iface.c:177-180), so SL 11 is not representable on the wire, and the traffic class reaches the wire as DSCP traffic_class >> 2 = 41>>2 = 10, not 41 (uct_ib_iface_roce_dscp(), src/uct/ib/base/ib_iface.h:804-808). So neither the -s 11 nor the -t 41 match criterion hits the RoCEv2 packets, no lane failure is injected, and the verification step fails deterministically on RoCE workers with a high EXECUTOR_NUMBER. The script also never checks that the drop tool actually installed a filter and uses a single fixed 10 s sleep instead of polling.

This is a test/infrastructure issue, not a regression from the PR: the branch head aadd3d24 only touches run_rc_verbs_nosrq_gtest (RNR retry env vars) and does not affect the fault-tolerance task.

Implicated commit: [REDACTED:Hex High Entropy String] — "CI/FT: Adds fault tolerance CI test (#11570)", william-gallagher-nv (test designed for IB SL semantics); PR head commit aadd3d2 (Guangguan Wang) is unrelated.

File: contrib/test_jenkins.sh:514-515 (sl/tc derivation) and contrib/test_jenkins.sh:566-581 (drop + verify loop); RoCE DSCP mapping at src/uct/ib/base/ib_iface.h:804-808

Suggested fix:

  1. Skip the task on RoCE ports, e.g. in run_ucx_perftest_fault_tolerance return 0 unless all get_active_ib_devnames ports report link_layer: InfiniBand (ibv_devinfo -d $dev / /sys/class/infiniband/$dev/ports/1/link_layer) — this is the minimal, correct fix since the drop-tool filter is IB-SL based.
  2. If RoCE coverage is wanted instead: clamp the priority to the RoCE range (sl=$(( EXECUTOR_NUMBER % 8 ))) and pass the on-wire DSCP to the tool (-t $(( tc >> 2 ))), keeping UCX_IB_TRAFFIC_CLASS=$tc.
  3. Harden the task regardless: verify the drop tool started successfully (and that the perftest PID is still alive), and replace the fixed sleep 10 + single check with a bounded poll loop (e.g. retry verify_active_devices for up to 30 s) so a slow failover isn't reported as a failure; dump the tail of ucx_perftest.stdout on failure to make triage possible.

Related: #11570 (added this FT test), #12388 (-e mode argument, -efailover still valid), PR under test: #12324

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id d9418ebd-dd17-4762-ba31-00092752553b in the triage console for the audit trail.

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

CLA check passed

All commits are covered by a signed CLA.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Review complete — no issues found.

@svc-ucx

svc-ucx commented Nov 24, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — CLA · commit 81d56a08

TL;DR: This isn't a CI/infrastructure bug — the CLA workflow correctly failed because commit aadd3d2404 in PR #12324 carries no verified GPG/SSH signature; the contributor needs to sign (and force-push) that commit.

Full analysis

Summary: GitHub Actions job CLA (run 45308569441) exited 1 at the ./buildlib/tools/cla_check.sh step with ### CLA check failed — Commits without a verified signature: aadd3d2404 (unsigned).

Root cause: cla_check.sh enumerated the 2 commits the PR adds on top of origin/master ([REDACTED:Hex High Entropy String]) and queried repos/openucx/ucx/commits/<sha> for each. For aadd3d2404, GitHub reported commit.verification.verified == false with reason unsigned, so the script added it to the unsigned[] array (buildlib/tools/cla_check.sh:95-97) and set failed=1 (line 137), emitting ::error::CLA check failed and exiting 1 (lines 166-167).

Notably the report lists only the signature problem — no No signed CLA on file for these commit emails section — so the author/committer emails on both commits are covered by CLA_INDIVIDUALS/CLA_ENTITIES. The only unmet requirement is the cryptographic signature on one of the two commits. The script also ran its own list-sanity guards (check_list, lines 44-61) without complaint, confirming the secret-provided CLA lists were well-formed, and rev-list succeeded — i.e. the tooling behaved as designed. There is no log gap or timeout; the whole job ran in ~13 s.

Implicated commit: aadd3d2404 (PR #12324 head [REDACTED:Hex High Entropy String]) — unsigned commit under test, author not disclosed in the log. The check script itself is unchanged since 7105ac77 (Alexey Rivkin, 2026-11-07) and is not at fault.

File: buildlib/tools/cla_check.sh:95 (detection site); the defect is in the PR's commit aadd3d2404, not in a repo source file.

Suggested fix: Contributor action, not a CI change. On the PR branch, configure signing and re-sign the unsigned commit, then force-push:

  • git config user.signingkey <key> and git config commit.gpgsign true (or gpg.format = ssh with user.signingkey pointing at an SSH key registered as a signing key on your GitHub account)
  • Re-sign history: git rebase --exec 'git commit --amend --no-edit -S' origin/master (or git rebase -i and re-commit aadd3d2404 with -S)
  • git push --force-with-lease

Verify with git log --show-signature -2 locally, and make sure the signing key/email is uploaded to GitHub — a signature made with a key GitHub doesn't know still reports unsigned/unknown_key. See items 1 and 2 of .github/CONTRIBUTING.md. After pushing, the check re-runs automatically and updates its existing PR comment. No change to cla_check.sh or .github/workflows/cla.yml is warranted; suppressing this failure would defeat the CLA gate.

Related: PR #12324 (the PR under check); workflow openucx/ucx/.github/workflows/cla.yml@refs/heads/master. No matching open issues about false-positive CLA signature failures.

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id aa451b05-345c-49db-a35f-389b389d93bf in the triage console for the audit trail.

@svc-ucx

svc-ucx commented Nov 24, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — CLA · commit aadd3d24

TL;DR: The CLA workflow failed by design, not by a code bug: PR #12324's head commit aadd3d2404 has no verified (GPG/SSH) signature, so buildlib/tools/cla_check.sh exited 1. The contributor must sign the commit (and have their author email on the CLA list) and force-push.

Full analysis

Summary: GitHub Actions job CLA (run 45309174403) failed at the ./buildlib/tools/cla_check.sh --repo openucx/ucx --pr 12324 --head-sha aadd3d2404... step with exit code 1.

Root cause: The CLA gate validates that every new commit in the PR carries a GitHub-verified signature and that the signing/author identity is on the CLA list. The log shows the check scanned the single new commit and reported:

  • Checking 1 new commits
  • ### CLA check failed
  • - Commits without a verified signature: aadd3d2404 (unsigned).

This is a legitimate policy failure, not CI infrastructure breakage. The whole job ran in ~4 seconds (02:00:32 → 02:00:36) with no gaps — no timeout, no hang, no flakiness. Checkout, sparse-checkout of the script, and script execution all succeeded; only the signature validation rejected the commit. Note the commit is on branch ci_test, which suggests this may be an intentional CI exercise of the CLA gate.

Implicated commit: [REDACTED:Hex High Entropy String] (PR #12324 head, unsigned — author identity not shown in the log)

File: buildlib/tools/cla_check.sh (invoked from .github/workflows/cla.yml; neither file is present in the triage checkout, so exact line numbers are unavailable — the script is sparse-checked-out from master at [REDACTED:Hex High Entropy String])

Suggested fix: Contributor-side action, no repo change needed:

  1. Configure signing, e.g. git config user.signingkey <key> plus git config commit.gpgsign true (or gpg.format ssh with an SSH signing key), and upload the public key to your GitHub account so GitHub marks commits Verified.
  2. Re-sign the existing commit and force-push: git commit --amend --no-edit -S && git push --force-with-lease.
  3. Confirm the commit author email is the one registered on the UCX CLA list (items 1 and 2 of .github/CONTRIBUTING.md); if it was just added, re-run the CLA check.

If this run was an intentional ci_test validation of the CLA gate, the failure is the expected outcome and no fix is required.

Related: .github/CONTRIBUTING.md (items 1–2, CLA and commit signing); PR #12324. No existing issue tracking a bug in cla_check.sh was found.

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id d2306e99-24af-48cc-82f4-391040465acf in the triage console for the audit trail.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Review complete — no issues found.

@svc-ucx

svc-ucx commented Nov 24, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — CLA · commit eb19870f

TL;DR: The CLA check failed because PR #12324's head commit [REDACTED:Hex High Entropy String] carries no verified GPG/SSH signature (GitHub verification reason: unsigned); the contributor must re-sign the commit with a key registered on their GitHub account and force-push. This is the policy gate working as designed, not a CI bug.

Full analysis

Summary: GitHub Actions job CLA (run 45310127119) exited 1 at the ./buildlib/tools/cla_check.sh step with ### CLA check failed — Commits without a verified signature: [REDACTED:Hex High Entropy String] (unsigned).

Root cause: cla_check.sh enumerates commits in the PR that are not already on master/v*.*.x (Checking 1 new commits) and, for each, queries repos/openucx/ucx/commits/<sha>. For [REDACTED:Hex High Entropy String], .commit.verification.verified is false with reason unsigned, so the SHA is added to the unsigned[] array (buildlib/tools/cla_check.sh:85-97), which sets failed=1 and triggers exit 1 (lines 137, 165-168). Notably the report contains only the unsigned-signature bullet and no "No signed CLA on file for these commit emails" bullet — so the author/committer emails on this commit are already covered by the CLA list. The sole problem is the missing commit signature. There is no evidence of an infrastructure, network, or script defect: the list validation (check_list) passed, the partial-clone fetch and rev-list succeeded, and the whole job completed in ~7 seconds with no timing gaps.

Implicated commit: [REDACTED:Hex High Entropy String] — the unsigned PR head commit itself (branch ci_test, PR #12324). The checking script is unchanged since 7105ac7 (Alexey Rivkin, 2026-11-07) and is behaving correctly.

File: buildlib/tools/cla_check.sh:86 (verification predicate) → failure raised at buildlib/tools/cla_check.sh:166

Suggested fix: No CI change is needed — fix the commit. Per item 2 of .github/CONTRIBUTING.md:8-20, configure a signing key registered on the GitHub account (git config --global user.signingkey <key>, plus git config --global gpg.format ssh if using an SSH signing key — it must be added as a signing key, not just an authentication key), enable git config --global commit.gpgsign true, then re-sign the already-pushed commit and force-push:

git rebase -f --rebase-merges --gpg-sign \
  --onto $(git merge-base HEAD upstream/master) upstream/master
git push --force-with-lease

Also confirm the committer email is verified on that GitHub account, otherwise the signature will still report as unverified. Re-running the check without rewriting the commit will not help, since the signature is a property of the commit object. If PR #12324 is only a throwaract CI experiment on branch ci_test, this failure can simply be ignored or the branch closed.

Related: .github/CONTRIBUTING.md items 1-2; workflow .github/workflows/cla.yml. No matching open issue — the issue search returned only unrelated PRs (#12438, #12440, #12439, #12422, #12410).

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id 080f9498-f660-4d65-9e86-208e69a2d8c6 in the triage console for the audit trail.

Set RNR_RETRY_COUNT to 6 in run_rc_verbs_nosrq_gtest and keep the default RNR timeout.

Signed-off-by: Guangguan Wang <guangguan.wang@linux.alibaba.com>
@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Review complete — no issues found.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants