Skip to content
Failed

Console Output

Pull request #712 updated
13:45:36 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from 0de7446c06ca7525af85b9d76debd24d1557b7bb
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
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > 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
 > 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
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)"
 > git rev-list --no-walk 26028d2ce48352c9b2c3f496e963b79a4944a426 # timeout=10
[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-07ff642b493a6fd39) in /home/ubuntu/workspace/app_PR-712
[Pipeline] {
Running on ubuntu-1804-overlay2 (i-017d74dd5ded14cf0) in /home/ubuntu/workspace/app_PR-712
[Pipeline] {
Running on ubuntu-1804-overlay2 (i-085e6ca4aeae97615) in /home/ubuntu/workspace/app_PR-712
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-712/src/github.com/docker/app
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-712/src/github.com/docker/app
[Pipeline] {
[Pipeline] checkout
[Pipeline] script
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-712/src/github.com/docker/app
[Pipeline] {
using credential docker-jenkins-github-credentials
[Pipeline] checkout
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
[Pipeline] checkout
using credential docker-jenkins-github-credentials
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-712/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/712/head:refs/remotes/origin/PR-712
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-712/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/712/head:refs/remotes/origin/PR-712
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-712/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/712/head:refs/remotes/origin/PR-712
Fetching without tags
Fetching without tags
Checking out Revision 0de7446c06ca7525af85b9d76debd24d1557b7bb (PR-712)
Checking out Revision 0de7446c06ca7525af85b9d76debd24d1557b7bb (PR-712)
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/712/head:refs/remotes/origin/PR-712 # 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/712/head:refs/remotes/origin/PR-712
 > git config core.sparsecheckout # timeout=10
Fetching without tags
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/712/head:refs/remotes/origin/PR-712 # timeout=10
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/712/head:refs/remotes/origin/PR-712 # 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/712/head:refs/remotes/origin/PR-712
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0de7446c06ca7525af85b9d76debd24d1557b7bb
Commit message: "Use docker build output for binaries"
First time build. Skipping changelog.
Commit message: "Use docker build output for binaries"
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
 > git checkout -f 0de7446c06ca7525af85b9d76debd24d1557b7bb
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/712/head:refs/remotes/origin/PR-712
 > git rev-list --no-walk 8bfff442a348605e880d05fcb846baa7f47da257 # timeout=10
+ make -f docker.Makefile save-invocation-image
docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-712-2 --build-arg COMMIT=0de7446c --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-712-2 .
+ make -f docker.Makefile lint
Linting...
docker build -t docker-app-lint:jenkins-app-PR-712-2 -f Dockerfile.lint .
Sending build context to Docker daemon  76.17MB

Step 1/13 : ARG ALPINE_VERSION=3.10.1
Step 2/13 : FROM golang:1.13.0 AS build
1.13.0: Pulling from library/golang
4a56a430b2ba: Pulling fs layer
4b5cacb629f5: Pulling fs layer
14408c8d4f9a: Pulling fs layer
ea67eaa7dd42: Pulling fs layer
a2a2197e145e: Pulling fs layer
36ac8c11a11f: Pulling fs layer
ecd7d9a67e26: Pulling fs layer
a2a2197e145e: Waiting
36ac8c11a11f: Waiting
ecd7d9a67e26: Waiting
ea67eaa7dd42: Waiting
Checking out Revision 0de7446c06ca7525af85b9d76debd24d1557b7bb (PR-712)
Sending build context to Docker daemon  76.17MB

Step 1/8 : ARG ALPINE_VERSION=3.10
Step 2/8 : ARG GO_VERSION=1.12.9
Step 3/8 : FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION}
 ---> e0d646523991
Step 4/8 : RUN apk add --no-cache     curl     git     make     coreutils
 ---> Using cache
 ---> b1333ee6dca0
Step 5/8 : RUN GO111MODULE=on go get     github.com/golangci/golangci-lint/cmd/golangci-lint@v1.16.0     && rm -rf /go/src/* /go/pkg/*
 ---> Using cache
 ---> d46ead191b7e
Step 6/8 : WORKDIR /go/src/github.com/docker/app
 ---> Using cache
 ---> f96285eaa189
Step 7/8 : ENV CGO_ENABLED=0
 ---> Using cache
 ---> c0e41477d61b
Step 8/8 : COPY . .
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 0de7446c06ca7525af85b9d76debd24d1557b7bb
4b5cacb629f5: Verifying Checksum
4b5cacb629f5: Download complete
14408c8d4f9a: Verifying Checksum
14408c8d4f9a: Download complete
Commit message: "Use docker build output for binaries"
4a56a430b2ba: Verifying Checksum
4a56a430b2ba: Download complete
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
a2a2197e145e: Verifying Checksum
a2a2197e145e: Download complete
+ make -f docker.Makefile cli-cross cross e2e-cross tars
docker build --build-arg TAG=jenkins-app-PR-712-2 --build-arg COMMIT=0de7446c --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=cli -t docker-app-cli:jenkins-app-PR-712-2 .
ea67eaa7dd42: Verifying Checksum
ea67eaa7dd42: Download complete
ecd7d9a67e26: Verifying Checksum
ecd7d9a67e26: Download complete
Sending build context to Docker daemon  76.17MB

Step 1/22 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705: Pulling from dockercore/golang-cross
4ae16bd47783: Pulling fs layer
bbab4ec87ac4: Pulling fs layer
2ea1f7804402: Pulling fs layer
96465440c208: Pulling fs layer
16a3d8aca6cd: Pulling fs layer
e0ec5610455a: Pulling fs layer
96d705baf026: Pulling fs layer
39007eb46008: Pulling fs layer
4e549f0f5e64: Pulling fs layer
c0058a8c71f2: Pulling fs layer
2f8d98df0991: Pulling fs layer
96d705baf026: Waiting
39007eb46008: Waiting
4e549f0f5e64: Waiting
c0058a8c71f2: Waiting
2f8d98df0991: Waiting
96465440c208: Waiting
16a3d8aca6cd: Waiting
e0ec5610455a: Waiting
2ea1f7804402: Verifying Checksum
2ea1f7804402: Download complete
bbab4ec87ac4: Verifying Checksum
bbab4ec87ac4: Download complete
36ac8c11a11f: Verifying Checksum
36ac8c11a11f: Download complete
4ae16bd47783: Verifying Checksum
4ae16bd47783: Download complete
96465440c208: Verifying Checksum
96465440c208: Download complete
96d705baf026: Verifying Checksum
96d705baf026: Download complete
 ---> 64a8b12dc65b
Successfully built 64a8b12dc65b
Successfully tagged docker-app-lint:jenkins-app-PR-712-2
docker run --rm docker-app-lint:jenkins-app-PR-712-2 make lint
39007eb46008: Verifying Checksum
39007eb46008: Download complete
16a3d8aca6cd: Verifying Checksum
16a3d8aca6cd: Download complete
c0058a8c71f2: Verifying Checksum
c0058a8c71f2: Download complete
4a56a430b2ba: Pull complete
4b5cacb629f5: Pull complete
14408c8d4f9a: Pull complete
Linting...
e0ec5610455a: Verifying Checksum
e0ec5610455a: Download complete
4e549f0f5e64: Verifying Checksum
4e549f0f5e64: Download complete
ea67eaa7dd42: Pull complete
2f8d98df0991: Verifying Checksum
2f8d98df0991: Download complete
4ae16bd47783: Pull complete
a2a2197e145e: Pull complete
bbab4ec87ac4: Pull complete
2ea1f7804402: Pull complete
96465440c208: Pull complete
36ac8c11a11f: Pull complete
ecd7d9a67e26: Pull complete
Digest: sha256:90d554b5ae59cb63d2bf42bdfcd60aa1feb4794d9e3a9cbb9d2deb477c088be0
Status: Downloaded newer image for golang:1.13.0
 ---> c4d6fdf2260a
Step 3/13 : RUN apt-get update -qq && apt-get install -y -q --no-install-recommends   coreutils   util-linux   uuid-runtime
16a3d8aca6cd: Pull complete
 ---> Running in 9aa6bfecd1c4
Reading package lists...e0ec5610455a: Pull complete

Building dependency tree...96d705baf026: Pull complete
39007eb46008: Pull complete

Reading state information...
coreutils is already the newest version (8.30-3).
coreutils set to manually installed.
util-linux is already the newest version (2.33.1-0.1).
util-linux set to manually installed.
The following NEW packages will be installed:
  uuid-runtime
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
Need to get 95.2 kB of archives.
After this operation, 211 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 95.2 kB in 0s (372 kB/s)
Selecting previously unselected package uuid-runtime.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 15394 files and directories currently installed.)
Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ...
Unpacking uuid-runtime (2.33.1-0.1) ...
Setting up uuid-runtime (2.33.1-0.1) ...
Adding group `uuidd' (GID 102) ...
Done.
Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory
Adding system user `uuidd' (UID 101) ...
Adding new user `uuidd' (UID 101) with group `uuidd' ...
Not creating home directory `/run/uuidd'.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Removing intermediate container 9aa6bfecd1c4
 ---> cb25f151f014
Step 4/13 : WORKDIR /go/src/github.com/docker/app/
 ---> Running in b44a1d309b36
Removing intermediate container b44a1d309b36
 ---> b6e295072a00
Step 5/13 : COPY . .
 ---> c60ad53049bd
Step 6/13 : ARG TAG="unknown"
 ---> Running in eca4cbcf6a12
Removing intermediate container eca4cbcf6a12
 ---> f90175a6f03a
Step 7/13 : RUN make BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run
 ---> Running in b57291bf548b
CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=0de7446c -X github.com/docker/app/internal.Version=jenkins-app-PR-712-2 -X github.com/docker/app/internal.BuildTime=2019-10-25T13:46:10Z" -o bin/cnab-run ./cmd/cnab-run
4e549f0f5e64: Pull complete
c0058a8c71f2: Pull complete
[Pipeline] sh
+ make -f docker.Makefile check-vendor
docker build --build-arg TAG=jenkins-app-PR-712-2 --build-arg COMMIT=0de7446c --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-712-2 .
Sending build context to Docker daemon  76.17MB

Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
 ---> 518d5e4626aa
Step 2/18 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Using cache
 ---> cb09da1d7d86
Step 3/18 : RUN apt-get install -y -q --no-install-recommends   coreutils   util-linux   uuid-runtime
 ---> Using cache
 ---> 287ab4866da9
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> cd6aa70cf4b3
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> db54ad8b618c
Step 6/18 : ARG GOPROXY
 ---> Using cache
 ---> bc8bdcc8a339
Step 7/18 : RUN make binary-osx binary-windows binary &&   cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> b0f71d3265bd
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> b1e94b879945
Step 9/18 : FROM build AS dev
 ---> b1e94b879945
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> 9b49ad09619a
Step 11/18 : ARG DEP_VERSION=v0.5.4
 ---> Using cache
 ---> 44b502f1e1fe
Step 12/18 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 &&   chmod +x /usr/bin/dep
 ---> Using cache
 ---> 162ce91c75fd
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> edd6f9990835
Step 14/18 : ARG GOPROXY
 ---> Using cache
 ---> 6a9de4d66d56
Step 15/18 : RUN mkdir $GOPATH/src/gotest.tools &&   git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum &&   cd $GOPATH/src/gotest.tools/gotestsum &&   git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION &&   GO111MODULE=on GOOS=linux   go build -o /usr/local/bin/gotestsum-linux       gotest.tools/gotestsum &&   GO111MODULE=on GOOS=darwin  go build -o /usr/local/bin/gotestsum-darwin      gotest.tools/gotestsum &&   GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum &&   ln -s gotestsum-linux /usr/local/bin/gotestsum
 ---> Using cache
 ---> 8ba708f273c2
Step 16/18 : RUN GOOS=linux   go build -o /usr/local/bin/test2json-linux       cmd/test2json &&   GOOS=darwin  go build -o /usr/local/bin/test2json-darwin      cmd/test2json &&   GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json
 ---> Using cache
 ---> 2c459ec9632e
Step 17/18 : RUN go get -d gopkg.in/mjibson/esc.v0 &&   cd /go/src/github.com/mjibson/esc &&   go build -v -o /usr/bin/esc . &&   rm -rf /go/src/* /go/pkg/* /go/bin/*
 ---> Using cache
 ---> 6df8b1aec6ef
Step 18/18 : COPY . .
 ---> 3857d0bb6816
[Warning] One or more build-args [ALPINE_VERSION COMMIT TAG] were not consumed
Successfully built 3857d0bb6816
Successfully tagged docker-app-dev:jenkins-app-PR-712-2
Check Vendoring...
docker run --rm docker-app-dev:jenkins-app-PR-712-2 sh -c "make vendor && hack/check-git-diff vendor"
rm -rf vendor 1>&1
dep ensure -v 
(1/104) Wrote github.com/beorn7/perks@master
(2/104) Wrote github.com/containerd/ttrpc@master
(3/104) Wrote github.com/containerd/typeurl@master
(4/104) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2
(5/104) Wrote vbom.ml/util@master
(6/104) Wrote github.com/coreos/go-systemd@v20
(7/104) Wrote github.com/davecgh/go-spew@v1.1.1
(8/104) Wrote github.com/containerd/console@master
(9/104) Wrote github.com/containerd/fifo@master
2f8d98df0991: Pull complete
Digest: sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705
Status: Downloaded newer image for dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705
 ---> 518d5e4626aa
Step 2/22 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Running in a143dbf5b217
Removing intermediate container a143dbf5b217
 ---> 50f3765114f3
Step 3/22 : RUN apt-get install -y -q --no-install-recommends   coreutils   util-linux   uuid-runtime
 ---> Running in e3a31fb0c6ea
Reading package lists...(10/104) Wrote github.com/containerd/continuity@master

Building dependency tree...(11/104) Wrote github.com/containerd/cgroups@master

Reading state information...
coreutils is already the newest version (8.30-3).
coreutils set to manually installed.
util-linux is already the newest version (2.33.1-0.1).
util-linux set to manually installed.
The following NEW packages will be installed:
  uuid-runtime
(12/104) Wrote github.com/docker/go@v1.5.1-1
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 95.2 kB of archives.
After this operation, 211 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 95.2 kB in 0s (365 kB/s)
Selecting previously unselected package uuid-runtime.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 25419 files and directories currently installed.)
Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ...
Unpacking uuid-runtime (2.33.1-0.1) ...
Setting up uuid-runtime (2.33.1-0.1) ...
Adding group `uuidd' (GID 102) ...
Done.
Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory
Adding system user `uuidd' (UID 101) ...
Adding new user `uuidd' (UID 101) with group `uuidd' ...
(13/104) Wrote github.com/docker/docker-credential-helpers@v0.6.1
Not creating home directory `/run/uuidd'.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Removing intermediate container e3a31fb0c6ea
 ---> 13d7ae33a5cd
Step 4/22 : WORKDIR /go/src/github.com/docker/cli
 ---> Running in 6b17995d7b24
Removing intermediate container 6b17995d7b24
 ---> 49e9ed627923
Step 5/22 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Running in 294f26982765
(14/104) Wrote github.com/docker/go-events@master
(15/104) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18
(16/104) Wrote github.com/docker/go-connections@v0.4.0
Cloning into '.'...
(17/104) Wrote github.com/docker/go-units@v0.3.3
(18/104) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1
(19/104) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580
(20/104) Wrote github.com/godbus/dbus@v5.0.1
(21/104) Wrote github.com/gofrs/flock@v0.7.1
(22/104) Wrote github.com/docker/compose-on-kubernetes@v0.4.21
(23/104) Wrote github.com/gogo/googleapis@v1.2.0
Note: checking out 'a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact
(24/104) Wrote github.com/google/gofuzz@v1.0.0
(25/104) Wrote github.com/google/go-cmp@v0.2.0
(26/104) Wrote github.com/google/shlex@master
(27/104) Wrote github.com/docker/buildx@v0.3.1
Removing intermediate container 294f26982765
 ---> 560b8dd14f95
Step 6/22 : ARG GOPROXY
 ---> Running in c0d78a6849a4
Removing intermediate container c0d78a6849a4
 ---> 521063b39f40
Step 7/22 : RUN make binary-osx binary-windows binary &&   cp build/docker-linux-amd64 /usr/bin/docker
 ---> Running in 71985a5516b9
(28/104) Wrote github.com/grpc-ecosystem/grpc-opentracing@master
./scripts/build/osx
(29/104) Wrote github.com/globalsign/mgo@master
Building build/docker-darwin-amd64
(30/104) Wrote github.com/gorilla/mux@v1.7.1
(31/104) Wrote github.com/hashicorp/go-version@v1.1.0
(32/104) Wrote github.com/hashicorp/golang-lru@v0.5.1
(33/104) Wrote github.com/imdario/mergo@master
(34/104) Wrote github.com/inconshreveable/mousetrap@v1.0
(35/104) Wrote github.com/jaguilar/vt100 (from github.com/tonistiigi/vt100)@ad4c4a5743050fb7f88ce968dca9422f72a0e3f2
(36/104) Wrote github.com/googleapis/gnostic@v0.2.0
(37/104) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2
(38/104) Wrote github.com/mattn/go-shellwords@v1.0.5
(39/104) Wrote github.com/json-iterator/go@v1.1.6
(40/104) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1
(41/104) Wrote github.com/miekg/pkcs11@master
(42/104) Wrote github.com/mitchellh/mapstructure@v1.1.2
(43/104) Wrote github.com/modern-go/concurrent@1.0.3
(44/104) Wrote github.com/modern-go/reflect2@1.0.1
(45/104) Wrote github.com/morikuni/aec@master
(46/104) Wrote github.com/oklog/ulid@v1.3.1
(47/104) Wrote github.com/golang/protobuf@v1.3.1
(48/104) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1
(49/104) Wrote github.com/opentracing/opentracing-go@v1.1.0
(50/104) Wrote github.com/opencontainers/image-spec@v1.0.1
(51/104) Wrote github.com/pkg/errors@v0.8.1
(52/104) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4
(53/104) Wrote github.com/prometheus/client_model@master
(54/104) Wrote github.com/prometheus/client_golang@v0.8.0
(55/104) Wrote github.com/qri-io/jsonpointer@v0.1.0
(56/104) Wrote github.com/prometheus/procfs@master
(57/104) Wrote github.com/prometheus/common@v0.2.0
(58/104) Wrote github.com/qri-io/jsonschema@v0.1.1
(59/104) Wrote github.com/sirupsen/logrus@v1.4.1
(60/104) Wrote github.com/spf13/pflag@master
(61/104) Wrote github.com/syndtr/gocapability@master
(62/104) Wrote github.com/spf13/cobra@v0.0.5
(63/104) Wrote github.com/tonistiigi/units@master
(64/104) Wrote github.com/wadey/gocovmerge@master
(65/104) Wrote github.com/opencontainers/runc@v1.0.0-rc7
(66/104) Wrote github.com/xeipuuv/gojsonpointer@master
(67/104) Wrote github.com/xeipuuv/gojsonreference@master
(68/104) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc
(69/104) Wrote github.com/tonistiigi/fsutil@master
(70/104) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d
(71/104) Wrote github.com/moby/buildkit@v0.6.2
(72/104) Wrote golang.org/x/sync@master
(73/104) Wrote github.com/containerd/containerd@master
(74/104) Wrote golang.org/x/oauth2@master
(75/104) Wrote github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98
(76/104) Wrote github.com/coreos/etcd@v3.3.12
(77/104) Wrote golang.org/x/crypto@master
(78/104) Wrote golang.org/x/time@master
(79/104) Wrote golang.org/x/net@master
(80/104) Wrote google.golang.org/appengine@v1.5.0
(81/104) Wrote gopkg.in/inf.v0@v0.9.1
(82/104) Wrote gotest.tools@v2.3.0
(83/104) Wrote gopkg.in/yaml.v2@v2.2.3
(84/104) Wrote k8s.io/klog@v0.2.0
(85/104) Wrote k8s.io/apimachinery@kubernetes-1.14.1
(86/104) Wrote k8s.io/utils@master
(87/104) Wrote github.com/Microsoft/go-winio@v0.4.12
(88/104) Wrote sigs.k8s.io/yaml@v1.1.0
(89/104) Wrote github.com/Azure/go-ansiterm@master
(90/104) Wrote google.golang.org/grpc@v1.19.1
(91/104) Wrote github.com/Masterminds/semver@v1.4.2
(92/104) Wrote github.com/agl/ed25519@master
(93/104) Wrote golang.org/x/sys@master
Removing intermediate container b57291bf548b
 ---> bd3e11226ea8
Step 8/13 : FROM alpine:${ALPINE_VERSION} as invocation
 ---> b7b28af77ffe
Step 9/13 : RUN apk add --no-cache ca-certificates && adduser -S cnab
 ---> Running in 31b09a88a737
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
(1/1) Installing ca-certificates (20190108-r0)
Executing busybox-1.30.1-r2.trigger
Executing ca-certificates-20190108-r0.trigger
OK: 6 MiB in 15 packages
Removing intermediate container 31b09a88a737
 ---> 78ed9e9192c0
Step 10/13 : USER cnab
 ---> Running in af6598e6b9c1
Removing intermediate container af6598e6b9c1
 ---> 9dcb64e66cc9
Step 11/13 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run
 ---> 44e606ac4698
Step 12/13 : WORKDIR /cnab/app
 ---> Running in 793d76266501
Removing intermediate container 793d76266501
 ---> 24ec9e89dc52
Step 13/13 : CMD /cnab/app/run
 ---> Running in 9203cb553b32
Removing intermediate container 9203cb553b32
 ---> 87cb13572b88
[Warning] One or more build-args [COMMIT GOPROXY] were not consumed
Successfully built 87cb13572b88
Successfully tagged docker/cnab-app-base:jenkins-app-PR-712-2
docker save docker/cnab-app-base:jenkins-app-PR-712-2 -o _build/invocation-image.tar
(94/104) Wrote golang.org/x/text@v0.3.0
(95/104) Wrote github.com/theupdateframework/notary@v0.6.1
[Pipeline] sh
+ make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-712-2-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag
docker tag docker/cnab-app-base:jenkins-app-PR-712-2 docker/cnab-app-base:jenkins-app-PR-712-2-coverage
docker save docker/cnab-app-base:jenkins-app-PR-712-2-coverage -o _build/coverage-invocation-image.tar
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-712/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] stash
(96/104) Wrote golang.org/x/tools@master
(97/104) Wrote github.com/Microsoft/hcsshim@v0.8.6
Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-712/2/stashes/invocation-image.tgz
[Pipeline] stash
(98/104) Wrote k8s.io/client-go@kubernetes-1.14.1
(99/104) Wrote google.golang.org/genproto@master
Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-712/2/stashes/coverage-invocation-image.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-712/src/github.com/docker/app
[Pipeline] {
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-712-2
Untagged: docker/cnab-app-base:jenkins-app-PR-712-2
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-712-2-coverage
Untagged: docker/cnab-app-base:jenkins-app-PR-712-2-coverage
Deleted: sha256:87cb13572b881ffd32f87ea63dd2ea611da432b843a06a91c7e71bc5563794c2
Deleted: sha256:24ec9e89dc523052bb3267f60e242d9a434b4c861fef1c806c0ae31f0d3ff95b
Deleted: sha256:44e606ac4698be78cbe43ccd59023e23f89aad3d86e71e645310969bb28128a3
Deleted: sha256:a88cae4ea624296d5dd32c596b7645e281d92be19d91396d484b24ff4d8c75ae
Deleted: sha256:9dcb64e66cc96325d2f5a04afb13a3b2f3d1892ac4feea1a059b7c555670ba3e
Deleted: sha256:78ed9e9192c0164a3997709ea4af857d1382b28a0c72f482a860e1105e637798
Deleted: sha256:f44ec66ee82a0e4578f2eb3b7236e948b7c17fad5b4eef91b6ca4ab4d85672d7
[Pipeline] }
[Pipeline] // dir
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
(100/104) Wrote cloud.google.com/go@v0.37.4
(101/104) Wrote github.com/gogo/protobuf@v1.2.1
(102/104) Wrote k8s.io/api@kubernetes-1.14.1
(103/104) Wrote github.com/docker/docker@master
./scripts/build/windows
Generating windows resources
Building build/docker-windows-amd64
(104/104) Wrote k8s.io/kubernetes@v1.14.1
vendor is correct
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
WARNING: binary creates a Linux executable. Use cross for macOS or Windows.
./scripts/build/binary
Building statically linked build/docker-linux-amd64
Removing intermediate container 71985a5516b9
 ---> 10f723ec6510
Step 8/22 : WORKDIR /go/src/github.com/docker/app/
 ---> Running in 0d158ae29252
Removing intermediate container 0d158ae29252
 ---> c988fb3f79c7
Step 9/22 : FROM build AS dev
 ---> c988fb3f79c7
Step 10/22 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Running in c5e149fe15cb
Removing intermediate container c5e149fe15cb
 ---> afb4a1e6ec5c
Step 11/22 : ARG DEP_VERSION=v0.5.4
 ---> Running in c32ce91eef75
Removing intermediate container c32ce91eef75
 ---> e94aa4a2a0c5
Step 12/22 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 &&   chmod +x /usr/bin/dep
 ---> Running in 2a24c5de1499
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   605    0   605    0     0   5127      0 --:--:-- --:--:-- --:--:--  5127

100 10.5M  100 10.5M    0     0  41.6M      0 --:--:-- --:--:-- --:--:-- 41.6M
Removing intermediate container 2a24c5de1499
 ---> 76105d753721
Step 13/22 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Running in 2dc9c40d14cb
Removing intermediate container 2dc9c40d14cb
 ---> ae65cd413ebb
Step 14/22 : ARG GOPROXY
 ---> Running in 25e9e1636638
Removing intermediate container 25e9e1636638
 ---> 6222e5430e76
Step 15/22 : RUN mkdir $GOPATH/src/gotest.tools &&   git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum &&   cd $GOPATH/src/gotest.tools/gotestsum &&   git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION &&   GO111MODULE=on GOOS=linux   go build -o /usr/local/bin/gotestsum-linux       gotest.tools/gotestsum &&   GO111MODULE=on GOOS=darwin  go build -o /usr/local/bin/gotestsum-darwin      gotest.tools/gotestsum &&   GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum &&   ln -s gotestsum-linux /usr/local/bin/gotestsum
 ---> Running in 62f881097465
go: finding github.com/pkg/errors v0.8.0
go: finding github.com/sirupsen/logrus v1.0.5
go: finding github.com/mattn/go-isatty v0.0.3
go: finding github.com/google/go-cmp v0.2.0
go: finding github.com/spf13/pflag v1.0.1
go: finding github.com/onsi/gomega v1.4.3
go: finding github.com/fatih/color v1.6.0
go: finding github.com/onsi/ginkgo v1.8.0
go: finding gotest.tools v2.1.0+incompatible
go: finding github.com/mattn/go-colorable v0.0.9
go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2
go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding golang.org/x/text v0.3.0
go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: finding github.com/jonboulle/clockwork v0.1.0
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: finding github.com/stretchr/testify v1.3.0
go: finding github.com/golang/protobuf v1.2.0
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding github.com/hpcloud/tail v1.0.0
go: finding github.com/davecgh/go-spew v1.1.0
go: finding github.com/onsi/ginkgo v1.6.0
go: finding github.com/stretchr/objx v0.1.0
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: downloading gotest.tools v2.1.0+incompatible
go: extracting gotest.tools v2.1.0+incompatible
go: downloading github.com/fatih/color v1.6.0
go: downloading github.com/pkg/errors v0.8.0
go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: downloading github.com/jonboulle/clockwork v0.1.0
go: downloading github.com/spf13/pflag v1.0.1
go: downloading github.com/sirupsen/logrus v1.0.5
go: extracting github.com/pkg/errors v0.8.0
go: extracting github.com/jonboulle/clockwork v0.1.0
go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: extracting github.com/spf13/pflag v1.0.1
go: extracting github.com/sirupsen/logrus v1.0.5
go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: extracting github.com/fatih/color v1.6.0
go: downloading github.com/mattn/go-colorable v0.0.9
go: downloading github.com/mattn/go-isatty v0.0.3
go: extracting github.com/mattn/go-colorable v0.0.9
go: extracting github.com/mattn/go-isatty v0.0.3
go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
Removing intermediate container 62f881097465
 ---> 6a3077963f82
Step 16/22 : RUN GOOS=linux   go build -o /usr/local/bin/test2json-linux       cmd/test2json &&   GOOS=darwin  go build -o /usr/local/bin/test2json-darwin      cmd/test2json &&   GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json
 ---> Running in 2be2b047a091
Removing intermediate container 2be2b047a091
 ---> c39be58046bc
Step 17/22 : RUN go get -d gopkg.in/mjibson/esc.v0 &&   cd /go/src/github.com/mjibson/esc &&   go build -v -o /usr/bin/esc . &&   rm -rf /go/src/* /go/pkg/* /go/bin/*
 ---> Running in 47502258ede2
golang.org/x/tools/internal/semver
github.com/pkg/errors
golang.org/x/tools/go/ast/astutil
golang.org/x/tools/go/internal/gcimporter
golang.org/x/tools/go/internal/packagesdriver
golang.org/x/tools/internal/fastwalk
golang.org/x/tools/internal/gopathwalk
golang.org/x/tools/internal/span
golang.org/x/tools/go/gcexportdata
golang.org/x/tools/internal/module
golang.org/x/tools/go/packages
golang.org/x/tools/internal/imports
golang.org/x/tools/imports
github.com/mjibson/esc/embed
github.com/mjibson/esc
Removing intermediate container 47502258ede2
 ---> e397e0fcb4c7
Step 18/22 : COPY . .
 ---> 247f9cd2e278
Step 19/22 : FROM scratch AS cli
 ---> 
Step 20/22 : COPY --from=build /go/src/github.com/docker/cli/build/docker-linux-amd64 docker-linux
 ---> a40557f15b3c
Step 21/22 : COPY --from=build /go/src/github.com/docker/cli/build/docker-darwin-amd64 docker-darwin
 ---> 8d65f8c6fc8b
Step 22/22 : COPY --from=build /go/src/github.com/docker/cli/build/docker-windows-amd64 docker-windows.exe
 ---> 3887e493eb2b
[Warning] One or more build-args [TAG ALPINE_VERSION COMMIT] were not consumed
Successfully built 3887e493eb2b
Successfully tagged docker-app-cli:jenkins-app-PR-712-2
chmod: cannot access 'bin/docker-linux': No such file or directory
docker.Makefile:46: recipe for target 'cli-cross' failed
make: *** [cli-cross] Error 1
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] sh
+ docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-712-2*
+ xargs docker image rm -f
Untagged: docker-app-cli:jenkins-app-PR-712-2
Deleted: sha256:3887e493eb2bd449ead2a8c35100c7da2383dbb7f05c4b39bcaf961ac98745f8
Deleted: sha256:2d46807849959c9f1808de21d95df678027b8d3563382a9761a6be70e8f1f4d6
Deleted: sha256:8d65f8c6fc8bda713286f198963d5322895ccdd68a7c235ac5b19b5abb0e66be
Deleted: sha256:0fec368b0274bdc499c6dcc185f3c6424566892ca94fa6ef4828a1d5ed72e33f
Deleted: sha256:a40557f15b3c9b3c9b3fb8c5b8a322f5f3ce40fb5afff9cf041554d1aa120409
Deleted: sha256:0d8eacfb334995762b72b65caf80be0495db7efd2c2b3d9c4c9de88a337cb660
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Binaries
[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