Pull request #625 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 1687455853e381f3f682fc3778976ac825cc6eb0 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-047d43c27030a2a73) in /home/ubuntu/workspace/app_PR-625 Running on ubuntu-1804-overlay2 (i-042b982cc972ae61e) in /home/ubuntu/workspace/app_PR-625 Running on ubuntu-1804-overlay2 (i-071f0e1e3cbc3c7cb) in /home/ubuntu/workspace/app_PR-625 [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] checkout using credential docker-jenkins-github-credentials using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [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-625/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/625/head:refs/remotes/origin/PR-625 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-625/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/625/head:refs/remotes/origin/PR-625 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-625/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/625/head:refs/remotes/origin/PR-625 Fetching without tags Fetching without tags Checking out Revision 1687455853e381f3f682fc3778976ac825cc6eb0 (PR-625) Fetching without tags Checking out Revision 1687455853e381f3f682fc3778976ac825cc6eb0 (PR-625) Checking out Revision 1687455853e381f3f682fc3778976ac825cc6eb0 (PR-625) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/625/head:refs/remotes/origin/PR-625 # 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/625/head:refs/remotes/origin/PR-625 > git config core.sparsecheckout # timeout=10 > git checkout -f 1687455853e381f3f682fc3778976ac825cc6eb0 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/625/head:refs/remotes/origin/PR-625 # 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/625/head:refs/remotes/origin/PR-625 > git config core.sparsecheckout # timeout=10 > git checkout -f 1687455853e381f3f682fc3778976ac825cc6eb0 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/625/head:refs/remotes/origin/PR-625 # 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/625/head:refs/remotes/origin/PR-625 > git config core.sparsecheckout # timeout=10 > git checkout -f 1687455853e381f3f682fc3778976ac825cc6eb0 Commit message: "app-214 Enabled validate only for experimental mode" First time build. Skipping changelog. Commit message: "app-214 Enabled validate only for experimental mode" Commit message: "app-214 Enabled validate only for experimental mode" [Pipeline] ansiColor [Pipeline] { [Pipeline] ansiColor [Pipeline] { [Pipeline] sh [Pipeline] sh + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-625-3 -f Dockerfile.lint . > git rev-list --no-walk 2ab8657cc45bb74e5ea8855b2270ed2a83d7be56 # timeout=10 + 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-625-3 . [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + 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-625-3 . Sending build context to Docker daemon 79.46MB 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 ---> f48b85c2dc74 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 ---> d2712631097c Step 6/8 : WORKDIR /go/src/github.com/docker/app ---> Using cache ---> a038fec55b78 Step 7/8 : ENV CGO_ENABLED=0 ---> Using cache ---> 6b1cb441f4b6 Step 8/8 : COPY . . Sending build context to Docker daemon 79.46MB 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 ---> 805b09a41040 Step 3/8 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 9987223e2977 Step 4/8 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> d00299a491fd Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> b280a83b50b6 Step 6/8 : ARG GOPROXY ---> Using cache ---> 8dd3950f77b4 Step 7/8 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> fe1d9f0bb650 Step 8/8 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 8dabb3d101ee [Warning] One or more build-args [TAG ALPINE_VERSION COMMIT EXPERIMENTAL] were not consumed Successfully built 8dabb3d101ee Successfully tagged docker-app-cli:jenkins-app-PR-625-3 docker create --name docker-app-cli-jenkins-app-PR-625-3 docker-app-cli:jenkins-app-PR-625-3 noop cdf9c9733003f88e30ae5c432e7207ba4ffb91805e57d162e3238061bc4b3662 docker cp docker-app-cli-jenkins-app-PR-625-3:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux docker cp docker-app-cli-jenkins-app-PR-625-3:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin Sending build context to Docker daemon 79.46MB 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 ---> 860a9b675bc0 Step 4/14 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 50cfda360b41 Step 5/14 : COPY . . docker cp docker-app-cli-jenkins-app-PR-625-3:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe docker rm docker-app-cli-jenkins-app-PR-625-3 docker-app-cli-jenkins-app-PR-625-3 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-625-3 . Sending build context to Docker daemon 79.46MB 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 ---> 805b09a41040 Step 3/22 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 9987223e2977 Step 4/22 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> d00299a491fd Step 5/22 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> b280a83b50b6 Step 6/22 : ARG GOPROXY ---> Using cache ---> 8dd3950f77b4 Step 7/22 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> fe1d9f0bb650 Step 8/22 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 8dabb3d101ee Step 9/22 : FROM build AS dev ---> 8dabb3d101ee Step 10/22 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 00f9d1d319c9 Step 11/22 : ARG DEP_VERSION=v0.5.1 ---> Using cache ---> 4791464079ac 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 ---> 6e2f69e38df8 Step 13/22 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> c2aaf143efd2 Step 14/22 : ARG GOPROXY ---> Using cache ---> 6b6091156459 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 ---> f5e4a3ad4f44 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 ---> ea3f41fd58d9 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 ---> 799c87310ce7 Step 18/22 : COPY . . ---> 744e3a356b77 Successfully built 744e3a356b77 Successfully tagged docker-app-lint:jenkins-app-PR-625-3 docker run --rm docker-app-lint:jenkins-app-PR-625-3 make lint Linting... ---> a75ab3a66951 Step 6/14 : ARG EXPERIMENTAL="off" ---> Running in 0ad08e753cc2 Removing intermediate container 0ad08e753cc2 ---> ac0a5c278fff Step 7/14 : ARG TAG="unknown" ---> Running in fb8805e46703 Removing intermediate container fb8805e46703 ---> 58e03889023e Step 8/14 : RUN make EXPERIMENTAL=${EXPERIMENTAL} BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run ---> Running in 4948e6e72c85 ---> 7eacf972b4b1 Step 19/22 : FROM dev AS cross ---> 7eacf972b4b1 Step 20/22 : ARG EXPERIMENTAL="off" ---> Running in 87a35cd5c5f3 Removing intermediate container 87a35cd5c5f3 ---> 2bd4df24f7cd Step 21/22 : ARG TAG="unknown" ---> Running in 587b1b40c4d9 Removing intermediate container 587b1b40c4d9 ---> 090bb6bb042f Step 22/22 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Running in 23024ef716e5 CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=16874558 -X github.com/docker/app/internal.Version=jenkins-app-PR-625-3 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-20T18:29:11Z" -o bin/cnab-run ./cmd/cnab-run GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=16874558 -X github.com/docker/app/internal.Version=jenkins-app-PR-625-3 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-20T18:29:12Z" -o bin/docker-app-linux ./cmd/docker-app [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-625-3 . Sending build context to Docker daemon 79.46MB Step 1/18 : 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 96d705baf026: Waiting 39007eb46008: Waiting 4e549f0f5e64: Waiting c0058a8c71f2: Waiting 2f8d98df0991: Waiting 96465440c208: Waiting 16a3d8aca6cd: Waiting e0ec5610455a: Waiting bbab4ec87ac4: Verifying Checksum bbab4ec87ac4: Download complete 2ea1f7804402: Verifying Checksum 2ea1f7804402: Download complete 4ae16bd47783: Verifying Checksum 4ae16bd47783: Download complete 96465440c208: Verifying Checksum 96465440c208: Download complete 96d705baf026: Verifying Checksum 96d705baf026: Download complete 39007eb46008: Verifying Checksum 39007eb46008: Download complete 16a3d8aca6cd: Verifying Checksum 16a3d8aca6cd: Download complete c0058a8c71f2: Verifying Checksum c0058a8c71f2: Download complete e0ec5610455a: Verifying Checksum e0ec5610455a: Download complete 4e549f0f5e64: Verifying Checksum 4e549f0f5e64: Download complete 2f8d98df0991: Verifying Checksum 2f8d98df0991: Download complete 4ae16bd47783: Pull complete bbab4ec87ac4: Pull complete 2ea1f7804402: Pull complete 96465440c208: Pull complete 16a3d8aca6cd: Pull complete e0ec5610455a: Pull complete 96d705baf026: Pull complete 39007eb46008: Pull complete GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=16874558 -X github.com/docker/app/internal.Version=jenkins-app-PR-625-3 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-20T18:29:12Z" -o bin/docker-app-darwin ./cmd/docker-app 4e549f0f5e64: Pull complete c0058a8c71f2: Pull complete 2f8d98df0991: Pull complete Digest: sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 Status: Downloaded newer image for dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Running in 16d10fd3abec Removing intermediate container 16d10fd3abec ---> a425a2bdaa45 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in ec51870a9806 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 (349 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 ec51870a9806 ---> 762a78ae6be6 Step 4/18 : WORKDIR /go/src/github.com/docker/cli Removing intermediate container 4948e6e72c85 ---> e305b9607f4a 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 f701b7ab1f24 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 f701b7ab1f24 ---> 909d7623a119 Step 11/14 : USER cnab ---> Running in 5d897246ceb9 Removing intermediate container 5d897246ceb9 ---> 2a484db70a4a Step 12/14 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run ---> 746e7610b04a Step 13/14 : WORKDIR /cnab/app ---> Running in f9a62aa9c0f6 Removing intermediate container f9a62aa9c0f6 ---> d0ea5979b409 Step 14/14 : CMD /cnab/app/run ---> Running in baf5b043a82f Removing intermediate container baf5b043a82f ---> 8925e05c2e26 [Warning] One or more build-args [COMMIT GOPROXY] were not consumed Successfully built 8925e05c2e26 Successfully tagged docker/cnab-app-base:jenkins-app-PR-625-3 docker save docker/cnab-app-base:jenkins-app-PR-625-3 -o _build/invocation-image.tar [Pipeline] sh ---> Running in 062939d74abb Removing intermediate container 062939d74abb ---> 6d1fab19f159 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in 131a940c6f79 + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-625-3-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-625-3 docker/cnab-app-base:jenkins-app-PR-625-3-coverage docker save docker/cnab-app-base:jenkins-app-PR-625-3-coverage -o _build/coverage-invocation-image.tar [Pipeline] sh Cloning into '.'... + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-625-3-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-625-3 docker/cnab-app-base:jenkins-app-PR-625-3-coverage-experimental docker save docker/cnab-app-base:jenkins-app-PR-625-3-coverage-experimental -o _build/coverage-experimental-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app/_build [Pipeline] { [Pipeline] stash 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 131a940c6f79 ---> cbb7235d4028 Step 6/18 : ARG GOPROXY ---> Running in f378a5e03333 Removing intermediate container f378a5e03333 ---> 071b3d9aaccf Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in 8319842545e9 ./scripts/build/osx Building build/docker-darwin-amd64 Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-625/3/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-625/3/stashes/coverage-invocation-image.tgz [Pipeline] stash Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-625/3/stashes/coverage-experimental-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-625-3 Untagged: docker/cnab-app-base:jenkins-app-PR-625-3 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-625-3-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-625-3-coverage [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-625-3-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-625-3-coverage-experimental Deleted: sha256:8925e05c2e26744df2fc9201226ea7ada083ce4c7b89d1a2f2c06f07e1100f06 Deleted: sha256:d0ea5979b409390310cce938b5c1e89585512d332d2cd336948ac86dc1f02d1a Deleted: sha256:746e7610b04a7dc61754cbb086c795220a3ee030e64a0d737819538d911cba87 Deleted: sha256:e292244b46ef457b78a47a456b5e519050a09092466ca04315f0115ff3dbb3f8 Deleted: sha256:2a484db70a4ae73b82556769f00e4fd5ecdd7d8350894f493b11ddea3d791746 Deleted: sha256:909d7623a119cf45c45264d7a7487a1d7c9c29e642647e5f6a349c7e100d9637 Deleted: sha256:953d4f484e6a947ed411e4837c5fe444f12c028005b1c151d92669f0155f063e [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } GOOS=windows CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=16874558 -X github.com/docker/app/internal.Version=jenkins-app-PR-625-3 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-20T18:29:12Z" -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=16874558 -X github.com/docker/app/internal.Version=jenkins-app-PR-625-3 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-20T18:29:12Z" -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=16874558 -X github.com/docker/app/internal.Version=jenkins-app-PR-625-3 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-20T18:29:12Z" -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=16874558 -X github.com/docker/app/internal.Version=jenkins-app-PR-625-3 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-20T18:29:12Z" -o bin/docker-app-standalone-windows.exe ./cmd/docker-app-standalone Removing intermediate container 23024ef716e5 ---> e9568c9266fc [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built e9568c9266fc Successfully tagged docker-app-cross:jenkins-app-PR-625-3 docker create --name docker-app-cross-jenkins-app-PR-625-3 docker-app-cross:jenkins-app-PR-625-3 noop 1fd39648d6a4b8454ae8bf2ca5924043643a31f7ce82ef8c45cbf528149a87b3 docker cp docker-app-cross-jenkins-app-PR-625-3:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux docker cp docker-app-cross-jenkins-app-PR-625-3:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin docker cp docker-app-cross-jenkins-app-PR-625-3:/go/src/github.com/docker/app/bin/docker-app-windows.exe bin/docker-app-windows.exe docker cp docker-app-cross-jenkins-app-PR-625-3:/go/src/github.com/docker/app/bin/docker-app-standalone-linux bin/docker-app-standalone-linux docker cp docker-app-cross-jenkins-app-PR-625-3:/go/src/github.com/docker/app/bin/docker-app-standalone-darwin bin/docker-app-standalone-darwin docker cp docker-app-cross-jenkins-app-PR-625-3:/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-625-3 docker-app-cross-jenkins-app-PR-625-3 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-625-3 . Sending build context to Docker daemon 79.46MB 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 ---> 805b09a41040 Step 3/26 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 9987223e2977 Step 4/26 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> d00299a491fd Step 5/26 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> b280a83b50b6 Step 6/26 : ARG GOPROXY ---> Using cache ---> 8dd3950f77b4 Step 7/26 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> fe1d9f0bb650 Step 8/26 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 8dabb3d101ee Step 9/26 : FROM build AS dev ---> 8dabb3d101ee Step 10/26 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 00f9d1d319c9 Step 11/26 : ARG DEP_VERSION=v0.5.1 ---> Using cache ---> 4791464079ac 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 ---> 6e2f69e38df8 Step 13/26 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> c2aaf143efd2 Step 14/26 : ARG GOPROXY ---> Using cache ---> 6b6091156459 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 ---> f5e4a3ad4f44 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 ---> ea3f41fd58d9 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 ---> 799c87310ce7 Step 18/26 : COPY . . ---> Using cache ---> 7eacf972b4b1 Step 19/26 : FROM dev AS cross ---> 7eacf972b4b1 Step 20/26 : ARG EXPERIMENTAL="off" ---> Using cache ---> 2bd4df24f7cd Step 21/26 : ARG TAG="unknown" ---> Using cache ---> 090bb6bb042f Step 22/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Using cache ---> e9568c9266fc Step 23/26 : FROM cross AS e2e-cross ---> e9568c9266fc Step 24/26 : ARG EXPERIMENTAL="off" ---> Running in f96c202a6b1c Removing intermediate container f96c202a6b1c ---> 8a42eb886111 Step 25/26 : ARG TAG="unknown" ---> Running in 6a951990ae37 Removing intermediate container 6a951990ae37 ---> abb68586880e Step 26/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} e2e-cross ---> Running in fc9e691961a4 GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=16874558 -X github.com/docker/app/internal.Version=jenkins-app-PR-625-3 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-20T18:31:56Z" -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=16874558 -X github.com/docker/app/internal.Version=jenkins-app-PR-625-3 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-20T18:31:56Z" -c -o bin/docker-app-e2e-linux ./e2e/ ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=16874558 -X github.com/docker/app/internal.Version=jenkins-app-PR-625-3 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-20T18:31:56Z" -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=16874558 -X github.com/docker/app/internal.Version=jenkins-app-PR-625-3 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-20T18:31:56Z" -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=16874558 -X github.com/docker/app/internal.Version=jenkins-app-PR-625-3 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-20T18:31:56Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ Removing intermediate container fc9e691961a4 ---> d106ebc97b51 [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built d106ebc97b51 Successfully tagged docker-app-e2e-cross:jenkins-app-PR-625-3 docker create --name docker-app-e2e-cross-jenkins-app-PR-625-3 docker-app-e2e-cross:jenkins-app-PR-625-3 noop 33ad323310a6348ea08a806869b70fb79f8987e4045d73c768b8ff4213ae6130 docker cp docker-app-e2e-cross-jenkins-app-PR-625-3:/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-625-3:/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-625-3:/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-625-3:/usr/local/bin/gotestsum-linux bin/gotestsum-linux docker cp docker-app-e2e-cross-jenkins-app-PR-625-3:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-625-3:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-625-3:/usr/local/bin/test2json-linux bin/test2json-linux docker cp docker-app-e2e-cross-jenkins-app-PR-625-3:/usr/local/bin/test2json-darwin bin/test2json-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-625-3:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe docker rm docker-app-e2e-cross-jenkins-app-PR-625-3 docker-app-e2e-cross-jenkins-app-PR-625-3 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-625/src/github.com/docker/app/bin [Pipeline] { [Pipeline] stash WARNING: binary creates a Linux executable. Use cross for macOS or Windows. ./scripts/build/binary Building statically linked build/docker-linux-amd64 Stashed 24 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-625/3/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] stash Stashed 60 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-625/3/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/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-625/3/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + xargs docker image rm -f + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-625-3* Untagged: docker-app-e2e-cross:jenkins-app-PR-625-3 Deleted: sha256:d106ebc97b51b72af901a89b5e347d50875e4facb7d4d1c9fe310507a73c27cd Deleted: sha256:6a423cf700ba42fc18c9e08c264af175ec51c3c1956edbf5c783ab683a5fdc00 Deleted: sha256:abb68586880e0036c8aa2aee135661ea8583b7d2de1fcea9e84a473f2927c9a7 Deleted: sha256:8a42eb88611185cf9162c8447e19c0b38e775ce18704f845148a4fd8b3b36c0a Untagged: docker-app-cross:jenkins-app-PR-625-3 Deleted: sha256:e9568c9266fc816a6bda5ff2cd64542ac1695316834b3a1e3a6420450223f779 Deleted: sha256:0d220a5a0440cd123e51bd46923dbe7d416735cce3b037123b9fbe7681a984ae Deleted: sha256:090bb6bb042f3ea7df0e2bbf54b110778a425af1c2f4e5dd961f562be083bacb Deleted: sha256:2bd4df24f7cd6aab7c24d97447bb38fb348b54028e1bb9a306d404a2e01773d8 Deleted: sha256:7eacf972b4b1c5a23278973e52b5f2ab013cd2b84c137fdd90bcb5928edef72e Deleted: sha256:cc58a45824fed654156e649807f5f3f084e2dd967156c21b5060d14dfa98c6a9 Untagged: docker-app-cli:jenkins-app-PR-625-3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Removing intermediate container 8319842545e9 ---> feabc41a95ec Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Running in dd209f43507d Removing intermediate container dd209f43507d ---> 41a21220a5c0 Step 9/18 : FROM build AS dev ---> 41a21220a5c0 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in b3a67949f4fd Removing intermediate container b3a67949f4fd ---> 9622c57dfacf Step 11/18 : ARG DEP_VERSION=v0.5.1 ---> Running in f063c1b26346 Removing intermediate container f063c1b26346 ---> 8376677d88b4 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 dc8d9a6c7f9b  % 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 7202 0 --:--:-- --:--:-- --:--:-- 7202  100 10.5M 100 10.5M 0 0 46.2M 0 --:--:-- --:--:-- --:--:-- 46.2M Removing intermediate container dc8d9a6c7f9b ---> 079aed71a100 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 409ac03a5273 Removing intermediate container 409ac03a5273 ---> 8a1828234e43 Step 14/18 : ARG GOPROXY ---> Running in f9d4591e1473 Removing intermediate container f9d4591e1473 ---> 35e81198d206 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 4bfa0d5fcc12 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/fatih/color v1.6.0 go: finding github.com/onsi/gomega v1.4.3 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding gotest.tools v2.1.0+incompatible go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/stretchr/testify v1.3.0 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding github.com/hpcloud/tail v1.0.0 go: finding golang.org/x/text v0.3.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/stretchr/objx v0.1.0 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding github.com/onsi/ginkgo v1.6.0 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding github.com/davecgh/go-spew v1.1.0 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding github.com/golang/protobuf v1.2.0 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc 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/spf13/pflag v1.0.1 go: downloading github.com/fatih/color v1.6.0 go: downloading github.com/sirupsen/logrus v1.0.5 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: extracting github.com/pkg/errors v0.8.0 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-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 4bfa0d5fcc12 ---> 7ba3fadba80d 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 7ce8308ab128 Removing intermediate container 7ce8308ab128 ---> 672ee8cdd54c 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 29e697f64992 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 29e697f64992 ---> 154189678d6c Step 18/18 : COPY . . ---> e58c63bd750b [Warning] One or more build-args [TAG ALPINE_VERSION COMMIT EXPERIMENTAL] were not consumed Successfully built e58c63bd750b Successfully tagged docker-app-dev:jenkins-app-PR-625-3 Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-625-3 sh -c "make vendor && hack/check-git-diff vendor" rm -rf vendor 1>&1 dep ensure -v (1/95) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1 (2/95) Wrote github.com/oklog/ulid@v1.3.1 (3/95) Wrote github.com/prometheus/client_model@master (4/95) Wrote github.com/pkg/errors@v0.8.1 (5/95) Wrote github.com/prometheus/common@v0.2.0 (6/95) Wrote github.com/qri-io/jsonpointer@v0.1.0 (7/95) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1 (8/95) Wrote vbom.ml/util@master (9/95) Wrote github.com/prometheus/client_golang@v0.8.0 (10/95) Wrote github.com/mitchellh/mapstructure@v1.1.2 (11/95) Wrote github.com/modern-go/concurrent@1.0.3 (12/95) Wrote github.com/modern-go/reflect2@1.0.1 (13/95) Wrote github.com/morikuni/aec@master (14/95) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 (15/95) Wrote github.com/opencontainers/image-spec@v1.0.1 (16/95) Wrote github.com/miekg/pkcs11@master (17/95) Wrote github.com/prometheus/procfs@master (18/95) Wrote github.com/qri-io/jsonschema@v0.1.1 (19/95) Wrote github.com/sirupsen/logrus@v1.4.1 (20/95) Wrote github.com/syndtr/gocapability@master (21/95) Wrote github.com/spf13/pflag@master (22/95) Wrote github.com/spf13/cobra@v0.0.5 (23/95) Wrote github.com/wadey/gocovmerge@master (24/95) Wrote github.com/opencontainers/runc@v1.0.0-rc7 (25/95) Wrote github.com/xeipuuv/gojsonpointer@master (26/95) Wrote github.com/xeipuuv/gojsonreference@master (27/95) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d (28/95) Wrote golang.org/x/crypto@master (29/95) Wrote golang.org/x/oauth2@master (30/95) Wrote golang.org/x/sync@master (31/95) Wrote golang.org/x/net@master (32/95) Wrote golang.org/x/time@master (33/95) Wrote github.com/theupdateframework/notary@v0.6.1 (34/95) Wrote gopkg.in/inf.v0@v0.9.1 (35/95) Wrote google.golang.org/appengine@v1.5.0 (36/95) Wrote gopkg.in/yaml.v2 (from https://github.com/simonferquel/yaml)@c86e64ed9581b7588e736f0c3e6ecc02cc22996e (37/95) Wrote gotest.tools@v2.3.0 (38/95) Wrote k8s.io/klog@v0.2.0 (39/95) Wrote golang.org/x/sys@master (40/95) Wrote k8s.io/utils@master (41/95) Wrote k8s.io/apimachinery@kubernetes-1.14.1 (42/95) Wrote sigs.k8s.io/yaml@v1.1.0 (43/95) Wrote github.com/docker/go@v1.5.1-1 (44/95) Wrote github.com/Azure/go-ansiterm@master (45/95) Wrote google.golang.org/grpc@v1.19.1 (46/95) Wrote github.com/Masterminds/semver@v1.4.2 (47/95) Wrote github.com/Microsoft/go-winio@v0.4.12 (48/95) Wrote github.com/agl/ed25519@master (49/95) Wrote github.com/containerd/cgroups@master (50/95) Wrote github.com/beorn7/perks@master (51/95) Wrote golang.org/x/text@v0.3.0 (52/95) Wrote github.com/containerd/fifo@master (53/95) Wrote github.com/containerd/ttrpc@master (54/95) Wrote github.com/containerd/typeurl@master (55/95) Wrote github.com/containerd/continuity@master (56/95) Wrote golang.org/x/tools@master (57/95) Wrote github.com/coreos/go-systemd@v20 (58/95) Wrote github.com/davecgh/go-spew@v1.1.1 (59/95) Wrote github.com/Microsoft/hcsshim@v0.8.6 (60/95) Wrote github.com/docker/docker-credential-helpers@v0.6.1 (61/95) Wrote github.com/google/gofuzz@v1.0.0 (62/95) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1 (63/95) Wrote github.com/docker/go-events@master (64/95) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 (65/95) Wrote github.com/docker/go-connections@v0.4.0 (66/95) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2 (67/95) Wrote github.com/docker/go-units@v0.3.3 (68/95) Wrote k8s.io/client-go@kubernetes-1.14.1 (69/95) Wrote google.golang.org/genproto@master (70/95) Wrote github.com/godbus/dbus@v5.0.1 (71/95) Wrote github.com/gogo/googleapis@v1.2.0 (72/95) Wrote github.com/google/go-cmp@v0.2.0 (73/95) Wrote github.com/imdario/mergo@master (74/95) Wrote github.com/google/shlex@master (75/95) Wrote cloud.google.com/go@v0.37.4 (76/95) Wrote github.com/gorilla/mux@v1.7.1 (77/95) Wrote github.com/hashicorp/go-version@v1.1.0 (78/95) Wrote github.com/hashicorp/golang-lru@v0.5.1 (79/95) Wrote github.com/globalsign/mgo@master (80/95) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2 (81/95) Wrote github.com/inconshreveable/mousetrap@v1.0 (82/95) Wrote github.com/mattn/go-shellwords@v1.0.5 (83/95) Wrote github.com/googleapis/gnostic@v0.2.0 (84/95) Wrote github.com/docker/compose-on-kubernetes@v0.4.21 (85/95) Wrote github.com/json-iterator/go@v1.1.6 (86/95) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (87/95) Wrote github.com/golang/protobuf@v1.3.1 (88/95) Wrote github.com/containerd/containerd@master (89/95) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc (90/95) Wrote github.com/docker/cli@19.03 (91/95) Wrote github.com/coreos/etcd@v3.3.12 (92/95) Wrote k8s.io/api@kubernetes-1.14.1 (93/95) Wrote github.com/gogo/protobuf@v1.2.1 (94/95) Wrote github.com/docker/docker@master (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] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] parallel [Pipeline] { (Branch: Coverage) [Pipeline] { (Branch: Coverage (experimental)) [Pipeline] { (Branch: Gradle test) [Pipeline] { (Branch: Test Linux) [Pipeline] stage [Pipeline] { (Coverage) [Pipeline] stage [Pipeline] { (Coverage (experimental)) [Pipeline] stage [Pipeline] { (Gradle test) [Pipeline] stage [Pipeline] { (Test Linux) [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node Running on ubuntu-1804-overlay2 (i-042b982cc972ae61e) in /home/ubuntu/workspace/app_PR-625 [Pipeline] { [Pipeline] withEnv [Pipeline] { Running on ubuntu-1804-overlay2 (i-0cbe84140b73a44be) in /home/ubuntu/workspace/app_PR-625 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app [Pipeline] { Running on ubuntu-1804-overlay2 (i-0e3a7414c3e0a26d8) in /home/ubuntu/workspace/app_PR-625 Running on ubuntu-1804-overlay2 (i-075779713fd765b6a) in /home/ubuntu/workspace/app_PR-625 [Pipeline] checkout [Pipeline] { [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app [Pipeline] { using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] checkout [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/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 [Pipeline] checkout using credential docker-jenkins-github-credentials 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-625/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/625/head:refs/remotes/origin/PR-625 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-625/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/625/head:refs/remotes/origin/PR-625 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-625/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/625/head:refs/remotes/origin/PR-625 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-625/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/625/head:refs/remotes/origin/PR-625 Fetching without tags Checking out Revision 1687455853e381f3f682fc3778976ac825cc6eb0 (PR-625) Fetching without tags Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/625/head:refs/remotes/origin/PR-625 # 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/625/head:refs/remotes/origin/PR-625 > git config core.sparsecheckout # timeout=10 > git checkout -f 1687455853e381f3f682fc3778976ac825cc6eb0 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/625/head:refs/remotes/origin/PR-625 # 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/625/head:refs/remotes/origin/PR-625 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/625/head:refs/remotes/origin/PR-625 # 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/625/head:refs/remotes/origin/PR-625 Commit message: "app-214 Enabled validate only for experimental mode" Checking out Revision 1687455853e381f3f682fc3778976ac825cc6eb0 (PR-625) Checking out Revision 1687455853e381f3f682fc3778976ac825cc6eb0 (PR-625) Fetching without tags Checking out Revision 1687455853e381f3f682fc3778976ac825cc6eb0 (PR-625) Commit message: "app-214 Enabled validate only for experimental mode" Commit message: "app-214 Enabled validate only for experimental mode" Commit message: "app-214 Enabled validate only for experimental mode" > git config core.sparsecheckout # timeout=10 > git checkout -f 1687455853e381f3f682fc3778976ac825cc6eb0 [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app/bin [Pipeline] { [Pipeline] unstash [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash > git config core.sparsecheckout # timeout=10 > git checkout -f 1687455853e381f3f682fc3778976ac825cc6eb0 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/625/head:refs/remotes/origin/PR-625 # 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/625/head:refs/remotes/origin/PR-625 > git config core.sparsecheckout # timeout=10 > git checkout -f 1687455853e381f3f682fc3778976ac825cc6eb0 [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/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-625/3/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-625/3/stashes/coverage-experimental-invocation-image.tgz [Pipeline] sh + docker load -i invocation-image.tar + docker load -i coverage-experimental-invocation-image.tar Loaded image: docker/cnab-app-base:jenkins-app-PR-625-3 [Pipeline] } [Pipeline] // dir [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-625/3/stashes/coverage-invocation-image.tgz [Pipeline] sh Loaded image: docker/cnab-app-base:jenkins-app-PR-625-3-coverage-experimental [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + docker load -i coverage-invocation-image.tar + make EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- -f docker.Makefile TAG=jenkins-app-PR-625-3-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-625-3 . Loaded image: docker/cnab-app-base:jenkins-app-PR-625-3-coverage [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh Sending build context to Docker daemon 79.46MB Step 1/18 : 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 96d705baf026: Waiting 39007eb46008: Waiting 4e549f0f5e64: Waiting c0058a8c71f2: Waiting 2f8d98df0991: Waiting 16a3d8aca6cd: Waiting e0ec5610455a: Waiting 96465440c208: Waiting + make -f docker.Makefile TAG=jenkins-app-PR-625-3-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-625-3 . 2ea1f7804402: Verifying Checksum 2ea1f7804402: Download complete bbab4ec87ac4: Verifying Checksum bbab4ec87ac4: Download complete 4ae16bd47783: Verifying Checksum 4ae16bd47783: Download complete Sending build context to Docker daemon 79.46MB Step 1/18 : 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 96d705baf026: Waiting 39007eb46008: Waiting 4e549f0f5e64: Waiting c0058a8c71f2: Waiting 2f8d98df0991: Waiting 96465440c208: Waiting 16a3d8aca6cd: Waiting e0ec5610455a: Waiting 96465440c208: Download complete 16a3d8aca6cd: Verifying Checksum 16a3d8aca6cd: Download complete 96d705baf026: Verifying Checksum 96d705baf026: Download complete 39007eb46008: Verifying Checksum 39007eb46008: Download complete bbab4ec87ac4: Verifying Checksum bbab4ec87ac4: Download complete 2ea1f7804402: Verifying Checksum 2ea1f7804402: Download complete c0058a8c71f2: Verifying Checksum c0058a8c71f2: Download complete 4ae16bd47783: Verifying Checksum 4ae16bd47783: Download complete 96465440c208: Verifying Checksum 96465440c208: Download complete 96d705baf026: Verifying Checksum 96d705baf026: Download complete 39007eb46008: Verifying Checksum 39007eb46008: Download complete 16a3d8aca6cd: Verifying Checksum 16a3d8aca6cd: Download complete c0058a8c71f2: Verifying Checksum c0058a8c71f2: Download complete e0ec5610455a: Verifying Checksum e0ec5610455a: Download complete e0ec5610455a: Verifying Checksum e0ec5610455a: Download complete 4e549f0f5e64: Verifying Checksum 4e549f0f5e64: Download complete 4e549f0f5e64: Verifying Checksum 4e549f0f5e64: Download complete 2f8d98df0991: Verifying Checksum 2f8d98df0991: Download complete 4ae16bd47783: Pull complete bbab4ec87ac4: Pull complete 2f8d98df0991: Verifying Checksum 2f8d98df0991: Download complete Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-625/3/stashes/binaries.tgz [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app/examples [Pipeline] { [Pipeline] unstash 4ae16bd47783: Pull complete Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-625/3/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] unstash 2ea1f7804402: Pull complete Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-625/3/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-625/3/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh bbab4ec87ac4: Pull complete + ./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 + make -f docker.Makefile gradle-test tar cf - Dockerfile.gradle bin/docker-app-linux integrations/gradle | docker build -t docker-app-gradle:jenkins-app-PR-625-3 -f Dockerfile.gradle - 2ea1f7804402: Pull complete Sending build context to Docker daemon 39.21MB Step 1/3 : FROM gradle:4.9-jdk8 4.9-jdk8: Pulling from library/gradle 55cbf04beb70: Pulling fs layer 1607093a898c: Pulling fs layer 9a8ea045c926: Pulling fs layer d4eee24d4dac: Pulling fs layer c58988e753d7: Pulling fs layer 794a04897db9: Pulling fs layer 70fcfa476f73: Pulling fs layer 806029475e0c: Pulling fs layer 67959b355155: Pulling fs layer 365e56fcf864: Pulling fs layer 821805da50c8: Pulling fs layer 70fcfa476f73: Waiting 806029475e0c: Waiting 67959b355155: Waiting 365e56fcf864: Waiting 821805da50c8: Waiting d4eee24d4dac: Waiting c58988e753d7: Waiting 794a04897db9: Waiting 1607093a898c: Verifying Checksum 1607093a898c: Download complete 9a8ea045c926: Verifying Checksum 9a8ea045c926: Download complete 55cbf04beb70: Verifying Checksum 55cbf04beb70: Download complete c58988e753d7: Verifying Checksum c58988e753d7: Download complete 794a04897db9: Verifying Checksum 794a04897db9: Download complete 70fcfa476f73: Verifying Checksum 70fcfa476f73: Download complete d4eee24d4dac: Verifying Checksum d4eee24d4dac: Download complete 67959b355155: Verifying Checksum 67959b355155: Download complete 821805da50c8: Verifying Checksum 821805da50c8: Download complete 96465440c208: Pull complete 96465440c208: Pull complete 365e56fcf864: Verifying Checksum 365e56fcf864: Download complete 806029475e0c: Verifying Checksum 806029475e0c: Download complete 16a3d8aca6cd: Pull complete 55cbf04beb70: Pull complete 16a3d8aca6cd: Pull complete 1607093a898c: Pull complete 9a8ea045c926: Pull complete d4eee24d4dac: Pull complete c58988e753d7: Pull complete 794a04897db9: Pull complete 70fcfa476f73: Pull complete e0ec5610455a: Pull complete 96d705baf026: Pull complete 39007eb46008: Pull complete e0ec5610455a: Pull complete 96d705baf026: Pull complete 39007eb46008: Pull complete 806029475e0c: Pull complete 67959b355155: Pull complete 365e56fcf864: Pull complete 821805da50c8: Pull complete Digest: sha256:d761793ff33b748f6160f9249fa0ceeeba55a6b6204737e7f4c67b6ad70c631b Status: Downloaded newer image for gradle:4.9-jdk8 ---> 171a47f5f255 Step 2/3 : COPY bin/docker-app-linux /usr/local/bin/docker-app PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (6.72s) PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (4.74s) PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (3.41s) PASS e2e/linux.TestCallCustomStatusAction (14.87s) ---> fae447761ada Step 3/3 : COPY --chown=gradle:gradle integrations/gradle . ---> 5c6ee2f58b4d Successfully built 5c6ee2f58b4d Successfully tagged docker-app-gradle:jenkins-app-PR-625-3 docker run --rm docker-app-gradle:jenkins-app-PR-625-3 bash -c "./gradlew --stacktrace build && cd example && gradle renderIt" 4e549f0f5e64: Pull complete c0058a8c71f2: Pull complete Downloading https://services.gradle.org/distributions/gradle-4.7-bin.zip 4e549f0f5e64: Pull complete c0058a8c71f2: Pull complete ....................................................PASS e2e/linux.TestCnabParameters (3.34s) ................... Unzipping /home/gradle/.gradle/wrapper/dists/gradle-4.7-bin/73xux3q4721jgr4pjvqf9o30/gradle-4.7-bin.zip to /home/gradle/.gradle/wrapper/dists/gradle-4.7-bin/73xux3q4721jgr4pjvqf9o30 Set executable permissions for: /home/gradle/.gradle/wrapper/dists/gradle-4.7-bin/73xux3q4721jgr4pjvqf9o30/gradle-4.7/bin/gradle Welcome to Gradle 4.7! Here are the highlights of this release: - Incremental annotation processing - JDK 10 support - Grouped non-interactive console logs - Failed tests are re-run first for quicker feedback For more details see https://docs.gradle.org/4.7/release-notes.html Starting a Gradle Daemon (subsequent builds will be faster) PASS e2e/linux.TestRender/envvariables/stdout (1.72s) PASS e2e/linux.TestRender/envvariables/file (1.55s) PASS e2e/linux.TestRender/envvariables (3.27s) PASS e2e/linux.TestRender (3.27s) PASS e2e/linux.TestRenderFormatters (3.23s) === RUN TestInit --- FAIL: TestInit (0.11s) commands_test.go:130: assertion failed: --- expected +++ actual @@ -1,2 +1 @@ -Validated "app-test.dockerapp" FAIL e2e/linux.TestInit (0.11s) Generating JAR file 'gradle-api-4.7.jar' PASS e2e/linux.TestDetectApp (4.84s) 2f8d98df0991: Pull complete Digest: sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 Status: Downloaded newer image for dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 2f8d98df0991: Pull complete Digest: sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 Status: Downloaded newer image for dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Running in bab1c74a6d75 Removing intermediate container bab1c74a6d75 ---> 0fbfbd7de58e Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in c4830eb7d88d ---> Running in a9093341693a Removing intermediate container a9093341693a ---> 148ed1219f48 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 352706138b28 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 Reading package lists...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 (369 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) ... 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 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. 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 (360 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 c4830eb7d88d ---> 4da687a67da3 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Running in ed7851cb5283 Removing intermediate container ed7851cb5283 ---> 051464cdb690 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in c2614a028def Removing intermediate container 352706138b28 ---> 37acbe7e9ff9 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Running in 566fbab82c35 Removing intermediate container 566fbab82c35 ---> 8937b5215a29 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in 60d37e7650db Cloning into '.'... Cloning into '.'... > Task :compileJava > Task :pluginDescriptors > Task :processResources > Task :classes > Task :jar > Task :assemble > Task :pluginUnderTestMetadata > Task :compileTestJava NO-SOURCE > Task :processTestResources NO-SOURCE > Task :testClasses UP-TO-DATE > Task :test NO-SOURCE 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 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 PASS e2e/linux.TestBundle/simple-bundle (0.94s) PASS e2e/linux.TestBundle/bundle-with-tag (0.31s) PASS e2e/linux.TestBundle (12.23s) > Task :validateTaskProperties > Task :check > Task :build BUILD SUCCESSFUL in 25s 6 actionable tasks: 6 executed Welcome to Gradle 4.9! Here are the highlights of this release: - Experimental APIs for creating and configuring tasks lazily - Pass arguments to JavaExec via CLI - Auxiliary publication dependency support for multi-project builds - Improved dependency insight report For more details see https://docs.gradle.org/4.9/release-notes.html Starting a Gradle Daemon (subsequent builds will be faster) Removing intermediate container c2614a028def ---> b932f58f4796 Step 6/18 : ARG GOPROXY ---> Running in bebec7c696d0 Removing intermediate container bebec7c696d0 ---> ac052716b231 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in 208c77377b9f Removing intermediate container 60d37e7650db ---> 289179d913f8 Step 6/18 : ARG GOPROXY ---> Running in b70a153217e6 Removing intermediate container b70a153217e6 ---> 802bbd8abf94 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in 17272649c76d ./scripts/build/osx Building build/docker-darwin-amd64 ./scripts/build/osx Building build/docker-darwin-amd64 > Task :renderIt BUILD SUCCESSFUL in 4s 1 actionable task: 1 executed [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } PASS e2e/linux.TestDockerAppLifecycle/withBindMounts (23.67s) PASS e2e/linux.TestDockerAppLifecycle/withoutBindMounts (29.84s) PASS e2e/linux.TestDockerAppLifecycle (53.51s) PASS e2e/linux.TestCredentials/missing (0.10s) PASS e2e/linux.TestCredentials/full (2.06s) PASS e2e/linux.TestCredentials/mixed-credstore (1.46s) PASS e2e/linux.TestCredentials/mixed-local-cred (1.41s) PASS e2e/linux.TestCredentials/overload (0.06s) PASS e2e/linux.TestCredentials (5.08s) PASS e2e/linux.TestRenderWithEnvFile (1.73s) PASS e2e/linux.TestExamplesAreValid (0.11s) === RUN TestInvokePluginFromCLI --- FAIL: TestInvokePluginFromCLI (0.26s) plugin_test.go:29: assertion failed: --- expected +++ actual @@ -19,5 +19,4 @@ status Get the installation status of an application upgrade Upgrade an installed application - validate Checks the rendered application is syntactically correct Run 'docker app COMMAND --help' for more information on a command. FAIL e2e/linux.TestInvokePluginFromCLI (0.26s) PASS e2e/linux.TestPushArchs/default (3.17s) PASS e2e/linux.TestPushArchs/all-platforms (1.30s) PASS e2e/linux.TestPushArchs (17.09s) PASS e2e/linux.TestPushInstall (16.82s) ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 PASS e2e/linux.TestPushPullInstall (16.56s) PASS e2e/linux.TestPushInstallBundle/push-bundle (5.10s) PASS e2e/linux.TestPushInstallBundle/push-ref (1.26s) PASS e2e/linux.TestPushInstallBundle/push-bundleref (4.32s) PASS e2e/linux.TestPushInstallBundle (23.89s) FAIL e2e/linux === Failed === FAIL: e2e/linux TestInit (0.11s) commands_test.go:130: assertion failed: --- expected +++ actual @@ -1,2 +1 @@ -Validated "app-test.dockerapp" === FAIL: e2e/linux TestInvokePluginFromCLI (0.26s) plugin_test.go:29: assertion failed: --- expected +++ actual @@ -19,5 +19,4 @@ status Get the installation status of an application upgrade Upgrade an installed application - validate Checks the rendered application is syntactically correct Run 'docker app COMMAND --help' for more information on a command. DONE 36 tests, 2 failures in 176.975s time="2019-09-20T18:40:45Z" 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-625/3/artifacts/ [Pipeline] junit Recording test results [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-625-3 Untagged: docker/cnab-app-base:jenkins-app-PR-625-3 [Pipeline] deleteDir [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Test Linux WARNING: binary creates a Linux executable. Use cross for macOS or Windows. ./scripts/build/binary Building statically linked build/docker-linux-amd64 WARNING: binary creates a Linux executable. Use cross for macOS or Windows. ./scripts/build/binary Building statically linked build/docker-linux-amd64 Removing intermediate container 208c77377b9f ---> 8c9ffa4ae7d0 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 15f4ad3ba7d9 Removing intermediate container 15f4ad3ba7d9 ---> ad034d95ca09 Step 9/18 : FROM build AS dev ---> ad034d95ca09 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in 6723a37c26b2 Removing intermediate container 6723a37c26b2 ---> 4335b292cb9b Step 11/18 : ARG DEP_VERSION=v0.5.1 ---> Running in 44b0d7e7483b Removing intermediate container 44b0d7e7483b ---> d6b2e21a4370 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 56fe8e0b55c2  % 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 5931 0 --:--:-- --:--:-- --:--:-- 5931  100 10.5M 100 10.5M 0  0 47.4M 0 --:--:-- --:--:-- --:--:-- 47.4M Removing intermediate container 56fe8e0b55c2 ---> 36898cfe30df Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 8e3a2a464fb0 Removing intermediate container 8e3a2a464fb0 ---> c29dd3fe6938 Step 14/18 : ARG GOPROXY ---> Running in be754cc313b9 Removing intermediate container be754cc313b9 ---> 9b58a33ac8b4 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 ad942474fb13 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/fatih/color v1.6.0 go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/onsi/gomega v1.4.3 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding github.com/mattn/go-colorable v0.0.9 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding github.com/stretchr/testify v1.3.0 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding github.com/onsi/ginkgo v1.6.0 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding golang.org/x/text v0.3.0 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/davecgh/go-spew v1.1.0 go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding github.com/golang/protobuf v1.2.0 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding github.com/stretchr/objx v0.1.0 go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding github.com/hpcloud/tail v1.0.0 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding gotest.tools v2.1.0+incompatible 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/spf13/pflag v1.0.1 go: downloading github.com/sirupsen/logrus v1.0.5 go: downloading github.com/jonboulle/clockwork v0.1.0 go: extracting github.com/jonboulle/clockwork v0.1.0 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading github.com/fatih/color v1.6.0 go: downloading github.com/pkg/errors v0.8.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 github.com/pkg/errors v0.8.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/spf13/pflag v1.0.1 Removing intermediate container 17272649c76d ---> 5aaef76a7039 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 3c12e8893bdb Removing intermediate container 3c12e8893bdb ---> 35f804ea1b19 Step 9/18 : FROM build AS dev ---> 35f804ea1b19 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in 439aad21c512 Removing intermediate container 439aad21c512 ---> 05ac3d539537 Step 11/18 : ARG DEP_VERSION=v0.5.1 ---> Running in e24091a460ae Removing intermediate container e24091a460ae ---> d374ba0e1741 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 9036e7c0467a  % 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 8642 0 --:--:-- --:--:-- --:--:-- 8768  100 10.5M 100 10.5M 0  0 55.7M 0 --:--:-- --:--:-- --:--:-- 55.7M Removing intermediate container 9036e7c0467a ---> ca7c9ee4d2e9 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 6c625019d46a Removing intermediate container 6c625019d46a ---> 70cbc5aaff9a Step 14/18 : ARG GOPROXY ---> Running in db2b812bfada Removing intermediate container db2b812bfada ---> 360ebb003e83 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 9a8ce01396ce go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/onsi/gomega v1.4.3 go: finding github.com/fatih/color v1.6.0 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/mattn/go-isatty v0.0.3 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding gotest.tools v2.1.0+incompatible go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding github.com/golang/protobuf v1.2.0 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding golang.org/x/text v0.3.0 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding github.com/hpcloud/tail v1.0.0 go: finding github.com/onsi/ginkgo v1.6.0 go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding github.com/stretchr/testify v1.3.0 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 go: finding github.com/davecgh/go-spew v1.1.0 go: finding github.com/stretchr/objx v0.1.0 go: finding github.com/pmezard/go-difflib v1.0.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-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/sys v0.0.0-20180909124046-d0be0721c37e go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc 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/jonboulle/clockwork v0.1.0 go: downloading github.com/fatih/color v1.6.0 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading github.com/spf13/pflag v1.0.1 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/pkg/errors v0.8.0 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 github.com/fatih/color v1.6.0 go: downloading github.com/mattn/go-colorable v0.0.9 go: downloading github.com/mattn/go-isatty v0.0.3 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 ad942474fb13 ---> 414bc91310f5 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 7413d58dce48 Removing intermediate container 9a8ce01396ce ---> 9fdf7d29a64e 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 14d21e603bde Removing intermediate container 7413d58dce48 ---> 96e4de0b71bc 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 6dc7d436cfbb Removing intermediate container 14d21e603bde ---> 07098fee4a52 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 f46811c4c6c2 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 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 Removing intermediate container 6dc7d436cfbb ---> dc859d13e2fe Step 18/18 : COPY . . golang.org/x/tools/imports github.com/mjibson/esc/embed github.com/mjibson/esc Removing intermediate container f46811c4c6c2 ---> 11eb6b059773 Step 18/18 : COPY . . ---> 7229021299f3 [Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed Successfully built 7229021299f3 Successfully tagged docker-app-dev:jenkins-app-PR-625-3 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-625-3-coverage --network="host" -t docker-app-dev:jenkins-app-PR-625-3 make COMMIT=16874558 TAG=jenkins-app-PR-625-3-coverage EXPERIMENTAL=off TEST_RESULTS_PREFIX= coverage ---> c8d446ceb183 [Warning] One or more build-args [COMMIT EXPERIMENTAL TAG ALPINE_VERSION] were not consumed Successfully built c8d446ceb183 Successfully tagged docker-app-dev:jenkins-app-PR-625-3 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-625-3-coverage-experimental --network="host" -t docker-app-dev:jenkins-app-PR-625-3 make COMMIT=16874558 TAG=jenkins-app-PR-625-3-coverage-experimental EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- 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=16874558 -X github.com/docker/app/internal.Version=jenkins-app-PR-625-3-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-20T18:43:04Z" -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/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 ∅ . 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=16874558 -X github.com/docker/app/internal.Version=jenkins-app-PR-625-3-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-09-20T18:43:05Z" -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/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 (10ms) ✓ internal/compose (20ms) ✓ internal/formatter (5ms) ∅ cmd/cnab-run ∅ cmd/docker-app ∅ cmd/docker-app-standalone ✓ internal (9ms) ✓ internal/compose (10ms) ✓ internal/formatter (2ms) ✓ internal/inspect (86ms) ✓ internal/inspect (61ms) ✓ internal/commands (390ms) ∅ internal/formatter/driver ∅ internal/formatter/json ∅ internal/formatter/yaml ∅ internal/log ✓ internal/slices (2ms) ✓ internal/packager (29ms) ✓ internal/commands (228ms) ∅ internal/formatter/driver ∅ internal/formatter/json ∅ internal/formatter/yaml ∅ internal/log ✓ internal/slices (5ms) ✓ internal/packager (27ms) ✓ internal/store (19ms) ✓ internal/store (19ms) ✓ internal/yaml (1.878s) ✓ loader (12ms) ✓ internal/yaml (1.712s) ✓ loader (15ms) ✓ specification (7ms) ✓ render (58ms) ✓ specification (7ms) ✓ render (45ms) ✓ types (20ms) ✓ types/metadata (7ms) ✓ types/parameters (4ms) DONE 199 tests in 91.259s CGO_ENABLED=0 go test -tags=""experimental" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=16874558 -X github.com/docker/app/internal.Version=jenkins-app-PR-625-3-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-09-20T18:43:05Z" -coverpkg="./..." -c -o _build/docker-app.cov ./cmd/docker-app ✓ types (17ms) ✓ types/metadata (9ms) ✓ types/parameters (4ms) DONE 199 tests in 92.804s CGO_ENABLED=0 go test -tags=""" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=16874558 -X github.com/docker/app/internal.Version=jenkins-app-PR-625-3-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-20T18:43:04Z" -coverpkg="./..." -c -o _build/docker-app.cov ./cmd/docker-app Running e2e tests (coverage)... DOCKERAPP_BINARY=../e2e/coverage-bin CGO_ENABLED=0 gotestsum --junitfile _build/test-results/experimental-e2e-coverage.xml -- -tags="experimental" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=16874558 -X github.com/docker/app/internal.Version=jenkins-app-PR-625-3-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-09-20T18:43:05Z" -v ./e2e Running e2e tests (coverage)... DOCKERAPP_BINARY=../e2e/coverage-bin CGO_ENABLED=0 gotestsum --junitfile _build/test-results/e2e-coverage.xml -- -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=16874558 -X github.com/docker/app/internal.Version=jenkins-app-PR-625-3-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-20T18:43:04Z" -v ./e2e ✖ e2e (2m54.079s) === Failed === FAIL: e2e TestInit (0.14s) commands_test.go:130: assertion failed: --- expected +++ actual @@ -1,2 +1 @@ -Validated "app-test.dockerapp" === FAIL: e2e TestInvokePluginFromCLI (0.11s) plugin_test.go:29: assertion failed: --- expected +++ actual @@ -19,5 +19,4 @@ status Get the installation status of an application upgrade Upgrade an installed application - validate Checks the rendered application is syntactically correct Run 'docker app COMMAND --help' for more information on a command. DONE 36 tests, 2 failures in 175.617s make: *** [Makefile:106: coverage-test-e2e] Error 1 docker.Makefile:107: 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-625-3-coverage-experimental coverage-results docker cp docker-app-cov-jenkins-app-PR-625-3-coverage-experimental:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov docker cp docker-app-cov-jenkins-app-PR-625-3-coverage-experimental:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results docker rm docker-app-cov-jenkins-app-PR-625-3-coverage-experimental docker-app-cov-jenkins-app-PR-625-3-coverage-experimental [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-625/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 ] + sed -i -E -e s,"github.com/docker/app/e2e","e2e/experimental",g experimental-e2e-coverage.xml [Pipeline] archiveArtifacts Archiving artifacts Uploaded 2 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-625/3/artifacts/ [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-625-3-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-625-3-coverage-experimental [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } ✖ e2e (3m5.504s) === Failed === FAIL: e2e TestInit (0.15s) commands_test.go:130: assertion failed: --- expected +++ actual @@ -1,2 +1 @@ -Validated "app-test.dockerapp" === FAIL: e2e TestInvokePluginFromCLI (0.12s) plugin_test.go:29: assertion failed: --- expected +++ actual @@ -19,5 +19,4 @@ status Get the installation status of an application upgrade Upgrade an installed application - validate Checks the rendered application is syntactically correct Run 'docker app COMMAND --help' for more information on a command. DONE 36 tests, 2 failures in 187.096s make: *** [Makefile:106: coverage-test-e2e] Error 1 docker.Makefile:107: recipe for target 'coverage-run' failed make: *** [coverage-run] Error 2 + true [Pipeline] sh + make -f docker.Makefile TAG=jenkins-app-PR-625-3-coverage coverage-results docker cp docker-app-cov-jenkins-app-PR-625-3-coverage:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov docker cp docker-app-cov-jenkins-app-PR-625-3-coverage:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results docker rm docker-app-cov-jenkins-app-PR-625-3-coverage docker-app-cov-jenkins-app-PR-625-3-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-625/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 ] + sed -i -E -e s,"github.com/docker/app/e2e","e2e/basic",g e2e-coverage.xml [Pipeline] archiveArtifacts Archiving artifacts Uploaded 2 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-625/3/artifacts/ [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-625-3-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-625-3-coverage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Coverage [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result ERROR: script returned exit code 1 Finished: FAILURE