Skip to content

ROX-33453: Add prefetcher for gke-nongroovy-compatibility-tests#19306

Merged
janisz merged 4 commits intomasterfrom
fix_compatibility_tests
Mar 5, 2026
Merged

ROX-33453: Add prefetcher for gke-nongroovy-compatibility-tests#19306
janisz merged 4 commits intomasterfrom
fix_compatibility_tests

Conversation

@janisz
Copy link
Contributor

@janisz janisz commented Mar 5, 2026

Description

Adds image prefetching support for compatibility tests to avoid Docker Hub rate limits, following the same pattern as PR #18867 and #17216.

Changes:

  • scripts/ci/lib.sh: Add *compatibility-tests case to prefetcher start, await, and image list population functions
  • tests/e2e/run-compatibility.sh: Call prefetcher before deployment setup

The existing tests/images-to-prefetch.txt already contains the nginx image used by compatibility tests (quay.io/rhacs-eng/qa-multi-arch:nginx-1-17-1 in tests/tls_challenge_test.go).

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

change me!

Adds image prefetching support for compatibility tests to avoid Docker Hub
rate limits, following the same pattern as PR #18867 for sensor integration
tests.

Changes:
- scripts/ci/lib.sh: Add *compatibility-tests case to prefetcher start, await,
  and image list population functions
- tests/e2e/run-compatibility.sh: Call prefetcher before deployment setup

The existing tests/images-to-prefetch.txt already contains the nginx image
used by compatibility tests (quay.io/rhacs-eng/qa-multi-arch:nginx-1-17-1
in tests/tls_challenge_test.go).

User request: look at this PR #18867
we need to add prefetcher to gke-nongroovy-compatibility-tests

Code changes developed with AI assistance.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@janisz
Copy link
Contributor Author

janisz commented Mar 5, 2026

/test gke-compatibility

@janisz
Copy link
Contributor Author

janisz commented Mar 5, 2026

/test gke-nongroovy-compatibility-tests

@janisz
Copy link
Contributor Author

janisz commented Mar 5, 2026

/test gke-nongroovy-compatibility-tests

@janisz janisz changed the title Add image prefetcher to gke-nongroovy-compatibility-tests ROX-33453: Add prefetcher for gke-nongroovy-compatibility-tests Mar 5, 2026
Adds image prefetching support for compatibility tests to avoid Docker Hub
rate limits, following the same pattern as PR #18867 for sensor integration
tests.

Changes:
- scripts/ci/lib.sh: Add *compatibility-tests case to prefetcher start, await,
  and image list population functions
- tests/e2e/run-compatibility.sh: Call prefetcher before deployment setup
- tests/yamls/multi-container-pod.yaml: Change imagePullPolicy from
  IfNotPresent to Never to use prefetched images

The existing tests/images-to-prefetch.txt already contains the nginx and
ubuntu images used by compatibility tests. The YAML file change is necessary
because pods created directly from YAML don't go through the
createDeploymentViaAPI code that respects IMAGE_PULL_POLICY_FOR_QUAY_IO.

User request: look at this PR #18867
we need to add prefetcher to gke-nongroovy-compatibility-tests

Code changes developed with AI assistance.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@janisz
Copy link
Contributor Author

janisz commented Mar 5, 2026

/test gke-nongroovy-compatibility-tests

@rhacs-bot
Copy link
Contributor

rhacs-bot commented Mar 5, 2026

Images are ready for the commit at ac9bd70.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.11.x-248-gac9bd7006e.

Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
@janisz
Copy link
Contributor Author

janisz commented Mar 5, 2026

/test gke-nongroovy-compatibility-tests

@codecov
Copy link

codecov bot commented Mar 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 49.62%. Comparing base (092168e) to head (ac9bd70).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #19306      +/-   ##
==========================================
- Coverage   49.62%   49.62%   -0.01%     
==========================================
  Files        2680     2680              
  Lines      202231   202231              
==========================================
- Hits       100366   100363       -3     
- Misses      94379    94383       +4     
+ Partials     7486     7485       -1     
Flag Coverage Δ
go-unit-tests 49.62% <ø> (-0.01%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 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.

@openshift-ci
Copy link

openshift-ci bot commented Mar 5, 2026

@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-scanner-v4-install-tests ac9bd70 link false /test gke-scanner-v4-install-tests
ci/prow/ocp-4-20-operator-e2e-tests ac9bd70 link false /test ocp-4-20-operator-e2e-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.

@janisz
Copy link
Contributor Author

janisz commented Mar 5, 2026

/retest

@janisz janisz requested a review from mtodor March 5, 2026 14:26
@janisz janisz merged commit 365c5c8 into master Mar 5, 2026
99 of 104 checks passed
@janisz janisz deleted the fix_compatibility_tests branch March 5, 2026 14:49
ksurabhi91 pushed a commit that referenced this pull request Mar 12, 2026
Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants