AGENT SKILL
CI 端到端测试日志排查
ci-e2e-debug
从 GitHub Actions 构建产物(artifacts)中下载并检查 CI 端到端(e2e)测试日志。用于排查 CI 中的 e2e 测试失败。
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-10
- Stars
- ★ 13
- Forks
- 1
01 前言 Front Matter
- name
- ci-e2e-debug
- description
- Download and inspect CI e2e test logs from GitHub Actions artifacts. Use when investigating e2e test failures in CI.
- argument-hint
- <RUN_ID or GitHub Actions URL>
03 SKILL.md 正文
CI E2E Debug Skill
Download test log artifacts from a GitHub Actions CI run and inspect them for errors.
Steps
-
Find the artifact: Use
gh apito list artifacts for the given CI run:gh api repos/apache/skywalking-graalvm-distro/actions/runs/<RUN_ID>/artifacts --jq '.artifacts[] | {id: .id, name: .name}' -
Download and extract: Download the artifact zip and extract it:
cd /tmp && rm -rf e2e-debug-logs && mkdir e2e-debug-logs && cd e2e-debug-logs gh api repos/apache/skywalking-graalvm-distro/actions/artifacts/<ARTIFACT_ID>/zip > artifact.zip unzip -o artifact.zip -
Inspect OAP logs: Look for errors in the OAP server logs:
# Find OAP log files find /tmp/e2e-debug-logs -name "skywalking-oap-*.log" -o -name "oap.log" # Check for errors grep -E "ERROR|Exception|FATAL|CannotCompileException" <log_file> | head -30 -
Inspect other component logs: Check BanyanDB, UI, and other pod logs as needed.
-
Report findings: Summarize the root cause error from the logs.
Notes
- CI artifacts are automatically uploaded by the e2e test framework to
$SW_INFRA_E2E_LOG_DIR - Log files are organized by namespace/pod name
- OAP init pods may have different errors than the main OAP pod — check all of them
- Common errors: MAL/LAL/OAL compilation failures, storage connection issues, module initialization errors
- This distro shares the e2e infrastructure with upstream apache/skywalking