Job that uses docker-windows image fails to prepare the executor in 12.6.0, but it worked fine in 12.5.0
After upgrading my Windows 10 machine's GitLab Runner service from 12.5.0 to 12.6.0, I get a
Job failed: exit code 2 error when the pipeline tries to prepare the executor image. Still works fine with 12.5.0.
Steps to reproduce
With GitLab-Runner 12.6.0 configured for docker-windows, run the pipeline on the
docker-windows-alt-bld-dir branch of:
stages: - build before_script: - cmake --version - conan --version - conan remote add conan https://api.bintray.com/conan/stever/conan windows: image: docker-windows-build:win1809_amd64-vs2019-16.4 stage: build script: - .\build_windows.bat artifacts: paths: - C:\build_windows\_package\*.zip tags: - windows-docker
Job failed: exit code 2
The pipeline runs, passes, and posts
Job succeeded in the pipeline log.
Relevant logs and/or screenshots
[0KRunning with gitlab-runner 12.6.0 (ac8e767a) [0;m[0K on Windows 10 Docker phMNgCTB [0;msection_start:1577320447:prepare_executor [0K[0KUsing Docker executor with image docker-windows-build:win1809_amd64-vs2019-16.4 ... [0;msection_end:1577320450:prepare_executor [0K[31;1mERROR: Job failed: exit code 2 [0;m
I'm running GitLab Runner on my own Windows 10 64-bit 1809 machine. Running Docker Desktop Community 184.108.40.206 (40693) with Engine 19.03.5
concurrent = 1 check_interval = 0 [session_server] session_timeout = 1800 [[runners]] name = "Windows 10 New" url = "https://gitlab.com/" token = "xxxxxxxx" executor = "shell" shell = "powershell" [runners.cache] [runners.cache.s3] [runners.cache.gcs] [[runners]] name = "Windows 10 Docker" url = "https://gitlab.com/" token = "xxxxxxxx" executor = "docker-windows" [runners.docker] image = "docker-windows-build" memory = "4000m" disable_cache = true pull_policy = "if-not-present"
Used GitLab Runner version
Version: 12.6.0 Git revision: ac8e767a Git branch: 12-6-stable GO version: go1.13.4 Built: 2019-12-22T11:55:34+0000 OS/Arch: windows/amd64
Downgrading to the following version allowed the pipeline to run:
Version: 12.5.0 Git revision: 577f813d Git branch: 12-5-stable GO version: go1.10.8 Built: 2019-11-20T09:14:34+0000 OS/Arch: windows/amd64