jobs-and-tests
Use when querying OpenShift CI prow job runs and junit test results in BigQuery (ci_analysis_us dataset) with deduplication, variant joins, and infrastructure…
от openshift-eng★ 123 звезды на GitHub
Установить jobs-and-tests в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Jobs and Tests
Query and analyze prow job runs and junit test results stored in openshift-gce-devel.ci_analysis_us. This is the primary dataset for investigating test failures, flakes, regressions, and job pass rates.
Follow the foundations skill for cost safety, caching, and execution workflow.
When to Use This Skill
- Investigating test failures, flakes, or regressions across CI jobs
- Querying prow job pass/fail rates over time
- Analyzing test results by variant (platform, architecture, network, upgrade, etc.)
- Exploring CI data patterns (e.g. which jobs run a test, how often a test fails)
Tables
ci_analysis_us.junit
Junit test results. Massive table. Partitioned by DAY on modified_time. Clustered on release.
| Column | Type | Notes |
|---|---|---|
| prowjob_build_id | STRING | Join key to jobs table |
| file_path | STRING | Artifact path of the junit XML |
| test_name | STRING | Full test name |
| testsuite | STRING | Test suite name |
| success_val | INTEGER | 1 = pass, 0 = fail |
| success | BOOLEAN | Pass/fail |
| skipped | BOOLEAN | Whether test was skipped |
| flake_count | INTEGER | >0 means this row is part of a flake |
| modified_time | DATETIME | Partition column — always filter on this |
| release | STRING | OCP release (e.g. "4.22", "5.0"). Clustering column — always filter for ~60-70% cost reduction |
| branch | STRING | LEGACY — do not use. Use release instead |
| prowjob_name | STRING | Name of the prow job run |
| duration_ms | INTEGER | Test execution time |
| test_id | STRING | Stable test identifier |
| failure_message | STRING | Failure message from junit XML |
| failure_content | STRING | Failure body from junit XML |
| start_time | DATETIME | Test start time |
| end_time | DATETIME | Test end time |
| platform | STRING | LEGACY — do not use for filtering |
| arch | STRING | LEGACY — do not use for filtering |
| network | STRING | LEGACY — do not use for filtering |
| upgrade | STRING | LEGACY — do not use for filtering |
IMPORTANT: The platform, arch, network, upgrade columns on junit are legacy and unmaintained. Join to jobs then job_variants for accurate variant data.
ci_analysis_us.jobs
Prow job runs (invocations). Each row is a single execution. Partitioned by DAY on prowjob_start.
Terminology: "job" = a distinct prowjob_job_name. The table contains individual runs, each with a unique prowjob_build_id. Use prowjob_job_name to group/identify jobs, prowjob_build_id for specific runs.
| Column | Type | Notes |
|---|---|---|
| prowjob_build_id | STRING | Primary key, join key to junit |
| prowjob_job_name | STRING | Canonical job name (join key to job_variants) |
| prowjob_url | STRING | Link to prow job; its /view/gs/<bucket>/<path> suffix is the artifact location |
| gcs_bucket | STRING | Artifact bucket, normally the public test-platform-results-public (anonymous read) |
| prowjob_state | STRING | "success", "failure", "error", "aborted" |
| prowjob_start | DATETIME | Partition column |
| prowjob_completion | DATETIME | When job finished |
| prowjob_type | STRING | "periodic", "presubmit", "postsubmit" |
| org | STRING | GitHub org |
| repo | STRING | GitHub repo |
| pr_number | STRING | PR number (presubmits) |
| base_ref | STRING | Base branch |
| is_release_verify | BOOLEAN | Whether this is a release verification job |
ci_analysis_us.job_variants
Maps job names to variant classifications. Not partitioned (small table).
| Column | Type | Notes |
|---|---|---|
| job_name | STRING | Join to jobs.prowjob_job_name |
| variant_name | STRING | e.g. "Platform", "Architecture" |
| variant_value | STRING | e.g. "aws", "amd64" |
ci_analysis_us.job_labels
Labels/annotations on job runs. Partitioned by DAY on prowjob_start.
| Column | Type | Notes |
|---|---|---|
| prowjob_build_id | STRING | Join key to jobs/junit |
| prowjob_start | DATETIME | Partition column |
| label | STRING | e.g. "InfraFailure" |
| symptom_id | STRING | Triage symptom ID |
Variant Reference
Each job maps to multiple variant dimensions via job_variants. Each dimension is a separate LEFT JOIN.
Release & Upgrade
| Variant | Key Values |
|---|---|
| Release | 4.18, 4.19, 4.20, 4.21, 4.22, 4.23, 5.0, 5.1 |
| Upgrade | none, micro, minor, major, multi, micro-downgrade |
| FromRelease | 4.17, 4.18, etc. |
Platform & Infrastructure
| Variant | Key Values |
|---|---|
| Platform | aws, azure, gcp, vsphere, metal, openstack, nutanix, alibaba, kubevirt, libvirt, none, ovirt, rosa, aro, external-aws, external-oci, external-vsphere, osd-gcp |
| Architecture | amd64, arm64, multi, ppc64le, s390x |
| Topology | ha, single, compact, external, microshift, two-node-arbiter, `two-node |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл jobs-and-tests?
Use when querying OpenShift CI prow job runs and junit test results in BigQuery (ci_analysis_us dataset) with deduplication, variant joins, and infrastructure failure filtering
Как установить скилл jobs-and-tests?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл jobs-and-tests запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…