Prow Job Analyze Test Failure

Official

Pinpoint Prow test failures, get root cause fast.

Authoropenshift-eng
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Diagnosing Prow CI test failures involves sifting through vast amounts of logs and artifacts. This skill automates the initial analysis, helping to quickly identify the root cause of a failed test by correlating logs, events, and code.

Core Features & Use Cases

  • Automated Failure Analysis: Downloads Prow job artifacts and analyzes build-log.txt to pinpoint test failures.
  • Stack Trace & Code Inspection: Gathers relevant stack traces and inspects related code in the repository.
  • Evidence Collection: Collects and presents evidence from logs, events, and other JSON/YAML artifacts related to the failure.
  • Use Case: When a specific test fails in a Prow job, provide the job URL and the test name. This skill will perform an initial investigation, providing a summary of the failure, potential root causes, and supporting evidence.

Quick Start

Example: Analyze a specific test failure

User: "Analyze test failure TestKarpenter/EnsureHostedCluster/ValidateMetricsAreExposed in this Prow job: https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/openshift_hypershift/6731/pull-ci-openshift-hypershift-main-e2e-aws/1962527613477982208"

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Prow Job Analyze Test Failure
Download link: https://github.com/openshift-eng/ai-helpers/archive/main.zip#prow-job-analyze-test-failure

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository