Skip to content

UCT/IB/RC: Remove an endpoint from ep_list in uct_rc_ep_t cleanup - #12059

Merged
tvegas1 merged 3 commits into
openucx:masterfrom
GuangguanWang:pr1-rc-eplist-cleanup
Oct 27, 2026
Merged

tvegas1 merged 3 commits into
openucx:masterfrom
GuangguanWang:pr1-rc-eplist-cleanup

Conversation

@GuangguanWang

@GuangguanWang GuangguanWang commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

What?

Remove the endpoint from iface->ep_list in uct_rc_ep_t cleanup, instead of
doing it in the places which destroy an endpoint, and add a regression test for
a transport which fails to initialize an endpoint.

Why?

An endpoint is added to iface->ep_list when uct_rc_ep_t is initialized, but
it was removed outside of the uct_rc_ep_t cleanup: by rc_verbs and rc_mlx5
through uct_rc_ep_cleanup_qp(), and by gga_mlx5 on its own. When a transport
fails to initialize an endpoint, the endpoint is freed while it is still on
ep_list, and uct_rc_iface_flush() then calls uct_ep_flush() on freed
memory.

How?

Move the removal into UCS_CLASS_CLEANUP_FUNC(uct_rc_ep_t), which runs both
when the endpoint is destroyed and when a transport fails to initialize it -
UCS_CLASS_INIT calls the cleanup chain of the parent classes which were
initialized, so both cases are covered by one place.

Test: open an rc_verbs interface which did not enable receive progress yet, so
its first receive work requests are posted when its first endpoint is created,
and limit the receive buffer pool below the shared receive queue size
(IB_RX_MAX_BUFS=8, with IB_RX_BUFS_GROW=8 to keep the pool valid) to make
that creation fail. The test then requires iface->ep_list to still start
with the same entry. The list entry is compared instead of walking the list,
so the test does not read freed memory when an endpoint is left on the list.

The change to gga_mlx5.c only removes its own list removal, which the base
class cleanup now performs. The removal logic is shared by all RC transports,
so no gga-specific test is added.

@svc-nvidia-pr-review

Copy link
Copy Markdown

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

@svc-ucx

svc-ucx commented Oct 9, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (Coverity coverity devel on coverity_rh7) · commit 8a22d756

TL;DR: The Coverity devel gate failed with 5 new FORWARD_NULL defects, all traced to the brand-new test at test/gtest/uct/ib/test_rc.cc:209-215, where uct_ep_params_t ep_params = {} zero-initializes every field and Coverity's function-pointer modeling then "proves" uct_ep_create() dereferences the NULL cm/dev_addr/iface_addr/sockaddr/local_sockaddr fields. Drop the = {} aggregate initializer (declare it uninitialized and set only field_mask + iface, as every other UCT test does) so Coverity no longer sees explicit NULL assignments.

Full analysis

Summary: Coverity static analysis job coverity devel on coverity_rh7 exited non-zero: ##[error]Coverity found 5 issues: — five Explicit null dereferenced (FORWARD_NULL) reports, all at test/gtest/uct/ib/test_rc.cc:215.

Root cause: The build and cov-build/cov-analyze steps succeeded (750/750 compilation units, analysis completed in 13:19). The failure is purely the defect gate (nerrors=5, return 5).

All 5 reports share the same path: step 6 is assign_zero: Assigning: "ep_params.<field>" = "NULL" at test_rc.cc:209, and step 7 is var_deref_model: Passing "&ep_params" to "uct_ep_create". The new test ep_init_failure_removed_from_ep_list (added in this PR) declares:

uct_ep_params_t ep_params = {};          // line 209 — zero-inits ALL fields
ep_params.field_mask = UCT_EP_PARAM_FIELD_IFACE;
ep_params.iface      = new_iface.get();
status = uct_ep_create(&ep_params, &ep); // line 215

