Skip to content

UCT/GDA: update to gpunetio 3.0.0 - #12290

Merged
ofirfarjun7 merged 2 commits into
openucx:masterfrom
Pyngon:gpunetio-3.0.0
Nov 23, 2026
Merged

ofirfarjun7 merged 2 commits into
openucx:masterfrom
Pyngon:gpunetio-3.0.0

Conversation

@Pyngon

@Pyngon Pyngon commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

What?

Update gpunetio to version 3.0.0

Bandwidth (MB/s): UCX_RC_GDA_NUM_CHANNELS=1 UCX_TLS=rc,rc_gda,cuda UCX_IB_GDA_RETAIN_INACTIVE_CTX=yes ./ucx_perftest -t ucp_put_bw -m cuda -a -s 8 -n 10000 -T<>

before after
32T 21.67 21.55
64T 23.90 23.79
128T 25.14 25.29

Latency(us): UCX_RC_GDA_NUM_CHANNELS=1 UCX_TLS=rc,rc_gda,cuda UCX_IB_GDA_RETAIN_INACTIVE_CTX=yes ./ucx_perftest -t ucp_put_lat -m cuda -a -s 8 -n 10000 -T

before after
32T 28.40 28.39
64T 50.95 51.08
128T 95.08 95.37

@Pyngon
Pyngon requested a review from a team as a code owner November 10, 2026 06:10
@svc-nvidia-pr-review

Copy link
Copy Markdown

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

Comment thread external/gpunetio
@@ -1 +1 @@
Subproject commit f44728fb023ba61911b705dba289b1650ce2eb28
Subproject commit 15bb24451ec84cea1c31aa8dac348319b8a1bc09

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Commit reachability on the public upstream: is 15bb244 pushed to the public NVIDIA-DOCA/gpunetio repo? autogen.sh only prints a warning when git submodule update --init fails, so an unreachable commit turns into a confusing later failure on missing gpunetio/common/doca_gpunetio_verbs_def.h.

Comment thread external/gpunetio
@@ -1 +1 @@
Subproject commit f44728fb023ba61911b705dba289b1650ce2eb28
Subproject commit 15bb24451ec84cea1c31aa8dac348319b8a1bc09

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Installed header list may need updating: please check that the new revision still provides exactly the five headers listed in src/uct/ib/mlx5/gdaki/Makefile.am under include/common and include/device, and that no newly required header is missing from nobase_dist_libuct_ib_mlx5_gda_la_HEADERS; those are installed public headers, so a rename or new include breaks make dist/install and user builds of gdaki.cuh.

Comment thread external/gpunetio
@@ -1 +1 @@
Subproject commit f44728fb023ba61911b705dba289b1650ce2eb28
Subproject commit 15bb24451ec84cea1c31aa8dac348319b8a1bc09

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: third-party notice — if the new revision adds files with a different copyright/license, please update the NVIDIA DOCA GPUNetIO entry in THIRD_PARTY_NOTICES.

@svc-nvidia-pr-review

Copy link
Copy Markdown

PR-level: opaque submodule bump with no stated reason. Please describe in the PR body which gpunetio changes this pulls in (upstream commit range or DOCA release) and why we need them; a bare submodule bump gives no way to judge the risk to rc_gda.

Residual coverage gap: the device-side headers are compiled into user/test kernels and only exercised on GPU + DOCA hardware. The Tests stage gpu lane (ubuntu2404_doca31_gpunetio) is the single gate for this change; CI status was not available here, so confirm that lane ran test_device.*rc_gda, test_ucp_device* and run_ucx_perftest_cuda_device successfully before merging.

@svc-ucx

svc-ucx commented Nov 10, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (Cuda SONAME suffix and deepbind on CUDA/IB) · commit a241368d

TL;DR: The "Build SONAME suffix with CUDA/IB" stage failed compiling src/tools/perf/cuda/ucp_cuda_kernel.cu because gdaki.cuh:176 declares struct doca_gpu_dev_verbs_wqe_ctrl_seg, which no longer exists as a struct tag in the gpunetio 3.0.0 headers this PR's commit pins — fix by using the 3.0.0 type spelling (drop struct, or use struct mlx5_wqe_ctrl_seg).

Full analysis

Summary: nvcc compile error in the Azure stage "Build SONAME suffix with CUDA/IB": /__w/1/s/contrib/../src/uct/ib/mlx5/gdaki/gdaki.cuh(176): error: incomplete type "doca_gpu_dev_verbs_wqe_ctrl_seg" is not allowed, aborting make[3]: *** [Makefile:943: ucp_cuda_kernel.lo] Error 1.

