OSX runner: pending jobs
I have Gitlab (configured as a docker container) with two runners.
- Windows 10 runner (version 1.6) works well
- OSX 10.12 runner (version 1.6) ends up with pending jobs
osx-build-agent:~ buildagent$ gitlab-ci-multi-runner --version
Version: 1.6.0
Git revision: 01b3ea1
Git branch: 1-6-stable
GO version: go1.6.3
Built: Thu, 22 Sep 2016 17:47:32 +0000
OS/Arch: darwin/amd64
The OSX runner is installed to run under special user (registered and installed not with sudo
). SSH key is registered as deployment key. Registration was successfull. If new job for this runner is there, this job pending all the time. Only if I execute gitlab-ci-multi-runner restart
on the runner host the job starts. The next job pending again.
The runner seems to be alive:
osx-build-agent:~ buildagent$ gitlab-ci-multi-runner verify
WARNING: Running in user-mode.
WARNING: Use sudo for system-mode:
WARNING: $ sudo gitlab-runner...
WARNING: No TLS connection state
Verifying runner... is alive runner=6bxxxxxx
On the admin runner page the Last contact is sometimes over 12 hours.
The agent configuration looks like this:
concurrent = 1
check_interval = 0
[[runners]]
name = "macOS Build Agent"
url = "http://<gitlab-instance-url>/ci"
token = "6bxxxxxxxxxxxxxxxxxxxxx"
executor = "shell"
pre_build_script = "export PATH=$PATH:/Users/buildagent/Library/Android/sdk/build-tools/24.0.2"
[runners.ssh]
[runners.docker]
tls_verify = false
image = ""
privileged = false
disable_cache = false
[runners.parallels]
base_name = ""
disable_snapshots = false
[runners.virtualbox]
base_name = ""
disable_snapshots = false
[runners.cache]
[runners.kubernetes]
host = ""
cert_file = ""
key_file = ""
ca_file = ""
image = ""
namespace = ""
privileged = false
cpus = ""
memory = ""
service_cpus = ""
service_memory = ""