The = {} makes Coverity treat cm, dev_addr, iface_addr, sockaddr and local_sockaddr as explicitly NULL. Because the job runs with --enable-fnptr --fnptr-models --all --paths 20000, Coverity resolves the indirect call params->iface->ops.ep_create / params->cm->ops->ep_create in src/uct/base/uct_iface.c:775,782 to unrelated implementations (uct_dc_mlx5_ep_create_connected, uct_cma_ep_t_new, uct_rdmacm_cm_ep_t_new) and ignores the field_mask guard that makes those dereferences unreachable. These are false positives, but the gate is unconditional.

Note the existing convention avoids this exact problem: uct_test::entity::create_ep() (test/gtest/uct/uct_test.cc:1252) declares uct_ep_params_t ep_params; without an initializer and assigns only field_mask/iface — which is why no comparable defect existed before. -Wno-missing-field-initializers is already in CFLAGS, so no compiler warning results from dropping = {}.

Implicated commit: [REDACTED:Hex High Entropy String] — Guangguan Wang, "GTEST/UCT/IB: Test an endpoint which failed initialization" (the only commit touching this file in this PR)

File: test/gtest/uct/ib/test_rc.cc:209 (reported defect site test/gtest/uct/ib/test_rc.cc:215; modeled sinks at src/uct/base/uct_iface.c:775 and :782)

Suggested fix: Match the existing pattern in uct_test::entity::create_ep() and remove the aggregate zero-initializer so no field is explicitly assigned NULL:

uct_ep_params_t ep_params;   /* only the fields in field_mask are read */
ep_params.field_mask = UCT_EP_PARAM_FIELD_IFACE;
ep_params.iface      = new_iface.get();

That eliminates the assign_zero event at line 209 and all five FORWARD_NULL paths collapse. If you prefer keeping the struct zeroed for determinism, the alternatives are (a) memset(&ep_params, 0, sizeof(ep_params)); after the declaration — Coverity usually does not emit assign_zero for memset-based init, though verify against a re-run — or (b) add a /* coverity[var_deref_model] */ suppression immediately above line 215 with a comment explaining the field_mask guard. Option (a)/(b) are fallbacks; the direct fix is dropping = {}.

Longer-term, the real defect is in the model, not the test: uct_ep_create() dereferences params->cm at uct_iface.c:782 and params->iface at :775 based solely on field_mask, so any zero-initialized uct_ep_params_t passed anywhere will retrigger this. Consider adding ucs_assert(params->iface != NULL) / ucs_assert(params->cm != NULL) inside the respective branches to give Coverity an explicit non-NULL fact.

Related: PR #12059 (branch pr1-rc-eplist-cleanup); no prior issue found — searches for "Coverity FORWARD_NULL uct_ep_create ep_params gtest" and "ep_init_failure_removed_from_ep_list" returned no matches.

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id a9e56a34-19e1-4e0f-9807-fed761ca6711 in the triage console for the audit trail.

@GuangguanWang
GuangguanWang force-pushed the pr1-rc-eplist-cleanup branch from 8a22d75 to 18b88ed Compare October 9, 2026 11:47
@svc-nvidia-pr-review

Copy link
Copy Markdown

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

@GuangguanWang
GuangguanWang force-pushed the pr1-rc-eplist-cleanup branch from 18b88ed to 3d886f8 Compare October 9, 2026 12:14
@svc-nvidia-pr-review

Copy link
Copy Markdown

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

tvegas1
tvegas1 previously approved these changes Oct 9, 2026

@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.

confirmed that teh list add is done in rc_ep_t, and now removal done in rc_ep_t. the removal remains in CLEANUP call chain and no added flush call (->ep_list, from outstanding purge) can reach with the slightly later removal.

Comment thread test/gtest/uct/ib/test_rc.cc Resolved
@svc-nvidia-pr-review

Copy link
Copy Markdown

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

tvegas1
tvegas1 previously approved these changes Oct 9, 2026
@svc-ucx

svc-ucx commented Oct 9, 2026

Copy link
Copy Markdown

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

TL;DR: The roce on worker 1 job wasn't slow — ucx_perftest hung for 3h17m with zero output in the ucp_contig_stream_data_lat/1048576 test over rc_verbs,rc_x until the Azure agent was killed; the hang points at the new ucs_list_del(&self->list) in uct_rc_ep_t cleanup added by this PR, which mutates iface->ep_list that uct_rc_iface_flush() iterates.

