Pull request #617 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 216f639d322508cd4174beae649522e791adfe16 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-09c2cbae185f44c29) in /home/ubuntu/workspace/app_PR-617 Running on ubuntu-1804-overlay2 (i-06a7d84f6e4ae93d8) in /home/ubuntu/workspace/app_PR-617 [Pipeline] { [Pipeline] { Running on ubuntu-1804-overlay2 (i-0da3b136de587d973) in /home/ubuntu/workspace/app_PR-617 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-617/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-617/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-617/src/github.com/docker/app [Pipeline] { using credential docker-jenkins-github-credentials [Pipeline] checkout 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 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-617/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/617/head:refs/remotes/origin/PR-617 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-617/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/617/head:refs/remotes/origin/PR-617 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-617/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/617/head:refs/remotes/origin/PR-617 Fetching without tags Fetching without tags Checking out Revision 216f639d322508cd4174beae649522e791adfe16 (PR-617) Checking out Revision 216f639d322508cd4174beae649522e791adfe16 (PR-617) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/617/head:refs/remotes/origin/PR-617 # 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/617/head:refs/remotes/origin/PR-617 > git config core.sparsecheckout # timeout=10 > git checkout -f 216f639d322508cd4174beae649522e791adfe16 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/617/head:refs/remotes/origin/PR-617 # 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/617/head:refs/remotes/origin/PR-617 > git config core.sparsecheckout # timeout=10 > git checkout -f 216f639d322508cd4174beae649522e791adfe16 Fetching without tags Commit message: "Discover the IP address to based on default gateway" First time build. Skipping changelog. Commit message: "Discover the IP address to based on default gateway" Checking out Revision 216f639d322508cd4174beae649522e791adfe16 (PR-617) Commit message: "Discover the IP address to based on default gateway" [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-617-46 -f Dockerfile.lint . #1 [internal] load build definition from Dockerfile.lint #1 transferring dockerfile: 414B 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/golang:1.12.9-alpine3.10 #3 DONE 0.1s > git rev-list --no-walk d241fda35c9507e99b3c44c16ef7f715e73a3c1e # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/617/head:refs/remotes/origin/PR-617 # 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/617/head:refs/remotes/origin/PR-617 > git config core.sparsecheckout # timeout=10 > git checkout -f 216f639d322508cd4174beae649522e791adfe16 + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-PR-617-46 --build-arg COMMIT=216f639d --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-617-46 . #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 3.83kB 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 #6 [cli-build 3/5] WORKDIR /go/src/github.com/docker/cli #6 CACHED #8 [cli-build 5/5] RUN make binary-osx binary-windows binary #8 CACHED #7 [cli-build 4/5] RUN git clone https://github.com/docker/cli . && git che... #7 CACHED #5 [cli-build 2/5] RUN apt-get install -y -q --no-install-recommends core... #5 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 #4 [1/5] FROM docker.io/library/golang:1.12.9-alpine3.10@sha256:e0660b4f1e6... #4 DONE 0.0s #8 [internal] load build context [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-617-46 --build-arg COMMIT=216f639d --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-617-46 . #2 [internal] load build definition from Dockerfile.invocation-image #2 transferring dockerfile: 614B done #2 DONE 0.0s #1 [internal] load .dockerignore #1 transferring context: 73B done #1 DONE 0.0s #4 [internal] load metadata for docker.io/library/alpine:3.10.3 #4 ... #3 [internal] load metadata for docker.io/library/golang:1.13.2 #3 DONE 0.2s #4 [internal] load metadata for docker.io/library/alpine:3.10.3 #4 DONE 0.3s #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:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 0B / 120.05MB 0.1s #7 sha256:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c 0B / 126B 0.1s #7 sha256:b3086f21bfbe896973dd6147b46f2736a7deb2c04ed76219835befa0244a9562 2.16kB / 2.16kB done #7 sha256:36c384d8593f8989b7a50bebf9569c9f6a43a6881baa8a248a84251d2ca17ddb 1.79kB / 1.79kB done #7 sha256:e37698ff73511ad444a1a3547b81c3f1650f7b34bfc99bd46efccf1d90024db4 5.46kB / 5.46kB done #7 sha256:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c 126B / 126B 0.1s done #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 13.16MB / 120.05MB 0.4s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 21.64MB / 120.05MB 0.5s #12 copying files 181.89MB 1.2s done #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:89d9c30c1d48bac627e5c6cb0d1ed1eec28e7dbdfbcc04712e4c79c0f83faf17 2.79MB / 2.79MB 0.1s done #5 sha256:c19173c5ada610a5989151111163d28a67368362762534d8a8121ce95cf2bd5a 1.64kB / 1.64kB done #5 sha256:e4355b66995c96b4b468159fc5c7e3540fcef961189ca13fee877798649f531a 528B / 528B done #5 sha256:965ea09ff2ebd2b9eeec88cd822ce156f6674c7e99be082c7efac3c62f3ff652 1.51kB / 1.51kB done #5 extracting sha256:89d9c30c1d48bac627e5c6cb0d1ed1eec28e7dbdfbcc04712e4c79c0f83faf17 0.4s done #5 DONE 0.7s #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 34.59MB / 120.05MB 0.7s #8 transferring context: 73.26MB 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:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 43.68MB / 120.05MB 0.9s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 49.73MB / 120.05MB 1.0s #12 DONE 2.1s docker build --build-arg TAG=jenkins-app-PR-617-46 --build-arg COMMIT=216f639d --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-617-46 . #2 [internal] load build definition from Dockerfile #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 58.10MB / 120.05MB 1.2s #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 #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 72.81MB / 120.05MB 1.4s #3 DONE 0.1s #8 [cli-build 1/5] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea... #8 DONE 0.0s #5 [dev 1/9] FROM docker.io/library/golang:1.13.3@sha256:6a693fbaba7dd8d816... #5 DONE 0.0s #18 [internal] load build context #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 86.08MB / 120.05MB 1.8s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 101.02MB / 120.05MB 2.1s #9 DONE 1.2s #10 exporting to image #10 exporting layers #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 120.05MB / 120.05MB 2.4s #10 exporting layers 0.8s done #10 writing image sha256:586502f9a9a172324f8d2959b9b5400397be06520e08c3b2032af3eab34cd85a #10 writing image sha256:586502f9a9a172324f8d2959b9b5400397be06520e08c3b2032af3eab34cd85a done #10 naming to docker.io/library/docker-app-lint:jenkins-app-PR-617-46 done #10 DONE 0.8s docker run --rm docker-app-lint:jenkins-app-PR-617-46 make lint #18 transferring context: 73.26MB 1.3s done #18 DONE 1.3s #11 [cli-build 4/5] RUN git clone https://github.com/docker/cli . && git che... #11 CACHED #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 CACHED #10 [cli-build 3/5] WORKDIR /go/src/github.com/docker/cli #10 CACHED #12 [cli-build 5/5] RUN make binary-osx binary-windows binary #12 CACHED #13 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #13 CACHED #16 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #16 CACHED #6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom... #6 CACHED #15 [dev 6/9] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #15 CACHED #9 [cli-build 2/5] RUN apt-get install -y -q --no-install-recommends core... #9 CACHED #14 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #14 CACHED #17 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #17 CACHED #19 [dev 9/9] COPY . . #7 ... #10 [internal] load build context #10 transferring context: 73.26MB 2.7s done #10 DONE 3.1s #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 120.05MB / 120.05MB 3.4s done #7 extracting sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de #19 DONE 1.1s #20 [cross-build 1/1] RUN make TAG=jenkins-app-PR-617-46 cross Linting... #20 1.059 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=216f639d -X github.com/docker/app/internal.Version=jenkins-app-PR-617-46 -X github.com/docker/app/internal.BuildTime=2019-11-07T11:09:01Z" -o bin/docker-app-linux ./cmd/docker-app #7 ... #6 [invocation 2/4] RUN apk add --no-cache ca-certificates && adduser -S cn... #6 1.406 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz #6 2.454 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz #6 2.522 (1/1) Installing ca-certificates (20190108-r0) #6 2.536 Executing busybox-1.30.1-r2.trigger #6 2.540 Executing ca-certificates-20190108-r0.trigger #6 2.571 OK: 6 MiB in 15 packages #6 DONE 6.4s #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #7 extracting sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 4.2s done #7 extracting sha256:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c done #7 DONE 8.1s #8 [build 2/5] RUN apt-get update -qq && apt-get install -y -q --no-install... #8 2.946 Reading package lists... #8 3.514 Building dependency tree... #8 3.630 Reading state information... #8 3.768 coreutils is already the newest version (8.30-3). #8 3.768 coreutils set to manually installed. #8 3.768 util-linux is already the newest version (2.33.1-0.1). #8 3.768 util-linux set to manually installed. #8 3.768 The following NEW packages will be installed: #8 3.768 uuid-runtime #8 4.033 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. #8 4.033 Need to get 95.2 kB of archives. #8 4.033 After this operation, 211 kB of additional disk space will be used. #8 4.033 Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] #8 4.139 debconf: delaying package configuration, since apt-utils is not installed #8 4.161 Fetched 95.2 kB in 0s (372 kB/s) #8 4.185 Selecting previously unselected package uuid-runtime. #8 4.185 (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.195 Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... #8 4.198 Unpacking uuid-runtime (2.33.1-0.1) ... #8 4.237 Setting up uuid-runtime (2.33.1-0.1) ... #8 4.270 Adding group `uuidd' (GID 102) ... #8 4.283 Done. #8 4.308 Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory #8 4.308 Adding system user `uuidd' (UID 101) ... #8 4.309 Adding new user `uuidd' (UID 101) with group `uuidd' ... #8 4.346 Not creating home directory `/run/uuidd'. #8 4.355 invoke-rc.d: could not determine current runlevel #8 4.357 invoke-rc.d: policy-rc.d denied execution of start. #8 DONE 6.9s #9 [build 3/5] WORKDIR /go/src/github.com/docker/app/ #9 DONE 0.1s #11 [build 4/5] COPY . . #11 DONE 1.0s #12 [build 5/5] RUN make BUILD_TAG=${BUILD_TAG} TAG=jenkins-app-PR-617-46 bi... #12 0.868 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=216f639d -X github.com/docker/app/internal.Version=jenkins-app-PR-617-46 -X github.com/docker/app/internal.BuildTime=2019-11-07T11:09:13Z" -o bin/cnab-run ./cmd/cnab-run [Pipeline] sh + make -f docker.Makefile check-vendor docker build --build-arg TAG=jenkins-app-PR-617-46 --build-arg COMMIT=216f639d --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-617-46 . #1 [internal] load .dockerignore #1 transferring context: 34B done #1 DONE 0.0s #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 3.83kB done #2 DONE 0.0s #3 [internal] load metadata for docker.io/dockercore/golang-cross:1.12.9@sh... #3 DONE 0.0s #4 [internal] load metadata for docker.io/library/golang:1.13.3 #4 DONE 0.1s #8 [cli-build 1/5] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea... #8 DONE 0.0s #5 [dev 1/9] FROM docker.io/library/golang:1.13.3@sha256:6a693fbaba7dd8d816... #5 DONE 0.0s #18 [internal] load build context #18 transferring context: 344.46kB 0.2s done #18 DONE 0.2s #16 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #16 CACHED #9 [cli-build 2/5] RUN apt-get install -y -q --no-install-recommends core... #9 CACHED #13 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #13 CACHED #10 [cli-build 3/5] WORKDIR /go/src/github.com/docker/cli #10 CACHED #12 [cli-build 5/5] RUN make binary-osx binary-windows binary #12 CACHED #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 CACHED #11 [cli-build 4/5] RUN git clone https://github.com/docker/cli . && git che... #11 CACHED #14 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #14 CACHED #15 [dev 6/9] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #15 CACHED #6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom... #6 CACHED #17 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #17 CACHED #19 [dev 9/9] COPY . . #19 DONE 0.7s #20 exporting to image #20 exporting layers #20 exporting layers 0.7s done #20 writing image sha256:856729d5eab7d2c8a7d7b5b13934a95dc5e5a96844c0164841c46abe052d77e4 done #20 naming to docker.io/library/docker-app-dev:jenkins-app-PR-617-46 done #20 DONE 0.8s Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-617-46 sh -c "make vendor && hack/check-git-diff vendor" rm -rf vendor 1>&1 dep ensure -v (1/105) Wrote github.com/Azure/go-ansiterm@master (2/105) Wrote github.com/containerd/cgroups@master (3/105) Wrote github.com/containerd/ttrpc@master (4/105) Wrote github.com/containerd/continuity@master (5/105) Wrote github.com/coreos/go-systemd@v20 (6/105) Wrote github.com/containerd/console@master (7/105) Wrote github.com/containerd/typeurl@master (8/105) Wrote github.com/Microsoft/go-winio@v0.4.12 (9/105) Wrote github.com/agl/ed25519@master (10/105) Wrote github.com/beorn7/perks@master (11/105) Wrote github.com/containerd/fifo@master (12/105) Wrote github.com/Masterminds/semver@v1.4.2 (13/105) Wrote github.com/Microsoft/hcsshim@v0.8.6 (14/105) Wrote github.com/davecgh/go-spew@v1.1.1 (15/105) Wrote vbom.ml/util@master (16/105) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1 (17/105) Wrote github.com/docker/docker-credential-helpers@v0.6.1 (18/105) Wrote github.com/docker/go@v1.5.1-1 (19/105) Wrote github.com/docker/go-events@master (20/105) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 (21/105) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2 (22/105) Wrote github.com/docker/go-connections@v0.4.0 (23/105) Wrote github.com/docker/go-units@v0.3.3 (24/105) Wrote github.com/godbus/dbus@v5.0.1 (25/105) Wrote github.com/gofrs/flock@v0.7.1 (26/105) Wrote github.com/docker/buildx@v0.3.1 (27/105) Wrote github.com/gogo/googleapis@v1.2.0 (28/105) Wrote github.com/google/go-cmp@v0.2.0 (29/105) Wrote github.com/google/gofuzz@v1.0.0 (30/105) Wrote github.com/google/shlex@master (31/105) Wrote github.com/gorilla/mux@v1.7.1 (32/105) Wrote github.com/grpc-ecosystem/grpc-opentracing@master (33/105) Wrote github.com/hashicorp/go-version@v1.1.0 (34/105) Wrote github.com/globalsign/mgo@master (35/105) Wrote github.com/hashicorp/golang-lru@v0.5.1 (36/105) Wrote github.com/imdario/mergo@master (37/105) Wrote github.com/inconshreveable/mousetrap@v1.0 (38/105) Wrote github.com/jackpal/gateway (from github.com/ndeloof/gateway)@10816db7ab2f4b71e71dba9420bfa67d5be27b33 (39/105) Wrote github.com/jaguilar/vt100 (from github.com/tonistiigi/vt100)@ad4c4a5743050fb7f88ce968dca9422f72a0e3f2 #20 55.37 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=216f639d -X github.com/docker/app/internal.Version=jenkins-app-PR-617-46 -X github.com/docker/app/internal.BuildTime=2019-11-07T11:09:01Z" -o bin/docker-app-darwin ./cmd/docker-app (40/105) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (41/105) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2 (42/105) Wrote github.com/googleapis/gnostic@v0.2.0 (43/105) Wrote github.com/docker/compose-on-kubernetes@v0.4.21 (44/105) Wrote github.com/mattn/go-shellwords@v1.0.5 (45/105) Wrote github.com/json-iterator/go@v1.1.6 (46/105) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1 (47/105) Wrote github.com/miekg/pkcs11@master (48/105) Wrote github.com/mitchellh/mapstructure@v1.1.2 (49/105) Wrote github.com/modern-go/concurrent@1.0.3 (50/105) Wrote github.com/modern-go/reflect2@1.0.1 (51/105) Wrote github.com/morikuni/aec@master (52/105) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1 (53/105) Wrote github.com/golang/protobuf@v1.3.1 (54/105) Wrote github.com/oklog/ulid@v1.3.1 (55/105) Wrote github.com/opencontainers/image-spec@v1.0.1 (56/105) Wrote github.com/opentracing/opentracing-go@v1.1.0 (57/105) Wrote github.com/pkg/errors@v0.8.1 (58/105) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 (59/105) Wrote github.com/prometheus/client_model@master (60/105) Wrote github.com/prometheus/client_golang@v0.8.0 (61/105) Wrote github.com/qri-io/jsonpointer@v0.1.0 (62/105) Wrote github.com/prometheus/procfs@master (63/105) Wrote github.com/prometheus/common@v0.2.0 (64/105) Wrote github.com/qri-io/jsonschema@v0.1.1 (65/105) Wrote github.com/sirupsen/logrus@v1.4.1 (66/105) Wrote github.com/spf13/pflag@master (67/105) Wrote github.com/syndtr/gocapability@master (68/105) Wrote github.com/containerd/containerd@master (69/105) Wrote github.com/spf13/cobra@v0.0.5 (70/105) Wrote github.com/tonistiigi/units@master (71/105) Wrote github.com/xeipuuv/gojsonpointer@master (72/105) Wrote github.com/opencontainers/runc@v1.0.0-rc7 (73/105) Wrote github.com/wadey/gocovmerge@master (74/105) Wrote github.com/xeipuuv/gojsonreference@master (75/105) Wrote github.com/tonistiigi/fsutil@master (76/105) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc (77/105) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d (78/105) Wrote github.com/moby/buildkit@v0.6.2 (79/105) Wrote github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98 (80/105) Wrote golang.org/x/oauth2@master (81/105) Wrote golang.org/x/sync@master (82/105) Wrote golang.org/x/crypto@master (83/105) Wrote golang.org/x/time@master (84/105) Wrote github.com/coreos/etcd@v3.3.12 (85/105) Wrote golang.org/x/net@master #12 DONE 64.4s #13 [invocation 3/4] COPY --from=build /go/src/github.com/docker/app/bin/cna... #13 DONE 0.3s #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:0c39ad85db356e529808a1845a81a137a22e4c2da1853418332e911029b1109f done #15 naming to docker.io/docker/cnab-app-base:jenkins-app-PR-617-46 done #15 DONE 0.3s docker save docker/cnab-app-base:jenkins-app-PR-617-46 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-617-46-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-617-46 docker/cnab-app-base:jenkins-app-PR-617-46-coverage docker save docker/cnab-app-base:jenkins-app-PR-617-46-coverage -o _build/coverage-invocation-image.tar (86/105) Wrote gopkg.in/inf.v0@v0.9.1 (87/105) Wrote google.golang.org/appengine@v1.5.0 [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-617/src/github.com/docker/app/_build [Pipeline] { [Pipeline] stash (88/105) Wrote gotest.tools@v2.3.0 (89/105) Wrote gopkg.in/yaml.v2@v2.2.3 (90/105) Wrote k8s.io/klog@v0.2.0 Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-617/46/stashes/invocation-image.tgz [Pipeline] stash (91/105) Wrote k8s.io/utils@master (92/105) Wrote sigs.k8s.io/yaml@v1.1.0 (93/105) Wrote k8s.io/apimachinery@kubernetes-1.14.1 (94/105) Wrote golang.org/x/sys@master Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-617/46/stashes/coverage-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-617/src/github.com/docker/app [Pipeline] { [Pipeline] sh (95/105) Wrote google.golang.org/grpc@v1.19.1 + docker rmi docker/cnab-app-base:jenkins-app-PR-617-46 Untagged: docker/cnab-app-base:jenkins-app-PR-617-46 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-617-46-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-617-46-coverage Deleted: sha256:0c39ad85db356e529808a1845a81a137a22e4c2da1853418332e911029b1109f [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } (96/105) Wrote github.com/theupdateframework/notary@v0.6.1 (97/105) Wrote golang.org/x/text@v0.3.0 (98/105) Wrote golang.org/x/tools@master (99/105) Wrote k8s.io/client-go@kubernetes-1.14.1 (100/105) Wrote google.golang.org/genproto@master (101/105) Wrote cloud.google.com/go@v0.37.4 (102/105) Wrote github.com/gogo/protobuf@v1.2.1 #20 112.3 GOOS=windows CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=216f639d -X github.com/docker/app/internal.Version=jenkins-app-PR-617-46 -X github.com/docker/app/internal.BuildTime=2019-11-07T11:09:01Z" -o bin/docker-app-windows.exe ./cmd/docker-app (103/105) Wrote k8s.io/api@kubernetes-1.14.1 (104/105) Wrote github.com/docker/docker@master #20 DONE 169.7s #21 [cross 1/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #21 DONE 0.2s #22 [cross 2/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #22 DONE 0.2s #23 [cross 3/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #23 DONE 0.2s #24 exporting to client #24 copying files 39B #24 copying files 124.42MB 0.8s done #24 DONE 1.2s docker build --build-arg TAG=jenkins-app-PR-617-46 --build-arg COMMIT=216f639d --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-617-46 . #2 [internal] load .dockerignore #2 DONE 0.0s #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.1s #8 [cli-build 1/5] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea... #8 DONE 0.0s #5 [dev 1/9] FROM docker.io/library/golang:1.13.3@sha256:6a693fbaba7dd8d816... #5 DONE 0.0s #18 [internal] load build context #18 transferring context: 344.46kB 0.2s done #18 DONE 0.2s #17 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #17 CACHED #6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom... #6 CACHED #12 [cli-build 5/5] RUN make binary-osx binary-windows binary #12 CACHED #16 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #16 CACHED #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 CACHED #19 [dev 9/9] COPY . . #19 CACHED #14 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #14 CACHED #13 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #13 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 #15 [dev 6/9] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #15 CACHED #11 [cli-build 4/5] RUN git clone https://github.com/docker/cli . && git che... #11 CACHED #20 [cross-build 1/1] RUN make TAG=jenkins-app-PR-617-46 cross #20 CACHED #21 [e2e-cross-build 1/1] RUN make TAG=jenkins-app-PR-617-46 e2e-cross #21 0.868 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=216f639d -X github.com/docker/app/internal.Version=jenkins-app-PR-617-46 -X github.com/docker/app/internal.BuildTime=2019-11-07T11:11:54Z" -o bin/docker-app-linux ./cmd/docker-app #21 4.365 GOOS=linux CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=216f639d -X github.com/docker/app/internal.Version=jenkins-app-PR-617-46 -X github.com/docker/app/internal.BuildTime=2019-11-07T11:11:54Z" -c -o bin/docker-app-e2e-linux ./e2e/ #21 25.59 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=216f639d -X github.com/docker/app/internal.Version=jenkins-app-PR-617-46 -X github.com/docker/app/internal.BuildTime=2019-11-07T11:11:54Z" -o bin/docker-app-darwin ./cmd/docker-app #21 29.39 GOOS=darwin CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=216f639d -X github.com/docker/app/internal.Version=jenkins-app-PR-617-46 -X github.com/docker/app/internal.BuildTime=2019-11-07T11:11:54Z" -c -o bin/docker-app-e2e-darwin ./e2e/ (105/105) 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] } #21 50.63 GOOS=windows CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=216f639d -X github.com/docker/app/internal.Version=jenkins-app-PR-617-46 -X github.com/docker/app/internal.BuildTime=2019-11-07T11:11:54Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ #21 DONE 72.7s #22 [e2e-cross 1/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #22 DONE 0.1s #23 [e2e-cross 2/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #23 DONE 0.3s #24 [e2e-cross 3/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #24 DONE 0.2s #25 [e2e-cross 4/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-lin... #25 DONE 0.1s #26 [e2e-cross 5/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-dar... #26 DONE 0.1s #27 [e2e-cross 6/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-win... #27 DONE 0.1s #28 [e2e-cross 7/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-lin... #28 DONE 0.1s #29 [e2e-cross 8/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-dar... #29 DONE 0.1s #30 [e2e-cross 9/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-win... #30 DONE 0.1s #31 exporting to client #31 copying files 14.09MB 0.1s #31 copying files 122.19MB 0.7s done #31 DONE 1.0s 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-617/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-617/46/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-617/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] stash Stashed 69 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-617/46/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-617/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-617/46/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-617-46* + 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) [Pipeline] parallel [Pipeline] { (Branch: Coverage) [Pipeline] { (Branch: Test Linux) [Pipeline] stage [Pipeline] { (Coverage) [Pipeline] stage [Pipeline] { (Test Linux) [Pipeline] node [Pipeline] node Running on ubuntu-1804-overlay2 (i-06a7d84f6e4ae93d8) in /home/ubuntu/workspace/app_PR-617 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-617/src/github.com/docker/app [Pipeline] { Running on ubuntu-1804-overlay2 (i-08f10043349414faf) in /home/ubuntu/workspace/app_PR-617 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { using credential docker-jenkins-github-credentials [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-617/src/github.com/docker/app [Pipeline] { 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-617/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/617/head:refs/remotes/origin/PR-617 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-617/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/617/head:refs/remotes/origin/PR-617 Fetching without tags Fetching without tags Checking out Revision 216f639d322508cd4174beae649522e791adfe16 (PR-617) Checking out Revision 216f639d322508cd4174beae649522e791adfe16 (PR-617) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/617/head:refs/remotes/origin/PR-617 # 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/617/head:refs/remotes/origin/PR-617 > git config core.sparsecheckout # timeout=10 > git checkout -f 216f639d322508cd4174beae649522e791adfe16 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/617/head:refs/remotes/origin/PR-617 # 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/617/head:refs/remotes/origin/PR-617 > git config core.sparsecheckout # timeout=10 > git checkout -f 216f639d322508cd4174beae649522e791adfe16 Commit message: "Discover the IP address to based on default gateway" Commit message: "Discover the IP address to based on default gateway" [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-617/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-617/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-617/46/stashes/invocation-image.tgz [Pipeline] sh Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-617/46/stashes/coverage-invocation-image.tgz [Pipeline] sh + docker load -i invocation-image.tar + docker load -i coverage-invocation-image.tar Loaded image: docker/cnab-app-base:jenkins-app-PR-617-46 [Pipeline] } [Pipeline] // dir [Pipeline] unstash Loaded image: docker/cnab-app-base:jenkins-app-PR-617-46-coverage [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile TAG=jenkins-app-PR-617-46-coverage coverage-run docker build --build-arg TAG=jenkins-app-PR-617-46-coverage --build-arg COMMIT=216f639d --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-617-46 . #2 [internal] load .dockerignore #2 transferring context: 73B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 3.83kB 0.0s 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/5] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea... #8 DONE 0.0s #5 [dev 1/9] FROM docker.io/library/golang:1.13.3@sha256:6a693fbaba7dd8d816... #5 DONE 0.0s #18 [internal] load build context #18 transferring context: 73.26MB 1.3s done #18 DONE 1.3s #12 [cli-build 5/5] RUN make binary-osx binary-windows binary #12 CACHED #9 [cli-build 2/5] RUN apt-get install -y -q --no-install-recommends core... #9 CACHED #15 [dev 6/9] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #15 CACHED #16 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #16 CACHED #6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom... #6 CACHED #11 [cli-build 4/5] RUN git clone https://github.com/docker/cli . && git che... #11 CACHED #10 [cli-build 3/5] WORKDIR /go/src/github.com/docker/cli #10 CACHED #14 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #14 CACHED #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 CACHED #13 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #13 CACHED #17 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #17 CACHED #19 [dev 9/9] COPY . . #19 DONE 1.7s #20 exporting to image #20 exporting layers #20 exporting layers 0.7s done #20 writing image sha256:b8cea1e98008d558948e031c87b27999964171fd2e90bc8dcc0a68424ab969f6 done #20 naming to docker.io/library/docker-app-dev:jenkins-app-PR-617-46 done #20 DONE 0.8s docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-617-46-coverage --network="host" -t docker-app-dev:jenkins-app-PR-617-46 make COMMIT=216f639d TAG=jenkins-app-PR-617-46-coverage TEST_RESULTS_PREFIX= coverage Running unit tests (coverage)... CGO_ENABLED=0 gotestsum --junitfile _build/test-results/unit-coverage.xml -- -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=216f639d -X github.com/docker/app/internal.Version=jenkins-app-PR-617-46-coverage -X github.com/docker/app/internal.BuildTime=2019-11-07T11:14:14Z" -cover -test.coverprofile=_build/cov/unit.out github.com/docker/app github.com/docker/app/cmd/cnab-run github.com/docker/app/cmd/docker-app github.com/docker/app/docs/yaml github.com/docker/app/internal github.com/docker/app/internal/bundle github.com/docker/app/internal/cliopts github.com/docker/app/internal/cnab github.com/docker/app/internal/commands github.com/docker/app/internal/commands/build github.com/docker/app/internal/commands/image github.com/docker/app/internal/compose github.com/docker/app/internal/formatter github.com/docker/app/internal/formatter/driver github.com/docker/app/internal/formatter/json github.com/docker/app/internal/formatter/yaml github.com/docker/app/internal/inspect github.com/docker/app/internal/log github.com/docker/app/internal/packager github.com/docker/app/internal/slices github.com/docker/app/internal/store github.com/docker/app/internal/yaml github.com/docker/app/loader github.com/docker/app/render github.com/docker/app/specification github.com/docker/app/types github.com/docker/app/types/metadata github.com/docker/app/types/parameters ∅ . Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-617/46/stashes/binaries.tgz [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-617/src/github.com/docker/app/examples [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-617/46/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-617/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-617/46/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + ./gotestsum-linux --format short-verbose --junitfile e2e-linux.xml --raw-command -- ./test2json-linux -t -p e2e/linux ./docker-app-e2e-linux -test.v --e2e-path=e2e PASS e2e/linux.TestBuild (15.69s) PASS e2e/linux.TestQuietBuild (13.64s) PASS e2e/linux.TestBuildWithoutTag (13.75s) Creating placeholder flownodes because failed loading originals. GitHub has been notified of this commit’s build result java.io.IOException: Tried to load head FlowNodes for execution Owner[app/PR-617/46:app/PR-617 #46] but FlowNode was not found in storage for head id:FlowNodeId 1:149 at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.initializeStorage(CpsFlowExecution.java:679) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.onLoad(CpsFlowExecution.java:716) at org.jenkinsci.plugins.workflow.job.WorkflowRun.getExecution(WorkflowRun.java:662) at org.jenkinsci.plugins.workflow.job.WorkflowRun.onLoad(WorkflowRun.java:526) at hudson.model.RunMap.retrieve(RunMap.java:225) at hudson.model.RunMap.retrieve(RunMap.java:57) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:501) at jenkins.model.lazy.AbstractLazyLoadRunMap.load(AbstractLazyLoadRunMap.java:483) at jenkins.model.lazy.AbstractLazyLoadRunMap.getByNumber(AbstractLazyLoadRunMap.java:381) at hudson.model.RunMap.getById(RunMap.java:205) at org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.run(WorkflowRun.java:899) at org.jenkinsci.plugins.workflow.job.WorkflowRun$Owner.get(WorkflowRun.java:910) at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$1.computeNext(FlowExecutionList.java:65) at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$1.computeNext(FlowExecutionList.java:57) at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143) at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138) at org.jenkinsci.plugins.workflow.flow.FlowExecutionList$ItemListenerImpl.onLoaded(FlowExecutionList.java:178) at jenkins.model.Jenkins.(Jenkins.java:999) at hudson.model.Hudson.(Hudson.java:85) at hudson.model.Hudson.(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:233) Finished: FAILURE