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"