Pull request #720 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from d2d172929e1d21faff361801645bf74c0cf137aa Running in Durability level: PERFORMANCE_OPTIMIZED Loading library jps@master Examining docker/jps Attempting to resolve master as a branch Resolved master as branch master at revision 26028d2ce48352c9b2c3f496e963b79a4944a426 using credential jps-reader > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/docker/jps.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/docker/jps.git > git --version # timeout=10 using GIT_ASKPASS to set credentials GitHub credentials for docker/jps > git fetch --no-tags --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master Checking out Revision 26028d2ce48352c9b2c3f496e963b79a4944a426 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 26028d2ce48352c9b2c3f496e963b79a4944a426 Commit message: "[TAR-1227] Run the sonar container as the current user (#17)" > git rev-list --no-walk 26028d2ce48352c9b2c3f496e963b79a4944a426 # timeout=10 [Pipeline] Start of Pipeline [Pipeline] withEnv [Pipeline] { [Pipeline] timeout Timeout set to expire in 1 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: Validate) [Pipeline] { (Branch: Binaries) [Pipeline] { (Branch: Build Invocation image) [Pipeline] stage [Pipeline] { (Validate) [Pipeline] stage [Pipeline] { (Binaries) [Pipeline] stage [Pipeline] { (Build Invocation image) [Pipeline] node [Pipeline] node [Pipeline] node Running on ubuntu-1804-overlay2 (i-04b5bc72a9d645c7a) in /home/ubuntu/workspace/app_PR-720 [Pipeline] { Running on ubuntu-1804-overlay2 (i-0edb355b7ebced8c6) in /home/ubuntu/workspace/app_PR-720 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-720/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-720/src/github.com/docker/app [Pipeline] { Running on ubuntu-1804-overlay2 (i-0211e3481d572065b) in /home/ubuntu/workspace/app_PR-720 [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] { using credential docker-jenkins-github-credentials [Pipeline] checkout Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-720/src/github.com/docker/app [Pipeline] { [Pipeline] checkout using credential docker-jenkins-github-credentials using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-720/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/720/head:refs/remotes/origin/PR-720 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-720/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/720/head:refs/remotes/origin/PR-720 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-720/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/720/head:refs/remotes/origin/PR-720 Fetching without tags Fetching without tags Checking out Revision d2d172929e1d21faff361801645bf74c0cf137aa (PR-720) Fetching without tags Checking out Revision d2d172929e1d21faff361801645bf74c0cf137aa (PR-720) Checking out Revision d2d172929e1d21faff361801645bf74c0cf137aa (PR-720) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/720/head:refs/remotes/origin/PR-720 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/720/head:refs/remotes/origin/PR-720 > git config core.sparsecheckout # timeout=10 > git checkout -f d2d172929e1d21faff361801645bf74c0cf137aa > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/720/head:refs/remotes/origin/PR-720 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/720/head:refs/remotes/origin/PR-720 > git config core.sparsecheckout # timeout=10 > git checkout -f d2d172929e1d21faff361801645bf74c0cf137aa > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/720/head:refs/remotes/origin/PR-720 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/720/head:refs/remotes/origin/PR-720 > git config core.sparsecheckout # timeout=10 > git checkout -f d2d172929e1d21faff361801645bf74c0cf137aa Commit message: "Use Go 1.13" First time build. Skipping changelog. Commit message: "Use Go 1.13" Commit message: "Use Go 1.13" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh [Pipeline] ansiColor [Pipeline] { [Pipeline] sh > git rev-list --no-walk 261a80a01bf1f908e8f1b54d375bc53fc7db27d7 # timeout=10 + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-720-8 --build-arg COMMIT=d2d17292 --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-720-8 . #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/golang:1.13.2 #4 DONE 0.1s #3 [internal] load metadata for docker.io/library/alpine:3.10.3 + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-PR-720-8 --build-arg COMMIT=d2d17292 --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=cli -t docker-app-cli:jenkins-app-PR-720-8 . #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 3.81kB done #2 DONE 0.0s #1 [internal] load .dockerignore #1 transferring context: 73B done #1 DONE 0.0s #3 [internal] load metadata for docker.io/dockercore/golang-cross:1.12.9@sh... #3 DONE 0.0s #4 [cli-build 1/5] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea... #4 DONE 0.0s #5 [cli-build 2/5] RUN apt-get install -y -q --no-install-recommends core... #5 CACHED #8 [cli-build 5/5] RUN make binary-osx binary-windows binary #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 #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 [Pipeline] ansiColor [Pipeline] { [Pipeline] sh #3 DONE 0.1s #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #7 DONE 0.0s #5 [invocation 1/4] FROM docker.io/library/alpine:3.10.3@sha256:c19173c5ada... #5 DONE 0.0s #10 [internal] load build context + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-720-8 -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.0s #4 [1/5] FROM docker.io/library/golang:1.12.9-alpine3.10 #4 DONE 0.0s #8 [internal] load build context #12 copying files 181.89MB 1.2s done #10 transferring context: 73.13MB 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 transferring context: 73.13MB 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 . . #12 DONE 2.7s docker build --build-arg TAG=jenkins-app-PR-720-8 --build-arg COMMIT=d2d17292 --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=cross -t docker-app-cross:jenkins-app-PR-720-8 . #2 [internal] load .dockerignore #2 DONE 0.0s #1 [internal] load build definition from Dockerfile #11 DONE 1.2s #12 [build 5/5] RUN make BUILD_TAG=${BUILD_TAG} TAG=jenkins-app-PR-720-8 bin... #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 CACHED #9 [cli-build 2/5] RUN apt-get install -y -q --no-install-recommends core... #9 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 #12 [cli-build 5/5] RUN make binary-osx binary-windows binary #12 CACHED #18 [internal] load build context #9 DONE 1.7s #10 exporting to image #10 exporting layers #12 1.053 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d2d17292 -X github.com/docker/app/internal.Version=jenkins-app-PR-720-8 -X github.com/docker/app/internal.BuildTime=2019-10-29T13:53:34Z" -o bin/cnab-run ./cmd/cnab-run #10 exporting layers 0.7s done #10 writing image sha256:cd553ba86a763a4298fee3d81f55bd870145ecd3984e2fb2bbfd347d43419ddd done #10 naming to docker.io/library/docker-app-lint:jenkins-app-PR-720-8 done #10 DONE 0.8s docker run --rm docker-app-lint:jenkins-app-PR-720-8 make lint #18 transferring context: 73.13MB 1.8s done #18 DONE 1.8s #6 [dev 2/9] RUN apt-get install -y -q --no-install-recommends coreutils ... #6 1.464 Reading package lists... #6 1.487 Building dependency tree... #6 1.487 Reading state information... #6 1.487 Package uuid-runtime is not available, but is referred to by another package. #6 1.487 This may mean that the package is missing, has been obsoleted, or #6 1.487 is only available from another source #6 1.487 #6 1.488 E: Package 'uuid-runtime' has no installation candidate #6 ERROR: executor failed running [/bin/sh -c apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime]: exit code: 100 ------ > [dev 2/9] RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime: ------ failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime]: exit code: 100 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-720-8* + xargs --no-run-if-empty docker image rm -f [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir Linting... [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Binaries [Pipeline] sh + make -f docker.Makefile check-vendor docker build --build-arg TAG=jenkins-app-PR-720-8 --build-arg COMMIT=d2d17292 --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-720-8 . #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 3.81kB 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 CACHED #9 [cli-build 2/5] RUN apt-get install -y -q --no-install-recommends core... #9 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 #12 [cli-build 5/5] RUN make binary-osx binary-windows binary #12 CACHED #18 [internal] load build context #18 transferring context: 343.61kB 0.3s done #18 DONE 0.3s #6 [dev 2/9] RUN apt-get install -y -q --no-install-recommends coreutils ... #6 0.969 Reading package lists... #6 0.983 Building dependency tree... #6 0.983 Reading state information... #6 0.985 Package uuid-runtime is not available, but is referred to by another package. #6 0.985 This may mean that the package is missing, has been obsoleted, or #6 0.985 is only available from another source #6 0.985 #6 0.986 E: Package 'uuid-runtime' has no installation candidate #6 ERROR: executor failed running [/bin/sh -c apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime]: exit code: 100 ------ > [dev 2/9] RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime: ------ failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime]: exit code: 100 docker.Makefile:34: recipe for target 'build_dev_image' failed make: *** [build_dev_image] Error 1 [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Validate #12 DONE 64.2s #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.0s #15 exporting to image #15 exporting layers #15 exporting layers 0.2s done #15 writing image sha256:8b3b697f9923f41f5f4c3e8a6e052ffa5a0c7736f52c052c9089b54c704adf28 done #15 naming to docker.io/docker/cnab-app-base:jenkins-app-PR-720-8 done #15 DONE 0.2s docker save docker/cnab-app-base:jenkins-app-PR-720-8 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-720-8-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-720-8 docker/cnab-app-base:jenkins-app-PR-720-8-coverage docker save docker/cnab-app-base:jenkins-app-PR-720-8-coverage -o _build/coverage-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-720/src/github.com/docker/app/_build [Pipeline] { [Pipeline] stash Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-720/8/stashes/invocation-image.tgz [Pipeline] stash Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-720/8/stashes/coverage-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-720/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-720-8 Untagged: docker/cnab-app-base:jenkins-app-PR-720-8 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-720-8-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-720-8-coverage Deleted: sha256:8b3b697f9923f41f5f4c3e8a6e052ffa5a0c7736f52c052c9089b54c704adf28 [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