Pull request #625 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 0abfed5a6e4306ebbc7f1ed0914bf0bb6f918619 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-06e3857d1831793bf) in /home/ubuntu/workspace/app_PR-625 [Pipeline] { Running on ubuntu-1804-overlay2 (i-0cf1f0a35038a03e0) in /home/ubuntu/workspace/app_PR-625 [Pipeline] { Running on ubuntu-1804-overlay2 (i-0922fef36cdb5ba7a) in /home/ubuntu/workspace/app_PR-625 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [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 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-625/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/625/head:refs/remotes/origin/PR-625 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-625/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/625/head:refs/remotes/origin/PR-625 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-625/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/625/head:refs/remotes/origin/PR-625 Fetching without tags Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/625/head:refs/remotes/origin/PR-625 # 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/625/head:refs/remotes/origin/PR-625 Checking out Revision 0abfed5a6e4306ebbc7f1ed0914bf0bb6f918619 (PR-625) Checking out Revision 0abfed5a6e4306ebbc7f1ed0914bf0bb6f918619 (PR-625) > git config core.sparsecheckout # timeout=10 > git checkout -f 0abfed5a6e4306ebbc7f1ed0914bf0bb6f918619 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/625/head:refs/remotes/origin/PR-625 # 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/625/head:refs/remotes/origin/PR-625 > git config core.sparsecheckout # timeout=10 > git checkout -f 0abfed5a6e4306ebbc7f1ed0914bf0bb6f918619 Fetching without tags Checking out Revision 0abfed5a6e4306ebbc7f1ed0914bf0bb6f918619 (PR-625) Commit message: "vendor update" Commit message: "vendor update" First time build. Skipping changelog. Commit message: "vendor update" [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/625/head:refs/remotes/origin/PR-625 # 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/625/head:refs/remotes/origin/PR-625 > git config core.sparsecheckout # timeout=10 > git checkout -f 0abfed5a6e4306ebbc7f1ed0914bf0bb6f918619 > git rev-list --no-walk f87588e2b3f4ecdbf8d5b1b5f179ab40c9c826cc # timeout=10 + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-625-9 --build-arg COMMIT=0abfed5a --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-625-9 . #2 [internal] load .dockerignore #2 transferring context: 73B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile.invocation-image #1 transferring dockerfile: 614B done #1 DONE 0.0s #4 [internal] load metadata for docker.io/library/alpine:3.10.3 #4 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.13.2 [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-PR-625-9 --build-arg COMMIT=0abfed5a --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-625-9 . #1 [internal] load .dockerignore #1 DONE 0.0s #2 [internal] load build definition from Dockerfile #2 DONE 0.0s #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 #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 #6 [cli-build 3/5] WORKDIR /go/src/github.com/docker/cli #6 CACHED #7 [cli-build 4/5] RUN git clone https://github.com/docker/cli . && git che... #7 CACHED #10 [cli 2/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #10 CACHED #8 [cli-build 5/5] RUN make binary-osx binary-windows binary #8 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 #3 DONE 0.3s #5 [invocation 1/4] FROM docker.io/library/alpine:3.10.3 #5 resolve docker.io/library/alpine:3.10.3 done #5 DONE 0.0s #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:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c 0B / 126B 0.1s #7 sha256:36c384d8593f8989b7a50bebf9569c9f6a43a6881baa8a248a84251d2ca17ddb 1.79kB / 1.79kB 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:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c 126B / 126B 0.2s #7 sha256:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c 126B / 126B 0.2s done + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-625-9 -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 #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 10.53MB / 120.05MB 0.4s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 17.31MB / 120.05MB 0.5s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 24.37MB / 120.05MB 0.6s #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 30.94MB / 120.05MB 0.7s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 40.72MB / 120.05MB 0.9s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 50.91MB / 120.05MB 1.1s #12 copying files 181.89MB 1.3s done #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 65.47MB / 120.05MB 1.3s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 77.07MB / 120.05MB 1.5s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 89.93MB / 120.05MB 1.7s #8 transferring context: 73.18MB 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 101.67MB / 120.05MB 1.9s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 112.02MB / 120.05MB 2.0s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 120.05MB / 120.05MB 2.1s #12 DONE 2.2s docker build --build-arg TAG=jenkins-app-PR-625-9 --build-arg COMMIT=0abfed5a --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-625-9 . #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 38B done #2 DONE 0.0s #1 [internal] load .dockerignore #1 transferring context: 34B done #1 DONE 0.0s #4 [internal] load metadata for docker.io/dockercore/golang-cross:1.12.9@sh... #4 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.13.3 #3 DONE 0.1s #8 [cli-build 1/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 ... #10 [internal] load build context #10 transferring context: 73.18MB 2.6s done #10 DONE 2.6s #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 120.05MB / 120.05MB 2.6s done #7 extracting sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 0.1s #9 DONE 1.4s #10 exporting to image #10 exporting layers #10 exporting layers 0.7s done #10 writing image sha256:7911e9ed903dd20bd3afd7ee2b9d8f5c4b215f1c24d9a424c5d21b0d8f7af54b done #10 naming to docker.io/library/docker-app-lint:jenkins-app-PR-625-9 done #10 DONE 0.8s docker run --rm docker-app-lint:jenkins-app-PR-625-9 make lint #18 transferring context: 73.18MB 1.3s done #18 DONE 1.4s #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 #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 CACHED #9 [cli-build 2/5] RUN apt-get install -y -q --no-install-recommends core... #9 CACHED #12 [cli-build 5/5] RUN make binary-osx binary-windows binary #12 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 #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 #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 . . #7 ... #6 [invocation 2/4] RUN apk add --no-cache ca-certificates && adduser -S cn... #6 1.579 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz #6 2.669 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz #6 2.761 (1/1) Installing ca-certificates (20190108-r0) #6 2.781 Executing busybox-1.30.1-r2.trigger #6 2.790 Executing ca-certificates-20190108-r0.trigger #6 2.840 OK: 6 MiB in 15 packages #6 DONE 4.0s #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #19 DONE 0.9s #20 [cross-build 1/1] RUN make TAG=jenkins-app-PR-625-9 cross Linting... #20 1.407 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=0abfed5a -X github.com/docker/app/internal.Version=jenkins-app-PR-625-9 -X github.com/docker/app/internal.BuildTime=2019-11-08T16:10:05Z" -o bin/docker-app-linux ./cmd/docker-app #7 extracting sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 4.3s done #7 extracting sha256:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c done #7 DONE 7.3s #8 [build 2/5] RUN apt-get update -qq && apt-get install -y -q --no-install... #8 3.311 Reading package lists... #8 3.900 Building dependency tree... #8 4.021 Reading state information... #8 4.160 coreutils is already the newest version (8.30-3). #8 4.160 coreutils set to manually installed. #8 4.160 util-linux is already the newest version (2.33.1-0.1). #8 4.160 util-linux set to manually installed. #8 4.160 The following NEW packages will be installed: #8 4.160 uuid-runtime #8 4.540 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. #8 4.540 Need to get 95.2 kB of archives. #8 4.540 After this operation, 211 kB of additional disk space will be used. #8 4.540 Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] #8 4.702 debconf: delaying package configuration, since apt-utils is not installed #8 4.725 Fetched 95.2 kB in 0s (256 kB/s) #8 4.758 Selecting previously unselected package uuid-runtime. #8 4.758 (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.828 Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... #8 4.832 Unpacking uuid-runtime (2.33.1-0.1) ... #8 4.877 Setting up uuid-runtime (2.33.1-0.1) ... #8 4.915 Adding group `uuidd' (GID 102) ... #8 4.933 Done. #8 4.958 Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory #8 4.958 Adding system user `uuidd' (UID 101) ... #8 4.959 Adding new user `uuidd' (UID 101) with group `uuidd' ... #8 5.006 Not creating home directory `/run/uuidd'. #8 5.018 invoke-rc.d: could not determine current runlevel #8 5.020 invoke-rc.d: policy-rc.d denied execution of start. #8 DONE 6.8s #9 [build 3/5] WORKDIR /go/src/github.com/docker/app/ #9 DONE 0.0s #11 [build 4/5] COPY . . #11 DONE 1.0s #12 [build 5/5] RUN make BUILD_TAG=${BUILD_TAG} TAG=jenkins-app-PR-625-9 bin... #12 1.063 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=0abfed5a -X github.com/docker/app/internal.Version=jenkins-app-PR-625-9 -X github.com/docker/app/internal.BuildTime=2019-11-08T16:10:16Z" -o bin/cnab-run ./cmd/cnab-run [Pipeline] sh + make -f docker.Makefile check-vendor docker build --build-arg TAG=jenkins-app-PR-625-9 --build-arg COMMIT=0abfed5a --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-625-9 . #2 [internal] load .dockerignore #2 transferring context: 34B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 3.83kB 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: 340.71kB 0.2s done #18 DONE 0.2s #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 #9 [cli-build 2/5] RUN apt-get install -y -q --no-install-recommends core... #9 CACHED #16 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #16 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 #10 [cli-build 3/5] WORKDIR /go/src/github.com/docker/cli #10 CACHED #11 [cli-build 4/5] RUN git clone https://github.com/docker/cli . && git che... #11 CACHED #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 #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 3.6s done #20 writing image sha256:b3cde8712adfdd993cf0deef4932886fc659d86ca823aae08998397e9a66a523 done #20 naming to docker.io/library/docker-app-dev:jenkins-app-PR-625-9 done #20 DONE 3.6s Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-625-9 sh -c "make vendor && hack/check-git-diff vendor" rm -rf vendor 1>&1 dep ensure -v (1/102) Wrote github.com/gogo/googleapis@v1.2.0 (2/102) Wrote github.com/gofrs/flock@v0.7.1 (3/102) Wrote github.com/docker/go-events@master (4/102) Wrote github.com/docker/go-connections@v0.4.0 (5/102) Wrote github.com/docker/cnab-to-oci@v0.3.0-beta1 (6/102) Wrote github.com/docker/docker-credential-helpers@v0.6.1 (7/102) Wrote github.com/docker/go@v1.5.1-1 (8/102) Wrote github.com/globalsign/mgo@master (9/102) Wrote github.com/docker/go-units@v0.3.3 (10/102) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 (11/102) Wrote vbom.ml/util@master (12/102) Wrote github.com/google/gofuzz@v1.0.0 (13/102) Wrote github.com/google/go-cmp@v0.2.0 (14/102) Wrote github.com/google/shlex@master (15/102) Wrote github.com/gorilla/mux@v1.7.1 (16/102) Wrote github.com/grpc-ecosystem/grpc-opentracing@master (17/102) Wrote github.com/hashicorp/go-version@v1.1.0 (18/102) Wrote github.com/hashicorp/golang-lru@v0.5.1 (19/102) Wrote github.com/imdario/mergo@master (20/102) Wrote github.com/inconshreveable/mousetrap@v1.0 (21/102) Wrote github.com/jackpal/gateway (from github.com/ndeloof/gateway)@10816db7ab2f4b71e71dba9420bfa67d5be27b33 (22/102) Wrote github.com/jaguilar/vt100 (from github.com/tonistiigi/vt100)@ad4c4a5743050fb7f88ce968dca9422f72a0e3f2 (23/102) Wrote github.com/googleapis/gnostic@v0.2.0 (24/102) Wrote github.com/mattn/go-shellwords@v1.0.5 (25/102) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2 (26/102) Wrote github.com/json-iterator/go@v1.1.6 (27/102) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1 (28/102) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (29/102) Wrote github.com/miekg/pkcs11@master (30/102) Wrote github.com/mitchellh/mapstructure@v1.1.2 (31/102) Wrote github.com/docker/compose-on-kubernetes@v0.4.21 (32/102) Wrote github.com/modern-go/concurrent@1.0.3 (33/102) Wrote github.com/modern-go/reflect2@1.0.1 (34/102) Wrote github.com/morikuni/aec@master (35/102) Wrote github.com/oklog/ulid@v1.3.1 (36/102) Wrote github.com/golang/protobuf@v1.3.1 (37/102) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1 #20 57.22 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=0abfed5a -X github.com/docker/app/internal.Version=jenkins-app-PR-625-9 -X github.com/docker/app/internal.BuildTime=2019-11-08T16:10:05Z" -o bin/docker-app-darwin ./cmd/docker-app (38/102) Wrote github.com/opencontainers/image-spec@v1.0.1 (39/102) Wrote github.com/opentracing/opentracing-go@v1.1.0 (40/102) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 (41/102) Wrote github.com/pkg/errors@v0.8.1 (42/102) Wrote github.com/prometheus/client_model@master (43/102) Wrote github.com/prometheus/client_golang@v0.8.0 (44/102) Wrote github.com/qri-io/jsonpointer@v0.1.0 (45/102) Wrote github.com/prometheus/procfs@master (46/102) Wrote github.com/prometheus/common@v0.2.0 (47/102) Wrote github.com/qri-io/jsonschema@v0.1.1 (48/102) Wrote github.com/sirupsen/logrus@v1.4.1 (49/102) Wrote github.com/docker/cli@37f9a88c696ae81be14c1697bd083d6421b4933c (50/102) Wrote github.com/opencontainers/runc@v1.0.0-rc7 (51/102) Wrote github.com/spf13/pflag@master (52/102) Wrote github.com/spf13/cobra@v0.0.5 (53/102) Wrote github.com/syndtr/gocapability@master (54/102) Wrote github.com/tonistiigi/units@master (55/102) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc (56/102) Wrote github.com/xeipuuv/gojsonpointer@master (57/102) Wrote github.com/moby/buildkit@v0.6.2 (58/102) Wrote github.com/wadey/gocovmerge@master (59/102) Wrote github.com/xeipuuv/gojsonreference@master (60/102) Wrote github.com/tonistiigi/fsutil@master (61/102) Wrote github.com/xeipuuv/gojsonschema@v1.2.0 (62/102) Wrote golang.org/x/sync@master (63/102) Wrote golang.org/x/crypto@master (64/102) Wrote golang.org/x/oauth2@master (65/102) Wrote golang.org/x/time@master (66/102) Wrote golang.org/x/net@master (67/102) Wrote google.golang.org/appengine@v1.5.0 (68/102) Wrote gopkg.in/inf.v0@v0.9.1 (69/102) Wrote gotest.tools@v2.3.0 (70/102) Wrote gopkg.in/yaml.v2@v2.2.3 (71/102) Wrote k8s.io/klog@v0.2.0 #12 DONE 63.8s #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:42f0ccb2cbdc4ca9a1ffb7058bfdbdc8336967db59ce517c14830b532b22cdea done #15 naming to docker.io/docker/cnab-app-base:jenkins-app-PR-625-9 done #15 DONE 0.2s docker save docker/cnab-app-base:jenkins-app-PR-625-9 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-625-9-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-625-9 docker/cnab-app-base:jenkins-app-PR-625-9-coverage docker save docker/cnab-app-base:jenkins-app-PR-625-9-coverage -o _build/coverage-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app/_build [Pipeline] { [Pipeline] stash (72/102) Wrote k8s.io/utils@master (73/102) Wrote k8s.io/apimachinery@kubernetes-1.14.1 (74/102) Wrote sigs.k8s.io/yaml@v1.1.0 (75/102) Wrote golang.org/x/sys@master (76/102) Wrote github.com/containerd/fifo@master (77/102) Wrote google.golang.org/grpc@v1.19.1 (78/102) Wrote github.com/containerd/continuity@master Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-625/9/stashes/invocation-image.tgz [Pipeline] stash (79/102) Wrote github.com/Azure/go-ansiterm@master (80/102) Wrote github.com/theupdateframework/notary@v0.6.1 (81/102) Wrote github.com/Masterminds/semver@v1.4.2 (82/102) Wrote github.com/containerd/ttrpc@master (83/102) Wrote github.com/containerd/typeurl@master (84/102) Wrote github.com/davecgh/go-spew@v1.1.1 Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-625/9/stashes/coverage-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-625-9 Untagged: docker/cnab-app-base:jenkins-app-PR-625-9 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-625-9-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-625-9-coverage Deleted: sha256:42f0ccb2cbdc4ca9a1ffb7058bfdbdc8336967db59ce517c14830b532b22cdea [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir (85/102) Wrote github.com/agl/ed25519@master [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } (86/102) Wrote github.com/Microsoft/go-winio@v0.4.12 (87/102) Wrote golang.org/x/text@v0.3.0 (88/102) Wrote github.com/containerd/console@master (89/102) Wrote github.com/beorn7/perks@master (90/102) Wrote github.com/deislabs/cnab-go@v0.7.1-beta1 (91/102) Wrote golang.org/x/tools@master (92/102) Wrote github.com/Microsoft/hcsshim@v0.8.6 (93/102) Wrote github.com/docker/buildx@v0.3.1 (94/102) Wrote k8s.io/client-go@kubernetes-1.14.1 (95/102) Wrote google.golang.org/genproto@master (96/102) Wrote cloud.google.com/go@v0.37.4 (97/102) Wrote github.com/gogo/protobuf@v1.2.1 (98/102) Wrote github.com/containerd/containerd@v1.3.0 (99/102) Wrote github.com/coreos/etcd@v3.3.12 (100/102) Wrote k8s.io/api@kubernetes-1.14.1 (101/102) Wrote github.com/docker/docker@master #20 115.8 GOOS=windows CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=0abfed5a -X github.com/docker/app/internal.Version=jenkins-app-PR-625-9 -X github.com/docker/app/internal.BuildTime=2019-11-08T16:10:05Z" -o bin/docker-app-windows.exe ./cmd/docker-app #20 142.7 # github.com/docker/app/vendor/github.com/docker/docker/pkg/system #20 142.7 vendor/github.com/docker/docker/pkg/system/init_windows.go:21:21: undefined: osversion.Build #20 170.7 make: *** [Makefile:54: bin/docker-app-windows.exe] Error 2 #20 ERROR: executor failed running [/bin/sh -c make TAG=${TAG} cross]: exit code: 2 ------ > [cross-build 1/1] RUN make TAG=jenkins-app-PR-625-9 cross: ------ failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c make TAG=${TAG} cross]: exit code: 2 docker.Makefile:40: recipe for target 'cross' failed make: *** [cross] Error 1 [Pipeline] } [Pipeline] // ansiColor [Pipeline] sh + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-625-9* + 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] } Failed in branch Binaries (102/102) 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] } [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