Pull request #655 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 2766cd7ca9eef067d33f3f859e85dcc3df4d1a6b Running in Durability level: PERFORMANCE_OPTIMIZED Loading library jps@master Examining docker/jps Attempting to resolve master as a branch Resolved master as branch master at revision 26028d2ce48352c9b2c3f496e963b79a4944a426 using credential jps-reader > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/docker/jps.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/docker/jps.git > git --version # timeout=10 using GIT_ASKPASS to set credentials GitHub credentials for docker/jps > git fetch --no-tags --progress https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master Checking out Revision 26028d2ce48352c9b2c3f496e963b79a4944a426 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 26028d2ce48352c9b2c3f496e963b79a4944a426 Commit message: "[TAR-1227] Run the sonar container as the current user (#17)" > git rev-list --no-walk 26028d2ce48352c9b2c3f496e963b79a4944a426 # timeout=10 [Pipeline] Start of Pipeline [Pipeline] withEnv [Pipeline] { [Pipeline] timeout Timeout set to expire in 1 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: Validate) [Pipeline] { (Branch: Binaries) [Pipeline] { (Branch: Build Invocation image) [Pipeline] stage [Pipeline] { (Validate) [Pipeline] stage [Pipeline] { (Binaries) [Pipeline] stage [Pipeline] { (Build Invocation image) [Pipeline] node [Pipeline] node [Pipeline] node Running on ubuntu-1804-overlay2 (i-0942f02b776ef3436) in /home/ubuntu/workspace/app_PR-655 [Pipeline] { Running on ubuntu-1804-overlay2 (i-0ff999de81893f11a) in /home/ubuntu/workspace/app_PR-655 [Pipeline] { Running on ubuntu-1804-overlay2 (i-0418bfb8e32db4889) in /home/ubuntu/workspace/app_PR-655 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] checkout using credential docker-jenkins-github-credentials [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 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-655/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/655/head:refs/remotes/origin/PR-655 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-655/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/655/head:refs/remotes/origin/PR-655 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-655/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/655/head:refs/remotes/origin/PR-655 Fetching without tags Fetching without tags Checking out Revision 2766cd7ca9eef067d33f3f859e85dcc3df4d1a6b (PR-655) Checking out Revision 2766cd7ca9eef067d33f3f859e85dcc3df4d1a6b (PR-655) Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/655/head:refs/remotes/origin/PR-655 # 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/655/head:refs/remotes/origin/PR-655 > git config core.sparsecheckout # timeout=10 > git checkout -f 2766cd7ca9eef067d33f3f859e85dcc3df4d1a6b > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/655/head:refs/remotes/origin/PR-655 # 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/655/head:refs/remotes/origin/PR-655 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/655/head:refs/remotes/origin/PR-655 # 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/655/head:refs/remotes/origin/PR-655 > git config core.sparsecheckout # timeout=10 > git checkout -f 2766cd7ca9eef067d33f3f859e85dcc3df4d1a6b Checking out Revision 2766cd7ca9eef067d33f3f859e85dcc3df4d1a6b (PR-655) Commit message: "Inspect image we've built to get Size" First time build. Skipping changelog. Commit message: "Inspect image we've built to get Size" Commit message: "Inspect image we've built to get Size" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh [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-655-44 . [Pipeline] ansiColor [Pipeline] { [Pipeline] sh > git rev-list --no-walk 0d24edd65e37b1188eab78f352fc79f8091baa20 # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2766cd7ca9eef067d33f3f859e85dcc3df4d1a6b + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-655-44 -f Dockerfile.lint . + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=build -t docker-app-cli:jenkins-app-PR-655-44 . Sending build context to Docker daemon 75.57MB 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 ---> bd646365a528 Step 4/14 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 24220d262e6e Step 5/14 : COPY . . Sending build context to Docker daemon 75.57MB 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 ---> 59c26d5d5220 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 ---> afc902d22563 Step 6/8 : WORKDIR /go/src/github.com/docker/app ---> Using cache ---> e4d40e235cdd Step 7/8 : ENV CGO_ENABLED=0 ---> Using cache ---> 04d4ea7c78a8 Step 8/8 : COPY . . Sending build context to Docker daemon 75.57MB 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 ---> 8f24f3280737 Step 3/8 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 6b7824006fef Step 4/8 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 65cdeaaa2c6f Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 28a4cb54ca0b Step 6/8 : ARG GOPROXY ---> Using cache ---> 4a100ab579b3 Step 7/8 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> bca9375136cb Step 8/8 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 76f0f6767b33 [Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed Successfully built 76f0f6767b33 Successfully tagged docker-app-cli:jenkins-app-PR-655-44 docker create --name docker-app-cli-jenkins-app-PR-655-44 docker-app-cli:jenkins-app-PR-655-44 noop 2f3bbdaabd192fce20e7b8b48afdd3835118833ee43212b23760a52cb4ed0e74 docker cp docker-app-cli-jenkins-app-PR-655-44:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux docker cp docker-app-cli-jenkins-app-PR-655-44:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin docker cp docker-app-cli-jenkins-app-PR-655-44:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe docker rm docker-app-cli-jenkins-app-PR-655-44 docker-app-cli-jenkins-app-PR-655-44 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-655-44 . Sending build context to Docker daemon 75.57MB 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 ---> 8f24f3280737 Step 3/22 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 6b7824006fef Step 4/22 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 65cdeaaa2c6f Step 5/22 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 28a4cb54ca0b Step 6/22 : ARG GOPROXY ---> Using cache ---> 4a100ab579b3 Step 7/22 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> bca9375136cb Step 8/22 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 76f0f6767b33 Step 9/22 : FROM build AS dev ---> 76f0f6767b33 Step 10/22 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 3ae6d57143f7 Step 11/22 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> 7ee3a328bee6 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 ---> 816512c07dfb Step 13/22 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 4ff89b8169b0 Step 14/22 : ARG GOPROXY ---> Using cache ---> c3b22b831ac0 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 ---> e4628116450c 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 ---> f0dd384375dc 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 ---> 59a4a11350dd Step 18/22 : COPY . . ---> 4f8788f68202 Step 6/14 : ARG EXPERIMENTAL="off" ---> Running in e81ea7f26314 Removing intermediate container e81ea7f26314 ---> 8ba28940f780 Step 7/14 : ARG TAG="unknown" ---> 8aca8924356c Successfully built 8aca8924356c Successfully tagged docker-app-lint:jenkins-app-PR-655-44 docker run --rm docker-app-lint:jenkins-app-PR-655-44 make lint ---> Running in f190ea7ea56e Removing intermediate container f190ea7ea56e ---> a981c3aa3a6f Step 8/14 : RUN make EXPERIMENTAL=${EXPERIMENTAL} BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run ---> Running in 5f7871024936 Linting... CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=2766cd7c -X github.com/docker/app/internal.Version=jenkins-app-PR-655-44 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-07T10:18:43Z" -o bin/cnab-run ./cmd/cnab-run ---> fe4b02ea3e27 Step 19/22 : FROM dev AS cross ---> fe4b02ea3e27 Step 20/22 : ARG EXPERIMENTAL="off" ---> Running in 7577fdf55d38 Removing intermediate container 7577fdf55d38 ---> 01962c42bd4b Step 21/22 : ARG TAG="unknown" ---> Running in 69b17bf1a759 Removing intermediate container 69b17bf1a759 ---> 631804e7011b Step 22/22 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Running in e30c3858cfda GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=2766cd7c -X github.com/docker/app/internal.Version=jenkins-app-PR-655-44 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-07T10:18:46Z" -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-655-44 . Sending build context to Docker daemon 75.57MB Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> 1178e4c88b73 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 2842b79c84fc Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 1b3c581f780f Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 3fc66b25a436 Step 6/18 : ARG GOPROXY ---> Using cache ---> 4c0cca8d5d25 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 08a6f561c819 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> a215c1b02d38 Step 9/18 : FROM build AS dev ---> a215c1b02d38 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 5dffbee2e046 Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> 5d782bbbb20a Step 12/18 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep ---> Using cache ---> 80630eca54bb Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 2dc0fa096072 Step 14/18 : ARG GOPROXY ---> Using cache ---> 89a1754bf171 Step 15/18 : RUN mkdir $GOPATH/src/gotest.tools && git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum && cd $GOPATH/src/gotest.tools/gotestsum && git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION && GO111MODULE=on GOOS=linux go build -o /usr/local/bin/gotestsum-linux gotest.tools/gotestsum && GO111MODULE=on GOOS=darwin go build -o /usr/local/bin/gotestsum-darwin gotest.tools/gotestsum && GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum && ln -s gotestsum-linux /usr/local/bin/gotestsum ---> Using cache ---> 45b6e0173465 Step 16/18 : RUN GOOS=linux go build -o /usr/local/bin/test2json-linux cmd/test2json && GOOS=darwin go build -o /usr/local/bin/test2json-darwin cmd/test2json && GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json ---> Using cache ---> 53b0653c2d57 Step 17/18 : RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.com/mjibson/esc && go build -v -o /usr/bin/esc . && rm -rf /go/src/* /go/pkg/* /go/bin/* ---> Using cache ---> 4c05175f9011 Step 18/18 : COPY . . ---> b72ff4203bfd [Warning] One or more build-args [TAG ALPINE_VERSION COMMIT EXPERIMENTAL] were not consumed Successfully built b72ff4203bfd Successfully tagged docker-app-dev:jenkins-app-PR-655-44 Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-655-44 sh -c "make vendor && hack/check-git-diff vendor" rm -rf vendor 1>&1 dep ensure -v (1/104) Wrote github.com/mitchellh/mapstructure@v1.1.2 (2/104) Wrote github.com/containerd/console@master (3/104) Wrote github.com/Masterminds/semver@v1.4.2 (4/104) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1 (5/104) Wrote github.com/Azure/go-ansiterm@master (6/104) Wrote github.com/containerd/continuity@master (7/104) Wrote github.com/Microsoft/go-winio@v0.4.12 (8/104) Wrote github.com/agl/ed25519@master (9/104) Wrote github.com/beorn7/perks@master (10/104) Wrote github.com/containerd/cgroups@master (11/104) Wrote github.com/containerd/ttrpc@master (12/104) Wrote github.com/containerd/fifo@master (13/104) Wrote github.com/containerd/typeurl@master (14/104) Wrote github.com/miekg/pkcs11@master (15/104) Wrote github.com/Microsoft/hcsshim@v0.8.6 (16/104) Wrote github.com/coreos/go-systemd@v20 (17/104) Wrote github.com/davecgh/go-spew@v1.1.1 (18/104) Wrote github.com/docker/docker-credential-helpers@v0.6.1 (19/104) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1 (20/104) Wrote github.com/docker/go@v1.5.1-1 (21/104) Wrote github.com/docker/go-events@master (22/104) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2 (23/104) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 (24/104) Wrote github.com/docker/go-connections@v0.4.0 (25/104) Wrote github.com/docker/go-units@v0.3.3 (26/104) Wrote github.com/gofrs/flock@v0.7.1 (27/104) Wrote github.com/godbus/dbus@v5.0.1 (28/104) Wrote github.com/gogo/googleapis@v1.2.0 (29/104) Wrote github.com/docker/buildx@v0.3.1 (30/104) Wrote github.com/google/go-cmp@v0.2.0 (31/104) Wrote github.com/google/gofuzz@v1.0.0 (32/104) Wrote github.com/google/shlex@master (33/104) Wrote github.com/gorilla/mux@v1.7.1 (34/104) Wrote github.com/grpc-ecosystem/grpc-opentracing@master (35/104) Wrote github.com/hashicorp/go-version@v1.1.0 (36/104) Wrote github.com/hashicorp/golang-lru@v0.5.1 (37/104) Wrote github.com/globalsign/mgo@master (38/104) Wrote github.com/containerd/containerd@master (39/104) Wrote github.com/imdario/mergo@master (40/104) Wrote github.com/inconshreveable/mousetrap@v1.0 (41/104) Wrote github.com/jaguilar/vt100 (from github.com/tonistiigi/vt100)@ad4c4a5743050fb7f88ce968dca9422f72a0e3f2 (42/104) Wrote github.com/googleapis/gnostic@v0.2.0 (43/104) Wrote github.com/mattn/go-shellwords@v1.0.5 (44/104) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2 (45/104) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (46/104) Wrote github.com/docker/compose-on-kubernetes@v0.4.21 (47/104) Wrote github.com/json-iterator/go@v1.1.6 (48/104) Wrote github.com/xeipuuv/gojsonreference@master (49/104) Wrote cloud.google.com/go@v0.37.4 (50/104) Wrote github.com/modern-go/concurrent@1.0.3 (51/104) Wrote github.com/modern-go/reflect2@1.0.1 (52/104) Wrote github.com/morikuni/aec@master (53/104) Wrote github.com/oklog/ulid@v1.3.1 GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=2766cd7c -X github.com/docker/app/internal.Version=jenkins-app-PR-655-44 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-07T10:18:46Z" -o bin/docker-app-darwin ./cmd/docker-app (54/104) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1 (55/104) Wrote github.com/opencontainers/image-spec@v1.0.1 (56/104) Wrote github.com/opentracing/opentracing-go@v1.1.0 (57/104) Wrote github.com/golang/protobuf@v1.3.1 (58/104) Wrote github.com/pkg/errors@v0.8.1 (59/104) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 (60/104) Wrote github.com/prometheus/client_model@master (61/104) Wrote github.com/prometheus/client_golang@v0.8.0 (62/104) Wrote github.com/qri-io/jsonpointer@v0.1.0 (63/104) Wrote github.com/prometheus/procfs@master (64/104) Wrote github.com/prometheus/common@v0.2.0 (65/104) Wrote github.com/qri-io/jsonschema@v0.1.1 (66/104) Wrote github.com/spf13/cobra@v0.0.5 (67/104) Wrote github.com/sirupsen/logrus@v1.4.1 (68/104) Wrote github.com/syndtr/gocapability@master (69/104) Wrote github.com/spf13/pflag@master Removing intermediate container 5f7871024936 ---> 710d1b31f191 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 d8739c60bb7a fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz (70/104) Wrote github.com/tonistiigi/units@master 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 (71/104) Wrote github.com/wadey/gocovmerge@master (72/104) Wrote github.com/opencontainers/runc@v1.0.0-rc7 Removing intermediate container d8739c60bb7a ---> 8daae59f3be5 Step 11/14 : USER cnab ---> Running in 6922a70016a9 (73/104) Wrote github.com/xeipuuv/gojsonpointer@master Removing intermediate container 6922a70016a9 ---> 1569a48b18d1 Step 12/14 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run (74/104) Wrote gopkg.in/inf.v0@v0.9.1 ---> 4210bfe96d8c Step 13/14 : WORKDIR /cnab/app ---> Running in 721abd64b74b (75/104) Wrote github.com/tonistiigi/fsutil@master Removing intermediate container 721abd64b74b ---> 2d53271ad8e9 Step 14/14 : CMD /cnab/app/run ---> Running in a0ba1f6d77b1 Removing intermediate container a0ba1f6d77b1 ---> 5da122764241 [Warning] One or more build-args [COMMIT GOPROXY] were not consumed Successfully built 5da122764241 Successfully tagged docker/cnab-app-base:jenkins-app-PR-655-44 docker save docker/cnab-app-base:jenkins-app-PR-655-44 -o _build/invocation-image.tar (76/104) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-655-44-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-655-44 docker/cnab-app-base:jenkins-app-PR-655-44-coverage docker save docker/cnab-app-base:jenkins-app-PR-655-44-coverage -o _build/coverage-invocation-image.tar [Pipeline] sh (77/104) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-655-44-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-655-44 docker/cnab-app-base:jenkins-app-PR-655-44-coverage-experimental docker save docker/cnab-app-base:jenkins-app-PR-655-44-coverage-experimental -o _build/coverage-experimental-invocation-image.tar (78/104) Wrote github.com/moby/buildkit@v0.6.2 [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/_build [Pipeline] { [Pipeline] stash (79/104) Wrote golang.org/x/oauth2@master (80/104) Wrote golang.org/x/sync@master (81/104) Wrote github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98 (82/104) Wrote golang.org/x/crypto@master (83/104) Wrote golang.org/x/time@master (84/104) Wrote golang.org/x/net@master (85/104) Wrote github.com/coreos/etcd@v3.3.12 (86/104) Wrote google.golang.org/appengine@v1.5.0 Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/44/stashes/invocation-image.tgz [Pipeline] stash (87/104) Wrote gopkg.in/yaml.v2@v2.2.3 (88/104) Wrote gotest.tools@v2.3.0 Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/44/stashes/coverage-invocation-image.tgz [Pipeline] stash (89/104) Wrote k8s.io/klog@v0.2.0 (90/104) Wrote k8s.io/utils@master (91/104) Wrote vbom.ml/util@master (92/104) Wrote sigs.k8s.io/yaml@v1.1.0 (93/104) Wrote google.golang.org/grpc@v1.19.1 (94/104) Wrote golang.org/x/sys@master Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/44/stashes/coverage-experimental-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app [Pipeline] { [Pipeline] sh (95/104) Wrote k8s.io/apimachinery@kubernetes-1.14.1 + docker rmi docker/cnab-app-base:jenkins-app-PR-655-44 Untagged: docker/cnab-app-base:jenkins-app-PR-655-44 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-655-44-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-655-44-coverage [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-655-44-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-655-44-coverage-experimental Deleted: sha256:5da1227642410b940387d1ae2c1635692bed8912a6cf471c08feabafc17a3d99 Deleted: sha256:2d53271ad8e956dcafd18d12f063d5516bf27fd3206b9386182f7b0a649af29a Deleted: sha256:4210bfe96d8ca2bd200816b2a68f1f54546ebc7dc0b5519881098909ce2cdc40 Deleted: sha256:faab22aaadeca09fd36ade558094d526788d51235129adb2ed9332180b241df1 Deleted: sha256:1569a48b18d1be8d215c5051dc37a4a902ec847b7e805ca07a028d9af764607b Deleted: sha256:8daae59f3be5dafe8f20dd6e6d0ef4aa7db55e2a3488ae03f67b89b576d2dfd4 Deleted: sha256:56e7c65b2928a66a972f43cf552aaaf9688ed3eadc5d3c7f02ccdc74a33d9551 [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } (96/104) Wrote github.com/theupdateframework/notary@v0.6.1 (97/104) Wrote golang.org/x/text@v0.3.0 (98/104) Wrote golang.org/x/tools@master (99/104) Wrote google.golang.org/genproto@master (100/104) Wrote k8s.io/client-go@kubernetes-1.14.1 (101/104) Wrote github.com/gogo/protobuf@v1.2.1 (102/104) Wrote k8s.io/api@kubernetes-1.14.1 GOOS=windows CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=2766cd7c -X github.com/docker/app/internal.Version=jenkins-app-PR-655-44 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-07T10:18:46Z" -o bin/docker-app-windows.exe ./cmd/docker-app (103/104) Wrote github.com/docker/docker@master Removing intermediate container e30c3858cfda ---> 4267724563a6 [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 4267724563a6 Successfully tagged docker-app-cross:jenkins-app-PR-655-44 docker create --name docker-app-cross-jenkins-app-PR-655-44 docker-app-cross:jenkins-app-PR-655-44 noop 11a0a4eaa5b7dd22b42ec4ef79713c30600305c57d0a922adfa1c85fb0f67e11 docker cp docker-app-cross-jenkins-app-PR-655-44:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux docker cp docker-app-cross-jenkins-app-PR-655-44:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin docker cp docker-app-cross-jenkins-app-PR-655-44:/go/src/github.com/docker/app/bin/docker-app-windows.exe bin/docker-app-windows.exe docker rm docker-app-cross-jenkins-app-PR-655-44 docker-app-cross-jenkins-app-PR-655-44 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-655-44 . Sending build context to Docker daemon 75.57MB 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 ---> 8f24f3280737 Step 3/26 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 6b7824006fef Step 4/26 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 65cdeaaa2c6f Step 5/26 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 28a4cb54ca0b Step 6/26 : ARG GOPROXY ---> Using cache ---> 4a100ab579b3 Step 7/26 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> bca9375136cb Step 8/26 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 76f0f6767b33 Step 9/26 : FROM build AS dev ---> 76f0f6767b33 Step 10/26 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 3ae6d57143f7 Step 11/26 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> 7ee3a328bee6 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 ---> 816512c07dfb Step 13/26 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 4ff89b8169b0 Step 14/26 : ARG GOPROXY ---> Using cache ---> c3b22b831ac0 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 ---> e4628116450c 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 ---> f0dd384375dc 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 ---> 59a4a11350dd Step 18/26 : COPY . . ---> Using cache ---> fe4b02ea3e27 Step 19/26 : FROM dev AS cross ---> fe4b02ea3e27 Step 20/26 : ARG EXPERIMENTAL="off" ---> Using cache ---> 01962c42bd4b Step 21/26 : ARG TAG="unknown" ---> Using cache ---> 631804e7011b Step 22/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Using cache ---> 4267724563a6 Step 23/26 : FROM cross AS e2e-cross ---> 4267724563a6 Step 24/26 : ARG EXPERIMENTAL="off" ---> Running in 19e47ece27e2 Removing intermediate container 19e47ece27e2 ---> 102203603314 Step 25/26 : ARG TAG="unknown" ---> Running in d43ea948e1a4 Removing intermediate container d43ea948e1a4 ---> ff863cbf183c Step 26/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} e2e-cross ---> Running in 2ef011b3295c GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=2766cd7c -X github.com/docker/app/internal.Version=jenkins-app-PR-655-44 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-07T10:21:36Z" -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=2766cd7c -X github.com/docker/app/internal.Version=jenkins-app-PR-655-44 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-07T10:21:36Z" -c -o bin/docker-app-e2e-linux ./e2e/ GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=2766cd7c -X github.com/docker/app/internal.Version=jenkins-app-PR-655-44 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-07T10:21:36Z" -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=2766cd7c -X github.com/docker/app/internal.Version=jenkins-app-PR-655-44 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-07T10:21:36Z" -c -o bin/docker-app-e2e-darwin ./e2e/ (104/104) Wrote k8s.io/kubernetes@v1.14.1 vendor is correct [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } GOOS=windows CGO_ENABLED=0 go test -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=2766cd7c -X github.com/docker/app/internal.Version=jenkins-app-PR-655-44 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-07T10:21:36Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ Removing intermediate container 2ef011b3295c ---> 599b969322db [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 599b969322db Successfully tagged docker-app-e2e-cross:jenkins-app-PR-655-44 docker create --name docker-app-e2e-cross-jenkins-app-PR-655-44 docker-app-e2e-cross:jenkins-app-PR-655-44 noop 076e2b99e1eaaf34d007178634786aa3bb9c085f1137dffcf2b1d596d85075ee docker cp docker-app-e2e-cross-jenkins-app-PR-655-44:/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-655-44:/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-655-44:/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-655-44:/usr/local/bin/gotestsum-linux bin/gotestsum-linux docker cp docker-app-e2e-cross-jenkins-app-PR-655-44:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-655-44:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-655-44:/usr/local/bin/test2json-linux bin/test2json-linux docker cp docker-app-e2e-cross-jenkins-app-PR-655-44:/usr/local/bin/test2json-darwin bin/test2json-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-655-44:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe docker rm docker-app-e2e-cross-jenkins-app-PR-655-44 docker-app-e2e-cross-jenkins-app-PR-655-44 tar --transform='flags=r;s|docker-app-linux|docker-app-plugin-linux|' -czf bin/docker-app-linux.tar.gz -C bin docker-app-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 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 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-655/src/github.com/docker/app/bin [Pipeline] { [Pipeline] stash Stashed 21 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/44/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] stash Stashed 66 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/44/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/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-655/44/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + xargs docker image rm -f + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-655-44* Untagged: docker-app-e2e-cross:jenkins-app-PR-655-44 Deleted: sha256:599b969322dbf99c8455e080143e883ce7796c7f7ab169f1ef18cd5d352af542 Deleted: sha256:a13ac53450fc3df96a7d6bba047ef18a40f49e9dcd5ebc92f6ee06ab19bbbd70 Deleted: sha256:ff863cbf183c44180867a549f51e0078436093ebab6e8777ed705d143bff5a6c Deleted: sha256:102203603314b0e1a4884d1224cf13841d01e89ed334fd63358104e2fdeb3036 Untagged: docker-app-cross:jenkins-app-PR-655-44 Deleted: sha256:4267724563a600d70181a8bddc7c606f88f6af8929c24c3c423b402c61728a79 Deleted: sha256:b80cc1b2cd8ad0b4eb3c1a4bcf1c89e9662bfe6542ed38b0a7a075064af5ab8c Deleted: sha256:631804e7011b97f05ad82722c5ceb94507545d4e4f64fbf413daa649e585e0b9 Deleted: sha256:01962c42bd4b30e04d32afa573fb59db25e591865eab82a96fab9d5baf85f3c7 Deleted: sha256:fe4b02ea3e27b85bf768181487109365c2bc1c768ab1183dd4bc6d7be57e2573 Deleted: sha256:4afc4fb8489b70e8982ffaf00c31b7274d5827fa605dddb378533c64d45b9eee Untagged: docker-app-cli:jenkins-app-PR-655-44 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] parallel [Pipeline] { (Branch: Coverage) [Pipeline] { (Branch: Coverage (experimental)) [Pipeline] { (Branch: Test Linux) [Pipeline] stage [Pipeline] { (Coverage) [Pipeline] stage [Pipeline] { (Coverage (experimental)) [Pipeline] stage [Pipeline] { (Test Linux) [Pipeline] node [Pipeline] node [Pipeline] node Running on ubuntu-1804-overlay2 (i-0a8c9db5dedb73340) in /home/ubuntu/workspace/app_PR-655 Running on ubuntu-1804-overlay2 (i-0cada7d1ca3f117ef) in /home/ubuntu/workspace/app_PR-655 [Pipeline] { [Pipeline] { Running on ubuntu-1804-overlay2 (i-06922ab49e8873d21) in /home/ubuntu/workspace/app_PR-655 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app [Pipeline] { [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags 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-655/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/655/head:refs/remotes/origin/PR-655 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-655/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/655/head:refs/remotes/origin/PR-655 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-655/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/655/head:refs/remotes/origin/PR-655 Fetching without tags Fetching without tags Checking out Revision 2766cd7ca9eef067d33f3f859e85dcc3df4d1a6b (PR-655) Checking out Revision 2766cd7ca9eef067d33f3f859e85dcc3df4d1a6b (PR-655) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/655/head:refs/remotes/origin/PR-655 # 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/655/head:refs/remotes/origin/PR-655 > git config core.sparsecheckout # timeout=10 > git checkout -f 2766cd7ca9eef067d33f3f859e85dcc3df4d1a6b > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/655/head:refs/remotes/origin/PR-655 # timeout=10 Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/655/head:refs/remotes/origin/PR-655 # 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/655/head:refs/remotes/origin/PR-655 > git config core.sparsecheckout # timeout=10 > git checkout -f 2766cd7ca9eef067d33f3f859e85dcc3df4d1a6b Commit message: "Inspect image we've built to get Size" Checking out Revision 2766cd7ca9eef067d33f3f859e85dcc3df4d1a6b (PR-655) Commit message: "Inspect image we've built to get Size" Commit message: "Inspect image we've built to get Size" > 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/655/head:refs/remotes/origin/PR-655 > git config core.sparsecheckout # timeout=10 > git checkout -f 2766cd7ca9eef067d33f3f859e85dcc3df4d1a6b [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/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-655/44/stashes/coverage-invocation-image.tgz [Pipeline] sh + docker load -i coverage-invocation-image.tar Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/44/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-655/44/stashes/coverage-experimental-invocation-image.tgz [Pipeline] sh Loaded image: docker/cnab-app-base:jenkins-app-PR-655-44-coverage [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + docker load -i invocation-image.tar + docker load -i coverage-experimental-invocation-image.tar + make -f docker.Makefile TAG=jenkins-app-PR-655-44-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-655-44 . Loaded image: docker/cnab-app-base:jenkins-app-PR-655-44 [Pipeline] } [Pipeline] // dir [Pipeline] unstash Loaded image: docker/cnab-app-base:jenkins-app-PR-655-44-coverage-experimental [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- -f docker.Makefile TAG=jenkins-app-PR-655-44-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-655-44 . Sending build context to Docker daemon 75.57MB Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> df6974242e14 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 3e3ea64e2265 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 73c4815dc51b Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> f4fab763f530 Step 6/18 : ARG GOPROXY ---> Using cache ---> 7cbc4304f703 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 6cf69d9b92d7 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 20c2ccbef7b8 Step 9/18 : FROM build AS dev ---> 20c2ccbef7b8 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 868d37dc619e Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> b9c53bf0127d Step 12/18 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep ---> Using cache ---> 2206db7f72c4 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 00bf76af65d4 Step 14/18 : ARG GOPROXY ---> Using cache ---> 7c391aab274e Step 15/18 : RUN mkdir $GOPATH/src/gotest.tools && git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum && cd $GOPATH/src/gotest.tools/gotestsum && git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION && GO111MODULE=on GOOS=linux go build -o /usr/local/bin/gotestsum-linux gotest.tools/gotestsum && GO111MODULE=on GOOS=darwin go build -o /usr/local/bin/gotestsum-darwin gotest.tools/gotestsum && GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum && ln -s gotestsum-linux /usr/local/bin/gotestsum ---> Using cache ---> 36cbc1b63e8a Step 16/18 : RUN GOOS=linux go build -o /usr/local/bin/test2json-linux cmd/test2json && GOOS=darwin go build -o /usr/local/bin/test2json-darwin cmd/test2json && GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json ---> Using cache ---> 2ef7d8c75c1a Step 17/18 : RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.com/mjibson/esc && go build -v -o /usr/bin/esc . && rm -rf /go/src/* /go/pkg/* /go/bin/* ---> Using cache ---> aad13c563959 Step 18/18 : COPY . . Sending build context to Docker daemon 75.57MB Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> d34922f7e0b2 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> fe4e839a7278 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> eff21f03043d Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 06e66830e17b Step 6/18 : ARG GOPROXY ---> Using cache ---> 195bafca48bf Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> a2ffa2836aac Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 0d7e8006b0f4 Step 9/18 : FROM build AS dev ---> 0d7e8006b0f4 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 7fd89ada91a3 Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> fff836379d00 Step 12/18 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep ---> Using cache ---> a45939c09ec4 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> dccf53ecef58 Step 14/18 : ARG GOPROXY ---> Using cache ---> 57acbbddd938 Step 15/18 : RUN mkdir $GOPATH/src/gotest.tools && git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum && cd $GOPATH/src/gotest.tools/gotestsum && git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION && GO111MODULE=on GOOS=linux go build -o /usr/local/bin/gotestsum-linux gotest.tools/gotestsum && GO111MODULE=on GOOS=darwin go build -o /usr/local/bin/gotestsum-darwin gotest.tools/gotestsum && GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum && ln -s gotestsum-linux /usr/local/bin/gotestsum ---> Using cache ---> d2d43bc3cfed Step 16/18 : RUN GOOS=linux go build -o /usr/local/bin/test2json-linux cmd/test2json && GOOS=darwin go build -o /usr/local/bin/test2json-darwin cmd/test2json && GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json ---> Using cache ---> d19a37da6ee5 Step 17/18 : RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.com/mjibson/esc && go build -v -o /usr/bin/esc . && rm -rf /go/src/* /go/pkg/* /go/bin/* ---> Using cache ---> c7bb5131f331 Step 18/18 : COPY . . ---> e4bd4b144719 [Warning] One or more build-args [TAG ALPINE_VERSION COMMIT EXPERIMENTAL] were not consumed Successfully built e4bd4b144719 Successfully tagged docker-app-dev:jenkins-app-PR-655-44 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-655-44-coverage --network="host" -t docker-app-dev:jenkins-app-PR-655-44 make COMMIT=2766cd7c TAG=jenkins-app-PR-655-44-coverage EXPERIMENTAL=off TEST_RESULTS_PREFIX= coverage Running unit tests (coverage)... CGO_ENABLED=0 gotestsum --junitfile _build/test-results/unit-coverage.xml -- -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=2766cd7c -X github.com/docker/app/internal.Version=jenkins-app-PR-655-44-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-07T10:23:07Z" -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/internal github.com/docker/app/internal/commands github.com/docker/app/internal/commands/build github.com/docker/app/internal/commands/image github.com/docker/app/internal/compose github.com/docker/app/internal/formatter github.com/docker/app/internal/formatter/driver github.com/docker/app/internal/formatter/json github.com/docker/app/internal/formatter/yaml github.com/docker/app/internal/inspect github.com/docker/app/internal/log github.com/docker/app/internal/packager github.com/docker/app/internal/slices github.com/docker/app/internal/store github.com/docker/app/internal/yaml github.com/docker/app/loader github.com/docker/app/render github.com/docker/app/specification github.com/docker/app/types github.com/docker/app/types/metadata github.com/docker/app/types/parameters ---> 1b201ef023f4 [Warning] One or more build-args [TAG ALPINE_VERSION COMMIT EXPERIMENTAL] were not consumed Successfully built 1b201ef023f4 Successfully tagged docker-app-dev:jenkins-app-PR-655-44 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-655-44-coverage-experimental --network="host" -t docker-app-dev:jenkins-app-PR-655-44 make COMMIT=2766cd7c TAG=jenkins-app-PR-655-44-coverage-experimental EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- coverage ∅ . Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/44/stashes/binaries.tgz [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/examples [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/44/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/44/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh 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=2766cd7c -X github.com/docker/app/internal.Version=jenkins-app-PR-655-44-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-07T10:23:08Z" -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/internal github.com/docker/app/internal/commands github.com/docker/app/internal/commands/build github.com/docker/app/internal/commands/image github.com/docker/app/internal/compose github.com/docker/app/internal/formatter github.com/docker/app/internal/formatter/driver github.com/docker/app/internal/formatter/json github.com/docker/app/internal/formatter/yaml github.com/docker/app/internal/inspect github.com/docker/app/internal/log github.com/docker/app/internal/packager github.com/docker/app/internal/slices github.com/docker/app/internal/store github.com/docker/app/internal/yaml github.com/docker/app/loader github.com/docker/app/render github.com/docker/app/specification github.com/docker/app/types github.com/docker/app/types/metadata github.com/docker/app/types/parameters + ./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 ∅ . (4ms) PASS e2e/linux.TestBuild (19.54s) PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (3.01s) PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (2.92s) PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (2.97s) PASS e2e/linux.TestCallCustomStatusAction (8.90s) PASS e2e/linux.TestCnabParameters (2.99s) PASS e2e/linux.TestExitErrorCode (0.06s) PASS e2e/linux.TestRender/envvariables/stdout (1.78s) PASS e2e/linux.TestRender/envvariables/file (1.57s) PASS e2e/linux.TestRender/envvariables (3.35s) PASS e2e/linux.TestRender (3.35s) PASS e2e/linux.TestRenderFormatters (14.62s) PASS e2e/linux.TestInit (0.15s) === RUN TestInspectApp --- FAIL: TestInspectApp (0.12s) commands_test.go:172: assertion failed: Command: /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/docker-linux app bundle testdata/simple/simple.dockerapp --output /tmp/TestInspectApp-147176349/simple-bundle.json --tag simple-app:1.0.0 ExitCode: 125 Error: exit status 125 Stdout: Stderr: unknown flag: --output See 'docker app --help'. Usage: docker app [OPTIONS] COMMAND A tool to build and manage Docker Applications. Options: --version Print version information Management Commands: image Manage application images Commands: build Build service images for the application init Initialize Docker Application definition inspect Shows metadata, parameters and a summary of the Compose file for a given application install Install an application ls List the installations and their last known installation result pull Pull an application package from a registry push Push an application package to a registry rm Remove 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. Failures: ExitCode was 125 expected 0 Expected no error FAIL e2e/linux.TestInspectApp (0.12s) ∅ cmd/cnab-run ∅ cmd/cnab-run ∅ cmd/docker-app ✓ internal (2ms) ∅ cmd/docker-app ✓ internal (5ms) ✓ internal/commands/build (51ms) ✓ internal/commands (359ms) ✓ internal/commands/image (12ms) ✓ internal/formatter (3ms) ✓ internal/compose (5ms) ∅ internal/formatter/driver ∅ internal/formatter/json ∅ internal/formatter/yaml ✓ internal/commands/build (16ms) ✓ internal/inspect (82ms) ∅ internal/log ✓ internal/slices (9ms) ✓ internal/commands (452ms) ✓ internal/commands/image (12ms) ✓ internal/packager (26ms) ✓ internal/compose (5ms) ✓ internal/formatter (12ms) ∅ internal/formatter/driver ∅ internal/formatter/json ∅ internal/formatter/yaml ✓ internal/store (34ms) ✓ internal/yaml (13ms) ✓ internal/inspect (97ms) ∅ internal/log ✓ loader (9ms) PASS e2e/linux.TestDockerAppLifecycle/withBindMounts (20.32s) PASS e2e/linux.TestDockerAppLifecycle/withoutBindMounts (25.25s) PASS e2e/linux.TestDockerAppLifecycle (45.57s) ✓ render (52ms) ✓ internal/slices (15ms) ✓ specification (9ms) ✓ types (24ms) ✓ internal/packager (33ms) ✓ types/parameters (5ms) ✓ types/metadata (5ms) ✓ internal/yaml (10ms) ✓ internal/store (29ms) DONE 225 tests in 101.715s CGO_ENABLED=0 go test -tags=""" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=2766cd7c -X github.com/docker/app/internal.Version=jenkins-app-PR-655-44-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-07T10:23:07Z" -coverpkg="./..." -c -o _build/docker-app.cov ./cmd/docker-app PASS e2e/linux.TestCredentials/missing (0.08s) PASS e2e/linux.TestCredentials/full (1.47s) PASS e2e/linux.TestCredentials/mixed-credstore (1.48s) PASS e2e/linux.TestCredentials/mixed-local-cred (1.46s) PASS e2e/linux.TestCredentials/overload (0.06s) PASS e2e/linux.TestCredentials (4.56s) ✓ loader (9ms) ✓ render (48ms) ✓ specification (8ms) PASS e2e/linux.TestRenderWithEnvFile (1.78s) ✓ types (33ms) PASS e2e/linux.TestExamplesAreValid (0.19s) ✓ types/parameters (11ms) ✓ types/metadata (5ms) DONE 225 tests in 102.608s CGO_ENABLED=0 go test -tags=""experimental" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=2766cd7c -X github.com/docker/app/internal.Version=jenkins-app-PR-655-44-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-07T10:23:08Z" -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/e2e-coverage.xml -- -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=2766cd7c -X github.com/docker/app/internal.Version=jenkins-app-PR-655-44-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-07T10:23:07Z" -v ./e2e 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=2766cd7c -X github.com/docker/app/internal.Version=jenkins-app-PR-655-44-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-07T10:23:08Z" -v ./e2e PASS e2e/linux.TestImageList (18.73s) PASS e2e/linux.TestImageRm (13.77s) PASS e2e/linux.TestImageTag (19.33s) PASS e2e/linux.TestInvokePluginFromCLI (3.49s) PASS e2e/linux.TestPushArchs/default (3.64s) PASS e2e/linux.TestPushArchs/all-platforms (1.36s) PASS e2e/linux.TestPushArchs (22.07s) PASS e2e/linux.TestPushInsecureRegistry (18.54s) PASS e2e/linux.TestPushInstall (17.00s) PASS e2e/linux.TestPushPullInstall (17.63s) PASS e2e/linux.TestPushInstallBundle/push-bundle (5.24s) PASS e2e/linux.TestPushInstallBundle/push-ref (1.29s) PASS e2e/linux.TestPushInstallBundle/push-bundleref (1.82s) PASS e2e/linux.TestPushInstallBundle (26.88s) FAIL e2e/linux === Failed === FAIL: e2e/linux TestInspectApp (0.12s) commands_test.go:172: assertion failed: Command: /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/docker-linux app bundle testdata/simple/simple.dockerapp --output /tmp/TestInspectApp-147176349/simple-bundle.json --tag simple-app:1.0.0 ExitCode: 125 Error: exit status 125 Stdout: Stderr: unknown flag: --output See 'docker app --help'. Usage: docker app [OPTIONS] COMMAND A tool to build and manage Docker Applications. Options: --version Print version information Management Commands: image Manage application images Commands: build Build service images for the application init Initialize Docker Application definition inspect Shows metadata, parameters and a summary of the Compose file for a given application install Install an application ls List the installations and their last known installation result pull Pull an application package from a registry push Push an application package to a registry rm Remove 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. Failures: ExitCode was 125 expected 0 Expected no error DONE 39 tests, 1 failure in 259.289s time="2019-10-07T10:27:29Z" 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-655/44/artifacts/ [Pipeline] junit Recording test results [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-655-44 Untagged: docker/cnab-app-base:jenkins-app-PR-655-44 [Pipeline] deleteDir [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Test Linux ✖ e2e (3m50.995s) === Failed === FAIL: e2e TestInspectApp (0.13s) commands_test.go:172: assertion failed: Command: docker app bundle testdata/simple/simple.dockerapp --output /tmp/TestInspectApp-073245304/simple-bundle.json --tag simple-app:1.0.0 ExitCode: 125 Error: exit status 125 Stdout: Stderr: unknown flag: --output See 'docker app --help'. Usage: docker app [OPTIONS] COMMAND A tool to build and manage Docker Applications. Options: --version Print version information Management Commands: image Manage application images Commands: build Build service images for the application init Initialize Docker Application definition inspect Shows metadata, parameters and a summary of the Compose file for a given application install Install an application ls List the installations and their last known installation result pull Pull an application package from a registry push Push an application package to a registry rm Remove 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. Failures: ExitCode was 125 expected 0 Expected no error DONE 39 tests, 1 failure in 232.612s make: *** [Makefile:102: coverage-test-e2e] Error 1 docker.Makefile:100: recipe for target 'coverage-run' failed make: *** [coverage-run] Error 2 + true [Pipeline] sh + make -f docker.Makefile TAG=jenkins-app-PR-655-44-coverage coverage-results docker cp docker-app-cov-jenkins-app-PR-655-44-coverage:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov docker cp docker-app-cov-jenkins-app-PR-655-44-coverage:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results docker rm docker-app-cov-jenkins-app-PR-655-44-coverage docker-app-cov-jenkins-app-PR-655-44-coverage [Pipeline] } [Pipeline] // ansiColor [Pipeline] step 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-655/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-655/44/artifacts/ [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-655-44-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-655-44-coverage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Coverage ✖ e2e (4m26.575s) === Failed === FAIL: e2e TestInspectApp (0.14s) commands_test.go:172: assertion failed: Command: docker app bundle testdata/simple/simple.dockerapp --output /tmp/TestInspectApp-674134067/simple-bundle.json --tag simple-app:1.0.0 ExitCode: 125 Error: exit status 125 Stdout: Stderr: unknown flag: --output See 'docker app --help'. Usage: docker app [OPTIONS] COMMAND A tool to build and manage Docker Applications. Options: --version Print version information Management Commands: image Manage application images Commands: build Build service images for the application init Initialize Docker Application definition inspect Shows metadata, parameters and a summary of the Compose file for a given application install Install an application ls List the installations and their last known installation result pull Pull an application package from a registry push Push an application package to a registry rm Remove 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. Failures: ExitCode was 125 expected 0 Expected no error DONE 39 tests, 1 failure in 268.202s make: *** [Makefile:102: coverage-test-e2e] Error 1 docker.Makefile:100: 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-655-44-coverage-experimental coverage-results docker cp docker-app-cov-jenkins-app-PR-655-44-coverage-experimental:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov docker cp docker-app-cov-jenkins-app-PR-655-44-coverage-experimental:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results docker rm docker-app-cov-jenkins-app-PR-655-44-coverage-experimental docker-app-cov-jenkins-app-PR-655-44-coverage-experimental [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/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-655/44/artifacts/ [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-655-44-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-655-44-coverage-experimental [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result ERROR: script returned exit code 1 Finished: FAILURE