Pull request #653 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 1c338bb0e42ca976c24b695d1aa94de6d2df2bce 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 ead69454b4062f17d1f8389642089a002b037213 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 ead69454b4062f17d1f8389642089a002b037213 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f ead69454b4062f17d1f8389642089a002b037213 Commit message: "Merge pull request #10 from russellcardullo/sonar-scan" > git rev-list --no-walk ead69454b4062f17d1f8389642089a002b037213 # 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-07498ce12ea8e859b) in /home/ubuntu/workspace/app_PR-653 Running on ubuntu-1804-overlay2 (i-0508a0cc751d2d2f6) in /home/ubuntu/workspace/app_PR-653 [Pipeline] { [Pipeline] { Running on ubuntu-1804-overlay2 (i-05d9c50942dfc54ea) in /home/ubuntu/workspace/app_PR-653 [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-653/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-653/src/github.com/docker/app [Pipeline] { [Pipeline] { [Pipeline] checkout [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-653/src/github.com/docker/app [Pipeline] { [Pipeline] script [Pipeline] { using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-653/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/653/head:refs/remotes/origin/PR-653 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-653/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/653/head:refs/remotes/origin/PR-653 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-653/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/653/head:refs/remotes/origin/PR-653 Fetching without tags Fetching without tags Checking out Revision 1c338bb0e42ca976c24b695d1aa94de6d2df2bce (PR-653) Fetching without tags Checking out Revision 1c338bb0e42ca976c24b695d1aa94de6d2df2bce (PR-653) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/653/head:refs/remotes/origin/PR-653 # 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/653/head:refs/remotes/origin/PR-653 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c338bb0e42ca976c24b695d1aa94de6d2df2bce > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/653/head:refs/remotes/origin/PR-653 # 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/653/head:refs/remotes/origin/PR-653 Checking out Revision 1c338bb0e42ca976c24b695d1aa94de6d2df2bce (PR-653) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/653/head:refs/remotes/origin/PR-653 # 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/653/head:refs/remotes/origin/PR-653 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c338bb0e42ca976c24b695d1aa94de6d2df2bce Commit message: "Nice output for the error message" > git rev-list --no-walk d87c777dee75f8148867a63b90b37b265e42d799 # timeout=10 Commit message: "Nice output for the error message" Commit message: "Nice output for the error message" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-653-4 -f Dockerfile.lint . + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=build -t docker-app-cli:jenkins-app-PR-653-4 . [Pipeline] ansiColor [Pipeline] { [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 1c338bb0e42ca976c24b695d1aa94de6d2df2bce + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=invocation -t docker/cnab-app-base:jenkins-app-PR-653-4 . Sending build context to Docker daemon 72.94MB 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 ---> 314652f4d8ef 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 ---> 4c1e00f38949 Step 6/8 : WORKDIR /go/src/github.com/docker/app ---> Using cache ---> ef1ce2a9eb31 Step 7/8 : ENV CGO_ENABLED=0 ---> Using cache ---> f9c4ee1a71ca Step 8/8 : COPY . . Sending build context to Docker daemon 72.94MB 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 96465440c208: Waiting 16a3d8aca6cd: Waiting e0ec5610455a: Waiting 96d705baf026: Waiting 39007eb46008: Waiting 4e549f0f5e64: Waiting c0058a8c71f2: Waiting 2f8d98df0991: Waiting 2ea1f7804402: Verifying Checksum 2ea1f7804402: Download complete bbab4ec87ac4: Verifying Checksum bbab4ec87ac4: Download complete Sending build context to Docker daemon 72.94MB 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 ---> ab07704eaaa0 Step 4/14 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 993a0a3c0876 Step 5/14 : COPY . . 4ae16bd47783: Verifying Checksum 4ae16bd47783: Download complete 96465440c208: Verifying Checksum 96465440c208: Download complete 16a3d8aca6cd: Verifying Checksum 16a3d8aca6cd: Download complete 96d705baf026: Verifying Checksum 96d705baf026: Download complete 39007eb46008: Verifying Checksum 39007eb46008: Download complete c0058a8c71f2: Verifying Checksum c0058a8c71f2: Download complete ---> 9c86a2f8e77c Step 6/14 : ARG EXPERIMENTAL="off" e0ec5610455a: Verifying Checksum e0ec5610455a: Download complete ---> Running in 4d29fd915bf9 Removing intermediate container 4d29fd915bf9 ---> f55f9208529e Step 7/14 : ARG TAG="unknown" ---> Running in 5b4bcbab5422 Removing intermediate container 5b4bcbab5422 ---> aa9c1b26ef1b Step 8/14 : RUN make EXPERIMENTAL=${EXPERIMENTAL} BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run ---> Running in 435c52c31659 4e549f0f5e64: Verifying Checksum 4e549f0f5e64: Download complete CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=1c338bb0 -X github.com/docker/app/internal.Version=jenkins-app-PR-653-4 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T08:52:01Z" -o bin/cnab-run ./cmd/cnab-run ---> c85124f2f59b Successfully built c85124f2f59b Successfully tagged docker-app-lint:jenkins-app-PR-653-4 docker run --rm docker-app-lint:jenkins-app-PR-653-4 make lint Linting... 2f8d98df0991: Verifying Checksum 2f8d98df0991: Download complete 4ae16bd47783: Pull complete bbab4ec87ac4: Pull complete 2ea1f7804402: Pull complete 96465440c208: Pull complete 16a3d8aca6cd: Pull complete e0ec5610455a: Pull complete 96d705baf026: Pull complete 39007eb46008: Pull complete 4e549f0f5e64: Pull complete c0058a8c71f2: Pull complete [Pipeline] sh + make -f docker.Makefile check-vendor docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=dev -t docker-app-dev:jenkins-app-PR-653-4 . Sending build context to Docker daemon 72.94MB Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> 0832e4e256e9 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> f4bd2a71ac0b Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 3903fe32b732 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 63e62fbbfdc3 Step 6/18 : ARG GOPROXY ---> Using cache ---> 485fe154e869 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> eab24490343c Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 30571aef7df0 Step 9/18 : FROM build AS dev ---> 30571aef7df0 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 3462df077143 Step 11/18 : ARG DEP_VERSION=v0.5.1 ---> Using cache ---> f7db1ad315d2 Step 12/18 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep ---> Using cache ---> fd46646cd45d Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> cdfec79bee0f Step 14/18 : ARG GOPROXY ---> Using cache ---> a690eacd5341 Step 15/18 : 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 ---> Using cache ---> 11f359a65579 Step 16/18 : 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 ---> Using cache ---> 5c369ea5aa0d Step 17/18 : 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/* ---> Using cache ---> d377b79f83e7 Step 18/18 : COPY . . ---> 0891753bc81e [Warning] One or more build-args [TAG ALPINE_VERSION COMMIT EXPERIMENTAL] were not consumed Successfully built 0891753bc81e Successfully tagged docker-app-dev:jenkins-app-PR-653-4 Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-653-4 sh -c "make vendor && hack/check-git-diff vendor" rm -rf vendor 1>&1 dep ensure -v (1/95) Wrote github.com/containerd/cgroups@master (2/95) Wrote github.com/davecgh/go-spew@v1.1.1 (3/95) Wrote github.com/coreos/go-systemd@v20 (4/95) Wrote vbom.ml/util@master (5/95) Wrote github.com/docker/go@v1.5.1-1 (6/95) Wrote github.com/containerd/fifo@master (7/95) Wrote github.com/containerd/ttrpc@master (8/95) Wrote github.com/containerd/typeurl@master (9/95) Wrote github.com/containerd/continuity@master 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 e35febcc9b2b Removing intermediate container e35febcc9b2b ---> a672f77ba9d4 Step 3/8 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 8eb9825f3d4c Reading package lists...(10/95) Wrote github.com/docker/docker-credential-helpers@v0.6.1 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] (11/95) Wrote github.com/docker/go-events@master debconf: delaying package configuration, since apt-utils is not installed Fetched 95.2 kB in 0s (366 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. (12/95) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 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. (13/95) Wrote github.com/docker/go-connections@v0.4.0 (14/95) Wrote github.com/docker/go-units@v0.3.3 Removing intermediate container 8eb9825f3d4c ---> 6c01d57cda73 Step 4/8 : WORKDIR /go/src/github.com/docker/cli (15/95) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2 ---> Running in 0f676726cb7f Removing intermediate container 0f676726cb7f ---> d866b440089f Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in 686dad6520b4 Cloning into '.'... (16/95) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1 (17/95) Wrote github.com/docker/compose-on-kubernetes@v0.4.21 (18/95) Wrote github.com/godbus/dbus@v5.0.1 (19/95) Wrote github.com/gogo/googleapis@v1.2.0 (20/95) Wrote github.com/google/gofuzz@v1.0.0 (21/95) Wrote github.com/google/go-cmp@v0.2.0 (22/95) Wrote github.com/google/shlex@master 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 (23/95) Wrote github.com/gorilla/mux@v1.7.1 (24/95) Wrote github.com/hashicorp/go-version@v1.1.0 (25/95) Wrote github.com/hashicorp/golang-lru@v0.5.1 (26/95) Wrote github.com/globalsign/mgo@master (27/95) Wrote github.com/imdario/mergo@master Removing intermediate container 686dad6520b4 ---> d96a442e663d Step 6/8 : ARG GOPROXY ---> Running in 791289a980aa Removing intermediate container 791289a980aa ---> f4d9cef16f4e Step 7/8 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in df536fe5318d (28/95) Wrote github.com/inconshreveable/mousetrap@v1.0 ./scripts/build/osx Building build/docker-darwin-amd64 (29/95) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2 (30/95) Wrote github.com/mattn/go-shellwords@v1.0.5 (31/95) Wrote github.com/json-iterator/go@v1.1.6 (32/95) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1 (33/95) Wrote github.com/googleapis/gnostic@v0.2.0 (34/95) Wrote github.com/miekg/pkcs11@master (35/95) Wrote github.com/mitchellh/mapstructure@v1.1.2 (36/95) Wrote github.com/modern-go/concurrent@1.0.3 (37/95) Wrote github.com/modern-go/reflect2@1.0.1 (38/95) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (39/95) Wrote github.com/morikuni/aec@master (40/95) Wrote github.com/oklog/ulid@v1.3.1 (41/95) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1 (42/95) Wrote github.com/Azure/go-ansiterm@master (43/95) Wrote github.com/opencontainers/image-spec@v1.0.1 (44/95) Wrote github.com/golang/protobuf@v1.3.1 (45/95) Wrote github.com/Microsoft/go-winio@v0.4.12 (46/95) Wrote github.com/Masterminds/semver@v1.4.2 (47/95) Wrote github.com/agl/ed25519@master (48/95) Wrote github.com/beorn7/perks@master (49/95) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 (50/95) Wrote github.com/pkg/errors@v0.8.1 (51/95) Wrote github.com/prometheus/client_model@master (52/95) Wrote github.com/prometheus/client_golang@v0.8.0 (53/95) Wrote github.com/opencontainers/runc@v1.0.0-rc7 (54/95) Wrote github.com/qri-io/jsonpointer@v0.1.0 (55/95) Wrote github.com/prometheus/procfs@master (56/95) Wrote github.com/prometheus/common@v0.2.0 (57/95) Wrote github.com/qri-io/jsonschema@v0.1.1 (58/95) Wrote github.com/sirupsen/logrus@v1.4.1 (59/95) Wrote github.com/syndtr/gocapability@master (60/95) Wrote github.com/docker/cli@83751b978155dc889c35e0e49654f76e7cf8d951 (61/95) Wrote github.com/spf13/cobra@v0.0.5 (62/95) Wrote github.com/Microsoft/hcsshim@v0.8.6 (63/95) Wrote github.com/wadey/gocovmerge@master (64/95) Wrote github.com/spf13/pflag@master (65/95) Wrote github.com/xeipuuv/gojsonpointer@master (66/95) Wrote golang.org/x/net@master (67/95) Wrote github.com/xeipuuv/gojsonreference@master (68/95) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d (69/95) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc (70/95) Wrote gopkg.in/inf.v0@v0.9.1 (71/95) Wrote golang.org/x/sync@master Removing intermediate container 435c52c31659 ---> 1d2a05729326 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 72d836ded73f 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 72d836ded73f ---> 5942dd4749cb Step 11/14 : USER cnab ---> Running in c93de214b291 Removing intermediate container c93de214b291 ---> 2c8b28e0ed80 Step 12/14 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run ---> 89b3bb918b57 Step 13/14 : WORKDIR /cnab/app ---> Running in 1f7d74588a3c Removing intermediate container 1f7d74588a3c ---> b28587ec75da Step 14/14 : CMD /cnab/app/run ---> Running in 6d5ba8c91fbc Removing intermediate container 6d5ba8c91fbc ---> 7d8af297890a [Warning] One or more build-args [GOPROXY COMMIT] were not consumed Successfully built 7d8af297890a Successfully tagged docker/cnab-app-base:jenkins-app-PR-653-4 docker save docker/cnab-app-base:jenkins-app-PR-653-4 -o _build/invocation-image.tar [Pipeline] sh (72/95) Wrote golang.org/x/oauth2@master (73/95) Wrote github.com/coreos/etcd@v3.3.12 + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-653-4-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-653-4 docker/cnab-app-base:jenkins-app-PR-653-4-coverage docker save docker/cnab-app-base:jenkins-app-PR-653-4-coverage -o _build/coverage-invocation-image.tar (74/95) Wrote golang.org/x/crypto@master [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-653-4-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-653-4 docker/cnab-app-base:jenkins-app-PR-653-4-coverage-experimental docker save docker/cnab-app-base:jenkins-app-PR-653-4-coverage-experimental -o _build/coverage-experimental-invocation-image.tar (75/95) Wrote golang.org/x/time@master (76/95) Wrote github.com/containerd/containerd@master [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-653/src/github.com/docker/app/_build [Pipeline] { [Pipeline] stash (77/95) Wrote cloud.google.com/go@v0.37.4 (78/95) Wrote google.golang.org/appengine@v1.5.0 (79/95) Wrote gotest.tools@v2.3.0 (80/95) Wrote gopkg.in/yaml.v2 (from https://github.com/simonferquel/yaml)@c86e64ed9581b7588e736f0c3e6ecc02cc22996e Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-653/4/stashes/invocation-image.tgz [Pipeline] stash (81/95) Wrote k8s.io/klog@v0.2.0 (82/95) Wrote k8s.io/utils@master Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-653/4/stashes/coverage-invocation-image.tgz [Pipeline] stash (83/95) Wrote sigs.k8s.io/yaml@v1.1.0 (84/95) Wrote k8s.io/apimachinery@kubernetes-1.14.1 (85/95) Wrote google.golang.org/grpc@v1.19.1 (86/95) Wrote golang.org/x/sys@master Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-653/4/stashes/coverage-experimental-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-653/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-653-4 Untagged: docker/cnab-app-base:jenkins-app-PR-653-4 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-653-4-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-653-4-coverage [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-653-4-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-653-4-coverage-experimental Deleted: sha256:7d8af297890aabd84c441706a0b3b8a2f6ea49980e55ac934e2b38661907c18b Deleted: sha256:b28587ec75daf76610761364e08c8f504c30d58c081027d7fc83dc485204596d Deleted: sha256:89b3bb918b57020f7d690eda5a4ff7a6f8d1fd5dc3baa50c0191a9333b2127d7 Deleted: sha256:5e7aa51c581eb1e8f7b10427241bd7de13bdaeb8b0aae802d796e4835c7505c5 Deleted: sha256:2c8b28e0ed803a20d7b93a8fe5fbc2dceb1f9df18c25f14e3087403f7cf2955b Deleted: sha256:5942dd4749cb59333bae89b1c666758715b57b938c78bc452579e353ccdb3d6b Deleted: sha256:0f5fabdf9389248ef9e2dfcb0b2a2619cdda5355eb7b0a377eb334ff11ceea0f [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } (87/95) Wrote github.com/theupdateframework/notary@v0.6.1 (88/95) Wrote golang.org/x/text@v0.3.0 (89/95) Wrote golang.org/x/tools@master (90/95) Wrote k8s.io/client-go@kubernetes-1.14.1 (91/95) Wrote google.golang.org/genproto@master (92/95) Wrote github.com/gogo/protobuf@v1.2.1 (93/95) Wrote k8s.io/api@kubernetes-1.14.1 (94/95) Wrote github.com/docker/docker@master ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 (95/95) 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] } 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 df536fe5318d ---> 964f7e6ab350 Step 8/8 : WORKDIR /go/src/github.com/docker/app/ ---> Running in f0ec3ff9a815 Removing intermediate container f0ec3ff9a815 ---> 2ee93201f77b [Warning] One or more build-args [TAG ALPINE_VERSION COMMIT EXPERIMENTAL] were not consumed Successfully built 2ee93201f77b Successfully tagged docker-app-cli:jenkins-app-PR-653-4 docker create --name docker-app-cli-jenkins-app-PR-653-4 docker-app-cli:jenkins-app-PR-653-4 noop 794522658a757262983bdce232ccb7092029545a99d3d8e9da429266d93848ab docker cp docker-app-cli-jenkins-app-PR-653-4:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux docker cp docker-app-cli-jenkins-app-PR-653-4:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin docker cp docker-app-cli-jenkins-app-PR-653-4:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe docker rm docker-app-cli-jenkins-app-PR-653-4 docker-app-cli-jenkins-app-PR-653-4 docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=cross -t docker-app-cross:jenkins-app-PR-653-4 . Sending build context to Docker daemon 72.94MB 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 ---> a672f77ba9d4 Step 3/22 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 6c01d57cda73 Step 4/22 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> d866b440089f Step 5/22 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> d96a442e663d Step 6/22 : ARG GOPROXY ---> Using cache ---> f4d9cef16f4e Step 7/22 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 964f7e6ab350 Step 8/22 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 2ee93201f77b Step 9/22 : FROM build AS dev ---> 2ee93201f77b Step 10/22 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in e7678be07e2c Removing intermediate container e7678be07e2c ---> af61c09fb091 Step 11/22 : ARG DEP_VERSION=v0.5.1 ---> Running in 011262948ee9 Removing intermediate container 011262948ee9 ---> bf46ae0c7a7e 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 7de496991c9e  % 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 6722 0 --:--:-- --:--:-- --:--:-- 6722  100 10.5M 100 10.5M  0 0 48.5M 0 --:--:-- --:--:-- --:--:-- 48.5M Removing intermediate container 7de496991c9e ---> f5f6f6f96a4f Step 13/22 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 7a6d248e3c55 Removing intermediate container 7a6d248e3c55 ---> d1559abc44e5 Step 14/22 : ARG GOPROXY ---> Running in 49395bb53552 Removing intermediate container 49395bb53552 ---> 9ae4a979c3b2 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 8b3a0a4ff52f 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 github.com/spf13/pflag v1.0.1 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/fatih/color v1.6.0 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding gotest.tools v2.1.0+incompatible go: finding github.com/onsi/gomega v1.4.3 go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/stretchr/testify v1.3.0 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding github.com/davecgh/go-spew v1.1.0 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding golang.org/x/text v0.3.0 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding github.com/stretchr/objx v0.1.0 go: finding github.com/hpcloud/tail v1.0.0 go: finding github.com/onsi/ginkgo v1.6.0 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding github.com/golang/protobuf v1.2.0 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 go: downloading gotest.tools v2.1.0+incompatible go: extracting gotest.tools v2.1.0+incompatible go: downloading github.com/pkg/errors v0.8.0 go: downloading github.com/fatih/color v1.6.0 go: downloading github.com/sirupsen/logrus v1.0.5 go: extracting github.com/pkg/errors v0.8.0 go: downloading github.com/spf13/pflag v1.0.1 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading github.com/jonboulle/clockwork v0.1.0 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/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/spf13/pflag v1.0.1 go: extracting github.com/jonboulle/clockwork v0.1.0 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-colorable v0.0.9 go: extracting github.com/mattn/go-isatty v0.0.3 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 8b3a0a4ff52f ---> b59f87aed24d 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 1931c440125d Removing intermediate container 1931c440125d ---> c9204e971c44 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 39f1b4a78d9d 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/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 39f1b4a78d9d ---> c9fb392f581f Step 18/22 : COPY . . ---> 86e6b41ba092 Step 19/22 : FROM dev AS cross ---> 86e6b41ba092 Step 20/22 : ARG EXPERIMENTAL="off" ---> Running in 09cadaeff76c Removing intermediate container 09cadaeff76c ---> d8d2dbfc0026 Step 21/22 : ARG TAG="unknown" ---> Running in c584b4c4c1e1 Removing intermediate container c584b4c4c1e1 ---> 40c662a6beee Step 22/22 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Running in e88b01ba0d3f GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=1c338bb0 -X github.com/docker/app/internal.Version=jenkins-app-PR-653-4 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T08:57:19Z" -o bin/docker-app-linux ./cmd/docker-app GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=1c338bb0 -X github.com/docker/app/internal.Version=jenkins-app-PR-653-4 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T08:57:19Z" -o bin/docker-app-darwin ./cmd/docker-app GOOS=windows CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=1c338bb0 -X github.com/docker/app/internal.Version=jenkins-app-PR-653-4 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T08:57:19Z" -o bin/docker-app-windows.exe ./cmd/docker-app GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=1c338bb0 -X github.com/docker/app/internal.Version=jenkins-app-PR-653-4 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T08:57:19Z" -o bin/docker-app-standalone-linux ./cmd/docker-app-standalone GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=1c338bb0 -X github.com/docker/app/internal.Version=jenkins-app-PR-653-4 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T08:57:19Z" -o bin/docker-app-standalone-darwin ./cmd/docker-app-standalone GOOS=windows CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=1c338bb0 -X github.com/docker/app/internal.Version=jenkins-app-PR-653-4 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T08:57:19Z" -o bin/docker-app-standalone-windows.exe ./cmd/docker-app-standalone Removing intermediate container e88b01ba0d3f ---> 8a84767a265a [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 8a84767a265a Successfully tagged docker-app-cross:jenkins-app-PR-653-4 docker create --name docker-app-cross-jenkins-app-PR-653-4 docker-app-cross:jenkins-app-PR-653-4 noop 0b5592179edec1e889ebf31c81c3961c8c3965d8044291f3edb979f536578c63 docker cp docker-app-cross-jenkins-app-PR-653-4:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux docker cp docker-app-cross-jenkins-app-PR-653-4:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin docker cp docker-app-cross-jenkins-app-PR-653-4:/go/src/github.com/docker/app/bin/docker-app-windows.exe bin/docker-app-windows.exe docker cp docker-app-cross-jenkins-app-PR-653-4:/go/src/github.com/docker/app/bin/docker-app-standalone-linux bin/docker-app-standalone-linux docker cp docker-app-cross-jenkins-app-PR-653-4:/go/src/github.com/docker/app/bin/docker-app-standalone-darwin bin/docker-app-standalone-darwin docker cp docker-app-cross-jenkins-app-PR-653-4:/go/src/github.com/docker/app/bin/docker-app-standalone-windows.exe bin/docker-app-standalone-windows.exe docker rm docker-app-cross-jenkins-app-PR-653-4 docker-app-cross-jenkins-app-PR-653-4 docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-653-4 . Sending build context to Docker daemon 72.94MB Step 1/26 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/26 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> a672f77ba9d4 Step 3/26 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 6c01d57cda73 Step 4/26 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> d866b440089f Step 5/26 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> d96a442e663d Step 6/26 : ARG GOPROXY ---> Using cache ---> f4d9cef16f4e Step 7/26 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 964f7e6ab350 Step 8/26 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 2ee93201f77b Step 9/26 : FROM build AS dev ---> 2ee93201f77b Step 10/26 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> af61c09fb091 Step 11/26 : ARG DEP_VERSION=v0.5.1 ---> Using cache ---> bf46ae0c7a7e Step 12/26 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep ---> Using cache ---> f5f6f6f96a4f Step 13/26 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> d1559abc44e5 Step 14/26 : ARG GOPROXY ---> Using cache ---> 9ae4a979c3b2 Step 15/26 : 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 ---> Using cache ---> b59f87aed24d Step 16/26 : 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 ---> Using cache ---> c9204e971c44 Step 17/26 : 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/* ---> Using cache ---> c9fb392f581f Step 18/26 : COPY . . ---> Using cache ---> 86e6b41ba092 Step 19/26 : FROM dev AS cross ---> 86e6b41ba092 Step 20/26 : ARG EXPERIMENTAL="off" ---> Using cache ---> d8d2dbfc0026 Step 21/26 : ARG TAG="unknown" ---> Using cache ---> 40c662a6beee Step 22/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Using cache ---> 8a84767a265a Step 23/26 : FROM cross AS e2e-cross ---> 8a84767a265a Step 24/26 : ARG EXPERIMENTAL="off" ---> Running in 49413364695e Removing intermediate container 49413364695e ---> d4060a7dca08 Step 25/26 : ARG TAG="unknown" ---> Running in 36b749714641 Removing intermediate container 36b749714641 ---> 4d4a1331be9f Step 26/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} e2e-cross ---> Running in 98bc8b9af518 GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=1c338bb0 -X github.com/docker/app/internal.Version=jenkins-app-PR-653-4 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:00:03Z" -o bin/docker-app-linux ./cmd/docker-app GOOS=linux CGO_ENABLED=0 go test -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=1c338bb0 -X github.com/docker/app/internal.Version=jenkins-app-PR-653-4 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:00:03Z" -c -o bin/docker-app-e2e-linux ./e2e/ GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=1c338bb0 -X github.com/docker/app/internal.Version=jenkins-app-PR-653-4 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:00:03Z" -o bin/docker-app-darwin ./cmd/docker-app GOOS=darwin CGO_ENABLED=0 go test -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=1c338bb0 -X github.com/docker/app/internal.Version=jenkins-app-PR-653-4 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:00:03Z" -c -o bin/docker-app-e2e-darwin ./e2e/ GOOS=windows CGO_ENABLED=0 go test -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=1c338bb0 -X github.com/docker/app/internal.Version=jenkins-app-PR-653-4 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:00:03Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ Removing intermediate container 98bc8b9af518 ---> 51d0eedd9a63 [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 51d0eedd9a63 Successfully tagged docker-app-e2e-cross:jenkins-app-PR-653-4 docker create --name docker-app-e2e-cross-jenkins-app-PR-653-4 docker-app-e2e-cross:jenkins-app-PR-653-4 noop 974f943fa2a2f5fbdf42a2a245c9bac7cc97d06da312ece22092361ec29f0cdc docker cp docker-app-e2e-cross-jenkins-app-PR-653-4:/go/src/github.com/docker/app/bin/docker-app-e2e-linux bin/docker-app-e2e-linux docker cp docker-app-e2e-cross-jenkins-app-PR-653-4:/go/src/github.com/docker/app/bin/docker-app-e2e-darwin bin/docker-app-e2e-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-653-4:/go/src/github.com/docker/app/bin/docker-app-e2e-windows.exe bin/docker-app-e2e-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-653-4:/usr/local/bin/gotestsum-linux bin/gotestsum-linux docker cp docker-app-e2e-cross-jenkins-app-PR-653-4:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-653-4:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-653-4:/usr/local/bin/test2json-linux bin/test2json-linux docker cp docker-app-e2e-cross-jenkins-app-PR-653-4:/usr/local/bin/test2json-darwin bin/test2json-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-653-4:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe docker rm docker-app-e2e-cross-jenkins-app-PR-653-4 docker-app-e2e-cross-jenkins-app-PR-653-4 tar --transform='flags=r;s|docker-app-linux|docker-app-plugin-linux|' -czf bin/docker-app-linux.tar.gz -C bin docker-app-linux docker-app-standalone-linux tar czf bin/docker-app-e2e-linux.tar.gz -C bin docker-app-e2e-linux tar --transform='flags=r;s|docker-app-darwin|docker-app-plugin-darwin|' -czf bin/docker-app-darwin.tar.gz -C bin docker-app-darwin docker-app-standalone-darwin tar czf bin/docker-app-e2e-darwin.tar.gz -C bin docker-app-e2e-darwin tar --transform='flags=r;s|docker-app-windows|docker-app-plugin-windows|' -czf bin/docker-app-windows.tar.gz -C bin docker-app-windows.exe docker-app-standalone-windows.exe tar czf bin/docker-app-e2e-windows.tar.gz -C bin docker-app-e2e-windows.exe [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-653/src/github.com/docker/app/bin [Pipeline] { [Pipeline] stash Stashed 24 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-653/4/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-653/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] stash Stashed 61 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-653/4/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-653/src/github.com/docker/app/examples [Pipeline] { [Pipeline] stash Stashed 29 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-653/4/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-653-4* + xargs docker image rm -f Untagged: docker-app-e2e-cross:jenkins-app-PR-653-4 Deleted: sha256:51d0eedd9a6351f1d925ed2b09d68695fd6a496d6ef33936488ff6ac8328c745 Deleted: sha256:c1c86c54a566737cd82c5437d20d8b3bb026e6cf79228779a3db1ee6e65c784e Deleted: sha256:4d4a1331be9ffe44efc2bb1e6863d5aeecbcbe81a34b564f6e0e7d7a84283c16 Deleted: sha256:d4060a7dca083d14d3f09fe461aa577f4e94013e84d1b6fb989d9762b2d6c390 Untagged: docker-app-cross:jenkins-app-PR-653-4 Deleted: sha256:8a84767a265ad3be0c46f90720a9c5ba183de91ad7260f8f362c1bee053056a4 Deleted: sha256:b7ddafd6b16d5a95a53c85d876b4d0b42742afa92a495b8083b2c630be9e947c Deleted: sha256:40c662a6beeea99fe3cafb4f142af6326410180b8be2d1a3317779125f93ccd7 Deleted: sha256:d8d2dbfc0026658c5053df59774401ce181208612fc2a5b2c0cc89a9672b5c88 Deleted: sha256:86e6b41ba092e200bdcb031e26b78c2296a0ccf1d4d74ee5feb92ae5954c8793 Deleted: sha256:a490c8603350e2b8f5bda96d518566dad5356d052b7f36ba07591d7d201dc162 Deleted: sha256:c9fb392f581fabc0a62ecf3f30ba67e494e2610178b39a9b5d0c557adb7c2030 Deleted: sha256:e6c119130ee06a33f35e7f45857b8c7778a49ab9af18413e22af76aa0ba3dd9c Deleted: sha256:c9204e971c44cf226467b80ae98973679b4a0ee316928a2cf4dabcf7aa51ce5b Deleted: sha256:07edc40085c838becaaa7d5e8997fbcf9e11470d407379beca6e70449c0f4edf Deleted: sha256:b59f87aed24def96cca807bf33b9737cbe3ac18b39018ea1b3d75c3f9cc6a617 Deleted: sha256:9c3cc25ec87e3b06119bf179c9288363632926e9cc73c215f63255c5e863e2cd Deleted: sha256:9ae4a979c3b25181d6ca7da7fe7e84c452a3b4f4c59097e74b4f0c4f867d9c84 Deleted: sha256:d1559abc44e5c5d42a1e41358a05a94b2fc6e152cba78ac5a77838aee85df2b9 Deleted: sha256:f5f6f6f96a4fab4a4cf0dcc6bc4a76e3db802ff7f6f7218499c8292048d05a0b Deleted: sha256:cfefd75defab49769de4d18564bc9ae3092d2d356660e1c78e8921547f8cdaed Deleted: sha256:bf46ae0c7a7e890c49319b3ffabf6c593eec05c9359cc07eab7d74a688245091 Deleted: sha256:af61c09fb091c5ff6a3df7d7a27d5b9c02512971e85c2156bede0241da0418e3 Untagged: docker-app-cli:jenkins-app-PR-653-4 Deleted: sha256:2ee93201f77b6d531d1a1b4ec72cb26d834a750fd09c6f55d18f20485eedd583 Deleted: sha256:48cfa713de49bcf786583944265d7a4fab701a54ac88790f8f6d7dd89cf64eae Deleted: sha256:964f7e6ab350b14633eb1b757c9db5a5df035e41bf565888aa03112f04a75ec1 Deleted: sha256:95e0dc9b0ea007a2a0675f3f1f3958690a18765cf3d9f6f7573232b38e2aae8f Deleted: sha256:f4d9cef16f4e45749ad4b1696267cee598bd7969aef1f090c0841278831d177d Deleted: sha256:d96a442e663d4129a33d4f92f0a613a7a264931e6244b25c926d4ee6f9bcd395 Deleted: sha256:160767424b04adba73b517434d4b6baf6de44f304939bdedfa4d63453bc2604c Deleted: sha256:d866b440089ff095425863fea0b385353313aa34671d9ce25adec59f7b4fef7d Deleted: sha256:927d692d34fa43fa3c0f4aa881d1e32b23c9198a0910ee0f2880462573ed4ef5 Deleted: sha256:6c01d57cda732db2d49fa5f682a4fe122f4391588de47136524f510a36c07091 Deleted: sha256:6d203b0f234d6ecfe4533afa684d4f6293d54e31b96ab83e5cc9dcb8185a19a2 Deleted: sha256:a672f77ba9d49fa5ebf3561c18464688af9c8953bfb37a4e30fbd8122a626422 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [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) [Pipeline] node [Pipeline] node [Pipeline] node Running on ubuntu-1804-overlay2 (i-07498ce12ea8e859b) in /home/ubuntu/workspace/app_PR-653 Running on ubuntu-1804-overlay2 (i-05d9c50942dfc54ea) in /home/ubuntu/workspace/app_PR-653 [Pipeline] { [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-653/src/github.com/docker/app [Pipeline] { [Pipeline] checkout Running on ubuntu-1804-overlay2 (i-0213a68e189313b33) in /home/ubuntu/workspace/app_PR-653 using credential docker-jenkins-github-credentials [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-653/src/github.com/docker/app [Pipeline] { [Pipeline] { Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] checkout [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-653/src/github.com/docker/app [Pipeline] { using credential docker-jenkins-github-credentials [Pipeline] checkout 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-653/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/653/head:refs/remotes/origin/PR-653 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-653/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/653/head:refs/remotes/origin/PR-653 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-653/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/653/head:refs/remotes/origin/PR-653 Fetching without tags Fetching without tags Checking out Revision 1c338bb0e42ca976c24b695d1aa94de6d2df2bce (PR-653) Checking out Revision 1c338bb0e42ca976c24b695d1aa94de6d2df2bce (PR-653) Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/653/head:refs/remotes/origin/PR-653 # 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/653/head:refs/remotes/origin/PR-653 Checking out Revision 1c338bb0e42ca976c24b695d1aa94de6d2df2bce (PR-653) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/653/head:refs/remotes/origin/PR-653 # 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/653/head:refs/remotes/origin/PR-653 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c338bb0e42ca976c24b695d1aa94de6d2df2bce > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/653/head:refs/remotes/origin/PR-653 # 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/653/head:refs/remotes/origin/PR-653 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c338bb0e42ca976c24b695d1aa94de6d2df2bce Commit message: "Nice output for the error message" Commit message: "Nice output for the error message" Commit message: "Nice output for the error message" [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-653/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-653/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-653/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash > git config core.sparsecheckout # timeout=10 > git checkout -f 1c338bb0e42ca976c24b695d1aa94de6d2df2bce Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-653/4/stashes/coverage-experimental-invocation-image.tgz [Pipeline] sh Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-653/4/stashes/invocation-image.tgz [Pipeline] sh + docker load -i coverage-experimental-invocation-image.tar + docker load -i invocation-image.tar Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-653/4/stashes/coverage-invocation-image.tgz [Pipeline] sh Loaded image: docker/cnab-app-base:jenkins-app-PR-653-4-coverage-experimental [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + docker load -i coverage-invocation-image.tar Loaded image: docker/cnab-app-base:jenkins-app-PR-653-4 [Pipeline] } [Pipeline] // dir [Pipeline] unstash + make EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- -f docker.Makefile TAG=jenkins-app-PR-653-4-coverage-experimental coverage-run docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=dev -t docker-app-dev:jenkins-app-PR-653-4 . Loaded image: docker/cnab-app-base:jenkins-app-PR-653-4-coverage [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile TAG=jenkins-app-PR-653-4-coverage coverage-run docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=dev -t docker-app-dev:jenkins-app-PR-653-4 . Sending build context to Docker daemon 72.93MB Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> 890a101fa5f0 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 9acce0809a36 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 5e50ca6ec848 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> a1bba7dc32b1 Step 6/18 : ARG GOPROXY ---> Using cache ---> f4fec5e1f575 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 85494dac099f Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> e59a88b63671 Step 9/18 : FROM build AS dev ---> e59a88b63671 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 1a04f416b154 Step 11/18 : ARG DEP_VERSION=v0.5.1 ---> Using cache ---> 4c412047e12b Step 12/18 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep ---> Using cache ---> 97fab2444b36 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> ed1e38f8889b Step 14/18 : ARG GOPROXY ---> Using cache ---> 8cf00b6161c6 Step 15/18 : 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 ---> Using cache ---> b53c6fede593 Step 16/18 : 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 ---> Using cache ---> 53219dc1204c Step 17/18 : 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/* ---> Using cache ---> e7c339126d5c Step 18/18 : COPY . . Sending build context to Docker daemon 72.93MB Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> 0832e4e256e9 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> f4bd2a71ac0b Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 3903fe32b732 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 63e62fbbfdc3 Step 6/18 : ARG GOPROXY ---> Using cache ---> 485fe154e869 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> eab24490343c Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 30571aef7df0 Step 9/18 : FROM build AS dev ---> 30571aef7df0 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 3462df077143 Step 11/18 : ARG DEP_VERSION=v0.5.1 ---> Using cache ---> f7db1ad315d2 Step 12/18 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep ---> Using cache ---> fd46646cd45d Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> cdfec79bee0f Step 14/18 : ARG GOPROXY ---> Using cache ---> a690eacd5341 Step 15/18 : 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 ---> Using cache ---> 11f359a65579 Step 16/18 : 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 ---> Using cache ---> 5c369ea5aa0d Step 17/18 : 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/* ---> Using cache ---> d377b79f83e7 Step 18/18 : COPY . . ---> 941369e9e4ec [Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed Successfully built 941369e9e4ec Successfully tagged docker-app-dev:jenkins-app-PR-653-4 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-653-4-coverage-experimental --network="host" -t docker-app-dev:jenkins-app-PR-653-4 make COMMIT=1c338bb0 TAG=jenkins-app-PR-653-4-coverage-experimental EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- coverage Running unit tests (coverage)... CGO_ENABLED=0 gotestsum --junitfile _build/test-results/experimental-unit-coverage.xml -- -tags="experimental" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=1c338bb0 -X github.com/docker/app/internal.Version=jenkins-app-PR-653-4-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-01T09:01:56Z" -cover -test.coverprofile=_build/cov/unit.out github.com/docker/app github.com/docker/app/cmd/cnab-run github.com/docker/app/cmd/docker-app github.com/docker/app/cmd/docker-app-standalone github.com/docker/app/internal github.com/docker/app/internal/commands github.com/docker/app/internal/commands/image github.com/docker/app/internal/compose github.com/docker/app/internal/formatter github.com/docker/app/internal/formatter/driver github.com/docker/app/internal/formatter/json github.com/docker/app/internal/formatter/yaml github.com/docker/app/internal/inspect github.com/docker/app/internal/log github.com/docker/app/internal/packager github.com/docker/app/internal/slices github.com/docker/app/internal/store github.com/docker/app/internal/yaml github.com/docker/app/loader github.com/docker/app/render github.com/docker/app/specification github.com/docker/app/types github.com/docker/app/types/metadata github.com/docker/app/types/parameters ---> 6a352ecc50e3 [Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed Successfully built 6a352ecc50e3 Successfully tagged docker-app-dev:jenkins-app-PR-653-4 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-653-4-coverage --network="host" -t docker-app-dev:jenkins-app-PR-653-4 make COMMIT=1c338bb0 TAG=jenkins-app-PR-653-4-coverage EXPERIMENTAL=off TEST_RESULTS_PREFIX= coverage ∅ . Running unit tests (coverage)... CGO_ENABLED=0 gotestsum --junitfile _build/test-results/unit-coverage.xml -- -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=1c338bb0 -X github.com/docker/app/internal.Version=jenkins-app-PR-653-4-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:01:58Z" -cover -test.coverprofile=_build/cov/unit.out github.com/docker/app github.com/docker/app/cmd/cnab-run github.com/docker/app/cmd/docker-app github.com/docker/app/cmd/docker-app-standalone github.com/docker/app/internal github.com/docker/app/internal/commands github.com/docker/app/internal/commands/image github.com/docker/app/internal/compose github.com/docker/app/internal/formatter github.com/docker/app/internal/formatter/driver github.com/docker/app/internal/formatter/json github.com/docker/app/internal/formatter/yaml github.com/docker/app/internal/inspect github.com/docker/app/internal/log github.com/docker/app/internal/packager github.com/docker/app/internal/slices github.com/docker/app/internal/store github.com/docker/app/internal/yaml github.com/docker/app/loader github.com/docker/app/render github.com/docker/app/specification github.com/docker/app/types github.com/docker/app/types/metadata github.com/docker/app/types/parameters ∅ . Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-653/4/stashes/binaries.tgz [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-653/src/github.com/docker/app/examples [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-653/4/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-653/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-653/4/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + ./gotestsum-linux --format short-verbose --junitfile e2e-linux.xml --raw-command -- ./test2json-linux -t -p e2e/linux ./docker-app-e2e-linux -test.v --e2e-path=e2e PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (4.96s) PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (3.01s) PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (2.82s) PASS e2e/linux.TestCallCustomStatusAction (10.80s) PASS e2e/linux.TestCnabParameters (2.95s) PASS e2e/linux.TestExitErrorCode (0.06s) PASS e2e/linux.TestRender/envvariables/stdout (1.76s) PASS e2e/linux.TestRender/envvariables/file (1.55s) PASS e2e/linux.TestRender/envvariables (3.31s) PASS e2e/linux.TestRender (3.31s) PASS e2e/linux.TestRenderFormatters (3.27s) PASS e2e/linux.TestInit (0.12s) PASS e2e/linux.TestDetectApp (4.83s) PASS e2e/linux.TestBundle/simple-bundle (0.83s) PASS e2e/linux.TestBundle/bundle-with-tag (0.33s) PASS e2e/linux.TestBundle (7.77s) ∅ cmd/cnab-run ∅ cmd/docker-app ∅ cmd/docker-app-standalone ✓ internal (7ms) ✓ internal/compose (13ms) ✓ internal/formatter (7ms) ∅ cmd/cnab-run ∅ cmd/docker-app ∅ cmd/docker-app-standalone ✓ internal/inspect (47ms) PASS e2e/linux.TestDockerAppLifecycle/withBindMounts (21.73s) PASS e2e/linux.TestDockerAppLifecycle/withoutBindMounts (21.87s) PASS e2e/linux.TestDockerAppLifecycle (43.60s) ✓ internal (3ms) PASS e2e/linux.TestCredentials/missing (0.10s) PASS e2e/linux.TestCredentials/full (1.47s) PASS e2e/linux.TestCredentials/mixed-credstore (1.40s) PASS e2e/linux.TestCredentials/mixed-local-cred (1.41s) PASS e2e/linux.TestCredentials/overload (0.06s) PASS e2e/linux.TestCredentials (4.45s) ✓ internal/commands (598ms) ∅ internal/commands/image ∅ internal/formatter/driver ∅ internal/formatter/json ∅ internal/formatter/yaml ∅ internal/log ✓ internal/compose (5ms) ✓ internal/formatter (17ms) ✓ internal/slices (10ms) ✓ internal/packager (26ms) PASS e2e/linux.TestRenderWithEnvFile (1.76s) PASS e2e/linux.TestExamplesAreValid (0.12s) ✓ internal/inspect (56ms) ✖ internal/store (27ms) ✓ internal/yaml (1.749s) ✓ loader (16ms) ✓ internal/commands (396ms) ∅ internal/commands/image ∅ internal/formatter/driver ∅ internal/formatter/json ∅ internal/formatter/yaml ∅ internal/log ✓ render (39ms) ✓ internal/slices (2ms) ✓ specification (11ms) ✓ internal/packager (31ms) ✓ types (20ms) ✓ types/metadata (9ms) ✓ types/parameters (4ms) ✖ internal/store (29ms) === Failed === FAIL: internal/store TestRemove/error_on_unknown (0.00s) --- FAIL: TestRemove/error_on_unknown (0.00s) bundle_test.go:269: assertion failed: no such image my-repo/some-bundle:1.0.0 (string) != no such image docker.io/my-repo/some-bundle:1.0.0 (string) === FAIL: internal/store TestRemove (0.00s) DONE 210 tests, 2 failures in 92.438s make: *** [Makefile:106: coverage-test-unit] Error 1 docker.Makefile:106: recipe for target 'coverage-run' failed make: *** [coverage-run] Error 2 + true [Pipeline] sh + make EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- -f docker.Makefile TAG=jenkins-app-PR-653-4-coverage-experimental coverage-results docker cp docker-app-cov-jenkins-app-PR-653-4-coverage-experimental:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov docker cp docker-app-cov-jenkins-app-PR-653-4-coverage-experimental:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results ✓ internal/yaml (1.544s) docker rm docker-app-cov-jenkins-app-PR-653-4-coverage-experimental docker-app-cov-jenkins-app-PR-653-4-coverage-experimental [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-653/src/github.com/docker/app/_build/test-results [Pipeline] { [Pipeline] sh ✓ loader (10ms) + [ ! -e experimental-unit-coverage.xml ] + sed -i -E -e s,"github.com/docker/app","unit/experimental",g; s,"github.com/docker/app/([^"]*)","unit/experimental/\1",g experimental-unit-coverage.xml [Pipeline] sh + [ ! -e experimental-e2e-coverage.xml ] [Pipeline] archiveArtifacts Archiving artifacts Uploaded 1 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-653/4/artifacts/ [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // dir [Pipeline] sh ✓ render (63ms) + docker rmi docker/cnab-app-base:jenkins-app-PR-653-4-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-653-4-coverage-experimental Deleted: sha256:7d8af297890aabd84c441706a0b3b8a2f6ea49980e55ac934e2b38661907c18b Deleted: sha256:5e7aa51c581eb1e8f7b10427241bd7de13bdaeb8b0aae802d796e4835c7505c5 Deleted: sha256:0f5fabdf9389248ef9e2dfcb0b2a2619cdda5355eb7b0a377eb334ff11ceea0f [Pipeline] deleteDir ✓ specification (22ms) [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } ✓ types (20ms) ✓ types/metadata (7ms) ✓ types/parameters (13ms) === Failed === FAIL: internal/store TestRemove/error_on_unknown (0.00s) --- FAIL: TestRemove/error_on_unknown (0.00s) bundle_test.go:269: assertion failed: no such image my-repo/some-bundle:1.0.0 (string) != no such image docker.io/my-repo/some-bundle:1.0.0 (string) === FAIL: internal/store TestRemove (0.00s) DONE 210 tests, 2 failures in 95.643s make: *** [Makefile:106: coverage-test-unit] Error 1 docker.Makefile:106: recipe for target 'coverage-run' failed make: *** [coverage-run] Error 2 + true [Pipeline] sh + make -f docker.Makefile TAG=jenkins-app-PR-653-4-coverage coverage-results docker cp docker-app-cov-jenkins-app-PR-653-4-coverage:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov docker cp docker-app-cov-jenkins-app-PR-653-4-coverage:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results docker rm docker-app-cov-jenkins-app-PR-653-4-coverage docker-app-cov-jenkins-app-PR-653-4-coverage [Pipeline] } [Pipeline] // ansiColor [Pipeline] archiveArtifacts Archiving artifacts ‘_build/ci-cov/all.out’ doesn’t match anything: ‘_build’ exists but not ‘_build/ci-cov/all.out’ [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-653/src/github.com/docker/app/_build/test-results [Pipeline] { [Pipeline] sh + [ ! -e unit-coverage.xml ] + sed -i -E -e s,"github.com/docker/app","unit/basic",g; s,"github.com/docker/app/([^"]*)","unit/basic/\1",g unit-coverage.xml [Pipeline] sh + [ ! -e e2e-coverage.xml ] [Pipeline] archiveArtifacts Archiving artifacts Uploaded 1 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-653/4/artifacts/ [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-653-4-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-653-4-coverage Deleted: sha256:7d8af297890aabd84c441706a0b3b8a2f6ea49980e55ac934e2b38661907c18b Deleted: sha256:5e7aa51c581eb1e8f7b10427241bd7de13bdaeb8b0aae802d796e4835c7505c5 Deleted: sha256:0f5fabdf9389248ef9e2dfcb0b2a2619cdda5355eb7b0a377eb334ff11ceea0f [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Coverage PASS e2e/linux.TestImageList (15.56s) PASS e2e/linux.TestImageRm (15.69s) PASS e2e/linux.TestInvokePluginFromCLI (0.19s) PASS e2e/linux.TestPushArchs/default (3.32s) PASS e2e/linux.TestPushArchs/all-platforms (1.27s) PASS e2e/linux.TestPushArchs (16.35s) PASS e2e/linux.TestPushInsecureRegistry (17.00s) PASS e2e/linux.TestPushInstall (16.50s) PASS e2e/linux.TestPushPullInstall (16.96s) PASS e2e/linux.TestPushInstallBundle/push-bundle (5.14s) PASS e2e/linux.TestPushInstallBundle/push-ref (1.30s) PASS e2e/linux.TestPushInstallBundle/push-bundleref (1.84s) PASS e2e/linux.TestPushInstallBundle (21.21s) PASS e2e/linux DONE 40 tests in 202.530s time="2019-10-01T09:05:23Z" level=warning msg="failed to lookup go version for junit xml" error="exec: \"go\": executable file not found in $PATH" [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] archiveArtifacts Archiving artifacts Uploaded 1 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-653/4/artifacts/ [Pipeline] junit Recording test results [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-653-4 Untagged: docker/cnab-app-base:jenkins-app-PR-653-4 [Pipeline] deleteDir [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [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: No artifacts found that match the file pattern "_build/ci-cov/all.out". Configuration error? Finished: FAILURE