From kubevirt
Search for specific test failures and patterns across all CI jobs
How this command is triggered — by the user, by Claude, or both
Slash command
/kubevirt:ci-search <pattern> [--max-age <period>] [--job <regex>]The summary Claude sees in its command listing — used to decide when to auto-load this command
## Name kubevirt:ci-search ## Synopsis ## Description The `kubevirt:ci-search` command searches for specific test failures and error patterns across all KubeVirt CI jobs using the search.ci.kubevirt.io service. It's ideal for investigating recurring failures, understanding failure scope, and finding related issues across different job types. This command uses the `healthcheck search` tool to: 1. Query the search.ci.kubevirt.io service with regex patterns 2. Find matching failures across presubmit, batch, periodic, and postsubmit jobs 3. Provide statistics on failure frequency and distri...
kubevirt:ci-search
/kubevirt:ci-search <pattern> [--max-age <period>] [--job <regex>] [--exclude-job <regex>]
The kubevirt:ci-search command searches for specific test failures and error patterns across all KubeVirt CI jobs using the search.ci.kubevirt.io service. It's ideal for investigating recurring failures, understanding failure scope, and finding related issues across different job types.
This command uses the healthcheck search tool to:
--max-age: Time range (default: 14 days)--job: Job name filter regex--exclude-job: Jobs to exclude--type: Search type (junit, bug, build-log, all)healthcheck search "<pattern>" --max-age <period> --job "<regex>" --summary --stats --output json
Impact Assessment
Pattern Recognition
Root Cause Indicators
Create a detailed search results report with:
Search Summary
Most Affected Jobs
Failure Analysis
Environmental Factors
Recommendations
Debugging Resources
A comprehensive search results report containing:
Search for migration failures:
/kubevirt:ci-search "migration"
Finds all migration-related failures in the last 14 days.
Search for timeouts in the last week:
/kubevirt:ci-search "timeout" --max-age 168h
Searches for timeout failures in the last 7 days (168 hours).
Search for operator issues in periodic jobs:
/kubevirt:ci-search "Operator should reconcile" --job "periodic.*"
Filters to only periodic jobs for operator reconciliation issues.
Search excluding ARM64 jobs:
/kubevirt:ci-search "disk" --exclude-job ".*arm64.*"
Searches for disk-related failures, excluding ARM64 jobs.
Search for network issues in recent runs:
/kubevirt:ci-search "network" --max-age 24h
Finds network failures in the last 24 hours.
Search for specific test:
/kubevirt:ci-search "VirtualMachinePool should respect maxUnavailable"
Finds occurrences of a specific test failure.
Search in build logs (not just junit):
/kubevirt:ci-search "panic" --type build-log --max-age 72h
Searches build logs for panics in the last 3 days.
Comprehensive search for flaky test:
/kubevirt:ci-search "should boot VMI" --max-age 336h
14-day search to assess flakiness patterns.
<pattern>: (Required) Regex pattern to search for in test names or failure messages--max-age <period>: (Optional) How far back to search (e.g., 24h, 7d, 336h). Default: 336h (14 days)--job <regex>: (Optional) Filter results to jobs matching this regex--exclude-job <regex>: (Optional) Exclude jobs matching this regex--type <search-type>: (Optional) Search type: junit (default), bug, build-log, bug+junit, allWrite the search report to artifacts/kubevirt-ci-search/search-<pattern-sanitized>-<timestamp>.md
/kubevirt:ci-lane - Deep analysis of a specific job lane/kubevirt:ci-health - Overall CI health across all jobs/kubevirt:ci-triage - Intelligent triage with root cause analysisnpx claudepluginhub lyarwood/kubevirt-ai-helpers --plugin kubevirt