Pull request #721 updated 16:04:19 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 4895c9bdff458b52110677da4eff981f85102dcf 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-08806d030c7f15309) in /home/ubuntu/workspace/app_PR-721 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-721/src/github.com/docker/app [Pipeline] { [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-721/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/721/head:refs/remotes/origin/PR-721 Fetching without tags Checking out Revision 4895c9bdff458b52110677da4eff981f85102dcf (PR-721) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/721/head:refs/remotes/origin/PR-721 # 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/721/head:refs/remotes/origin/PR-721 > git config core.sparsecheckout # timeout=10 > git checkout -f 4895c9bdff458b52110677da4eff981f85102dcf Commit message: "Add inspect command to display info of running application only" First time build. Skipping changelog. > git rev-list --no-walk 55407ccba75ec1e6b856e6b66a118a4f2c9f6594 # timeout=10 [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-721-5 -f Dockerfile.lint . #2 [internal] load build definition from Dockerfile.lint #2 transferring dockerfile: 414B 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/library/golang:1.12.9-alpine3.10 #3 DONE 0.1s #4 [1/5] FROM docker.io/library/golang:1.12.9-alpine3.10@sha256:e0660b4f1e6... #4 DONE 0.0s #8 [internal] load build context #8 transferring context: 73.53MB 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 . . #9 DONE 1.2s #10 exporting to image #10 exporting layers #10 exporting layers 0.8s done #10 writing image sha256:5bb53d3ffb4bd10ea7b1610d234198a345722644f093d87f30031fbe7d47a61b done #10 naming to docker.io/library/docker-app-lint:jenkins-app-PR-721-5 done #10 DONE 0.8s docker run --rm docker-app-lint:jenkins-app-PR-721-5 make lint Linting... Still waiting to schedule task Waiting for next available executor on ‘ubuntu-1804&&x86_64&&overlay2’ Still waiting to schedule task Waiting for next available executor on ‘ubuntu-1804&&x86_64&&overlay2’ cmd/cnab-run/status.go:22:12: ineffectual assignment to `err` (ineffassign) services, err := runningServices(cli, instanceName) ^ cmd/cnab-run/status.go:32:12: ineffectual assignment to `err` (ineffassign) services, err := runningServices(cli, instanceName) ^ 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 Running on ubuntu-1804-overlay2 (i-08806d030c7f15309) in /home/ubuntu/workspace/app_PR-721 [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } Failed in branch Validate [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-721/src/github.com/docker/app [Pipeline] { [Pipeline] script [Pipeline] { [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-721/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/721/head:refs/remotes/origin/PR-721 Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/721/head:refs/remotes/origin/PR-721 # 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/721/head:refs/remotes/origin/PR-721 Checking out Revision 4895c9bdff458b52110677da4eff981f85102dcf (PR-721) > git config core.sparsecheckout # timeout=10 > git checkout -f 4895c9bdff458b52110677da4eff981f85102dcf Commit message: "Add inspect command to display info of running application only" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-PR-721-5 --build-arg COMMIT=4895c9bd --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-721-5 . #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 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 #7 [cli-build 4/5] RUN git clone https://github.com/docker/cli . && git che... #7 CACHED #9 [cli 1/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #9 CACHED #10 [cli 2/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #10 CACHED #8 [cli-build 5/5] RUN make binary-osx binary-windows binary #8 CACHED #5 [cli-build 2/5] RUN apt-get install -y -q --no-install-recommends core... #5 CACHED #6 [cli-build 3/5] WORKDIR /go/src/github.com/docker/cli #6 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 #12 copying files 181.89MB 1.2s done #12 DONE 1.9s docker build --build-arg TAG=jenkins-app-PR-721-5 --build-arg COMMIT=4895c9bd --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-721-5 . #2 [internal] load .dockerignore #2 transferring context: 34B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 38B 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.53MB 1.3s done #18 DONE 1.3s #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 #14 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #14 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 #13 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #13 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 #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 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.0s #20 [cross-build 1/1] RUN make TAG=jenkins-app-PR-721-5 cross #20 1.093 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=4895c9bd -X github.com/docker/app/internal.Version=jenkins-app-PR-721-5 -X github.com/docker/app/internal.BuildTime=2019-10-31T16:05:06Z" -o bin/docker-app-linux ./cmd/docker-app Running on ubuntu-1804-overlay2 (i-0414768208aa12ca3) in /home/ubuntu/workspace/app_PR-721 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-721/src/github.com/docker/app [Pipeline] { [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-721/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/721/head:refs/remotes/origin/PR-721 Fetching without tags Checking out Revision 4895c9bdff458b52110677da4eff981f85102dcf (PR-721) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/721/head:refs/remotes/origin/PR-721 # 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/721/head:refs/remotes/origin/PR-721 > git config core.sparsecheckout # timeout=10 > git checkout -f 4895c9bdff458b52110677da4eff981f85102dcf Commit message: "Add inspect command to display info of running application only" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-721-5 --build-arg COMMIT=4895c9bd --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-721-5 . #1 [internal] load build definition from Dockerfile.invocation-image #1 transferring dockerfile: 614B done #1 DONE 0.3s #2 [internal] load .dockerignore #2 transferring context: 73B done #2 DONE 0.3s #4 [internal] load metadata for docker.io/library/golang:1.13.2 #4 DONE 0.5s #3 [internal] load metadata for docker.io/library/alpine:3.10.3 #3 DONE 0.5s #10 [internal] load build context #10 transferring context: 25.98MB 3.8s #10 ... #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 4.3s done #5 extracting sha256:89d9c30c1d48bac627e5c6cb0d1ed1eec28e7dbdfbcc04712e4c79c0f83faf17 1.1s done #5 DONE 5.9s #10 [internal] load build context #10 ... #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:b3086f21bfbe896973dd6147b46f2736a7deb2c04ed76219835befa0244a9562 2.16kB / 2.16kB done #7 sha256:e37698ff73511ad444a1a3547b81c3f1650f7b34bfc99bd46efccf1d90024db4 5.46kB / 5.46kB done #7 sha256:c7b7d16361e00faca0e9393f3f43923f25ceb1210face87839dfc5de988905c1 50.38MB / 50.38MB 3.2s done #7 sha256:b7a128769df1909f91b589d0a4a2e1c1671aebc047a9f46b4b30dfeb7308ea6a 7.81MB / 7.81MB 1.0s done #7 sha256:36c384d8593f8989b7a50bebf9569c9f6a43a6881baa8a248a84251d2ca17ddb 1.79kB / 1.79kB done #7 sha256:1128949d0793d2435bb1f0640a777f32feee88b71d4fe234121c3cfb345a80c4 10.00MB / 10.00MB 1.0s done #7 sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 68.52MB / 68.52MB 4.7s done #7 sha256:667692510b7038b74e221f92eb33610e4968b669c8a718378ecb1f78739c3713 51.77MB / 51.77MB 3.9s done #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 61.41MB / 120.05MB 5.8s #7 extracting sha256:c7b7d16361e00faca0e9393f3f43923f25ceb1210face87839dfc5de988905c1 2.0s #7 sha256:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c 126B / 126B 4.1s done #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 71.09MB / 120.05MB 6.1s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 77.20MB / 120.05MB 6.3s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 87.15MB / 120.05MB 6.6s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 96.09MB / 120.05MB 7.2s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 104.51MB / 120.05MB 7.3s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 112.41MB / 120.05MB 7.7s #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 120.05MB / 120.05MB 7.7s #7 ... #10 [internal] load build context #10 transferring context: 73.53MB 7.8s done #10 DONE 8.3s #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #7 ... #6 [invocation 2/4] RUN apk add --no-cache ca-certificates && adduser -S cn... #6 2.285 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz #6 3.420 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz #6 3.541 (1/1) Installing ca-certificates (20190108-r0) #6 3.596 Executing busybox-1.30.1-r2.trigger #6 3.596 Executing ca-certificates-20190108-r0.trigger #6 3.644 OK: 6 MiB in 15 packages #6 DONE 5.0s #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 120.05MB / 120.05MB 8.3s done #7 extracting sha256:c7b7d16361e00faca0e9393f3f43923f25ceb1210face87839dfc5de988905c1 7.0s #7 extracting sha256:c7b7d16361e00faca0e9393f3f43923f25ceb1210face87839dfc5de988905c1 7.8s done #7 extracting sha256:b7a128769df1909f91b589d0a4a2e1c1671aebc047a9f46b4b30dfeb7308ea6a #7 extracting sha256:b7a128769df1909f91b589d0a4a2e1c1671aebc047a9f46b4b30dfeb7308ea6a 0.5s done #7 extracting sha256:1128949d0793d2435bb1f0640a777f32feee88b71d4fe234121c3cfb345a80c4 #7 extracting sha256:1128949d0793d2435bb1f0640a777f32feee88b71d4fe234121c3cfb345a80c4 0.5s done #7 extracting sha256:667692510b7038b74e221f92eb33610e4968b669c8a718378ecb1f78739c3713 #7 extracting sha256:667692510b7038b74e221f92eb33610e4968b669c8a718378ecb1f78739c3713 4.1s done #7 extracting sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 #20 69.01 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=4895c9bd -X github.com/docker/app/internal.Version=jenkins-app-PR-721-5 -X github.com/docker/app/internal.BuildTime=2019-10-31T16:05:06Z" -o bin/docker-app-darwin ./cmd/docker-app #7 extracting sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 3.7s done #7 extracting sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 0.1s #7 extracting sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 5.2s #7 extracting sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 6.5s done #7 extracting sha256:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c done #7 DONE 28.1s #8 [build 2/5] RUN apt-get update -qq && apt-get install -y -q --no-install... #8 4.211 Reading package lists... #8 5.104 Building dependency tree... #8 5.271 Reading state information... #8 5.455 coreutils is already the newest version (8.30-3). #8 5.455 coreutils set to manually installed. #8 5.455 util-linux is already the newest version (2.33.1-0.1). #8 5.455 util-linux set to manually installed. #8 5.455 The following NEW packages will be installed: #8 5.455 uuid-runtime #8 5.726 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. #8 5.726 Need to get 95.2 kB of archives. #8 5.726 After this operation, 211 kB of additional disk space will be used. #8 5.726 Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] #8 6.022 debconf: delaying package configuration, since apt-utils is not installed #8 6.056 Fetched 95.2 kB in 0s (366 kB/s) #8 6.098 Selecting previously unselected package uuid-runtime. #8 6.098 (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 6.106 Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... #8 6.111 Unpacking uuid-runtime (2.33.1-0.1) ... #8 6.181 Setting up uuid-runtime (2.33.1-0.1) ... #8 6.408 Adding group `uuidd' (GID 102) ... #8 6.568 Done. #8 6.597 Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory #8 6.598 Adding system user `uuidd' (UID 101) ... #8 6.598 Adding new user `uuidd' (UID 101) with group `uuidd' ... #8 6.665 Not creating home directory `/run/uuidd'. #8 6.677 invoke-rc.d: could not determine current runlevel #8 6.680 invoke-rc.d: policy-rc.d denied execution of start. #8 DONE 11.0s #9 [build 3/5] WORKDIR /go/src/github.com/docker/app/ #9 DONE 0.0s #11 [build 4/5] COPY . . #11 DONE 1.2s #12 [build 5/5] RUN make BUILD_TAG=${BUILD_TAG} TAG=jenkins-app-PR-721-5 bin... #12 1.376 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=4895c9bd -X github.com/docker/app/internal.Version=jenkins-app-PR-721-5 -X github.com/docker/app/internal.BuildTime=2019-10-31T16:06:38Z" -o bin/cnab-run ./cmd/cnab-run #20 139.4 GOOS=windows CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=4895c9bd -X github.com/docker/app/internal.Version=jenkins-app-PR-721-5 -X github.com/docker/app/internal.BuildTime=2019-10-31T16:05:06Z" -o bin/docker-app-windows.exe ./cmd/docker-app #20 165.6 # github.com/docker/app/vendor/github.com/docker/docker/pkg/system #20 165.6 vendor/github.com/docker/docker/pkg/system/init_windows.go:21:21: undefined: osversion.Build #12 DONE 97.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.0s #15 exporting to image #15 exporting layers #15 exporting layers 0.3s done #15 writing image sha256:c9f22c7d84c13ac3f086d5ce622c679be76c629b3b4667ba1f6e8df45a1ebb82 done #15 naming to docker.io/docker/cnab-app-base:jenkins-app-PR-721-5 done #15 DONE 0.3s docker save docker/cnab-app-base:jenkins-app-PR-721-5 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-721-5-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-721-5 docker/cnab-app-base:jenkins-app-PR-721-5-coverage docker save docker/cnab-app-base:jenkins-app-PR-721-5-coverage -o _build/coverage-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-721/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-721/5/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-721/5/stashes/coverage-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-721/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-721-5 Untagged: docker/cnab-app-base:jenkins-app-PR-721-5 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-721-5-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-721-5-coverage Deleted: sha256:c9f22c7d84c13ac3f086d5ce622c679be76c629b3b4667ba1f6e8df45a1ebb82 [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } #20 204.0 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-721-5 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-721-5* + xargs --no-run-if-empty docker image rm -f Untagged: docker-app-lint:jenkins-app-PR-721-5 Deleted: sha256:5bb53d3ffb4bd10ea7b1610d234198a345722644f093d87f30031fbe7d47a61b [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Binaries [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] parallel [Pipeline] { (Branch: Coverage) [Pipeline] { (Branch: Test Linux) [Pipeline] stage [Pipeline] { (Coverage) [Pipeline] stage [Pipeline] { (Test Linux) Stage "Coverage" skipped due to earlier failure(s) [Pipeline] } Stage "Test Linux" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } Failed in branch Coverage [Pipeline] } Failed in branch Test Linux [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result ERROR: script returned exit code 2 Finished: FAILURE