بنقرة واحدة
nightlytest
Diagnose E2E test failures in nightly runs (e2e-validate.sh, make test-e2e)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Diagnose E2E test failures in nightly runs (e2e-validate.sh, make test-e2e)
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Generate weekly nightly E2E trend report with failure patterns and success rates
Analyze nightly E2E job failures across llm-d repos. Smart router to sub-skills based on failure type.
Diagnose deployment failures in nightly E2E runs (helmfile, helm, install.sh)
Diagnose GPU contention failures in nightly E2E runs
Diagnose infrastructure and authentication failures in nightly E2E runs (GCP, AWS, runner issues)
Diagnose pod readiness timeout failures in nightly E2E runs
| name | nightly:test |
| description | Diagnose E2E test failures in nightly runs (e2e-validate.sh, make test-e2e) |
Diagnose failures in the actual E2E test execution phase — deployment succeeded, pods are ready, but tests failed.
export LOG_DIR=/tmp/llm-d/nightly-rca
mkdir -p $LOG_DIR
Run E2E validation or Run E2E tests / Run WVA E2E tests step fails.
| Platform/Guide | Test Method | Details |
|---|---|---|
| Helmfile guides (all platforms) | e2e-validate.sh | Shell-based smoke test: health, inference, routing |
| WVA (OpenShift) | make test-e2e-openshift | Go test suite: scale-up, scale-to-zero, scale-from-zero |
RUN_ID=<run-id>
REPO=llm-d/llm-d
GUIDE=<guide-name>
PLATFORM=<ocp|gke|cks>
# Pod logs (always uploaded)
unset GITHUB_TOKEN && gh run download "$RUN_ID" --repo "$REPO" \
-n "nightly-pod-logs-${GUIDE}-${PLATFORM}" \
-D $LOG_DIR/pod-logs-$RUN_ID/ 2>/dev/null
# Full run logs
unset GITHUB_TOKEN && gh api "repos/$REPO/actions/runs/$RUN_ID/logs" \
> $LOG_DIR/run-$RUN_ID.zip 2>/dev/null
cd $LOG_DIR && unzip -o "run-$RUN_ID.zip" -d "run-$RUN_ID" 2>/dev/null; cd -
# Search for FAIL markers in run logs
grep -riE "FAIL|ERROR|assert.*failed|curl.*failed|HTTP.*[45][0-9][0-9]|Connection refused" \
$LOG_DIR/run-$RUN_ID/ 2>/dev/null | grep -v "ignore-not-found" | head -30
The e2e-validate.sh script checks:
curl <gateway-url>/health returns 200Programmed=True# Search for Go test failures
grep -riE "FAIL|--- FAIL|panic|timeout.*exceeded|context deadline" \
$LOG_DIR/run-$RUN_ID/ 2>/dev/null | head -30
WVA E2E tests check:
| Error | Likely Cause | Investigation |
|---|---|---|
Connection refused on gateway | Gateway pod not forwarding | Check gateway/istio pod logs |
HTTP 503 from inference | Model pods not registered with InferencePool | Check EPP logs |
HTTP 502 | Upstream connection failed | Check vLLM pod logs for errors |
Timeout waiting for scale-up | Metrics pipeline broken | Check Prometheus, adapter, WVA logs |
Expected replicas N, got M | HPA misconfigured or metrics delayed | Check HPA describe, VA status |
context deadline exceeded | Test timeout too short | Increase test timeout |
From the pod logs artifact:
# EPP (Endpoint Picker) logs — routing issues
cat $LOG_DIR/pod-logs-$RUN_ID/epp-*.log 2>/dev/null | tail -50
# vLLM decode pod logs — inference issues
cat $LOG_DIR/pod-logs-$RUN_ID/ms-*decode*.log 2>/dev/null | tail -50
# Gateway logs
cat $LOG_DIR/pod-logs-$RUN_ID/*gateway*.log 2>/dev/null | tail -50
# WVA controller logs (WVA only)
cat $LOG_DIR/pod-logs-$RUN_ID/*workload-variant*.log 2>/dev/null | tail -50
# Find when this test last passed
unset GITHUB_TOKEN && gh run list --repo "$REPO" --limit 30 \
--json workflowName,conclusion,startedAt \
| jq -r ".[] | select(.workflowName | test(\"$GUIDE\")) | \"\(.conclusion) | \(.startedAt)\""
# What changed in llm-d/llm-d since last success?
SINCE=<last-success-date>
unset GITHUB_TOKEN && gh api "repos/llm-d/llm-d/commits?since=$SINCE" \
| jq -r '.[] | "\(.sha[:8]) \(.commit.message | split("\n")[0])"' | head -20
unset GITHUB_TOKEN && gh run rerun "$RUN_ID" --repo "$REPO"
nightly:rca for full metrics pipeline debugnightly — Parent routernightly:pods — If pods were the real issuenightly:rca — Full root cause analysis