Full analysis

Summary: Azure job 138631 (Tests roce on worker 1) was killed by agent shutdown after mpirun -np 2 ucx_perftest -b test_types_short_ucp ... UCX_TLS=rc_verbs,rc_x UCX_NET_DEVICES=mlx5_0:1 hung indefinitely during the first UCP test case.

Root cause: A hang, not a timeout. Log timestamps show continuous activity up to 19:05:40.364 (the two UCX_TCP_PORT_RANGE unused-env warnings, emitted right after the ucp_contig_stream_data_lat/1048576 header line), then a single gap of 3h16m51s with no output at all until 22:22:31 ##[error]The agent has received a shutdown signal. No result row for ucp_contig_stream_data_lat/1048576 was ever printed, and the cleanup confirms the processes were still alive and stuck, not crashed:

Terminate orphan process: pid (3945448) (mpirun)
Terminate orphan process: pid (3945526) (ucx_perftest)
Terminate orphan process: pid (3945529) (ucx_perftest)

Both peers wedged symmetrically — characteristic of a progress/flush loop that never completes rather than a data-path error (no UCX error, no assertion, no UCS_ERR_* output).

The PR under test changes exactly the RC endpoint lifecycle in this path. uct_rc_ep_t is linked into the iface list at construction (src/uct/ib/rc/base/rc_ep.c:164, ucs_list_add_head(&iface->ep_list, &self->list)) and the PR adds the unlink in the destructor (src/uct/ib/rc/base/rc_ep.c:188, ucs_list_del(&self->list)). That list is walked by the iface-wide flush:

