Pull request #712 updated 14:48:47 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from d82f79998a6c57649b2ac5d2775f2c5599e5e752 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-085e6ca4aeae97615) in /home/ubuntu/workspace/app_PR-712 [Pipeline] { Running on ubuntu-1804-overlay2 (i-0dc62b6d66e7956cc) in /home/ubuntu/workspace/app_PR-712 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-712/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-712/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] script [Pipeline] { using credential docker-jenkins-github-credentials [Pipeline] checkout 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-712/src/github.com/docker/app # timeout=10 using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags 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/712/head:refs/remotes/origin/PR-712 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-712/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/712/head:refs/remotes/origin/PR-712 Fetching without tags Checking out Revision d82f79998a6c57649b2ac5d2775f2c5599e5e752 (PR-712) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/712/head:refs/remotes/origin/PR-712 # 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/712/head:refs/remotes/origin/PR-712 > git config core.sparsecheckout # timeout=10 > git checkout -f d82f79998a6c57649b2ac5d2775f2c5599e5e752 Fetching without tags Commit message: "Use docker build output for binaries" First time build. Skipping changelog. Checking out Revision d82f79998a6c57649b2ac5d2775f2c5599e5e752 (PR-712) Commit message: "Use docker build output for binaries" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh > git rev-list --no-walk 0de7446c06ca7525af85b9d76debd24d1557b7bb # timeout=10 + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-712-3 -f Dockerfile.lint . #2 [internal] load .dockerignore #2 transferring context: 73B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile.lint #1 transferring dockerfile: 414B done #1 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.12.9-alpine3.10 #3 DONE 0.1s > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/712/head:refs/remotes/origin/PR-712 # 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/712/head:refs/remotes/origin/PR-712 > git config core.sparsecheckout # timeout=10 > git checkout -f d82f79998a6c57649b2ac5d2775f2c5599e5e752 #4 [1/5] FROM docker.io/library/golang:1.12.9-alpine3.10@sha256:e0660b4f1e6... #4 DONE 0.0s #8 [internal] load build context [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-PR-712-3 --build-arg COMMIT=d82f7999 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=cli -t docker-app-cli:jenkins-app-PR-712-3 . #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 3.64kB 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 [build 1/6] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea9dce... #4 DONE 0.0s #8 [build 5/6] RUN make binary-osx binary-windows binary && cp build/dock... #8 CACHED #6 [build 3/6] WORKDIR /go/src/github.com/docker/cli #6 CACHED #7 [build 4/6] RUN git clone https://github.com/docker/cli . && git checkou... #7 CACHED #5 [build 2/6] RUN apt-get install -y -q --no-install-recommends coreutil... #5 CACHED #9 [build 6/6] WORKDIR /go/src/github.com/docker/app/ #9 CACHED #8 transferring context: 73.13MB 1.3s 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 . . #10 [cli 1/3] COPY --from=build /go/src/github.com/docker/cli/build/docker-l... #10 DONE 0.1s #11 [cli 2/3] COPY --from=build /go/src/github.com/docker/cli/build/docker-d... #11 DONE 0.2s #12 [cli 3/3] COPY --from=build /go/src/github.com/docker/cli/build/docker-w... #9 DONE 1.3s #10 exporting to image #10 exporting layers #12 DONE 0.4s #13 exporting to client #13 copying files 35B #10 exporting layers 0.7s done #10 writing image sha256:8cfab18849edd2ad1e07d4f3b472c522dee583e10c85d80148b54d8669567494 done #10 naming to docker.io/library/docker-app-lint:jenkins-app-PR-712-3 done #10 DONE 0.8s docker run --rm docker-app-lint:jenkins-app-PR-712-3 make lint #13 copying files 181.89MB 1.2s done #13 DONE 1.7s docker build --build-arg TAG=jenkins-app-PR-712-3 --build-arg COMMIT=d82f7999 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=cross -t docker-app-cross:jenkins-app-PR-712-3 . Linting... #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 #3 [internal] load metadata for docker.io/dockercore/golang-cross:1.12.9@sh... #3 DONE 0.0s #4 [build 1/6] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea9dce... #4 DONE 0.0s #14 [internal] load build context #14 transferring context: 73.13MB 1.3s done #14 DONE 1.3s #8 [build 5/6] RUN make binary-osx binary-windows binary && cp build/dock... #8 CACHED #10 [dev 1/5] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #10 CACHED #12 [dev 3/5] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #12 CACHED #9 [build 6/6] WORKDIR /go/src/github.com/docker/app/ #9 CACHED #5 [build 2/6] RUN apt-get install -y -q --no-install-recommends coreutil... #5 CACHED #11 [dev 2/5] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #11 CACHED #6 [build 3/6] WORKDIR /go/src/github.com/docker/cli #6 CACHED #7 [build 4/6] RUN git clone https://github.com/docker/cli . && git checkou... #7 CACHED #13 [dev 4/5] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #13 CACHED #15 [dev 5/5] COPY . . #15 DONE 1.2s #16 [cross-build 1/1] RUN make TAG=jenkins-app-PR-712-3 cross #16 0.910 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d82f7999 -X github.com/docker/app/internal.Version=jenkins-app-PR-712-3 -X github.com/docker/app/internal.BuildTime=2019-10-25T14:49:02Z" -o bin/docker-app-linux ./cmd/docker-app Still waiting to schedule task Waiting for next available executor on ‘ubuntu-1804&&x86_64&&overlay2’ Running on ubuntu-1804-overlay2 (i-017d74dd5ded14cf0) in /home/ubuntu/workspace/app_PR-712 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-712/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-712/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/712/head:refs/remotes/origin/PR-712 Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/712/head:refs/remotes/origin/PR-712 # 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/712/head:refs/remotes/origin/PR-712 Checking out Revision d82f79998a6c57649b2ac5d2775f2c5599e5e752 (PR-712) Commit message: "Use docker build output for binaries" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f d82f79998a6c57649b2ac5d2775f2c5599e5e752 + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-712-3 --build-arg COMMIT=d82f7999 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-712-3 . #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 #3 [internal] load metadata for docker.io/library/alpine:3.10.1 #3 DONE 0.0s #4 [internal] load metadata for docker.io/library/golang:1.13.0 #4 DONE 0.0s #7 [build 1/5] FROM docker.io/library/golang:1.13.0 #7 DONE 0.0s #5 [invocation 1/4] FROM docker.io/library/alpine:3.10.1 #5 DONE 0.0s #10 [internal] load build context #10 transferring context: 73.13MB 1.3s done #10 DONE 1.3s #8 [build 2/5] RUN apt-get update -qq && apt-get install -y -q --no-install... #8 CACHED #9 [build 3/5] WORKDIR /go/src/github.com/docker/app/ #9 CACHED #11 [build 4/5] COPY . . #11 DONE 1.1s #12 [build 5/5] RUN make BUILD_TAG=${BUILD_TAG} TAG=jenkins-app-PR-712-3 bin... #12 1.061 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d82f7999 -X github.com/docker/app/internal.Version=jenkins-app-PR-712-3 -X github.com/docker/app/internal.BuildTime=2019-10-25T14:49:25Z" -o bin/cnab-run ./cmd/cnab-run [Pipeline] sh + make -f docker.Makefile check-vendor docker build --build-arg TAG=jenkins-app-PR-712-3 --build-arg COMMIT=d82f7999 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-712-3 . #2 [internal] load .dockerignore #2 transferring context: 34B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 3.64kB done #1 DONE 0.0s #3 [internal] load metadata for docker.io/dockercore/golang-cross:1.12.9@sh... #3 DONE 0.0s #4 [build 1/6] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea9dce... #4 DONE 0.0s #14 [internal] load build context #14 transferring context: 343.22kB 0.2s done #14 DONE 0.2s #11 [dev 2/5] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #11 CACHED #7 [build 4/6] RUN git clone https://github.com/docker/cli . && git checkou... #7 CACHED #6 [build 3/6] WORKDIR /go/src/github.com/docker/cli #6 CACHED #8 [build 5/6] RUN make binary-osx binary-windows binary && cp build/dock... #8 CACHED #12 [dev 3/5] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #12 CACHED #10 [dev 1/5] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #10 CACHED #5 [build 2/6] RUN apt-get install -y -q --no-install-recommends coreutil... #5 CACHED #9 [build 6/6] WORKDIR /go/src/github.com/docker/app/ #9 CACHED #13 [dev 4/5] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #13 CACHED #15 [dev 5/5] COPY . . #15 DONE 0.6s #16 exporting to image #16 exporting layers #16 exporting layers 0.7s done #16 writing image sha256:b0c35a2c70a32f8b470ca46ddac5564c9fa9af71fa6e619482bb5a564cd4828f done #16 naming to docker.io/library/docker-app-dev:jenkins-app-PR-712-3 done #16 DONE 0.8s Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-712-3 sh -c "make vendor && hack/check-git-diff vendor" rm -rf vendor 1>&1 dep ensure -v (1/104) Wrote github.com/Masterminds/semver@v1.4.2 (2/104) Wrote github.com/containerd/console@master (3/104) Wrote github.com/coreos/go-systemd@v20 (4/104) Wrote github.com/containerd/fifo@master (5/104) Wrote github.com/containerd/ttrpc@master (6/104) Wrote vbom.ml/util@master (7/104) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1 (8/104) Wrote github.com/davecgh/go-spew@v1.1.1 (9/104) Wrote github.com/agl/ed25519@master (10/104) Wrote github.com/beorn7/perks@master (11/104) Wrote github.com/containerd/cgroups@master (12/104) Wrote github.com/containerd/typeurl@master (13/104) Wrote github.com/Microsoft/go-winio@v0.4.12 (14/104) Wrote github.com/containerd/continuity@master (15/104) Wrote github.com/docker/buildx@v0.3.1 (16/104) Wrote github.com/Microsoft/hcsshim@v0.8.6 (17/104) Wrote github.com/docker/docker-credential-helpers@v0.6.1 (18/104) Wrote github.com/docker/go@v1.5.1-1 (19/104) Wrote github.com/docker/go-events@master (20/104) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2 (21/104) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 (22/104) Wrote github.com/docker/go-connections@v0.4.0 (23/104) Wrote github.com/docker/go-units@v0.3.3 (24/104) Wrote github.com/godbus/dbus@v5.0.1 (25/104) Wrote github.com/gofrs/flock@v0.7.1 (26/104) Wrote github.com/gogo/googleapis@v1.2.0 (27/104) Wrote github.com/google/go-cmp@v0.2.0 (28/104) Wrote github.com/google/gofuzz@v1.0.0 (29/104) Wrote github.com/google/shlex@master (30/104) Wrote github.com/gorilla/mux@v1.7.1 (31/104) Wrote github.com/hashicorp/golang-lru@v0.5.1 (32/104) Wrote github.com/imdario/mergo@master (33/104) Wrote github.com/globalsign/mgo@master (34/104) Wrote github.com/hashicorp/go-version@v1.1.0 (35/104) Wrote github.com/grpc-ecosystem/grpc-opentracing@master (36/104) Wrote github.com/inconshreveable/mousetrap@v1.0 (37/104) Wrote github.com/jaguilar/vt100 (from github.com/tonistiigi/vt100)@ad4c4a5743050fb7f88ce968dca9422f72a0e3f2 (38/104) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (39/104) Wrote github.com/googleapis/gnostic@v0.2.0 (40/104) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2 (41/104) Wrote github.com/mattn/go-shellwords@v1.0.5 (42/104) Wrote github.com/json-iterator/go@v1.1.6 (43/104) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1 (44/104) Wrote github.com/docker/compose-on-kubernetes@v0.4.21 (45/104) Wrote github.com/miekg/pkcs11@master (46/104) Wrote github.com/mitchellh/mapstructure@v1.1.2 (47/104) Wrote github.com/modern-go/concurrent@1.0.3 (48/104) Wrote github.com/modern-go/reflect2@1.0.1 (49/104) Wrote github.com/morikuni/aec@master (50/104) Wrote github.com/oklog/ulid@v1.3.1 (51/104) Wrote github.com/golang/protobuf@v1.3.1 (52/104) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1 (53/104) Wrote github.com/opencontainers/image-spec@v1.0.1 (54/104) Wrote github.com/opentracing/opentracing-go@v1.1.0 (55/104) Wrote github.com/pkg/errors@v0.8.1 (56/104) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 #16 56.49 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d82f7999 -X github.com/docker/app/internal.Version=jenkins-app-PR-712-3 -X github.com/docker/app/internal.BuildTime=2019-10-25T14:49:02Z" -o bin/docker-app-darwin ./cmd/docker-app (57/104) Wrote github.com/prometheus/client_model@master (58/104) Wrote github.com/prometheus/client_golang@v0.8.0 (59/104) Wrote github.com/prometheus/procfs@master (60/104) Wrote github.com/qri-io/jsonpointer@v0.1.0 (61/104) Wrote github.com/prometheus/common@v0.2.0 (62/104) Wrote github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98 (63/104) Wrote github.com/qri-io/jsonschema@v0.1.1 (64/104) Wrote github.com/containerd/containerd@master (65/104) Wrote github.com/sirupsen/logrus@v1.4.1 (66/104) Wrote github.com/opencontainers/runc@v1.0.0-rc7 (67/104) Wrote github.com/spf13/cobra@v0.0.5 (68/104) Wrote github.com/spf13/pflag@master (69/104) Wrote github.com/syndtr/gocapability@master (70/104) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc (71/104) Wrote github.com/wadey/gocovmerge@master (72/104) Wrote github.com/tonistiigi/units@master (73/104) Wrote github.com/xeipuuv/gojsonpointer@master (74/104) Wrote github.com/xeipuuv/gojsonreference@master (75/104) Wrote github.com/tonistiigi/fsutil@master (76/104) Wrote github.com/moby/buildkit@v0.6.2 (77/104) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d (78/104) Wrote golang.org/x/sync@master (79/104) Wrote golang.org/x/oauth2@master (80/104) Wrote golang.org/x/crypto@master (81/104) Wrote golang.org/x/time@master (82/104) Wrote github.com/coreos/etcd@v3.3.12 (83/104) Wrote golang.org/x/net@master (84/104) Wrote gopkg.in/inf.v0@v0.9.1 (85/104) Wrote google.golang.org/appengine@v1.5.0 (86/104) Wrote gotest.tools@v2.3.0 (87/104) Wrote gopkg.in/yaml.v2@v2.2.3 (88/104) Wrote k8s.io/klog@v0.2.0 (89/104) Wrote k8s.io/utils@master (90/104) Wrote github.com/Azure/go-ansiterm@master (91/104) Wrote k8s.io/apimachinery@kubernetes-1.14.1 (92/104) Wrote sigs.k8s.io/yaml@v1.1.0 (93/104) Wrote golang.org/x/sys@master (94/104) Wrote google.golang.org/grpc@v1.19.1 (95/104) Wrote github.com/theupdateframework/notary@v0.6.1 (96/104) Wrote golang.org/x/text@v0.3.0 #12 DONE 63.7s #6 [invocation 2/4] RUN apk add --no-cache ca-certificates && adduser -S cn... #6 CACHED #13 [invocation 3/4] COPY --from=build /go/src/github.com/docker/app/bin/cna... #13 DONE 0.7s #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:3ffacbbc12959b5a8ec1ab2ae867e29f5230c0a58ec54203df8b66d16e438a27 done #15 naming to docker.io/docker/cnab-app-base:jenkins-app-PR-712-3 done #15 DONE 0.2s docker save docker/cnab-app-base:jenkins-app-PR-712-3 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-712-3-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-712-3 docker/cnab-app-base:jenkins-app-PR-712-3-coverage docker save docker/cnab-app-base:jenkins-app-PR-712-3-coverage -o _build/coverage-invocation-image.tar (97/104) Wrote golang.org/x/tools@master [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-712/src/github.com/docker/app/_build [Pipeline] { [Pipeline] stash (98/104) Wrote k8s.io/client-go@kubernetes-1.14.1 (99/104) Wrote google.golang.org/genproto@master (100/104) Wrote cloud.google.com/go@v0.37.4 Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-712/3/stashes/invocation-image.tgz [Pipeline] stash (101/104) Wrote github.com/gogo/protobuf@v1.2.1 Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-712/3/stashes/coverage-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-712/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-712-3 Untagged: docker/cnab-app-base:jenkins-app-PR-712-3 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-712-3-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-712-3-coverage Deleted: sha256:3ffacbbc12959b5a8ec1ab2ae867e29f5230c0a58ec54203df8b66d16e438a27 [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } (102/104) Wrote k8s.io/api@kubernetes-1.14.1 (103/104) Wrote github.com/docker/docker@master #16 113.8 GOOS=windows CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d82f7999 -X github.com/docker/app/internal.Version=jenkins-app-PR-712-3 -X github.com/docker/app/internal.BuildTime=2019-10-25T14:49:02Z" -o bin/docker-app-windows.exe ./cmd/docker-app #16 DONE 172.1s #17 [cross 1/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #17 DONE 0.1s #18 [cross 2/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #18 DONE 0.7s #19 [cross 3/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #19 DONE 0.2s #20 exporting to client #20 copying files 16.78MB 0.1s #20 copying files 134.26MB 0.8s done #20 DONE 1.1s docker build --build-arg TAG=jenkins-app-PR-712-3 --build-arg COMMIT=d82f7999 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-712-3 . #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 #3 [internal] load metadata for docker.io/dockercore/golang-cross:1.12.9@sh... #3 DONE 0.0s #4 [build 1/6] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea9dce... #4 DONE 0.0s #14 [internal] load build context #14 transferring context: 343.22kB 0.2s done #14 DONE 0.2s #12 [dev 3/5] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #12 CACHED #9 [build 6/6] WORKDIR /go/src/github.com/docker/app/ #9 CACHED #16 [cross-build 1/1] RUN make TAG=jenkins-app-PR-712-3 cross #16 CACHED #17 [cross 1/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #17 CACHED #5 [build 2/6] RUN apt-get install -y -q --no-install-recommends coreutil... #5 CACHED #18 [cross 2/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #18 CACHED #11 [dev 2/5] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #11 CACHED #13 [dev 4/5] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #13 CACHED #10 [dev 1/5] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #10 CACHED #7 [build 4/6] RUN git clone https://github.com/docker/cli . && git checkou... #7 CACHED #15 [dev 5/5] COPY . . #15 CACHED #6 [build 3/6] WORKDIR /go/src/github.com/docker/cli #6 CACHED #8 [build 5/6] RUN make binary-osx binary-windows binary && cp build/dock... #8 CACHED #19 [cross 3/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #19 CACHED #20 [e2e-cross-build 1/1] RUN make TAG=jenkins-app-PR-712-3 e2e-cross #20 0.632 container_linux.go:345: starting container process caused "exec: \"/bin/sh\": stat /bin/sh: no such file or directory" #20 ERROR: executor failed running [/bin/sh -c make TAG=${TAG} e2e-cross]: exit code: 1 ------ > [e2e-cross-build 1/1] RUN make TAG=jenkins-app-PR-712-3 e2e-cross: ------ failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c make TAG=${TAG} e2e-cross]: exit code: 1 docker.Makefile:52: recipe for target 'e2e-cross' failed make: *** [e2e-cross] Error 1 [Pipeline] } [Pipeline] // ansiColor [Pipeline] sh + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-712-3* + xargs docker image rm -f "docker image rm" requires at least 1 argument. See 'docker image rm --help'. Usage: docker image rm [OPTIONS] IMAGE [IMAGE...] Remove one or more images [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Binaries (104/104) 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 123 Finished: FAILURE