exec: "xz": executable file not found in $PATH
Summary
gitlab-ci:latest is running in a container with a docker executor (docker:latest)
It looks like the docker:latest couldn't create the temporary volume because the xz binary isn't installed (somewhere).
I did work around the issue by manually pulling the image - found the image it was looking for in a debug log, but not sure how long that version will be good for...
rancher@node-15:~$ docker pull gitlab/gitlab-runner-helper:x86_64-f018144
x86_64-f018144: Pulling from gitlab/gitlab-runner-helper
675bba5f9ef4: Pull complete
Digest: sha256:5b3e63755fd7156719db3bce310b398ba4f78ae3a36e3e4fefc1fb5f35aa4302
Status: Downloaded newer image for gitlab/gitlab-runner-helper:x86_64-f018144
Steps to reproduce
Unclear what is the relevant configuration - all my hosts showed the behavior out of the box.
My hosts are running RancherOS - there is no xz binary in the host, but I was running gitlab-runner as a container
rancher@node-15:~$ docker ps | grep gitlab
aab96d441455 gitlab/gitlab-runner:alpine "/usr/bin/dumb-ini..." 27 hours ago Up 22 minutes gitlab-ci
I'm guessing if I used the gitlab-runner:ubuntu that it would work ?
Actual behavior
Build exits out due to missing image
Expected behavior
I expected the images to be pulled successfully
Relevant logs and/or screenshots
Starting multi-runner from /etc/gitlab-runner/config.toml ... builds=0
Running in system-mode.
Configuration loaded builds=0
Metrics server disabled
Checking for jobs... received job=212 repo_url=http://gitlab.us.example.com/roffer/images.git runner=e626148c
ERROR: Failed to create container volume for /builds/roffer Failed to import image: Error response from daemon: exec: "xz": executable file not found in $PATH job=212 project=19 runner=e626148c
WARNING: Preparation failed: Failed to import image: Error response from daemon: exec: "xz": executable file not found in $PATH job=212 project=19 runner=e626148c
Will be retried in 3s ... job=212 project=19 runner=e626148c
ERROR: Failed to create container volume for /builds/roffer Failed to import image: Error response from daemon: exec: "xz": executable file not found in $PATH job=212 project=19 runner=e626148c
WARNING: Preparation failed: Failed to import image: Error response from daemon: exec: "xz": executable file not found in $PATH job=212 project=19 runner=e626148c
Will be retried in 3s ... job=212 project=19 runner=e626148c
ERROR: Failed to create container volume for /builds/roffer Failed to import image: Error response from daemon: exec: "xz": executable file not found in $PATH job=212 project=19 runner=e626148c
WARNING: Preparation failed: Failed to import image: Error response from daemon: exec: "xz": executable file not found in $PATH job=212 project=19 runner=e626148c
Will be retried in 3s ... job=212 project=19 runner=e626148c
ERROR: Job failed (system failure): Failed to import image: Error response from daemon: exec: "xz": executable file not found in $PATH job=212 project=19 runner=e626148c
Environment description
Share docker runner on private environment
Used GitLab Runner version
Running with gitlab-ci-multi-runner 9.2.1 (f018144)
on shared-docker@node-15.node.us.farm.example.com (f9ff8840)
Using Docker executor with image docker:latest ...
ERROR: Failed to create container volume for /builds/roffer Failed to import image: Error response from daemon: exec: "xz": executable file not found in $PATH
ERROR: Preparation failed: Failed to import image: Error response from daemon: exec: "xz": executable file not found in $PATH
Will be retried in 3s ...
Using Docker executor with image docker:latest ...
REPOSITORY TAG IMAGE ID CREATED SIZE
gitlab/gitlab-runner-helper x86_64-f018144 2f558417c898 32 hours ago 42.6 MB
gitlab/gitlab-runner alpine 21a94369e206 32 hours ago 129 MB
docker dind 3d9e404d202f 3 days ago 99.6 MB
docker latest 5f7d28a50502 3 days ago 94 MB