Skip to content

UCT/D2P: Add completion infra - #12135

Open
Artemy-Mellanox wants to merge 3 commits into
openucx:masterfrom
Artemy-Mellanox:topic/gdp_comp
Open

Artemy-Mellanox wants to merge 3 commits into
openucx:masterfrom
Artemy-Mellanox:topic/gdp_comp

Conversation

@Artemy-Mellanox

@Artemy-Mellanox Artemy-Mellanox commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

What?

Implement uct_ib_d2p_ep_check_completion, which was a stub returning UCS_OK.

@svc-nvidia-pr-review

Copy link
Copy Markdown

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

Comment thread src/uct/ib/mlx5/gdaki/d2p.cuh Outdated
0;

comp_id = READ_ONCE(ch->ci[pi & (depth - 1)].avail);
if ((comp_id & UCT_IB_D2P_AVAIL_STAMP) != stamp) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

A ring slot is now reusable only after a completion was returned to avail, not after the proxy consumed the descriptor. Ops posted without comp do not set UCT_IB_D2P_FLAG_CQ_UPDATE, so how does the completer learn they finished and return their id — don't we stall after depth unsignaled ops?

Comment thread src/uct/ib/mlx5/gdaki/d2p.cuh Outdated
UCT_IB_D2P_AVAIL_STAMP :
0;

comp_id = READ_ONCE(ch->ci[pi & (depth - 1)].avail);

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: pls use the same mask expression as the slot computation below.

Suggested change
comp_id = READ_ONCE(ch->ci[pi & (depth - 1)].avail);
comp_id = READ_ONCE(ch->ci[pi & UCS_MASK(iface->log_depth)].avail);

}

