Skip to content

ROX-37373: Use one GKE worker for compatibility and race QA - #24513

Draft
janisz wants to merge 1 commit into
masterfrom
ROX-37373/gke-compat-race-single-worker
Draft

janisz wants to merge 1 commit into
masterfrom
ROX-37373/gke-compat-race-single-worker

Conversation

@janisz

@janisz janisz commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

Description

Use one e2-standard-8 worker for Prow GKE non-Groovy version compatibility and race-condition QA to reduce provisioned capacity.

User-facing documentation

Testing and quality

  • the change is production ready: the change is GA, or otherwise the functionality is gated by a feature flag
  • CI results are inspected

Automated testing

  • added unit tests
  • added e2e tests
  • added regression tests
  • added compatibility tests
  • modified existing tests

How I validated my change

Python syntax and git diff --check passed. Prow validation pending.

Reduce provisioned capacity while retaining the existing race build and version matrix.

AI-assisted.
@janisz janisz added ci-all-qa-tests Tells CI to run all API tests (not just BAT). ci-build-race-condition-debug Build a `-race` image tagged with `-rcd`. Required for `/test gke-race-condition-qa-e2e-tests`. ai-assisted labels Dec 4, 2026
@openshift-ci

openshift-ci Bot commented Dec 4, 2026

Copy link
Copy Markdown

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@janisz

janisz commented Dec 4, 2026

Copy link
Copy Markdown
Contributor Author

/test gke-nongroovy-compatibility-tests gke-race-condition-qa-e2e-tests

@coderabbitai

coderabbitai Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Tests
    • Compatibility and QA test runs now use tailored cluster configurations, including single-node setups for selected runs.
    • Race-condition QA runs use a specified machine size rather than the default cluster configuration.

The compatibility test runner now accepts a configurable node count and passes it to GKECluster. The nongroovy compatibility job requests one node. The race-condition QA E2E job specifies one node and machine type e2-standard-8.

Changes: GKE cluster sizing

Layer / File(s) Summary
Configurable runner node count
.openshift-ci/compatibility_test.py
run_compatibility_tests accepts keyword-only num_nodes, defaulting to 2, and passes the value to GKECluster.
Job-specific cluster settings
scripts/ci/jobs/gke_nongroovy_compatibility_tests.py, scripts/ci/jobs/gke_race_condition_qa_e2e_tests.py
The nongroovy compatibility job requests one node. The race-condition QA E2E job sets num_nodes=1 and machine_type="e2-standard-8".

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Suggested reviewers: mclasmeier

Merge Risk: Minimal · up to baa70

The change reduces the GKE test cluster size for two CI jobs while leaving the runner's default at two nodes. No concrete defect was found. The requested Prow runs should confirm that the single-node clusters have enough capacity.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the GKE compatibility and race-condition QA jobs now use one worker node. It matches the raw summary, which shows num_nodes set to 1 for the nongroovy runner and an e2…
Description check Passed The description states the purpose: one e2-standard-8 worker for the Prow GKE non-Groovy compatibility and race-condition QA jobs, to reduce provisioned capacity. It also lists the checklist and valid…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the GKE compatibility and race-condition QA jobs now use one worker node. It matches the raw summary, which shows num_nodes set to 1 for the nongroovy runner and an e2-standard-8 machine for the race-condition runner. It also names ticket ROX-37373, which is clear enough for a teammate scanning history.

Full details: Description check

Explanation

The description states the purpose: one e2-standard-8 worker for the Prow GKE non-Groovy compatibility and race-condition QA jobs, to reduce provisioned capacity. It also lists the checklist and validation notes. However, the template's required 'change me!' placeholder under the Description heading remains unreplaced, and the 'How I validated my change' section is thin: it reports only Python syntax and git diff --check, with Prow validation still pending. The User-facing documentation and Testing and quality checklists are left unchecked without any explanation of why they are not needed. The mostly complete structure still supports a pass.

Resolution

Optionally replace the leftover 'change me!' placeholder under the Description heading with a short explanation of the change and why one node is sufficient. Also state why the CHANGELOG and documentation items are not needed. Update the validation section with the Prow results once they are available.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML (base), Organization UI (inherited)
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: ec5f8acb-75b8-46bb-b0b1-8482a5dda39b
Commits

Reviewing files that changed from the base of the PR and between 45429cd and baa702a.

Files selected for processing: 3

  • .openshift-ci/compatibility_test.py
  • scripts/ci/jobs/gke_nongroovy_compatibility_tests.py
  • scripts/ci/jobs/gke_race_condition_qa_e2e_tests.py

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 9 remain after this review.

@codecov

codecov Bot commented Dec 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.50%. Comparing base (45429cd) to head (baa702a).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #24513       +/-   ##
===========================================
+ Coverage   51.93%   53.50%    +1.56%     
===========================================
  Files         786     2700     +1914     
  Lines       62424   173380   +110956     
===========================================
+ Hits        32421    92766    +60345     
- Misses      26676    72653    +45977     
- Partials     3327     7961     +4634     
Flag Coverage Δ
go-unit-tests 53.50% <ø> (+1.56%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented Dec 4, 2026

Copy link
Copy Markdown
Contributor

🚀 Build Images Ready

Images are ready for commit baa702a. To use with deploy scripts:

export MAIN_IMAGE_TAG=5.1.x-781-gbaa702a13f

@openshift-ci

openshift-ci Bot commented Dec 4, 2026

Copy link
Copy Markdown

@janisz: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/gke-race-condition-qa-e2e-tests baa702a link false /test gke-race-condition-qa-e2e-tests
ci/prow/gke-nongroovy-compatibility-tests baa702a link false /test gke-nongroovy-compatibility-tests

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-assisted ai-review area/ci ci-all-qa-tests Tells CI to run all API tests (not just BAT). ci-build-race-condition-debug Build a `-race` image tagged with `-rcd`. Required for `/test gke-race-condition-qa-e2e-tests`. coderabbit-review do-not-merge/work-in-progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant