Error during cache creation while running CI job
Summary
Gitlab runner running on Ubuntu 18.04 with a docker version 18.09.6, build 481bc77. After updating it to version 11.11.2 (ac2a293c) I'm receiving the following error when I start a new CI pipeline:
Running with gitlab-runner 11.11.2 (ac2a293c)
on AB1361 8CnrqbEt
Using Docker executor with image *** ...
Pulling docker image *** ...
Using docker image sha256:*** for *** ...
ERROR: Job failed (system failure): Error response from daemon: create cache/runner-8CnrqbEt-project-304-concurrent-0/3c3f060a0374fc8bc39395164f415a70: "cache/runner-8CnrqbEt-project-304-concurrent-0/3c3f060a0374fc8bc39395164f415a70" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path (executor_docker.go:729:0s)
Steps to reproduce
Gitlab runner on a server with the following software:
- Ubuntu 18.04,
- Docker v.18.09.6 build 481bc77,
- Gitlab runner v.11.11.2 (ac2a293c)
With the following gitlab-runner configuration:
concurrent = 4
check_interval = 0
[session_server]
session_timeout = 1800
[[runners]]
name = "AB1361"
url = ***
token = ***
executor = "docker"
[runners.docker]
tls_verify = false
image = "alpine:3.9"
privileged = true
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
cache_dir = "cache"
volumes = ["/var/run/docker.sock:/var/run/docker.sock", "/cache", "/data/test-files:/data/test-files:rw", "/var/www/selenium-reports:/data/reports:rw"]
shm_size = 0
[runners.cache]
[runners.cache.s3]
[runners.cache.gcs]
What is the current bug behavior?
CI jobs are not passing. They fail just after start during cache creation attempt.
What is the expected correct behavior?
CI jobs should pass.
Relevant logs and/or screenshots
Running with gitlab-runner 11.11.2 (ac2a293c)
on AB1361 8CnrqbEt
Using Docker executor with image *** ...
Pulling docker image *** ...
Using docker image sha256:*** for *** ...
ERROR: Job failed (system failure): Error response from daemon: create cache/runner-8CnrqbEt-project-304-concurrent-0/3c3f060a0374fc8bc39395164f415a70: "cache/runner-8CnrqbEt-project-304-concurrent-0/3c3f060a0374fc8bc39395164f415a70" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path (executor_docker.go:729:0s)
gitlab-ce~2278648
Edited by Michal Solarz