跳到正文
cccskills
免费在 GitHub 公开中文介绍

ci-e2e-debug

用于排查 GitHub Actions 中失败的端到端测试。它会获取并解压运行日志,检查 OAP 及其他组件的错误,并整理可能的原因,包括独立测试进程中的故障。

原文查看原文说明

Download and inspect CI e2e test logs from GitHub Actions artifacts. Use when investigating e2e test failures in CI.

apache/skywalking星标 24,978(GitHub 24,978 + cccskills 0)
集成工具GitHub

实测评分 未实测

查看安装方法

适用场景

  • 排查 GitHub Actions 中失败的端到端测试
  • 检查 OAP、BanyanDB 或 UI 日志
  • 追踪独立测试进程的故障

中文介绍

功能

提供 GitHub Actions 运行编号或网址后,此技能会获取并解压端到端测试日志产物,检查 OAP 服务器以及 BanyanDB、UI 等组件的日志,查找错误和异常,并整理测试失败原因。如果 OAP 日志没有异常,还会检查失败的测试步骤,以及配置文件导出器等独立运行的进程。

适用场景

当 GitHub Actions 上的端到端测试失败,而您希望缩小排查范围、不必手动重新收集日志时,可以使用此技能。它也适用于对照多个 Pod 的日志(包括初始化 Pod),或追查服务器之外的测试进程所发生的故障。

使用示例

  • “请检查这次 GitHub Actions 运行的日志,并总结端到端测试失败的原因。”
  • “请核对 OAP 日志和失败的测试步骤,找出错误来自哪里。”

注意事项

获取日志需要使用 gh 命令;下载并解压产物需要 unzip。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

文档检查

AI 根据 SKILL.md 的内容检查了需要注意的操作和使用前提。评分只依据实际运行的结果(实测对比)。

安全性发送数据、删除文件、执行命令等是否有说明
B部分不足会执行 `rm -rf` 并下载、解压产物,未说明确认步骤。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足列出 `gh` 和 `unzip`,但未说明身份验证配置。

不计入评分。 由 AI(OpenAI Codex)于 2026年10月29日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(1)

  • SKILL.md2.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

CI E2E Debug Skill

Download test log artifacts from a GitHub Actions CI run and inspect them for errors.

Steps

  1. Find the artifact: Use gh api to list artifacts for the given CI run:

    gh api repos/apache/skywalking/actions/runs/<RUN_ID>/artifacts --jq '.artifacts[] | {id: .id, name: .name}'
    
  2. 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/actions/artifacts/<ARTIFACT_ID>/zip > artifact.zip
    unzip -o artifact.zip
    
  3. 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
    
  4. Inspect other component logs: Check BanyanDB, UI, and other pod logs as needed.

  5. 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
  • Profile exporter tests (e.g., Trace Profiling ES): the exporter runs as a separate process with MockCoreModuleProvider. If a new service is added to CoreModule.services() but not registered in the mock, the exporter fails at startup with requiredCheck() error — but the OAP logs will show no errors (OAP is fine, the exporter subprocess is what fails). Check the test step that runs profile_exporter.sh.
  • When OAP logs are clean but tests fail: look at which specific test step failed. Some e2e tests invoke standalone tools (profile exporter, data generator) that boot with mock providers and may fail independently of OAP.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

compile

免费有简介

通过 Maven 包装器构建 SkyWalking OAP,并检查 Javadoc 和 Checkstyle。可选择全量、后端、单个模块构建或单项检查,用于提交 PR 前验证改动。

  • 提交 PR 前运行全量构建
  • 检查 Javadoc 错误和警告
  • 只构建修改过的模块
apache/skywalking2.5万2026年10月29日 更新

generate-classes

免费有简介

编译 SkyWalking 的 MAL、OAL、LAL 或 Hierarchy DSL 脚本,并输出生成的 `.class` 文件供检查。可选择一种 DSL,也可生成全部四种,再用 `javap` 查看字节码。

  • 检查 MAL 表达式生成的类
  • 查看 OAL 指标和分发器类
  • 检查 LAL 或 Hierarchy 输出
apache/skywalking2.5万2026年10月29日 更新

gh-pull-request

免费有简介

在推送前检查构建、Checkstyle、许可证标头和 Java 类名写法,修复问题后提交并推送分支;若当前分支尚无 PR,则按项目模板创建。

  • 提交 PR 前检查改动
  • 提交并推送分支改动
  • 从当前分支创建 PR
apache/skywalking2.5万2026年10月29日 更新

license

免费有简介

用 `license-eye` 检查源文件的 Apache 2.0 标头和依赖许可证清单;可修复标头、重新生成清单,并在提交 PR 前核对差异。

  • 提交 PR 前检查 Apache 标头
  • 修复缺失的许可证标头
  • 核对依赖许可证清单差异
apache/skywalking2.5万2026年10月29日 更新

new-monitoring-feature

免费有简介

为 SkyWalking OAP 增加监控对象或 Layer 时,梳理不同信号对应的扩展点,并列出 Layer 注册、界面模板、文档和本地验证等相关工作。

  • 规划新增监控 Layer 的改动
  • 选择指标或日志的扩展点
  • 整理 Layer 相关界面和文档更新
apache/skywalking2.5万2026年10月29日 更新

package

免费

Rebuild SkyWalking’s distribution and OAP Docker image after source changes, choosing a command sequence that includes the updated JARs. It also explains how to inspect the image contents before running end-to-end tests.

中文简介正在准备中。当前显示英语简介。

  • Rebuilding an OAP image after Java source changes
  • Updating the distribution package before Docker builds
  • Checking that a fix reached the image before E2E tests
apache/skywalking2.5万2026年10月29日 更新

查看 apache 的全部技能

报告此技能的问题