一键导入
nightlyinfra
Diagnose infrastructure and authentication failures in nightly E2E runs (GCP, AWS, runner issues)
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Diagnose infrastructure and authentication failures in nightly E2E runs (GCP, AWS, runner issues)
用 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 pod readiness timeout failures in nightly E2E runs
Full root cause analysis for nightly E2E failures that don't fit simple categories
| name | nightly:infra |
| description | Diagnose infrastructure and authentication failures in nightly E2E runs (GCP, AWS, runner issues) |
Diagnose failures in the infrastructure/auth layer of nightly E2E runs. These are failures that happen before any Kubernetes work begins.
export LOG_DIR=/tmp/llm-d/nightly-rca
mkdir -p $LOG_DIR
Symptom: Authenticate to Google Cloud or Set up gcloud CLI and kubectl step fails.
Diagnosis:
RUN_ID=<run-id>
REPO=llm-d/llm-d
# Get job annotations/error messages
unset GITHUB_TOKEN && gh run view "$RUN_ID" --repo "$REPO" --json jobs \
| jq '.jobs[0].steps[] | select(.conclusion == "failure")' \
> $LOG_DIR/infra-failure-$RUN_ID.json
# Download full 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 -
Root Causes:
| Error | Cause | Fix |
|---|---|---|
google-github-actions/auth failed | GKE_SA_KEY secret expired/rotated | Org admin: rotate secret in llm-d org settings |
gcloud components install failed | Ubuntu package mirror issue | Transient — rerun workflow |
auth plugin not found | gke-gcloud-auth-plugin missing | Check install_components in workflow |
Action: If secret expired, file issue on llm-d/llm-d-infra. If transient, rerun:
unset GITHUB_TOKEN && gh run rerun "$RUN_ID" --repo "$REPO"
Symptom: Configure AWS Credentials step fails (EC2 workflows).
Root Causes:
| Error | Cause | Fix |
|---|---|---|
Credentials could not be loaded | OIDC provider misconfigured | Check GitHub OIDC setup in AWS IAM |
AssumeRoleWithWebIdentity error | IAM role trust policy expired | Org admin: update trust policy |
ExpiredToken | Session token expired | Rerun — tokens are per-run |
Symptom: Run shows startup_failure conclusion. No steps executed.
Root Causes:
self-hosted, openshift, pok-prod)Diagnosis:
# Check runner status (requires admin)
unset GITHUB_TOKEN && gh api "repos/$REPO/actions/runners" \
| jq '.runners[] | {name, status, busy, labels: [.labels[].name]}'
Action: If runners are offline, escalate to infra team. If labels changed, update workflow.
Symptom: Install prerequisites or Install tools step fails.
Root Causes:
dl.k8s.io or mirror.openshift.com temporarily downapt-get update failure (Ubuntu mirror)Action: Rerun. If persistent across multiple runs, check:
# From the logs, grep for specific download failures
grep -iE "curl.*failed|404|timeout|Could not resolve" $LOG_DIR/run-$RUN_ID/*.txt 2>/dev/null
Is the failure transient (first occurrence in 3 days)?
├── Yes ──> Rerun the workflow
└── No (repeated) ──> File issue:
├── Secret rotation ──> llm-d/llm-d-infra
├── Runner issue ──> llm-d/llm-d-infra
└── Network/mirror ──> rerun + monitor
nightly — Parent routernightly:rca — Full root cause analysis when infra issues cascade