Pull request #691 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 412597bf3952d986f18f3ff1a3bfba8854dc8c42 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-032004b476885817e) in /home/ubuntu/workspace/app_PR-691 [Pipeline] { Running on ubuntu-1804-overlay2 (i-09708656913262ef8) in /home/ubuntu/workspace/app_PR-691 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-691/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-691/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] checkout using credential docker-jenkins-github-credentials using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Running on ubuntu-1804-overlay2 (i-01e1295365d6e27e8) in /home/ubuntu/workspace/app_PR-691 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-691/src/github.com/docker/app [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] checkout Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-691/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/691/head:refs/remotes/origin/PR-691 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-691/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/691/head:refs/remotes/origin/PR-691 Fetching without tags Checking out Revision 412597bf3952d986f18f3ff1a3bfba8854dc8c42 (PR-691) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/691/head:refs/remotes/origin/PR-691 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/691/head:refs/remotes/origin/PR-691 # 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/691/head:refs/remotes/origin/PR-691 > git config core.sparsecheckout # timeout=10 > git checkout -f 412597bf3952d986f18f3ff1a3bfba8854dc8c42 Fetching without tags Checking out Revision 412597bf3952d986f18f3ff1a3bfba8854dc8c42 (PR-691) Commit message: "tag services images" First time build. Skipping changelog. 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-691/src/github.com/docker/app # timeout=10 Commit message: "tag services images" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh 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/691/head:refs/remotes/origin/PR-691 > git config core.sparsecheckout # timeout=10 > git checkout -f 412597bf3952d986f18f3ff1a3bfba8854dc8c42 > git rev-list --no-walk 7dc97f70126f96d91c3d5b4789b4384a81d1bde6 # timeout=10 + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-691-7 -f Dockerfile.lint . [Pipeline] ansiColor [Pipeline] { [Pipeline] sh 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/691/head:refs/remotes/origin/PR-691 + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg EXPERIMENTAL=off --build-arg TAG=jenkins-app-PR-691-7 --build-arg COMMIT=412597bf --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-691-7 . Sending build context to Docker daemon 76.07MB Step 1/8 : ARG ALPINE_VERSION=3.10 Step 2/8 : ARG GO_VERSION=1.12.9 Step 3/8 : FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} ---> e0d646523991 Step 4/8 : RUN apk add --no-cache curl git make coreutils ---> Using cache ---> 3154a1fc5607 Step 5/8 : RUN GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@v1.16.0 && rm -rf /go/src/* /go/pkg/* ---> Using cache ---> 0ea31e3d5a0f Step 6/8 : WORKDIR /go/src/github.com/docker/app ---> Using cache ---> 03cb4dab2499 Step 7/8 : ENV CGO_ENABLED=0 ---> Using cache ---> 95175ca78601 Step 8/8 : COPY . . Sending build context to Docker daemon 76.07MB Step 1/14 : ARG ALPINE_VERSION=3.10.1 Step 2/14 : FROM golang:1.13.0 AS build ---> c4d6fdf2260a Step 3/14 : RUN apt-get update -qq && apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> c33c10dfa51a Step 4/14 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> ac3792d59721 Step 5/14 : COPY . . Fetching without tags Checking out Revision 412597bf3952d986f18f3ff1a3bfba8854dc8c42 (PR-691) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/691/head:refs/remotes/origin/PR-691 # 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/691/head:refs/remotes/origin/PR-691 > git config core.sparsecheckout # timeout=10 > git checkout -f 412597bf3952d986f18f3ff1a3bfba8854dc8c42 Commit message: "tag services images" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg EXPERIMENTAL=off --build-arg TAG=jenkins-app-PR-691-7 --build-arg COMMIT=412597bf --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=build -t docker-app-cli:jenkins-app-PR-691-7 . ---> 75b09c44ed00 Step 6/14 : ARG EXPERIMENTAL="off" ---> Running in 2c90c4c05675 Removing intermediate container 2c90c4c05675 ---> 18ede573c858 Step 7/14 : ARG TAG="unknown" ---> Running in 136061dc6711 Removing intermediate container 136061dc6711 ---> b9ccec423606 Step 8/14 : RUN make EXPERIMENTAL=${EXPERIMENTAL} BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run ---> Running in 6c29785cb093 ---> bd93a61ea194 Successfully built bd93a61ea194 Successfully tagged docker-app-lint:jenkins-app-PR-691-7 docker run --rm docker-app-lint:jenkins-app-PR-691-7 make lint CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=412597bf -X github.com/docker/app/internal.Version=jenkins-app-PR-691-7 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-17T07:33:12Z" -o bin/cnab-run ./cmd/cnab-run Linting... Sending build context to Docker daemon 76.07MB Step 1/8 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705: Pulling from dockercore/golang-cross 4ae16bd47783: Pulling fs layer bbab4ec87ac4: Pulling fs layer 2ea1f7804402: Pulling fs layer 96465440c208: Pulling fs layer 16a3d8aca6cd: Pulling fs layer e0ec5610455a: Pulling fs layer 96d705baf026: Pulling fs layer 39007eb46008: Pulling fs layer 4e549f0f5e64: Pulling fs layer c0058a8c71f2: Pulling fs layer 2f8d98df0991: Pulling fs layer 16a3d8aca6cd: Waiting e0ec5610455a: Waiting 96d705baf026: Waiting 39007eb46008: Waiting 4e549f0f5e64: Waiting c0058a8c71f2: Waiting 2f8d98df0991: Waiting 96465440c208: Waiting bbab4ec87ac4: Verifying Checksum bbab4ec87ac4: Download complete 2ea1f7804402: Verifying Checksum 2ea1f7804402: Download complete 96465440c208: Verifying Checksum 96465440c208: Download complete 4ae16bd47783: Verifying Checksum 4ae16bd47783: Download complete 96d705baf026: Verifying Checksum 96d705baf026: Download complete 16a3d8aca6cd: Verifying Checksum 16a3d8aca6cd: Download complete 39007eb46008: Verifying Checksum 39007eb46008: Download complete c0058a8c71f2: Verifying Checksum c0058a8c71f2: Download complete e0ec5610455a: Verifying Checksum e0ec5610455a: Download complete 4e549f0f5e64: Verifying Checksum 4e549f0f5e64: Download complete 2f8d98df0991: Verifying Checksum 2f8d98df0991: Download complete level=warning msg="[runner/megacheck] Can't run megacheck because of compilation errors in packages [github.com/docker/app/internal/commands [github.com/docker/app/internal/commands.test] github.com/docker/app/internal/commands/build [github.com/docker/app/internal/commands/build.test]]: internal/commands/build/compose.go:7: \"github.com/docker/app/vendor/github.com/docker/distribution/reference\" imported but not used and 2 more errors: run `golangci-lint run --no-config --disable-all -E typecheck` to see all errors" 4ae16bd47783: Pull complete bbab4ec87ac4: Pull complete 2ea1f7804402: Pull complete level=warning msg="[runner/govet] govet error: asmdecl: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: asmdecl: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: assign: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: assign: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: assign: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: atomicalign: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: atomicalign: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: atomicalign: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: bools: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: bools: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: bools: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: buildtag: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: buildtag: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: buildtag: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: httpresponse: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: httpresponse: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: httpresponse: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: loopclosure: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: loopclosure: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: loopclosure: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: ctrlflow: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: ctrlflow: failed prerequisites: ctrlflow@github.com/docker/app/internal/commands/build" level=warning msg="[runner/govet] govet error: ctrlflow: failed prerequisites: ctrlflow@github.com/docker/app/internal/commands" level=warning msg="[runner/govet] govet error: lostcancel: failed prerequisites: ctrlflow@github.com/docker/app/cmd/docker-app" level=warning msg="[runner/govet] govet error: ctrlflow: failed prerequisites: ctrlflow@github.com/docker/app/internal/commands/build" level=warning msg="[runner/govet] govet error: lostcancel: failed prerequisites: ctrlflow@github.com/docker/app/internal/commands [github.com/docker/app/internal/commands.test]" level=warning msg="[runner/govet] govet error: ctrlflow: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: lostcancel: failed prerequisites: ctrlflow@github.com/docker/app/internal/commands/build [github.com/docker/app/internal/commands/build.test]" level=warning msg="[runner/govet] govet error: nilfunc: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: nilfunc: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: nilfunc: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: printf: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: printf: failed prerequisites: printf@github.com/docker/app/internal/commands/build" level=warning msg="[runner/govet] govet error: printf: failed prerequisites: printf@github.com/docker/app/internal/commands" level=warning msg="[runner/govet] govet error: printf: failed prerequisites: printf@github.com/docker/app/internal/commands/build" level=warning msg="[runner/govet] govet error: printf: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: shift: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: shift: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: shift: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: stdmethods: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: stdmethods: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: stdmethods: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: tests: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: tests: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: tests: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unmarshal: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unmarshal: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unmarshal: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unsafeptr: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unsafeptr: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unsafeptr: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unusedresult: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unusedresult: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unusedresult: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: buildssa: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: nilness: failed prerequisites: buildssa@github.com/docker/app/cmd/docker-app" level=warning msg="[runner/govet] govet error: buildssa: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: nilness: failed prerequisites: buildssa@github.com/docker/app/internal/commands [github.com/docker/app/internal/commands.test]" level=warning msg="[runner/govet] govet error: buildssa: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: nilness: failed prerequisites: buildssa@github.com/docker/app/internal/commands/build [github.com/docker/app/internal/commands/build.test]" level=warning msg="[runner] Can't run linter govet: asmdecl: analysis skipped due to errors in package" internal/commands/build/compose.go:7: File is not `goimports`-ed (goimports) "github.com/docker/distribution/reference" internal/commands/build/compose_test.go:15:2: ineffectual assignment to `tag` (ineffassign) tag, err := reference.Parse("test:1.0") ^ make: *** [Makefile:77: lint] Error 1 96465440c208: Pull complete docker.Makefile:110: 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 16a3d8aca6cd: Pull complete e0ec5610455a: Pull complete 96d705baf026: Pull complete 39007eb46008: Pull complete 4e549f0f5e64: Pull complete c0058a8c71f2: Pull complete 2f8d98df0991: Pull complete Digest: sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 Status: Downloaded newer image for dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 ---> 518d5e4626aa Step 2/8 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Running in 8f4e2204d43b Removing intermediate container 8f4e2204d43b ---> 1162c862d01a Step 3/8 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 35177fdb8a5a Reading package lists... Building dependency tree... Reading state information... coreutils is already the newest version (8.30-3). coreutils set to manually installed. util-linux is already the newest version (2.33.1-0.1). util-linux set to manually installed. The following NEW packages will be installed: uuid-runtime 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 95.2 kB of archives. After this operation, 211 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 95.2 kB in 0s (365 kB/s) Selecting previously unselected package uuid-runtime. (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 ... 25419 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... Unpacking uuid-runtime (2.33.1-0.1) ... Setting up uuid-runtime (2.33.1-0.1) ... Adding group `uuidd' (GID 102) ... Done. Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory Adding system user `uuidd' (UID 101) ... Adding new user `uuidd' (UID 101) with group `uuidd' ... Not creating home directory `/run/uuidd'. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Removing intermediate container 35177fdb8a5a ---> 52f21b760b26 Step 4/8 : WORKDIR /go/src/github.com/docker/cli ---> Running in 6a441dfc5482 Removing intermediate container 6a441dfc5482 ---> e91b23c03763 Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in 757c71aa0d03 Cloning into '.'... Note: checking out 'a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact Removing intermediate container 757c71aa0d03 ---> 40441ea02236 Step 6/8 : ARG GOPROXY ---> Running in be6d960f1d75 Removing intermediate container be6d960f1d75 ---> 232ce97b4400 Step 7/8 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in 34b1b4d69c94 ./scripts/build/osx Building build/docker-darwin-amd64 Removing intermediate container 6c29785cb093 ---> 3ddac223ecd9 Step 9/14 : FROM alpine:${ALPINE_VERSION} as invocation ---> b7b28af77ffe Step 10/14 : RUN apk add --no-cache ca-certificates && adduser -S cnab ---> Running in 5efc02187024 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz (1/1) Installing ca-certificates (20190108-r0) Executing busybox-1.30.1-r2.trigger Executing ca-certificates-20190108-r0.trigger OK: 6 MiB in 15 packages Removing intermediate container 5efc02187024 ---> 233f86c89656 Step 11/14 : USER cnab ---> Running in fee28d1d073b Removing intermediate container fee28d1d073b ---> a92b58c8bfee Step 12/14 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run ---> 30cd264a44f4 Step 13/14 : WORKDIR /cnab/app ---> Running in 6fc69cf6f097 Removing intermediate container 6fc69cf6f097 ---> 98a244d13d58 Step 14/14 : CMD /cnab/app/run ---> Running in 127e3003ee17 Removing intermediate container 127e3003ee17 ---> c9edbe736ce0 [Warning] One or more build-args [COMMIT GOPROXY] were not consumed Successfully built c9edbe736ce0 Successfully tagged docker/cnab-app-base:jenkins-app-PR-691-7 docker save docker/cnab-app-base:jenkins-app-PR-691-7 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-691-7-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-691-7 docker/cnab-app-base:jenkins-app-PR-691-7-coverage docker save docker/cnab-app-base:jenkins-app-PR-691-7-coverage -o _build/coverage-invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-691-7-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-691-7 docker/cnab-app-base:jenkins-app-PR-691-7-coverage-experimental docker save docker/cnab-app-base:jenkins-app-PR-691-7-coverage-experimental -o _build/coverage-experimental-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-691/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-691/7/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-691/7/stashes/coverage-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-691/7/stashes/coverage-experimental-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-691/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-691-7 Untagged: docker/cnab-app-base:jenkins-app-PR-691-7 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-691-7-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-691-7-coverage [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-691-7-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-691-7-coverage-experimental Deleted: sha256:c9edbe736ce0b951b9f6ab20787a45361a99a5b42e95d986f5fdbc72d1fbbafa Deleted: sha256:98a244d13d580fd33689e69cc19b163de707f55d626792fbe0afa5184387a0e7 Deleted: sha256:30cd264a44f41229668ce0c02742aa8b760ee329c5e6c572b369697af0d763ed Deleted: sha256:bbbaa2b18f4b5e47ab635ab3f2fde65bb553fc8df9c8e9be773dd69fded98911 Deleted: sha256:a92b58c8bfeea5d81eb8e48c2cc8e90a88f1c191781a8418c84fc2032105d40c Deleted: sha256:233f86c8965694959f713320c1cb7905088a968d63f0104f3e06383fb5a99f0b Deleted: sha256:adfa8789c1d09ed9e0584eb0b092ce48357287fb8e4fc2449b0f21cc0104b06d [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 WARNING: binary creates a Linux executable. Use cross for macOS or Windows. ./scripts/build/binary Building statically linked build/docker-linux-amd64 Removing intermediate container 34b1b4d69c94 ---> 881e17d76aa0 Step 8/8 : WORKDIR /go/src/github.com/docker/app/ ---> Running in f298bdde5847 Removing intermediate container f298bdde5847 ---> bfafcb8fdbae [Warning] One or more build-args [COMMIT EXPERIMENTAL TAG ALPINE_VERSION] were not consumed Successfully built bfafcb8fdbae Successfully tagged docker-app-cli:jenkins-app-PR-691-7 docker create --name docker-app-cli-jenkins-app-PR-691-7 docker-app-cli:jenkins-app-PR-691-7 noop 2ee57375be0797605758a0aee404bfa0233e8cb669d732520f3d438b609b5080 docker cp docker-app-cli-jenkins-app-PR-691-7:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux docker cp docker-app-cli-jenkins-app-PR-691-7:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin docker cp docker-app-cli-jenkins-app-PR-691-7:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe docker rm docker-app-cli-jenkins-app-PR-691-7 docker-app-cli-jenkins-app-PR-691-7 docker build --build-arg EXPERIMENTAL=off --build-arg TAG=jenkins-app-PR-691-7 --build-arg COMMIT=412597bf --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=cross -t docker-app-cross:jenkins-app-PR-691-7 . Sending build context to Docker daemon 76.07MB Step 1/22 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/22 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> 1162c862d01a Step 3/22 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 52f21b760b26 Step 4/22 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> e91b23c03763 Step 5/22 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 40441ea02236 Step 6/22 : ARG GOPROXY ---> Using cache ---> 232ce97b4400 Step 7/22 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 881e17d76aa0 Step 8/22 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> bfafcb8fdbae Step 9/22 : FROM build AS dev ---> bfafcb8fdbae Step 10/22 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in d4c55f82d455 Removing intermediate container d4c55f82d455 ---> 8c2f7e14a41f Step 11/22 : ARG DEP_VERSION=v0.5.4 ---> Running in 48ab0408f6c4 Removing intermediate container 48ab0408f6c4 ---> 23fbe2c526dd Step 12/22 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep ---> Running in 3c29cd16516c  % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 605 0 605 0 0 7378 0 --:--:-- --:--:-- --:--:-- 7378  100 10.5M 100 10.5M 0 0 53.1M  0 --:--:-- --:--:-- --:--:-- 53.1M Removing intermediate container 3c29cd16516c ---> 4fbdd0a4197b Step 13/22 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 66d02eadd60e Removing intermediate container 66d02eadd60e ---> 17c085a576ca Step 14/22 : ARG GOPROXY ---> Running in 163dafbb3076 Removing intermediate container 163dafbb3076 ---> e7e2f1453ac3 Step 15/22 : RUN mkdir $GOPATH/src/gotest.tools && git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum && cd $GOPATH/src/gotest.tools/gotestsum && git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION && GO111MODULE=on GOOS=linux go build -o /usr/local/bin/gotestsum-linux gotest.tools/gotestsum && GO111MODULE=on GOOS=darwin go build -o /usr/local/bin/gotestsum-darwin gotest.tools/gotestsum && GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum && ln -s gotestsum-linux /usr/local/bin/gotestsum ---> Running in 56bb4becc337 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/onsi/gomega v1.4.3 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/sirupsen/logrus v1.0.5 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding github.com/stretchr/testify v1.3.0 go: finding gotest.tools v2.1.0+incompatible go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding golang.org/x/text v0.3.0 go: finding github.com/onsi/ginkgo v1.6.0 go: finding github.com/golang/protobuf v1.2.0 go: finding github.com/hpcloud/tail v1.0.0 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding github.com/stretchr/objx v0.1.0 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding github.com/davecgh/go-spew v1.1.0 go: finding github.com/fatih/color v1.6.0 go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/spf13/pflag v1.0.1 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: downloading gotest.tools v2.1.0+incompatible go: extracting gotest.tools v2.1.0+incompatible go: downloading github.com/fatih/color v1.6.0 go: downloading github.com/spf13/pflag v1.0.1 go: downloading github.com/pkg/errors v0.8.0 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading github.com/jonboulle/clockwork v0.1.0 go: downloading github.com/sirupsen/logrus v1.0.5 go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting github.com/jonboulle/clockwork v0.1.0 go: extracting github.com/pkg/errors v0.8.0 go: extracting github.com/spf13/pflag v1.0.1 go: extracting github.com/sirupsen/logrus v1.0.5 go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting github.com/fatih/color v1.6.0 go: downloading github.com/mattn/go-isatty v0.0.3 go: downloading github.com/mattn/go-colorable v0.0.9 go: extracting github.com/mattn/go-isatty v0.0.3 go: extracting github.com/mattn/go-colorable v0.0.9 go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e Removing intermediate container 56bb4becc337 ---> 8ddd18929908 Step 16/22 : RUN GOOS=linux go build -o /usr/local/bin/test2json-linux cmd/test2json && GOOS=darwin go build -o /usr/local/bin/test2json-darwin cmd/test2json && GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json ---> Running in dfb01c9ecfd8 Removing intermediate container dfb01c9ecfd8 ---> b1fc0185a505 Step 17/22 : RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.com/mjibson/esc && go build -v -o /usr/bin/esc . && rm -rf /go/src/* /go/pkg/* /go/bin/* ---> Running in 87d36343efc7 golang.org/x/tools/internal/semver github.com/pkg/errors golang.org/x/tools/go/ast/astutil golang.org/x/tools/go/internal/gcimporter golang.org/x/tools/go/internal/packagesdriver golang.org/x/tools/internal/fastwalk golang.org/x/tools/internal/gopathwalk golang.org/x/tools/internal/span golang.org/x/tools/internal/module golang.org/x/tools/go/gcexportdata golang.org/x/tools/go/packages golang.org/x/tools/internal/imports golang.org/x/tools/imports github.com/mjibson/esc/embed github.com/mjibson/esc Removing intermediate container 87d36343efc7 ---> de5c4c3d8155 Step 18/22 : COPY . . ---> 074eb4450008 Step 19/22 : FROM dev AS cross ---> 074eb4450008 Step 20/22 : ARG EXPERIMENTAL="off" ---> Running in b3294ba99050 Removing intermediate container b3294ba99050 ---> bbae1779c9b1 Step 21/22 : ARG TAG="unknown" ---> Running in e6c9f0e0d665 Removing intermediate container e6c9f0e0d665 ---> af9b136e27e1 Step 22/22 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Running in 779c73752cf9 GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=412597bf -X github.com/docker/app/internal.Version=jenkins-app-PR-691-7 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-17T07:39:07Z" -o bin/docker-app-linux ./cmd/docker-app # github.com/docker/app/internal/commands/build internal/commands/build/compose.go:7:2: imported and not used: "github.com/docker/app/vendor/github.com/docker/distribution/reference" make: *** [Makefile:60: bin/docker-app-linux] Error 2 The command '/bin/sh -c make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross' returned a non-zero code: 2 docker.Makefile:40: recipe for target 'cross' failed make: *** [cross] Error 2 [Pipeline] } [Pipeline] // ansiColor [Pipeline] sh + xargs docker image rm -f + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-691-7* Untagged: docker-app-cli:jenkins-app-PR-691-7 [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: Coverage (experimental)) [Pipeline] { (Branch: Test Linux) [Pipeline] stage [Pipeline] { (Coverage) [Pipeline] stage [Pipeline] { (Coverage (experimental)) [Pipeline] stage [Pipeline] { (Test Linux) Stage "Coverage" skipped due to earlier failure(s) [Pipeline] } Stage "Coverage (experimental)" skipped due to earlier failure(s) [Pipeline] } Stage "Test Linux" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] } Failed in branch Coverage [Pipeline] } Failed in branch Coverage (experimental) [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