Pull request #657 updated 13:41:00 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 6364b61eecf6aec6fdf2e76052855db3c072d5e1 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 ead69454b4062f17d1f8389642089a002b037213 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 ead69454b4062f17d1f8389642089a002b037213 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f ead69454b4062f17d1f8389642089a002b037213 Commit message: "Merge pull request #10 from russellcardullo/sonar-scan" > git rev-list --no-walk ead69454b4062f17d1f8389642089a002b037213 # 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-026883fbeef4eb8f4) in /home/ubuntu/workspace/app_PR-657 [Pipeline] { Running on ubuntu-1804-overlay2 (i-069df143b1fc88471) in /home/ubuntu/workspace/app_PR-657 Running on ubuntu-1804-overlay2 (i-043b03688f97acdac) in /home/ubuntu/workspace/app_PR-657 [Pipeline] { [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-657/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-657/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-657/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] checkout [Pipeline] script [Pipeline] { 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 [Pipeline] checkout Fetching changes from the remote Git repository using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Checking out Revision 6364b61eecf6aec6fdf2e76052855db3c072d5e1 (PR-657) Commit message: "vendor: Bump docker/cli" > git rev-parse --is-inside-work-tree # 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 > 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/657/head:refs/remotes/origin/PR-657 > git config core.sparsecheckout # timeout=10 > git checkout -f 6364b61eecf6aec6fdf2e76052855db3c072d5e1 > git rev-list --no-walk d9560dc40cc4a87f226a211c51fef67f4c875851 # timeout=10 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-657/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/657/head:refs/remotes/origin/PR-657 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-657/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/657/head:refs/remotes/origin/PR-657 [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=invocation -t docker/cnab-app-base:jenkins-app-PR-657-2 . Fetching without tags Fetching without tags Checking out Revision 6364b61eecf6aec6fdf2e76052855db3c072d5e1 (PR-657) Checking out Revision 6364b61eecf6aec6fdf2e76052855db3c072d5e1 (PR-657) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/657/head:refs/remotes/origin/PR-657 # 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/657/head:refs/remotes/origin/PR-657 > git config core.sparsecheckout # timeout=10 > git checkout -f 6364b61eecf6aec6fdf2e76052855db3c072d5e1 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/657/head:refs/remotes/origin/PR-657 # 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/657/head:refs/remotes/origin/PR-657 > git config core.sparsecheckout # timeout=10 > git checkout -f 6364b61eecf6aec6fdf2e76052855db3c072d5e1 Commit message: "vendor: Bump docker/cli" Commit message: "vendor: Bump docker/cli" Sending build context to Docker daemon 73.03MB Step 1/14 : ARG ALPINE_VERSION=3.10.1 Step 2/14 : FROM golang:1.13.0 AS build ---> c4d6fdf2260a Step 3/14 : RUN apt-get update -qq && apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 8f4d276fb90e Step 4/14 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> f2a4f44b3c61 Step 5/14 : COPY . . [Pipeline] ansiColor [Pipeline] { [Pipeline] sh [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-657-2 -f Dockerfile.lint . + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=build -t docker-app-cli:jenkins-app-PR-657-2 . Sending build context to Docker daemon 73.03MB 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 ---> fe286f1ed04c 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 ---> e36c5e7f1425 Step 6/8 : WORKDIR /go/src/github.com/docker/app ---> Using cache ---> 534efd581dbf Step 7/8 : ENV CGO_ENABLED=0 ---> Using cache ---> 37199f8ad285 Step 8/8 : COPY . . Sending build context to Docker daemon 73.03MB Step 1/8 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/8 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> 2ee01f6ed170 Step 3/8 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 5a3787977cd6 Step 4/8 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 1fc62480e9ab Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 093aeeca1e27 Step 6/8 : ARG GOPROXY ---> Using cache ---> db47e9f316ea Step 7/8 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 77783268e8fc Step 8/8 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> f8b537aff6d8 [Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed Successfully built f8b537aff6d8 Successfully tagged docker-app-cli:jenkins-app-PR-657-2 docker create --name docker-app-cli-jenkins-app-PR-657-2 docker-app-cli:jenkins-app-PR-657-2 noop 0de0ee269336b91729abc74b4f7570453c399cae7fe0d8769a9ed0f0bc1dfc16 docker cp docker-app-cli-jenkins-app-PR-657-2:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux docker cp docker-app-cli-jenkins-app-PR-657-2:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin docker cp docker-app-cli-jenkins-app-PR-657-2:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe ---> 758c59ccd129 Step 6/14 : ARG EXPERIMENTAL="off" ---> Running in ce86ad0cd985 Removing intermediate container ce86ad0cd985 ---> a690b6d80f69 Step 7/14 : ARG TAG="unknown" ---> Running in 2f96afd5418b docker rm docker-app-cli-jenkins-app-PR-657-2 Removing intermediate container 2f96afd5418b ---> 9b3e1d9b83bf Step 8/14 : RUN make EXPERIMENTAL=${EXPERIMENTAL} BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run ---> Running in 77fca1c7899f docker-app-cli-jenkins-app-PR-657-2 docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=cross -t docker-app-cross:jenkins-app-PR-657-2 . CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=6364b61e -X github.com/docker/app/internal.Version=jenkins-app-PR-657-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T13:41:11Z" -o bin/cnab-run ./cmd/cnab-run Sending build context to Docker daemon 73.03MB Step 1/22 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/22 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> 2ee01f6ed170 Step 3/22 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 5a3787977cd6 Step 4/22 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 1fc62480e9ab Step 5/22 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 093aeeca1e27 Step 6/22 : ARG GOPROXY ---> Using cache ---> db47e9f316ea Step 7/22 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 77783268e8fc Step 8/22 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> f8b537aff6d8 Step 9/22 : FROM build AS dev ---> f8b537aff6d8 Step 10/22 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 0b18a307fe40 Step 11/22 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> c2ff684d1b13 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 ---> Using cache ---> f347abac6cd1 Step 13/22 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> c5a014c68bf4 Step 14/22 : ARG GOPROXY ---> Using cache ---> 1b06710914ff 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 ---> Using cache ---> 80d43715e4b5 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 ---> Using cache ---> a86cdab79c5f 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/* ---> Using cache ---> a84c4375c9ff Step 18/22 : COPY . . ---> 3823ca677c57 Successfully built 3823ca677c57 Successfully tagged docker-app-lint:jenkins-app-PR-657-2 docker run --rm docker-app-lint:jenkins-app-PR-657-2 make lint Linting... ---> c19c3c435e5d Step 19/22 : FROM dev AS cross ---> c19c3c435e5d Step 20/22 : ARG EXPERIMENTAL="off" ---> Running in 0fc41b5d7110 Removing intermediate container 0fc41b5d7110 ---> e71728b414af Step 21/22 : ARG TAG="unknown" ---> Running in 201d0c6c27ec Removing intermediate container 201d0c6c27ec ---> fbfd5520e97c Step 22/22 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Running in 6246da2c50b4 GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=6364b61e -X github.com/docker/app/internal.Version=jenkins-app-PR-657-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T13:41:15Z" -o bin/docker-app-linux ./cmd/docker-app internal/yaml/yaml.go:11:2: `maxDecodedValues` is unused (varcheck) maxDecodedValues = 1000000 ^ make: *** [Makefile:87: lint] Error 1 docker.Makefile:116: 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 GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=6364b61e -X github.com/docker/app/internal.Version=jenkins-app-PR-657-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T13:41:15Z" -o bin/docker-app-darwin ./cmd/docker-app Removing intermediate container 77fca1c7899f ---> aac891ecfb35 Step 9/14 : FROM alpine:${ALPINE_VERSION} as invocation ---> b7b28af77ffe Step 10/14 : RUN apk add --no-cache ca-certificates && adduser -S cnab ---> Running in f6c5498f931a 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 f6c5498f931a ---> 2965af263b36 Step 11/14 : USER cnab ---> Running in 94c329ad9528 Removing intermediate container 94c329ad9528 ---> 22f92760225d Step 12/14 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run ---> 609f3e434cb7 Step 13/14 : WORKDIR /cnab/app ---> Running in 76de793cbdb9 Removing intermediate container 76de793cbdb9 ---> 75ac8ddd5ae6 Step 14/14 : CMD /cnab/app/run ---> Running in 08c7349d3746 Removing intermediate container 08c7349d3746 ---> 517041758d1d [Warning] One or more build-args [COMMIT GOPROXY] were not consumed Successfully built 517041758d1d Successfully tagged docker/cnab-app-base:jenkins-app-PR-657-2 docker save docker/cnab-app-base:jenkins-app-PR-657-2 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-657-2-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-657-2 docker/cnab-app-base:jenkins-app-PR-657-2-coverage docker save docker/cnab-app-base:jenkins-app-PR-657-2-coverage -o _build/coverage-invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-657-2-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-657-2 docker/cnab-app-base:jenkins-app-PR-657-2-coverage-experimental docker save docker/cnab-app-base:jenkins-app-PR-657-2-coverage-experimental -o _build/coverage-experimental-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-657/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-657/2/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-657/2/stashes/coverage-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-657/2/stashes/coverage-experimental-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-657/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-657-2 Untagged: docker/cnab-app-base:jenkins-app-PR-657-2 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-657-2-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-657-2-coverage [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-657-2-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-657-2-coverage-experimental Deleted: sha256:517041758d1da80ff42f0566065b12bd2cc31a402134c5d68d954740f72a995a Deleted: sha256:75ac8ddd5ae6b66b0127153dd3476e0253a3fd50dc1f3b84e94ecbf8de408e07 Deleted: sha256:609f3e434cb7ab47fa8a61378fd466d0c35e504e1d7ee1006c8054dda260b0b2 Deleted: sha256:34ea1b388e1c92dac67420a6b50655f5288a09b290191c501f7e8a60fe441ad5 Deleted: sha256:22f92760225dbdde4cb92d4399fc02982d4a4eae4ecacfdac110af41985ed0f1 Deleted: sha256:2965af263b368af1cd0de59a3c83dfed37c4e27b48488f8e5d08c9c3dd9b376c Deleted: sha256:ccf81d3c72c35f2ca13f79f9798fb4780bdec57da7b27556fe8122e43b4a8bc8 [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } GOOS=windows CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=6364b61e -X github.com/docker/app/internal.Version=jenkins-app-PR-657-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T13:41:15Z" -o bin/docker-app-windows.exe ./cmd/docker-app GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=6364b61e -X github.com/docker/app/internal.Version=jenkins-app-PR-657-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T13:41:15Z" -o bin/docker-app-standalone-linux ./cmd/docker-app-standalone GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=6364b61e -X github.com/docker/app/internal.Version=jenkins-app-PR-657-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T13:41:15Z" -o bin/docker-app-standalone-darwin ./cmd/docker-app-standalone GOOS=windows CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=6364b61e -X github.com/docker/app/internal.Version=jenkins-app-PR-657-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T13:41:15Z" -o bin/docker-app-standalone-windows.exe ./cmd/docker-app-standalone Removing intermediate container 6246da2c50b4 ---> 801285338865 [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 801285338865 Successfully tagged docker-app-cross:jenkins-app-PR-657-2 docker create --name docker-app-cross-jenkins-app-PR-657-2 docker-app-cross:jenkins-app-PR-657-2 noop 8a16b60ac41372d202efa4cf8e9ce00f6db48d90fa8b7f29a74b3b06071a4c8c docker cp docker-app-cross-jenkins-app-PR-657-2:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux docker cp docker-app-cross-jenkins-app-PR-657-2:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin docker cp docker-app-cross-jenkins-app-PR-657-2:/go/src/github.com/docker/app/bin/docker-app-windows.exe bin/docker-app-windows.exe docker cp docker-app-cross-jenkins-app-PR-657-2:/go/src/github.com/docker/app/bin/docker-app-standalone-linux bin/docker-app-standalone-linux docker cp docker-app-cross-jenkins-app-PR-657-2:/go/src/github.com/docker/app/bin/docker-app-standalone-darwin bin/docker-app-standalone-darwin docker cp docker-app-cross-jenkins-app-PR-657-2:/go/src/github.com/docker/app/bin/docker-app-standalone-windows.exe bin/docker-app-standalone-windows.exe docker rm docker-app-cross-jenkins-app-PR-657-2 docker-app-cross-jenkins-app-PR-657-2 docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-657-2 . Sending build context to Docker daemon 73.03MB Step 1/26 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/26 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> 2ee01f6ed170 Step 3/26 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 5a3787977cd6 Step 4/26 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 1fc62480e9ab Step 5/26 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 093aeeca1e27 Step 6/26 : ARG GOPROXY ---> Using cache ---> db47e9f316ea Step 7/26 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 77783268e8fc Step 8/26 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> f8b537aff6d8 Step 9/26 : FROM build AS dev ---> f8b537aff6d8 Step 10/26 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 0b18a307fe40 Step 11/26 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> c2ff684d1b13 Step 12/26 : 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 ---> f347abac6cd1 Step 13/26 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> c5a014c68bf4 Step 14/26 : ARG GOPROXY ---> Using cache ---> 1b06710914ff Step 15/26 : 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 ---> 80d43715e4b5 Step 16/26 : 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 ---> a86cdab79c5f Step 17/26 : 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 ---> a84c4375c9ff Step 18/26 : COPY . . ---> Using cache ---> c19c3c435e5d Step 19/26 : FROM dev AS cross ---> c19c3c435e5d Step 20/26 : ARG EXPERIMENTAL="off" ---> Using cache ---> e71728b414af Step 21/26 : ARG TAG="unknown" ---> Using cache ---> fbfd5520e97c Step 22/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Using cache ---> 801285338865 Step 23/26 : FROM cross AS e2e-cross ---> 801285338865 Step 24/26 : ARG EXPERIMENTAL="off" ---> Running in 546f9b2cd0ca Removing intermediate container 546f9b2cd0ca ---> 97c1386a885b Step 25/26 : ARG TAG="unknown" ---> Running in 00d8f2fbd84f Removing intermediate container 00d8f2fbd84f ---> 77142e5a83a3 Step 26/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} e2e-cross ---> Running in 1fb61fed42fe GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=6364b61e -X github.com/docker/app/internal.Version=jenkins-app-PR-657-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T13:44:00Z" -o bin/docker-app-linux ./cmd/docker-app GOOS=linux CGO_ENABLED=0 go test -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=6364b61e -X github.com/docker/app/internal.Version=jenkins-app-PR-657-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T13:44:00Z" -c -o bin/docker-app-e2e-linux ./e2e/ GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=6364b61e -X github.com/docker/app/internal.Version=jenkins-app-PR-657-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T13:44:00Z" -o bin/docker-app-darwin ./cmd/docker-app GOOS=darwin CGO_ENABLED=0 go test -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=6364b61e -X github.com/docker/app/internal.Version=jenkins-app-PR-657-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T13:44:00Z" -c -o bin/docker-app-e2e-darwin ./e2e/ GOOS=windows CGO_ENABLED=0 go test -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=6364b61e -X github.com/docker/app/internal.Version=jenkins-app-PR-657-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T13:44:00Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ Removing intermediate container 1fb61fed42fe ---> dc535dbeedef [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built dc535dbeedef Successfully tagged docker-app-e2e-cross:jenkins-app-PR-657-2 docker create --name docker-app-e2e-cross-jenkins-app-PR-657-2 docker-app-e2e-cross:jenkins-app-PR-657-2 noop e7fca8b7a2d419b1e4fa4f73f28b28eba7356aa1209e339d8964f6fcb0ff9070 docker cp docker-app-e2e-cross-jenkins-app-PR-657-2:/go/src/github.com/docker/app/bin/docker-app-e2e-linux bin/docker-app-e2e-linux docker cp docker-app-e2e-cross-jenkins-app-PR-657-2:/go/src/github.com/docker/app/bin/docker-app-e2e-darwin bin/docker-app-e2e-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-657-2:/go/src/github.com/docker/app/bin/docker-app-e2e-windows.exe bin/docker-app-e2e-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-657-2:/usr/local/bin/gotestsum-linux bin/gotestsum-linux docker cp docker-app-e2e-cross-jenkins-app-PR-657-2:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-657-2:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-657-2:/usr/local/bin/test2json-linux bin/test2json-linux docker cp docker-app-e2e-cross-jenkins-app-PR-657-2:/usr/local/bin/test2json-darwin bin/test2json-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-657-2:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe docker rm docker-app-e2e-cross-jenkins-app-PR-657-2 docker-app-e2e-cross-jenkins-app-PR-657-2 tar --transform='flags=r;s|docker-app-linux|docker-app-plugin-linux|' -czf bin/docker-app-linux.tar.gz -C bin docker-app-linux docker-app-standalone-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 docker-app-standalone-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 docker-app-standalone-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-657/src/github.com/docker/app/bin [Pipeline] { [Pipeline] stash Stashed 24 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-657/2/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-657/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] stash Stashed 61 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-657/2/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-657/src/github.com/docker/app/examples [Pipeline] { [Pipeline] stash Stashed 29 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-657/2/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-657-2* + xargs docker image rm -f Untagged: docker-app-e2e-cross:jenkins-app-PR-657-2 Deleted: sha256:dc535dbeedef81bcb754ce64ebc3729feeb9121a6c44e89b106c253a5d4f93ea Deleted: sha256:a2ed31ad7618acae1c97221692eb275e2f097ed886bc7a41c43aa09aea4b769e Deleted: sha256:77142e5a83a3f0d8a30cd66131f8f776b35db4824d187977cfe446ac4375c3fb Deleted: sha256:97c1386a885b54a96bdd4bed41fa0d0a38d1c6df51000d8a973eeeba6dc67f2e Untagged: docker-app-cross:jenkins-app-PR-657-2 Deleted: sha256:801285338865cdb179f11dc7087ba70378fde0e02261455037bad9bdcf8d7ff6 Deleted: sha256:ec8a87d85c29436b11ddfebb4c261f63c4912f07631c841744bfde57d76af26b Deleted: sha256:fbfd5520e97c2114f53e110da0fe7242fc7043e1d9bb147e39ab3bbf1c75caad Deleted: sha256:e71728b414af32e6c60f316f28bcbcab82450cfc18a3cea941aa0042fee5e2f4 Deleted: sha256:c19c3c435e5dae2d08a5d37060785249d90c7d6eb9912df579fcc16a99de0fa5 Deleted: sha256:cd1336b2200858519010ffeeaac651ee84c5014390a0c20fd509635ff292ec11 Untagged: docker-app-cli:jenkins-app-PR-657-2 [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: Coverage (experimental)) [Pipeline] { (Branch: Test Linux) [Pipeline] stage [Pipeline] { (Coverage) [Pipeline] stage [Pipeline] { (Coverage (experimental)) [Pipeline] stage [Pipeline] { (Test Linux) Stage "Coverage" skipped due to earlier failure(s) [Pipeline] } Stage "Coverage (experimental)" skipped due to earlier failure(s) [Pipeline] } Stage "Test Linux" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] } Failed in branch Coverage [Pipeline] } Failed in branch Coverage (experimental) [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