Pull request #712 updated Started by user Chris Crone Rebuilds build #4 15:10:36 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 03f591935a482b49fbb46dc24c5cf63a7801acc6 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-07ff642b493a6fd39) in /home/ubuntu/workspace/app_PR-712 [Pipeline] { Running on ubuntu-1804-overlay2 (i-0dc62b6d66e7956cc) in /home/ubuntu/workspace/app_PR-712 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-712/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-712/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] script [Pipeline] { Running on ubuntu-1804-overlay2 (i-03fa659f794125645) in /home/ubuntu/workspace/app_PR-712 [Pipeline] checkout [Pipeline] { using credential docker-jenkins-github-credentials using credential docker-jenkins-github-credentials [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-712/src/github.com/docker/app [Pipeline] { 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 [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-712/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/712/head:refs/remotes/origin/PR-712 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-712/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/712/head:refs/remotes/origin/PR-712 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-712/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/712/head:refs/remotes/origin/PR-712 Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/712/head:refs/remotes/origin/PR-712 # 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/712/head:refs/remotes/origin/PR-712 Checking out Revision 03f591935a482b49fbb46dc24c5cf63a7801acc6 (PR-712) Fetching without tags Fetching without tags Checking out Revision 03f591935a482b49fbb46dc24c5cf63a7801acc6 (PR-712) Checking out Revision 03f591935a482b49fbb46dc24c5cf63a7801acc6 (PR-712) Commit message: "Use docker build output for binaries" > git config core.sparsecheckout # timeout=10 > git checkout -f 03f591935a482b49fbb46dc24c5cf63a7801acc6 > git rev-list --no-walk 03f591935a482b49fbb46dc24c5cf63a7801acc6 # timeout=10 Commit message: "Use docker build output for binaries" Commit message: "Use docker build output for binaries" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh [Pipeline] ansiColor [Pipeline] { [Pipeline] sh > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/712/head:refs/remotes/origin/PR-712 # 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/712/head:refs/remotes/origin/PR-712 > git config core.sparsecheckout # timeout=10 > git checkout -f 03f591935a482b49fbb46dc24c5cf63a7801acc6 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/712/head:refs/remotes/origin/PR-712 # 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/712/head:refs/remotes/origin/PR-712 > git config core.sparsecheckout # timeout=10 > git checkout -f 03f591935a482b49fbb46dc24c5cf63a7801acc6 + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-PR-712-5 --build-arg COMMIT=03f59193 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=cli -t docker-app-cli:jenkins-app-PR-712-5 . #1 [internal] load .dockerignore #1 transferring context: 73B done #1 DONE 0.0s #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 3.65kB done #2 DONE 0.0s #3 [internal] load metadata for docker.io/dockercore/golang-cross:1.12.9@sh... #3 DONE 0.0s #4 [build 1/6] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea9dce... #4 DONE 0.0s #6 [build 3/6] WORKDIR /go/src/github.com/docker/cli #6 CACHED #8 [build 5/6] RUN make binary-osx binary-windows binary && cp build/dock... #8 CACHED #9 [build 6/6] WORKDIR /go/src/github.com/docker/app/ #9 CACHED #7 [build 4/6] RUN git clone https://github.com/docker/cli . && git checkou... #7 CACHED #10 [cli 1/3] COPY --from=build /go/src/github.com/docker/cli/build/docker-l... #10 CACHED #5 [build 2/6] RUN apt-get install -y -q --no-install-recommends coreutil... #5 CACHED #11 [cli 2/3] COPY --from=build /go/src/github.com/docker/cli/build/docker-d... #11 CACHED #12 [cli 3/3] COPY --from=build /go/src/github.com/docker/cli/build/docker-w... #12 CACHED #13 exporting to client #13 copying files 35B + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-712-5 --build-arg COMMIT=03f59193 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-712-5 . [Pipeline] ansiColor [Pipeline] { [Pipeline] sh #1 [internal] load build definition from Dockerfile.invocation-image #1 transferring dockerfile: 614B 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/library/alpine:3.10.1 #3 DONE 0.1s #4 [internal] load metadata for docker.io/library/golang:1.13.0 + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-712-5 -f Dockerfile.lint . #1 [internal] load .dockerignore #1 transferring context: 73B done #1 DONE 0.0s #2 [internal] load build definition from Dockerfile.lint #2 transferring dockerfile: 414B done #2 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 #4 DONE 0.3s #5 [invocation 1/4] FROM docker.io/library/alpine:3.10.1@sha256:6a92cd1fcdc... #5 CACHED #10 [internal] load build context #13 copying files 181.89MB 1.1s done #8 transferring context: 73.13MB 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 . . #13 DONE 2.3s docker build --build-arg TAG=jenkins-app-PR-712-5 --build-arg COMMIT=03f59193 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=cross -t docker-app-cross:jenkins-app-PR-712-5 . #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 [build 1/6] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea9dce... #4 DONE 0.0s #14 [internal] load build context #9 DONE 1.1s #10 exporting to image #10 exporting layers #10 exporting layers 0.8s done #10 writing image sha256:4b6af0787f0958f01b561b9597846d920f641a84ba1a9072527eca5fb4e610f8 done #10 naming to docker.io/library/docker-app-lint:jenkins-app-PR-712-5 done #10 DONE 0.8s docker run --rm docker-app-lint:jenkins-app-PR-712-5 make lint #14 transferring context: 73.13MB 1.3s done #14 DONE 1.3s #5 [build 2/6] RUN apt-get install -y -q --no-install-recommends coreutil... #5 CACHED #9 [build 6/6] WORKDIR /go/src/github.com/docker/app/ #9 CACHED #12 [dev 3/5] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #12 CACHED #8 [build 5/6] RUN make binary-osx binary-windows binary && cp build/dock... #8 CACHED #11 [dev 2/5] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #11 CACHED #10 [dev 1/5] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #10 CACHED #6 [build 3/6] WORKDIR /go/src/github.com/docker/cli #6 CACHED #7 [build 4/6] RUN git clone https://github.com/docker/cli . && git checkou... #7 CACHED #13 [dev 4/5] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #13 CACHED #15 [dev 5/5] COPY . . Linting... #10 transferring context: 73.13MB 4.5s done #10 DONE 5.2s #7 [build 1/5] FROM docker.io/library/golang:1.13.0@sha256:90d554b5ae59cb63... #7 resolve docker.io/library/golang:1.13.0@sha256:90d554b5ae59cb63d2bf42bdfcd60aa1feb4794d9e3a9cbb9d2deb477c088be0 done #7 sha256:c4d6fdf2260a0ee92be1c0854922ba2fdd3278d01ec8b2aabd270786d0ff65cf 5.45kB / 5.45kB done #7 sha256:4a56a430b2bac33260d6449e162017e2b23076c6411a17b46db67f5b84dde2bd 50.38MB / 50.38MB 1.9s done #7 sha256:4b5cacb629f5c5323a32103e665756e5d50fe133b3db72d444f370566b713a6a 7.80MB / 7.80MB 0.3s done #7 sha256:14408c8d4f9a59a5da8f4cc40650be9a8d0991fa1ce1b2fb2767f289a9cc410d 10.00MB / 10.00MB 0.3s done #7 sha256:90d554b5ae59cb63d2bf42bdfcd60aa1feb4794d9e3a9cbb9d2deb477c088be0 2.16kB / 2.16kB done #7 sha256:de697ce5ae02f3d9a57b0603fbb648efadfa212727e702ad3a807b43eba7f6d6 1.79kB / 1.79kB done #7 sha256:ea67eaa7dd42136287337f879ef20b4ee73baaa108d833d267ef99dd787cdcbf 51.77MB / 51.77MB 1.7s done #7 sha256:a2a2197e145e0256322cd891bc524f82cbaca6e88117c2f1f93e797b089c6664 68.52MB / 68.52MB 3.0s done #7 sha256:36ac8c11a11fe76e247c377aea16595edb74c81482838849b57e2d0588189bf0 120.05MB / 120.05MB 5.0s done #7 sha256:ecd7d9a67e261b9942149ecaba1c80f896e418597da2e6d1d9034e2d2d1c0f77 127B / 127B 2.3s done #7 extracting sha256:4a56a430b2bac33260d6449e162017e2b23076c6411a17b46db67f5b84dde2bd 3.0s #7 ... #6 [invocation 2/4] RUN apk add --no-cache ca-certificates && adduser -S cn... #6 1.936 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz #6 3.077 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz #6 3.243 (1/1) Installing ca-certificates (20190108-r0) #6 3.243 Executing busybox-1.30.1-r2.trigger #6 3.243 Executing ca-certificates-20190108-r0.trigger #6 3.293 OK: 6 MiB in 15 packages #6 DONE 5.7s #7 [build 1/5] FROM docker.io/library/golang:1.13.0@sha256:90d554b5ae59cb63... #7 extracting sha256:4a56a430b2bac33260d6449e162017e2b23076c6411a17b46db67f5b84dde2bd 3.8s done #15 DONE 2.1s #16 [cross-build 1/1] RUN make TAG=jenkins-app-PR-712-5 cross #7 extracting sha256:4b5cacb629f5c5323a32103e665756e5d50fe133b3db72d444f370566b713a6a #7 extracting sha256:4b5cacb629f5c5323a32103e665756e5d50fe133b3db72d444f370566b713a6a 0.3s done #16 1.068 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=03f59193 -X github.com/docker/app/internal.Version=jenkins-app-PR-712-5 -X github.com/docker/app/internal.BuildTime=2019-10-25T15:10:49Z" -o bin/docker-app-linux ./cmd/docker-app #7 extracting sha256:14408c8d4f9a59a5da8f4cc40650be9a8d0991fa1ce1b2fb2767f289a9cc410d 0.1s #7 extracting sha256:14408c8d4f9a59a5da8f4cc40650be9a8d0991fa1ce1b2fb2767f289a9cc410d 0.2s done #7 extracting sha256:ea67eaa7dd42136287337f879ef20b4ee73baaa108d833d267ef99dd787cdcbf 0.1s #7 extracting sha256:ea67eaa7dd42136287337f879ef20b4ee73baaa108d833d267ef99dd787cdcbf 2.0s done #7 extracting sha256:a2a2197e145e0256322cd891bc524f82cbaca6e88117c2f1f93e797b089c6664 0.1s #7 extracting sha256:a2a2197e145e0256322cd891bc524f82cbaca6e88117c2f1f93e797b089c6664 2.1s done #7 extracting sha256:36ac8c11a11fe76e247c377aea16595edb74c81482838849b57e2d0588189bf0 #7 extracting sha256:36ac8c11a11fe76e247c377aea16595edb74c81482838849b57e2d0588189bf0 4.0s done #7 extracting sha256:ecd7d9a67e261b9942149ecaba1c80f896e418597da2e6d1d9034e2d2d1c0f77 done #7 DONE 15.6s #8 [build 2/5] RUN apt-get update -qq && apt-get install -y -q --no-install... #8 3.083 Reading package lists... #8 3.649 Building dependency tree... #8 3.750 Reading state information... #8 3.889 coreutils is already the newest version (8.30-3). #8 3.889 coreutils set to manually installed. #8 3.889 util-linux is already the newest version (2.33.1-0.1). #8 3.889 util-linux set to manually installed. #8 3.889 The following NEW packages will be installed: #8 3.889 uuid-runtime #8 4.153 0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded. #8 4.153 Need to get 95.2 kB of archives. #8 4.153 After this operation, 211 kB of additional disk space will be used. #8 4.153 Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] #8 4.262 debconf: delaying package configuration, since apt-utils is not installed #8 4.283 Fetched 95.2 kB in 0s (371 kB/s) #8 4.305 Selecting previously unselected package uuid-runtime. #8 4.305 (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.314 Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... #8 4.316 Unpacking uuid-runtime (2.33.1-0.1) ... #8 4.354 Setting up uuid-runtime (2.33.1-0.1) ... #8 4.387 Adding group `uuidd' (GID 102) ... #8 4.400 Done. #8 4.425 Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory #8 4.426 Adding system user `uuidd' (UID 101) ... #8 4.426 Adding new user `uuidd' (UID 101) with group `uuidd' ... #8 4.463 Not creating home directory `/run/uuidd'. #8 4.472 invoke-rc.d: could not determine current runlevel #8 4.474 invoke-rc.d: policy-rc.d denied execution of start. #8 DONE 7.5s #9 [build 3/5] WORKDIR /go/src/github.com/docker/app/ #9 DONE 0.0s #11 [build 4/5] COPY . . #11 DONE 1.2s #12 [build 5/5] RUN make BUILD_TAG=${BUILD_TAG} TAG=jenkins-app-PR-712-5 bin... #12 1.065 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=03f59193 -X github.com/docker/app/internal.Version=jenkins-app-PR-712-5 -X github.com/docker/app/internal.BuildTime=2019-10-25T15:11:08Z" -o bin/cnab-run ./cmd/cnab-run [Pipeline] sh + make -f docker.Makefile check-vendor docker build --build-arg TAG=jenkins-app-PR-712-5 --build-arg COMMIT=03f59193 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-712-5 . #2 [internal] load .dockerignore #2 transferring context: 34B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 3.65kB done #1 DONE 0.0s #3 [internal] load metadata for docker.io/dockercore/golang-cross:1.12.9@sh... #3 DONE 0.0s #4 [build 1/6] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea9dce... #4 DONE 0.0s #14 [internal] load build context #14 transferring context: 343.22kB 0.2s done #14 DONE 0.2s #5 [build 2/6] RUN apt-get install -y -q --no-install-recommends coreutil... #5 CACHED #10 [dev 1/5] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #10 CACHED #11 [dev 2/5] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #11 CACHED #6 [build 3/6] WORKDIR /go/src/github.com/docker/cli #6 CACHED #8 [build 5/6] RUN make binary-osx binary-windows binary && cp build/dock... #8 CACHED #9 [build 6/6] WORKDIR /go/src/github.com/docker/app/ #9 CACHED #12 [dev 3/5] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #12 CACHED #7 [build 4/6] RUN git clone https://github.com/docker/cli . && git checkou... #7 CACHED #13 [dev 4/5] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #13 CACHED #15 [dev 5/5] COPY . . #15 DONE 0.7s #16 exporting to image #16 exporting layers #16 exporting layers 0.8s done #16 writing image sha256:3c46e992d85b4035462eb2c01e27f431531ca74aca38c6fe00f43ad3feae51a5 done #16 naming to docker.io/library/docker-app-dev:jenkins-app-PR-712-5 done #16 DONE 0.8s Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-712-5 sh -c "make vendor && hack/check-git-diff vendor" rm -rf vendor 1>&1 dep ensure -v (1/104) Wrote github.com/Masterminds/semver@v1.4.2 (2/104) Wrote github.com/containerd/console@master (3/104) Wrote github.com/coreos/go-systemd@v20 (4/104) Wrote github.com/containerd/fifo@master (5/104) Wrote github.com/davecgh/go-spew@v1.1.1 (6/104) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1 (7/104) Wrote github.com/agl/ed25519@master (8/104) Wrote github.com/beorn7/perks@master (9/104) Wrote github.com/containerd/continuity@master (10/104) Wrote github.com/containerd/cgroups@master (11/104) Wrote github.com/containerd/ttrpc@master (12/104) Wrote github.com/containerd/typeurl@master (13/104) Wrote github.com/Microsoft/go-winio@v0.4.12 (14/104) Wrote vbom.ml/util@master (15/104) Wrote github.com/docker/buildx@v0.3.1 (16/104) Wrote github.com/Microsoft/hcsshim@v0.8.6 (17/104) Wrote github.com/docker/docker-credential-helpers@v0.6.1 (18/104) Wrote github.com/docker/go@v1.5.1-1 (19/104) Wrote github.com/docker/go-events@master (20/104) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 (21/104) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2 (22/104) Wrote github.com/docker/go-connections@v0.4.0 (23/104) Wrote github.com/docker/go-units@v0.3.3 (24/104) Wrote github.com/gofrs/flock@v0.7.1 (25/104) Wrote github.com/godbus/dbus@v5.0.1 (26/104) Wrote github.com/gogo/googleapis@v1.2.0 (27/104) Wrote github.com/google/gofuzz@v1.0.0 (28/104) Wrote github.com/google/go-cmp@v0.2.0 (29/104) Wrote github.com/google/shlex@master (30/104) Wrote github.com/gorilla/mux@v1.7.1 (31/104) Wrote github.com/grpc-ecosystem/grpc-opentracing@master (32/104) Wrote github.com/hashicorp/go-version@v1.1.0 (33/104) Wrote github.com/globalsign/mgo@master (34/104) Wrote github.com/hashicorp/golang-lru@v0.5.1 (35/104) Wrote github.com/imdario/mergo@master (36/104) Wrote github.com/inconshreveable/mousetrap@v1.0 (37/104) Wrote github.com/jaguilar/vt100 (from github.com/tonistiigi/vt100)@ad4c4a5743050fb7f88ce968dca9422f72a0e3f2 (38/104) Wrote github.com/mattn/go-shellwords@v1.0.5 (39/104) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (40/104) Wrote github.com/googleapis/gnostic@v0.2.0 (41/104) Wrote github.com/docker/compose-on-kubernetes@v0.4.21 (42/104) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2 (43/104) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1 (44/104) Wrote github.com/json-iterator/go@v1.1.6 (45/104) Wrote github.com/miekg/pkcs11@master (46/104) Wrote github.com/mitchellh/mapstructure@v1.1.2 (47/104) Wrote github.com/modern-go/reflect2@1.0.1 (48/104) Wrote github.com/modern-go/concurrent@1.0.3 (49/104) Wrote github.com/morikuni/aec@master (50/104) Wrote github.com/oklog/ulid@v1.3.1 (51/104) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1 (52/104) Wrote github.com/golang/protobuf@v1.3.1 (53/104) Wrote github.com/opencontainers/image-spec@v1.0.1 (54/104) Wrote github.com/opentracing/opentracing-go@v1.1.0 #16 56.50 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=03f59193 -X github.com/docker/app/internal.Version=jenkins-app-PR-712-5 -X github.com/docker/app/internal.BuildTime=2019-10-25T15:10:49Z" -o bin/docker-app-darwin ./cmd/docker-app (55/104) Wrote github.com/pkg/errors@v0.8.1 (56/104) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 (57/104) Wrote github.com/prometheus/client_model@master (58/104) Wrote github.com/prometheus/client_golang@v0.8.0 (59/104) Wrote github.com/prometheus/procfs@master (60/104) Wrote github.com/qri-io/jsonpointer@v0.1.0 (61/104) Wrote github.com/containerd/containerd@master (62/104) Wrote github.com/prometheus/common@v0.2.0 (63/104) Wrote github.com/qri-io/jsonschema@v0.1.1 (64/104) Wrote github.com/sirupsen/logrus@v1.4.1 (65/104) Wrote github.com/spf13/pflag@master (66/104) Wrote github.com/syndtr/gocapability@master (67/104) Wrote github.com/spf13/cobra@v0.0.5 (68/104) Wrote github.com/wadey/gocovmerge@master (69/104) Wrote github.com/opencontainers/runc@v1.0.0-rc7 (70/104) Wrote github.com/tonistiigi/units@master (71/104) Wrote github.com/xeipuuv/gojsonpointer@master (72/104) Wrote github.com/xeipuuv/gojsonreference@master (73/104) Wrote github.com/tonistiigi/fsutil@master (74/104) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d (75/104) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc (76/104) Wrote github.com/moby/buildkit@v0.6.2 (77/104) Wrote github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98 (78/104) Wrote golang.org/x/oauth2@master (79/104) Wrote golang.org/x/sync@master (80/104) Wrote golang.org/x/crypto@master (81/104) Wrote golang.org/x/time@master (82/104) Wrote gopkg.in/inf.v0@v0.9.1 (83/104) Wrote golang.org/x/net@master (84/104) Wrote google.golang.org/appengine@v1.5.0 (85/104) Wrote gopkg.in/yaml.v2@v2.2.3 (86/104) Wrote gotest.tools@v2.3.0 (87/104) Wrote github.com/coreos/etcd@v3.3.12 (88/104) Wrote k8s.io/klog@v0.2.0 (89/104) Wrote k8s.io/utils@master (90/104) Wrote sigs.k8s.io/yaml@v1.1.0 (91/104) Wrote k8s.io/apimachinery@kubernetes-1.14.1 (92/104) Wrote github.com/Azure/go-ansiterm@master (93/104) Wrote golang.org/x/sys@master (94/104) Wrote google.golang.org/grpc@v1.19.1 #12 DONE 64.4s #13 [invocation 3/4] COPY --from=build /go/src/github.com/docker/app/bin/cna... #13 DONE 0.1s #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:7ff102e45a1ec7a65619b34e2944141357aa9d9d265193d2ff0a47ec226360e3 done #15 naming to docker.io/docker/cnab-app-base:jenkins-app-PR-712-5 done #15 DONE 0.2s docker save docker/cnab-app-base:jenkins-app-PR-712-5 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-712-5-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-712-5 docker/cnab-app-base:jenkins-app-PR-712-5-coverage docker save docker/cnab-app-base:jenkins-app-PR-712-5-coverage -o _build/coverage-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-712/src/github.com/docker/app/_build [Pipeline] { [Pipeline] stash (95/104) Wrote github.com/theupdateframework/notary@v0.6.1 (96/104) Wrote golang.org/x/text@v0.3.0 (97/104) Wrote golang.org/x/tools@master Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-712/5/stashes/invocation-image.tgz [Pipeline] stash (98/104) Wrote k8s.io/client-go@kubernetes-1.14.1 (99/104) Wrote google.golang.org/genproto@master (100/104) Wrote cloud.google.com/go@v0.37.4 Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-712/5/stashes/coverage-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-712/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-712-5 Untagged: docker/cnab-app-base:jenkins-app-PR-712-5 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-712-5-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-712-5-coverage Deleted: sha256:7ff102e45a1ec7a65619b34e2944141357aa9d9d265193d2ff0a47ec226360e3 [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } (101/104) Wrote github.com/gogo/protobuf@v1.2.1 (102/104) Wrote k8s.io/api@kubernetes-1.14.1 (103/104) Wrote github.com/docker/docker@master #16 115.1 GOOS=windows CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=03f59193 -X github.com/docker/app/internal.Version=jenkins-app-PR-712-5 -X github.com/docker/app/internal.BuildTime=2019-10-25T15:10:49Z" -o bin/docker-app-windows.exe ./cmd/docker-app #16 DONE 174.5s #17 [cross 1/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #17 DONE 0.1s #18 [cross 2/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #18 DONE 0.6s #19 [cross 3/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #19 DONE 0.7s #20 exporting to client #20 copying files 16.06MB 0.1s #20 copying files 134.26MB 0.8s done #20 DONE 1.8s docker build --build-arg TAG=jenkins-app-PR-712-5 --build-arg COMMIT=03f59193 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-712-5 . #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 [build 1/6] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea9dce... #4 DONE 0.0s #14 [internal] load build context #14 transferring context: 343.22kB 0.2s done #14 DONE 0.2s #12 [dev 3/5] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #12 CACHED #5 [build 2/6] RUN apt-get install -y -q --no-install-recommends coreutil... #5 CACHED #9 [build 6/6] WORKDIR /go/src/github.com/docker/app/ #9 CACHED #15 [dev 5/5] COPY . . #15 CACHED #8 [build 5/6] RUN make binary-osx binary-windows binary && cp build/dock... #8 CACHED #11 [dev 2/5] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #11 CACHED #10 [dev 1/5] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #10 CACHED #13 [dev 4/5] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #13 CACHED #6 [build 3/6] WORKDIR /go/src/github.com/docker/cli #6 CACHED #7 [build 4/6] RUN git clone https://github.com/docker/cli . && git checkou... #7 CACHED #16 [cross-build 1/1] RUN make TAG=jenkins-app-PR-712-5 cross #16 CACHED #17 [e2e-cross-build 1/1] RUN make TAG=jenkins-app-PR-712-5 e2e-cross #17 0.850 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=03f59193 -X github.com/docker/app/internal.Version=jenkins-app-PR-712-5 -X github.com/docker/app/internal.BuildTime=2019-10-25T15:13:48Z" -o bin/docker-app-linux ./cmd/docker-app #17 4.641 GOOS=linux CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=03f59193 -X github.com/docker/app/internal.Version=jenkins-app-PR-712-5 -X github.com/docker/app/internal.BuildTime=2019-10-25T15:13:48Z" -c -o bin/docker-app-e2e-linux ./e2e/ (104/104) Wrote k8s.io/kubernetes@v1.14.1 vendor is correct [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } #17 27.51 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=03f59193 -X github.com/docker/app/internal.Version=jenkins-app-PR-712-5 -X github.com/docker/app/internal.BuildTime=2019-10-25T15:13:48Z" -o bin/docker-app-darwin ./cmd/docker-app #17 31.58 GOOS=darwin CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=03f59193 -X github.com/docker/app/internal.Version=jenkins-app-PR-712-5 -X github.com/docker/app/internal.BuildTime=2019-10-25T15:13:48Z" -c -o bin/docker-app-e2e-darwin ./e2e/ #17 54.20 GOOS=windows CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=03f59193 -X github.com/docker/app/internal.Version=jenkins-app-PR-712-5 -X github.com/docker/app/internal.BuildTime=2019-10-25T15:13:48Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ #17 DONE 77.6s #18 [e2e-cross 1/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #18 DONE 0.1s #19 [e2e-cross 2/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #19 DONE 0.4s #20 [e2e-cross 3/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #20 DONE 0.4s #21 [e2e-cross 4/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-lin... #21 DONE 0.1s #22 [e2e-cross 5/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-dar... #22 DONE 0.2s #23 [e2e-cross 6/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-win... #23 DONE 0.3s #24 [e2e-cross 7/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-lin... #24 DONE 0.1s #25 [e2e-cross 8/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-dar... #25 DONE 0.1s #26 [e2e-cross 9/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-win... #26 DONE 0.1s #27 exporting to client #27 copying files 15.24MB 0.1s #27 copying files 130.19MB 0.8s done #27 DONE 2.2s 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-712/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-712/5/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-712/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] stash Stashed 65 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-712/5/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-712/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-712/5/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-712-5* + xargs docker image rm -f "docker image rm" requires at least 1 argument. See 'docker image rm --help'. Usage: docker image rm [OPTIONS] IMAGE [IMAGE...] Remove one or more images [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Binaries [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 123 Finished: FAILURE