Skip to content
Failed

Console Output

Pull request #720 updated
09:54:05 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from 5067aa84c72bc13ecc937d1333e520253cf05e88
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-04b5bc72a9d645c7a) in /home/ubuntu/workspace/app_PR-720
Running on ubuntu-1804-overlay2 (i-0c5bba02e88245c68) in /home/ubuntu/workspace/app_PR-720
[Pipeline] {
[Pipeline] {
Running on ubuntu-1804-overlay2 (i-06632e8012fd8c161) in /home/ubuntu/workspace/app_PR-720
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-720/src/github.com/docker/app
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-720/src/github.com/docker/app
[Pipeline] {
[Pipeline] checkout
[Pipeline] script
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-720/src/github.com/docker/app
[Pipeline] {
[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
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-720/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/720/head:refs/remotes/origin/PR-720
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-720/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/720/head:refs/remotes/origin/PR-720
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-720/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/720/head:refs/remotes/origin/PR-720
Fetching without tags
Fetching without tags
Fetching without tags
Checking out Revision 5067aa84c72bc13ecc937d1333e520253cf05e88 (PR-720)
Checking out Revision 5067aa84c72bc13ecc937d1333e520253cf05e88 (PR-720)
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/720/head:refs/remotes/origin/PR-720 # 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/720/head:refs/remotes/origin/PR-720
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/720/head:refs/remotes/origin/PR-720 # 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/720/head:refs/remotes/origin/PR-720
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5067aa84c72bc13ecc937d1333e520253cf05e88
Checking out Revision 5067aa84c72bc13ecc937d1333e520253cf05e88 (PR-720)
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/720/head:refs/remotes/origin/PR-720 # 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/720/head:refs/remotes/origin/PR-720
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5067aa84c72bc13ecc937d1333e520253cf05e88
Commit message: "Use Go 1.13"
First time build. Skipping changelog.
Commit message: "Use Go 1.13"
Commit message: "Use Go 1.13"
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 5067aa84c72bc13ecc937d1333e520253cf05e88
 > git rev-list --no-walk 8a2edb7a66c7234752612123d63dfa5145275c63 # timeout=10
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ make -f docker.Makefile cli-cross cross e2e-cross tars
docker build --build-arg TAG=jenkins-app-PR-720-3 --build-arg COMMIT=5067aa84 --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-720-3 .
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 3.67kB 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

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

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

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

#10 [cli 2/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock...
#10 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 &&   cp build/...
#8 CACHED

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

#12 exporting to client
#12 copying files 35B
+ make -f docker.Makefile save-invocation-image
docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-720-3 --build-arg COMMIT=5067aa84 --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-720-3 .
#1 [internal] load build definition from Dockerfile.invocation-image
#1 transferring dockerfile: 614B done
#1 DONE 0.0s

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

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

#3 [internal] load metadata for docker.io/library/alpine:3.10.3
+ make -f docker.Makefile lint
Linting...
docker build -t docker-app-lint:jenkins-app-PR-720-3 -f Dockerfile.lint .
#2 [internal] load .dockerignore
#2 DONE 0.0s

#1 [internal] load build definition from Dockerfile.lint
#1 transferring dockerfile: 414B done
#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@sha256:c19173c5ada...
#5 DONE 0.0s

#10 [internal] load build context
#1 DONE 0.1s

#2 [internal] load .dockerignore
#2 transferring context: 73B done
#2 DONE 0.1s

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

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

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

#8 [internal] load build context
#12 copying files 181.89MB 1.0s done
#12 DONE 1.6s
docker build --build-arg TAG=jenkins-app-PR-720-3 --build-arg COMMIT=5067aa84 --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-720-3 .
#2 [internal] load .dockerignore
#10 transferring context: 73.13MB 1.4s done
#10 DONE 1.4s

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

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

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

#10 [internal] load build context
#8 transferring context: 73.13MB 1.9s done
#8 DONE 2.0s

#6 [3/5] RUN GO111MODULE=on go get     github.com/golangci/golangci-lint/cm...
#6 1.324 go: finding github.com v1.21.0
#6 1.324 go: finding github.com/golangci/golangci-lint/cmd v1.21.0
#6 1.324 go: finding github.com/golangci/golangci-lint/cmd/golangci-lint v1.21.0
#6 1.324 go: finding github.com/golangci/golangci-lint v1.21.0
#6 1.324 go: finding github.com/golangci v1.21.0
#6 1.560 go: downloading github.com/golangci/golangci-lint v1.21.0
#6 1.988 go: extracting github.com/golangci/golangci-lint v1.21.0
#11 DONE 1.2s

#12 [build 5/5] RUN make BUILD_TAG=${BUILD_TAG} TAG=jenkins-app-PR-720-3 bin...
#10 transferring context: 73.13MB 1.3s done
#10 DONE 1.3s

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

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

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

#6 [dev 3/7] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele...
#6 CACHED

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

#11 [dev 7/7] COPY . .
#6 2.749 go: downloading github.com/gofrs/flock v0.0.0-20190320160742-5135e617513b
#6 2.750 go: downloading github.com/pkg/errors v0.8.1
#6 2.757 go: downloading github.com/fatih/color v1.7.0
#6 2.761 go: downloading github.com/spf13/pflag v1.0.5
#6 2.766 go: downloading github.com/spf13/viper v1.4.0
#6 2.770 go: downloading github.com/go-critic/go-critic v0.3.5-0.20190904082202-d79a9f0c64db
#6 2.771 go: downloading golang.org/x/tools v0.0.0-20191010075000-0337d82405ff
#6 2.771 go: downloading github.com/spf13/cobra v0.0.5
#6 2.772 go: downloading github.com/go-lintpack/lintpack v0.5.2
#6 2.786 go: downloading github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0
#6 2.789 go: extracting github.com/pkg/errors v0.8.1
#6 2.793 go: downloading github.com/mitchellh/go-homedir v1.1.0
#6 2.793 go: extracting github.com/spf13/pflag v1.0.5
#6 2.799 go: extracting github.com/gofrs/flock v0.0.0-20190320160742-5135e617513b
#6 2.802 go: downloading github.com/stretchr/testify v1.4.0
#6 2.804 go: extracting github.com/fatih/color v1.7.0
#6 2.806 go: downloading github.com/mattn/go-isatty v0.0.8
#6 2.814 go: extracting github.com/spf13/viper v1.4.0
#6 2.820 go: extracting github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0
#6 2.822 go: downloading github.com/sirupsen/logrus v1.4.2
#6 2.825 go: downloading github.com/mattn/go-colorable v0.1.4
#6 2.827 go: extracting github.com/go-lintpack/lintpack v0.5.2
#6 2.834 go: downloading github.com/hashicorp/hcl v1.0.0
#6 2.846 go: downloading github.com/spf13/afero v1.1.2
#6 2.856 go: extracting github.com/go-critic/go-critic v0.3.5-0.20190904082202-d79a9f0c64db
#6 2.869 go: extracting github.com/mattn/go-isatty v0.0.8
#6 2.879 go: extracting github.com/spf13/cobra v0.0.5
#6 2.880 go: extracting github.com/mitchellh/go-homedir v1.1.0
#6 2.897 go: extracting github.com/stretchr/testify v1.4.0
#6 2.921 go: downloading github.com/fsnotify/fsnotify v1.4.7
#6 2.923 go: downloading github.com/stretchr/objx v0.2.0
#6 2.924 go: extracting github.com/sirupsen/logrus v1.4.2
#6 2.924 go: extracting github.com/spf13/afero v1.1.2
#6 2.928 go: extracting github.com/mattn/go-colorable v0.1.4
#6 2.931 go: downloading github.com/mitchellh/mapstructure v1.1.2
#6 2.933 go: downloading github.com/pmezard/go-difflib v1.0.0
#6 2.938 go: downloading github.com/inconshreveable/mousetrap v1.0.0
#6 2.947 go: downloading golang.org/x/sys v0.0.0-20190922100055-0a153f010e69
#6 2.955 go: extracting github.com/inconshreveable/mousetrap v1.0.0
#6 2.957 go: extracting github.com/hashicorp/hcl v1.0.0
#6 2.982 go: downloading github.com/davecgh/go-spew v1.1.1
#6 2.988 go: downloading github.com/go-toolsmith/astfmt v1.0.0
#6 2.989 go: extracting github.com/stretchr/objx v0.2.0
#6 2.994 go: downloading github.com/go-toolsmith/astp v1.0.0
#6 3.000 go: extracting github.com/mitchellh/mapstructure v1.1.2
#6 3.001 go: extracting github.com/fsnotify/fsnotify v1.4.7
#6 3.005 go: downloading github.com/securego/gosec v0.0.0-20191002120514-e680875ea14d
#6 3.007 go: extracting github.com/pmezard/go-difflib v1.0.0
#6 3.009 go: downloading github.com/ultraware/whitespace v0.0.4
#6 3.012 go: downloading github.com/sourcegraph/go-diff v0.5.1
#6 3.013 go: extracting github.com/go-toolsmith/astp v1.0.0
#6 3.158 go: extracting github.com/ultraware/whitespace v0.0.4
#6 3.161 go: extracting github.com/go-toolsmith/astfmt v1.0.0
#6 3.164 go: downloading github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21
#6 3.165 go: extracting github.com/davecgh/go-spew v1.1.1
#6 3.179 go: extracting github.com/securego/gosec v0.0.0-20191002120514-e680875ea14d
#6 3.186 go: extracting github.com/sourcegraph/go-diff v0.5.1
#6 3.188 go: extracting golang.org/x/tools v0.0.0-20191010075000-0337d82405ff
#6 3.197 go: extracting github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21
#6 3.200 go: downloading github.com/golangci/gofmt v0.0.0-20190930125516-244bba706f1a
#6 3.219 go: extracting github.com/golangci/gofmt v0.0.0-20190930125516-244bba706f1a
#6 3.358 go: extracting golang.org/x/sys v0.0.0-20190922100055-0a153f010e69
#6 3.440 go: downloading honnef.co/go/tools v0.0.1-2019.2.3
#6 3.441 go: downloading github.com/go-toolsmith/astcopy v1.0.0
#6 3.443 go: downloading github.com/bombsimon/wsl v1.2.5
#6 3.443 go: downloading github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2
#6 3.445 go: downloading golang.org/x/text v0.3.2
#6 3.447 go: downloading github.com/spf13/jwalterweatherman v1.0.0
#6 3.448 go: downloading github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee
#6 3.450 go: downloading github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770
#12 1.074 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=5067aa84 -X github.com/docker/app/internal.Version=jenkins-app-PR-720-3 -X github.com/docker/app/internal.BuildTime=2019-10-29T09:54:15Z" -o bin/cnab-run ./cmd/cnab-run
#6 3.458 go: extracting github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee
#6 3.460 go: downloading github.com/go-toolsmith/strparse v1.0.0
#6 3.464 go: extracting github.com/go-toolsmith/astcopy v1.0.0
#6 3.467 go: downloading github.com/ultraware/funlen v0.0.2
#6 3.469 go: extracting github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2
#6 3.474 go: extracting github.com/spf13/jwalterweatherman v1.0.0
#6 3.478 go: extracting github.com/go-toolsmith/strparse v1.0.0
#6 3.478 go: downloading github.com/go-toolsmith/astequal v1.0.0
#6 3.479 go: downloading github.com/golangci/ineffassign v0.0.0-20190609212857-42439a7714cc
#6 3.480 go: extracting github.com/ultraware/funlen v0.0.2
#6 3.481 go: downloading github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca
#6 3.512 go: extracting github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770
#6 3.513 go: extracting github.com/bombsimon/wsl v1.2.5
#6 3.515 go: extracting github.com/go-toolsmith/astequal v1.0.0
#6 3.516 go: downloading gopkg.in/yaml.v2 v2.2.4
#6 3.533 go: extracting github.com/golangci/ineffassign v0.0.0-20190609212857-42439a7714cc
#6 3.538 go: downloading github.com/gogo/protobuf v1.2.1
#6 3.543 go: extracting github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca
#6 3.544 go: downloading github.com/go-toolsmith/typep v1.0.0
#6 3.557 go: extracting gopkg.in/yaml.v2 v2.2.4
#6 3.565 go: downloading github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a
#6 3.570 go: downloading github.com/pelletier/go-toml v1.2.0
#6 3.574 go: extracting github.com/go-toolsmith/typep v1.0.0
#6 3.575 go: downloading sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4
#6 3.581 go: extracting github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a
#6 3.583 go: downloading github.com/golangci/errcheck v0.0.0-20181223084120-ef45e06d44b6
#6 3.589 go: extracting sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4
#6 3.591 go: downloading github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3
#6 3.592 go: extracting honnef.co/go/tools v0.0.1-2019.2.3
#6 3.597 go: downloading github.com/OpenPeeDeeP/depguard v1.0.1
#6 3.616 go: extracting github.com/pelletier/go-toml v1.2.0
#6 3.624 go: downloading github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613
#6 3.634 go: extracting github.com/OpenPeeDeeP/depguard v1.0.1
#6 3.636 go: downloading github.com/uudashr/gocognit v0.0.0-20190926065955-1655d0de0517
#6 3.649 go: extracting github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3
#6 3.650 go: extracting github.com/golangci/errcheck v0.0.0-20181223084120-ef45e06d44b6
#6 3.671 go: downloading github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4
#6 3.683 go: extracting github.com/uudashr/gocognit v0.0.0-20190926065955-1655d0de0517
#6 3.685 go: downloading github.com/gobwas/glob v0.2.3
#6 3.708 go: extracting github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613
#6 3.735 go: downloading mvdan.cc/unparam v0.0.0-20190720180237-d51796306d8f
#6 3.739 go: downloading github.com/go-toolsmith/astcast v1.0.0
#6 3.741 go: downloading github.com/magiconair/properties v1.8.0
#6 3.743 go: downloading github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d
#6 3.754 go: extracting github.com/magiconair/properties v1.8.0
#6 3.758 go: downloading github.com/timakin/bodyclose v0.0.0-20190930140734-f7f2e9bca95e
#6 3.769 go: extracting github.com/gobwas/glob v0.2.3
#6 3.776 go: downloading github.com/spf13/cast v1.3.0
#11 DONE 0.9s

#12 [cross-build 1/1] RUN make TAG=jenkins-app-PR-720-3 cross
#6 3.780 go: downloading mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed
#6 3.781 go: extracting github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4
#6 3.789 go: extracting mvdan.cc/unparam v0.0.0-20190720180237-d51796306d8f
#6 3.811 go: extracting github.com/timakin/bodyclose v0.0.0-20190930140734-f7f2e9bca95e
#6 3.817 go: extracting github.com/go-toolsmith/astcast v1.0.0
#6 3.822 go: downloading github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0
#6 3.834 go: downloading github.com/konsorten/go-windows-terminal-sequences v1.0.1
#6 3.842 go: extracting github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0
#6 3.848 go: downloading github.com/gostaticanalysis/analysisutil v0.0.0-20190318220348-4088753ea4d3
#6 3.850 go: downloading github.com/matoous/godox v0.0.0-20190911065817-5d6d842e92eb
#6 3.852 go: extracting github.com/spf13/cast v1.3.0
#6 3.857 go: downloading github.com/BurntSushi/toml v0.3.1
#6 3.865 go: extracting mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed
#6 3.875 go: downloading github.com/kisielk/gotool v1.0.0
#6 3.887 go: extracting github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d
#6 3.902 go: extracting github.com/kisielk/gotool v1.0.0
#6 3.905 go: downloading mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b
#6 3.923 go: extracting github.com/konsorten/go-windows-terminal-sequences v1.0.1
#6 3.948 go: extracting mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b
#6 3.949 go: extracting github.com/gostaticanalysis/analysisutil v0.0.0-20190318220348-4088753ea4d3
#6 3.954 go: extracting github.com/matoous/godox v0.0.0-20190911065817-5d6d842e92eb
#6 3.993 go: extracting github.com/BurntSushi/toml v0.3.1
#6 4.064 go: extracting github.com/gogo/protobuf v1.2.1
#6 4.396 go: extracting golang.org/x/text v0.3.2
#12 1.071 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=5067aa84 -X github.com/docker/app/internal.Version=jenkins-app-PR-720-3 -X github.com/docker/app/internal.BuildTime=2019-10-29T09:54:16Z" -o bin/docker-app-linux ./cmd/docker-app
#6 4.818 go: finding github.com/fatih/color v1.7.0
#6 4.828 go: finding github.com/gofrs/flock v0.0.0-20190320160742-5135e617513b
#6 4.834 go: finding github.com/mattn/go-colorable v0.1.4
#6 4.839 go: finding github.com/mattn/go-isatty v0.0.8
#6 4.871 go: finding golang.org/x/tools v0.0.0-20191010075000-0337d82405ff
#6 4.875 go: finding golang.org/x/sys v0.0.0-20190922100055-0a153f010e69
#6 4.876 go: finding github.com/go-critic/go-critic v0.3.5-0.20190904082202-d79a9f0c64db
#6 4.877 go: finding github.com/go-lintpack/lintpack v0.5.2
#6 4.883 go: finding github.com/pkg/errors v0.8.1
#6 4.887 go: finding github.com/go-toolsmith/astfmt v1.0.0
#6 4.889 go: finding github.com/mitchellh/go-homedir v1.1.0
#6 4.890 go: finding github.com/sirupsen/logrus v1.4.2
#6 4.894 go: finding github.com/go-toolsmith/astequal v1.0.0
#6 4.895 go: finding github.com/stretchr/testify v1.4.0
#6 4.899 go: finding github.com/go-toolsmith/astp v1.0.0
#6 4.900 go: finding github.com/davecgh/go-spew v1.1.1
#6 4.905 go: finding github.com/spf13/viper v1.4.0
#6 4.907 go: finding github.com/pmezard/go-difflib v1.0.0
#6 4.912 go: finding github.com/go-toolsmith/astcast v1.0.0
#6 4.913 go: finding github.com/stretchr/objx v0.2.0
#6 4.918 go: finding github.com/go-toolsmith/typep v1.0.0
#6 4.920 go: finding gopkg.in/yaml.v2 v2.2.4
#6 4.926 go: finding github.com/go-toolsmith/astcopy v1.0.0
#6 4.946 go: finding github.com/OpenPeeDeeP/depguard v1.0.1
#6 4.949 go: finding github.com/fsnotify/fsnotify v1.4.7
#6 4.952 go: finding github.com/go-toolsmith/strparse v1.0.0
#6 4.955 go: finding github.com/bombsimon/wsl v1.2.5
#6 4.959 go: finding github.com/hashicorp/hcl v1.0.0
#6 4.971 go: finding github.com/gobwas/glob v0.2.3
#6 4.974 go: finding github.com/magiconair/properties v1.8.0
#6 4.980 go: finding github.com/spf13/cobra v0.0.5
#6 4.981 go: finding github.com/mitchellh/mapstructure v1.1.2
#6 4.986 go: finding github.com/spf13/pflag v1.0.5
#6 4.986 go: finding github.com/pelletier/go-toml v1.2.0
#6 4.989 go: finding github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2
#6 4.992 go: finding github.com/spf13/afero v1.1.2
#6 4.995 go: finding github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a
#6 4.995 go: finding github.com/golangci/errcheck v0.0.0-20181223084120-ef45e06d44b6
#6 5.000 go: finding github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613
#6 5.005 go: finding github.com/spf13/cast v1.3.0
#6 5.025 go: finding github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3
#6 5.025 go: finding golang.org/x/text v0.3.2
#6 5.031 go: finding github.com/spf13/jwalterweatherman v1.0.0
#6 5.036 go: finding github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee
#6 5.040 go: finding github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0
#6 5.045 go: finding github.com/golangci/gofmt v0.0.0-20190930125516-244bba706f1a
#6 5.059 go: finding github.com/golangci/ineffassign v0.0.0-20190609212857-42439a7714cc
#6 5.062 go: finding github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0
#6 5.065 go: finding github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca
#6 5.070 go: finding github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770
#6 5.075 go: finding github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21
#6 5.079 go: finding github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4
#6 5.083 go: finding github.com/matoous/godox v0.0.0-20190911065817-5d6d842e92eb
#6 5.089 go: finding github.com/securego/gosec v0.0.0-20191002120514-e680875ea14d
#6 5.094 go: finding github.com/kisielk/gotool v1.0.0
#6 5.095 go: finding github.com/sourcegraph/go-diff v0.5.1
#6 5.100 go: finding github.com/timakin/bodyclose v0.0.0-20190930140734-f7f2e9bca95e
#6 5.101 go: finding github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d
#6 5.105 go: finding github.com/ultraware/funlen v0.0.2
#6 5.106 go: finding github.com/ultraware/whitespace v0.0.4
#6 5.111 go: finding github.com/gostaticanalysis/analysisutil v0.0.0-20190318220348-4088753ea4d3
#6 5.113 go: finding github.com/gogo/protobuf v1.2.1
#6 5.119 go: finding sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4
#6 5.136 go: finding github.com/uudashr/gocognit v0.0.0-20190926065955-1655d0de0517
#6 5.156 go: finding honnef.co/go/tools v0.0.1-2019.2.3
#6 5.162 go: finding mvdan.cc/unparam v0.0.0-20190720180237-d51796306d8f
#6 5.162 go: finding mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed
#6 5.166 go: finding github.com/BurntSushi/toml v0.3.1
#6 5.169 go: finding mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b
#6 DONE 27.4s

#7 [4/5] WORKDIR /go/src/github.com/docker/app
#7 DONE 0.0s

#9 [5/5] COPY . .
#9 DONE 0.9s

#10 exporting to image
#10 exporting layers
#10 exporting layers 1.1s done
#10 writing image sha256:fddd07a07f506d0696b3c92b5ad551d6fddacac1b75f57f042f0e628387fed3c done
#10 naming to docker.io/library/docker-app-lint:jenkins-app-PR-720-3 done
#10 DONE 1.1s
docker run --rm docker-app-lint:jenkins-app-PR-720-3 make lint
Linting...
#12 56.50 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=5067aa84 -X github.com/docker/app/internal.Version=jenkins-app-PR-720-3 -X github.com/docker/app/internal.BuildTime=2019-10-29T09:54:16Z" -o bin/docker-app-darwin ./cmd/docker-app
#12 DONE 64.4s

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

#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:ff8df48c526a48afbc5c58ded2c216d1e98211c2a0e605cfb71200616e835b20 done
#15 naming to docker.io/docker/cnab-app-base:jenkins-app-PR-720-3 done
#15 DONE 0.2s
docker save docker/cnab-app-base:jenkins-app-PR-720-3 -o _build/invocation-image.tar
[Pipeline] sh
+ make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-720-3-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag
docker tag docker/cnab-app-base:jenkins-app-PR-720-3 docker/cnab-app-base:jenkins-app-PR-720-3-coverage
docker save docker/cnab-app-base:jenkins-app-PR-720-3-coverage -o _build/coverage-invocation-image.tar
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-720/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-720/3/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-720/3/stashes/coverage-invocation-image.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-720/src/github.com/docker/app
[Pipeline] {
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-720-3
Untagged: docker/cnab-app-base:jenkins-app-PR-720-3
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-720-3-coverage
Untagged: docker/cnab-app-base:jenkins-app-PR-720-3-coverage
Deleted: sha256:ff8df48c526a48afbc5c58ded2c216d1e98211c2a0e605cfb71200616e835b20
[Pipeline] }
[Pipeline] // dir
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
level=error msg="Running error: context loading failed: no go files to analyze"
level=error msg="Timeout exceeded: try increase it by passing --timeout option"
make: *** [Makefile:71: lint] Error 4
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
#12 113.5 GOOS=windows CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=5067aa84 -X github.com/docker/app/internal.Version=jenkins-app-PR-720-3 -X github.com/docker/app/internal.BuildTime=2019-10-29T09:54:16Z" -o bin/docker-app-windows.exe ./cmd/docker-app
#12 DONE 172.4s

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

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

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

#16 exporting to client
#16 copying files 39B
#16 copying files 124.31MB 0.7s done
#16 DONE 0.9s
docker build --build-arg TAG=jenkins-app-PR-720-3 --build-arg COMMIT=5067aa84 --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-720-3  .
#2 [internal] load build definition from Dockerfile
#2 DONE 0.0s

#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

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

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

#10 [internal] load build context
#10 transferring context: 343.61kB 0.2s done
#10 DONE 0.2s

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

#11 [dev 7/7] COPY . .
#11 CACHED

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

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

#6 [dev 3/7] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele...
#6 CACHED

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

#12 [cross-build 1/1] RUN make TAG=jenkins-app-PR-720-3 cross
#12 CACHED

#13 [e2e-cross-build 1/1] RUN make TAG=jenkins-app-PR-720-3 e2e-cross
#13 0.817 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=5067aa84 -X github.com/docker/app/internal.Version=jenkins-app-PR-720-3 -X github.com/docker/app/internal.BuildTime=2019-10-29T09:57:12Z" -o bin/docker-app-linux ./cmd/docker-app
#13 4.361 GOOS=linux CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=5067aa84 -X github.com/docker/app/internal.Version=jenkins-app-PR-720-3 -X github.com/docker/app/internal.BuildTime=2019-10-29T09:57:12Z" -c -o bin/docker-app-e2e-linux ./e2e/
#13 25.96 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=5067aa84 -X github.com/docker/app/internal.Version=jenkins-app-PR-720-3 -X github.com/docker/app/internal.BuildTime=2019-10-29T09:57:12Z" -o bin/docker-app-darwin ./cmd/docker-app
#13 30.12 GOOS=darwin CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=5067aa84 -X github.com/docker/app/internal.Version=jenkins-app-PR-720-3 -X github.com/docker/app/internal.BuildTime=2019-10-29T09:57:12Z" -c -o bin/docker-app-e2e-darwin ./e2e/
#13 52.09 GOOS=windows CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=5067aa84 -X github.com/docker/app/internal.Version=jenkins-app-PR-720-3 -X github.com/docker/app/internal.BuildTime=2019-10-29T09:57:12Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/
#13 DONE 74.1s

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

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

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

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

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

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

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

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

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

#23 exporting to client
#23 copying files 22.19MB 0.1s
#23 copying files 122.17MB 0.7s done
#23 DONE 1.0s
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-720/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-720/3/stashes/binaries.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-720/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-720/3/stashes/e2e.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-720/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-720/3/stashes/examples.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ xargs --no-run-if-empty docker image rm -f
+ docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-720-3*
[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