Skip to content
Failed

Console Output

Pull request #721 updated
13:28:31 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from 02a1d4e1ef0ba698d34787b2fb1288ecde2c3005
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-0a1cdd549f335536a) in /home/ubuntu/workspace/app_PR-721
[Pipeline] {
Running on ubuntu-1804-overlay2 (i-0a61213d87f254149) in /home/ubuntu/workspace/app_PR-721
Running on ubuntu-1804-overlay2 (i-0260b8d3773639eca) in /home/ubuntu/workspace/app_PR-721
[Pipeline] {
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-721/src/github.com/docker/app
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-721/src/github.com/docker/app
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-721/src/github.com/docker/app
[Pipeline] {
[Pipeline] checkout
[Pipeline] script
[Pipeline] {
using credential docker-jenkins-github-credentials
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
[Pipeline] checkout
[Pipeline] checkout
using credential docker-jenkins-github-credentials
using credential docker-jenkins-github-credentials
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
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-721/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/721/head:refs/remotes/origin/PR-721
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-721/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/721/head:refs/remotes/origin/PR-721
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-721/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/721/head:refs/remotes/origin/PR-721
Fetching without tags
Checking out Revision 02a1d4e1ef0ba698d34787b2fb1288ecde2c3005 (PR-721)
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/721/head:refs/remotes/origin/PR-721 # 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/721/head:refs/remotes/origin/PR-721
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 02a1d4e1ef0ba698d34787b2fb1288ecde2c3005
Fetching without tags
Fetching without tags
Checking out Revision 02a1d4e1ef0ba698d34787b2fb1288ecde2c3005 (PR-721)
Commit message: "Add table formating in CNAB status action"
First time build. Skipping changelog.
Checking out Revision 02a1d4e1ef0ba698d34787b2fb1288ecde2c3005 (PR-721)
Commit message: "Add table formating in CNAB status action"
Commit message: "Add table formating in CNAB status action"
 > git rev-list --no-walk f230365cffbd542b1c9ee4c6a28d9e71b753a035 # timeout=10
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/721/head:refs/remotes/origin/PR-721 # 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/721/head:refs/remotes/origin/PR-721
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 02a1d4e1ef0ba698d34787b2fb1288ecde2c3005
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/721/head:refs/remotes/origin/PR-721 # 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/721/head:refs/remotes/origin/PR-721
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 02a1d4e1ef0ba698d34787b2fb1288ecde2c3005
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ make -f docker.Makefile save-invocation-image
docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-721-10 --build-arg COMMIT=02a1d4e1 --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-721-10 .
#2 [internal] load .dockerignore
#2 transferring context: 73B done
#2 DONE 0.0s

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

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

#3 [internal] load metadata for docker.io/library/golang:1.13.2
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ make -f docker.Makefile lint
Linting...
docker build -t docker-app-lint:jenkins-app-PR-721-10 -f Dockerfile.lint .
#2 [internal] load build definition from Dockerfile.lint
#2 transferring dockerfile: 414B done
#2 DONE 0.0s

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

#3 [internal] load metadata for docker.io/library/golang:1.12.9-alpine3.10
#3 DONE 0.1s
#3 DONE 0.3s

#5 [invocation 1/4] FROM docker.io/library/alpine:3.10.3@sha256:c19173c5ada...
#5 CACHED

#10 [internal] load build context
+ make -f docker.Makefile cli-cross cross e2e-cross tars
docker build --build-arg TAG=jenkins-app-PR-721-10 --build-arg COMMIT=02a1d4e1 --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-721-10 .
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 3.83kB done
#2 DONE 0.0s

#1 [internal] load .dockerignore
#1 transferring context: 73B done
#1 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/5] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea...
#4 DONE 0.0s

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

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

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

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

#9 [cli 1/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock...
#9 DONE 0.1s

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

#8 [internal] load build context

#10 [cli 2/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock...
#8 transferring context: 73.35MB 1.3s 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 . .
#10 DONE 1.1s

#11 [cli 3/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock...
#11 DONE 0.2s

#12 exporting to client
#12 copying files 35B
#9 DONE 1.3s

#10 exporting to image
#10 exporting layers
#12 copying files 181.89MB 1.2s done
#12 DONE 1.5s
docker build --build-arg TAG=jenkins-app-PR-721-10 --build-arg COMMIT=02a1d4e1 --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-721-10 .
#2 [internal] load build definition from Dockerfile
#10 transferring context: 73.35MB 2.6s done
#10 DONE 2.7s

#7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969...
#7 resolve docker.io/library/golang:1.13.2@sha256:b3086f21bfbe896973dd6147b46f2736a7deb2c04ed76219835befa0244a9562 done
#7 sha256:36c384d8593f8989b7a50bebf9569c9f6a43a6881baa8a248a84251d2ca17ddb 1.79kB / 1.79kB done
#7 sha256:e37698ff73511ad444a1a3547b81c3f1650f7b34bfc99bd46efccf1d90024db4 5.46kB / 5.46kB done
#7 sha256:b3086f21bfbe896973dd6147b46f2736a7deb2c04ed76219835befa0244a9562 2.16kB / 2.16kB done
#7 sha256:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c 126B / 126B 0.1s done
#7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 120.05MB / 120.05MB 2.4s done
#7 extracting sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 0.1s
#2 transferring dockerfile: 38B done
#2 DONE 0.0s

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

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

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

#8 [cli-build 1/5] 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

#18 [internal] load build context
#10 exporting layers 0.7s done
#10 writing image sha256:b2fa68548bf0b9821728cded6b8ac971f935c7a223a2109260ee0313a68f0c68 done
#10 naming to docker.io/library/docker-app-lint:jenkins-app-PR-721-10 done
#10 DONE 0.8s
docker run --rm docker-app-lint:jenkins-app-PR-721-10 make lint
#7 ...

#6 [invocation 2/4] RUN apk add --no-cache ca-certificates && adduser -S cn...
#6 1.528 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
#6 2.596 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
#6 2.720 (1/1) Installing ca-certificates (20190108-r0)
#6 2.743 Executing busybox-1.30.1-r2.trigger
#6 2.743 Executing ca-certificates-20190108-r0.trigger
#6 2.805 OK: 6 MiB in 15 packages
#6 DONE 3.5s

#7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969...
Linting...
#18 transferring context: 73.35MB 1.3s done
#18 DONE 1.3s

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

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

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

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

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

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

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

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

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

#12 [cli-build 5/5] RUN make binary-osx binary-windows binary
#12 CACHED

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

#19 [dev 9/9] COPY . .
#19 DONE 1.2s

#20 [cross-build 1/1] RUN make TAG=jenkins-app-PR-721-10 cross
#20 1.052 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=02a1d4e1 -X github.com/docker/app/internal.Version=jenkins-app-PR-721-10 -X github.com/docker/app/internal.BuildTime=2019-11-07T13:28:46Z" -o bin/docker-app-linux ./cmd/docker-app
#7 extracting sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 4.3s done
#7 extracting sha256:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c done
#7 DONE 7.3s

#8 [build 2/5] RUN apt-get update -qq && apt-get install -y -q --no-install...
#8 3.043 Reading package lists...
#8 3.613 Building dependency tree...
#8 3.714 Reading state information...
#8 3.849 coreutils is already the newest version (8.30-3).
#8 3.849 coreutils set to manually installed.
#8 3.849 util-linux is already the newest version (2.33.1-0.1).
#8 3.849 util-linux set to manually installed.
#8 3.849 The following NEW packages will be installed:
#8 3.849   uuid-runtime
#8 4.115 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
#8 4.115 Need to get 95.2 kB of archives.
#8 4.115 After this operation, 211 kB of additional disk space will be used.
#8 4.115 Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB]
#8 4.223 debconf: delaying package configuration, since apt-utils is not installed
#8 4.244 Fetched 95.2 kB in 0s (368 kB/s)
#8 4.266 Selecting previously unselected package uuid-runtime.
#8 4.266 (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.)
#8 4.275 Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ...
#8 4.278 Unpacking uuid-runtime (2.33.1-0.1) ...
#8 4.319 Setting up uuid-runtime (2.33.1-0.1) ...
#8 4.353 Adding group `uuidd' (GID 102) ...
#8 4.368 Done.
#8 4.392 Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory
#8 4.393 Adding system user `uuidd' (UID 101) ...
#8 4.393 Adding new user `uuidd' (UID 101) with group `uuidd' ...
#8 4.431 Not creating home directory `/run/uuidd'.
#8 4.439 invoke-rc.d: could not determine current runlevel
#8 4.441 invoke-rc.d: policy-rc.d denied execution of start.
#8 DONE 6.3s

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

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

#12 [build 5/5] RUN make BUILD_TAG=${BUILD_TAG} TAG=jenkins-app-PR-721-10 bi...
#12 1.061 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=02a1d4e1 -X github.com/docker/app/internal.Version=jenkins-app-PR-721-10 -X github.com/docker/app/internal.BuildTime=2019-11-07T13:28:54Z" -o bin/cnab-run ./cmd/cnab-run
internal/commands/inspect.go:46:1: cyclomatic complexity 17 of func `runInspect` is high (> 16) (gocyclo)
func runInspect(dockerCli command.Cli, appName string, inspectOptions inspectOptions) error {
^
make: *** [Makefile:71: lint] Error 1
docker.Makefile:89: recipe for target 'lint' failed
make: *** [lint] Error 2
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Validate
#20 56.03 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=02a1d4e1 -X github.com/docker/app/internal.Version=jenkins-app-PR-721-10 -X github.com/docker/app/internal.BuildTime=2019-11-07T13:28:46Z" -o bin/docker-app-darwin ./cmd/docker-app
#12 DONE 63.5s

#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.1s

#15 exporting to image
#15 exporting layers
#15 exporting layers 0.2s done
#15 writing image sha256:69b49281bbf03a0906ed891b617409cfb13cb16c8d3f42ead8de8b464133786e done
#15 naming to docker.io/docker/cnab-app-base:jenkins-app-PR-721-10 done
#15 DONE 0.2s
docker save docker/cnab-app-base:jenkins-app-PR-721-10 -o _build/invocation-image.tar
[Pipeline] sh
+ make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-721-10-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag
docker tag docker/cnab-app-base:jenkins-app-PR-721-10 docker/cnab-app-base:jenkins-app-PR-721-10-coverage
docker save docker/cnab-app-base:jenkins-app-PR-721-10-coverage -o _build/coverage-invocation-image.tar
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-721/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-721/10/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-721/10/stashes/coverage-invocation-image.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-721/src/github.com/docker/app
[Pipeline] {
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-721-10
Untagged: docker/cnab-app-base:jenkins-app-PR-721-10
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-721-10-coverage
Untagged: docker/cnab-app-base:jenkins-app-PR-721-10-coverage
Deleted: sha256:69b49281bbf03a0906ed891b617409cfb13cb16c8d3f42ead8de8b464133786e
[Pipeline] }
[Pipeline] // dir
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
#20 113.2 GOOS=windows CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=02a1d4e1 -X github.com/docker/app/internal.Version=jenkins-app-PR-721-10 -X github.com/docker/app/internal.BuildTime=2019-11-07T13:28:46Z" -o bin/docker-app-windows.exe ./cmd/docker-app
#20 DONE 171.1s

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

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

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

#24 exporting to client
#24 copying files 16.49MB 0.1s
#24 copying files 124.70MB 0.8s done
#24 DONE 1.2s
docker build --build-arg TAG=jenkins-app-PR-721-10 --build-arg COMMIT=02a1d4e1 --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-721-10  .
#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/5] 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

#18 [internal] load build context
#18 transferring context: 344.06kB 0.2s done
#18 DONE 0.2s

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

#10 [cli-build 3/5] 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

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

#12 [cli-build 5/5] RUN make binary-osx binary-windows binary
#12 CACHED

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

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

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

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

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

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

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

#20 [cross-build 1/1] RUN make TAG=jenkins-app-PR-721-10 cross
#20 CACHED

#21 [e2e-cross-build 1/1] RUN make TAG=jenkins-app-PR-721-10 e2e-cross
#21 0.814 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=02a1d4e1 -X github.com/docker/app/internal.Version=jenkins-app-PR-721-10 -X github.com/docker/app/internal.BuildTime=2019-11-07T13:31:39Z" -o bin/docker-app-linux ./cmd/docker-app
#21 4.187 GOOS=linux CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=02a1d4e1 -X github.com/docker/app/internal.Version=jenkins-app-PR-721-10 -X github.com/docker/app/internal.BuildTime=2019-11-07T13:31:39Z" -c -o bin/docker-app-e2e-linux ./e2e/
#21 25.64 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=02a1d4e1 -X github.com/docker/app/internal.Version=jenkins-app-PR-721-10 -X github.com/docker/app/internal.BuildTime=2019-11-07T13:31:39Z" -o bin/docker-app-darwin ./cmd/docker-app
#21 29.23 GOOS=darwin CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=02a1d4e1 -X github.com/docker/app/internal.Version=jenkins-app-PR-721-10 -X github.com/docker/app/internal.BuildTime=2019-11-07T13:31:39Z" -c -o bin/docker-app-e2e-darwin ./e2e/
#21 50.88 GOOS=windows CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=02a1d4e1 -X github.com/docker/app/internal.Version=jenkins-app-PR-721-10 -X github.com/docker/app/internal.BuildTime=2019-11-07T13:31:39Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/
#21 DONE 72.3s

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

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

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

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

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

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

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

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

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

#31 exporting to client
#31 copying files 14.06MB 0.1s
#31 copying files 122.24MB 0.8s done
#31 DONE 1.4s
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-721/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-721/10/stashes/binaries.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-721/src/github.com/docker/app/e2e
[Pipeline] {
[Pipeline] stash
Stashed 69 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-721/10/stashes/e2e.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-721/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-721/10/stashes/examples.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-721-10*
+ 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