/bigquery-ci-data:autodlfrom bigquery-ci-data
Queries auto-collected CI data from OpenShift test runs in BigQuery, including risk analysis, disruption, CPU metrics, audit logs, operator state, retry stats, and control plane pod placement/memory.
Ships in bigquery-ci-data. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Query data automatically collected during OpenShift CI test runs, stored in openshift-ci-data-analysis.ci_data_autodl. This data is generated by monitor tests and analysis code in openshift/origin and uploaded by the ci-data-loader after each job run.
Follow the foundations skill for cost safety, caching, and execution workflow.
All autodl tables include three columns added by the ci-data-loader:
| Column | Type | Notes |
|---|---|---|
| JobRunName | STRING | Prow job run identifier — join key to other datasets |
| PartitionTime | TIMESTAMP | Partition column — always filter on this |
| Source | STRING | Data source identifier |
JobRunName is the prow job run (build) ID. It joins across autodl tables and to job runs in openshift-gce-devel.ci_analysis_us.jobs (match against prowjob_build_id or extract from prowjob_url) for job name, variants, and result.
Autodl rows are summaries. For the raw data behind them (Prometheus snapshots, audit logs, intervals), go to the run's artifacts:
prowjob_url and gcs_bucket in the jobs table. Do not guess the bucket name.test-platform-results-public bucket and can be read anonymously over HTTPS. Take the run's path from prowjob_url (everything after the bucket name) rather than building it: periodics and postsubmits use logs/<job>/<build_id>, presubmits use pr-logs/pull/<org>_<repo>/<pr>/<job>/<build_id>. Read files with https://storage.googleapis.com/test-platform-results-public/<path>/... and browse directories with https://gcs.ci.openshift.org/gcs/test-platform-results-public/<path>/.test-platform-results bucket (no -public suffix) is private. Don't use it, and don't change the user's gcloud account or run gcloud auth login to reach artifacts.ci:prow-job-analysis skill's references/artifacts.md for the artifact layout.risk_analysis_overall_resultsOverall risk analysis verdict for a job run — the aggregate risk level across all tests.
| Column | Type | Notes |
|---|---|---|
| RiskLevel | INTEGER | Numeric risk level |
| RiskName | STRING | Human-readable risk name |
| JobRunTestCount | INTEGER | Total tests in the run |
| JobRunTestFailures | INTEGER | Total test failures |
| NeverStableJob | STRING | Whether this job has ever been stable |
| HistoricalRunTestCount | INTEGER | Historical test count for comparison |
Use case: Find job runs with high risk levels, correlate risk verdicts with actual job outcomes.
risk_analysis_test_resultsPer-test risk analysis — the risk level assigned to each individual test based on historical pass rates.
| Column | Type | Notes |
|---|---|---|
| TestName | STRING | Full test name |
| TestID | INTEGER | Stable test identifier |
| RiskLevel | INTEGER | Numeric risk level |
| RiskName | STRING | Human-readable risk name |
| CurrentRuns | INTEGER | Recent run count for this test |
| CurrentPasses | INTEGER | Recent pass count |
| CurrentPassPercentage | FLOAT | Recent pass rate |
Use case: Identify which tests contributed most to a run's risk assessment, find tests with declining pass rates.
risk_analysis_api_requestsMetadata about HTTP requests to the Sippy risk analysis API during test runs.
| Column | Type | Notes |
|---|---|---|
| RequestCount | INTEGER | Number of API requests made |
| StartTime | TIMESTAMP | When the request started |
| DurationSeconds | FLOAT | Request duration |
| Error | STRING | Error message if request failed |
| BytesRead | INTEGER | Response size |
Use case: Debug risk analysis API performance issues or failures.
retry_statisticsPer-test retry statistics when tests are retried during a run.
| Column | Type | Notes |
|---|---|---|
| TestName | STRING | Full test name |
| RetryStrategy | STRING | Strategy used for retries |
| TotalAttempts | INTEGER | Total attempts made |
| SuccessfulAttempts | INTEGER | Passing attempts |
| FailedAttempts | INTEGER | Failing attempts |
| FinalOutcome | STRING | Final test result |
| TotalDurationMilliseconds | INTEGER | Total time across all attempts |
| MaxRetriesAllowed | INTEGER | Retry limit |
| FirstAttemptDurationMilliseconds | INTEGER | Duration of first attempt |
| AverageAttemptDurationMilliseconds | INTEGER | Average attempt duration |
| JobName | STRING | Prow job name |
| JobType | STRING | periodic, presubmit, postsubmit |
| PullNumber | STRING | PR number (presubmits) |
| RepoName | STRING | GitHub repo |
| RepoOwner | STRING | GitHub org |
| PullSha | STRING | Commit SHA |
| ReleaseImageLatest | STRING | Target release image |
| ReleaseImageInitial | STRING | Initial release image (upgrades) |
Use case: Analyze retry effectiveness, find tests that always fail on first attempt but pass on retry, measure retry overhead.
run_suite_optionsConfiguration used to run the test suite.
| Column | Type | Notes |
|---|---|---|
| ClusterStability | STRING | Cluster stability mode |
| RandomSeed | INTEGER | Random seed for test ordering |
| WorkerNodes | INTEGER | Number of worker nodes |
| TotalNodes | INTEGER | Total cluster nodes |
| Parallelism | INTEGER | Test parallelism level |
Use case: Correlate test failures with cluster size or parallelism settings.
high_cpu_e2e_testsTests that overlapped with high CPU usage intervals.
| Column | Type | Notes |
|---|---|---|
| TestName | STRING | Full test name |
| Success | INTEGER | 1 = pass, 0 = fail |
Use case: Find tests that fail due to high CPU or cause high CPU on the cluster.
duration-metricsNamed duration metrics (install time, upgrade time, etc.).
| Column | Type | Notes |
|---|---|---|
| name | STRING | Metric name (e.g. "install", "upgrade") |
| duration | INTEGER | Duration in milliseconds |
Use case: Track install/upgrade duration trends across releases and platforms.
audit_latency_countsHistogram-bucketed latency counts for kube-apiserver requests, from audit logs.
| Column | Type | Notes |
|---|---|---|
| LatencyType | STRING | Type of latency measurement |
| Resource | STRING | API resource |
| Verb | STRING | HTTP verb |
| Bucket | FLOAT | Latency bucket threshold |
| Count | INTEGER | Requests exceeding this bucket |
Use case: Identify API resources with high latency, find slow verbs, detect apiserver performance regressions.
audit_resource_requests_per_userAPI request counts per user/service-account, from audit logs.
| Column | Type | Notes |
|---|---|---|
| User | STRING | User or service account (cleaned) |
| Resource | STRING | API resource |
| Verb | STRING | HTTP verb |
| HttpStatus | INTEGER | Response status code |
| RequestCount | INTEGER | Number of requests |
Use case: Find noisy controllers, identify unexpected API callers, detect request storms.
operator_watch_requestsWatch request counts per operator against the kube-apiserver, from audit logs.
| Column | Type | Notes |
|---|---|---|
| ControlPlaneTopology | STRING | e.g. "HighlyAvailable", "SingleReplica" |
| PlatformType | STRING | Cloud platform |
| Operator | STRING | Operator name |
| WatchRequestCount | INTEGER | Number of watch requests |
Use case: Detect watch storms, find operators with excessive watch counts, compare across topologies.
operator_state_metricsClusterOperator state transitions (Available, Progressing, Degraded) during the test run.
| Column | Type | Notes |
|---|---|---|
| Operator | STRING | ClusterOperator name |
| State | STRING | "Available", "Progressing", "Degraded" |
| Count | INTEGER | Number of transitions |
| TotalSeconds | FLOAT | Total time in this state |
| MaxIndividualDurationSeconds | FLOAT | Longest single period in this state |
Use case: Find operators that flap between states, track degraded duration across releases.
dns_disruption_statsDNS disruption summary during the test run.
| Column | Type | Notes |
|---|---|---|
| IntervalCount | INTEGER | Number of disruption intervals |
| TotalDurationSeconds | INTEGER | Total disruption time |
Use case: Track DNS disruption trends, correlate with network configuration variants.
node_cpu_usage_timelineTime-series per-node CPU usage sampled during the test run.
| Column | Type | Notes |
|---|---|---|
| Timestamp | TIMESTAMP | Sample time |
| NodeName | STRING | Node name |
| NodeRole | STRING | master, worker, etc. |
| CPUUsage | FLOAT | CPU usage percentage |
Use case: Correlate CPU spikes with test failures, identify resource-starved nodes.
interval_duration_sumTotal duration of monitor intervals by source type.
| Column | Type | Notes |
|---|---|---|
| IntervalSource | STRING | "MetricsEndpointDown", "CPUMonitor" |
| TotalDurationSeconds | INTEGER | Total duration |
Use case: Track metrics endpoint availability, CPU monitoring coverage.
cluster_instance_typesCloud instance types used by nodes in the cluster (AWS, Azure, GCP).
| Column | Type | Notes |
|---|---|---|
| Platform | STRING | Cloud provider |
| Region | STRING | Cloud region |
| Zone | STRING | Availability zone |
| Role | STRING | Node role |
| InstanceType | STRING | Instance type (e.g. m5.xlarge) |
| Suite | STRING | Test suite |
Use case: Correlate failures with instance types, track what hardware CI uses.
These two tables (named control_plane_singleton_* for historical reasons) cover every running openshift-* pod on the control plane masters: single-replica operator Deployments ("singletons"), multi-replica Deployments, DaemonSets, static pods, guard pods and CatalogSource pods — roughly 56 pods per master instead of the 14 singletons recorded before the collector was broadened in November 2026. They show which master each pod lands on and how much memory they use before and after the CI test suites run, answering: are pods piling up on one master, and which pods grow during the suites?
Singleton* columns keep their original single-replica Deployment meaning so existing queries and dashboards see no step change. The All* placement columns, and the per-pod WorkloadKind/Replicas columns, cover every pod and are NULL in rows loaded before the broadening — identify old rows with WorkloadKind IS NULL / AllPods IS NULL.
Snapshots, not one row per run. A job run can have more than one snapshot (one autodl file per collection, identified by the timestamp in Source, e.g. control-plane-singleton-placement_20261022-090059-autodl.json). In a 7-day sample, 58 runs had 108 snapshots. Group by JobRunName, Source to analyze a single snapshot. Aggregating on JobRunName alone silently mixes snapshots and double counts.
Joining the two tables. Joining on JobRunName alone fans out across snapshots. Source has a different prefix in each table (control-plane-singleton-placement_... vs control-plane-singleton-pods_...), so it can't be matched directly. The timestamp part matches: in the 7-day sample all 108 placement snapshots matched a pod snapshot on JobRunName plus REGEXP_EXTRACT(Source, r'_(\d{8}-\d{6})-autodl'). Pods tie to their master via NodeName.
Memory columns. Start is memory use at the start of the snapshot window (before the suites), End is at the end (after the suites), and Avg/Peak cover the window in between. All memory values are in MB.
control_plane_singleton_placementOne row per master node per snapshot, aggregating the control plane pods placed on that master. The memory columns are per-master totals across those pods (values scale with the pod counts); they are not per-pod figures. Singleton* totals cover only pods of single-replica Deployments; All* totals cover every control plane pod on the master.
| Column | Type | Notes |
|---|---|---|
| NodeName | STRING | Master node name |
| TotalMasters | INTEGER | Number of masters in the cluster (3 in all recent rows) |
| SingletonPods | INTEGER | Pods of single-replica Deployments on this master. 0 is common — a master hosting none |
| SingletonMemoryRequestMB | FLOAT | Memory requests of those pods |
| SingletonStartMemoryUsageMB | FLOAT | Their memory use at start |
| SingletonEndMemoryUsageMB | FLOAT | Their memory use at end |
| SingletonAvgMemoryUsageMB | FLOAT | Average use over the window |
| SingletonPeakMemoryUsageMB | FLOAT | Peak use over the window |
| AllPods | INTEGER | Every control plane pod on this master (multi-replica Deployments, DaemonSets, static pods, guard pods, CatalogSource pods included). NULL in rows loaded before the broadening |
| AllMemoryRequestMB | FLOAT | Memory requests of all those pods |
| AllStartMemoryUsageMB | FLOAT | Their memory use at start |
| AllEndMemoryUsageMB | FLOAT | Their memory use at end |
| AllAvgMemoryUsageMB | FLOAT | Average use over the window |
| AllPeakMemoryUsageMB | FLOAT | Peak use over the window |
The All* columns are NULL for rows loaded before November 2026 — filter with AllPods IS NOT NULL when trending them over time.
Masters with SingletonPods = 0 have all-zero Singleton* memory columns (about 22% of rows in the 7-day sample). Whether to include them in an average depends on the question:
SingletonPods > 0.Use case: Detect singletons concentrated on one master, find masters with no singletons, compare per-master singleton memory to request.
control_plane_singleton_podsOne row per control plane pod per snapshot (the table name and Deployment column predate the broadening from singletons to all pods).
| Column | Type | Notes |
|---|---|---|
| Namespace | STRING | Pod namespace |
| WorkloadKind | STRING | Controlling workload kind: Deployment, DaemonSet, StaticPod (mirror pods), Pod (no controller, e.g. guard pods), CatalogSource, or another controller kind. NULL in rows loaded before the broadening — those are all singletons |
| Replicas | INTEGER | Desired replicas for Deployments; NULL for other kinds. Singletons are WorkloadKind = 'Deployment' AND Replicas = 1 |
| Deployment | STRING | Workload name for every kind (stable across runs, unlike PodName). Static and controller-less pods have the -<node> suffix stripped, so etcd-master-1 becomes etcd |
| PodName | STRING | Pod name, includes the replicaset/pod hash |
| NodeName | STRING | Master the pod ran on |
| PodAgeSeconds | INTEGER | Pod age when the snapshot was taken. A pod rescheduled to another master gets a different PodName |
| MemoryRequestMB | FLOAT | Memory request. Can be 0 — use SAFE_DIVIDE for ratios rather than filtering the rows out |
| StartMemoryUsageMB | FLOAT | Memory use at start. Looked up by pod, falling back to the workload's mean start usage for pods replaced during the run (common on upgrades) |
| EndMemoryUsageMB | FLOAT | Memory use at end |
| AvgMemoryUsageMB | FLOAT | Average over the window |
| PeakMemoryUsageMB | FLOAT | Peak over the window |
Use case: Find operators whose memory grows during the suites (EndMemoryUsageMB - StartMemoryUsageMB), pods that far exceed their request, and which masters particular operators land on. Group by Deployment rather than PodName to compare across runs. To keep queries singleton-only across old and new rows, filter with (WorkloadKind IS NULL OR (WorkloadKind = 'Deployment' AND Replicas = 1)).
SELECT
JobRunName,
RiskLevel,
RiskName,
JobRunTestCount,
JobRunTestFailures
FROM `openshift-ci-data-analysis.ci_data_autodl.risk_analysis_overall_results`
WHERE PartitionTime >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 7 DAY)
AND RiskLevel >= 3
ORDER BY RiskLevel DESC, JobRunTestFailures DESC
SELECT
TestName,
COUNT(*) AS total_runs,
COUNTIF(TotalAttempts > 1) AS runs_with_retries,
ROUND(COUNTIF(TotalAttempts > 1) * 100.0 / COUNT(*), 1) AS retry_pct,
ROUND(AVG(IF(TotalAttempts > 1, TotalAttempts, NULL)), 1) AS avg_attempts_when_retried,
COUNTIF(FinalOutcome = 'passed') / COUNT(*) AS final_pass_rate
FROM `openshift-ci-data-analysis.ci_data_autodl.retry_statistics`
WHERE PartitionTime >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 7 DAY)
GROUP BY TestName
HAVING total_runs >= 5
ORDER BY retry_pct DESC
SELECT
Operator,
COUNT(*) AS run_count,
AVG(TotalSeconds) AS avg_degraded_seconds,
MAX(MaxIndividualDurationSeconds) AS worst_degraded_seconds
FROM `openshift-ci-data-analysis.ci_data_autodl.operator_state_metrics`
WHERE PartitionTime >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 7 DAY)
AND State = 'Degraded'
AND Count > 0
GROUP BY Operator
ORDER BY avg_degraded_seconds DESC
SELECT
User,
Resource,
Verb,
SUM(RequestCount) AS total_requests
FROM `openshift-ci-data-analysis.ci_data_autodl.audit_resource_requests_per_user`
WHERE PartitionTime >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 7 DAY)
GROUP BY User, Resource, Verb
ORDER BY total_requests DESC
LIMIT 20
SELECT
JobRunName,
Source,
TotalMasters,
COUNTIF(SingletonPods > 0) AS masters_hosting,
MAX(SingletonPods) AS max_pods,
MIN(SingletonPods) AS min_pods,
ROUND(MAX(SingletonEndMemoryUsageMB), 0) AS hottest_master_end_mb
FROM `openshift-ci-data-analysis.ci_data_autodl.control_plane_singleton_placement`
WHERE PartitionTime >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 7 DAY)
GROUP BY JobRunName, Source, TotalMasters
ORDER BY max_pods - min_pods DESC
LIMIT 10
SELECT
Namespace,
Deployment,
COUNT(*) AS samples,
ROUND(AVG(EndMemoryUsageMB - StartMemoryUsageMB), 1) AS avg_growth_mb,
ROUND(AVG(SAFE_DIVIDE(PeakMemoryUsageMB, MemoryRequestMB)), 2) AS avg_peak_to_request
FROM `openshift-ci-data-analysis.ci_data_autodl.control_plane_singleton_pods`
WHERE PartitionTime >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 7 DAY)
AND (WorkloadKind IS NULL OR (WorkloadKind = 'Deployment' AND Replicas = 1))
GROUP BY Namespace, Deployment
HAVING samples >= 5
ORDER BY avg_growth_mb DESC
LIMIT 15
Drop the WorkloadKind filter to include every control plane pod (DaemonSets, static pods, and so on), or group by WorkloadKind to compare kinds.
The autodl data pipeline works as follows:
openshift/origin collect data during test execution*autodl.json files in job artifactsSource code for all table definitions is in openshift/origin:
pkg/dataloader/types.gopkg/monitortests/ subdirectoriespkg/riskanalysis/cmd.gopkg/test/ginkgo/retries.gopkg/test/ginkgo/cmd_runsuite.gopkg/e2eanalysis/e2e_analysis.goWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
4 skills in this plugin
/chai-presubmit-override-decisionsUse when monitoring CHAI presubmit agent decisions in BigQuery to analyze the breakdown of override, retest, and report-only actions on PR presubmit failures and estimate CI cost savings/foundationsUse when executing any BigQuery CI data query — provides the shared safety protocol, cost controls, bq CLI patterns, and caching workflow/jobs-and-testsUse when querying OpenShift CI prow job runs and junit test results in BigQuery (ci_analysis_us dataset) with deduplication, variant joins, and infrastructure failure filteringnpx claudepluginhub openshift-eng/ai-helpers --plugin bigquery-ci-dataOther plugins' skills for the same job