Repository navigation
UCT/IB/MLX5: Save the transmit range inside outstanding purge - #12033
Conversation
|
🤖 Starting review — findings will be posted here when done. |
de0f5e0 to
c47faa1
Compare
|
🤖 Starting review — findings will be posted here when done. |
|
Residual coverage gap: there is no test for purge-before-error after TX completions have landed but not been polled (exactly the case in finding 1), and no pre-error coverage for |
c47faa1 to
90cb0da
Compare
|
🤖 Starting review — findings will be posted here when done. |
Purge moves the queue pair to error and records the outstanding range before walking it, so a later completion does not finish those operations again. An idle queue returns success.
A live outstanding purge was releasing every credit up to the last posted work request, so a success completion still on the queue moved the counter backward. Leave those credits for the completion poll, which applies an earlier success before the error completion.
90cb0da to
1681e65
Compare
|
🤖 Starting review — findings will be posted here when done. |
|
🤖 CI Triage Agent — TL;DR: The Full analysisSummary: Root cause: Evidence from the log: the entire suite passed except Implicated commit: none — the PR head commits are 1681e65 (Evgeny Leksikov, File: test/gtest/uct/test_md.cc:418 (un-reset Suggested fix: Re-trigger the Related: PR #12033 (this PR); the |
A rejected token must leave the endpoint usable.
Posted pending requests stay scheduled and must be removed first.
|
🤖 CI Triage Agent — TL;DR: The build failed on a single unrelated gtest, Full analysisSummary: Root cause: Evidence from the log: the test binary ran the full 8749-test suite to completion ( The test itself is structurally fragile in its Note: the fetched console tail is truncated before the individual Implicated commit: unknown — not attributable to File: Suggested fix: Re-run the CI job — this failure is unrelated to PR #12033 and should not block it. To stop the recurring flakiness, make Related: PR #12033 (this build); no existing issue found tracking
|
Keep live outstanding purge ordering together with the RDMA_READ delivery check.
|
🤖 Starting review — findings will be posted here when done. |
|
🤖 CI Triage Agent — TL;DR: The build was killed mid-compile because the Azure DevOps agent ( Full analysisSummary: The "Tests roce on worker 0" job for PR #12033 was cancelled during Root cause: Infrastructure, not code. The log shows continuous compile activity with no gaps larger than a few seconds right up to the kill:
Because the orphan cleanup shows a Notably, the failure happened well before any Implicated commit: unknown — no code is implicated; the abort is external to the build. File: n/a (last file being compiled when killed: Suggested fix:
Related: none — the issue search for this signature returned only unrelated PRs (#11932, #11923, #11948, #11859, #11970), i.e. there's no existing tracked issue for this agent shutdown.
|
|
🤖 Starting review — findings will be posted here when done. |
|
Residual coverage gap: the new |
|
@evgeny-leksikov please resolve all comments (fix/close). |
|
🤖 Starting review — findings will be posted here when done. |
done |
|
🤖 Starting review — findings will be posted here when done. |
|
🤖 CI Triage Agent — TL;DR: The gpu-worker gtest run failed on a single unrelated UCP protocol-selection test, Full analysisSummary: Root cause: The test ( This is host/topology-dependent, not caused by the PR: the branch Implicated commit: Not the PR under test. The test and its guard were introduced by the CUDA-staging-force series — File: Suggested fix: Replace Related: PR #12033 (build under test), prior occurrences of the same test failing on unrelated changes: #11977, #11990; protocol-selection flakiness diagnostics: #11858, #11861, #11864; test origin #11676. |
What?
Save the transmit range inside outstanding purge on live EP and invalidate
Why?
Simplify token based failover state machine in UCP
How?
Purge moves the queue pair to error and records the outstanding range before walking it, so a later completion does not finish those operations again. An idle queue returns success.