Pull request #755 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 8fb47d98b6c6762a0714cc5f7994eb10918dc80b 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-076ceee629b45e0f5) in /home/ubuntu/workspace/app_PR-755 [Pipeline] { Running on ubuntu-1804-overlay2 (i-058facff88163a696) in /home/ubuntu/workspace/app_PR-755 [Pipeline] { Running on ubuntu-1804-overlay2 (i-09b92c7f934e07460) in /home/ubuntu/workspace/app_PR-755 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-755/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-755/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-755/src/github.com/docker/app [Pipeline] { [Pipeline] script [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-755/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/755/head:refs/remotes/origin/PR-755 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-755/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/755/head:refs/remotes/origin/PR-755 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-755/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/755/head:refs/remotes/origin/PR-755 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/755/head:refs/remotes/origin/PR-755 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/755/head:refs/remotes/origin/PR-755 # timeout=10 Fetching without tags Fetching without tags Checking out Revision 8fb47d98b6c6762a0714cc5f7994eb10918dc80b (PR-755) > 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/755/head:refs/remotes/origin/PR-755 > git config core.sparsecheckout # timeout=10 Checking out Revision 8fb47d98b6c6762a0714cc5f7994eb10918dc80b (PR-755) > 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/755/head:refs/remotes/origin/PR-755 > git config core.sparsecheckout # timeout=10 > git checkout -f 8fb47d98b6c6762a0714cc5f7994eb10918dc80b Fetching without tags Checking out Revision 8fb47d98b6c6762a0714cc5f7994eb10918dc80b (PR-755) Commit message: "test app render and app inspect actions" Commit message: "test app render and app inspect actions" > git checkout -f 8fb47d98b6c6762a0714cc5f7994eb10918dc80b > git rev-list --no-walk 78a0f26951239fd91720844cbf294ed08ac5b840 # timeout=10 Commit message: "test app render and app inspect actions" > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/755/head:refs/remotes/origin/PR-755 # 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/755/head:refs/remotes/origin/PR-755 > git config core.sparsecheckout # timeout=10 > git checkout -f 8fb47d98b6c6762a0714cc5f7994eb10918dc80b [Pipeline] ansiColor [Pipeline] { [Pipeline] sh [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-755-10 --build-arg COMMIT=8fb47d98 --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-755-10 . #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 #4 [internal] load metadata for docker.io/library/golang:1.13.2 + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-PR-755-10 --build-arg COMMIT=8fb47d98 --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-755-10 . #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 4.18kB 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/8] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea... #4 DONE 0.0s #5 [cli-build 2/8] RUN apt-get install -y -q --no-install-recommends core... #5 CACHED #9 [cli-build 6/8] RUN curl -fL https://download.docker.com/linux/static/st... #9 CACHED #10 [cli-build 7/8] RUN curl -fL https://download.docker.com/mac/static/stab... #10 CACHED #7 [cli-build 4/8] RUN git clone https://github.com/docker/cli . && git che... #7 CACHED #6 [cli-build 3/8] WORKDIR /go/src/github.com/docker/cli #6 CACHED #8 [cli-build 5/8] RUN mkdir build #8 CACHED #11 [cli-build 8/8] RUN make binary-windows #11 CACHED #12 [cli 1/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... [Pipeline] ansiColor [Pipeline] { [Pipeline] sh #4 ... #3 [internal] load metadata for docker.io/library/alpine:3.10.3 #3 DONE 0.2s #4 [internal] load metadata for docker.io/library/golang:1.13.2 #4 DONE 0.2s #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #7 resolve docker.io/library/golang:1.13.2@sha256:b3086f21bfbe896973dd6147b46f2736a7deb2c04ed76219835befa0244a9562 done #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 0B / 120.05MB 0.1s #7 sha256:b3086f21bfbe896973dd6147b46f2736a7deb2c04ed76219835befa0244a9562 2.16kB / 2.16kB done #7 sha256:e37698ff73511ad444a1a3547b81c3f1650f7b34bfc99bd46efccf1d90024db4 5.46kB / 5.46kB done #7 sha256:36c384d8593f8989b7a50bebf9569c9f6a43a6881baa8a248a84251d2ca17ddb 1.79kB / 1.79kB done #7 sha256:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c 0B / 126B 0.1s #7 sha256:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c 126B / 126B 0.1s done #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 7.31MB / 120.05MB 0.3s + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-755-10 -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 #12 DONE 0.4s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 14.48MB / 120.05MB 0.4s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 21.53MB / 120.05MB 0.5s #3 DONE 0.4s #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:c19173c5ada610a5989151111163d28a67368362762534d8a8121ce95cf2bd5a 1.64kB / 1.64kB done #5 sha256:e4355b66995c96b4b468159fc5c7e3540fcef961189ca13fee877798649f531a 528B / 528B done #5 sha256:965ea09ff2ebd2b9eeec88cd822ce156f6674c7e99be082c7efac3c62f3ff652 1.51kB / 1.51kB done #5 sha256:89d9c30c1d48bac627e5c6cb0d1ed1eec28e7dbdfbcc04712e4c79c0f83faf17 2.79MB / 2.79MB 0.1s 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 29.04MB / 120.05MB 0.6s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 39.43MB / 120.05MB 0.8s #4 [1/5] FROM docker.io/library/golang:1.12.9-alpine3.10@sha256:e0660b4f1e6... #4 DONE 0.0s #8 [internal] load build context #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 48.91MB / 120.05MB 1.0s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 55.29MB / 120.05MB 1.1s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 69.16MB / 120.05MB 1.3s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 81.08MB / 120.05MB 1.5s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 92.82MB / 120.05MB 1.7s #13 [cli 2/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #13 DONE 0.3s #14 [cli 3/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 99.42MB / 120.05MB 1.8s #14 DONE 0.3s #15 exporting to client #15 copying files 14.16MB 0.1s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 108.54MB / 120.05MB 2.1s #8 transferring context: 73.71MB 1.3s done #8 DONE 1.3s #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 114.70MB / 120.05MB 2.2s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 120.05MB / 120.05MB 2.4s done #7 extracting sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de #7 ... #10 [internal] load build context #10 transferring context: 73.71MB 2.9s done #10 DONE 2.9s #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #15 copying files 184.16MB 1.3s done #15 DONE 1.7s docker build --build-arg TAG=jenkins-app-PR-755-10 --build-arg COMMIT=8fb47d98 --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-755-10 . #2 [internal] load build definition from Dockerfile #2 DONE 0.0s #9 DONE 1.3s #10 exporting to image #10 exporting layers #1 [internal] load .dockerignore #1 transferring context: 34B done #1 DONE 0.0s #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 38B 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/8] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea... #8 DONE 0.0s #5 [dev 1/9] FROM docker.io/library/golang:1.13.3@sha256:6a693fbaba7dd8d816... #5 DONE 0.0s #21 [internal] load build context #10 exporting layers 0.8s done #10 writing image sha256:72306ba70f97aa74ba79c3218b1112df95eeddb6b5067dc649cd73da26e84267 done #10 naming to docker.io/library/docker-app-lint:jenkins-app-PR-755-10 done #10 DONE 0.8s docker run --rm docker-app-lint:jenkins-app-PR-755-10 make lint #7 ... #6 [invocation 2/4] RUN apk add --no-cache ca-certificates && adduser -S cn... #6 1.419 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz #6 2.490 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz #6 2.588 (1/1) Installing ca-certificates (20190108-r0) #6 2.603 Executing busybox-1.30.1-r2.trigger #6 2.609 Executing ca-certificates-20190108-r0.trigger #6 2.669 OK: 6 MiB in 15 packages #6 DONE 3.6s #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #21 transferring context: 73.71MB 1.4s done #21 DONE 1.4s #19 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #19 CACHED #17 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #17 CACHED #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 CACHED #10 [cli-build 3/8] WORKDIR /go/src/github.com/docker/cli #10 CACHED #6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom... #6 CACHED #15 [cli-build 8/8] RUN make binary-windows #15 CACHED #14 [cli-build 7/8] RUN curl -fL https://download.docker.com/mac/static/stab... #14 CACHED #9 [cli-build 2/8] RUN apt-get install -y -q --no-install-recommends core... #9 CACHED #12 [cli-build 5/8] RUN mkdir build #12 CACHED #18 [dev 6/9] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #18 CACHED #16 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #16 CACHED #11 [cli-build 4/8] RUN git clone https://github.com/docker/cli . && git che... #11 CACHED #13 [cli-build 6/8] RUN curl -fL https://download.docker.com/linux/static/st... #13 CACHED #20 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #20 CACHED #22 [dev 9/9] COPY . . Linting... #22 DONE 0.9s #23 [cross-build 1/1] RUN make TAG=jenkins-app-PR-755-10 cross #23 1.285 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=8fb47d98 -X github.com/docker/app/internal.Version=jenkins-app-PR-755-10 -X github.com/docker/app/internal.BuildTime=2019-11-25T16:43:15Z" -o bin/docker-app-linux ./cmd/docker-app #7 extracting sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 4.5s done #7 extracting sha256:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c done #7 DONE 7.6s #8 [build 2/5] RUN apt-get update -qq && apt-get install -y -q --no-install... #8 2.936 Reading package lists... #8 3.508 Building dependency tree... #8 3.625 Reading state information... #8 3.759 coreutils is already the newest version (8.30-3). #8 3.759 coreutils set to manually installed. #8 3.759 util-linux is already the newest version (2.33.1-0.1). #8 3.759 util-linux set to manually installed. #8 3.759 The following NEW packages will be installed: #8 3.759 uuid-runtime #8 4.023 0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded. #8 4.023 Need to get 95.2 kB of archives. #8 4.023 After this operation, 211 kB of additional disk space will be used. #8 4.023 Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] #8 4.137 debconf: delaying package configuration, since apt-utils is not installed #8 4.160 Fetched 95.2 kB in 0s (372 kB/s) #8 4.182 Selecting previously unselected package uuid-runtime. #8 4.182 (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.191 Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... #8 4.194 Unpacking uuid-runtime (2.33.1-0.1) ... #8 4.231 Setting up uuid-runtime (2.33.1-0.1) ... #8 4.264 Adding group `uuidd' (GID 102) ... #8 4.278 Done. #8 4.303 Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory #8 4.303 Adding system user `uuidd' (UID 101) ... #8 4.303 Adding new user `uuidd' (UID 101) with group `uuidd' ... #8 4.340 Not creating home directory `/run/uuidd'. #8 4.348 invoke-rc.d: could not determine current runlevel #8 4.351 invoke-rc.d: policy-rc.d denied execution of start. #8 DONE 5.5s #9 [build 3/5] WORKDIR /go/src/github.com/docker/app/ #9 DONE 0.0s #11 [build 4/5] COPY . . #11 DONE 0.9s #12 [build 5/5] RUN make BUILD_TAG=${BUILD_TAG} TAG=jenkins-app-PR-755-10 bi... #12 0.878 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=8fb47d98 -X github.com/docker/app/internal.Version=jenkins-app-PR-755-10 -X github.com/docker/app/internal.BuildTime=2019-11-25T16:43:22Z" -o bin/cnab-run ./cmd/cnab-run e2e/compatibility_test.go:86:5: S1025: the argument is already a string, there's no need to use fmt.Sprintf (gosimple) fmt.Sprintf("%s", appName), ^ make: *** [Makefile:71: lint] Error 1 docker.Makefile:89: recipe for target 'lint' failed make: *** [lint] Error 2 [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Validate #23 56.92 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=8fb47d98 -X github.com/docker/app/internal.Version=jenkins-app-PR-755-10 -X github.com/docker/app/internal.BuildTime=2019-11-25T16:43:15Z" -o bin/docker-app-darwin ./cmd/docker-app #12 DONE 63.3s #13 [invocation 3/4] COPY --from=build /go/src/github.com/docker/app/bin/cna... #13 DONE 0.2s #14 [invocation 4/4] WORKDIR /cnab/app #14 DONE 0.1s #15 exporting to image #15 exporting layers #15 exporting layers 0.2s done #15 writing image sha256:5cc5b291a16183adfea734d9b51fbcd3b78ec35ebddcc5a93570f621803fda22 done #15 naming to docker.io/docker/cnab-app-base:jenkins-app-PR-755-10 done #15 DONE 0.2s docker save docker/cnab-app-base:jenkins-app-PR-755-10 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-755-10-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-755-10 docker/cnab-app-base:jenkins-app-PR-755-10-coverage docker save docker/cnab-app-base:jenkins-app-PR-755-10-coverage -o _build/coverage-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-755/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-755/10/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-755/10/stashes/coverage-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-755/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-755-10 Untagged: docker/cnab-app-base:jenkins-app-PR-755-10 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-755-10-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-755-10-coverage Deleted: sha256:5cc5b291a16183adfea734d9b51fbcd3b78ec35ebddcc5a93570f621803fda22 [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } #23 115.0 GOOS=windows CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=8fb47d98 -X github.com/docker/app/internal.Version=jenkins-app-PR-755-10 -X github.com/docker/app/internal.BuildTime=2019-11-25T16:43:15Z" -o bin/docker-app-windows.exe ./cmd/docker-app #23 DONE 173.9s #24 [cross 1/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #24 DONE 0.1s #25 [cross 2/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #25 DONE 0.3s #26 [cross 3/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #26 DONE 0.2s #27 exporting to client #27 copying files 39B #27 copying files 124.39MB 0.8s done #27 DONE 1.1s docker build --build-arg TAG=jenkins-app-PR-755-10 --build-arg COMMIT=8fb47d98 --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-755-10 . #1 [internal] load .dockerignore #1 DONE 0.0s #1 [internal] load .dockerignore #1 transferring context: 34B done #1 DONE 0.0s #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 38B 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/8] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea... #8 DONE 0.0s #5 [dev 1/9] FROM docker.io/library/golang:1.13.3@sha256:6a693fbaba7dd8d816... #5 DONE 0.0s #21 [internal] load build context #21 transferring context: 340.92kB 0.2s done #21 DONE 0.2s #9 [cli-build 2/8] RUN apt-get install -y -q --no-install-recommends core... #9 CACHED #18 [dev 6/9] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #18 CACHED #22 [dev 9/9] COPY . . #22 CACHED #13 [cli-build 6/8] RUN curl -fL https://download.docker.com/linux/static/st... #13 CACHED #15 [cli-build 8/8] RUN make binary-windows #15 CACHED #10 [cli-build 3/8] WORKDIR /go/src/github.com/docker/cli #10 CACHED #14 [cli-build 7/8] RUN curl -fL https://download.docker.com/mac/static/stab... #14 CACHED #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 CACHED #20 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #20 CACHED #11 [cli-build 4/8] RUN git clone https://github.com/docker/cli . && git che... #11 CACHED #16 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #16 CACHED #17 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #17 CACHED #12 [cli-build 5/8] RUN mkdir build #12 CACHED #6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom... #6 CACHED #19 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #19 CACHED #23 [cross-build 1/1] RUN make TAG=jenkins-app-PR-755-10 cross #23 CACHED #24 [e2e-cross-build 1/1] RUN make TAG=jenkins-app-PR-755-10 e2e-cross #24 0.834 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=8fb47d98 -X github.com/docker/app/internal.Version=jenkins-app-PR-755-10 -X github.com/docker/app/internal.BuildTime=2019-11-25T16:46:11Z" -o bin/docker-app-linux ./cmd/docker-app #24 4.036 GOOS=linux CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=8fb47d98 -X github.com/docker/app/internal.Version=jenkins-app-PR-755-10 -X github.com/docker/app/internal.BuildTime=2019-11-25T16:46:11Z" -c -o bin/docker-app-e2e-linux ./e2e/ #24 25.67 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=8fb47d98 -X github.com/docker/app/internal.Version=jenkins-app-PR-755-10 -X github.com/docker/app/internal.BuildTime=2019-11-25T16:46:11Z" -o bin/docker-app-darwin ./cmd/docker-app #24 29.33 GOOS=darwin CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=8fb47d98 -X github.com/docker/app/internal.Version=jenkins-app-PR-755-10 -X github.com/docker/app/internal.BuildTime=2019-11-25T16:46:11Z" -c -o bin/docker-app-e2e-darwin ./e2e/ #24 51.99 GOOS=windows CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=8fb47d98 -X github.com/docker/app/internal.Version=jenkins-app-PR-755-10 -X github.com/docker/app/internal.BuildTime=2019-11-25T16:46:11Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ #24 DONE 74.6s #25 [e2e-cross 1/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #25 DONE 0.1s #26 [e2e-cross 2/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #26 DONE 0.2s #27 [e2e-cross 3/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #27 DONE 0.2s #28 [e2e-cross 4/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-lin... #28 DONE 0.1s #29 [e2e-cross 5/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-dar... #29 DONE 0.1s #30 [e2e-cross 6/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-win... #30 DONE 0.1s #31 [e2e-cross 7/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-lin... #31 DONE 0.1s #32 [e2e-cross 8/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-dar... #32 DONE 0.1s #33 [e2e-cross 9/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-win... #33 DONE 0.1s #34 exporting to client #34 copying files 15.14MB 0.1s #34 copying files 121.64MB 0.8s done #34 DONE 1.1s 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-755/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-755/10/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-755/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] stash Stashed 81 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-755/10/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-755/src/github.com/docker/app/examples [Pipeline] { [Pipeline] stash Stashed 34 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-755/10/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + xargs --no-run-if-empty docker image rm -f + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-755-10* [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] parallel [Pipeline] { (Branch: Coverage) [Pipeline] { (Branch: Test Linux) [Pipeline] stage [Pipeline] { (Coverage) [Pipeline] stage [Pipeline] { (Test Linux) Stage "Coverage" skipped due to earlier failure(s) [Pipeline] } Stage "Test Linux" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } Failed in branch Coverage [Pipeline] } Failed in branch Test Linux [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result ERROR: script returned exit code 2 Finished: FAILURE