Gitlab pipeline status in pending state

Hi,

In Gitlab the pipelines for some reason get into a pending state. I have dedicated a specific - Runner runs jobs to a specific project on CentOS Linux release 7.9.2009 (Core)

System information
System:
Current User: git
Using RVM: no
Ruby Version: 2.7.2p137
Gem Version: 3.1.4
Bundler Version:2.1.4
Rake Version: 13.0.1
Redis Version: 5.0.9
Git Version: 2.29.0
Sidekiq Version:5.2.9
Go Version: unknown

GitLab information
Version: 13.6.3
Revision: 857c6c6a6a9
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: PostgreSQL
DB Version: 11.9

Hardware resources.
[root@gitlab ~]# nproc
4
[root@gitlab ~]# free -h
total used free shared buff/cache available
Mem: 11G 4.5G 473M 515M 6.3G 5.9G
Swap: 5.9G 1.3M 5.9G
[root@gitlab ~]#

Any help will be highly appreciated.

Best Regards,

Kaushal

Does your project-specific Runner configuration specify a tag, and does your CI definition include the tag? Incorrect tagging can lead to jobs remaining in pending state, awaiting a runner that will pick them up.

@hchouraria Thanks for the response. Yes i have enabled tags. Do you want me to share the configuration?

@hchouraria I have attached the screenshot. Please let me know if you need any additional information like configuration files.

Does your job definition (in .gitlab-ci.yml) define these tags with the tags: keyword too?

@hchouraria I have the below list of files when i use find command. I am not sure which one i need to refer.

#find /opt/gitlab -name “.gitlab-ci.yml” -print
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/gitlab-chronic-0.10.5/.gitlab-ci.yml
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/gitlab-exporter-7.1.0/.gitlab-ci.yml
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/gitlab-fog-azure-rm-1.0.0/.gitlab-ci.yml
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/gitlab-labkit-0.13.1/.gitlab-ci.yml
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/gitlab-labkit-0.13.2/.gitlab-ci.yml
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/gitlab-mail_room-0.0.7/.gitlab-ci.yml
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/gitlab-markup-1.7.1/.gitlab-ci.yml
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/gitlab-net-dns-0.9.1/.gitlab-ci.yml
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/gitlab-sidekiq-fetcher-0.5.2/.gitlab-ci.yml
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/gitlab_chronic_duration-0.10.6.2/.gitlab-ci.yml
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/gitlab_omniauth-ldap-2.1.1/.gitlab-ci.yml
/opt/gitlab/embedded/lib/ruby/gems/2.7.0/gems/grape-path-helpers-1.5.0/.gitlab-ci.yml
/opt/gitlab/embedded/service/gitlab-rails/.gitlab-ci.yml
/opt/gitlab/embedded/service/gitlab-shell/.gitlab-ci.yml

Please suggest and let me know if you need any additional information like configuration files. Thanks in Advance.

Best Regards,

Kaushal