Repository navigation
Conversation
…lization The model freezes its own stub until the server gives up on it. The test checks that the load fails with the health error, the server exits, and no stub or shared memory is left behind.
9 of 22 tasks
[Low impact] The PR appears safe to merge with the required Python backend fix. SummaryAdds a Python backend lifecycle test for a stub that stops responding during initialization.
Reviews (2) · Last reviewed commit: "test: Require the failed-startup exit st..." · Reviewed by Greptile |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does the PR do?
Adds a lifecycle test for a Python backend stub that stops responding during initialization. The
init_unresponsivemodel stops its own stub duringinitialize()until the server gives up on it. The test checks that the load fails with the health error, the server exits, and no stub process or shared memory is left. It sets its ownstub-timeout-secondsand is skipped on Windows.Checklist
Agreement
<commit_type>: <Title>pre-commit install, pre-commit run --all)Commit Type:
Check the conventional commit type
box here and add the label to the github PR.
Related PRs:
Where should the reviewer start?
qa/L0_backend_python/lifecycle/test.shandqa/python_models/init_unresponsive/model.py.Test plan:
nvcr.io/nvidia/tritonserver:26.04-py3on aarch64.Caveats:
Background
On Triton 26.04 (aarch64), Python model loads hung after a server restart and the server never started serving. gdb showed each load thread in
StubLauncher::Launch()→~ScopedDefer→WaitForStubProcess()→waitpid, with the stub processes alive and idle.Related Issues: (use one of the action keywords Closes / Fixes / Resolves / Relates to)