Skip to content

ROX-13351: Use an image tagged as latest in quay.io/rhacs-eng for DefaultPoliciesTest#4066

Merged
theencee merged 3 commits intomasterfrom
nc/ROX-13351_use_qa_nginx_defaultpoltest
Feb 28, 2023
Merged

ROX-13351: Use an image tagged as latest in quay.io/rhacs-eng for DefaultPoliciesTest#4066
theencee merged 3 commits intomasterfrom
nc/ROX-13351_use_qa_nginx_defaultpoltest

Conversation

@theencee
Copy link
Contributor

@theencee theencee commented Dec 8, 2022

Description

Grabbed a nginx image (nginx:1.22-alpine) and tagged it as qa:latest. This prevents rate limiting or slow down from docker.io from impacting these tests

Checklist

  • Investigated and inspected CI test results
  • Unit test and regression tests added
  • Evaluated and added CHANGELOG entry if required
  • Determined and documented upgrade steps
  • Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.

Testing Performed

this is a test

In addition to reviewing your code, reviewers must also review your testing
instructions and make sure they are sufficient.

@ghost
Copy link

ghost commented Dec 8, 2022

Images are ready for the commit at ee64638.

To use with deploy scripts, first export MAIN_IMAGE_TAG=3.74.x-229-gee646389c3.

@theencee theencee force-pushed the nc/ROX-13351_use_qa_nginx_defaultpoltest branch from 365acec to b34c8a2 Compare December 8, 2022 21:37
@theencee theencee force-pushed the nc/ROX-13351_use_qa_nginx_defaultpoltest branch from b34c8a2 to 6f1c8a0 Compare December 16, 2022 20:03
@theencee theencee force-pushed the nc/ROX-13351_use_qa_nginx_defaultpoltest branch 2 times, most recently from 5b3627f to 5bfbc5d Compare February 7, 2023 03:18
@theencee
Copy link
Contributor Author

/test

@openshift-ci
Copy link

openshift-ci bot commented Feb 21, 2023

@theencee: The /test command needs one or more targets.
The following commands are available to trigger required jobs:

  • /test shell-unit-tests

The following commands are available to trigger optional jobs:

  • /test aro-qa-e2e-tests
  • /test eks-qa-e2e-tests
  • /test gke-kernel-qa-e2e-tests
  • /test gke-nongroovy-e2e-tests
  • /test gke-postgres-nongroovy-e2e-tests
  • /test gke-postgres-qa-e2e-tests
  • /test gke-postgres-scale-tests
  • /test gke-postgres-ui-e2e-tests
  • /test gke-postgres-upgrade-tests
  • /test gke-qa-e2e-tests
  • /test gke-race-condition-qa-e2e-tests
  • /test gke-scale-tests
  • /test gke-ui-e2e-tests
  • /test gke-upgrade-tests
  • /test gke-version-compatibility-tests
  • /test ocp-4-11-operator-e2e-tests
  • /test ocp-4-11-qa-e2e-tests
  • /test ocp-4-12-operator-e2e-tests
  • /test ocp-4-12-qa-e2e-tests
  • /test ocp-4-12-ui-e2e-tests
  • /test ocp-4-6-operator-e2e-tests
  • /test ocp-4-6-qa-e2e-tests
  • /test ocp-4-8-operator-e2e-tests
  • /test ocp-4-8-qa-e2e-tests
  • /test ocp-next-operator-e2e-tests
  • /test ocp-next-qa-e2e-tests
  • /test ocp-next-ui-e2e-tests
  • /test osd-aws-qa-e2e-tests
  • /test osd-gcp-qa-e2e-tests
  • /test rosa-qa-e2e-tests

Use /test all to run the following jobs that were automatically triggered:

  • pull-ci-stackrox-stackrox-master-gke-nongroovy-e2e-tests
  • pull-ci-stackrox-stackrox-master-gke-postgres-nongroovy-e2e-tests
  • pull-ci-stackrox-stackrox-master-gke-postgres-qa-e2e-tests
  • pull-ci-stackrox-stackrox-master-gke-qa-e2e-tests
  • pull-ci-stackrox-stackrox-master-shell-unit-tests
Details

In response to this:

/test

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/test-infra repository.

@theencee
Copy link
Contributor Author

/test gke-postgres-scale-tests

@theencee theencee force-pushed the nc/ROX-13351_use_qa_nginx_defaultpoltest branch from 5bfbc5d to d0a9c09 Compare February 22, 2023 19:56
@theencee
Copy link
Contributor Author

/retest

1 similar comment
@theencee
Copy link
Contributor Author

/retest

@theencee theencee force-pushed the nc/ROX-13351_use_qa_nginx_defaultpoltest branch 2 times, most recently from cbc675b to fda29d1 Compare February 24, 2023 00:09
@theencee
Copy link
Contributor Author

/test gke-postgres-qa-e2e-tests gke-qa-e2e-tests

@theencee theencee force-pushed the nc/ROX-13351_use_qa_nginx_defaultpoltest branch from fda29d1 to cd9c1ac Compare February 24, 2023 04:32
@theencee theencee changed the title ROX-13351: Use nginx image from quay.io/rhacs-eng/qa for DefaultPoliciesTest ROX-13351: Use an image tagged as latest in quay.io/rhacs-eng for DefaultPoliciesTest Feb 24, 2023
@theencee
Copy link
Contributor Author

/test gke-postgres-qa-e2e-tests gke-qa-e2e-tests

1 similar comment
@theencee
Copy link
Contributor Author

/test gke-postgres-qa-e2e-tests gke-qa-e2e-tests

@theencee theencee force-pushed the nc/ROX-13351_use_qa_nginx_defaultpoltest branch from cd9c1ac to be74716 Compare February 28, 2023 09:38
@theencee theencee merged commit 2c06ecb into master Feb 28, 2023
@theencee theencee deleted the nc/ROX-13351_use_qa_nginx_defaultpoltest branch February 28, 2023 19:15
janisz added a commit that referenced this pull request Feb 13, 2026
User request: Fix multi-arch image loading issue in PR #18867 where Kind
fails to load images with error "content digest not found" for arm64 layers.

Problem: kind load docker-image uses docker save and ctr images import
--all-platforms internally. When docker pull fetches multi-arch images, even
with --platform flag, docker save includes manifest index references. The ctr
import then fails because arm64 layers referenced in the manifest aren't present.

Solution: Bypass "kind load docker-image" entirely by pulling images directly
inside the Kind node using ctr. This avoids the docker save/import dance and
the --all-platforms issue.

Approach:
1. Use docker exec to run ctr inside the Kind node
2. Pull with --platform linux/amd64 to get only the needed variant
3. Pass quay.io credentials via --user flag to ctr

This is a recommended workaround from kubernetes-sigs/kind issues #3795, #3845,
and #4066, which document this as a known issue with Docker 29 and containerd.

References:
- kubernetes-sigs/kind#4066
- kubernetes-sigs/kind#3845
- kubernetes-sigs/kind#3795

Code changes developed with AI assistance.

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.

2 participants