Analyze failed Konflux integration test scenario PipelineRuns using KubeArchive. Use when the user asks to analyze failed ITS pipeline runs, debug test failures, or investigate why integration tests failed in Konflux.
Ships in productization-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Analyze failed Konflux integration test scenario (ITS) PipelineRuns using KubeArchive. Retrieves archived PipelineRuns, identifies failed tasks, fetches logs, and produces root cause analysis reports.
Namespaces: If the user does not specify a namespace, use one of:
ai-tenant — RHAIIS componentsrhel-ai-tenant — RHEL AI componentsPrerequisites: KUBECONFIG and KUBEARCHIVE_HOST env vars must be set.
IMPORTANT:
command -v, no env var checks, no install scripts). Run the scripts directly — they validate dependencies internally and print install instructions if something is missing.2>&1 to script commands — the scripts handle their own stderr output.get_failed_pipelineruns.shLists failed ITS PipelineRuns within a time period.
Usage:
${CLAUDE_SKILL_DIR}/scripts/get_failed_pipelineruns.sh <namespace> <time-spec> [--human]
Arguments:
| Position | Argument | Description |
|---|---|---|
| 1 | <namespace> | Kubernetes namespace |
| 2 | <time-spec> | Time period (see formats below) |
Time specification formats:
| Format | Example | Description |
|---|---|---|
| Single date | 2026-04-16 | All failures on that date |
| Date range | 2026-04-14..2026-04-16 | Failures from start to end date |
| Relative hours | 4h | Last 4 hours |
| Relative days | 2d | Last 2 days |
| Relative weeks | 1w | Last week |
Options:
| Option | Description |
|---|---|
--human | Table output instead of JSON |
Examples:
${CLAUDE_SKILL_DIR}/scripts/get_failed_pipelineruns.sh ai-tenant 2026-04-16
${CLAUDE_SKILL_DIR}/scripts/get_failed_pipelineruns.sh ai-tenant 2026-04-14..2026-04-16 --human
${CLAUDE_SKILL_DIR}/scripts/get_failed_pipelineruns.sh ai-tenant 4h
Output (JSON):
[
{
"name": "rhaiis-test-vllm-podman-cuda-x86-64-msrt7",
"namespace": "ai-tenant",
"created": "2026-04-16T23:49:09Z",
"application": "rhaiis",
"component": "rhaiis-cuda-ubi9",
"scenario": "rhaiis-test-vllm-podman-cuda-x86-64",
"optional": "true",
"event_type": "Merge Request",
"reason": "Failed"
}
]
analyze_its_failure.shDeep-analyzes a single failed PipelineRun. Examines TaskRun statuses, fetches failed task logs, and produces a root cause analysis.
Usage:
${CLAUDE_SKILL_DIR}/scripts/analyze_its_failure.sh <namespace> <pipelinerun-name> [OPTIONS]
Arguments:
| Position | Argument | Description |
|---|---|---|
| 1 | <namespace> | Kubernetes namespace |
| 2 | <pipelinerun-name> | Name of the failed PipelineRun |
Options:
| Option | Description |
|---|---|
--human | Human-readable output instead of JSON |
Examples:
${CLAUDE_SKILL_DIR}/scripts/analyze_its_failure.sh ai-tenant rhaiis-test-vllm-podman-neuron-x86-64-pqr7h --human
${CLAUDE_SKILL_DIR}/scripts/analyze_its_failure.sh ai-tenant rhaiis-test-vllm-podman-cuda-x86-64-msrt7
Output (JSON):
{
"pipelinerun": "rhaiis-test-vllm-podman-neuron-x86-64-pqr7h",
"namespace": "ai-tenant",
"status": "Failed",
"summary": "Tasks Completed: 7 (Failed: 1, Cancelled 0), Skipped: 6",
"event_type": "Merge Request",
"commit_sha": "abc123...",
"application": "rhaiis",
"component": "rhaiis-neuron-ubi9",
"scenario": "rhaiis-test-vllm-podman-neuron-x86-64",
"optional": "true",
"repo_url": "https://gitlab.com/redhat/rhel-ai/rhaiis/containers",
"merge_request": "https://gitlab.com/redhat/rhel-ai/rhaiis/containers/-/merge_requests/351",
"log_url": "https://konflux-ui.apps.../pipelinerun/...",
"failed_tasks": [
{
"task": "test-inference",
"step": "unnamed-0",
"exit_code": 1
}
],
"analysis": "Human-readable root cause summary"
}
# Step 1: List failed PipelineRuns
${CLAUDE_SKILL_DIR}/scripts/get_failed_pipelineruns.sh ai-tenant 2026-04-16 --human
# Step 2: Analyze a specific failure
${CLAUDE_SKILL_DIR}/scripts/analyze_its_failure.sh ai-tenant rhaiis-test-vllm-podman-cuda-x86-64-msrt7 --human
# Check last 4 hours
${CLAUDE_SKILL_DIR}/scripts/get_failed_pipelineruns.sh ai-tenant 4h --human
# Check last week
${CLAUDE_SKILL_DIR}/scripts/get_failed_pipelineruns.sh ai-tenant 1w
| Scenario | Behavior |
|---|---|
| PipelineRun not found | Exit 1 with error JSON |
| PipelineRun not failed | Exit 0 with status info |
| KUBECONFIG not set | Exit 1 with error |
| KUBEARCHIVE_HOST not set | Exit 1 with error |
| kubectl-ka not installed | Exit 1 with install hint |
| Logs unauthorized | Analysis notes "Logs unavailable" |
| No failed tasks found | Analysis notes "No failed tasks" |
Required: kubectl-ka, jq — installed via tools/*/install.sh
pytest.ini (opens in a new tab)requirements-test.txt (opens in a new tab)scripts/analyze_its_failure.sh (opens in a new tab)scripts/get_failed_pipelineruns.sh (opens in a new tab)tests/__init__.py (opens in a new tab)tests/conftest.py (opens in a new tab)tests/helpers.py (opens in a new tab)tests/test_analyze_its_failure.py (opens in a new tab)tests/test_get_failed_pipelineruns.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/productization-skills:konflux-its-analyzerfrom productization-skills
productization-skills@opendatahub-skills is listed by opendatahub-io/skills-registry — review the source before installing
npx claudepluginhub opendatahub-io/skills-registry --plugin productization-skills18 skills in this plugin
/aws-log-analyzerTroubleshoot and analyze logs from AWS CloudWatch Logs. This skill should be used when the user asks to investigate logs, troubleshoot application issues, query log groups, analyze error patterns, or perform log analysis for machines writing to AWS CloudWatch. Uses the AWS CLI for CloudWatch Logs operations./gitlab-branch-managerCreate and protect GitLab branches. Use when the user asks to create a branch, protect a branch, or set up branch protection rules on GitLab. Uses the glab GitLab CLI. The script takes three required positional args in order: repo, branch-name, ref (no --ref flag)./gitlab-code-reviewOther plugins' skills for the same job