Pull request #775 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 8623fc40066a6edb154299d9b82f1e06fe026b86 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-03be81bba05907d87) in /home/ubuntu/workspace/app_PR-775 [Pipeline] { Running on ubuntu-1804-overlay2 (i-0d15d976310f20e3e) in /home/ubuntu/workspace/app_PR-775 [Pipeline] { Running on ubuntu-1804-overlay2 (i-0901870e9f944d451) in /home/ubuntu/workspace/app_PR-775 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-775/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-775/src/github.com/docker/app [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] checkout [Pipeline] checkout [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-775/src/github.com/docker/app [Pipeline] { using credential docker-jenkins-github-credentials [Pipeline] checkout 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 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-775/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/775/head:refs/remotes/origin/PR-775 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-775/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/775/head:refs/remotes/origin/PR-775 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-775/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/775/head:refs/remotes/origin/PR-775 Fetching without tags Checking out Revision 8623fc40066a6edb154299d9b82f1e06fe026b86 (PR-775) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/775/head:refs/remotes/origin/PR-775 # timeout=10 Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/775/head:refs/remotes/origin/PR-775 # 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/775/head:refs/remotes/origin/PR-775 > git config core.sparsecheckout # timeout=10 > git checkout -f 8623fc40066a6edb154299d9b82f1e06fe026b86 Fetching without tags Checking out Revision 8623fc40066a6edb154299d9b82f1e06fe026b86 (PR-775) Checking out Revision 8623fc40066a6edb154299d9b82f1e06fe026b86 (PR-775) Commit message: "Use hashicorp/go-multierror in app rm" > git rev-list --no-walk 4b39e99b29d802f5a56ceed9dfb7265fcb1286a5 # timeout=10 Commit message: "Use hashicorp/go-multierror in app rm" Commit message: "Use hashicorp/go-multierror in app rm" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh > 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/775/head:refs/remotes/origin/PR-775 > git config core.sparsecheckout # timeout=10 > git checkout -f 8623fc40066a6edb154299d9b82f1e06fe026b86 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/775/head:refs/remotes/origin/PR-775 # 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/775/head:refs/remotes/origin/PR-775 > git config core.sparsecheckout # timeout=10 > git checkout -f 8623fc40066a6edb154299d9b82f1e06fe026b86 [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-775-6 -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 + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-PR-775-6 --build-arg COMMIT=8623fc40 --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-775-6 . #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 4.18kB done #1 DONE 0.0s #2 [internal] load .dockerignore #2 transferring context: 73B done #2 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 #13 [cli 2/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #13 CACHED #9 [cli-build 6/8] RUN curl -fL https://download.docker.com/linux/static/st... #9 CACHED #11 [cli-build 8/8] RUN make binary-windows #11 CACHED #6 [cli-build 3/8] WORKDIR /go/src/github.com/docker/cli #6 CACHED #8 [cli-build 5/8] RUN mkdir build #8 CACHED #5 [cli-build 2/8] RUN apt-get install -y -q --no-install-recommends core... #5 CACHED #7 [cli-build 4/8] RUN git clone https://github.com/docker/cli . && git che... #7 CACHED #12 [cli 1/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #12 CACHED #10 [cli-build 7/8] RUN curl -fL https://download.docker.com/mac/static/stab... #10 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 #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 + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-775-6 --build-arg COMMIT=8623fc40 --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-775-6 . #1 [internal] load .dockerignore #1 transferring context: 73B done #1 DONE 0.0s #2 [internal] load build definition from Dockerfile.invocation-image #2 transferring dockerfile: 614B done #2 DONE 0.0s #4 [internal] load metadata for docker.io/library/golang:1.13.2 #4 ... #3 [internal] load metadata for docker.io/library/alpine:3.10.3 #3 DONE 0.2s #4 [internal] load metadata for docker.io/library/golang:1.13.2 #4 DONE 0.2s #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #7 resolve docker.io/library/golang:1.13.2@sha256:b3086f21bfbe896973dd6147b46f2736a7deb2c04ed76219835befa0244a9562 done #7 sha256:e37698ff73511ad444a1a3547b81c3f1650f7b34bfc99bd46efccf1d90024db4 5.46kB / 5.46kB done #7 sha256:c7b7d16361e00faca0e9393f3f43923f25ceb1210face87839dfc5de988905c1 0B / 50.38MB 0.1s #7 sha256:b7a128769df1909f91b589d0a4a2e1c1671aebc047a9f46b4b30dfeb7308ea6a 713.26kB / 7.81MB 0.1s #7 sha256:1128949d0793d2435bb1f0640a777f32feee88b71d4fe234121c3cfb345a80c4 0B / 10.00MB 0.1s #7 sha256:b3086f21bfbe896973dd6147b46f2736a7deb2c04ed76219835befa0244a9562 2.16kB / 2.16kB done #7 sha256:36c384d8593f8989b7a50bebf9569c9f6a43a6881baa8a248a84251d2ca17ddb 1.79kB / 1.79kB done #7 sha256:b7a128769df1909f91b589d0a4a2e1c1671aebc047a9f46b4b30dfeb7308ea6a 6.95MB / 7.81MB 0.2s #7 sha256:1128949d0793d2435bb1f0640a777f32feee88b71d4fe234121c3cfb345a80c4 6.65MB / 10.00MB 0.2s #7 sha256:c7b7d16361e00faca0e9393f3f43923f25ceb1210face87839dfc5de988905c1 23.69MB / 50.38MB 0.6s #7 sha256:b7a128769df1909f91b589d0a4a2e1c1671aebc047a9f46b4b30dfeb7308ea6a 7.81MB / 7.81MB 0.2s done #7 sha256:1128949d0793d2435bb1f0640a777f32feee88b71d4fe234121c3cfb345a80c4 10.00MB / 10.00MB 0.5s done #7 sha256:667692510b7038b74e221f92eb33610e4968b669c8a718378ecb1f78739c3713 4.67MB / 51.77MB 0.6s #7 sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 1.19MB / 68.52MB 0.6s #7 sha256:c7b7d16361e00faca0e9393f3f43923f25ceb1210face87839dfc5de988905c1 26.58MB / 50.38MB 0.7s #7 sha256:667692510b7038b74e221f92eb33610e4968b669c8a718378ecb1f78739c3713 10.99MB / 51.77MB 0.7s #7 sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 6.18MB / 68.52MB 0.7s #7 sha256:c7b7d16361e00faca0e9393f3f43923f25ceb1210face87839dfc5de988905c1 33.89MB / 50.38MB 0.8s #7 sha256:667692510b7038b74e221f92eb33610e4968b669c8a718378ecb1f78739c3713 19.73MB / 51.77MB 0.8s #7 sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 10.15MB / 68.52MB 0.8s #15 copying files 184.16MB 1.3s done #8 transferring context: 73.96MB 1.4s 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 . . #7 sha256:c7b7d16361e00faca0e9393f3f43923f25ceb1210face87839dfc5de988905c1 38.42MB / 50.38MB 0.9s #7 sha256:667692510b7038b74e221f92eb33610e4968b669c8a718378ecb1f78739c3713 24.13MB / 51.77MB 0.9s #7 sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 16.14MB / 68.52MB 0.9s #7 sha256:c7b7d16361e00faca0e9393f3f43923f25ceb1210face87839dfc5de988905c1 49.25MB / 50.38MB 1.1s #7 sha256:667692510b7038b74e221f92eb33610e4968b669c8a718378ecb1f78739c3713 29.48MB / 51.77MB 1.1s #7 sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 23.47MB / 68.52MB 1.1s #7 sha256:667692510b7038b74e221f92eb33610e4968b669c8a718378ecb1f78739c3713 38.46MB / 51.77MB 1.2s #7 sha256:c7b7d16361e00faca0e9393f3f43923f25ceb1210face87839dfc5de988905c1 50.38MB / 50.38MB 1.2s done #7 sha256:667692510b7038b74e221f92eb33610e4968b669c8a718378ecb1f78739c3713 51.77MB / 51.77MB 1.4s #7 sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 36.26MB / 68.52MB 1.4s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 647.77kB / 120.05MB 1.4s #15 DONE 2.0s docker build --build-arg TAG=jenkins-app-PR-775-6 --build-arg COMMIT=8623fc40 --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-775-6 . #7 sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 40.56MB / 68.52MB 1.5s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 8.30MB / 120.05MB 1.5s #7 extracting sha256:c7b7d16361e00faca0e9393f3f43923f25ceb1210face87839dfc5de988905c1 #7 sha256:667692510b7038b74e221f92eb33610e4968b669c8a718378ecb1f78739c3713 51.77MB / 51.77MB 1.6s done #7 sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 46.46MB / 68.52MB 1.6s #7 sha256:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c 0B / 126B 1.6s #1 [internal] load build definition from Dockerfile #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.2s #7 sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 56.16MB / 68.52MB 1.7s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 19.87MB / 120.05MB 1.7s #7 sha256:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c 126B / 126B 1.6s done #7 sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 61.31MB / 68.52MB 1.9s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 28.90MB / 120.05MB 1.9s #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 #7 sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 66.41MB / 68.52MB 2.0s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 37.77MB / 120.05MB 2.1s #7 sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 68.52MB / 68.52MB 2.2s done #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 53.16MB / 120.05MB 2.4s #9 DONE 1.1s #10 exporting to image #10 exporting layers #7 ... #5 [invocation 1/4] FROM docker.io/library/alpine:3.10.3@sha256:c19173c5ada... #5 resolve docker.io/library/alpine:3.10.3@sha256:c19173c5ada610a5989151111163d28a67368362762534d8a8121ce95cf2bd5a done #5 sha256:965ea09ff2ebd2b9eeec88cd822ce156f6674c7e99be082c7efac3c62f3ff652 1.51kB / 1.51kB done #5 sha256:c19173c5ada610a5989151111163d28a67368362762534d8a8121ce95cf2bd5a 1.64kB / 1.64kB done #5 sha256:e4355b66995c96b4b468159fc5c7e3540fcef961189ca13fee877798649f531a 528B / 528B done #5 sha256:89d9c30c1d48bac627e5c6cb0d1ed1eec28e7dbdfbcc04712e4c79c0f83faf17 2.79MB / 2.79MB 1.8s done #5 extracting sha256:89d9c30c1d48bac627e5c6cb0d1ed1eec28e7dbdfbcc04712e4c79c0f83faf17 0.4s done #5 DONE 2.4s #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 60.53MB / 120.05MB 2.6s #10 exporting layers 0.7s done #10 writing image sha256:0b0d4287eff473d797059912a1b3313aa3e2e8aa93eeb9bfccdc298c0e6c3214 done #10 naming to docker.io/library/docker-app-lint:jenkins-app-PR-775-6 done #10 DONE 0.8s docker run --rm docker-app-lint:jenkins-app-PR-775-6 make lint #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 66.72MB / 120.05MB 2.7s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 79.24MB / 120.05MB 3.0s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 87.17MB / 120.05MB 3.1s #21 transferring context: 73.96MB 1.5s done #21 DONE 1.5s #11 [cli-build 4/8] RUN git clone https://github.com/docker/cli . && git che... #11 CACHED #9 [cli-build 2/8] RUN apt-get install -y -q --no-install-recommends core... #9 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 #19 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #19 CACHED #6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom... #6 CACHED #12 [cli-build 5/8] RUN mkdir build #12 CACHED #16 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #16 CACHED #18 [dev 6/9] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #18 CACHED #17 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #17 CACHED #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 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 #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 . . #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 103.82MB / 120.05MB 3.3s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 110.36MB / 120.05MB 3.4s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 117.51MB / 120.05MB 3.5s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 120.05MB / 120.05MB 3.9s done Linting... #22 DONE 0.9s #23 [cross-build 1/1] RUN make TAG=jenkins-app-PR-775-6 cross #7 ... #10 [internal] load build context #10 transferring context: 73.96MB 4.7s done #10 DONE 4.7s #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #23 1.138 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=8623fc40 -X github.com/docker/app/internal.Version=jenkins-app-PR-775-6 -X github.com/docker/app/internal.BuildTime=2019-12-02T14:08:31Z" -o bin/docker-app-linux ./cmd/docker-app #7 extracting sha256:c7b7d16361e00faca0e9393f3f43923f25ceb1210face87839dfc5de988905c1 4.7s done #7 extracting sha256:b7a128769df1909f91b589d0a4a2e1c1671aebc047a9f46b4b30dfeb7308ea6a 0.1s #7 extracting sha256:b7a128769df1909f91b589d0a4a2e1c1671aebc047a9f46b4b30dfeb7308ea6a 0.3s done #7 extracting sha256:1128949d0793d2435bb1f0640a777f32feee88b71d4fe234121c3cfb345a80c4 #7 extracting sha256:1128949d0793d2435bb1f0640a777f32feee88b71d4fe234121c3cfb345a80c4 0.3s done #7 ... #6 [invocation 2/4] RUN apk add --no-cache ca-certificates && adduser -S cn... #6 1.665 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz #6 2.833 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz #6 2.934 (1/1) Installing ca-certificates (20190108-r0) #6 2.952 Executing busybox-1.30.1-r2.trigger #6 2.960 Executing ca-certificates-20190108-r0.trigger #6 3.014 OK: 6 MiB in 15 packages #6 DONE 5.3s #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #7 extracting sha256:667692510b7038b74e221f92eb33610e4968b669c8a718378ecb1f78739c3713 #7 extracting sha256:667692510b7038b74e221f92eb33610e4968b669c8a718378ecb1f78739c3713 2.0s done #7 extracting sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 #7 extracting sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 2.1s done #7 extracting sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 0.1s #7 extracting sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 4.1s done #7 extracting sha256:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c done #7 DONE 16.6s #8 [build 2/5] RUN apt-get update -qq && apt-get install -y -q --no-install... #8 3.099 Reading package lists... #8 3.676 Building dependency tree... #8 3.782 Reading state information... #8 3.924 coreutils is already the newest version (8.30-3). #8 3.924 coreutils set to manually installed. #8 3.924 util-linux is already the newest version (2.33.1-0.1). #8 3.924 util-linux set to manually installed. #8 3.924 The following NEW packages will be installed: #8 3.924 uuid-runtime #8 4.191 0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded. #8 4.191 Need to get 95.2 kB of archives. #8 4.191 After this operation, 211 kB of additional disk space will be used. #8 4.191 Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] #8 4.430 debconf: delaying package configuration, since apt-utils is not installed #8 4.564 Fetched 95.2 kB in 0s (331 kB/s) #8 4.801 Selecting previously unselected package uuid-runtime. #8 4.801 (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 15394 files and directories currently installed.) #8 4.811 Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... #8 4.824 Unpacking uuid-runtime (2.33.1-0.1) ... #8 4.901 Setting up uuid-runtime (2.33.1-0.1) ... #8 5.070 Adding group `uuidd' (GID 102) ... #8 5.100 Done. #8 5.130 Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory #8 5.131 Adding system user `uuidd' (UID 101) ... #8 5.131 Adding new user `uuidd' (UID 101) with group `uuidd' ... #8 5.198 Not creating home directory `/run/uuidd'. #8 5.207 invoke-rc.d: could not determine current runlevel #8 5.209 invoke-rc.d: policy-rc.d denied execution of start. #8 DONE 5.7s #9 [build 3/5] WORKDIR /go/src/github.com/docker/app/ #9 DONE 0.0s #11 [build 4/5] COPY . . #11 DONE 0.8s #12 [build 5/5] RUN make BUILD_TAG=${BUILD_TAG} TAG=jenkins-app-PR-775-6 bin... #12 0.880 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=8623fc40 -X github.com/docker/app/internal.Version=jenkins-app-PR-775-6 -X github.com/docker/app/internal.BuildTime=2019-12-02T14:08:50Z" -o bin/cnab-run ./cmd/cnab-run internal/commands/remove.go:44:5: SA9003: empty branch (staticcheck) if err := runRemove(dockerCli, arg, opts, installerContext, installationStore, credentialStore); err != nil { ^ 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 64.03 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=8623fc40 -X github.com/docker/app/internal.Version=jenkins-app-PR-775-6 -X github.com/docker/app/internal.BuildTime=2019-12-02T14:08:31Z" -o bin/docker-app-darwin ./cmd/docker-app #12 DONE 63.4s #13 [invocation 3/4] COPY --from=build /go/src/github.com/docker/app/bin/cna... #13 DONE 0.4s #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:e09020ef02fe10e0b908082ec6f08ddd54e0d47a18980268e3edbc8c025742e9 done #15 naming to docker.io/docker/cnab-app-base:jenkins-app-PR-775-6 done #15 DONE 0.2s docker save docker/cnab-app-base:jenkins-app-PR-775-6 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-775-6-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-775-6 docker/cnab-app-base:jenkins-app-PR-775-6-coverage docker save docker/cnab-app-base:jenkins-app-PR-775-6-coverage -o _build/coverage-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-775/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-775/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-775/6/stashes/coverage-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-775/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-775-6 Untagged: docker/cnab-app-base:jenkins-app-PR-775-6 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-775-6-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-775-6-coverage Deleted: sha256:e09020ef02fe10e0b908082ec6f08ddd54e0d47a18980268e3edbc8c025742e9 [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } #23 131.0 GOOS=windows CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=8623fc40 -X github.com/docker/app/internal.Version=jenkins-app-PR-775-6 -X github.com/docker/app/internal.BuildTime=2019-12-02T14:08:31Z" -o bin/docker-app-windows.exe ./cmd/docker-app #23 DONE 198.9s #24 [cross 1/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #24 DONE 0.1s #25 [cross 2/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #25 DONE 0.3s #26 [cross 3/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #26 DONE 0.2s #27 exporting to client #27 copying files 13.41MB 0.1s #27 copying files 124.74MB 0.9s done #27 DONE 1.3s docker build --build-arg TAG=jenkins-app-PR-775-6 --build-arg COMMIT=8623fc40 --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-775-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 #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 #21 transferring context: 342.55kB 0.3s done #21 DONE 0.3s #18 [dev 6/9] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #18 CACHED #9 [cli-build 2/8] RUN apt-get install -y -q --no-install-recommends core... #9 CACHED #11 [cli-build 4/8] RUN git clone https://github.com/docker/cli . && git che... #11 CACHED #12 [cli-build 5/8] RUN mkdir build #12 CACHED #20 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #20 CACHED #17 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #17 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 #10 [cli-build 3/8] WORKDIR /go/src/github.com/docker/cli #10 CACHED #13 [cli-build 6/8] RUN curl -fL https://download.docker.com/linux/static/st... #13 CACHED #19 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #19 CACHED #6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom... #6 CACHED #16 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #16 CACHED #22 [dev 9/9] COPY . . #22 CACHED #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 CACHED #23 [cross-build 1/1] RUN make TAG=jenkins-app-PR-775-6 cross #23 CACHED #24 [e2e-cross-build 1/1] RUN make TAG=jenkins-app-PR-775-6 e2e-cross #24 0.926 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=8623fc40 -X github.com/docker/app/internal.Version=jenkins-app-PR-775-6 -X github.com/docker/app/internal.BuildTime=2019-12-02T14:11:52Z" -o bin/docker-app-linux ./cmd/docker-app #24 4.873 GOOS=linux CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=8623fc40 -X github.com/docker/app/internal.Version=jenkins-app-PR-775-6 -X github.com/docker/app/internal.BuildTime=2019-12-02T14:11:52Z" -c -o bin/docker-app-e2e-linux ./e2e/ #24 29.31 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=8623fc40 -X github.com/docker/app/internal.Version=jenkins-app-PR-775-6 -X github.com/docker/app/internal.BuildTime=2019-12-02T14:11:52Z" -o bin/docker-app-darwin ./cmd/docker-app #24 33.35 GOOS=darwin CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=8623fc40 -X github.com/docker/app/internal.Version=jenkins-app-PR-775-6 -X github.com/docker/app/internal.BuildTime=2019-12-02T14:11:52Z" -c -o bin/docker-app-e2e-darwin ./e2e/ #24 58.28 GOOS=windows CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=8623fc40 -X github.com/docker/app/internal.Version=jenkins-app-PR-775-6 -X github.com/docker/app/internal.BuildTime=2019-12-02T14:11:52Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ #24 DONE 83.2s #25 [e2e-cross 1/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #25 DONE 0.1s #26 [e2e-cross 2/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #26 DONE 0.2s #27 [e2e-cross 3/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #27 DONE 0.2s #28 [e2e-cross 4/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-lin... #28 DONE 0.1s #29 [e2e-cross 5/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-dar... #29 DONE 0.1s #30 [e2e-cross 6/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-win... #30 DONE 0.1s #31 [e2e-cross 7/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-lin... #31 DONE 0.1s #32 [e2e-cross 8/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-dar... #32 DONE 0.1s #33 [e2e-cross 9/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-win... #33 DONE 0.1s #34 exporting to client #34 copying files 13.60MB 0.1s #34 copying files 121.81MB 0.9s done #34 DONE 1.3s 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-775/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-775/6/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-775/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] stash Stashed 83 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-775/6/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-775/src/github.com/docker/app/examples [Pipeline] { [Pipeline] stash Stashed 34 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-775/6/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-775-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] } [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