Repository navigation
Conversation
|
🤖 Starting review — findings will be posted here when done. |
|
🤖 CI Triage Agent — TL;DR: The gtest job failed on exactly one case — Full analysisSummary: Root cause: Evidence from the log: a single, deterministic functional failure in a TCP+cuda_copy RMA test, i.e. in the lane-selection/reachability area this PR modifies (the per-test assertion text itself is before the 500-line tail that the Azure log API returns, so only the failure identity is visible). From the source on this branch, the PR is incomplete in a way that matches that failure:
Implicated commit: [REDACTED:Hex High Entropy String] (PR #12215, branch File: Suggested fix:
Related: PR #12215 (this change), PR #11783 "UCT/CUDA_COPY: Fix reachability between interfaces", commit
|
|
🤖 Starting review — findings will be posted here when done. |
| reachable_params.iface_addr = | ||
| remote_info->uct.iface_addr_len ? iface_addr : NULL; | ||
| reachable_params.iface_addr_length = remote_info->uct.iface_addr_len; | ||
| if (!uct_iface_is_reachable_v2(perf->uct.iface, &reachable_params)) { |
There was a problem hiding this comment.
can we also set UCT_IFACE_IS_REACHABLE_FIELD_INFO_STRING/_LENGTH and print the buffer in the error below? the v2 API reports the reason (e.g. "same process", "different NVLink domain"), which is much easier to debug than "Destination is unreachable".
| (uct_ep_invalidate_func_t)ucs_empty_function_return_unsupported, | ||
| .ep_connect_to_ep_v2 = | ||
| (uct_ep_connect_to_ep_v2_func_t)ucs_empty_function_return_unsupported, | ||
| .iface_is_reachable_v2 = uct_ugni_iface_is_reachable_v2, |
There was a problem hiding this comment.
ugni_rdma and ugni_udt still set .iface_is_reachable = uct_ugni_iface_is_reachable, which returns 1 unconditionally, so the v1 and v2 paths now give different answers. maybe switch them to uct_base_iface_is_reachable like ugni_smsg and drop uct_ugni_iface_is_reachable?
There was a problem hiding this comment.
Not retained: uGNI changes have been reverted as independent of this PR's libperf/CUDA loopback fix. The transport now matches the PR base.
| protected: | ||
| void init() override | ||
| { | ||
| ucs::test_base::modify_config("CUDA_IPC_ENABLE_SAME_PROCESS", "y", |
There was a problem hiding this comment.
minor: pls add a short comment why the base-class version is used here; uct_test::modify_config would only update the test's own iface config and would not export UCX_CUDA_IPC_ENABLE_SAME_PROCESS, which is needed because the perf tool opens its own iface.
|
Residual coverage note: Residual coverage note: |
|
🤖 Starting review — findings will be posted here when done. |
|
|
||
| ucs_assert(params->open_mode & UCT_IFACE_OPEN_MODE_DEVICE); | ||
|
|
||
| if (internal_ops == NULL) { |
There was a problem hiding this comment.
why not pass &uct_ugni_iface_internal_ops explicitly from ugni_rdma/ugni_udt like ugni_smsg does? no other base iface in UCT defaults internal_ops on NULL, so an implicit default here is easy to miss for a future ugni iface.
There was a problem hiding this comment.
Not retained: the underlying uGNI internal-ops defect predates this PR. Its fix has been removed from this PR and should be handled separately.
| protected: | ||
| void init() override | ||
| { | ||
| /* Export config for the separate iface opened by libperf. */ |
There was a problem hiding this comment.
minor: pls note in the comment that uct_test::modify_config() cannot be used here, since it would only update the test's own iface config and skip the env export - otherwise this is easy to "simplify" and the cuda_ipc loopback silently goes back to being skipped as unreachable.
|
Residual coverage gap (same as noted before, not re-raised inline): the ugni path is compile-only in CI, and the cuda_ipc loopback pair only runs on a GPU machine with cuda_ipc present. |
|
🤖 CI Triage Agent — TL;DR: The ASAN BlueField job wasn't slow — it hung: Full analysisSummary: Job "AddressSanitizer BlueField on worker 0" (build 144028) was cancelled while Root cause: Timestamp analysis of the fetched Azure log shows continuous per-test output at sub-second granularity (every test before it finished in 1–5000 ms), then:
That single gap is the largest in the log and accounts for essentially all remaining runtime, so the process was hung inside that test, not making slow progress. The test never completed and no gtest watchdog/timeout message was emitted. The hang is in the RC multi-credit SGL + pending-AM ordering path. UCT_RC_CHECK_CQE_VALUE_RET(&iface->super, &ep->super, UCS_ERR_NO_RESOURCE, count - 1);
UCT_RC_CHECK_NUM_RDMA_READ_RET(&iface->super, UCS_ERR_NO_RESOURCE);
UCT_RC_CHECK_TXQP_VALUE_RET(&iface->super, &ep->super, UCS_ERR_NO_RESOURCE, count - 1);( Those reserves are cleared in exactly one place —
The group is then only re-armed by a TX CQE ( Implicated commit: File: Suggested fix:
Related: #11841 (UCT/RC: Reserve TX credits for multi-credit sends — the only issue/PR matching |
|
🤖 Starting review — findings will be posted here when done. |
|
🤖 Review complete — no issues found. |
|
🤖 CI Triage Agent — TL;DR: The build never got past the "Get sources" step — Full analysisSummary: Job "gpu on worker 0" (AddressSanitizer, centos8-mofed23-cuda11_asan container) failed in the Root cause: The checkout task ran without a usable GitHub credential. In the log, every credential probe comes back empty:
Then Note there is no hang here: the whole job is ~2 minutes of continuous activity, and the only gaps are the task's own exponential backoff sleeps (4.9s, 7.4s, 16s, 25s). Nothing was slow or timed out. Secondary (cosmetic) noise in the log: Implicated commit: unknown — the failure is independent of commit [REDACTED:Hex High Entropy String]; the repository contents were never fetched, so no PR code was exercised. File: unknown (no source file involved; failure is in the Azure Pipelines Suggested fix:
Related: none — the issue search for this error signature returned no matching reports; prior PRs in the results are unrelated.
|
Restore uGNI to the PR base. Its internal operations and legacy reachability behavior are independent of the libperf address-length and CUDA loopback fix.
|
In response to this coverage note and its follow-up: The uGNI changes have been reverted, so uGNI coverage is outside this PR. CUDA IPC loopback still requires a GPU with CUDA IPC support; the existing performance assertions are unchanged. Runtime validation of the new revision is pending. |
|
🤖 Starting review — findings will be posted here when done. |
|
Coverage gap unchanged: the cuda_ipc loopback pair only executes on a GPU host with cuda_ipc present, and |
|
🤖 CI Triage Agent — TL;DR: The Coverity gate failed with one new FORWARD_NULL defect: Full analysisSummary: Azure job "Coverity coverity devel on coverity_rh7" (build 144368) — build and analysis succeeded, but the pipeline failed on Root cause: In Implicated commit: [REDACTED:Hex High Entropy String] "PERF/UCT: Preserve address lengths in reachability checks" (Shachar Hasson), with follow-up f0ce700 "PERF/UCT: Report reachability reasons and align uGNI checks" — both on PR #12215 / branch File: src/tools/perf/lib/libperf.c:820-823 (reported at libperf.c:843 in the PR tree); dereference site src/uct/cuda/cuda_ipc/cuda_ipc_iface_address.c:20 via src/uct/cuda/cuda_ipc/cuda_ipc_iface.c:175 Suggested fix: Pick one (first is minimal and matches the API contract):
reachable_params.field_mask &= ~(UCT_IFACE_IS_REACHABLE_FIELD_IFACE_ADDR |
UCT_IFACE_IS_REACHABLE_FIELD_IFACE_ADDR_LENGTH);
if (remote_info->uct.iface_addr_len != 0) {
reachable_params.field_mask |= UCT_IFACE_IS_REACHABLE_FIELD_IFACE_ADDR |
UCT_IFACE_IS_REACHABLE_FIELD_IFACE_ADDR_LENGTH;
reachable_params.iface_addr = iface_addr;
reachable_params.iface_addr_length = remote_info->uct.iface_addr_len;
}(Transports that need the iface address — cuda_ipc included — always report a non-zero Related: PR #12215 (the PR under test); the NVLink-domain reachability change 3548954 (#12154) touches the same
|
Superseded by #12311 as part of the combined Blossom fixes.
What?
Pass exchanged device and interface address lengths to UCT reachability checks in libperf, and permit same-process CUDA IPC for CUDA loopback cases.
Why?
The legacy reachability helper omits address lengths needed by CUDA IPC, which can incorrectly report the destination as unreachable during endpoint setup.
HPCINFRA-5030