Repository navigation
[Fix] test-utils: Allow expected server exits in canary tests - #45172
Merged
Fridge003 merged 2 commits intoOct 20, 2026
Merged
Conversation
Collaborator
Author
|
/rerun-test test/registered/kv_canary/test_self_e2e_perturb_raise.py |
Contributor
|
🚀 |
Collaborator
Author
|
/rerun-test test/registered/kv_canary/test_self_e2e_perturb_raise.py |
Contributor
|
🚀 |
Collaborator
Author
|
/tag-and-rerun-ci |
This was referenced Oct 19, 2026
mmangkad
approved these changes
Oct 20, 2026
Fridge003
approved these changes
Oct 20, 2026
nvpohanh
added a commit
to rystewart-nvidia/sglang
that referenced
this pull request
Oct 20, 2026
Picks up MIN_BASE_SHA c53b98d (sgl-project#45172), now required by the CI maintenance gate (sgl-project#21065) after PR Test Base run https://github.com/sgl-project/sglang/actions/runs/39361670383 was cancelled. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 21, 2026
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.
Motivation
The fail-fast watcher added in #45053 aborts
TestPerturbRaiseMhawhen its intentionally corrupted KV cache makes the server exit. The canary correctly reportsverify_real_kv_hash, but the watcher exits the test runner before it can assert the captured violation. This caused this CI failure on #44623.Modifications
CustomTestCase.expect_server_exit, defaulting to false. Opted-in tests run their assertions without a fail-fast watcher or retries against a terminated server.Validation
test/registered/kv_canary/test_self_e2e_perturb_raise.pyas the regression test: it must complete itsverify_real_kv_hashviolation assertions after the intentional server exit. It remains registered for CUDA and AMD CI.1-gpu-5090at commitf5333ca417c: workflow run. The existing canary test triggered the expectedverify_real_kv_hashviolation and completed successfully:Ran 1 test in 51.741s,OK.No model execution or inference performance changes.
CI States
Latest PR Test (Base): ❌ Run #39256154023
Latest PR Test (Extra): ❌ Run #39256153890
Latest PR Test (AMD ROCm 10): ❌ Run #39256154039