My job took over one hour while pulling the image
Describe your question in as much detail as possible:
- What are you seeing, and how does that differ from what you expect to see?
I have a pipeline with 3 jobs that usually takes around 3, to 4 minutos to complete. Today, after one of my commits, the last job got stuck in the pulling image state and took almost 2 hours to stop, consuming all my CI/CD quota for the month.
- Consider including screenshots, error messages, and/or other helpful visuals
I have this in my log:
Running with gitlab-runner 14.8.0~beta.44.g57df0d52 (57df0d52)
on blue-3.shared.runners-manager.gitlab.com/default zxwgkjAP
Preparing the “docker+machine” executor00:03
Using Docker executor with image amazon/aws-cli …
Authenticating with credentials from job payload (GitLab Registry)
Pulling docker image registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-57df0d52 …
WARNING: Failed to pull image with policy “always”: Post “https://10.10.34.179:2376/v1.25/images/create?fromImage=registry.gitlab.com%2Fgitlab-org%2Fgitlab-runner%2Fgitlab-runner-helper&tag=x86_64-57df0d52”: context canceled (manager.go:203:0s)
ERROR: Job failed: failed to pull image “registry.gitlab.com/gitlab-org/gitlab-runner/gitlab-runner-helper:x86_64-57df0d52” with specified policies [always]: Post “https://10.10.34.179:2376/v1.25/images/create?fromImage=registry.gitlab.com%2Fgitlab-org%2Fgitlab-runner%2Fgitlab-runner-helper&tag=x86_64-57df0d52”: context canceled (manager.go:203:0s)
- What version are you on? Are you using self-managed or GitLab.com?
I’m using https://gitlab.com/
- Add the CI configuration from
.gitlab-ci.yml
and other configuration if relevant (e.g. docker-compose.yml)
I don’t think that the whole yml is relevant, since my script not even started. But that job is using the amazon/aws-cli
image.
- What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?
None, I don’t think that was my falt, since the fail was while pulling from gitlab.com registry. Also, minutes later that commit, I’ve done another one that passed within 4 minutes.
So, what I do about my quota?