Pull request #771 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 659c07b8aff47deaef199e5a40ee83f4f6160ecd 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-0901870e9f944d451) in /home/ubuntu/workspace/app_PR-771 [Pipeline] { Running on ubuntu-1804-overlay2 (i-032a25734ca39d956) in /home/ubuntu/workspace/app_PR-771 [Pipeline] { Running on ubuntu-1804-overlay2 (i-0d99cf4c3fda36cb3) in /home/ubuntu/workspace/app_PR-771 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-771/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-771/src/github.com/docker/app [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-771/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] checkout using credential docker-jenkins-github-credentials [Pipeline] checkout 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 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-771/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/771/head:refs/remotes/origin/PR-771 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-771/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/771/head:refs/remotes/origin/PR-771 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-771/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/771/head:refs/remotes/origin/PR-771 Fetching without tags Fetching without tags Checking out Revision 659c07b8aff47deaef199e5a40ee83f4f6160ecd (PR-771) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/771/head:refs/remotes/origin/PR-771 # 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/771/head:refs/remotes/origin/PR-771 > git config core.sparsecheckout # timeout=10 > git checkout -f 659c07b8aff47deaef199e5a40ee83f4f6160ecd > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/771/head:refs/remotes/origin/PR-771 # 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/771/head:refs/remotes/origin/PR-771 Checking out Revision 659c07b8aff47deaef199e5a40ee83f4f6160ecd (PR-771) Fetching without tags Commit message: "Implement multi tag for build" First time build. Skipping changelog. Checking out Revision 659c07b8aff47deaef199e5a40ee83f4f6160ecd (PR-771) Commit message: "Implement multi tag for build" Commit message: "Implement multi tag for build" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh > git rev-list --no-walk 7db0f3acbbc120d2839979b75e3b980b9f64baf2 # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 659c07b8aff47deaef199e5a40ee83f4f6160ecd > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/771/head:refs/remotes/origin/PR-771 # 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/771/head:refs/remotes/origin/PR-771 > git config core.sparsecheckout # timeout=10 > git checkout -f 659c07b8aff47deaef199e5a40ee83f4f6160ecd [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-771-6 -f Dockerfile.lint . #2 [internal] load build definition from Dockerfile.lint #2 transferring dockerfile: 414B done #2 DONE 0.0s #1 [internal] load .dockerignore #1 transferring context: 73B done #1 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.12.9-alpine3.10 #3 DONE 0.1s [Pipeline] ansiColor [Pipeline] { [Pipeline] sh #4 [1/5] FROM docker.io/library/golang:1.12.9-alpine3.10@sha256:e0660b4f1e6... #4 DONE 0.0s #8 [internal] load build context + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-PR-771-6 --build-arg COMMIT=659c07b8 --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-771-6 . #2 [internal] load .dockerignore #2 transferring context: 73B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 4.18kB 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/8] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea... #4 DONE 0.0s #10 [cli-build 7/8] RUN curl -fL https://download.docker.com/mac/static/stab... #10 CACHED #7 [cli-build 4/8] RUN git clone https://github.com/docker/cli . && git che... #7 CACHED #9 [cli-build 6/8] RUN curl -fL https://download.docker.com/linux/static/st... #9 CACHED #5 [cli-build 2/8] RUN apt-get install -y -q --no-install-recommends core... #5 CACHED #11 [cli-build 8/8] RUN make binary-windows #11 CACHED #12 [cli 1/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #12 CACHED #8 [cli-build 5/8] RUN mkdir build #8 CACHED #13 [cli 2/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #13 CACHED #6 [cli-build 3/8] WORKDIR /go/src/github.com/docker/cli #6 CACHED #14 [cli 3/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #14 CACHED #15 exporting to client #15 copying files 35B + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-771-6 --build-arg COMMIT=659c07b8 --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-771-6 . #2 [internal] load .dockerignore #2 transferring context: 73B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile.invocation-image #1 transferring dockerfile: 614B done #1 DONE 0.0s #4 [internal] load metadata for docker.io/library/alpine:3.10.3 #4 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.13.2 #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 #5 DONE 0.0s #10 [internal] load build context #8 transferring context: 73.89MB 1.3s done #8 DONE 1.4s #5 [2/5] RUN apk add --no-cache curl git make coreutils #5 CACHED #6 [3/5] RUN GO111MODULE=on go get github.com/golangci/golangci-lint/cm... #6 CACHED #7 [4/5] WORKDIR /go/src/github.com/docker/app #7 CACHED #9 [5/5] COPY . . #15 copying files 184.16MB 1.2s done #15 DONE 1.8s docker build --build-arg TAG=jenkins-app-PR-771-6 --build-arg COMMIT=659c07b8 --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-771-6 . #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 #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 #10 transferring context: 73.89MB 1.3s done #10 DONE 1.3s #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 . . #8 [cli-build 1/8] 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 #21 [internal] load build context #9 DONE 1.7s #10 exporting to image #10 exporting layers #11 DONE 1.4s #12 [build 5/5] RUN make BUILD_TAG=${BUILD_TAG} TAG=jenkins-app-PR-771-6 bin... #21 transferring context: 73.89MB 1.3s done #21 DONE 1.3s #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 CACHED #9 [cli-build 2/8] RUN apt-get install -y -q --no-install-recommends core... #9 CACHED #12 [cli-build 5/8] RUN mkdir build #12 CACHED #6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom... #6 CACHED #11 [cli-build 4/8] RUN git clone https://github.com/docker/cli . && git che... #11 CACHED #15 [cli-build 8/8] RUN make binary-windows #15 CACHED #14 [cli-build 7/8] RUN curl -fL https://download.docker.com/mac/static/stab... #14 CACHED #13 [cli-build 6/8] RUN curl -fL https://download.docker.com/linux/static/st... #13 CACHED #10 [cli-build 3/8] WORKDIR /go/src/github.com/docker/cli #10 CACHED #18 [dev 6/9] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #18 CACHED #19 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #19 CACHED #16 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #16 CACHED #17 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #17 CACHED #20 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #20 CACHED #22 [dev 9/9] COPY . . #10 exporting layers 0.7s done #10 writing image sha256:58e7d52ae0bd99b825d9b8bc6f969c15ec31db35586e84b98fbdb2d33478e2d2 #10 writing image sha256:58e7d52ae0bd99b825d9b8bc6f969c15ec31db35586e84b98fbdb2d33478e2d2 done #10 naming to docker.io/library/docker-app-lint:jenkins-app-PR-771-6 done #10 DONE 0.8s docker run --rm docker-app-lint:jenkins-app-PR-771-6 make lint #12 1.111 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=659c07b8 -X github.com/docker/app/internal.Version=jenkins-app-PR-771-6 -X github.com/docker/app/internal.BuildTime=2019-12-02T15:07:23Z" -o bin/cnab-run ./cmd/cnab-run #22 DONE 1.3s #23 [cross-build 1/1] RUN make TAG=jenkins-app-PR-771-6 cross Linting... #23 1.105 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=659c07b8 -X github.com/docker/app/internal.Version=jenkins-app-PR-771-6 -X github.com/docker/app/internal.BuildTime=2019-12-02T15:07:24Z" -o bin/docker-app-linux ./cmd/docker-app level=warning msg="[runner/megacheck] Can't run megacheck because of compilation errors in packages [github.com/docker/app/internal/commands [github.com/docker/app/internal/commands.test] github.com/docker/app/internal/commands/build [github.com/docker/app/internal/commands/build.test]]: internal/commands/build/compose.go:24: cannot use options.args (variable of type opts.ListOpts) as []string value in argument to buildArgsToMap and 1 more errors: run `golangci-lint run --no-config --disable-all -E typecheck` to see all errors" level=warning msg="[runner/govet] govet error: asmdecl: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: asmdecl: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: asmdecl: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: assign: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: assign: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: assign: analysis skipped due to errors in package" 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: atomicalign: 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: 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: bools: 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: 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: buildtag: 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: 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: httpresponse: 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: 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: loopclosure: 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: 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: failed prerequisites: ctrlflow@github.com/docker/app/internal/commands/build" level=warning msg="[runner/govet] govet error: ctrlflow: failed prerequisites: ctrlflow@github.com/docker/app/internal/commands" level=warning msg="[runner/govet] govet error: lostcancel: failed prerequisites: ctrlflow@github.com/docker/app/cmd/docker-app" level=warning msg="[runner/govet] govet error: ctrlflow: failed prerequisites: ctrlflow@github.com/docker/app/internal/commands" level=warning msg="[runner/govet] govet error: lostcancel: failed prerequisites: ctrlflow@github.com/docker/app/docs/yaml" level=warning msg="[runner/govet] govet error: ctrlflow: failed prerequisites: ctrlflow@github.com/docker/app/internal/commands/build" level=warning msg="[runner/govet] govet error: lostcancel: failed prerequisites: ctrlflow@github.com/docker/app/internal/commands [github.com/docker/app/internal/commands.test]" level=warning msg="[runner/govet] govet error: ctrlflow: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: lostcancel: failed prerequisites: ctrlflow@github.com/docker/app/internal/commands/build [github.com/docker/app/internal/commands/build.test]" level=warning msg="[runner/govet] govet error: nilfunc: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: nilfunc: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: nilfunc: analysis skipped due to errors in package" 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: failed prerequisites: printf@github.com/docker/app/internal/commands/build" level=warning msg="[runner/govet] govet error: printf: failed prerequisites: printf@github.com/docker/app/internal/commands" level=warning msg="[runner/govet] govet error: printf: failed prerequisites: printf@github.com/docker/app/internal/commands" level=warning msg="[runner/govet] govet error: printf: failed prerequisites: printf@github.com/docker/app/internal/commands/build" level=warning msg="[runner/govet] govet error: printf: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: shift: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: shift: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: shift: analysis skipped due to errors in package" 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: stdmethods: 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: 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: tests: 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: 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: unmarshal: 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: 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: unsafeptr: 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: 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: unusedresult: 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: 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/docker-app" 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/docs/yaml" 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/internal/commands [github.com/docker/app/internal/commands.test]" 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/internal/commands/build [github.com/docker/app/internal/commands/build.test]" level=warning msg="[runner] Can't run linter govet: asmdecl: analysis skipped due to errors in package" internal/commands/build/compose.go:24:30: cannot use options.args (variable of type opts.ListOpts) as []string value in argument to buildArgsToMap (typecheck) buildArgs := buildArgsToMap(options.args) ^ make: *** [Makefile:71: lint] Error 1 docker.Makefile:89: recipe for target 'lint' failed make: *** [lint] Error 2 [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Validate #23 52.70 # github.com/docker/app/internal/commands/build #23 52.70 internal/commands/build/compose.go:24:37: cannot use options.args (type opts.ListOpts) as type []string in argument to buildArgsToMap #23 52.77 make: *** [Makefile:54: bin/docker-app-linux] Error 2 #23 ERROR: executor failed running [/bin/sh -c make TAG=${TAG} cross]: exit code: 2 ------ > [cross-build 1/1] RUN make TAG=jenkins-app-PR-771-6 cross: ------ failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c make TAG=${TAG} cross]: exit code: 2 docker.Makefile:40: recipe for target 'cross' failed make: *** [cross] Error 1 [Pipeline] } [Pipeline] // ansiColor [Pipeline] sh + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-771-6* + xargs --no-run-if-empty docker image rm -f [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Binaries #12 DONE 64.5s #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.2s #14 [invocation 4/4] WORKDIR /cnab/app #14 DONE 0.1s #15 exporting to image #15 exporting layers #15 exporting layers 0.2s done #15 writing image sha256:96b34106dc8b88fada6e99f7048270011fd965d258f12293b4f9219a245c54f2 done #15 naming to docker.io/docker/cnab-app-base:jenkins-app-PR-771-6 done #15 DONE 0.2s docker save docker/cnab-app-base:jenkins-app-PR-771-6 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-771-6-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-771-6 docker/cnab-app-base:jenkins-app-PR-771-6-coverage docker save docker/cnab-app-base:jenkins-app-PR-771-6-coverage -o _build/coverage-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-771/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-771/6/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-771/6/stashes/coverage-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-771/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-771-6 Untagged: docker/cnab-app-base:jenkins-app-PR-771-6 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-771-6-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-771-6-coverage Deleted: sha256:96b34106dc8b88fada6e99f7048270011fd965d258f12293b4f9219a245c54f2 [Pipeline] } [Pipeline] // dir [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