Pull request #654 opened Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 27bbc86db461767b25ce7521550ee2c2b9ec1ee9 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/jps.git > git init /var/cloudbees-jenkins-distribution/workspace/app_PR-654@libs/jps # timeout=10 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 > git config remote.origin.url https://github.com/docker/jps.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > 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 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" First time build. Skipping changelog. [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-0213a68e189313b33) in /home/ubuntu/workspace/app_PR-654 [Pipeline] { Running on ubuntu-1804-overlay2 (i-07498ce12ea8e859b) in /home/ubuntu/workspace/app_PR-654 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-654/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-654/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] script [Pipeline] { using credential docker-jenkins-github-credentials [Pipeline] checkout Running on ubuntu-1804-overlay2 (i-0ec26c8bd03a71f22) in /home/ubuntu/workspace/app_PR-654 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] { using credential docker-jenkins-github-credentials [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-654/src/github.com/docker/app [Pipeline] { 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-654/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/654/head:refs/remotes/origin/PR-654 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-654/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/654/head:refs/remotes/origin/PR-654 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-654/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/654/head:refs/remotes/origin/PR-654 Fetching without tags Checking out Revision 27bbc86db461767b25ce7521550ee2c2b9ec1ee9 (PR-654) Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/654/head:refs/remotes/origin/PR-654 # 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/654/head:refs/remotes/origin/PR-654 > git config core.sparsecheckout # timeout=10 > git checkout -f 27bbc86db461767b25ce7521550ee2c2b9ec1ee9 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/654/head:refs/remotes/origin/PR-654 # 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/654/head:refs/remotes/origin/PR-654 Checking out Revision 27bbc86db461767b25ce7521550ee2c2b9ec1ee9 (PR-654) Commit message: "Insert the latest tag implicitly" First time build. Skipping changelog. fatal: bad object ead69454b4062f17d1f8389642089a002b037213 Fetching without tags Checking out Revision 27bbc86db461767b25ce7521550ee2c2b9ec1ee9 (PR-654) Commit message: "Insert the latest tag implicitly" fatal: bad object ead69454b4062f17d1f8389642089a002b037213 Commit message: "Insert the latest tag implicitly" fatal: bad object ead69454b4062f17d1f8389642089a002b037213 [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-654-1 -f Dockerfile.lint . > git config core.sparsecheckout # timeout=10 > git checkout -f 27bbc86db461767b25ce7521550ee2c2b9ec1ee9 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/654/head:refs/remotes/origin/PR-654 # 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/654/head:refs/remotes/origin/PR-654 > git config core.sparsecheckout # timeout=10 > git checkout -f 27bbc86db461767b25ce7521550ee2c2b9ec1ee9 [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + 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-654-1 . + 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-654-1 . Sending build context to Docker daemon 72.93MB 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 ---> c3f01d2b9ada 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 ---> 8cc9b22d9b38 Step 6/8 : WORKDIR /go/src/github.com/docker/app ---> Using cache ---> 2f193c160663 Step 7/8 : ENV CGO_ENABLED=0 ---> Using cache ---> 48f44d9f6e9a Step 8/8 : COPY . . Sending build context to Docker daemon 72.93MB Step 1/8 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/8 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> 0832e4e256e9 Step 3/8 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> f4bd2a71ac0b Step 4/8 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 3903fe32b732 Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 63e62fbbfdc3 Step 6/8 : ARG GOPROXY ---> Using cache ---> 485fe154e869 Step 7/8 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> eab24490343c Step 8/8 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 30571aef7df0 [Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed Successfully built 30571aef7df0 Successfully tagged docker-app-cli:jenkins-app-PR-654-1 docker create --name docker-app-cli-jenkins-app-PR-654-1 docker-app-cli:jenkins-app-PR-654-1 noop 291eb74701f1efd181ad126069b3d900e7252a91e1ef06fa3ebbb6a2174b619c docker cp docker-app-cli-jenkins-app-PR-654-1:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux Sending build context to Docker daemon 72.93MB Step 1/14 : ARG ALPINE_VERSION=3.10.1 Step 2/14 : FROM golang:1.13.0 AS build 1.13.0: Pulling from library/golang 4a56a430b2ba: Pulling fs layer 4b5cacb629f5: Pulling fs layer 14408c8d4f9a: Pulling fs layer ea67eaa7dd42: Pulling fs layer a2a2197e145e: Pulling fs layer 36ac8c11a11f: Pulling fs layer ecd7d9a67e26: Pulling fs layer a2a2197e145e: Waiting 36ac8c11a11f: Waiting ecd7d9a67e26: Waiting ea67eaa7dd42: Waiting 4b5cacb629f5: Verifying Checksum 4b5cacb629f5: Download complete 14408c8d4f9a: Verifying Checksum 14408c8d4f9a: Download complete ea67eaa7dd42: Verifying Checksum ea67eaa7dd42: Download complete 4a56a430b2ba: Verifying Checksum 4a56a430b2ba: Download complete docker cp docker-app-cli-jenkins-app-PR-654-1:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin ecd7d9a67e26: Verifying Checksum ecd7d9a67e26: Download complete docker cp docker-app-cli-jenkins-app-PR-654-1:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe a2a2197e145e: Verifying Checksum a2a2197e145e: Download complete ---> 892f60592cf8 Successfully built 892f60592cf8 Successfully tagged docker-app-lint:jenkins-app-PR-654-1 docker run --rm docker-app-lint:jenkins-app-PR-654-1 make lint docker rm docker-app-cli-jenkins-app-PR-654-1 docker-app-cli-jenkins-app-PR-654-1 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-654-1 . 36ac8c11a11f: Verifying Checksum 36ac8c11a11f: Download complete Linting... Sending build context to Docker daemon 72.93MB 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 ---> 0832e4e256e9 Step 3/22 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> f4bd2a71ac0b Step 4/22 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 3903fe32b732 Step 5/22 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 63e62fbbfdc3 Step 6/22 : ARG GOPROXY ---> Using cache ---> 485fe154e869 Step 7/22 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> eab24490343c Step 8/22 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 30571aef7df0 Step 9/22 : FROM build AS dev ---> 30571aef7df0 Step 10/22 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 3462df077143 Step 11/22 : ARG DEP_VERSION=v0.5.1 ---> Using cache ---> f7db1ad315d2 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 ---> Using cache ---> fd46646cd45d Step 13/22 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> cdfec79bee0f Step 14/22 : ARG GOPROXY ---> Using cache ---> a690eacd5341 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 ---> Using cache ---> 11f359a65579 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 ---> Using cache ---> 5c369ea5aa0d 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/* ---> Using cache ---> d377b79f83e7 Step 18/22 : COPY . . 4a56a430b2ba: Pull complete 4b5cacb629f5: Pull complete 14408c8d4f9a: Pull complete ea67eaa7dd42: Pull complete ---> 62975b83cf1a Step 19/22 : FROM dev AS cross ---> 62975b83cf1a Step 20/22 : ARG EXPERIMENTAL="off" ---> Running in a0fc1b439a25 Removing intermediate container a0fc1b439a25 ---> 4c701dcf71c2 Step 21/22 : ARG TAG="unknown" ---> Running in 04acf4fa6f31 Removing intermediate container 04acf4fa6f31 ---> a238f66973d9 Step 22/22 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Running in e512aa89095c GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=27bbc86d -X github.com/docker/app/internal.Version=jenkins-app-PR-654-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:41:58Z" -o bin/docker-app-linux ./cmd/docker-app a2a2197e145e: Pull complete 36ac8c11a11f: Pull complete ecd7d9a67e26: Pull complete Digest: sha256:90d554b5ae59cb63d2bf42bdfcd60aa1feb4794d9e3a9cbb9d2deb477c088be0 Status: Downloaded newer image for golang:1.13.0 ---> c4d6fdf2260a Step 3/14 : RUN apt-get update -qq && apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 796769e586ab Reading package lists... Building dependency tree... Reading state information... coreutils is already the newest version (8.30-3). coreutils set to manually installed. util-linux is already the newest version (2.33.1-0.1). util-linux set to manually installed. The following NEW packages will be installed: uuid-runtime 0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded. Need to get 95.2 kB of archives. After this operation, 211 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 95.2 kB in 0s (371 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 ... 15394 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... Unpacking uuid-runtime (2.33.1-0.1) ... Setting up uuid-runtime (2.33.1-0.1) ... Adding group `uuidd' (GID 102) ... Done. Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory Adding system user `uuidd' (UID 101) ... Adding new user `uuidd' (UID 101) with group `uuidd' ... Not creating home directory `/run/uuidd'. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Removing intermediate container 796769e586ab ---> af4bf4eeb22f Step 4/14 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 1138853ffe9d Removing intermediate container 1138853ffe9d ---> 5c91fb4b328e Step 5/14 : COPY . . ---> c070d08de3a9 Step 6/14 : ARG EXPERIMENTAL="off" ---> Running in 600ac49a40e1 Removing intermediate container 600ac49a40e1 ---> 600f4e1d8304 Step 7/14 : ARG TAG="unknown" ---> Running in 5af493463077 Removing intermediate container 5af493463077 ---> 147661c423dd Step 8/14 : RUN make EXPERIMENTAL=${EXPERIMENTAL} BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run ---> Running in 848bbd16acb9 CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=27bbc86d -X github.com/docker/app/internal.Version=jenkins-app-PR-654-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:42:18Z" -o bin/cnab-run ./cmd/cnab-run [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-654-1 . 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 . . ---> 10b79feae409 [Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed Successfully built 10b79feae409 Successfully tagged docker-app-dev:jenkins-app-PR-654-1 Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-654-1 sh -c "make vendor && hack/check-git-diff vendor" rm -rf vendor 1>&1 dep ensure -v (1/95) Wrote github.com/Masterminds/semver@v1.4.2 (2/95) Wrote github.com/coreos/go-systemd@v20 (3/95) Wrote github.com/containerd/typeurl@master (4/95) Wrote github.com/containerd/fifo@master (5/95) Wrote github.com/containerd/continuity@master (6/95) Wrote github.com/agl/ed25519@master (7/95) Wrote github.com/beorn7/perks@master (8/95) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1 (9/95) Wrote github.com/containerd/cgroups@master (10/95) Wrote github.com/containerd/ttrpc@master (11/95) Wrote github.com/davecgh/go-spew@v1.1.1 (12/95) Wrote github.com/Microsoft/go-winio@v0.4.12 (13/95) Wrote github.com/Microsoft/hcsshim@v0.8.6 (14/95) Wrote vbom.ml/util@master (15/95) Wrote github.com/docker/docker-credential-helpers@v0.6.1 (16/95) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2 (17/95) Wrote github.com/docker/go@v1.5.1-1 (18/95) Wrote github.com/docker/go-events@master (19/95) Wrote github.com/docker/go-connections@v0.4.0 (20/95) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 (21/95) Wrote github.com/docker/go-units@v0.3.3 (22/95) Wrote github.com/godbus/dbus@v5.0.1 (23/95) Wrote github.com/gogo/googleapis@v1.2.0 (24/95) Wrote github.com/google/go-cmp@v0.2.0 (25/95) Wrote github.com/google/gofuzz@v1.0.0 (26/95) Wrote github.com/google/shlex@master (27/95) Wrote github.com/hashicorp/go-version@v1.1.0 (28/95) Wrote github.com/gorilla/mux@v1.7.1 (29/95) Wrote github.com/hashicorp/golang-lru@v0.5.1 (30/95) Wrote github.com/imdario/mergo@master (31/95) Wrote github.com/inconshreveable/mousetrap@v1.0 (32/95) Wrote github.com/globalsign/mgo@master (33/95) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2 (34/95) Wrote github.com/docker/compose-on-kubernetes@v0.4.21 (35/95) Wrote github.com/mattn/go-shellwords@v1.0.5 (36/95) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (37/95) Wrote github.com/json-iterator/go@v1.1.6 (38/95) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1 (39/95) Wrote github.com/googleapis/gnostic@v0.2.0 (40/95) Wrote github.com/miekg/pkcs11@master (41/95) Wrote github.com/mitchellh/mapstructure@v1.1.2 (42/95) Wrote github.com/morikuni/aec@master (43/95) Wrote github.com/modern-go/reflect2@1.0.1 (44/95) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1 (45/95) Wrote github.com/modern-go/concurrent@1.0.3 (46/95) Wrote github.com/opencontainers/image-spec@v1.0.1 (47/95) Wrote github.com/oklog/ulid@v1.3.1 (48/95) Wrote github.com/golang/protobuf@v1.3.1 (49/95) Wrote github.com/pkg/errors@v0.8.1 (50/95) Wrote github.com/containerd/containerd@master (51/95) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 (52/95) Wrote github.com/prometheus/client_model@master (53/95) Wrote github.com/prometheus/client_golang@v0.8.0 (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 GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=27bbc86d -X github.com/docker/app/internal.Version=jenkins-app-PR-654-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:41:58Z" -o bin/docker-app-darwin ./cmd/docker-app (59/95) Wrote github.com/opencontainers/runc@v1.0.0-rc7 (60/95) Wrote github.com/spf13/pflag@master (61/95) Wrote github.com/syndtr/gocapability@master (62/95) Wrote github.com/spf13/cobra@v0.0.5 (63/95) Wrote github.com/wadey/gocovmerge@master (64/95) Wrote github.com/xeipuuv/gojsonpointer@master (65/95) Wrote github.com/xeipuuv/gojsonreference@master (66/95) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d (67/95) Wrote golang.org/x/oauth2@master (68/95) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc (69/95) Wrote github.com/docker/cli@83751b978155dc889c35e0e49654f76e7cf8d951 (70/95) Wrote golang.org/x/crypto@master (71/95) Wrote golang.org/x/sync@master (72/95) Wrote golang.org/x/time@master (73/95) Wrote gopkg.in/inf.v0@v0.9.1 (74/95) Wrote golang.org/x/net@master (75/95) Wrote google.golang.org/appengine@v1.5.0 (76/95) Wrote gotest.tools@v2.3.0 (77/95) Wrote github.com/coreos/etcd@v3.3.12 (78/95) Wrote gopkg.in/yaml.v2 (from https://github.com/simonferquel/yaml)@c86e64ed9581b7588e736f0c3e6ecc02cc22996e (79/95) Wrote k8s.io/klog@v0.2.0 (80/95) Wrote k8s.io/utils@master (81/95) Wrote sigs.k8s.io/yaml@v1.1.0 (82/95) Wrote k8s.io/apimachinery@kubernetes-1.14.1 (83/95) Wrote github.com/Azure/go-ansiterm@master (84/95) Wrote golang.org/x/sys@master (85/95) Wrote google.golang.org/grpc@v1.19.1 (86/95) Wrote golang.org/x/text@v0.3.0 (87/95) Wrote github.com/theupdateframework/notary@v0.6.1 (88/95) Wrote golang.org/x/tools@master (89/95) Wrote k8s.io/client-go@kubernetes-1.14.1 Removing intermediate container 848bbd16acb9 ---> aada4a1ba60a 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 0e43a54eb445 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 0e43a54eb445 ---> 7aa6e510a7cf Step 11/14 : USER cnab ---> Running in 3c9039e98580 Removing intermediate container 3c9039e98580 ---> f557655d5f8f Step 12/14 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run ---> 559495719181 Step 13/14 : WORKDIR /cnab/app ---> Running in 862b49f0dba1 Removing intermediate container 862b49f0dba1 ---> 3fa366bb7401 Step 14/14 : CMD /cnab/app/run ---> Running in 1e7944bbbb8f Removing intermediate container 1e7944bbbb8f ---> 3ca610da31f8 [Warning] One or more build-args [COMMIT GOPROXY] were not consumed Successfully built 3ca610da31f8 Successfully tagged docker/cnab-app-base:jenkins-app-PR-654-1 docker save docker/cnab-app-base:jenkins-app-PR-654-1 -o _build/invocation-image.tar [Pipeline] sh (90/95) Wrote google.golang.org/genproto@master + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-654-1-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-654-1 docker/cnab-app-base:jenkins-app-PR-654-1-coverage docker save docker/cnab-app-base:jenkins-app-PR-654-1-coverage -o _build/coverage-invocation-image.tar (91/95) Wrote cloud.google.com/go@v0.37.4 [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-654-1-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-654-1 docker/cnab-app-base:jenkins-app-PR-654-1-coverage-experimental docker save docker/cnab-app-base:jenkins-app-PR-654-1-coverage-experimental -o _build/coverage-experimental-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-654/src/github.com/docker/app/_build [Pipeline] { [Pipeline] stash (92/95) 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-654/1/stashes/invocation-image.tgz [Pipeline] stash Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-654/1/stashes/coverage-invocation-image.tgz [Pipeline] stash (93/95) Wrote k8s.io/api@kubernetes-1.14.1 GOOS=windows CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=27bbc86d -X github.com/docker/app/internal.Version=jenkins-app-PR-654-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:41:58Z" -o bin/docker-app-windows.exe ./cmd/docker-app Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-654/1/stashes/coverage-experimental-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-654/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-654-1 Untagged: docker/cnab-app-base:jenkins-app-PR-654-1 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-654-1-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-654-1-coverage [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-654-1-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-654-1-coverage-experimental Deleted: sha256:3ca610da31f8b5f450ad8e779dffb62c98a5283c9e69e0919c51fb35227bb301 Deleted: sha256:3fa366bb74018a04c19c46d2a95d3163e626efb7c1132eb08193e34330751c73 Deleted: sha256:5594957191811faa4d2d057c11a7f59042d65bcfc993a4b86c15f5cc3a872490 Deleted: sha256:a2dd4caf282ce1d933953128f192a96802c849b105e9975ea80c7e931ab922c7 Deleted: sha256:f557655d5f8f19decf1812bde237d130f7a3000964e286a009a7d63fb9a80c15 Deleted: sha256:7aa6e510a7cf4c5bde5a5650355063dd43cde95b508ef8c54776b79d9e13f40c Deleted: sha256:c47cbd7b4689691e36c17ee1c70a6c3b623dad5f4a15afe1eac3a99eafc7fa64 [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } (94/95) Wrote github.com/docker/docker@master GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=27bbc86d -X github.com/docker/app/internal.Version=jenkins-app-PR-654-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:41:58Z" -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=27bbc86d -X github.com/docker/app/internal.Version=jenkins-app-PR-654-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:41:58Z" -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=27bbc86d -X github.com/docker/app/internal.Version=jenkins-app-PR-654-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:41:58Z" -o bin/docker-app-standalone-windows.exe ./cmd/docker-app-standalone Removing intermediate container e512aa89095c ---> 1199f85b4c49 [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 1199f85b4c49 Successfully tagged docker-app-cross:jenkins-app-PR-654-1 docker create --name docker-app-cross-jenkins-app-PR-654-1 docker-app-cross:jenkins-app-PR-654-1 noop 5b36f6664a7cf9dda1834277d1f1a36de95ec810d1036c475e6ee1f0d9ed2561 docker cp docker-app-cross-jenkins-app-PR-654-1:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux docker cp docker-app-cross-jenkins-app-PR-654-1:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin docker cp docker-app-cross-jenkins-app-PR-654-1:/go/src/github.com/docker/app/bin/docker-app-windows.exe bin/docker-app-windows.exe docker cp docker-app-cross-jenkins-app-PR-654-1:/go/src/github.com/docker/app/bin/docker-app-standalone-linux bin/docker-app-standalone-linux docker cp docker-app-cross-jenkins-app-PR-654-1:/go/src/github.com/docker/app/bin/docker-app-standalone-darwin bin/docker-app-standalone-darwin docker cp docker-app-cross-jenkins-app-PR-654-1:/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-654-1 docker-app-cross-jenkins-app-PR-654-1 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-654-1 . Sending build context to Docker daemon 72.93MB 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 ---> 0832e4e256e9 Step 3/26 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> f4bd2a71ac0b Step 4/26 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 3903fe32b732 Step 5/26 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 63e62fbbfdc3 Step 6/26 : ARG GOPROXY ---> Using cache ---> 485fe154e869 Step 7/26 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> eab24490343c Step 8/26 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 30571aef7df0 Step 9/26 : FROM build AS dev ---> 30571aef7df0 Step 10/26 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 3462df077143 Step 11/26 : ARG DEP_VERSION=v0.5.1 ---> Using cache ---> f7db1ad315d2 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 ---> fd46646cd45d Step 13/26 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> cdfec79bee0f Step 14/26 : ARG GOPROXY ---> Using cache ---> a690eacd5341 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 ---> 11f359a65579 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 ---> 5c369ea5aa0d 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 ---> d377b79f83e7 Step 18/26 : COPY . . ---> Using cache ---> 62975b83cf1a Step 19/26 : FROM dev AS cross ---> 62975b83cf1a Step 20/26 : ARG EXPERIMENTAL="off" ---> Using cache ---> 4c701dcf71c2 Step 21/26 : ARG TAG="unknown" ---> Using cache ---> a238f66973d9 Step 22/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Using cache ---> 1199f85b4c49 Step 23/26 : FROM cross AS e2e-cross ---> 1199f85b4c49 Step 24/26 : ARG EXPERIMENTAL="off" ---> Running in 6c306a8d85be Removing intermediate container 6c306a8d85be ---> 69b9494c2a96 Step 25/26 : ARG TAG="unknown" ---> Running in b9164a3f83e1 Removing intermediate container b9164a3f83e1 ---> 3b9199223677 Step 26/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} e2e-cross ---> Running in d740e0e729b2 GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=27bbc86d -X github.com/docker/app/internal.Version=jenkins-app-PR-654-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:44:48Z" -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=27bbc86d -X github.com/docker/app/internal.Version=jenkins-app-PR-654-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:44:48Z" -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=27bbc86d -X github.com/docker/app/internal.Version=jenkins-app-PR-654-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:44:48Z" -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=27bbc86d -X github.com/docker/app/internal.Version=jenkins-app-PR-654-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:44:48Z" -c -o bin/docker-app-e2e-darwin ./e2e/ (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] } GOOS=windows CGO_ENABLED=0 go test -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=27bbc86d -X github.com/docker/app/internal.Version=jenkins-app-PR-654-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:44:48Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ Removing intermediate container d740e0e729b2 ---> a29011f4567e [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built a29011f4567e Successfully tagged docker-app-e2e-cross:jenkins-app-PR-654-1 docker create --name docker-app-e2e-cross-jenkins-app-PR-654-1 docker-app-e2e-cross:jenkins-app-PR-654-1 noop 2b1d1301809405cbf1b5149660df4cae74925c9b2b7b04dcaaa233f468e2c522 docker cp docker-app-e2e-cross-jenkins-app-PR-654-1:/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-654-1:/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-654-1:/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-654-1:/usr/local/bin/gotestsum-linux bin/gotestsum-linux docker cp docker-app-e2e-cross-jenkins-app-PR-654-1:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-654-1:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-654-1:/usr/local/bin/test2json-linux bin/test2json-linux docker cp docker-app-e2e-cross-jenkins-app-PR-654-1:/usr/local/bin/test2json-darwin bin/test2json-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-654-1:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe docker rm docker-app-e2e-cross-jenkins-app-PR-654-1 docker-app-e2e-cross-jenkins-app-PR-654-1 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-654/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-654/1/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-654/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-654/1/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-654/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-654/1/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-654-1* + xargs docker image rm -f Untagged: docker-app-e2e-cross:jenkins-app-PR-654-1 Deleted: sha256:a29011f4567e3284c502668d7e677a56f816be73781aca580edd91e4611f640b Deleted: sha256:5c796634aa8eedaa8dcf96631bbd242e195433c4d356b8bd3a64189babc07c79 Deleted: sha256:3b9199223677d159f9ae2b6f4be5d960db7744b86fa19cdbaa1354ae85ed3865 Deleted: sha256:69b9494c2a966dbb7c9ca1e693a61d2ee75c1de31358f3b587a5ed75b63f403d Untagged: docker-app-cross:jenkins-app-PR-654-1 Deleted: sha256:1199f85b4c492e771e1fc60fb02d62c9b8fa148b10f00a50e37369eb7f3e61e4 Deleted: sha256:4d8a55454c1ccaabfe529b527dfec046f4e86f7595f5dc13bb7c1e7b8accffb3 Deleted: sha256:a238f66973d9f03a272687f635f9b178d62bb8af59a5ede3aa4114d2fdc7e55c Deleted: sha256:4c701dcf71c2b5b9a02a12081ee021623fd8e89276322d43ac22e0dd37ab3c38 Deleted: sha256:62975b83cf1a5a74334f8542890a56ef6651cc79ad1b9a184b1980d93a1e0c89 Deleted: sha256:a2c286e866cdc3c79ae1a3ce0dfc838e4c77ea43e65daf951446a3ecf88df16e Untagged: docker-app-cli:jenkins-app-PR-654-1 [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-654 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-654/src/github.com/docker/app [Pipeline] { Running on ubuntu-1804-overlay2 (i-040a2c18095519719) in /home/ubuntu/workspace/app_PR-654 [Pipeline] { [Pipeline] checkout Running on ubuntu-1804-overlay2 (i-092a85519b0f05a99) in /home/ubuntu/workspace/app_PR-654 [Pipeline] { using credential docker-jenkins-github-credentials [Pipeline] withEnv [Pipeline] { Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-654/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-654/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-654/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/654/head:refs/remotes/origin/PR-654 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-654/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/654/head:refs/remotes/origin/PR-654 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-654/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/654/head:refs/remotes/origin/PR-654 Fetching without tags Checking out Revision 27bbc86db461767b25ce7521550ee2c2b9ec1ee9 (PR-654) Fetching without tags Fetching without tags Checking out Revision 27bbc86db461767b25ce7521550ee2c2b9ec1ee9 (PR-654) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/654/head:refs/remotes/origin/PR-654 # 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/654/head:refs/remotes/origin/PR-654 Checking out Revision 27bbc86db461767b25ce7521550ee2c2b9ec1ee9 (PR-654) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/654/head:refs/remotes/origin/PR-654 # 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/654/head:refs/remotes/origin/PR-654 > git config core.sparsecheckout # timeout=10 > git checkout -f 27bbc86db461767b25ce7521550ee2c2b9ec1ee9 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/654/head:refs/remotes/origin/PR-654 # 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/654/head:refs/remotes/origin/PR-654 > git config core.sparsecheckout # timeout=10 > git checkout -f 27bbc86db461767b25ce7521550ee2c2b9ec1ee9 Commit message: "Insert the latest tag implicitly" fatal: bad object ead69454b4062f17d1f8389642089a002b037213 Commit message: "Insert the latest tag implicitly" fatal: bad object ead69454b4062f17d1f8389642089a002b037213 Commit message: "Insert the latest tag implicitly" fatal: bad object ead69454b4062f17d1f8389642089a002b037213 [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-654/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-654/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash > git config core.sparsecheckout # timeout=10 > git checkout -f 27bbc86db461767b25ce7521550ee2c2b9ec1ee9 [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-654/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-654/1/stashes/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-654/1/stashes/coverage-invocation-image.tgz [Pipeline] sh + docker load -i invocation-image.tar + docker load -i coverage-invocation-image.tar Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-654/1/stashes/coverage-experimental-invocation-image.tgz [Pipeline] sh + docker load -i coverage-experimental-invocation-image.tar Loaded image: docker/cnab-app-base:jenkins-app-PR-654-1 [Pipeline] } [Pipeline] // dir [Pipeline] unstash Loaded image: docker/cnab-app-base:jenkins-app-PR-654-1-coverage [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile TAG=jenkins-app-PR-654-1-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-654-1 . Loaded image: docker/cnab-app-base:jenkins-app-PR-654-1-coverage-experimental [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- -f docker.Makefile TAG=jenkins-app-PR-654-1-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-654-1 . 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 . . 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 ---> Running in a4fea58af47a Removing intermediate container a4fea58af47a ---> 6a6b3fb2b38c Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in d146c7933961 Reading package lists... Building dependency tree... Reading state information... coreutils is already the newest version (8.30-3). coreutils set to manually installed. util-linux is already the newest version (2.33.1-0.1). util-linux set to manually installed. The following NEW packages will be installed: uuid-runtime 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 95.2 kB of archives. After this operation, 211 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 95.2 kB in 0s (365 kB/s) Selecting previously unselected package uuid-runtime. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 25419 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... Unpacking uuid-runtime (2.33.1-0.1) ... Setting up uuid-runtime (2.33.1-0.1) ... Adding group `uuidd' (GID 102) ... Done. Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory Adding system user `uuidd' (UID 101) ... Adding new user `uuidd' (UID 101) with group `uuidd' ... Not creating home directory `/run/uuidd'. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Removing intermediate container d146c7933961 ---> d4e47f3daaf7 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Running in 23b09e109f73 Removing intermediate container 23b09e109f73 ---> 2a9b776afe7a Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in e78022db08c8 Cloning into '.'...  ---> b8b26a52f5cf [Warning] One or more build-args [EXPERIMENTAL TAG ALPINE_VERSION COMMIT] were not consumed Successfully built b8b26a52f5cf Successfully tagged docker-app-dev:jenkins-app-PR-654-1 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-654-1-coverage --network="host" -t docker-app-dev:jenkins-app-PR-654-1 make COMMIT=27bbc86d TAG=jenkins-app-PR-654-1-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=27bbc86d -X github.com/docker/app/internal.Version=jenkins-app-PR-654-1-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-01T09:46:38Z" -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-654/1/stashes/binaries.tgz [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-654/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-654/1/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-654/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-654/1/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 Note: checking out 'a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact Removing intermediate container e78022db08c8 ---> e8b9e7b50b85 Step 6/18 : ARG GOPROXY ---> Running in 43914e75da9e Removing intermediate container 43914e75da9e ---> 860087ae2fc3 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in ca84fbb75942 ./scripts/build/osx Building build/docker-darwin-amd64 PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (3.34s) PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (3.01s) PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (2.96s) PASS e2e/linux.TestCallCustomStatusAction (9.32s) PASS e2e/linux.TestCnabParameters (2.99s) PASS e2e/linux.TestExitErrorCode (0.06s) PASS e2e/linux.TestRender/envvariables/stdout (1.75s) PASS e2e/linux.TestRender/envvariables/file (1.52s) PASS e2e/linux.TestRender/envvariables (3.27s) PASS e2e/linux.TestRender (3.27s) PASS e2e/linux.TestRenderFormatters (3.31s) PASS e2e/linux.TestInit (0.12s) PASS e2e/linux.TestDetectApp (5.16s) PASS e2e/linux.TestBundle/simple-bundle (0.72s) PASS e2e/linux.TestBundle/bundle-with-tag (0.33s) PASS e2e/linux.TestBundle (7.51s) PASS e2e/linux.TestDockerAppLifecycle/withBindMounts (20.84s) PASS e2e/linux.TestDockerAppLifecycle/withoutBindMounts (22.04s) PASS e2e/linux.TestDockerAppLifecycle (42.89s) PASS e2e/linux.TestCredentials/missing (0.07s) PASS e2e/linux.TestCredentials/full (1.46s) PASS e2e/linux.TestCredentials/mixed-credstore (1.43s) PASS e2e/linux.TestCredentials/mixed-local-cred (1.43s) PASS e2e/linux.TestCredentials/overload (0.06s) PASS e2e/linux.TestCredentials (4.45s) ∅ cmd/cnab-run ∅ cmd/docker-app ∅ cmd/docker-app-standalone ✓ internal (21ms) ✓ internal/compose (19ms) ✓ internal/formatter (3ms) PASS e2e/linux.TestRenderWithEnvFile (1.82s) PASS e2e/linux.TestExamplesAreValid (0.13s) ✓ internal/inspect (76ms) ✓ internal/commands (391ms) ∅ internal/commands/image ∅ internal/formatter/driver ∅ internal/formatter/json ∅ internal/formatter/yaml ∅ internal/log ✓ internal/slices (2ms) ✓ internal/packager (34ms) ✖ internal/store (31ms) ✓ internal/yaml (1.619s) ✓ loader (9ms) ✓ render (49ms) ✓ specification (9ms) ✓ types/metadata (9ms) ✓ types (18ms) ✓ types/parameters (6ms) === 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.737s 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-654-1-coverage coverage-results docker cp docker-app-cov-jenkins-app-PR-654-1-coverage:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov docker cp docker-app-cov-jenkins-app-PR-654-1-coverage:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results docker rm docker-app-cov-jenkins-app-PR-654-1-coverage docker-app-cov-jenkins-app-PR-654-1-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-654/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-654/1/artifacts/ [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-654-1-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-654-1-coverage Deleted: sha256:3ca610da31f8b5f450ad8e779dffb62c98a5283c9e69e0919c51fb35227bb301 Deleted: sha256:a2dd4caf282ce1d933953128f192a96802c849b105e9975ea80c7e931ab922c7 Deleted: sha256:c47cbd7b4689691e36c17ee1c70a6c3b623dad5f4a15afe1eac3a99eafc7fa64 [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Coverage PASS e2e/linux.TestImageList (15.87s) ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 PASS e2e/linux.TestImageRm (15.48s) PASS e2e/linux.TestInvokePluginFromCLI (0.18s) PASS e2e/linux.TestPushArchs/default (3.36s) PASS e2e/linux.TestPushArchs/all-platforms (1.09s) PASS e2e/linux.TestPushArchs (16.18s) PASS e2e/linux.TestPushInsecureRegistry (17.82s) PASS e2e/linux.TestPushInstall (16.60s) WARNING: binary creates a Linux executable. Use cross for macOS or Windows. ./scripts/build/binary Building statically linked build/docker-linux-amd64 PASS e2e/linux.TestPushPullInstall (16.97s) PASS e2e/linux.TestPushInstallBundle/push-bundle (5.14s) PASS e2e/linux.TestPushInstallBundle/push-ref (1.28s) PASS e2e/linux.TestPushInstallBundle/push-bundleref (1.90s) PASS e2e/linux.TestPushInstallBundle (19.71s) PASS e2e/linux DONE 40 tests in 199.861s time="2019-10-01T09:50:00Z" 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-654/1/artifacts/ [Pipeline] junit Recording test results [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-654-1 Untagged: docker/cnab-app-base:jenkins-app-PR-654-1 [Pipeline] deleteDir [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Removing intermediate container ca84fbb75942 ---> f4082f3fef67 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 894b38ad373f Removing intermediate container 894b38ad373f ---> 7dc6583bfb0a Step 9/18 : FROM build AS dev ---> 7dc6583bfb0a Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in 1395249184d0 Removing intermediate container 1395249184d0 ---> bdd480f6f600 Step 11/18 : ARG DEP_VERSION=v0.5.1 ---> Running in 96c5f0f2c6cc Removing intermediate container 96c5f0f2c6cc ---> 5ec329d56e89 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 ---> Running in a97c8e1e2270  % 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 7960 0 --:--:-- --:--:-- --:--:-- 7960  100 10.5M 100 10.5M 0 0 41.0M  0 --:--:-- --:--:-- --:--:-- 41.0M Removing intermediate container a97c8e1e2270 ---> 4ea68c6488a1 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in f777f1653e9c Removing intermediate container f777f1653e9c ---> 8bfcfc0f179b Step 14/18 : ARG GOPROXY ---> Running in 5fe885b02fe0 Removing intermediate container 5fe885b02fe0 ---> 267bc28c9eb8 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 ---> Running in 1cfc25d6ec6d go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/onsi/gomega v1.4.3 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding gotest.tools v2.1.0+incompatible go: finding github.com/stretchr/testify v1.3.0 go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding github.com/mattn/go-colorable v0.0.9 go: finding golang.org/x/text v0.3.0 go: finding github.com/onsi/ginkgo v1.6.0 go: finding github.com/golang/protobuf v1.2.0 go: finding github.com/hpcloud/tail v1.0.0 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding github.com/stretchr/objx v0.1.0 go: finding github.com/davecgh/go-spew v1.1.0 go: finding github.com/fatih/color v1.6.0 go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 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/sirupsen/logrus v1.0.5 go: downloading github.com/pkg/errors v0.8.0 go: downloading github.com/fatih/color v1.6.0 go: downloading github.com/jonboulle/clockwork v0.1.0 go: extracting github.com/pkg/errors v0.8.0 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading github.com/spf13/pflag v1.0.1 go: extracting github.com/jonboulle/clockwork v0.1.0 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 golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting github.com/spf13/pflag v1.0.1 go: extracting github.com/fatih/color v1.6.0 go: downloading github.com/mattn/go-isatty v0.0.3 go: downloading github.com/mattn/go-colorable v0.0.9 go: extracting github.com/mattn/go-isatty v0.0.3 go: extracting github.com/mattn/go-colorable v0.0.9 go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e Removing intermediate container 1cfc25d6ec6d ---> c157110fddfd 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 ---> Running in 38716d8298c0 Removing intermediate container 38716d8298c0 ---> 30b565347e86 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/* ---> Running in 861610ed598e 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 861610ed598e ---> bf1e48d46161 Step 18/18 : COPY . . ---> 6cefc48aac70 [Warning] One or more build-args [TAG ALPINE_VERSION COMMIT EXPERIMENTAL] were not consumed Successfully built 6cefc48aac70 Successfully tagged docker-app-dev:jenkins-app-PR-654-1 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-654-1-coverage-experimental --network="host" -t docker-app-dev:jenkins-app-PR-654-1 make COMMIT=27bbc86d TAG=jenkins-app-PR-654-1-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=27bbc86d -X github.com/docker/app/internal.Version=jenkins-app-PR-654-1-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-01T09:51:13Z" -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 ∅ . ∅ cmd/cnab-run ∅ cmd/docker-app ∅ cmd/docker-app-standalone ✓ internal (7ms) ✓ internal/compose (10ms) ✓ internal/formatter (10ms) ✓ internal/inspect (46ms) ✓ internal/commands (264ms) ∅ internal/commands/image ∅ internal/formatter/driver ∅ internal/formatter/json ∅ internal/formatter/yaml ∅ internal/log ✓ internal/slices (18ms) ✓ internal/packager (43ms) ✖ internal/store (45ms) ✓ internal/yaml (1.701s) ✓ loader (10ms) ✓ specification (11ms) ✓ render (44ms) ✓ types (25ms) ✓ types/metadata (8ms) ✓ types/parameters (4ms) === 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.018s 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-654-1-coverage-experimental coverage-results docker cp docker-app-cov-jenkins-app-PR-654-1-coverage-experimental:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov docker cp docker-app-cov-jenkins-app-PR-654-1-coverage-experimental:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results docker rm docker-app-cov-jenkins-app-PR-654-1-coverage-experimental docker-app-cov-jenkins-app-PR-654-1-coverage-experimental [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-654/src/github.com/docker/app/_build/test-results [Pipeline] { [Pipeline] sh + [ ! -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-654/1/artifacts/ [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-654-1-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-654-1-coverage-experimental Deleted: sha256:3ca610da31f8b5f450ad8e779dffb62c98a5283c9e69e0919c51fb35227bb301 Deleted: sha256:a2dd4caf282ce1d933953128f192a96802c849b105e9975ea80c7e931ab922c7 Deleted: sha256:c47cbd7b4689691e36c17ee1c70a6c3b623dad5f4a15afe1eac3a99eafc7fa64 Deleted: sha256:1bfeebd65323b8ddf5bd6a51cc7097b72788bc982e9ab3280d53d3c613adffa7 [Pipeline] deleteDir [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