[pkg-go] Bug#916256: gitlab-runner fails when it tries to pull docker image gitlab-runner-helper:11.2.0

Daniel Gomez daniel at qtec.com
Wed Dec 12 07:46:28 GMT 2018


Package: gitlab-runner
Version: 11.2.0+dfsg-2
Severity: important

Dear Maintainer,

Summary
-------
gitlab-runner executes docker for the first time it tries to download docker
image gitlab-runner-helper:11.2.0
but it fails because repository does not exists with this tag name.

Related links:
* https://hub.docker.com/r/gitlab/gitlab-runner-helper/tags/

Expected behavior
-----------------
gitlab-runner should be able to find the right tag name of gitlab-runner-
helper.

Error
-----
ERRO[0000] Docker executor: prebuilt image helpers will be loaded from
/var/lib/gitlab-runner.
Running with gitlab-runner 11.2.0 (11.2.0)
Using Docker executor with image registry.gitlab.com/<image>:latest ...
Pulling docker image gitlab-runner-helper:11.2.0 ...
ERROR: Job failed: Error response from daemon: pull access denied for gitlab-
runner-helper, repository does not exist or may require 'docker login'
(executor_docker.go:166:1s)
FATAL: Error response from daemon: pull access denied for gitlab-runner-helper,
repository does not exist or may require 'docker login'
(executor_docker.go:166:1s)

Command
-------
$ gitlab-runner exec docker --docker-volumes $PWD/builds:/builds build

Workaround
----------
Download gitlab-runner-helper 11.2.0 version using x86_64-6d9dd510 tag and
rename it locally.
$ docker run --rm -it gitlab/gitlab-runner-helper:x86_64-6d9dd510
$ docker tag  gitlab/gitlab-runner-helper:x86_64-6d9dd510 gitlab-runner-
helper:11.2.0
Now you can execute:
$ gitlab-runner exec docker --docker-volumes $PWD/builds:/builds build



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gitlab-runner depends on:
ii  adduser          3.118
ii  ca-certificates  20170717
ii  git              1:2.19.2-1
ii  libc6            2.27-8
ii  lsb-base         10.2018112800

Versions of packages gitlab-runner recommends:
ii  cdebootstrap  0.7.7+b1
ii  xz-utils      5.2.2-1.3

Versions of packages gitlab-runner suggests:
ii  docker.io  18.06.1+dfsg1-2

-- Configuration Files:
/etc/gitlab-runner/config.toml [Errno 13] Permission denied: '/etc/gitlab-runner/config.toml'

-- no debconf information



More information about the Pkg-go-maintainers mailing list