Pull request #731 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from a49c4e0a1ae4a3dae95e68c013d906a8a2e22517 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-0b885d95133e67e6c) in /home/ubuntu/workspace/app_PR-731 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-731/src/github.com/docker/app [Pipeline] { [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-731/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/731/head:refs/remotes/origin/PR-731 Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/731/head:refs/remotes/origin/PR-731 # 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/731/head:refs/remotes/origin/PR-731 Checking out Revision a49c4e0a1ae4a3dae95e68c013d906a8a2e22517 (PR-731) Commit message: "Make flag cnab-bunle-json experimental" First time build. Skipping changelog. [Pipeline] ansiColor [Pipeline] { [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f a49c4e0a1ae4a3dae95e68c013d906a8a2e22517 > git rev-list --no-walk 3c6666a9ac69d003040a943581505266b8db5b02 # timeout=10 + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-731-2 -f Dockerfile.lint . #2 [internal] load .dockerignore #2 transferring context: 73B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile.lint #1 transferring dockerfile: 414B done #1 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.12.9-alpine3.10 #3 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 #8 transferring context: 73.14MB 1.3s done #8 DONE 1.3s #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 . . #9 DONE 1.2s #10 exporting to image #10 exporting layers #10 exporting layers 0.8s done #10 writing image sha256:483163e62e4dc355cc5cdaf8d7cf07fe62399f09340d173d5091d4a5249e23c9 done #10 naming to docker.io/library/docker-app-lint:jenkins-app-PR-731-2 done #10 DONE 0.8s docker run --rm docker-app-lint:jenkins-app-PR-731-2 make lint Linting... Still waiting to schedule task Waiting for next available executor on ‘ubuntu-1804&&x86_64&&overlay2’ Still waiting to schedule task Waiting for next available executor on ‘ubuntu-1804&&x86_64&&overlay2’ level=warning msg="[runner/govet] govet error: assign: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: atomicalign: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: bools: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: buildtag: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: httpresponse: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: loopclosure: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: ctrlflow: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: ctrlflow: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: ctrlflow: failed prerequisites: ctrlflow@github.com/docker/app/vendor/github.com/docker/cli/cli/command/service" level=warning msg="[runner/govet] govet error: ctrlflow: failed prerequisites: ctrlflow@github.com/docker/app/vendor/github.com/docker/cli/cli/command/service, ctrlflow@github.com/docker/app/vendor/github.com/docker/cli/cli/compose/convert" level=warning msg="[runner/govet] govet error: ctrlflow: failed prerequisites: ctrlflow@github.com/docker/app/vendor/github.com/docker/cli/cli/command/service, ctrlflow@github.com/docker/app/vendor/github.com/docker/cli/cli/command/stack/kubernetes, ctrlflow@github.com/docker/app/vendor/github.com/docker/cli/cli/command/stack/swarm" level=warning msg="[runner/govet] govet error: ctrlflow: failed prerequisites: ctrlflow@github.com/docker/app/vendor/github.com/docker/cli/cli/command/stack, ctrlflow@github.com/docker/app/vendor/github.com/docker/cli/cli/command/stack/swarm" level=warning msg="[runner/govet] govet error: lostcancel: failed prerequisites: ctrlflow@github.com/docker/app/cmd/cnab-run" level=warning msg="[runner/govet] govet error: nilfunc: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: printf: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: printf: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: printf: failed prerequisites: printf@github.com/docker/app/vendor/github.com/docker/cli/cli/command/service" level=warning msg="[runner/govet] govet error: printf: failed prerequisites: printf@github.com/docker/app/vendor/github.com/docker/cli/cli/command/service, printf@github.com/docker/app/vendor/github.com/docker/cli/cli/compose/convert" level=warning msg="[runner/govet] govet error: printf: failed prerequisites: printf@github.com/docker/app/vendor/github.com/docker/cli/cli/command/service, printf@github.com/docker/app/vendor/github.com/docker/cli/cli/command/stack/kubernetes, printf@github.com/docker/app/vendor/github.com/docker/cli/cli/command/stack/swarm" level=warning msg="[runner/govet] govet error: printf: failed prerequisites: printf@github.com/docker/app/vendor/github.com/docker/cli/cli/command/stack, printf@github.com/docker/app/vendor/github.com/docker/cli/cli/command/stack/swarm" level=warning msg="[runner/govet] govet error: shift: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: stdmethods: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: tests: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unmarshal: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unsafeptr: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unusedresult: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: buildssa: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: nilness: failed prerequisites: buildssa@github.com/docker/app/cmd/cnab-run" level=warning msg="[runner] Can't run linter govet: asmdecl: analysis skipped due to errors in package" cmd/cnab-run/env.go:1: vendor/github.com/docker/cli/cli/command/stack/swarm/services.go:27:3: unknown field Status in struct literal (typecheck) package main Running on ubuntu-1804-overlay2 (i-0242a7cc62b3b65cf) in /home/ubuntu/workspace/app_PR-731 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-731/src/github.com/docker/app [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] checkout using credential docker-jenkins-github-credentials Fetching changes from the remote Git repository Fetching without tags Checking out Revision a49c4e0a1ae4a3dae95e68c013d906a8a2e22517 (PR-731) Commit message: "Make flag cnab-bunle-json experimental" > 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/731/head:refs/remotes/origin/PR-731 > git config core.sparsecheckout # timeout=10 > git checkout -f a49c4e0a1ae4a3dae95e68c013d906a8a2e22517 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] ansiColor [Pipeline] { [Pipeline] sh [Pipeline] } [Pipeline] // node Running on ubuntu-1804-overlay2 (i-0b885d95133e67e6c) in /home/ubuntu/workspace/app_PR-731 [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } Failed in branch Validate [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-731/src/github.com/docker/app [Pipeline] { [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-PR-731-2 --build-arg COMMIT=a49c4e0a --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-731-2 . #2 [internal] load .dockerignore #2 transferring context: 34B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 3.83kB 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 #8 [cli-build 5/5] RUN make binary-osx binary-windows binary #8 CACHED #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 #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 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-731/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/731/head:refs/remotes/origin/PR-731 #12 copying files 181.89MB 1.3s done #12 DONE 1.7s docker build --build-arg TAG=jenkins-app-PR-731-2 --build-arg COMMIT=a49c4e0a --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-731-2 . #2 [internal] load .dockerignore #2 DONE 0.0s #1 [internal] load build definition from Dockerfile Fetching without tags #1 transferring dockerfile: 38B done #1 DONE 0.0s #2 [internal] load .dockerignore #2 transferring context: 34B done #2 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 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/731/head:refs/remotes/origin/PR-731 # 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/731/head:refs/remotes/origin/PR-731 Checking out Revision a49c4e0a1ae4a3dae95e68c013d906a8a2e22517 (PR-731) Commit message: "Make flag cnab-bunle-json experimental" #18 transferring context: 25.14MB 0.4s done #18 DONE 0.4s #9 [cli-build 2/5] RUN apt-get install -y -q --no-install-recommends core... #9 CACHED #12 [cli-build 5/5] RUN make binary-osx binary-windows binary #12 CACHED #13 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #13 CACHED #14 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #14 CACHED #15 [dev 6/9] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #15 CACHED #16 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #16 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 #10 [cli-build 3/5] WORKDIR /go/src/github.com/docker/cli #10 CACHED #11 [cli-build 4/5] RUN git clone https://github.com/docker/cli . && git che... #11 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 . . [Pipeline] ansiColor [Pipeline] { [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f a49c4e0a1ae4a3dae95e68c013d906a8a2e22517 + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-731-2 --build-arg COMMIT=a49c4e0a --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-731-2 . #2 [internal] load build definition from Dockerfile.invocation-image #2 transferring dockerfile: 614B 0.0s done #2 DONE 0.0s #1 [internal] load .dockerignore #1 transferring context: 73B 0.0s done #1 DONE 0.0s #4 [internal] load metadata for docker.io/library/alpine:3.10.3 #4 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.13.2 #3 DONE 0.1s #19 DONE 0.9s #20 [cross-build 1/1] RUN make TAG=jenkins-app-PR-731-2 cross #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #7 DONE 0.0s #5 [invocation 1/4] FROM docker.io/library/alpine:3.10.3 #5 CACHED #10 [internal] load build context #20 1.102 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=a49c4e0a -X github.com/docker/app/internal.Version=jenkins-app-PR-731-2 -X github.com/docker/app/internal.BuildTime=2019-11-08T13:25:12Z" -o bin/docker-app-linux ./cmd/docker-app #10 transferring context: 73.14MB 1.7s done #10 DONE 1.8s #8 [build 2/5] RUN apt-get update -qq && apt-get install -y -q --no-install... #8 CACHED #9 [build 3/5] WORKDIR /go/src/github.com/docker/app/ #9 CACHED #11 [build 4/5] COPY . . #11 DONE 1.5s #6 [invocation 2/4] RUN apk add --no-cache ca-certificates && adduser -S cn... #6 1.396 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz #6 2.453 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz #6 2.545 (1/1) Installing ca-certificates (20190108-r0) #6 2.562 Executing busybox-1.30.1-r2.trigger #6 2.568 Executing ca-certificates-20190108-r0.trigger #6 2.605 OK: 6 MiB in 15 packages #6 DONE 3.2s #12 [build 5/5] RUN make BUILD_TAG=${BUILD_TAG} TAG=jenkins-app-PR-731-2 bin... #12 0.987 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=a49c4e0a -X github.com/docker/app/internal.Version=jenkins-app-PR-731-2 -X github.com/docker/app/internal.BuildTime=2019-11-08T13:25:15Z" -o bin/cnab-run ./cmd/cnab-run #20 55.66 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=a49c4e0a -X github.com/docker/app/internal.Version=jenkins-app-PR-731-2 -X github.com/docker/app/internal.BuildTime=2019-11-08T13:25:12Z" -o bin/docker-app-darwin ./cmd/docker-app #12 57.15 # github.com/docker/app/vendor/github.com/docker/cli/cli/command/service #12 57.15 vendor/github.com/docker/cli/cli/command/service/formatter.go:582:6: s.ServiceStatus undefined (type *swarm.Service has no field or method ServiceStatus) #12 57.15 vendor/github.com/docker/cli/cli/command/service/formatter.go:583:22: c.service.ServiceStatus undefined (type swarm.Service has no field or method ServiceStatus) #12 57.15 vendor/github.com/docker/cli/cli/command/service/formatter.go:584:22: c.service.ServiceStatus undefined (type swarm.Service has no field or method ServiceStatus) #12 57.15 vendor/github.com/docker/cli/cli/command/service/list.go:57:3: unknown field 'Status' in struct literal of type "github.com/docker/app/vendor/github.com/docker/docker/api/types".ServiceListOptions #12 57.15 vendor/github.com/docker/cli/cli/command/service/list.go:65:13: listOpts.Status undefined (type "github.com/docker/app/vendor/github.com/docker/docker/api/types".ServiceListOptions has no field or method Status) #12 57.15 vendor/github.com/docker/cli/cli/command/service/list.go:111:24: undefined: swarm.ServiceStatus #12 57.15 vendor/github.com/docker/cli/cli/command/service/list.go:115:9: s.ServiceStatus undefined (type swarm.Service has no field or method ServiceStatus) #12 57.15 vendor/github.com/docker/cli/cli/command/service/list.go:123:15: services[i].ServiceStatus undefined (type swarm.Service has no field or method ServiceStatus) #12 57.15 vendor/github.com/docker/cli/cli/command/service/list.go:123:33: undefined: swarm.ServiceStatus #12 57.15 vendor/github.com/docker/cli/cli/command/service/list.go:124:20: undefined: swarm.ServiceStatus #12 57.15 vendor/github.com/docker/cli/cli/command/service/list.go:124:20: too many errors #12 59.20 # github.com/docker/app/vendor/github.com/docker/cli/cli/command/stack/kubernetes #12 59.20 vendor/github.com/docker/cli/cli/command/stack/kubernetes/conversion.go:195:3: s.ServiceStatus undefined (type *swarm.Service has no field or method ServiceStatus) #12 59.20 vendor/github.com/docker/cli/cli/command/stack/kubernetes/conversion.go:195:21: undefined: swarm.ServiceStatus #12 59.20 vendor/github.com/docker/cli/cli/command/stack/kubernetes/conversion.go:210:3: s.ServiceStatus undefined (type *swarm.Service has no field or method ServiceStatus) #12 59.20 vendor/github.com/docker/cli/cli/command/stack/kubernetes/conversion.go:210:21: undefined: swarm.ServiceStatus #12 59.31 make: *** [Makefile:57: bin/cnab-run] Error 2 #12 ERROR: executor failed running [/bin/sh -c make BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run]: exit code: 2 ------ > [build 5/5] RUN make BUILD_TAG=${BUILD_TAG} TAG=jenkins-app-PR-731-2 bin/cnab-run: ------ failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c make BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run]: exit code: 2 docker.Makefile:122: recipe for target 'invocation-image' failed make: *** [invocation-image] Error 1 [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-731/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-731-2 Error: No such image: docker/cnab-app-base:jenkins-app-PR-731-2 [Pipeline] } [Pipeline] // dir Error when executing always post condition: hudson.AbortException: script returned exit code 1 at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:658) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:604) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:548) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Build Invocation image #20 114.3 GOOS=windows CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=a49c4e0a -X github.com/docker/app/internal.Version=jenkins-app-PR-731-2 -X github.com/docker/app/internal.BuildTime=2019-11-08T13:25:12Z" -o bin/docker-app-windows.exe ./cmd/docker-app #20 DONE 172.9s #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.3s #23 [cross 3/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #23 DONE 0.2s #24 exporting to client #24 copying files 39B #24 copying files 124.24MB 0.8s done #24 DONE 1.4s docker build --build-arg TAG=jenkins-app-PR-731-2 --build-arg COMMIT=a49c4e0a --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-731-2 . #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/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 #18 transferring context: 341.12kB 0.2s done #18 DONE 0.2s #16 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #16 CACHED #10 [cli-build 3/5] WORKDIR /go/src/github.com/docker/cli #10 CACHED #11 [cli-build 4/5] RUN git clone https://github.com/docker/cli . && git che... #11 CACHED #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 CACHED #9 [cli-build 2/5] RUN apt-get install -y -q --no-install-recommends core... #9 CACHED #12 [cli-build 5/5] RUN make binary-osx binary-windows binary #12 CACHED #19 [dev 9/9] COPY . . #19 CACHED #17 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #17 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 #6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom... #6 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-731-2 cross #20 CACHED #21 [e2e-cross-build 1/1] RUN make TAG=jenkins-app-PR-731-2 e2e-cross #21 0.855 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=a49c4e0a -X github.com/docker/app/internal.Version=jenkins-app-PR-731-2 -X github.com/docker/app/internal.BuildTime=2019-11-08T13:28:08Z" -o bin/docker-app-linux ./cmd/docker-app #21 4.009 GOOS=linux CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=a49c4e0a -X github.com/docker/app/internal.Version=jenkins-app-PR-731-2 -X github.com/docker/app/internal.BuildTime=2019-11-08T13:28:08Z" -c -o bin/docker-app-e2e-linux ./e2e/ #21 25.66 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=a49c4e0a -X github.com/docker/app/internal.Version=jenkins-app-PR-731-2 -X github.com/docker/app/internal.BuildTime=2019-11-08T13:28:08Z" -o bin/docker-app-darwin ./cmd/docker-app #21 30.47 GOOS=darwin CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=a49c4e0a -X github.com/docker/app/internal.Version=jenkins-app-PR-731-2 -X github.com/docker/app/internal.BuildTime=2019-11-08T13:28:08Z" -c -o bin/docker-app-e2e-darwin ./e2e/ #21 52.59 GOOS=windows CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=a49c4e0a -X github.com/docker/app/internal.Version=jenkins-app-PR-731-2 -X github.com/docker/app/internal.BuildTime=2019-11-08T13:28:08Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ #21 DONE 75.1s #22 [e2e-cross 1/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #22 DONE 0.1s #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.3s #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 43B #31 copying files 121.57MB 0.8s done #31 DONE 1.6s 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-731/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-731/2/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-731/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] stash Stashed 75 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-731/2/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-731/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-731/2/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-731-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: 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