Hello GitLab community!
I have a pipeline which is configured to retry failing jobs. That was working perfect for a long time, but last few weeks we observed that something changed. So if job failed on pipeline it’s pending with an information
This job is in pending state and is waiting to be picked by a runner
We created a couple of runners as we thought that’s problem with lack of them, but it’s not. Only pending jobs are these with retry option. I configure retry using configuration below
.runner_tags: &runner_tags
image: ${ANSIBLE_DOCKER_IMAGE}:${ANSIBLE_DOCKER_TAG}
retry: 1
extends: .ansible_run_tags
I’m using public GitLab with my custom runners (docker type). One additional note: I can prove that, but I think the pending time is related with time how long failing job took.
I hope someone can help me to find solution. It’s annoying as we execute these pipelines using API and other process waits until pipeline is finished with some timeout. So pipeline is running but main process returns it took too long