Skip to content

testing: Use GCR image to prevent Docker Hub rate limits #16489

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 16, 2023

Conversation

spowelljr
Copy link
Member

Some of our CI machines are running into rate limiting pulling images from Docker Hub. Change images to pull from GCR instead.

#3 ERROR: failed to copy: httpReadSeeker: failed open: unexpected status code https://registry-1.docker.io/v2/library/alpine/manifests/sha256:b5a5b7ce4eabc8414bf367761a28f4e8b16952ce5de537c15ed917b71b245f11: 429 Too Many Requests - Server message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels May 11, 2023
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 11, 2023
@medyagh
Copy link
Member

medyagh commented May 11, 2023

/ok-to-test

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: medyagh, spowelljr

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label May 11, 2023
@minikube-pr-bot
Copy link

kvm2 driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 16489) |
+----------------+----------+---------------------+
| minikube start | 52.3s    | 53.2s               |
| enable ingress | 28.1s    | 28.6s               |
+----------------+----------+---------------------+

Times for minikube start: 53.0s 49.9s 53.0s 53.1s 52.5s
Times for minikube (PR 16489) start: 52.3s 52.2s 54.8s 54.6s 52.0s

Times for minikube ingress: 27.7s 28.3s 27.7s 28.8s 28.2s
Times for minikube (PR 16489) ingress: 29.3s 29.2s 28.6s 28.2s 27.7s

docker driver with docker runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 16489) |
+----------------+----------+---------------------+
| minikube start | 22.4s    | 24.3s               |
| enable ingress | 21.5s    | 21.2s               |
+----------------+----------+---------------------+

Times for minikube start: 21.4s 21.8s 23.6s 22.7s 22.5s
Times for minikube (PR 16489) start: 25.0s 24.7s 21.5s 25.0s 25.5s

Times for minikube ingress: 21.9s 22.4s 21.4s 20.8s 20.9s
Times for minikube (PR 16489) ingress: 21.4s 21.4s 21.9s 21.4s 19.9s

docker driver with containerd runtime

+----------------+----------+---------------------+
|    COMMAND     | MINIKUBE | MINIKUBE (PR 16489) |
+----------------+----------+---------------------+
| minikube start | 21.3s    | 21.6s               |
| enable ingress | 25.6s    | 28.0s               |
+----------------+----------+---------------------+

Times for minikube (PR 16489) start: 23.7s 22.4s 20.9s 20.6s 20.4s
Times for minikube start: 20.1s 22.7s 20.5s 21.3s 21.7s

Times for minikube ingress: 31.3s 18.4s 32.4s 19.4s 26.4s
Times for minikube (PR 16489) ingress: 25.4s 31.4s 31.4s 20.4s 31.4s

@minikube-pr-bot
Copy link

These are the flake rates of all failed tests.

Environment Failed Tests Flake Rate (%)
Docker_Linux TestFunctional/parallel/MountCmd/specific-port (gopogh) 0.00 (chart)
Docker_macOS TestFunctional/parallel/TunnelCmd/serial/AccessDirect (gopogh) 0.00 (chart)
Docker_macOS TestFunctional/parallel/TunnelCmd/serial/WaitService/Setup (gopogh) 0.00 (chart)
QEMU_macOS TestImageBuild/serial/BuildWithBuildArg (gopogh) 0.00 (chart)
Docker_Linux_crio_arm64 TestAddons/parallel/CSI (gopogh) 0.68 (chart)
Docker_macOS TestFunctional/parallel/PersistentVolumeClaim (gopogh) 0.74 (chart)
Docker_macOS TestAddons/parallel/CSI (gopogh) 0.75 (chart)
Docker_macOS TestFunctional/parallel/DashboardCmd (gopogh) 1.48 (chart)
Docker_Linux_crio_arm64 TestFunctional/parallel/TunnelCmd/serial/AccessDirect (gopogh) 2.72 (chart)
Docker_Linux_crio_arm64 TestFunctional/parallel/TunnelCmd/serial/WaitService/Setup (gopogh) 2.72 (chart)
Docker_Linux_docker_arm64 TestPause/serial/SecondStartNoReconfiguration (gopogh) 3.90 (chart)
QEMU_macOS TestJSONOutput/pause/Command (gopogh) 6.21 (chart)
QEMU_macOS TestJSONOutput/start/Command (gopogh) 6.21 (chart)
QEMU_macOS TestJSONOutput/unpause/Command (gopogh) 6.21 (chart)
Docker_Linux_docker_arm64 TestFunctional/parallel/DashboardCmd (gopogh) 6.49 (chart)
Docker_Linux_crio_arm64 TestFunctional/parallel/PersistentVolumeClaim (gopogh) 7.48 (chart)
KVM_Linux TestErrorSpam/setup (gopogh) 9.68 (chart)
Hyperkit_macOS TestRunningBinaryUpgrade (gopogh) 9.79 (chart)
KVM_Linux TestPause/serial/SecondStartNoReconfiguration (gopogh) 13.64 (chart)
KVM_Linux TestMultiNode/serial/StartAfterStop (gopogh) 15.48 (chart)
Docker_Linux_crio_arm64 TestFunctional/parallel/DashboardCmd (gopogh) 19.73 (chart)
Hyper-V_Windows TestPause/serial/SecondStartNoReconfiguration (gopogh) 24.73 (chart)
Hyper-V_Windows TestNoKubernetes/serial/StartWithK8s (gopogh) 44.09 (chart)

To see the flake rates of all tests by environment, click here.

@medyagh medyagh merged commit dca5e63 into kubernetes:master May 16, 2023
@spowelljr spowelljr deleted the useGCRRegistry branch May 16, 2023 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants