Repository navigation
[CI/Build] Stop k8s routing tests when the engine pods never become ready - #1134
Merged
ruizhang0101 merged 3 commits intoNov 3, 2026
Merged
Conversation
The wait runs where set -e is off, so a timeout was ignored and the test ran against engines that never started. Signed-off-by: MinJun Choi <[email protected]>
Signed-off-by: MinJun Choi <[email protected]>
The self-hosted runner keeps /tmp, so artifacts mixed in logs from earlier runs. Signed-off-by: MinJun Choi <[email protected]>
theminjunchoi
requested review from
ApostaC,
YuhanLiu11 and
ruizhang0101
as code owners
October 12, 2026 01:50
Contributor
There was a problem hiding this comment.
Code Review
This pull request improves Kubernetes E2E testing by explicitly checking for failures in the 'wait_for_pods' function and printing the last 40 log lines of unready pods when waiting times out. Feedback was provided to refactor the pod log collection loop in 'wait-for-pods.sh' using 'awk' to prevent potential script crashes under 'set -eo pipefail' when 'grep' finds no matching pods.
Contributor
Author
|
Hi @ruizhang0101, when you have a moment, could you take a look at this one? It's a small CI change so that the k8s routing test stops right away when the engine pods never come up, and the pod logs end up in the job output instead of only in the artifact. It came out of the failures I described in #1133. Thanks! |
ruizhang0101
enabled auto-merge (squash)
November 2, 2026 23:35
3 tasks done
bcdonadio
added a commit
to powerhome/vllm-production-stack
that referenced
this pull request
Nov 12, 2026
* [Bugfix][Router] Read vllm:kv_cache_usage_perc for KV cache usage (vllm-project#1118) Signed-off-by: Muhammad Ibrahim <[email protected]> * [Doc] Add Simplified Chinese translation (README.zh.md) (vllm-project#1136) Signed-off-by: YE <[email protected]> * [CI/Build] Run helm unittest in CI and fix two broken tests (vllm-project#1131) Signed-off-by: zjjkee <[email protected]> * [Bugfix][Router] Key request stats by dispatch, not by X-Request-Id (vllm-project#1115) Signed-off-by: David-Wu1119 <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Rui Zhang <[email protected]> * [Bugfix][Router] Use least-inflight for PrefixAware below-threshold fallback (vllm-project#1089) Signed-off-by: Dundy Pasupuleti <[email protected]> * [Bugfix][Router] Keep P/D model labels when dynamic config reloads the router (vllm-project#1129) Signed-off-by: MinJun Choi <[email protected]> * [Bugfix] Match KEDA scalers to enabled model deployments (vllm-project#1142) Signed-off-by: bojiang-li <[email protected]> * [Router] added pooling route (vllm-project#1112) Signed-off-by: [email protected] <[email protected]> Co-authored-by: [email protected] <[email protected]> Co-authored-by: Rui Zhang <[email protected]> * [CI] Drop host docker prune from runner-cleanup workflow (vllm-project#1174) Signed-off-by: Rui Zhang <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> * [Feat][Router] Add /v1/systemone and /v1/decisions routes (vllm-project#1173) Signed-off-by: Shern Shiou Tan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> * [CI/Build] Stop k8s routing tests when the engine pods never become ready (vllm-project#1134) Signed-off-by: MinJun Choi <[email protected]> * [Bugfix][Router] Upgrade aiohttp and vllm (0.33.0) to resolve router image CVEs (vllm-project#1185) Signed-off-by: Shern Shiou Tan <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> * Bump chart version to 0.1.14 (vllm-project#1190) Signed-off-by: Rui Zhang <[email protected]> --------- Signed-off-by: Muhammad Ibrahim <[email protected]> Signed-off-by: YE <[email protected]> Signed-off-by: zjjkee <[email protected]> Signed-off-by: David-Wu1119 <[email protected]> Signed-off-by: Dundy Pasupuleti <[email protected]> Signed-off-by: MinJun Choi <[email protected]> Signed-off-by: bojiang-li <[email protected]> Signed-off-by: [email protected] <[email protected]> Signed-off-by: Rui Zhang <[email protected]> Signed-off-by: Shern Shiou Tan <[email protected]> Signed-off-by: MinJun Choi <[email protected]> Signed-off-by: Rui Zhang <[email protected]> Signed-off-by: Bernardo Donadio <[email protected]> Co-authored-by: Muhammad Ibrahim <[email protected]> Co-authored-by: YE <[email protected]> Co-authored-by: Jingke zou <[email protected]> Co-authored-by: Yanze (David) Wu <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Rui Zhang <[email protected]> Co-authored-by: Dundy Pasupuleti <[email protected]> Co-authored-by: MinJun Choi <[email protected]> Co-authored-by: Bojiang Li <[email protected]> Co-authored-by: MaelvanDijk <[email protected]> Co-authored-by: [email protected] <[email protected]> Co-authored-by: Shern Shiou Tan <[email protected]>
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.
When an engine never becomes ready, the k8s routing e2e test still runs and fails with an error that has nothing to do with the engine, and the real cause only shows up in the artifact (details in #1133). This makes that failure show up where people look first.
run-k8s-routing-test.sh: stop the test whenwait_for_podsfails. It runs inside anif, soset -enever caught the timeout. Debug logs are still collected and the release is cleaned up, same as a failed test run.wait-for-pods.sh: on timeout, print the last 40 log lines of every pod that isn't ready. For the failures in bug: k8s-discovery e2e fails on roundrobin when an engine dies at startup, and the job hides why #1133 that's whereRuntimeError: cudaHostAlloc failed: 1is.router-e2e-test.yml: remove the result dir before the run. The self-hosted runner keeps/tmp, so the artifact had logs from earlier runs mixed in.This doesn't fix the allocation failure itself. That depends on the runner's memory, so I left it for discussion in the issue.
Testing: I can't run the GPU job locally, so I ran both scripts with stubbed
kubectl/helm/python.vllm pods did not become ready, collects its debug logs, and runs the other four tests as before.wait-for-pods.shprints logs only for the0/1pod and exits 1.FIX #1133
-swhen doinggit commit[Bugfix],[Feat], and[CI].