if (comp != nullptr) {
uct_dev_sync<level>();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

do we need this sync for UCS_DEVICE_LEVEL_BLOCK? uct_dev_bcast below already does __syncthreads() after lane 0 writes, so this adds a second barrier on the posting path.

Comment thread src/uct/ib/mlx5/gdaki/d2p_proto.h Outdated
* completion to the pool. So the op has completed once done has reached its
* generation, which stays true after the completion is reused.
*/
#define UCT_IB_D2P_COMP_INDEX_BITS 16

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

the comment says the ring is limited to UCS_BIT(UCT_IB_D2P_COMP_INDEX_BITS) entries, but nothing enforces it: log_depth is uint8_t, and with depth > 64K the index would alias into the generation bits. can we add a static assert / host-side check?

Comment thread src/uct/ib/mlx5/gdaki/d2p_proto.h Outdated
#define UCT_IB_D2P_COMP_ID(_gen, _index) \
(((uint64_t)(_gen) << UCT_IB_D2P_COMP_INDEX_BITS) | (_index))
#define UCT_IB_D2P_COMP_ID_GEN(_id) ((_id) >> UCT_IB_D2P_COMP_INDEX_BITS)
#define UCT_IB_D2P_COMP_ID_INDEX(_id) ((_id)&UCT_IB_D2P_COMP_INDEX_MASK)

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: single space around operators (docs/CodeStyle.md).

Suggested change
#define UCT_IB_D2P_COMP_ID_INDEX(_id) ((_id)&UCT_IB_D2P_COMP_INDEX_MASK)
#define UCT_IB_D2P_COMP_ID_INDEX(_id) ((_id) & UCT_IB_D2P_COMP_INDEX_MASK)

Implement uct_ib_d2p_ep_check_completion, which was a stub returning
UCS_OK.

Every operation holds a completion from the moment it is posted to the
moment it completes. A channel has as many completions as its ring has
entries, so at most that many operations are in flight: there is always
room in the ring and in the send queues, and a slow operation holds back
one completion and nothing else. The GPU takes the next position of the
ring together with the completion of that position, from a pool in GPU
memory, and only once that completion has been returned. The first
completions are in the pool from the start, and the completer returns
the others.

A completion id is the index of the completion and its generation, the
number of times it was taken. The GPU passes it in the descriptor and
keeps it in the completion object. When the operation completes, the
completer writes the generation to the done entry of the completion and
returns the completion to the pool, for its next generation. The
operation has completed once the done entry has reached its generation,
which stays true when the completion is taken again, so an operation can
be checked at any time, or never.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@svc-nvidia-pr-review

Copy link
Copy Markdown

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

Comment thread src/uct/ib/mlx5/gdaki/d2p.h Outdated
typedef struct {
unsigned long long *pi;
unsigned long long *ci;
uct_ib_d2p_ci_t *ci;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

ci is no longer a consumer index but the completion array; pls rename it (and uct_ib_d2p_ci_t) to something like comp / uct_ib_d2p_comp_t, otherwise it reads as the counterpart of pi.

Comment thread src/uct/ib/mlx5/gdaki/d2p_proto.h Outdated

typedef struct {
uint64_t done;
uint64_t avail;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

maybe keep done and avail as two separate arrays? they are unrelated (as the comment above says), and packing them in one 16B entry makes every proxy write to avail dirty the line of the done entry that check_completion polls.

Comment thread src/uct/ib/mlx5/gdaki/d2p_proto.h Outdated
* depth + n. Every other lap has UCT_IB_D2P_AVAIL_STAMP set, to tell
* the entry of a position from the one of the lap before.
*
* The ring has at most UCS_BIT(UCT_IB_D2P_COMP_INDEX_BITS) entries.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

where is this enforced? log_depth is uint8 and nothing checks depth <= UCS_BIT(UCT_IB_D2P_COMP_INDEX_BITS), so a larger ring configured by the proxy would silently alias completion indexes.

Comment thread src/uct/ib/mlx5/gdaki/d2p.cuh Outdated
const long long depth = UCS_BIT(iface->log_depth);
unsigned long long pi = READ_ONCE(*ch->pi);
auto iface = ep->iface;
uint64_t cid = channel_id & iface->channel_mask;

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: cid can be unsigned, to match the channel_id parameter and uct_ib_d2p_completion_t::channel_id.

Suggested change
uint64_t cid = channel_id & iface->channel_mask;
unsigned cid = channel_id & iface->channel_mask;

@svc-nvidia-pr-review

Copy link
Copy Markdown

Residual coverage gap: there is no in-tree test or CI job that exercises UCT_DEVICE_TL_D2P (grep -r d2p test/ and external/ → no matches), and the completer/host side that writes done/avail and consumes desc->comp_id is not in this repo. So this wire-format change (desc pad[16] → comp_id + pad[8], ci scalar → uct_ib_d2p_ci_t[]) is validated only by the external proxy component in lockstep, with no regression protection in UCX. Worth confirming that the matching proxy change lands together.

@svc-ucx

svc-ucx commented Oct 24, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (Tests new on worker 1) · commit bf7ad71c

TL;DR: The build failed on a single unrelated unit test, mt/test_profile.log/0 (2-thread profiling test), out of 8818 tests; this is a known-fragile test that hijacks the global ucs_profile_default_ctx and asserts an exact number of locations/thread contexts, so any other live UCX thread hitting UCS_PROFILE_*_ALWAYS instrumentation during the window breaks it. Re-run the job (the failure is not caused by this PR) and harden the test to ignore foreign locations/thread contexts.

Full analysis

Summary: make test in build-test/test/gtest exited with error 1 because mt/test_profile.log/0, where GetParam() = 2 failed; 8817/8818 tests passed (make: *** [Makefile:4925: test] Error 1, ##[error]Bash exited with code '2').

Root cause: Evidence from the log: exactly one failing test, and it is a pure UCS unit test (test/gtest/ucs/test_profile.cc) with nothing to do with the PR's area (branch topic/gdp_comp, GGA/completion path). The gtest run is shuffled — the log shows suites interleaved in random order (dc_mlx5/uct_p2p_rma_test, tcp/test_proto_reset, shm_ib/test_ucp_tag_match_rndv, …) — so test_profile executes while threads created by previously-run UCP/UCT tests can still be alive. scoped_profile re-initializes the global ucs_profile_default_ctx (test_profile.cc:27-35) and then the test asserts exact global state: EXPECT_EQ(NUM_LOCAITONS, num_locations) (12 locations, test_profile.cc:226), that every dumped location comes from test_profile.cc (line 238), that every thread header's tid is one of the two threads it spawned (line 264), EXPECT_EQ(num_threads(), profiled_threads) (line 403) and that the file size matches exactly (line 407). Since release builds compile UCS_PROFILE_*_ALWAYS instrumentation throughout UCP/UCT (commit 626e76c), any surviving background/async/progress thread that executes an instrumented function during the ~ms profiling window adds an extra location and an extra ucs_profile_thread_context_t to ctx->thread_list (ucs_profile_record → ucs_profile_thread_init, profile.c:594-597, 405-407), making those expectations fail. src/ucs/profile/profile.c:161-168 documents exactly this unsynchronized condition: "There is no protection against a race with a thread which is still producing profiling data". Neither test_profile.cc nor profile.c has been modified since 2023, so this is pre-existing flakiness, not a regression from bf7ad71c. (Note: the exact gtest assertion text is not retrievable — Azure only returns the tail of this ~56-minute log and the failure was printed early in the run.)

Implicated commit: unknown — not from this PR; the fragile global-state assumptions date to 5bf3df8 (Roie Danino, "UCS/PROFILE: added ucx env to profiling output, changed profiling file structure") combined with 626e76c (Yossi Itigin, "Add UCS_PROFILE_xx_ALWAYS macros, enabled in release mode").

File: test/gtest/ucs/test_profile.cc:226 (and 264, 403, 407); src/ucs/profile/profile.c:161-168

Suggested fix: Re-trigger the Azure job for PR #12135 — the failure is unrelated to the change set. To remove the flakiness permanently, make test_profile tolerant of foreign profiling data instead of asserting exact global counts: (1) filter dumped locations to those whose loc->file == basename(__FILE__) and only count/validate thread headers whose tid is in m_tids, replacing the strict EXPECT_EQ(NUM_LOCAITONS, num_locations), EXPECT_EQ(num_threads(), profiled_threads) and EXPECT_EQ(&data[data.size()], ptr) checks with >=/subset checks; or (2) better, run the test against a private ucs_profile_context_t created by ucs_profile_init() rather than mutating ucs_profile_default_ctx, so library background threads cannot inject records. Also consider marking test_profile as non-shuffled/isolated and echoing the gtest shuffle seed plus saving the gtest output as a build artifact so the failing assertion is retrievable.

Related: none found (searches for prior test_profile flake reports returned no matching issue/PR).

@svc-nvidia-pr-review

Copy link
Copy Markdown

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


comp_id = READ_ONCE(ch->ci[slot].avail);
if ((comp_id & UCT_IB_D2P_AVAIL_STAMP) != stamp) {
/* Completion not returned yet: depth ops are in flight */

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

a ring slot is now freed only when its completion is returned, but CQ_UPDATE is requested only when comp != nullptr - won't a stream of puts without comp stall here after depth ops? gda forces CQ_UPDATE every sq_fc_mask WQEs for exactly this.

Comment thread src/uct/ib/mlx5/gdaki/d2p.cuh Outdated
const uint64_t done = READ_ONCE(ci[UCT_IB_D2P_COMP_ID_INDEX(comp_id)].done);

/* done only grows: a completed op stays completed after the reuse */
return (done >= UCT_IB_D2P_COMP_ID_GEN(comp_id)) ? UCS_OK : UCS_INPROGRESS;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

how is an op error reported? on a failed op done never reaches the generation, so the caller spins in check_completion forever; rc_mlx5_gda returns UCS_ERR_IO_ERROR here.

Comment thread src/uct/ib/mlx5/gdaki/d2p_proto.h Outdated
* completion to the pool. So the op has completed once done has reached its
* generation, which stays true after the completion is reused.
*/
#define UCT_IB_D2P_COMP_INDEX_BITS 16

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

is depth <= UCS_BIT(UCT_IB_D2P_COMP_INDEX_BITS) enforced anywhere? log_depth is uint8_t, and a bigger ring would overflow the index into the generation bits and silently alias completions.

Comment thread src/uct/ib/mlx5/gdaki/d2p_proto.h Outdated
* position p is in entry p mod depth. Position "pi" of the ring is
* position "pi" of the pool: the GPU takes both once the completion
* of that position was returned. The first depth positions hold the
* completions at generation 1, the n-th returned id goes to position

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: reading "n-th" as 1-based, position depth is never written; pls say "the n-th returned id (n from 0) goes to position depth + n".

@svc-ucx

svc-ucx commented Nov 1, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (Tests roce on worker 2) · commit 280feb7f

TL;DR: The roce on worker 2 job failed in run_ucx_tl_check (test/apps/test_ucx_tls.py): with UCX_TLS=^ud,ud:aux UCP could not select any keepalive lane, so the test printed found keepalive TL: None → No available TL found → exit(1). On this RoCE-only node banning ud and ud:aux removes the only keepalive/aux-capable IB transport, so the assertion is invalid there and the test case needs to tolerate/skip that configuration.

Full analysis

Summary: test_ucx_tls.py aborted on the auxiliary-transport negation subtest — ucx_info -e -u et -n 1 with UCX_TLS=^ud,ud:aux reported no keepalive lane.

Root cause: Evidence from the log (build 141892, step "Run ./contrib/test_jenkins.sh"):

  • ==== Running 'run_ucx_tl_check' (task 2/4) ==== → ../test/apps/test_ucx_tls.py -p .../install
  • All AM-transport checks on mlx5_0:1 / mlx5_1:1 pass, and the whole allow/deny-list matrix passes.
  • Using UCX_TLS=^ib, found keepalive TL: self → passes (self not in forbidden set).
  • Using UCX_TLS=^ud,ud:aux, found keepalive TL: None → No available TL found → sys.exit(1) → ##[error]Bash exited with code '1'.

Not a timeout/hang: the script ran continuously from 10:08:13 to 10:09:08 (~55 s) with no gap larger than the single ibv_devinfo/ucx_info sweep.

find_transport() greps ucx_info output for a lane line containing keepalive and matches \d+:(\S+)/\S+; returning None means UCP produced no keepalive lane at all. That matches ucp_wireup_add_keepalive_lane() returning UCS_ERR_UNREACHABLE: the keepalive criteria require peer-failure/EP-check capability and explicitly allow auxiliary resources (criteria.tl_rsc_flags = UCP_TL_RSC_FLAG_AUX). Per ucp_is_resource_in_transports_list(), the form ^tl,tl:aux disables the transport both as primary and as auxiliary. On this worker the ports are Ethernet/RoCE (the test took the roce_dc branch), so once ud_mlx5/ud_verbs and their :aux variants are gone there is no IB aux/CM transport left to carry a keepalive lane, and selection fails instead of degrading to self as it does for ^ib.

The failure is in UCP transport-selection/test-script territory and has no relationship to the content of PR #12135 ("UCT/D2P: Add completion infra", UCT device completion plumbing) — it is a RoCE-environment-specific gap in the test case rather than a regression from this commit.

Implicated commit: 19ca9ffa — Alma Mastbaum, "UCP/CORE: disable everything (aux as well) when ib is forbidden" (the commit that introduced the test_cases_negative keepalive/aux list, including the failing ("ud,ud:aux", ...) entry). The PR under test (280feb7f) is not implicated.

File: test/apps/test_ucx_tls.py:261 (failing case in test_cases_negative), assertion at test/apps/test_ucx_tls.py:211-213; related product code src/ucp/wireup/select.c:2537-2586 (ucp_wireup_add_keepalive_lane) and src/ucp/core/ucp_context.c:1320-1347.

Suggested fix:

  1. Make the keepalive negation check RoCE-aware: skip the ud/ud:aux cases when the node has no IB (non-Ethernet) port or no aux-capable transport left, e.g. gate test_cases_negative on the same dev_attrs.find("Ethernet") detection already used at test/apps/test_ucx_tls.py:317.
  2. Alternatively, when protocol == "keepalive" and forbidden_tls is supplied, treat found_tl is None as a pass — the intent of the case is "the keepalive lane must not be ud_*", not "a keepalive lane must exist". Concretely, move the if not found_tl: sys.exit(1) check (line 211) below the forbidden_tls branch.
  3. To confirm the UCT-level reason, re-run test/apps/test_ucx_tls.py -v -p <install> on the roce worker and capture the ucs_error("no keepalive transport to ...") line from ucx_info; if a keepalive lane should be selectable there (e.g. via tcp/self), then fix ucp_wireup_add_keepalive_lane() to fall back instead of failing EP creation.
  4. This PR (UCT/D2P: Add completion infra #12135) should not be blocked on this job; re-trigger it and verify the same failure reproduces on master's roce worker before attributing it to the branch.

Related: PR #12135 (build under test); commit 19ca9ffa introduced the failing test case. No existing issue found for this signature.

Comment thread src/uct/ib/mlx5/gdaki/d2p.cuh Outdated
const uint64_t stamp = ((pi >> iface->log_depth) & 0x1) ?
UCT_IB_D2P_AVAIL_STAMP :
0;
owner = (pi >> iface->log_depth) & 0x1;

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.

maybe reuse depth?
owner = (pi & depth) != 0;

Comment thread src/uct/ib/mlx5/gdaki/d2p.cuh Resolved
@openucx openucx deleted a comment from ofirfarjun7 Nov 3, 2026
@Artemy-Mellanox
Artemy-Mellanox requested a review from a team as a code owner November 3, 2026 15:11
@svc-nvidia-pr-review

Copy link
Copy Markdown

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

}

unsigned long long prev = atomicCAS(ch->pi, pi, pi + 1);
comp_id &= ~static_cast<uint64_t>(iface->depth);

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 clear bit log_depth here? it only works if the proxy spaces per-slot comp_ids by 2*depth — otherwise two consecutive laps of the same slot get the same comp_id and check_completion returns UCS_OK one lap early. pls document the comp_id encoding (and the initial values of avail/done) in d2p_proto.h, since the proxy is a separate component.

uint8_t log_depth;
uint8_t pad[2];
uint32_t channel_mask;
uint32_t depth_mask;

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: depth is just depth_mask + 1, IMO keep only one field and derive the other.

typedef struct {
unsigned long long *pi;
unsigned long long *ci;
#include "d2p_proto.h"

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: d2p.h doesn't use anything from d2p_proto.h, is this include needed?

@svc-nvidia-pr-review

Copy link
Copy Markdown

Residual coverage gap (already noted in a prior review): still no in-tree test or CI job exercising UCT_DEVICE_TL_D2P, and the host/proxy side that writes avail/done and reads desc->comp_id lives outside this repo, so this wire-format change (pad[16] → comp_id + pad[8], pi/ci pointers → inline pi + avail/done arrays, channel_mask/log_depth layout change) is only validated by the external component landing in lockstep.

@svc-ucx

svc-ucx commented Nov 4, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (AddressSanitizer BlueField on worker 2) · commit c5f8f601

TL;DR: Both mlx5 RX-side gtests on the BlueField worker (dc_mlx5/test_cqe_zipping.zcopy and rc_mlx5/test_uct_event.am_with_fc) received exactly zero packets over mlx5_0:1 loopback — 253 sends, 0 receives — and the second one hung for 15 minutes until the gtest watchdog aborted the run; this is a node/HCA-level RX stall on swx-rain02-bf1, not something PR #12135 touches (its commits only modify src/uct/ib/mlx5/gdaki and src/uct/api/device).

Full analysis

Summary: gtest shard 3/4 of the AddressSanitizer BlueField job aborted: dc_mlx5/test_cqe_zipping.zcopy/0 failed with m_send_cnt=253 vs m_recv_cnt=0 after 675 s, then rc_mlx5/test_uct_event.am_with_fc/0 hung 15 min in uct_rc_mlx5_iface_common_poll_rx() until the watchdog raised SIGABRT ("Connection timed out - abort testing").

Root cause: No receive completions at all were generated on IB device mlx5_0:1 on that worker. Evidence from the log:

  • 02:38:10 → 02:49:26: test_cqe_zipping sent 253 AM zcopy messages (sends succeeded, no error callback fired) and polled for 11 minutes without a single am_cb invocation (test/gtest/uct/ib/test_cqe_zipping.cc:58, m_recv_cnt = 0).
  • 02:49:27 → 03:04:27: a 15-minute silent gap (largest gap in the log) while test_uct_event::measure_am_loop spun in uct_test::progress() → uct_rc_mlx5_iface_progress() → uct_rc_mlx5_iface_common_poll_rx() (src/uct/ib/mlx5/rc/rc_mlx5.inl:1662) waiting for m_am_recv_count to advance. The watchdog (test/gtest/common/test_helpers.cc:57) then aborted and dumped the backtrace.
    This is a hang, not slowness. Because it reproduces across two independent transports (dc_mlx5 and rc_mlx5), on the same single device, in pure intra-node loopback, the failing component is the HCA/port state on that agent (agent-04 / swx-rain02-bf1), not UCX RX logic. The PR under test does not touch the host RC/DC RX path: the three commits on this branch (bf7ad71c, 280feb7f, c5f8f601 — "UCT/D2P: Add completion infra 1-3", Artemy Kovalyov) only touch src/uct/ib/mlx5/gdaki and src/uct/api/device; rc_mlx5.inl, ib_mlx5.inl, ib_mlx5.c and ib_mlx5.h were last modified in late September, well before this branch. Note the earlier test_watchdog.watchdog_timeout "Connection timed out" message is expected — the harness greps for that exact string and it matched.

Implicated commit: none in the failing code path — c5f8f601 (Artemy Kovalyov, PR #12135) only changes GDAKI/device-side files; the failure is environmental on worker 2.

File: src/uct/ib/mlx5/rc/rc_mlx5.inl:1662 (hang location) / test/gtest/uct/ib/test_cqe_zipping.cc:58 (first assertion)

Suggested fix:

  1. Re-run the BlueField ASAN job (ideally pinned to a different BF agent than agent-04/swx-rain02-bf1) to confirm it is node-local. Expect it to pass, since the diff cannot affect rc_mlx5/dc_mlx5 RX.
  2. Have CI/infra check that worker's HCA: ibstat/ibv_devinfo -v for mlx5_0 port 1 state (PHYS/LinkUp, ACTIVE), firmware state and /var/log/messages for mlx5 device errors or a wedged/reset device left behind by a previous aborted ASAN run (the prior shard's SIGABRT core dump can leave the DEVX/CQ resources of the device in a bad state).
  3. Test-robustness follow-up (optional, separate PR): test_cqe_zipping::wait_for_completion burns 11 minutes by re-entering the 60 s wait loop after ASSERT_EQ fails (ASSERT only returns from that helper, not from the test body). Propagate the failure to the test body (e.g. ASSERT_NO_FATAL_FAILURE(wait_for_completion()) or check HasFatalFailure() in the loop at test_cqe_zipping.cc:166-173) so a dead link fails fast instead of consuming the shard's wall time and masking subsequent tests.

Related: PR #12135 (#12135) — the PR under test; no existing issue found matching this RX-stall signature.

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