Skip to content

[https://nvbugs/6728119][test] Allow 450s startup for ctx PP4 disagg tests - #20409

Open
chuangz0 wants to merge 1 commit into
NVIDIA:mainfrom
chuangz0:fix/disagg-ctxpp4-start-timeout-6728119
Open

chuangz0 wants to merge 1 commit into
NVIDIA:mainfrom
chuangz0:fix/disagg-ctxpp4-start-timeout-6728119

Conversation

@chuangz0

@chuangz0 chuangz0 commented Oct 15, 2026 •

Copy link
Copy Markdown
Collaborator

Dev Engineer Review

  • The two context-PP4 tests now use a 450-second server-start timeout. test_disaggregated_overlap_gen_first[ctx_pp1] retains 300 seconds.
  • The change is limited to startup readiness. It does not change test behavior or interfaces. The file also contains formatting-only edits.
  • Review findings and test execution results were not provided.

QA Engineer Review

  • Modified tests/integration/defs/disaggregated/test_disaggregated.py. No test functions or IDs were added or removed.
  • The affected tests check disaggregated serving for context PP4, including generation-first overlap. Both appear in the manual QA list. The CI test database includes the cases in relevant lists; skip_less_device(8) applies to both tests.
  • Coverage verdict: needs follow-up. The timeout change is covered by existing tests, but no execution results were provided.

Per-File QA Perspective

  • tests/integration/defs/disaggregated/test_disaggregated.py: Verify server readiness succeeds within 450 seconds for the two context-PP4 cases, while the context-PP1 case retains its 300-second limit. The tests are listed in manual QA and CI test lists.

Description

test_disaggregated_ctxpp4_gentp4 and test_disaggregated_overlap_gen_first[ctx_pp4] start a cluster with four context PP ranks. On B300 nodes with cold JIT caches, the cluster took about 340s to become ready, past the 300s default in run_disaggregated_test. With warm caches it takes about 75s.

This PR gives these two ctx PP4 cases a 450s readiness deadline. overlap_gen_first[ctx_pp1] keeps 300s.

Their B200/B300 waives point at https://nvbugs/6728119 and are removed in #20031. That bug is the L40S NCCL P2P issue fixed by #19492; the B300 failures filed there timed out while workers were still starting. Merging this before or with #20031 gives the unwaived B300 cases the longer deadline.

Test Coverage

  • No new tests. These cases run only in the B200/B300 QA function list (llm_function_core.txt). The L0 test-db lists them only in 4-GPU stages, where skip_less_device(8) skips them.
  • pre-commit passes, and pytest collects the three affected cases.
  • Startup times are from earlier B300 runs: about 340s with cold JIT caches, 72-75s with warm caches.

PR Checklist

Please review the following before submitting your PR:

  • PR description clearly explains what and why. If using CodeRabbit's summary, please make sure it makes sense.

  • PR Follows TRT-LLM CODING GUIDELINES to the best of your knowledge.

  • Test cases are provided for new code paths (see test instructions)

  • If PR introduces API changes, an appropriate PR label is added - either api-compatible or api-breaking. For api-breaking, include BREAKING in the PR title.

  • Any new dependencies have been scanned for license and vulnerabilities

  • CODEOWNERS updated if ownership changes

  • Documentation updated as needed

  • Update tava architecture diagram if there is a significant design change in PR.

  • The reviewers assigned automatically/manually are appropriate for the PR.

  • Please check this after reviewing the above items as appropriate for this PR.

GitHub Bot Help

To see a list of available CI bot commands, please comment /bot help.

🤖 Generated with Claude Code

…tests

test_disaggregated_ctxpp4_gentp4 and
test_disaggregated_overlap_gen_first[ctx_pp4] run four context PP ranks.
On B300 nodes with cold JIT caches the cluster took about 340s to become
ready, so the 300s default readiness deadline can fail these tests there.

Give only these ctx PP4 cases 450s. The ctx_pp1 case keeps 300s.

Signed-off-by: Chuang Zhu <[email protected]>
@chuangz0
chuangz0 requested a review from a team as a code owner October 15, 2026 09:05
@chuangz0
chuangz0 requested review from Tabrizian and nv-xtf October 15, 2026 09:05
@coderabbitai

coderabbitai Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: NVIDIA/TensorRT-LLM/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: 05984499-396d-4a68-bc29-e4f47925cc96
📥 Commits

Reviewing files that changed from the base of the PR and between c9b18ee and f6114d3.

📒 Files selected for processing: 1
  • tests/integration/defs/disaggregated/test_disaggregated.py

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.

Walkthrough

Context-PP4 tests now use a shared 450-second server startup timeout. The overlap-generation-first test continues to use a 300-second timeout when ctx_pp is 1.

Changes

Context-PP4 startup timeout

Layer / File(s) Summary
Set context-PP4 startup timeout
tests/integration/defs/disaggregated/test_disaggregated.py
The overlap-generation-first test uses a 450-second timeout when ctx_pp is 4 and retains 300 seconds when ctx_pp is 1. The ctxpp4_gentp4 test also uses the shared 450-second timeout.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: bowenfu

Merge Risk: ⚪ Minimal · up to f6114

The change gives slow PP4 startups sufficient readiness time while preserving the existing PP1 timeout.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 1 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title follows the required ticket-and-type format and clearly states the main change: increasing startup time for context PP4 disaggregated tests.
Description check Passed The description explains the problem, affected tests, timeout change, test coverage, and checklist status. It provides sufficient context for review.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
  • Fix all pre-merge checks with AI
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

This branch has not been deployed

No deployments
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.

1 participant