Job stuck due to no active runners, but I have, what is wrong?

Describe your question in as much detail as possible:

I have a spring cloud project and I put all modules in a group when uploading it to “” using git.

I have installed a gitlab runner in a VPS and previously I was using another public gitlab repository(not for hosting my project and I have assigned a tag “xinrui-group” for it, it works fine.

For “”, I register a group tag for it which is “xinrui-group-intl”, so my gitlab-runner has three tags:

        [root@myxinrui ~]# gitlab-runner list
    Runtime platform                                    arch=amd64 os=linux pid=124951 revision=ac8e767a version=12.6.0
    Listing configured runners                          ConfigFile=/etc/gitlab-runner/config.toml
    xinrui                                              Executor=shell Token=*** URL=https://gitlab.**.jp/                                 
    xinrui-group                                        Executor=shell Token=**** URL=https://gitlab.**.jp/                                   
    xinrui-group-intl                                   Executor=shell Token=**** URL=

and gitlab-runner verify shows that they are all alive, gitlab-runner status shows it is running.

in my gitlab-ci.yml, I have put

    - xinrui-group
    - xinrui-group-intl

and on the CI/CD page, it shows the runner is active

but my job stucks, the error info says:

This job is stuck, because you don’t have any active runners that can run this job.

what is wrong?

gitlab-runner version:

Version:      12.6.0
Git revision: ac8e767a
Git branch:   12-6-stable
GO version:   go1.13.4
Built:        2019-12-22T11:55:34+0000
OS/Arch:      linux/amd64 

BTW: it is strange that when I stop my gitlab runner for a long time, the gitlab CI/CD page still show it is active

You have set two tags in the gitlab-ci-yml, so the CI job that has those two tags will only run on a runner that has both tags. It doesn’t work as “run on any runner that has any of these two tags”, but rather run on any runner that has both of these tags".

Since you said that you migrated your project to, and I can see that the only runner that is registered for “” is the one with the xinrui-group-intl tag, I think that if you remove the xinrui-group tag from the tags list and you only have the xinrui-group-intl tag set, your job will be run just fine.

Report back if this fixed your issue and please mark this reply as the solution if it did.

Kind regards.

Also, plea


it works, thanks!


Thanks @aljaxus for providing a solution! :blush:

1 Like