Failed to create cache
Summary
The cache failed to create.
Steps to reproduce
Trigger a build job with configured cache.
Actual behavior
The build succeeds but the cache can not be created.
Expected behavior
The cache can be created.
Relevant logs and/or screenshots
build log:
Version: 1.8.1
Git revision: a2efdd4
Git branch: 1-8-stable
GO version: go1.7.3
Built: Tue, 29 Nov 2016 13:53:55 +0000
OS/Arch: windows/386
Creating cache Build...
Failed to create cache
Version: 1.8.1
Git revision: a2efdd4
Git branch: 1-8-stable
GO version: go1.7.3
Built: Tue, 29 Nov 2016 13:53:55 +0000
OS/Arch: windows/386
Uploading artifacts...
tests/**/bin/**/*: found 780 matching files
Uploading artifacts to coordinator... ok id=6388 responseStatus=201 Created token=DF7-JDKR
Build succeeded
gitlab-ci.yml:
stages:
- build
- test
.artifacts_template: &artifacts_definition
artifacts:
name: "${CI_PIPELINE_ID}_${CI_BUILD_REF}"
paths:
- tests/**/bin/**/*
expire_in: 10 min
Build:
stage: build
script:
- ./build.ps1 -Target Build
cache:
key: "${CI_BUILD_NAME}"
paths:
- packages/
- tools/
<<: *artifacts_definition
tags:
- DevExpress:16.1.7
xUnit:
stage: test
script:
- ./build.ps1 -Target Test
cache:
key: "${CI_BUILD_NAME}"
paths:
- tools/
Environment description
- Windows 10 with all current available updates.
- Executor: Shell
- Shell: Powershell
Used GitLab Runner version
Version: 1.8.1
Git revision: a2efdd4
Git branch: 1-8-stable
GO version: go1.7.3
Built: Tue, 29 Nov 2016 13:53:55 +0000
OS/Arch: windows/386
Additional
Complete Build log of both named stages: Stage: build
Running with gitlab-ci-multi-runner 1.8.1 (a2efdd4)
Using Shell executor...
Running on GIT02...
Fetching changes...
Removing packages/
Removing tools/
HEAD is now at 85f3c26 Merge branch 'update-engine' into 'master'
From https://git.nsc-gmbh.de/patrick.sadowski/ACX.Suite
* [new branch] remove-measurement-layer -> origin/remove-measurement-layer
Checking out 5aa2e304 as remove-measurement-layer...
Version: 1.8.1
Git revision: a2efdd4
Git branch: 1-8-stable
GO version: go1.7.3
Built: Tue, 29 Nov 2016 13:53:55 +0000
OS/Arch: windows/386
Checking cache for Build...
Successfully extracted cache
$ ./build.ps1 -Target Build
******************* buildscript output *******************
Version: 1.8.1
Git revision: a2efdd4
Git branch: 1-8-stable
GO version: go1.7.3
Built: Tue, 29 Nov 2016 13:53:55 +0000
OS/Arch: windows/386
Creating cache Build...
Failed to create cache
Version: 1.8.1
Git revision: a2efdd4
Git branch: 1-8-stable
GO version: go1.7.3
Built: Tue, 29 Nov 2016 13:53:55 +0000
OS/Arch: windows/386
Uploading artifacts...
tests/**/bin/**/*: found 780 matching files
Uploading artifacts to coordinator... ok id=6388 responseStatus=201 Created token=DF7-JDKR
Build succeeded
Stage: Test
Running with gitlab-ci-multi-runner 1.8.1 (a2efdd4)
Using Shell executor...
Running on GIT03...
Fetching changes...
Removing artifacts/
Removing tools/
HEAD is now at 85f3c26 Merge branch 'update-engine' into 'master'
Checking out 5aa2e304 as remove-measurement-layer...
Version: 1.8.1
Git revision: a2efdd4
Git branch: 1-8-stable
GO version: go1.7.3
Built: Tue, 29 Nov 2016 13:53:55 +0000
OS/Arch: windows/386
Checking cache for xUnit...
Successfully extracted cache
Version: 1.8.1
Git revision: a2efdd4
Git branch: 1-8-stable
GO version: go1.7.3
Built: Tue, 29 Nov 2016 13:53:55 +0000
OS/Arch: windows/386
Downloading artifacts for Build (6388)...
Downloading artifacts from coordinator... ok id=6388 responseStatus=200 OK token=DF7-JDKR
$ ./build.ps1 -Target Test
******************* buildscript output *******************
Version: 1.8.1
Git revision: a2efdd4
Git branch: 1-8-stable
GO version: go1.7.3
Built: Tue, 29 Nov 2016 13:53:55 +0000
OS/Arch: windows/386
Creating cache xUnit...
Failed to create cache
Build succeeded