Skip to content
Failed

Console Output

Pull request #748 opened
16:53:43 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from 4776595ecb37a2d0a1d39df2a99ff22bafbd7a66
Running in Durability level: PERFORMANCE_OPTIMIZED
Loading library jps@master
Examining docker/jps
Attempting to resolve master as a branch
Resolved master as branch master at revision 26028d2ce48352c9b2c3f496e963b79a4944a426
using credential jps-reader
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/docker/jps.git
 > git init /var/cloudbees-jenkins-distribution/workspace/app_PR-748@libs/jps # timeout=10
Fetching upstream changes from https://github.com/docker/jps.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials GitHub credentials for docker/jps
 > git fetch --no-tags --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master
 > git config remote.origin.url https://github.com/docker/jps.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
 > git config remote.origin.url https://github.com/docker/jps.git # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/docker/jps.git
using GIT_ASKPASS to set credentials GitHub credentials for docker/jps
 > git fetch --no-tags --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master
Checking out Revision 26028d2ce48352c9b2c3f496e963b79a4944a426 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 26028d2ce48352c9b2c3f496e963b79a4944a426
Commit message: "[TAR-1227] Run the sonar container as the current user (#17)"
First time build. Skipping changelog.
[Pipeline] Start of Pipeline
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 1 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] parallel
[Pipeline] { (Branch: Validate)
[Pipeline] { (Branch: Binaries)
[Pipeline] { (Branch: Build Invocation image)
[Pipeline] stage
[Pipeline] { (Validate)
[Pipeline] stage
[Pipeline] { (Binaries)
[Pipeline] stage
[Pipeline] { (Build Invocation image)
[Pipeline] node
[Pipeline] node
[Pipeline] node
Running on ubuntu-1804-overlay2 (i-0b8f88a0266b074fa) in /home/ubuntu/workspace/app_PR-748
[Pipeline] {
Running on ubuntu-1804-overlay2 (i-0f3046e7f8fb058f9) in /home/ubuntu/workspace/app_PR-748
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-748/src/github.com/docker/app
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-748/src/github.com/docker/app
[Pipeline] {
[Pipeline] checkout
[Pipeline] script
[Pipeline] {
using credential docker-jenkins-github-credentials
[Pipeline] checkout
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
using credential docker-jenkins-github-credentials
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-748/src/github.com/docker/app # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/748/head:refs/remotes/origin/PR-748
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-748/src/github.com/docker/app # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/748/head:refs/remotes/origin/PR-748
Fetching without tags
Checking out Revision 4776595ecb37a2d0a1d39df2a99ff22bafbd7a66 (PR-748)
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/748/head:refs/remotes/origin/PR-748 # timeout=10
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/748/head:refs/remotes/origin/PR-748
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4776595ecb37a2d0a1d39df2a99ff22bafbd7a66
Fetching without tags
Commit message: "use relocation map on fixup"
First time build. Skipping changelog.
fatal: bad object 26028d2ce48352c9b2c3f496e963b79a4944a426
Checking out Revision 4776595ecb37a2d0a1d39df2a99ff22bafbd7a66 (PR-748)
Commit message: "use relocation map on fixup"
fatal: bad object 26028d2ce48352c9b2c3f496e963b79a4944a426
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/748/head:refs/remotes/origin/PR-748 # timeout=10
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/748/head:refs/remotes/origin/PR-748
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4776595ecb37a2d0a1d39df2a99ff22bafbd7a66
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ make -f docker.Makefile lint
Linting...
docker build -t docker-app-lint:jenkins-app-PR-748-1 -f Dockerfile.lint .
#2 [internal] load .dockerignore
#2 transferring context: 73B done
#2 DONE 0.0s

#1 [internal] load build definition from Dockerfile.lint
#1 transferring dockerfile: 414B done
#1 DONE 0.0s

#3 [internal] load metadata for docker.io/library/golang:1.12.9-alpine3.10
+ make -f docker.Makefile cli-cross cross e2e-cross tars
docker build --build-arg TAG=jenkins-app-PR-748-1 --build-arg COMMIT=4776595e --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=cli -t docker-app-cli:jenkins-app-PR-748-1 .
#1 [internal] load .dockerignore
#1 transferring context: 73B done
#1 DONE 0.0s

#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 4.18kB done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/dockercore/golang-cross:1.12.9@sh...
#3 DONE 0.0s

#4 [cli-build 1/8] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea...
#4 DONE 0.0s

#6 [cli-build 3/8] WORKDIR /go/src/github.com/docker/cli
#6 CACHED

#7 [cli-build 4/8] RUN git clone https://github.com/docker/cli . && git che...
#7 CACHED

#5 [cli-build 2/8] RUN apt-get install -y -q --no-install-recommends   core...
#5 CACHED

#10 [cli-build 7/8] RUN curl -fL https://download.docker.com/mac/static/stab...
#10 CACHED

#12 [cli 1/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock...
#12 CACHED

#8 [cli-build 5/8] RUN mkdir build
#8 CACHED

#13 [cli 2/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock...
#13 CACHED

#11 [cli-build 8/8] RUN make binary-windows
#11 CACHED

#9 [cli-build 6/8] RUN curl -fL https://download.docker.com/linux/static/st...
#9 CACHED

#14 [cli 3/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock...
#14 CACHED

#15 exporting to client
#15 copying files 35B
#3 DONE 0.2s

#4 [1/5] FROM docker.io/library/golang:1.12.9-alpine3.10@sha256:e0660b4f1e6...
#4 DONE 0.0s

#8 [internal] load build context
#15 copying files 184.16MB 1.2s done
#8 transferring context: 73.71MB 1.4s done
#8 DONE 1.4s

#5 [2/5] RUN apk add --no-cache     curl     git     make     coreutils
#5 CACHED

#6 [3/5] RUN GO111MODULE=on go get     github.com/golangci/golangci-lint/cm...
#6 CACHED

#7 [4/5] WORKDIR /go/src/github.com/docker/app
#7 CACHED

#9 [5/5] COPY . .
#15 DONE 3.1s
docker build --build-arg TAG=jenkins-app-PR-748-1 --build-arg COMMIT=4776595e --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=cross -t docker-app-cross:jenkins-app-PR-748-1 .
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 38B done
#2 DONE 0.0s

#1 [internal] load .dockerignore
#1 transferring context: 34B done
#1 DONE 0.0s

#4 [internal] load metadata for docker.io/dockercore/golang-cross:1.12.9@sh...
#4 DONE 0.0s

#3 [internal] load metadata for docker.io/library/golang:1.13.3
#3 DONE 0.1s

#8 [cli-build 1/8] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea...
#8 DONE 0.0s

#5 [dev 1/9] FROM docker.io/library/golang:1.13.3@sha256:6a693fbaba7dd8d816...
#5 DONE 0.0s

#21 [internal] load build context
#9 DONE 1.8s

#10 exporting to image
#10 exporting layers
#10 exporting layers 0.8s done
#10 writing image sha256:36e0ca8333d1260e332a50b9ef77ffe484b5807cc39dd8b3f19aef0913e437c5 done
#10 naming to docker.io/library/docker-app-lint:jenkins-app-PR-748-1 done
#10 DONE 0.8s
docker run --rm docker-app-lint:jenkins-app-PR-748-1 make lint
#21 transferring context: 73.71MB 1.3s done
#21 DONE 1.4s

#13 [cli-build 6/8] RUN curl -fL https://download.docker.com/linux/static/st...
#13 CACHED

#19 [dev 7/9] RUN GOOS=linux   go build -o /usr/local/bin/test2json-linux   ...
#19 CACHED

#12 [cli-build 5/8] RUN mkdir build
#12 CACHED

#6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom...
#6 CACHED

#17 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele...
#17 CACHED

#9 [cli-build 2/8] RUN apt-get install -y -q --no-install-recommends   core...
#9 CACHED

#7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/
#7 CACHED

#10 [cli-build 3/8] WORKDIR /go/src/github.com/docker/cli
#10 CACHED

#15 [cli-build 8/8] RUN make binary-windows
#15 CACHED

#16 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock...
#16 CACHED

#11 [cli-build 4/8] RUN git clone https://github.com/docker/cli . && git che...
#11 CACHED

#14 [cli-build 7/8] RUN curl -fL https://download.docker.com/mac/static/stab...
#14 CACHED

#18 [dev 6/9] RUN mkdir /go/src/gotest.tools &&   git clone -q https://githu...
#18 CACHED

#20 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 &&   cd /go/src/github.c...
#20 CACHED

#22 [dev 9/9] COPY . .
Linting...
#22 DONE 1.6s

#23 [cross-build 1/1] RUN make TAG=jenkins-app-PR-748-1 cross
#23 1.075 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=4776595e -X github.com/docker/app/internal.Version=jenkins-app-PR-748-1 -X github.com/docker/app/internal.BuildTime=2019-11-15T16:53:59Z" -o bin/docker-app-linux ./cmd/docker-app
Still waiting to schedule task
Waiting for next available executor on ‘ubuntu-1804&&x86_64&&overlay2’
[Pipeline] sh
+ make -f docker.Makefile check-vendor
docker build --build-arg TAG=jenkins-app-PR-748-1 --build-arg COMMIT=4776595e --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-748-1 .
#2 [internal] load .dockerignore
#2 transferring context: 34B done
#2 DONE 0.0s

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 4.18kB done
#1 DONE 0.0s

#4 [internal] load metadata for docker.io/dockercore/golang-cross:1.12.9@sh...
#4 DONE 0.0s

#3 [internal] load metadata for docker.io/library/golang:1.13.3
#3 DONE 0.1s

#8 [cli-build 1/8] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea...
#8 DONE 0.0s

#5 [dev 1/9] FROM docker.io/library/golang:1.13.3@sha256:6a693fbaba7dd8d816...
#5 DONE 0.0s

#21 [internal] load build context
#21 transferring context: 341.96kB 0.2s done
#21 DONE 0.2s

#14 [cli-build 7/8] RUN curl -fL https://download.docker.com/mac/static/stab...
#14 CACHED

#9 [cli-build 2/8] RUN apt-get install -y -q --no-install-recommends   core...
#9 CACHED

#11 [cli-build 4/8] RUN git clone https://github.com/docker/cli . && git che...
#11 CACHED

#18 [dev 6/9] RUN mkdir /go/src/gotest.tools &&   git clone -q https://githu...
#18 CACHED

#16 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock...
#16 CACHED

#7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/
#7 CACHED

#13 [cli-build 6/8] RUN curl -fL https://download.docker.com/linux/static/st...
#13 CACHED

#10 [cli-build 3/8] WORKDIR /go/src/github.com/docker/cli
#10 CACHED

#15 [cli-build 8/8] RUN make binary-windows
#15 CACHED

#17 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele...
#17 CACHED

#6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom...
#6 CACHED

#12 [cli-build 5/8] RUN mkdir build
#12 CACHED

#19 [dev 7/9] RUN GOOS=linux   go build -o /usr/local/bin/test2json-linux   ...
#19 CACHED

#20 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 &&   cd /go/src/github.c...
#20 CACHED

#22 [dev 9/9] COPY . .
#22 DONE 0.7s

#23 exporting to image
#23 exporting layers
#23 exporting layers 0.8s done
#23 writing image sha256:b4d2220757af3caf8d10342fccecaa8febe51e08d97c0bffcdb1b2ce4f98b987 done
#23 naming to docker.io/library/docker-app-dev:jenkins-app-PR-748-1 done
#23 DONE 0.8s
Check Vendoring...
docker run --rm docker-app-dev:jenkins-app-PR-748-1 sh -c "make vendor && hack/check-git-diff vendor"
rm -rf vendor 1>&1
dep ensure -v 
(1/103) Wrote github.com/Azure/go-ansiterm@master
(2/103) Wrote github.com/beorn7/perks@master
(3/103) Wrote github.com/containerd/ttrpc@master
(4/103) Wrote vbom.ml/util@master
(5/103) Wrote github.com/containerd/continuity@master
(6/103) Wrote github.com/Microsoft/go-winio@v0.4.12
(7/103) Wrote github.com/agl/ed25519@master
(8/103) Wrote github.com/containerd/typeurl@master
(9/103) Wrote github.com/containerd/console@master
(10/103) Wrote github.com/containerd/fifo@master
(11/103) Wrote github.com/davecgh/go-spew@v1.1.1
(12/103) Wrote github.com/Masterminds/semver@v1.4.2
(13/103) Wrote github.com/deislabs/cnab-go@v0.7.1-beta1
(14/103) Wrote github.com/docker/docker-credential-helpers@v0.6.1
(15/103) Wrote github.com/docker/go@v1.5.1-1
(16/103) Failed to write github.com/docker/cnab-to-oci (from github.com/eunomie/cnab-to-oci)@relocation-on-fixup
(17/103) Failed to write github.com/docker/buildx@v0.3.1
(18/103) Failed to write github.com/docker/go-events@master
(19/103) Failed to write github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18
(20/103) Failed to write github.com/docker/go-units@v0.3.3
(21/103) Failed to write github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc
(22/103) Failed to write github.com/dustin/go-humanize@v1.0.0
(23/103) Failed to write github.com/globalsign/mgo@master
(24/103) Failed to write github.com/gofrs/flock@v0.7.1
(25/103) Failed to write github.com/docker/go-connections@v0.4.0
(26/103) Failed to write github.com/docker/compose-on-kubernetes@v0.4.21
(27/103) Failed to write github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580
(28/103) Failed to write github.com/coreos/etcd@v3.3.12
(29/103) Failed to write github.com/containerd/containerd@v1.3.0
(30/103) Failed to write github.com/docker/cli@37f9a88c696ae81be14c1697bd083d6421b4933c
(31/103) Failed to write github.com/docker/docker@master
grouped write of manifest, lock and vendor: error while writing out vendor tree: failed to write dep tree: failed to export github.com/docker/cnab-to-oci: fatal: failed to unpack tree object 6ab1f8e40a04d06bf5f13455e404c4dd821dfd8b
: exit status 128
make: *** [Makefile:127: vendor] Error 1
docker.Makefile:111: recipe for target 'check-vendor' failed
make: *** [check-vendor] Error 2
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
Running on ubuntu-1804-overlay2 (i-0b8f88a0266b074fa) in /home/ubuntu/workspace/app_PR-748
[Pipeline] }
[Pipeline] {
[Pipeline] // stage
[Pipeline] }
Failed in branch Validate
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-748/src/github.com/docker/app
[Pipeline] {
[Pipeline] checkout
using credential docker-jenkins-github-credentials
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-748/src/github.com/docker/app # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/748/head:refs/remotes/origin/PR-748
Fetching without tags
Checking out Revision 4776595ecb37a2d0a1d39df2a99ff22bafbd7a66 (PR-748)
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/748/head:refs/remotes/origin/PR-748 # timeout=10
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/748/head:refs/remotes/origin/PR-748
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4776595ecb37a2d0a1d39df2a99ff22bafbd7a66
Commit message: "use relocation map on fixup"
fatal: bad object 26028d2ce48352c9b2c3f496e963b79a4944a426
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ make -f docker.Makefile save-invocation-image
docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-748-1 --build-arg COMMIT=4776595e --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-748-1 .
#2 [internal] load .dockerignore
#2 transferring context: 73B 0.0s done
#2 DONE 0.0s

#1 [internal] load build definition from Dockerfile.invocation-image
#1 transferring dockerfile: 614B 0.0s done
#1 DONE 0.0s

#4 [internal] load metadata for docker.io/library/alpine:3.10.3
#4 DONE 0.0s

#3 [internal] load metadata for docker.io/library/golang:1.13.2
#3 DONE 0.1s

#7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969...
#7 DONE 0.0s

#5 [invocation 1/4] FROM docker.io/library/alpine:3.10.3
#5 DONE 0.0s

#10 [internal] load build context
#10 transferring context: 73.71MB 1.3s done
#10 DONE 1.3s

#8 [build 2/5] RUN apt-get update -qq && apt-get install -y -q --no-install...
#8 CACHED

#9 [build 3/5] WORKDIR /go/src/github.com/docker/app/
#9 CACHED

#11 [build 4/5] COPY . .
#11 DONE 1.3s

#12 [build 5/5] RUN make BUILD_TAG=${BUILD_TAG} TAG=jenkins-app-PR-748-1 bin...
#12 1.194 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=4776595e -X github.com/docker/app/internal.Version=jenkins-app-PR-748-1 -X github.com/docker/app/internal.BuildTime=2019-11-15T16:54:53Z" -o bin/cnab-run ./cmd/cnab-run
#23 55.30 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=4776595e -X github.com/docker/app/internal.Version=jenkins-app-PR-748-1 -X github.com/docker/app/internal.BuildTime=2019-11-15T16:53:59Z" -o bin/docker-app-darwin ./cmd/docker-app
#23 112.7 GOOS=windows CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=4776595e -X github.com/docker/app/internal.Version=jenkins-app-PR-748-1 -X github.com/docker/app/internal.BuildTime=2019-11-15T16:53:59Z" -o bin/docker-app-windows.exe ./cmd/docker-app
#12 DONE 63.7s

#6 [invocation 2/4] RUN apk add --no-cache ca-certificates && adduser -S cn...
#6 CACHED

#13 [invocation 3/4] COPY --from=build /go/src/github.com/docker/app/bin/cna...
#13 DONE 0.2s

#14 [invocation 4/4] WORKDIR /cnab/app
#14 DONE 0.0s

#15 exporting to image
#15 exporting layers
#15 exporting layers 0.2s done
#15 writing image sha256:79c07f143a15fb69386275bbf75e65f62e9686c6382e6a3bb50e42250cc36cc5 done
#15 naming to docker.io/docker/cnab-app-base:jenkins-app-PR-748-1 done
#15 DONE 0.2s
docker save docker/cnab-app-base:jenkins-app-PR-748-1 -o _build/invocation-image.tar
[Pipeline] sh
+ make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-748-1-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag
docker tag docker/cnab-app-base:jenkins-app-PR-748-1 docker/cnab-app-base:jenkins-app-PR-748-1-coverage
docker save docker/cnab-app-base:jenkins-app-PR-748-1-coverage -o _build/coverage-invocation-image.tar
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-748/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] stash
Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-748/1/stashes/invocation-image.tgz
[Pipeline] stash
Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-748/1/stashes/coverage-invocation-image.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-748/src/github.com/docker/app
[Pipeline] {
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-748-1
Untagged: docker/cnab-app-base:jenkins-app-PR-748-1
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-748-1-coverage
Untagged: docker/cnab-app-base:jenkins-app-PR-748-1-coverage
Deleted: sha256:79c07f143a15fb69386275bbf75e65f62e9686c6382e6a3bb50e42250cc36cc5
[Pipeline] }
[Pipeline] // dir
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
#23 DONE 171.9s

#24 [cross 1/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do...
#24 DONE 0.1s

#25 [cross 2/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do...
#25 DONE 0.4s

#26 [cross 3/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do...
#26 DONE 0.2s

#27 exporting to client
#27 copying files 14.95MB 0.1s
#27 copying files 124.41MB 0.8s done
#27 DONE 1.4s
docker build --build-arg TAG=jenkins-app-PR-748-1 --build-arg COMMIT=4776595e --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-748-1  .
#2 [internal] load .dockerignore
#2 transferring context: 34B done
#2 DONE 0.0s

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 38B done
#1 DONE 0.0s

#4 [internal] load metadata for docker.io/dockercore/golang-cross:1.12.9@sh...
#4 DONE 0.0s

#3 [internal] load metadata for docker.io/library/golang:1.13.3
#3 DONE 0.1s

#8 [cli-build 1/8] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea...
#8 DONE 0.0s

#5 [dev 1/9] FROM docker.io/library/golang:1.13.3@sha256:6a693fbaba7dd8d816...
#5 DONE 0.0s

#21 [internal] load build context
#21 transferring context: 341.96kB 0.2s done
#21 DONE 0.2s

#9 [cli-build 2/8] RUN apt-get install -y -q --no-install-recommends   core...
#9 CACHED

#20 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 &&   cd /go/src/github.c...
#20 CACHED

#16 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock...
#16 CACHED

#14 [cli-build 7/8] RUN curl -fL https://download.docker.com/mac/static/stab...
#14 CACHED

#11 [cli-build 4/8] RUN git clone https://github.com/docker/cli . && git che...
#11 CACHED

#18 [dev 6/9] RUN mkdir /go/src/gotest.tools &&   git clone -q https://githu...
#18 CACHED

#10 [cli-build 3/8] WORKDIR /go/src/github.com/docker/cli
#10 CACHED

#6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom...
#6 CACHED

#19 [dev 7/9] RUN GOOS=linux   go build -o /usr/local/bin/test2json-linux   ...
#19 CACHED

#13 [cli-build 6/8] RUN curl -fL https://download.docker.com/linux/static/st...
#13 CACHED

#17 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele...
#17 CACHED

#7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/
#7 CACHED

#15 [cli-build 8/8] RUN make binary-windows
#15 CACHED

#12 [cli-build 5/8] RUN mkdir build
#12 CACHED

#22 [dev 9/9] COPY . .
#22 CACHED

#23 [cross-build 1/1] RUN make TAG=jenkins-app-PR-748-1 cross
#23 CACHED

#24 [e2e-cross-build 1/1] RUN make TAG=jenkins-app-PR-748-1 e2e-cross
#24 0.829 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=4776595e -X github.com/docker/app/internal.Version=jenkins-app-PR-748-1 -X github.com/docker/app/internal.BuildTime=2019-11-15T16:56:53Z" -o bin/docker-app-linux ./cmd/docker-app
#24 4.792 GOOS=linux CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=4776595e -X github.com/docker/app/internal.Version=jenkins-app-PR-748-1 -X github.com/docker/app/internal.BuildTime=2019-11-15T16:56:53Z" -c -o bin/docker-app-e2e-linux ./e2e/
#24 25.73 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=4776595e -X github.com/docker/app/internal.Version=jenkins-app-PR-748-1 -X github.com/docker/app/internal.BuildTime=2019-11-15T16:56:53Z" -o bin/docker-app-darwin ./cmd/docker-app
#24 30.58 GOOS=darwin CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=4776595e -X github.com/docker/app/internal.Version=jenkins-app-PR-748-1 -X github.com/docker/app/internal.BuildTime=2019-11-15T16:56:53Z" -c -o bin/docker-app-e2e-darwin ./e2e/
#24 52.73 GOOS=windows CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=4776595e -X github.com/docker/app/internal.Version=jenkins-app-PR-748-1 -X github.com/docker/app/internal.BuildTime=2019-11-15T16:56:53Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/
#24 DONE 75.4s

#25 [e2e-cross 1/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap...
#25 DONE 0.0s

#26 [e2e-cross 2/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap...
#26 DONE 0.5s

#27 [e2e-cross 3/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap...
#27 DONE 0.2s

#28 [e2e-cross 4/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-lin...
#28 DONE 0.2s

#29 [e2e-cross 5/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-dar...
#29 DONE 0.1s

#30 [e2e-cross 6/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-win...
#30 DONE 0.1s

#31 [e2e-cross 7/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-lin...
#31 DONE 0.2s

#32 [e2e-cross 8/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-dar...
#32 DONE 0.2s

#33 [e2e-cross 9/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-win...
#33 DONE 0.1s

#34 exporting to client
#34 copying files 13.41MB 0.1s
#34 copying files 121.62MB 0.8s done
#34 DONE 1.2s
tar --transform='flags=r;s|docker-app-linux|docker-app-plugin-linux|' -czf bin/docker-app-linux.tar.gz -C bin docker-app-linux
tar czf bin/docker-app-e2e-linux.tar.gz -C bin docker-app-e2e-linux
tar --transform='flags=r;s|docker-app-darwin|docker-app-plugin-darwin|' -czf bin/docker-app-darwin.tar.gz -C bin docker-app-darwin
tar czf bin/docker-app-e2e-darwin.tar.gz -C bin docker-app-e2e-darwin
tar --transform='flags=r;s|docker-app-windows|docker-app-plugin-windows|' -czf bin/docker-app-windows.tar.gz -C bin docker-app-windows.exe
tar czf bin/docker-app-e2e-windows.tar.gz -C bin docker-app-e2e-windows.exe
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-748/src/github.com/docker/app/bin
[Pipeline] {
[Pipeline] stash
Stashed 21 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-748/1/stashes/binaries.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-748/src/github.com/docker/app/e2e
[Pipeline] {
[Pipeline] stash
Stashed 79 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-748/1/stashes/e2e.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-748/src/github.com/docker/app/examples
[Pipeline] {
[Pipeline] stash
Stashed 48 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-748/1/stashes/examples.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-748-1*
+ xargs --no-run-if-empty docker image rm -f
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test)
Stage "Test" skipped due to earlier failure(s)
[Pipeline] parallel
[Pipeline] { (Branch: Coverage)
[Pipeline] { (Branch: Test Linux)
[Pipeline] stage
[Pipeline] { (Coverage)
[Pipeline] stage
[Pipeline] { (Test Linux)
Stage "Coverage" skipped due to earlier failure(s)
[Pipeline] }
Stage "Test Linux" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] // stage
[Pipeline] }
Failed in branch Coverage
[Pipeline] }
Failed in branch Test Linux
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

ERROR: script returned exit code 2
Finished: FAILURE