From ci
Analyze OpenShift installation failures in Prow CI jobs
How this command is triggered — by the user, by Claude, or both
Slash command
/ci:analyze-prow-job-install-failure <prowjob-url>The summary Claude sees in its command listing — used to decide when to auto-load this command
## Name ci:analyze-prow-job-install-failure ## Synopsis ## Description The `ci:analyze-prow-job-install-failure` command analyzes OpenShift installation failures in Prow CI jobs by downloading and examining installer logs, log bundles, and sosreports (for metal jobs). This command is specifically designed to debug failures in the **"install should succeed: overall"** test, which indicates that the installation process failed at some stage. **Important**: All "install should succeed" tests have a specific suffix indicating the failure stage (configuration, infrastructure, cluster bootst...
ci:analyze-prow-job-install-failure
/ci:analyze-prow-job-install-failure <prowjob-url>
The ci:analyze-prow-job-install-failure command analyzes OpenShift installation failures in Prow CI jobs by downloading and examining installer logs, log bundles, and sosreports (for metal jobs). This command is specifically designed to debug failures in the "install should succeed: overall" test, which indicates that the installation process failed at some stage.
Important: All "install should succeed" tests have a specific suffix indicating the failure stage (configuration, infrastructure, cluster bootstrap, cluster creation, cluster operator stability, or other). The JUnit XML contains both the specific failure reason test (which fails) and the overall test (which also fails when any stage fails). This command analyzes the specific failure stage to provide targeted diagnostics.
The command accepts:
It downloads relevant artifacts from Google Cloud Storage, analyzes them, and generates a comprehensive report with findings and recommended next steps.
The command identifies the failure mode from junit_install.xml and tailors its analysis:
The command performs the following steps by invoking the "Prow Job Analyze Install Failure" skill:
Parse Job URL: Extract build ID and job details from the Prow URL
Download prowjob.json: Identify the ci-operator target
Download JUnit XML: Identify the specific failure mode (configuration, infrastructure, cluster bootstrap, etc.)
Download Installer Logs: Get .openshift_install*.log files that contain the installation timeline
Download Log Bundle: Get log-bundle-*.tar containing:
Invoke Metal Skill (metal jobs only): Use the specialized ci:prow-job-analyze-metal-install-failure skill to analyze:
Analyze Logs: Extract key failure indicators based on failure mode:
Generate Report: Create comprehensive analysis with:
The skill handles all the implementation details including URL parsing, artifact downloading, archive extraction, log analysis, and report generation.
.work/prow-job-analyze-install-failure/{build_id}/analysis/report.txtImportant for Claude:
Analyze an AWS installation failure:
/ci:analyze-prow-job-install-failure https://prow.ci.openshift.org/view/gs/test-platform-results/logs/periodic-ci-openshift-release-master-ci-4.21-e2e-aws-ovn-techpreview/1983307151598161920
Expected output:
Analyze a metal installation failure:
/ci:analyze-prow-job-install-failure https://prow.ci.openshift.org/view/gs/test-platform-results/logs/periodic-ci-openshift-release-master-nightly-4.21-e2e-metal-ipi-ovn-ipv6/1983304069657137152
Expected output:
Analyze an infrastructure failure:
/ci:analyze-prow-job-install-failure https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift/installer/12345/pull-ci-openshift-installer-master-e2e-aws/7890
Expected output:
Analyze an operator stability failure:
/ci:analyze-prow-job-install-failure https://prow.ci.openshift.org/view/gs/test-platform-results/logs/periodic-ci-openshift-release-master-ci-4.21-e2e-gcp/1234567890123456789
Expected output:
ci:prow-job-analyze-metal-install-failure skill..work/prow-job-analyze-install-failure/{build_id}/ for faster re-analysisnpx claudepluginhub jatinsu/ai-helpers --plugin ci