Page MenuHomePhabricator

Building tool fails with docker TOOMANYREQUESTS
Closed, DuplicatePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Running build service for ac2wd tool as usual

What happens?:

[step-copy-stack-toml] 2024-07-11T16:20:13.377932508Z 2024/07/11 16:20:13 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/tekton/home": unable to open destination: open /tekton/home/.docker/config.json: permission denied
[step-detect] 2024-07-11T16:20:24.840967142Z Warning: no analyzed metadata found at path '/layers/analyzed.toml'
[step-detect] 2024-07-11T16:20:24.964242739Z 2 of 4 buildpacks participating
[step-detect] 2024-07-11T16:20:24.964296644Z emk/rust        0.1
[step-detect] 2024-07-11T16:20:24.964312050Z heroku/procfile 2.0.2
[step-analyze] 2024-07-11T16:20:14.212509467Z 2024/07/11 16:20:14 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/tekton/home": unable to open destination: open /tekton/home/.docker/config.json: permission denied
[step-analyze] 2024-07-11T16:20:26.154085574Z ERROR: failed to initialize analyzer: getting run image: connect to repo store "heroku/heroku:22-cnb": GET https://index.docker.io/v2/heroku/heroku/manifests/22-cnb: TOOMANYREQUESTS: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
[step-restore] 2024-07-11T16:20:14.702301766Z 2024/07/11 16:20:14 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/tekton/home": unable to open destination: open /tekton/home/.docker/config.json: permission denied
[step-restore] 2024-07-11T16:20:26.714917998Z 2024/07/11 16:20:26 Skipping step because a previous step failed
[step-build] 2024-07-11T16:20:27.153700633Z 2024/07/11 16:20:27 Skipping step because a previous step failed
[step-fix-nested-procfile-launcher] 2024-07-11T16:20:27.360194113Z 2024/07/11 16:20:27 Skipping step because a previous step failed
[step-fix-permissions] 2024-07-11T16:20:27.516714584Z 2024/07/11 16:20:27 Skipping step because a previous step failed
[step-export] 2024-07-11T16:20:15.962643416Z 2024/07/11 16:20:15 warning: unsuccessful cred copy: ".docker" from "/tekton/creds" to "/tekton/home": unable to open destination: open /tekton/home/.docker/config.json: permission denied
[step-export] 2024-07-11T16:20:27.977210894Z 2024/07/11 16:20:27 Skipping step because a previous step failed
[step-results] 2024-07-11T16:20:28.124028329Z 2024/07/11 16:20:28 Skipping step because a previous step failed

What should have happened instead?:
Building my tool.

Event Timeline

Silly question: Why don't we host the Docker images in the gitlab repo container service at https://gitlab.wikimedia.org?

Silly question: Why don't we host the Docker images in the gitlab repo container service at https://gitlab.wikimedia.org?

We actually do host the needed images in another docker registry service that is managed by Toolforge admins. There was a bug however where those locally maintained copies were not being used at runtime.