ROX-33453: Add prefetcher for gke-nongroovy-compatibility-tests - #19306
Conversation
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>
|
/test gke-compatibility |
|
/test gke-nongroovy-compatibility-tests |
|
/test gke-nongroovy-compatibility-tests |
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>
|
/test gke-nongroovy-compatibility-tests |
|
Images are ready for the commit at ac9bd70. To use with deploy scripts, first |
|
/test gke-nongroovy-compatibility-tests |
Codecov Report✅ All modified and coverable lines are covered by tests. 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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@janisz: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions 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. |
|
/retest |
Signed-off-by: Tomasz Janiszewski <tomek@redhat.com> Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
|
The backport to To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-release-4.10 release-4.10
# Navigate to the new working tree
cd .worktrees/backport-release-4.10
# Create a new branch
git switch --create backport-19306-to-release-4.10
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 365c5c84ba00d6e52bb67bc9052f767f4403299c
# Push it to GitHub
git push --set-upstream origin backport-19306-to-release-4.10
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-release-4.10Then, create a pull request where the |
…y tests The previous commit added prefetcher start/await cases for *compatibility-tests jobs but missed adding the corresponding cases in populate_prefetcher_image_list(), causing it to call die() with "unsupported image prefetcher target" and exit 1 before the GKE cluster was even provisioned. Add nongroovy-compatibility and compatibility cases, pointing to the same images-to-prefetch.txt files used by the analogous e2e test jobs. Matches the fix in master (PR #19306). Partially generated with AI assistance.
Description
Adds image prefetching support for compatibility tests to avoid Docker Hub rate limits, following the same pattern as PR #18867 and #17216.
Changes:
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
Automated testing
How I validated my change
change me!