Repository navigation
TEST/UCP: Enable the token failover tests. - #12086
evgeny-leksikov wants to merge 4 commits into
Conversation
|
🤖 Starting review — findings will be posted here when done. |
|
PR-level: the description should back the "token failover is complete" claim. The removed comment said "Disabled until token failover is complete," but the diff changes no product code, so the only evidence a reviewer has is a CI run over the newly enabled ~790 cases. Per REVIEW.md, the "Why?" should explain the value and major changes should not be stale. Please add to the description what makes token failover complete now and link a CI run over the newly enabled cases. |
…hm tls Co-authored-by: svc-nvidia-pr-review <svc-nvidia-pr-review@nvidia.com>
|
🤖 Starting review — findings will be posted here when done. |
| * Disabled until token failover is complete. Enable with | ||
| * --gtest_also_run_disabled_tests. */ | ||
| class DISABLED_test_ucp_fault_tolerance_tf : public test_ucp_fault_tolerance { | ||
| /* Same cases as test_ucp_fault_tolerance with UCX_FAILOVER_MODE=token. */ |
There was a problem hiding this comment.
Stale comment: the comment claims "Same cases as test_ucp_fault_tolerance", but the instantiation list below is no longer the full TL set used by the base fixture, so a reader will assume TL parity that no longer exists.
Suggestion:
| /* Same cases as test_ucp_fault_tolerance with UCX_FAILOVER_MODE=token. */ | |
| /* Same cases as test_ucp_fault_tolerance with UCX_FAILOVER_MODE=token, but | |
| * only on transports that support token based retransmits. */ |
| UCP_INSTANTIATE_TEST_CASE(test_ucp_fault_tolerance) | ||
| UCP_INSTANTIATE_TEST_CASE(DISABLED_test_ucp_fault_tolerance_tf) | ||
| UCP_INSTANTIATE_TEST_CASE_TLS(test_ucp_fault_tolerance_tf, rcx, "rc_x") | ||
| UCP_INSTANTIATE_TEST_CASE_TLS(test_ucp_fault_tolerance_tf, shm_ib, "shm,ib") |
There was a problem hiding this comment.
shm_ib likely collapses onto rcx: with FAILOVER_MODE=token, ucp_wireup_filter_token_tls() keeps only TLs with UCT_IFACE_FLAG_V2_QUERY_TOKEN (today only rc_mlx5), so shm/ud/dc/srd/gga/rc_verbs lanes are dropped and "shm,ib" should select the same rc_mlx5 lanes as "rc_x" — for ~72 extra cases (several using LARGE_MSG_SIZE and keepalive wait loops). What extra coverage does this instantiation add over rcx?
|
Both instantiations need mlx5 hardware; on nodes without it |
shm,ib selects the same token lanes as rc_x, so it adds no coverage.
|
🤖 Starting review — findings will be posted here when done. |
|
🤖 Starting review — findings will be posted here when done. |
|
|
||
| UCP_INSTANTIATE_TEST_CASE(test_ucp_fault_tolerance) | ||
| UCP_INSTANTIATE_TEST_CASE(DISABLED_test_ucp_fault_tolerance_tf) | ||
| UCP_INSTANTIATE_TEST_CASE_TLS(test_ucp_fault_tolerance_tf, rcx, "rc_x") |
There was a problem hiding this comment.
maybe add an "ib" or "shm,ib" instantiation as well? with only rc_x, all main-lane TLs already pass ucp_wireup_filter_token_tls(), so the filtering path that token mode relies on is never exercised with a mixed set of TLs.
| * Disabled until token failover is complete. Enable with | ||
| * --gtest_also_run_disabled_tests. */ | ||
| class DISABLED_test_ucp_fault_tolerance_tf : public test_ucp_fault_tolerance { | ||
| /* Same cases as test_ucp_fault_tolerance with UCX_FAILOVER_MODE=token, but |
There was a problem hiding this comment.
minor: the new comment could name the actual requirement (rc_mlx5 with DEVX, per UCT_IFACE_FLAG_V2_QUERY_TOKEN) instead of "transports that support token based retransmits" — on a non-DEVX rc_x host the suite silently skips as "Unreachable" rather than reporting an unsupported-mode skip.
|
🤖 CI Triage Agent — TL;DR: Full analysisSummary: gtest crash (core dumped, Root cause: Evidence chain from the log:
So it is a genuine product-code gap in the token-failover recovery path (not a test-harness/timeout issue); PR #12086 merely enables the Implicated commit: PR #12086 branch commits by Evgeny Leksikov expose it — File: Suggested fix:
Related: PR #12086 (this build), PR #12048, PR #12008, PR #12005, PR #11810 (token-based FT protocols)
|
Bring the openucx#12086 enablement onto this branch so the token suite runs with the fault-tolerance tests instead of staying disabled.
|
pulled into #12184 |
What?
Enable the token failover tests.
Why?
Indicator of "token failover" feature completeness