원클릭으로
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