Repository navigation
Conversation
|
🤖 Starting review — findings will be posted here when done. |
|
🤖 Starting review — findings will be posted here when done. |
|
Residual coverage gap: the new wait path can only be exercised on a host where RDMA/DM memory is actually exhausted by another process, so neither the success-after-wait nor the 30 s expiry branch is covered by CI. Worth confirming the author exercised the expiry branch manually (e.g. by temporarily forcing |
|
🤖 CI Triage Agent — TL;DR: The build never reached any test — the Azure Pipelines agent was externally terminated ("The agent has received a shutdown signal") at 09:57:20 while still compiling gtest sources, so this is an infrastructure/cancellation event, not a code or test failure. Re-run the Full analysisSummary: Root cause: Evidence from the job log:
So the failure is an agent-side termination (agent service stopped / pool VM reclaimed / build superseded-cancelled), not a defect introduced by commit Implicated commit: none — no code defect is visible in the log; the HEAD under test was File: n/a (failure is in the CI agent lifecycle, not in a source file; the step was Suggested fix:
Related: none — the issue search returned only unrelated open PRs; no existing tracker for this agent-shutdown signature.
|
|
🤖 Starting review — findings will be posted here when done. |
done, with local hacks failing the RDMA memory allocation on rc_mlx5/dc_mlx5:
|
| do { | ||
| /* Do not repeat the allocation errors while waiting */ | ||
| last = ucs_get_time() >= deadline; | ||
| params.flags = mem_flags | |
There was a problem hiding this comment.
minor: the host branch below still passes mem_flags to uct_iface_mem_alloc(), so UCT_MD_MEM_FLAG_HIDE_ERRORS is dropped there. pls pass params.flags in both branches, otherwise this silently stops working if the timeout is ever enabled for non-RDMA memory.
| uct_md_h uct_md = md(); | ||
| ucs_status_t status = UCS_OK; | ||
| /* Other processes on the host may hold all device memory for a while */ | ||
| double timeout = (mem_type == UCS_MEMORY_TYPE_RDMA) ? 30.0 : 0.0; |
There was a problem hiding this comment.
can we scale by ucs::test_time_multiplier()? under valgrind the other process holding the device memory also runs ~20x slower, so a fixed 30 seconds may still be too short there.
|
🤖 CI Triage Agent — TL;DR: The AddressSanitizer BlueField job failed on a LeakSanitizer report (68 KB / 17 allocations, Full analysisSummary: Root cause: From the leak stacks in the log, the leaked blocks are exactly one lane's worth of UCT state created during
So an iface and an endpoint allocated in setup outlived the test. Two mechanisms fit the evidence, both in the path this test exercises:
The truncated head of the log (the Implicated commit: Not proven; prime suspects, all landing 2–3 days before this build and touching exactly the path-bandwidth → EP-config/worker-destroy machinery this test drives: File: Suggested fix:
Related: PR under test: #12396 · suspect commits: #12334, #12362, #12360 · prior fix to the same test: commit |
What
Wait up to 30 seconds for RDMA device memory when allocating test buffers, instead of retrying for about 50 ms in
uct_atomic_key_reg_rdma_mem_type.fadd64.Why
Device memory (128 KB) is shared by all processes on the host. Other CI jobs can hold all of it for several seconds, longer than the current 10 short retries, and the test then fails with "Out of memory". This is temporary contention rather than missing support, so the test should wait for the memory instead of failing or skipping.
How
uct_test::entity::mem_alloc(), retry RDMA memory allocations while they returnUCS_ERR_NO_MEMORYuntil a 30 second timeout. Other memory types keep a single attempt.num_retriesparameter, which onlyfadd64used.