/* src/uct/ib/rc/base/rc_iface.c:309 */
ucs_list_for_each(ep, &iface->ep_list, list) {
    status = uct_ep_flush(&ep->super.super, 0, NULL);

Two consequences, both of which produce exactly this silent hang:

  1. ucs_list_del() does not re-initialize the node. Any second removal (e.g. the base uct_rc_ep_t cleanup running after a derived-class/error path already unlinked, or a failed-construction path) leaves ep_list cyclic/corrupt, and ucs_list_for_each in uct_rc_iface_flush() spins forever — matching 3h of silence with no progress.
  2. Unlinking in the base destructor happens while QP teardown is still deferred: uct_rc_ep_cleanup_qp() (rc_ep.c:110-134) queues uct_rc_iface_qp_cleanup_progress on the worker progress queue and waits for IBV_EVENT_QP_LAST_WQE_REACHED, releasing CQ credits only later (rc_iface.c:763). An ep removed from ep_list is no longer flushed, so its outstanding ops are never driven to completion and the peer blocks forever.

Implicated commit: [REDACTED:Hex High Entropy String] — "UCT/IB/RC: Remove an endpoint from ep_list in uct_rc_ep_t cleanup", Guangguan Wang (the sole PR #12059 change to this file; head commit e19a08e, branch pr1-rc-eplist-cleanup)

File: src/uct/ib/rc/base/rc_ep.c:188 (unlink), interacting with src/uct/ib/rc/base/rc_iface.c:309 (uct_rc_iface_flush list walk) and src/uct/ib/rc/base/rc_ep.c:110-134 (uct_rc_ep_cleanup_qp deferred teardown)

Suggested fix:

  1. Use ucs_list_del safely — replace the bare ucs_list_del(&self->list) with a self-initializing delete (ucs_list_del followed by ucs_list_head_init(&self->list), or the _init variant) so a repeated removal cannot corrupt iface->ep_list.
  2. Audit every path that can reach the uct_rc_ep_t destructor for a pre-existing unlink — in particular the derived cleanups UCS_CLASS_CLEANUP_FUNC(uct_rc_verbs_ep_t) (rc_verbs_ep.c:748) and UCS_CLASS_CLEANUP_FUNC(uct_rc_mlx5_ep_t) (mlx5/rc/rc_mlx5_ep.c:2224), plus the err_* unwind labels in the init funcs (rc_verbs_ep.c:736-745, rc_mlx5_ep.c:2168-2176) which run after UCS_CLASS_CALL_SUPER_INIT has already linked the ep.
  3. Ensure the ep is not dropped from ep_list while its QP cleanup context is still pending on iface->qp_gc_list — otherwise uct_rc_iface_flush() silently skips in-flight work. Either keep the ep linked until uct_rc_iface_qp_cleanup_progress() completes, or have iface flush also account for qp_gc_list entries.
  4. To confirm before/after, reproduce locally with UCX_TLS=rc_verbs,rc_x UCX_NET_DEVICES=mlx5_0:1 ucx_perftest -b test_types_short_ucp -b msg_pow2_short -w 1 and attach gdb/pstack to a wedged ucx_perftest; a backtrace inside ucs_list_for_each under uct_rc_iface_flush confirms mechanism (1), one blocked in uct_worker_progress with a non-empty qp_gc_list confirms (2).

Note: do not raise the job time limit — the 3h17m single gap proves the process was hung, not making progress.

Related: PR #12059 (UCT/IB/RC: Remove an endpoint from ep_list in uct_rc_ep_t cleanup) — #12059. Recent neighbouring churn in the same RC teardown/purge area that may interact: 757f9f9b (rma get in purge outstanding, #11866), 2dbbd8c4 (#12006), f9426106 (#12019).

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id 255d9849-98e4-4a1c-991c-8139038988b3 in the triage console for the audit trail.

@GuangguanWang

Copy link
Copy Markdown
Contributor Author

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

TL;DR: The roce on worker 1 job wasn't slow — ucx_perftest hung for 3h17m with zero output in the ucp_contig_stream_data_lat/1048576 test over rc_verbs,rc_x until the Azure agent was killed; the hang points at the new ucs_list_del(&self->list) in uct_rc_ep_t cleanup added by this PR, which mutates iface->ep_list that uct_rc_iface_flush() iterates.

This looks like the same RoCE stall on swx-rain03 that hit #12060 in the same window (rc_mlx5 atomic test hung 18:52–19:07 UTC there; this run went silent at 19:05 UTC). I think it's not specific to the ep_list removal. Also, the same perftest batch with the CI build (release-mt --with-mpi --enable-assertions, UCX_TLS=rc_verbs,rc_x) completes locally, I can not reproduce this locally. I think the CI needs rerun.

@GuangguanWang

Copy link
Copy Markdown
Contributor Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Commenter does not have sufficient privileges for PR 12059 in repo openucx/ucx

@GuangguanWang

Copy link
Copy Markdown
Contributor Author

@tvegas1 Could you help rerun the failed CI jobs on this PR and on #12060? They look unrelated to the changes and I can't reproduce it locally. Thanks!

@tvegas1

tvegas1 commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Restarted CI, did you or your organization sign the CLA?

@tvegas1
tvegas1 enabled auto-merge (squash) October 26, 2026 14:58
@GuangguanWang

Copy link
Copy Markdown
Contributor Author

Restarted CI, did you or your organization sign the CLA?

Thanks.
Yes, I have signed the CLA and already received the counter-signed agreement.

@tvegas1

tvegas1 commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Can you please fix conflict and push again?

auto-merge was automatically disabled October 27, 2026 02:17

Head branch was pushed to by a user without write access

@svc-nvidia-pr-review

Copy link
Copy Markdown

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

An endpoint is added to iface->ep_list when uct_rc_ep_t is initialized, but
it is removed outside of the uct_rc_ep_t cleanup: by rc_verbs and rc_mlx5
through uct_rc_ep_cleanup_qp(), and by gga_mlx5 on its own. If a transport
fails to initialize an endpoint, it is freed while it is still on ep_list,
and uct_rc_iface_flush() then calls uct_ep_flush() on freed memory.

Remove the endpoint in the uct_rc_ep_t cleanup, which runs both when the
endpoint is destroyed and when a transport fails to initialize it.

Signed-off-by: Guangguan Wang <guangguan.wang@linux.alibaba.com>
Limit the receive buffer pool below the shared receive queue size, then create
an endpoint on an interface which did not post its receive work requests yet, so
that the creation fails with UCS_ERR_NO_MEMORY.

Verify that the interface endpoint list still begins with the same entry, which
means the failed endpoint was removed from the list. The check compares the list
entry instead of walking the list, so the test does not read freed memory when
an endpoint is left on the list.

A new interface is opened since an existing one has already posted its receive
work requests when receive progress was enabled.

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

Copy link
Copy Markdown

test/gtest/uct/ib/test_rc.cc

minor: this can't happen here - uct_rc_iface_init_rx() always sets srq.quota to the SRQ size and no ep was created on this iface yet to consume it. pls drop the if (rc->rx.srq.quota == 0) { UCS_TEST_SKIP_R("SRQ is disabled"); } check.

Residual coverage gap: failed_rx_release_desc covers only IBV_WC_REM_ABORT_ERR; the IBV_WC_WR_FLUSH_ERR branch is untested (same code path, so probably fine).

Residual coverage gap: ep_init_failure_removed_from_ep_list covers only rc_verbs; the identical init-failure paths in uct_rc_mlx5_base_ep_t and uct_gga_mlx5_ep_t are not exercised, and both tests need real IB hardware.

@svc-nvidia-pr-review

Copy link
Copy Markdown

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

}

ASSERT_EQ(UCS_ERR_NO_MEMORY, status);
EXPECT_EQ(first, rc->ep_list.next);

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: the new iface has no eps, so EXPECT_TRUE(ucs_list_is_empty(&rc->ep_list)) is enough here and first can be dropped (same check as in test_tcp.cc).

@svc-nvidia-pr-review

Copy link
Copy Markdown

Out of scope for this PR, but the same ep-init-failure path still leaks in mlx5: uct_rc_mlx5_base_ep_t cleanup is a no-op (/* No op, cleanup context is implemented in derived class */), so when uct_gga_mlx5_ep_t/uct_rc_mlx5_ep_t init fails after the super init, the QP created in uct_rc_mlx5_base_ep_t init is never destroyed, the IBV_EVENT_QP_LAST_WQE_REACHED registration is never removed, and the iface->eps[qp_num] entry keeps pointing to the freed ep. Pre-existing, and fixing it here would expand the bug fix's scope.

Test coverage is rc_verbs-only and requires real IB hardware (already noted in earlier findings).

@svc-ucx

svc-ucx commented Oct 27, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (AddressSanitizer roce on worker 2) · commit 89c326a2

TL;DR: The ASAN/roce worker‑2 job died because rcx/test_ucp_tag_cancel.cancel_matched/0 hung for the full 900 s gtest watchdog (one single 15‑minute gap with no output, then SIGABRT) — a rendezvous request never completed after ucp_request_cancel() on a matched 50 KB RNDV receive, and test_ucp_tag::wait() has no deadline so it spins forever; this is a hang in the UCP matched‑RNDV‑cancel path, not something PR #12059 touches.

Full analysis

Summary: gtest shard 3/4 aborted in rcx/test_ucp_tag_cancel.cancel_matched/0 <rc_x>; watchdog fired ("Connection timed out - abort testing", test_helpers.cc:57), make -C test/gtest test returned "Aborted (core dumped)" and the Bash step exited 2.

Root cause: Log timestamps show the test started at 03:13:51.38 and produced no further output until the watchdog abort at 03:28:51.32 — exactly watchdog_timeout = 900 s (test/gtest/common/test_helpers.cc:31). So the process was hung, not slow. The backtrace confirms the hang location: frame 5 is __sched_yield, called from ucp_test::progress() (test/gtest/ucp/ucp_test.cc:183), called from test_ucp_tag::wait() → wait_and_validate() → the test body. test_ucp_tag::wait() is an unbounded loop (while (!req->completed) { progress(); }, test/gtest/ucp/test_ucp_tag.cc:149‑155) with no ucs::get_deadline() check, so a request that never completes becomes an infinite progress loop instead of a reported failure. The test is cancel_matched with RNDV_THRESH=32K and a 50000‑byte message: it cancels an already‑matched (RTS received) rendezvous receive and then waits on rreq1/sreq1/sreq2 — one of those rendezvous requests never completed over rc_x. This is the GH #4490 area explicitly referenced in the test comment.

The PR commit under test is not a plausible cause: [REDACTED:Hex High Entropy String] only moves ucs_list_del(&ep->list) from uct_rc_ep_cleanup_qp() (src/uct/ib/rc/base/rc_ep.c:110‑134) into UCS_CLASS_CLEANUP_FUNC(uct_rc_ep_t) (rc_ep.c:181‑193). iface->ep_list is only consumed by uct_rc_iface_flush() (rc_iface.c:309) and uct_rc_iface_vfs_refresh() (rc_iface.c:1089) — i.e. UCT endpoint destruction bookkeeping. No UCT endpoint is created or destroyed inside this test body, and the change is in fact a fix (the GGA ep cleanup, src/uct/ib/mlx5/gga/gga_mlx5.c:452‑474, never called uct_rc_ep_cleanup_qp() and so previously left a freed ep on ep_list).

Implicated commit: none for the hang (PR commit [REDACTED:Hex High Entropy String], Guangguan Wang, "UCT/IB/RC: Remove an endpoint from ep_list in uct_rc_ep_t cleanup" is unrelated to the failing code path); the hang is in the pre‑existing UCP matched‑RNDV cancel path.

File: test/gtest/ucp/test_ucp_tag_cancel.cc:40‑67 (hanging test) and test/gtest/ucp/test_ucp_tag.cc:149 (unbounded wait loop that converts the stall into a 900 s watchdog kill)

Suggested fix:

  1. Re-run the job to confirm this is the known flaky cancel_matched hang rather than a regression — the PR diff cannot affect the tag/RNDV data path.
  2. Make the hang diagnosable: add a deadline to test_ucp_tag::wait() (mirror ucp_test::request_process(), which uses ucs::get_deadline() and logs "request %p did not complete on time") so a stuck request produces an actionable failure plus the request/protocol state instead of a watchdog SIGABRT with no information.
  3. If it reproduces, investigate UCP's handling of ucp_request_cancel() on a matched RNDV receive (ATS/rndv completion on sender side for sreq1) with rc_x — capture with UCX_LOG_LEVEL=trace / ucx_info -e and the rndv protocol trace on the hung worker.

Related: PR #12059 (branch under test, UCT/IB/RC: Remove an endpoint from ep_list in uct_rc_ep_t cleanup); historical fixes for this exact test: commit 5d83d797 "UCP/TAG: Fix ucp_request_cancel for matched reqs" and GH issue #4490 cited in test/gtest/ucp/test_ucp_tag_cancel.cc:38‑39.

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id 8ce82c35-9342-4eaa-8f03-a58ced8dc9d9 in the triage console for the audit trail.

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.

* rx.bufs_grow keeps the pool valid regardless of rx.queue_len. */
if (uct_config_modify(m_iface_config, "IB_RX_MAX_BUFS", "8") != UCS_OK) {
UCS_TEST_SKIP_R("cannot limit the receive buffer pool");
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
}
ASSERT_UCS_OK(uct_config_modify(m_iface_config, "IB_RX_MAX_BUFS", "8"));

minor: the test is already restricted to rc_verbs, which always has IB_RX_MAX_BUFS, so this skip is unreachable - same handling as the next line.

UCS_TEST_SKIP_R("cannot limit the receive buffer pool");
}

ASSERT_UCS_OK(uct_config_modify(m_iface_config, "IB_RX_BUFS_GROW", "8"));

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: the failure also depends on rx.queue_len > 8 (so that srq.quota exceeds the pool size) - can we pin IB_RX_QUEUE_LEN too? Otherwise UCX_RC_RX_QUEUE_LEN<=8 from the environment makes the prepost succeed and ASSERT_EQ(UCS_ERR_NO_MEMORY, status) fail instead of skip.

@tvegas1
tvegas1 enabled auto-merge (squash) October 27, 2026 08:42
@tvegas1
tvegas1 merged commit b0d5d1a into openucx:master Oct 27, 2026
167 checks passed
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