Skip to content
cccskills
FreePublished on GitHubEnglish overview

ci-e2e-debug

Use this skill to investigate failed end-to-end tests in GitHub Actions. It downloads the run’s log artifacts, checks OAP and other component logs for errors, and summarizes the likely root cause, including failures in standalone test tools.

OriginalShow the original description

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

apache/skywalking24,978 stars(GitHub 24,978 + cccskills 0)
Works withGitHub

Run score Not tested

See how to install

Good for

  • Investigating a failed GitHub Actions E2E run
  • Checking OAP and component logs for errors
  • Tracing failures in standalone test tools

Overview

What it does

Provide a GitHub Actions run ID or URL to retrieve and extract its E2E test log artifacts. The skill checks OAP server logs and logs from BanyanDB, the UI, and other components for errors and exceptions, then organizes the findings around the test failure. If OAP logs show no problem, it also checks the failed test step and separate processes such as the profile exporter.

When it helps

Use it when an E2E test fails in GitHub Actions and you want to narrow down the cause without gathering the logs by hand. It can help compare logs from multiple Pods, including initialization Pods, and trace failures in test processes that run separately from the server.

Example requests

  • “Investigate the logs for this GitHub Actions run and summarize why the E2E test failed.”
  • “Check the OAP logs and the failed test step to identify where the error came from.”

Notes

Log retrieval uses gh, and downloading and extracting artifacts requires unzip.

This overview was written by AI (OpenAI Codex) from the public SKILL.md. Check the original below for the exact behavior.

Document check

AI checked the SKILL.md for operations that need care and for setup requirements. The score comes only from actually running the skill (hands-on test).

SafetyAre sending data, deleting files, and running commands disclosed?
BPartly lackingIt runs `rm -rf` and downloads and extracts artifacts without a stated confirmation step.
Easy setupDoes it need few tools or API keys, and are they documented?
BPartly lackingIt names `gh` and `unzip`, but does not explain authentication setup.

Not counted in the score. Rated by AI (OpenAI Codex) as of Oct 29, 2026. Treat it as a guide and read the original before installing.

Disagree? Request a re-evaluation

Tell us which point is wrong and why. No login needed. We will check it against the SKILL.md, redo the evaluation, and show the result here.

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

Files included (1)

  • SKILL.md2.2 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

compile

FreeSummary

Validate SkyWalking OAP changes by building the backend or full project and running Javadoc and Checkstyle checks. Choose commands for a full CI-style build, a faster backend build, one check, or a single module before submitting a pull request.

  • Running a full build before a PR
  • Checking Javadoc output and errors
  • Building one backend module
apache/skywalking25KUpdated Oct 29, 2026

generate-classes

FreeSummary

Compile SkyWalking DSL scripts for MAL, OAL, LAL, or Hierarchy and save the generated .class files for inspection. Choose one DSL or generate classes for all four, then locate the output and use javap to examine bytecode.

  • Inspecting classes generated from MAL expressions
  • Examining OAL metrics or dispatcher bytecode
  • Generating LAL or Hierarchy classes for debugging
apache/skywalking25KUpdated Oct 29, 2026

gh-pull-request

FreeSummary

Prepare a pull request branch by running the documented build, style, license-header, and Java import checks, then committing and pushing the changes. If the branch has no pull request yet, create one using the project template.

  • Preparing checked changes for a pull request
  • Pushing commits from a feature branch
  • Creating a pull request from the current branch
apache/skywalking25KUpdated Oct 29, 2026

license

FreeSummary

Check whether source files carry the required Apache 2.0 headers and whether the dependency license file matches current dependencies. Use the provided commands to fix headers or regenerate the license list, then review any changes before submitting a pull request.

  • Checking Apache license headers before a PR
  • Fixing missing or invalid source headers
  • Reviewing dependency license changes
apache/skywalking25KUpdated Oct 29, 2026

Plan how to add a monitoring target or layer to SkyWalking OAP. The guide maps signals such as metrics, logs, and spans to extension points, and identifies related layer registration, UI templates, documentation, and local verification work.

  • Planning a new SkyWalking monitoring layer
  • Choosing an extension point for metrics or logs
  • Identifying UI and documentation updates
apache/skywalking25KUpdated Oct 29, 2026

package

FreeSummary

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/skywalking25KUpdated Oct 29, 2026

See all skills by apache

Report a problem with this skill