Skip to content
Agentmart
Submit a tool

debug-e2e-tests

Debug failed Konflux e2e test runs by downloading logs and artifacts from GitHub Actions or OpenShift CI (Prow), analyzing test failures, and suggesting fixes.

Skill by konflux-ci

IndexedApache-2.0★ 215
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/konflux-ci-debug-e2e-tests

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Debug failed Konflux e2e test runs by downloading logs and artifacts from GitHub Actions or OpenShift CI (Prow), analyzing test failures, and suggesting fixes. Use when the user asks to debug, investigate, or fix a failing e2e test, CI failure, or flaky test.

Use cases: testing, devops, debugging, ci-cd

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/debug-e2e-tests

What's inside

Skill name
debug-e2e-tests
Description
Debug failed Konflux e2e test runs by downloading logs and artifacts from GitHub Actions or OpenShift CI (Prow), analyzing test failures, and suggesting fixes. Use when the user asks to debug, investigate, or fix a failing e2e test, CI failure, or flaky test.
License
Apache-2.0
Instructions
380 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (6)

  • SKILL.md
  • pac-webhook-debugging.md
  • prow-reference.md
  • reference.md
  • download-logs.sh · scripts/
  • download-prow-logs.sh · scripts/

SKILL.md (first lines)

# Debug E2E Tests

Debug failed e2e test runs from **GitHub Actions** or **OpenShift CI (Prow)**. Downloads test logs and cluster artifacts, identifies root causes, and suggests fixes to this repo or upstream dependencies.

**When this skill is activated, tell the user:** "Using the **debug-e2e-tests** skill to investigate this failure." Then show the checklist from the Workflow section below so the user can track progress.

## Prerequisites

- `gh` CLI authenticated with access to `konflux-ci/konflux-ci`
- `curl` available (for Prow artifact downloads)
- `tar` and `unzip` available (standard on Linux/macOS)

## Workflow

Copy this checklist and track progress:

```
- [ ] Step 1: Identify the CI system and failed run
- [ ] Step 2: Download artifacts
- [ ] Step 3: Analyze test output (JUnit + Ginkgo logs)
- [ ] Step 4: Analyze cluster logs
- [ ] Step 5: (Optional) Inspect the tested commit
- [ ] Step 6: Determine root cause and suggest fix
```

### Step 1: Identify the CI System and Failed Run

First, determine which CI system the failure is from:

| Signal | CI System |
|--------|-----------|
| User provides a GitHub Actions run ID or PR number | **GitHub Actions** |
| URL contains `prow.ci.openshift.org` | **OpenShift CI (Prow)** |
| URL contains `gcsweb-ci.apps.ci` | **OpenShift CI (Prow)** |
| Job name starts with `pull-ci-` or `periodic-ci-` | **OpenShift CI (Prow)** |
| User mentions "Prow", "OpenShift CI", or "OCP e2e" | **OpenShift CI (Prow)** |

#### GitHub Actions

If the user provides a PR number, run ID, or branch name, use that. Otherwise, find recent failures:

```bash
# List recent failed e2e runs
gh run list --repo konflux-ci/konflux-ci \
  --workflow "Operator E2E Tests" \
  --status failure --limit 10

# For a specific PR
gh run list --repo konflux-ci/konflux-ci \
  --workflow "Operator E2E Tests" \
  --branch <branch> --limit 5
```

Get the **run ID** from the output (first column).

To see which jobs failed within a run:

```bash
gh run view <run-id> --repo konflux-ci/konflux-ci
```

The e2e workflow has these jobs:
- **Run Operator E2E Tests (AMD64)** — main e2e on amd64
- **Run Operator E2E Tests (ARM64)** — main e2e on arm64

#### OpenShift CI (Prow)

The user will typically provide a Prow URL like:
```
https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/konflux-ci_konflux-ci/<PR>/<job-name>/<build-id>
```

Key Prow jobs for this repo:
- `pull-ci-konflux-ci-konflux-ci-main-konflux-e2e-v420-optional` — PR presubmit (OCP 4.20)
- `periodic-ci-konflux-ci-konflux-ci-main-ocp420-konflux-e2e-v420` — periodic x86_64
- `periodic-ci-konflux-ci-konflux-ci-main-ocp420-arm64-konflux-e2e-v420-arm64` — periodic ARM64

You can view recent Prow job runs at:
- [x86_64 periodic](https://prow.ci.openshift.org/?job=periodic-ci-konflux-ci-konflux-ci-main-ocp420-konflux-e2e-v420)
- [ARM64 periodic](https://prow.ci.openshift.org/?job=periodic-ci-konflux-ci-konflux-ci-main-ocp420-arm64-konflux-e2e-v420-arm64)

### Step 2: Download Artifacts

#### GitHub Actions

Use the helper script to download and extract artifacts:

```bash
bash skills/debug-e2e-tests/scripts/download-logs.sh <run-id> [arch]
```

- `arch` defaults to `amd64`. Use `arm64` if that's the failing job.
- Artifacts are extracted to `/tmp/e2e-debug-<run-id>/`

If the script is unavailable, download manually:

```bash
WORKDIR="/tmp/e2e-debug-<run-id>"
mkdir -p "$WORKDIR" && cd "$WORKDIR"

# Download artifacts (name is "logs-amd64" or "logs-arm64")
gh run download <run-id> --repo konflux-ci/konflux-ci \
  --name logs-amd64 --dir "$WORKDIR/logs"
```

Also download the raw job log for the failing job:

```bash
# Get job IDs
gh api "repos/konflux-ci/konflux-ci/actions/runs/<run-id>/jobs" \
  --jq '.jobs[] | select(.conclusion=="failure") | "\(.id) \(.name)"'

# Download the full job log
gh api "repos/konflux-ci/konflux-ci/actions/jobs/<job-id>/logs" > "$WORKDIR/job.log"
```

#### OpenShift CI (Prow)

Use the Prow download script:

From konflux-ci/konflux-ci, Apache-2.0.

More from konflux-ci/konflux-ci

Compare and alternatives

    Featured in

    Signals

    Stars
    215
    Forks
    169
    Open issues
    96
    Last commit (this folder)
    Oct 21, 2026 (6 days ago)
    Last release
    Sep 7, 2026 (1 month ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    License
    Apache-2.0
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from konflux-ci

    Cite this page

    debug-e2e-tests skill. Agent Mart. https://agentmart.dev/skills/konflux-ci-debug-e2e-tests (last updated 2026-10-24)