Root cause: The PR head commit [REDACTED:Hex High Entropy String] ("UCT/GDA: update to gpunetio 3.0.0") re-pins the external/gpunetio submodule. In the 3.0.0 device headers (gpunetio/device/doca_gpunetio_dev_verbs_qp.cuh) there is no struct doca_gpu_dev_verbs_wqe_ctrl_seg tag (it is provided under a different name / as a typedef-alias). Because the UCX code writes struct doca_gpu_dev_verbs_wqe_ctrl_seg cseg;, C++ elaborated-type-specifier rules implicitly declare a brand-new, incomplete struct with that tag, so nvcc rejects the local variable definition. The surrounding segments (mlx5_wqe_raddr_seg, mlx5_wqe_data_seg, mlx5_wqe_atomic_seg) come from infiniband/mlx5dv.h and still compile, which is why only line 176 fails. The submodule bump was not accompanied by the corresponding source adaptation, so this is a genuine code/header-version mismatch, not flakiness or a timeout.

Implicated commit: [REDACTED:Hex High Entropy String] — Kok Pyng Liew, "UCT/GDA: update to gpunetio 3.0.0" (PR #12290)

File: src/uct/ib/mlx5/gdaki/gdaki.cuh:176

Suggested fix:

  1. In uct_rc_mlx5_gda_wqe_prepare_put_or_atomic(), stop using the elaborated struct form of the DOCA type. Either:
    • doca_gpu_dev_verbs_wqe_ctrl_seg cseg; (if 3.0.0 exposes it as a typedef/alias), or
    • struct mlx5_wqe_ctrl_seg cseg; — the three fields used (opmod_idx_opcode, qpn_ds, fm_ce_se) are identical to the mlx5dv control segment already included via infiniband/mlx5dv.h, making this version-independent.
  2. Grep the rest of gdaki.cuh/common.cuh for other 3.1-only gpunetio symbols before re-running (e.g. doca_gpu_dev_common_ring_db, doca_gpu_dev_common_update_dbr, DOCA_GPUNETIO_VERBS_WQE_PI_MASK, doca_gpu_dev_verbs_store_wqe_seg) — further errors are likely to surface after this one is fixed.
  3. Optionally add a compile-time guard on the gpunetio version in config/m4 so a submodule/DOCA header mismatch fails configure with a clear message instead of deep in nvcc.

Related: PR #12290 (the PR under test); prior submodule work: d9b582e8 "UCT/GDA: Use gpunetio submodule (#11122)", c9b0ac22 "UCT/GDA: Use gpunetio DB infra (#11241)".

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id 394a08d7-b5d2-4857-8525-b8907cffcba3 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-ucx

svc-ucx commented Nov 10, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (Codestyle commit title) · commit e5ea4008

TL;DR: This isn't a product bug — the "commit title" codestyle gate failed because one commit in PR #12290 is titled update to renamed struct, which lacks the mandatory MODULE: prefix; rename/squash that commit (e.g. UCT/GDA: Update to renamed struct) and force-push.

Full analysis

Summary: Azure job "UCX PR (Codestyle commit title)" build 144094 failed with Bash exited with code '1' after reporting Bad commit title: 'update to renamed struct'.

Root cause: The commit_title job runs codestyle_check_commit_title over every non-merge commit between the PR base and head. The check requires titles to match the regex ^[0-9A-Z/_-]+:\ [[:alnum:]_], i.e. an uppercase module prefix followed by a colon, a space and an alphanumeric character. PR #12290 (branch gpunetio-3.0.0, head e5ea4008) contains two commits:

  • UCT/GDA: update to gpunetio 3.0.0 → accepted ("Good commit title")
  • update to renamed struct → rejected, no MODULE: prefix, so err=1 and the step exits non-zero.

Nothing in the build/test code is broken; this is a contribution-format gate.

Secondary observation: the step uses set -eE, so when codestyle_check_commit_title returns 1 the shell aborts immediately and the friendly ##vso[task.logissue] message with the wiki link (buildlib/pr/codestyle.yml:25-30) is never emitted — the if [[ $? -ne 0 ]] branch is dead code. That's why the log only shows the raw bash exit code.

Implicated commit: The offending commit is the second commit on PR #12290's branch gpunetio-3.0.0, titled update to renamed struct (PR head [REDACTED:Hex High Entropy String], merge commit [REDACTED:Hex High Entropy String]). Author not shown in the log.

File: buildlib/tools/codestyle.sh:14 (the check), enforced from buildlib/pr/codestyle.yml:17-31

Suggested fix:

  1. Primary — fix the commit title in the PR:
    git rebase -i [REDACTED:Hex High Entropy String]
    # reword "update to renamed struct" -> "UCT/GDA: Update to renamed struct"
    # (or squash it into "UCT/GDA: update to gpunetio 3.0.0")
    git push --force-with-lease
    
    Any uppercase module prefix matching ^[0-9A-Z/_-]+: works (UCT/GDA:, UCT/CUDA:, etc.).
  2. Optional CI cleanup — in buildlib/pr/codestyle.yml, the set -eE makes the error-reporting block unreachable. Change to capture the status explicitly so contributors see the guidance link:
    set -E
    source ./buildlib/tools/codestyle.sh
    base_revision=$(git rev-parse "$(Build.SourceVersion)^1")
    head_revision=$(git rev-parse "$(Build.SourceVersion)^2")
    if ! codestyle_check_commit_title "$base_revision..$head_revision"; then
        url="https://github.com/openucx/ucx/wiki/Guidance-for-contributors#general-guidelines"
        echo "##vso[task.logissue type=error]Bad commit title(s), see $url for more info."
        echo "##vso[task.complete result=Failed;]"
    fi

Related: PR #12290 (this build); sibling work PR #12269 "UCT/GDA: update to gpunetio 4.0.1" shows the expected title format.

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id c5284467-d06f-469e-bc64-2aa95ef257ce in the triage console for the audit trail.

uint64_t *atseg_ptr = (uint64_t*)wqe_ptr + 4;
int ds = 3 + is_atomic;
struct doca_gpu_dev_verbs_wqe_ctrl_seg cseg;
struct doca_gpunetio_ib_mlx5_wqe_ctrl_seg cseg;

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 not use struct mlx5_wqe_ctrl_seg here, like the rseg/dseg/atseg below and the rest of src/uct/ib/mlx5? The control segment is the only segment in this function using a DOCA-private type, so every upstream rename in gpunetio forces a UCX change. mlx5dv.h is already included. Impact is maintenance churn only, not correctness.

Comment thread external/gpunetio
@@ -1 +1 @@
Subproject commit f44728fb023ba61911b705dba289b1650ce2eb28
Subproject commit 15bb24451ec84cea1c31aa8dac348319b8a1bc09

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Coverage gap: nothing compiled in the non-GPU CI lanes references the renamed type (gdaki.c doesn't use it), so only the ubuntu2404_doca31_gpunetio lane validates this rename. Additionally, if the new submodule revision moved these definitions into a new header file, the installed header list in src/uct/ib/mlx5/gdaki/Makefile.am would need updating — in-tree builds would still pass, so CI can't catch this; worth checking manually against the new submodule contents.

@svc-nvidia-pr-review

Copy link
Copy Markdown

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

Comment thread external/gpunetio
@@ -1 +1 @@
Subproject commit f44728fb023ba61911b705dba289b1650ce2eb28
Subproject commit 15bb24451ec84cea1c31aa8dac348319b8a1bc09

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 submodule contents are not available in this checkout, so the bump itself (f44728f → 15bb244) is unverified. ubuntu2404_doca31_gpunetio remains the only lane that compiles gdaki.cuh; note that autogen.sh only warns if git submodule update --init external/gpunetio fails and gdaki/configure.m4 does not check for the gpunetio headers, so a non-fetchable submodule commit would surface as a build failure in that lane rather than a clear configure error. Please confirm that lane is green (test_device.*rc_gda, test_ucp_device*, run_ucx_perftest_cuda_device) before merge.

@svc-ucx

svc-ucx commented Nov 10, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (Tests roce on worker 0) · commit 62ecd688

TL;DR: The "roce on worker 0" job did not fail on a test — the Azure Pipelines agent on swx-rain04 (agent-01) received a shutdown signal at 06:57:16 and the step was cancelled mid-run; this is CI infrastructure, not a code defect in the PR. Re-run the build (and have the agent host checked), no source change needed.

Full analysis

Summary: Run ./contrib/test_jenkins.sh was aborted during the run_ucp_hello task (-ekeepalive -m host sub-case) because the Azure DevOps agent process was shut down, producing ##[error]The operation was canceled.

Root cause: Infrastructure/agent termination, not a UCX failure. Evidence from the job log:

  • Every test that actually ran completed successfully: ----- UCP TEST SUCCESS ---- for modes -w, -f, -b (host memtype), and the error-emulation modes behaved exactly as designed (Emulating failure before receive operation on client side, Emulating unexpected failure on server side... followed by the expected ka failed for pid 4141180 start time 6224080 != 0 keepalive detection and failure handler called with status -25 (Connection reset by remote peer)).
  • At 2026-11-10T06:57:16.1200133Z: ##[error]The agent has received a shutdown signal. This can happen when the agent service is stopped, or a manually started agent is canceled. immediately followed by The Operation will be canceled. The next steps may not contain expected logs.
  • The -ekeepalive case had only just launched its server (server_pid=4142494 + sleep 15) when the cancellation arrived; Finalize Job then reaped it as an orphan (Terminate orphan process: pid (4142494) (ucp_hello_world)).
  • Timestamp analysis shows no hang: the largest gaps in the log are ~14–15 s and correspond exactly to the scripted sleep 15 between server and client launch in run_client_server_app. Output was continuous right up to the agent shutdown, so this is neither a timeout nor a stuck test.
  • Note the unrelated, pre-existing benign diagnostics on this host: vfs_sock.c:63 failed to create directory '/run/user/61206/ucx': No such file or directory → VFS disabled. Harmless, but it indicates the agent runs without a proper user runtime dir.

Implicated commit: unknown — no commit is implicated; the aborted run was testing [REDACTED:Hex High Entropy String] (branch gpunetio-3.0.0, PR #12290) and the loaded library reported revision d1660c8.

File: contrib/test_jenkins.sh:221 (the line reported in the log is just the taskset ... ${test_exe} invocation inside run_client_server_app; it is the cancellation victim, not the fault)

Suggested fix: Re-trigger the "UCX PR" pipeline for PR #12290 — this run carries no actionable test signal. In parallel, ask CI ops to check the swx-rain04 / agent-01 host for why the agent service stopped (agent service restart, host reboot/maintenance, OOM-killer on the agent process, or a superseded-build cancellation). Optionally, create /run/user/<uid> on the agent (or set XDG_RUNTIME_DIR) to silence the recurring vfs_sock.c DIAG noise. No UCX source change is warranted.

Related: none (issue search for the shutdown signature returned no matching reports; #12194 "CI: Run the new and GPU jobs on new-01 only" is only loosely related as CI agent-placement work)

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id 030381be-19d5-45af-a9e9-f1d618a3a1f8 in the triage console for the audit trail.

@Pyngon

Pyngon commented Nov 13, 2026

Copy link
Copy Markdown
Contributor Author

Verified with nixl-ep, the performance is similar

export UCX_RC_GDA_NUM_CHANNELS="16"
export UCX_TLS="rc,rc_gda,cuda"
python3 ./examples/device/ep/tests/elastic/elastic.py --plan /no_expansion8.json --num-experts-per-rank 16 --num-tokens <> --num-topk 8 --num-processes 8 --disable-ll-nvlink
Tokens before (us) after (us)
8 88.4 88.7
16 113.6 113.4
32 164 164.4
64 266.8 266.5
128 476.9 476.5

@svc-nvidia-pr-review

Copy link
Copy Markdown

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

uint64_t *atseg_ptr = (uint64_t*)wqe_ptr + 4;
int ds = 3 + is_atomic;
struct doca_gpu_dev_verbs_wqe_ctrl_seg cseg;
struct doca_gpunetio_ib_mlx5_wqe_ctrl_seg cseg;

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 not use the standard mlx5 struct here, like rseg/dseg/atseg below? the file already includes <infiniband/mlx5dv.h>, and then gpunetio renames like this one don't require a UCX change.

Suggested change
struct doca_gpunetio_ib_mlx5_wqe_ctrl_seg cseg;
struct mlx5_wqe_ctrl_seg cseg;

The only reason this PR touches UCX source is a rename of a DOCA-internal struct that is just the mlx5 control segment. The three sibling segments in the same function already use the rdma-core types, so this one declaration is the single point of coupling to gpunetio struct naming. Impact: every future gpunetio rename of this struct forces another UCX patch (and breaks rc_gda device builds in the window before it lands).

@svc-ucx

svc-ucx commented Nov 20, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR (Tests althca on worker 1) · commit 3daced9e

TL;DR: The gtest binary aborted on ucs_assert(wireup_ep->pending_count == 0) in ucp_wireup_ep_pending_purge() during tcp/test_ucp_wireup_errh_peer.force_close_simultaneous_connect_peer/8 — a re-entrancy race where the proxy pending request currently being dispatched has already been dequeued, so nothing decrements pending_count during the nested purge. This is unrelated to PR #12290 (UCT/GDA gpunetio 3.0.0); the fix is already proposed in PR #12394.

Full analysis

Summary: Assertion failure/abort in ucp_wireup_ep_pending_purge() (wireup_ep.c:224) killed the althca gtest run (make: *** [test] Aborted, Bash exit code 2) at 01:31:07 in test tcp/test_ucp_wireup_errh_peer.force_close_simultaneous_connect_peer/8.

Root cause: The backtrace shows a nested (re-entrant) purge:

  1. uct_tcp_cm_handle_simult_conn() → uct_tcp_cm_change_conn_state() → uct_tcp_ep_pending_queue_dispatch() (tcp_ep.c:1048) dequeues the wireup proxy request and invokes ucp_wireup_ep_progress_pending() (wireup_ep.c:121).
  2. Inside it, uct_tcp_ep_am_bcopy() → uct_tcp_ep_send() fails → uct_tcp_ep_handle_send_err() (tcp_ep.c:1101 uct_tcp_ep_handle_disconnected) → ucp_worker_iface_error_handler() → ucp_ep_set_failed() (ucp_ep.c:1660) → ucp_ep_discard_lanes() (ucp_ep.c:1614) → uct_ep_pending_purge() on the wireup EP.
  3. ucp_wireup_ep_pending_purge() sees pending_count > 0, so it purges the message/aux EP's pending queue — but the in-flight proxy request was already extracted from that queue in step 1, so ucp_wireup_ep_pending_req_release() is never called for it and pending_count stays at 1. The assert at wireup_ep.c:224 then fires.

ucp_wireup_ep_progress_pending() (wireup_ep.c:114-127) only decrements pending_count on UCS_OK, and has no handling for "the send failed and destroyed/discarded the owning EP", so the counter (and the proxy request itself) is leaked/stale in exactly this error path. This is a latent race in TCP simultaneous-connect + UCP_ERR_HANDLING_MODE_PEER, not caused by the GDA/gpunetio changes in this PR.

Implicated commit: unknown (pre-existing race; not commit 3daced9 of PR #12290). Most recent related changes: b904de40 "UCP/WIREUP: fix worker flush hang from recovery wireup ep (#11988)" by Zhenlong Ma, and 11ae0fca/40d8c4a6 FT lane-purge work by Evgeny Leksikov which broadened ucp_ep_set_failed() to discard all lanes (ucp_ep.c:1657-1661).

File: src/ucp/wireup/wireup_ep.c:224 (counter updated at wireup_ep.c:123 / :137 / :178); re-entry point src/uct/tcp/tcp_ep.c:1048 and src/ucp/core/ucp_ep.c:1614

Suggested fix: Account for the in-flight proxy request across the nested purge: in ucp_wireup_ep_progress_pending(), when req->func() returns a failure that has set the UCP EP to failed, decrement wireup_ep->pending_count and free the proxy request there (or mark the proxy as "dispatching" and have ucp_wireup_ep_pending_purge() account for it) so the invariant at line 224 holds. The already-open PR #12394 ("UCP/WIREUP: Fix pending count when wireup send fails the EP") targets exactly this; rebase/merge it and re-run this PR's CI. Do not treat this as a PR #12290 regression — retrigger the althca worker 1 job once #12394 lands.

Related: #12394 (fix), #12290 (this PR, unrelated GDA change), #11988 (recent wireup_ep pending change)

@svc-nvidia-pr-review

Copy link
Copy Markdown

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

uint64_t *atseg_ptr = (uint64_t*)wqe_ptr + 4;
int ds = 3 + is_atomic;
struct doca_gpu_dev_verbs_wqe_ctrl_seg cseg;
struct doca_gpunetio_ib_mlx5_wqe_ctrl_seg cseg;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Does the new revision also add or rename any gpunetio header? gdaki.cuh is an installed public header that users include from their kernels, so nobase_dist_libuct_ib_mlx5_gda_la_HEADERS in Makefile.am has to match the new submodule layout, otherwise the in-tree build passes but user device code fails to compile against the installed headers.

uint64_t *atseg_ptr = (uint64_t*)wqe_ptr + 4;
int ds = 3 + is_atomic;
struct doca_gpu_dev_verbs_wqe_ctrl_seg cseg;
struct doca_gpunetio_ib_mlx5_wqe_ctrl_seg cseg;

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 three other segments here use the mlx5dv.h types (mlx5_wqe_raddr_seg, mlx5_wqe_data_seg, mlx5_wqe_atomic_seg). Why not struct mlx5_wqe_ctrl_seg as well, so we don't have to follow internal gpunetio renames on every submodule bump?

@svc-ucx

svc-ucx commented Nov 22, 2026

Copy link
Copy Markdown

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

TL;DR: The build failed on a single gtest: tcp/test_ucp_rma.put_nonblocking/0 (tcp,cuda_copy,rocm_copy/flush_worker) — a multi-lane (MAX_RMA_LANES=2) non-blocking PUT whose data check after flush_worker() failed; this is in the UCP RMA/flush path and is unrelated to PR #12290 (UCT/GDA gpunetio 3.0.0), so it is a master-side regression/flake in the multi-lane PUT + worker-flush path, not a problem with this PR.

Full analysis

Summary: make test returned error 1 because 1 of 9181 gtests failed: tcp/test_ucp_rma.put_nonblocking/0, where GetParam() = tcp,cuda_copy,rocm_copy/flush_worker (Azure build 146719, job "new on worker 0").

Root cause: Evidence from the log: exactly one failure, no crash, no infra/timeout errors (the job ran to completion in 3214 s with continuous output; Bash exited with code '2' is just the make test failure propagating). The failing variant is flush_worker on tcp with test_ucp_rma's constructor forcing MAX_RMA_LANES=2 (test/gtest/ucp/test_ucp_rma.cc:39, variant at line 31, test body line 283). That test's only failure paths are the ASSERT_UCS_OK on ucp_mem_map/rkey unpack or the ADD_FAILURE() << "data validation failed" after the worker flush (test/gtest/ucp/test_ucp_memheap.cc:103-116) — i.e. the target buffer did not contain all bytes of the ucp_put_nbx stream once ucp_worker_flush reported completion. That is the multi-lane PUT split + flush completeness logic, none of which is touched by PR #12290 (GDA/DOCA gpunetio only). Two freshly merged/open master changes in exactly this code path are the prime suspects:

I could not read the gtest assertion text itself: the Azure log fetch only returns the last ~500 lines and the failure occurred far earlier in the ~54-minute run.

Implicated commit: Not PR #12290 (3d7e17d). Candidates on master: [REDACTED:Hex High Entropy String] (dmitrygx, "UCP/RMA: Balance GET by the path bandwidth samples of PUT (#12387)", 2026-11-21) and 4748c2a0 (dmitrygx, "UCP/RMA: Balance PUT fragments by measured path bandwidth (#12362)", 2026-11-18).

File: test/gtest/ucp/test_ucp_memheap.cc:115 (failing check) → implicated product code src/ucp/rma/put_offload.c:280-284 and src/ucp/proto/proto_multi.c:69-169; flush side src/ucp/rma/flush.c:160-163.

Suggested fix:

  1. Do not block PR UCT/GDA: update to gpunetio 3.0.0 #12290 on this — re-run the "Tests new on worker 0" job; the failure is in an unrelated TCP/RMA path.
  2. To confirm and fix, reproduce standalone and capture the assertion text (it is above the truncated log window):
    UCX_TLS=tcp,cuda_copy,rocm_copy UCX_MAX_RMA_LANES=2 ./gtest --gtest_filter='tcp/test_ucp_rma.put_nonblocking/0' --gtest_repeat=50
  3. If reproducible, bisect over UCP/RMA: Balance PUT fragments by measured path bandwidth #12362/UCP/RMA: Balance GET by the path bandwidth samples of PUT #12387; the per-request lane re-balancing in ucp_proto_rma_adjust_lane()/ucp_proto_rma_skip_lane() can change a lane's max_frag/weight between fragments of an in-flight PUT, so verify the iterator covers every byte exactly once and that a fully skipped lane cannot leave bytes unposted.
  4. In parallel, land/validate PR UCP/FLUSH: Flush the other lanes after the pending lane #12266 so a worker flush never completes while another RMA lane still has pending (not yet posted) puts — that is the guarantee this flush_worker variant checks.

Related: #12266, #12362, #12387, #12290

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id 14e29019-8cdb-4d3f-961c-a81910005be3 in the triage console for the audit trail.

@ofirfarjun7
ofirfarjun7 merged commit 0ec0f30 into openucx:master Nov 23, 2026
190 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.

5 participants