Pull request #716 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from d3a5aae221495b24ce269bc19cc9f5040c60c3ea 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-03fa659f794125645) in /home/ubuntu/workspace/app_PR-716 [Pipeline] { Running on ubuntu-1804-overlay2 (i-05771fdc175835a14) in /home/ubuntu/workspace/app_PR-716 [Pipeline] { Running on ubuntu-1804-overlay2 (i-017d74dd5ded14cf0) in /home/ubuntu/workspace/app_PR-716 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-716/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-716/src/github.com/docker/app [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-716/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 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-716/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/716/head:refs/remotes/origin/PR-716 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-716/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/716/head:refs/remotes/origin/PR-716 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-716/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/716/head:refs/remotes/origin/PR-716 Fetching without tags Fetching without tags Checking out Revision d3a5aae221495b24ce269bc19cc9f5040c60c3ea (PR-716) Fetching without tags Checking out Revision d3a5aae221495b24ce269bc19cc9f5040c60c3ea (PR-716) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/716/head:refs/remotes/origin/PR-716 # 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/716/head:refs/remotes/origin/PR-716 > git config core.sparsecheckout # timeout=10 > git checkout -f d3a5aae221495b24ce269bc19cc9f5040c60c3ea > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/716/head:refs/remotes/origin/PR-716 # 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/716/head:refs/remotes/origin/PR-716 > git config core.sparsecheckout # timeout=10 > git checkout -f d3a5aae221495b24ce269bc19cc9f5040c60c3ea Checking out Revision d3a5aae221495b24ce269bc19cc9f5040c60c3ea (PR-716) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/716/head:refs/remotes/origin/PR-716 # 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/716/head:refs/remotes/origin/PR-716 Commit message: "Fix reference for service images we know by tag" Commit message: "Fix reference for service images we know by tag" First time build. Skipping changelog. Commit message: "Fix reference for service images we know by tag" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh [Pipeline] ansiColor [Pipeline] { [Pipeline] ansiColor [Pipeline] { [Pipeline] sh > git rev-list --no-walk e56c5718126e1462881f0bef1d51bee91f2212cc # timeout=10 [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f d3a5aae221495b24ce269bc19cc9f5040c60c3ea + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-PR-716-3 --build-arg COMMIT=d3a5aae2 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=build -t docker-app-cli:jenkins-app-PR-716-3 . + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-716-3 -f Dockerfile.lint . + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-716-3 --build-arg COMMIT=d3a5aae2 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-716-3 . Sending build context to Docker daemon 76.18MB 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 ---> 9fa010478e65 Step 3/8 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 42959c3f6ce0 Step 4/8 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 9806d47f9ba7 Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 099e1ba5ee96 Step 6/8 : ARG GOPROXY ---> Using cache ---> 6b331e92f145 Step 7/8 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> d92bc8f8649c Step 8/8 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 99751273c99d [Warning] One or more build-args [ALPINE_VERSION COMMIT TAG] were not consumed Successfully built 99751273c99d Successfully tagged docker-app-cli:jenkins-app-PR-716-3 docker create --name docker-app-cli-jenkins-app-PR-716-3 docker-app-cli:jenkins-app-PR-716-3 noop Sending build context to Docker daemon 76.18MB 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 ---> cb17117becb9 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 ---> 97b04ad36517 Step 6/8 : WORKDIR /go/src/github.com/docker/app ---> Using cache ---> 6eb538a6c30e Step 7/8 : ENV CGO_ENABLED=0 ---> Using cache ---> 94573fec8499 Step 8/8 : COPY . . Sending build context to Docker daemon 76.18MB Step 1/13 : ARG ALPINE_VERSION=3.10.1 Step 2/13 : FROM golang:1.13.0 AS build ---> c4d6fdf2260a Step 3/13 : RUN apt-get update -qq && apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 9d8f5a3c7e8a Step 4/13 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> f6c2c5d49244 Step 5/13 : COPY . . 7d1b6e57028220684d6bdbfcfe4556e1c8b988f825e6e2cb9bf8fd6f5c100fd8 docker cp docker-app-cli-jenkins-app-PR-716-3:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux docker cp docker-app-cli-jenkins-app-PR-716-3:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin docker cp docker-app-cli-jenkins-app-PR-716-3:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe docker rm docker-app-cli-jenkins-app-PR-716-3 docker-app-cli-jenkins-app-PR-716-3 docker build --build-arg TAG=jenkins-app-PR-716-3 --build-arg COMMIT=d3a5aae2 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=cross -t docker-app-cross:jenkins-app-PR-716-3 . Sending build context to Docker daemon 76.18MB Step 1/21 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/21 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> 9fa010478e65 Step 3/21 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 42959c3f6ce0 Step 4/21 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 9806d47f9ba7 Step 5/21 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 099e1ba5ee96 Step 6/21 : ARG GOPROXY ---> Using cache ---> 6b331e92f145 Step 7/21 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> d92bc8f8649c Step 8/21 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 99751273c99d Step 9/21 : FROM build AS dev ---> 99751273c99d Step 10/21 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 93d5976d0d27 Step 11/21 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> 1643a06e3026 Step 12/21 : 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 ---> 72ee97e108a7 Step 13/21 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 90e53671bcf6 Step 14/21 : ARG GOPROXY ---> Using cache ---> f6d7abdc1a95 Step 15/21 : 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 ---> be2d4a2377c2 Step 16/21 : 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 ---> 76ead9720157 Step 17/21 : 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 ---> 39c67ab5d7f2 Step 18/21 : COPY . . ---> 2c551b35709a Step 6/13 : ARG TAG="unknown" ---> Running in 013d0cdf93d5 Removing intermediate container 013d0cdf93d5 ---> aefe6c57f964 Step 7/13 : RUN make BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run ---> Running in 6219ce106c15 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d3a5aae2 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-3 -X github.com/docker/app/internal.BuildTime=2019-10-25T15:35:39Z" -o bin/cnab-run ./cmd/cnab-run ---> c29333f0b25a Successfully built c29333f0b25a Successfully tagged docker-app-lint:jenkins-app-PR-716-3 docker run --rm docker-app-lint:jenkins-app-PR-716-3 make lint Linting... ---> 6ce501fd0de9 Step 19/21 : FROM dev AS cross ---> 6ce501fd0de9 Step 20/21 : ARG TAG="unknown" ---> Running in 80614c59d3bc Removing intermediate container 80614c59d3bc ---> 2a7bbcb6bb88 Step 21/21 : RUN make TAG=${TAG} cross ---> Running in 2fc9a8620c4f GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d3a5aae2 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-3 -X github.com/docker/app/internal.BuildTime=2019-10-25T15:35:42Z" -o bin/docker-app-linux ./cmd/docker-app [Pipeline] sh + make -f docker.Makefile check-vendor docker build --build-arg TAG=jenkins-app-PR-716-3 --build-arg COMMIT=d3a5aae2 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-716-3 . Sending build context to Docker daemon 76.18MB 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 ---> 32af96550217 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 2378abb6d7b6 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 8f8dff0a85ff Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 6d5d3225da71 Step 6/18 : ARG GOPROXY ---> Using cache ---> ce912bab90b3 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 615e29e49187 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 920f05cb7a57 Step 9/18 : FROM build AS dev ---> 920f05cb7a57 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> c81e27437873 Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> ca876a4b7086 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 ---> 585aa3008224 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 2c46289fb74d Step 14/18 : ARG GOPROXY ---> Using cache ---> 4e2a47fc19f1 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 ---> 18bbe6646a3a 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 ---> 079fa2aeed29 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 ---> 7d8e6da4043c Step 18/18 : COPY . . ---> 67dd283a301d [Warning] One or more build-args [ALPINE_VERSION COMMIT TAG] were not consumed Successfully built 67dd283a301d Successfully tagged docker-app-dev:jenkins-app-PR-716-3 Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-716-3 sh -c "make vendor && hack/check-git-diff vendor" rm -rf vendor 1>&1 dep ensure -v (1/104) Wrote github.com/Microsoft/go-winio@v0.4.12 (2/104) Wrote github.com/davecgh/go-spew@v1.1.1 (3/104) Wrote github.com/containerd/fifo@master (4/104) Wrote vbom.ml/util@master (5/104) Wrote github.com/containerd/continuity@master (6/104) Wrote github.com/coreos/go-systemd@v20 (7/104) Wrote github.com/agl/ed25519@master (8/104) Wrote github.com/beorn7/perks@master (9/104) Wrote github.com/Microsoft/hcsshim@v0.8.6 (10/104) Wrote github.com/containerd/cgroups@master (11/104) Wrote github.com/containerd/console@master (12/104) Wrote github.com/containerd/typeurl@master (13/104) Wrote github.com/containerd/ttrpc@master (14/104) Wrote github.com/docker/go@v1.5.1-1 (15/104) Wrote github.com/docker/docker-credential-helpers@v0.6.1 (16/104) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1 (17/104) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 (18/104) Wrote github.com/docker/go-events@master (19/104) Wrote github.com/docker/go-connections@v0.4.0 (20/104) Wrote github.com/docker/go-units@v0.3.3 (21/104) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2 (22/104) Wrote github.com/godbus/dbus@v5.0.1 (23/104) Wrote github.com/gofrs/flock@v0.7.1 (24/104) Wrote github.com/gogo/googleapis@v1.2.0 (25/104) Wrote github.com/google/go-cmp@v0.2.0 (26/104) Wrote github.com/docker/buildx@v0.3.1 (27/104) Wrote github.com/google/gofuzz@v1.0.0 (28/104) Wrote github.com/google/shlex@master (29/104) Wrote github.com/gorilla/mux@v1.7.1 (30/104) Wrote github.com/grpc-ecosystem/grpc-opentracing@master (31/104) Wrote github.com/hashicorp/go-version@v1.1.0 (32/104) Wrote github.com/globalsign/mgo@master (33/104) Wrote github.com/hashicorp/golang-lru@v0.5.1 (34/104) Wrote github.com/imdario/mergo@master (35/104) Wrote github.com/inconshreveable/mousetrap@v1.0 (36/104) Wrote github.com/jaguilar/vt100 (from github.com/tonistiigi/vt100)@ad4c4a5743050fb7f88ce968dca9422f72a0e3f2 (37/104) Wrote github.com/mattn/go-shellwords@v1.0.5 (38/104) Wrote github.com/googleapis/gnostic@v0.2.0 (39/104) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (40/104) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2 (41/104) Wrote github.com/json-iterator/go@v1.1.6 (42/104) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1 (43/104) Wrote github.com/docker/compose-on-kubernetes@v0.4.21 (44/104) Wrote github.com/miekg/pkcs11@master (45/104) Wrote github.com/mitchellh/mapstructure@v1.1.2 (46/104) Wrote github.com/modern-go/concurrent@1.0.3 (47/104) Wrote github.com/modern-go/reflect2@1.0.1 (48/104) Wrote github.com/morikuni/aec@master GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d3a5aae2 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-3 -X github.com/docker/app/internal.BuildTime=2019-10-25T15:35:42Z" -o bin/docker-app-darwin ./cmd/docker-app (49/104) Wrote github.com/oklog/ulid@v1.3.1 (50/104) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1 (51/104) Wrote github.com/golang/protobuf@v1.3.1 (52/104) Wrote github.com/opencontainers/image-spec@v1.0.1 (53/104) Wrote github.com/opentracing/opentracing-go@v1.1.0 (54/104) Wrote github.com/pkg/errors@v0.8.1 (55/104) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 (56/104) Wrote github.com/prometheus/client_model@master (57/104) Wrote github.com/prometheus/client_golang@v0.8.0 (58/104) Wrote github.com/qri-io/jsonpointer@v0.1.0 (59/104) Wrote github.com/prometheus/procfs@master (60/104) Wrote github.com/prometheus/common@v0.2.0 (61/104) Wrote github.com/qri-io/jsonschema@v0.1.1 Removing intermediate container 6219ce106c15 ---> e22a9288ff84 Step 8/13 : FROM alpine:${ALPINE_VERSION} as invocation ---> b7b28af77ffe Step 9/13 : RUN apk add --no-cache ca-certificates && adduser -S cnab ---> Running in 2a10b68a53c2 (62/104) Wrote github.com/sirupsen/logrus@v1.4.1 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz (63/104) Wrote github.com/syndtr/gocapability@master (64/104) Wrote github.com/spf13/pflag@master (65/104) Wrote github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98 (66/104) Wrote github.com/spf13/cobra@v0.0.5 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 2a10b68a53c2 ---> a70706b4b0ce Step 10/13 : USER cnab ---> Running in bfd6a5ee9f8d (67/104) Wrote github.com/tonistiigi/units@master (68/104) Wrote github.com/wadey/gocovmerge@master Removing intermediate container bfd6a5ee9f8d ---> 56761d929bcf Step 11/13 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run (69/104) Wrote github.com/opencontainers/runc@v1.0.0-rc7 (70/104) Wrote github.com/xeipuuv/gojsonpointer@master ---> 7fbd149b3e3c Step 12/13 : WORKDIR /cnab/app ---> Running in 07138fe9ebd7 Removing intermediate container 07138fe9ebd7 ---> 64c656c40ee8 Step 13/13 : CMD /cnab/app/run ---> Running in c9df2dfdd550 Removing intermediate container c9df2dfdd550 ---> 695b769a5935 [Warning] One or more build-args [COMMIT GOPROXY] were not consumed Successfully built 695b769a5935 Successfully tagged docker/cnab-app-base:jenkins-app-PR-716-3 docker save docker/cnab-app-base:jenkins-app-PR-716-3 -o _build/invocation-image.tar (71/104) Wrote github.com/xeipuuv/gojsonreference@master (72/104) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d (73/104) Wrote github.com/tonistiigi/fsutil@master (74/104) Wrote github.com/containerd/containerd@master [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-716-3-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-716-3 docker/cnab-app-base:jenkins-app-PR-716-3-coverage docker save docker/cnab-app-base:jenkins-app-PR-716-3-coverage -o _build/coverage-invocation-image.tar (75/104) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-716/src/github.com/docker/app/_build [Pipeline] { [Pipeline] stash (76/104) Wrote github.com/moby/buildkit@v0.6.2 (77/104) Wrote github.com/coreos/etcd@v3.3.12 (78/104) Wrote golang.org/x/oauth2@master (79/104) Wrote golang.org/x/sync@master (80/104) Wrote golang.org/x/crypto@master (81/104) Wrote golang.org/x/time@master (82/104) Wrote golang.org/x/net@master Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-716/3/stashes/invocation-image.tgz [Pipeline] stash (83/104) Wrote gopkg.in/inf.v0@v0.9.1 (84/104) Wrote google.golang.org/appengine@v1.5.0 (85/104) Wrote gopkg.in/yaml.v2@v2.2.3 (86/104) Wrote gotest.tools@v2.3.0 (87/104) Wrote k8s.io/klog@v0.2.0 Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-716/3/stashes/coverage-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-716/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-716-3 Untagged: docker/cnab-app-base:jenkins-app-PR-716-3 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-716-3-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-716-3-coverage Deleted: sha256:695b769a59353e499e18ba6f3f2ecf736fbd0fda299492e0c86455c34357b26d Deleted: sha256:64c656c40ee83e1cdbb29610d40c90eacc4ccf6b427dc7bc9b9a24f94ec9f9b0 Deleted: sha256:7fbd149b3e3ceb67e2420d8516a8fea6b4cccbe45285e46b02659a2f437887ec Deleted: sha256:f20bd1f1cf4b4d1c8e134d292dd2bb60ddadf751918e119752226f89839d52ef Deleted: sha256:56761d929bcf211e11fde68a695c5f1bd12df60a70bea9e3cd445011bacdc9fe Deleted: sha256:a70706b4b0cebc0492fa4d95825f38bb463fc267ab2f0f9759d513125b66a94b Deleted: sha256:ad78eec5e37fb81a83e3f098af1e78cc807cd90e1d2e443d0488690fbba464a5 [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } (88/104) Wrote k8s.io/utils@master (89/104) Wrote github.com/Masterminds/semver@v1.4.2 (90/104) Wrote sigs.k8s.io/yaml@v1.1.0 (91/104) Wrote k8s.io/apimachinery@kubernetes-1.14.1 (92/104) Wrote golang.org/x/sys@master (93/104) Wrote github.com/Azure/go-ansiterm@master (94/104) Wrote google.golang.org/grpc@v1.19.1 (95/104) Wrote github.com/theupdateframework/notary@v0.6.1 (96/104) Wrote golang.org/x/text@v0.3.0 (97/104) Wrote golang.org/x/tools@master (98/104) Wrote k8s.io/client-go@kubernetes-1.14.1 (99/104) Wrote google.golang.org/genproto@master (100/104) Wrote cloud.google.com/go@v0.37.4 (101/104) Wrote github.com/gogo/protobuf@v1.2.1 GOOS=windows CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d3a5aae2 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-3 -X github.com/docker/app/internal.BuildTime=2019-10-25T15:35:42Z" -o bin/docker-app-windows.exe ./cmd/docker-app (102/104) Wrote k8s.io/api@kubernetes-1.14.1 (103/104) Wrote github.com/docker/docker@master Removing intermediate container 2fc9a8620c4f ---> e22f90c3a364 [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built e22f90c3a364 Successfully tagged docker-app-cross:jenkins-app-PR-716-3 docker create --name docker-app-cross-jenkins-app-PR-716-3 docker-app-cross:jenkins-app-PR-716-3 noop 8ddc564afc235efb49e87794987d4e730f1cbb133899ecbc4075c30db4d8007c docker cp docker-app-cross-jenkins-app-PR-716-3:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux docker cp docker-app-cross-jenkins-app-PR-716-3:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin docker cp docker-app-cross-jenkins-app-PR-716-3:/go/src/github.com/docker/app/bin/docker-app-windows.exe bin/docker-app-windows.exe docker rm docker-app-cross-jenkins-app-PR-716-3 docker-app-cross-jenkins-app-PR-716-3 docker build --build-arg TAG=jenkins-app-PR-716-3 --build-arg COMMIT=d3a5aae2 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-716-3 . Sending build context to Docker daemon 76.18MB Step 1/24 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/24 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> 9fa010478e65 Step 3/24 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 42959c3f6ce0 Step 4/24 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 9806d47f9ba7 Step 5/24 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 099e1ba5ee96 Step 6/24 : ARG GOPROXY ---> Using cache ---> 6b331e92f145 Step 7/24 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> d92bc8f8649c Step 8/24 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 99751273c99d Step 9/24 : FROM build AS dev ---> 99751273c99d Step 10/24 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 93d5976d0d27 Step 11/24 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> 1643a06e3026 Step 12/24 : 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 ---> 72ee97e108a7 Step 13/24 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 90e53671bcf6 Step 14/24 : ARG GOPROXY ---> Using cache ---> f6d7abdc1a95 Step 15/24 : 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 ---> be2d4a2377c2 Step 16/24 : 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 ---> 76ead9720157 Step 17/24 : 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 ---> 39c67ab5d7f2 Step 18/24 : COPY . . ---> Using cache ---> 6ce501fd0de9 Step 19/24 : FROM dev AS cross ---> 6ce501fd0de9 Step 20/24 : ARG TAG="unknown" ---> Using cache ---> 2a7bbcb6bb88 Step 21/24 : RUN make TAG=${TAG} cross ---> Using cache ---> e22f90c3a364 Step 22/24 : FROM cross AS e2e-cross ---> e22f90c3a364 Step 23/24 : ARG TAG="unknown" ---> Running in 070a103ce208 Removing intermediate container 070a103ce208 ---> f2874a42f533 Step 24/24 : RUN make TAG=${TAG} e2e-cross ---> Running in 4a6349d8e5b5 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d3a5aae2 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-3 -X github.com/docker/app/internal.BuildTime=2019-10-25T15:38:44Z" -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=d3a5aae2 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-3 -X github.com/docker/app/internal.BuildTime=2019-10-25T15:38:44Z" -c -o bin/docker-app-e2e-linux ./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=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d3a5aae2 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-3 -X github.com/docker/app/internal.BuildTime=2019-10-25T15:38:44Z" -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=d3a5aae2 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-3 -X github.com/docker/app/internal.BuildTime=2019-10-25T15:38:44Z" -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=d3a5aae2 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-3 -X github.com/docker/app/internal.BuildTime=2019-10-25T15:38:44Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ Removing intermediate container 4a6349d8e5b5 ---> ef7cf0e9b020 [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built ef7cf0e9b020 Successfully tagged docker-app-e2e-cross:jenkins-app-PR-716-3 docker create --name docker-app-e2e-cross-jenkins-app-PR-716-3 docker-app-e2e-cross:jenkins-app-PR-716-3 noop e7d11488ed2e84c7439426f836445ffd790c4a9cb72b849ea501113a88f5aee1 docker cp docker-app-e2e-cross-jenkins-app-PR-716-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-716-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-716-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-716-3:/usr/local/bin/gotestsum-linux bin/gotestsum-linux docker cp docker-app-e2e-cross-jenkins-app-PR-716-3:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-716-3:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-716-3:/usr/local/bin/test2json-linux bin/test2json-linux docker cp docker-app-e2e-cross-jenkins-app-PR-716-3:/usr/local/bin/test2json-darwin bin/test2json-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-716-3:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe docker rm docker-app-e2e-cross-jenkins-app-PR-716-3 docker-app-e2e-cross-jenkins-app-PR-716-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 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-716/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-716/3/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-716/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] stash Stashed 65 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-716/3/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-716/src/github.com/docker/app/examples [Pipeline] { [Pipeline] stash Stashed 48 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-716/3/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-716-3* + xargs docker image rm -f Untagged: docker-app-e2e-cross:jenkins-app-PR-716-3 Deleted: sha256:ef7cf0e9b0208bcf13a514ffb3b497d37ed917c2adfcce4967171f56e9093222 Deleted: sha256:6b9c048924b8dfbbc9b7eb8b213e4fc1fe35f90141cb1056a4f6ee44ddf33fba Deleted: sha256:f2874a42f5339c3b445a9abd435b466f0bcffcf9f575bb16f28b31de56a5c5cc Untagged: docker-app-cross:jenkins-app-PR-716-3 Deleted: sha256:e22f90c3a364e0bab9c2e11a0766634fa741bfc20868b6b1b78a42705a3993e4 Deleted: sha256:7bae14221c4cb589ba939ac54468aeb890c110500da97c39ef4af89872161d6f Deleted: sha256:2a7bbcb6bb8850597b4cfbbba494e891cff38ca9b902ff051d58fe1cacb04c11 Deleted: sha256:6ce501fd0de9acf96abe34793b94acbba422680326e1c07e42a9709e89b13745 Deleted: sha256:6f0b36fa46cf0b6bd7c3006244a91baf2ddb300f5d5afe918d671ac9a2ee1d68 Untagged: docker-app-cli:jenkins-app-PR-716-3 [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: Test Linux) [Pipeline] stage [Pipeline] { (Coverage) [Pipeline] stage [Pipeline] { (Test Linux) [Pipeline] node [Pipeline] node Running on ubuntu-1804-overlay2 (i-03fa659f794125645) in /home/ubuntu/workspace/app_PR-716 [Pipeline] { Running on ubuntu-1804-overlay2 (i-07ff642b493a6fd39) in /home/ubuntu/workspace/app_PR-716 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-716/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-716/src/github.com/docker/app [Pipeline] { using credential docker-jenkins-github-credentials [Pipeline] checkout Cloning the remote Git repository Cloning with configured refspecs honoured and without tags using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-716/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/716/head:refs/remotes/origin/PR-716 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-716/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/716/head:refs/remotes/origin/PR-716 Fetching without tags Checking out Revision d3a5aae221495b24ce269bc19cc9f5040c60c3ea (PR-716) Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/716/head:refs/remotes/origin/PR-716 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/716/head:refs/remotes/origin/PR-716 # 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/716/head:refs/remotes/origin/PR-716 > git config core.sparsecheckout # timeout=10 > git checkout -f d3a5aae221495b24ce269bc19cc9f5040c60c3ea Checking out Revision d3a5aae221495b24ce269bc19cc9f5040c60c3ea (PR-716) Commit message: "Fix reference for service images we know by tag" Commit message: "Fix reference for service images we know by tag" 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/716/head:refs/remotes/origin/PR-716 > git config core.sparsecheckout # timeout=10 > git checkout -f d3a5aae221495b24ce269bc19cc9f5040c60c3ea [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-716/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-716/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-716/3/stashes/coverage-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-716/3/stashes/invocation-image.tgz [Pipeline] sh + docker load -i coverage-invocation-image.tar + docker load -i invocation-image.tar Loaded image: docker/cnab-app-base:jenkins-app-PR-716-3-coverage [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh Loaded image: docker/cnab-app-base:jenkins-app-PR-716-3 [Pipeline] } [Pipeline] // dir [Pipeline] unstash + make -f docker.Makefile TAG=jenkins-app-PR-716-3-coverage coverage-run docker build --build-arg TAG=jenkins-app-PR-716-3-coverage --build-arg COMMIT=d3a5aae2 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-716-3 . Sending build context to Docker daemon 76.18MB 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 ---> 9fa010478e65 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 42959c3f6ce0 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 9806d47f9ba7 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 099e1ba5ee96 Step 6/18 : ARG GOPROXY ---> Using cache ---> 6b331e92f145 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> d92bc8f8649c Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 99751273c99d Step 9/18 : FROM build AS dev ---> 99751273c99d Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 93d5976d0d27 Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> 1643a06e3026 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 ---> 72ee97e108a7 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 90e53671bcf6 Step 14/18 : ARG GOPROXY ---> Using cache ---> f6d7abdc1a95 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 ---> be2d4a2377c2 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 ---> 76ead9720157 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 ---> 39c67ab5d7f2 Step 18/18 : COPY . . ---> b541b6cec55d [Warning] One or more build-args [ALPINE_VERSION COMMIT TAG] were not consumed Successfully built b541b6cec55d Successfully tagged docker-app-dev:jenkins-app-PR-716-3 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-716-3-coverage --network="host" -t docker-app-dev:jenkins-app-PR-716-3 make COMMIT=d3a5aae2 TAG=jenkins-app-PR-716-3-coverage 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=d3a5aae2 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-3-coverage -X github.com/docker/app/internal.BuildTime=2019-10-25T15:41:16Z" -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/docs/yaml github.com/docker/app/internal github.com/docker/app/internal/cnab 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 ∅ . Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-716/3/stashes/binaries.tgz [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-716/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-716/3/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-716/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-716/3/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + ./gotestsum-linux --format short-verbose --junitfile e2e-linux.xml --raw-command -- ./test2json-linux -t -p e2e/linux ./docker-app-e2e-linux -test.v --e2e-path=e2e PASS e2e/linux.TestBuild (14.66s) PASS e2e/linux.TestQuietBuild (13.04s) PASS e2e/linux.TestBuildWithoutTag (18.36s) PASS e2e/linux.TestBuildWithArgs (12.73s) PASS e2e/linux.TestBuildWithArgsDefinedTwice (12.35s) PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (3.08s) PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (3.09s) PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (3.18s) PASS e2e/linux.TestCallCustomStatusAction (9.34s) PASS e2e/linux.TestCnabParameters (3.08s) PASS e2e/linux.TestExitErrorCode (0.06s) PASS e2e/linux.TestRender/envvariables/stdout (1.85s) PASS e2e/linux.TestRender/envvariables/file (1.59s) PASS e2e/linux.TestRender/envvariables (3.45s) PASS e2e/linux.TestRender (3.45s) ∅ cmd/cnab-run ∅ cmd/docker-app ∅ docs/yaml ✓ internal (23ms) ✓ internal/cnab (36ms) # github.com/docker/app/internal/commands/build internal/commands/build/build.go:203: Errorf format %w has unknown verb w internal/commands/build/build.go:207: Errorf format %w has unknown verb w internal/commands/build/build.go:211: Errorf format %w has unknown verb w ✓ internal/commands (565ms) WARN[0103] FAIL github.com/docker/app/internal/commands/build [build failed] bad output from test2json: FAIL github.com/docker/app/internal/commands/build [build failed] === RUN TestRenderFormatters --- FAIL: TestRenderFormatters (14.41s) commands_test.go:84: assertion failed: --- expected +++ actual @@ -18,5 +18,5 @@ "placement": {} }, - "image": "python:3.6", + "image": "python:3.6@sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1", "networks": { "back": null, @@ -36,5 +36,5 @@ "placement": {} }, - "image": "postgres:9.3", + "image": "postgres:9.3@sha256:3cd40afb5803762170a1149ade6962fe24d405b3ccf2fe499ff1428635520a17", "networks": { "back": null @@ -48,5 +48,5 @@ "placement": {} }, - "image": "nginx:latest", + "image": "nginx:latest@sha256:922c815aa4df050d4df476e92daed4231f466acc8ee90e0e774951b0fd7195a4", "networks": { "front": null FAIL e2e/linux.TestRenderFormatters (14.41s) PASS e2e/linux.TestInit (0.14s) ✓ internal/compose (7ms) ✓ internal/formatter (18ms) ✓ internal/commands/image (35ms) ∅ internal/formatter/driver ∅ internal/formatter/json ∅ internal/formatter/yaml ✓ internal/inspect (143ms) ∅ internal/log ✓ internal/slices (18ms) ✓ internal/packager (46ms) ✓ internal/store (23ms) ✓ internal/yaml (22ms) ✓ loader (42ms) ✓ render (68ms) === RUN TestInspectApp --- FAIL: TestInspectApp (14.03s) commands_test.go:176: assertion failed: --- expected +++ actual @@ -18,15 +18,15 @@ { "Name": "api", - "Image": "python:3.6", + "Image": "docker.io/library/python:3.6@sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1", "Replicas": 1 }, { "Name": "db", - "Image": "postgres:9.3", + "Image": "docker.io/library/postgres:9.3@sha256:3cd40afb5803762170a1149ade6962fe24d405b3ccf2fe499ff1428635520a17", "Replicas": 1 }, { "Name": "web", - "Image": "nginx:latest", + "Image": "docker.io/library/nginx:latest@sha256:922c815aa4df050d4df476e92daed4231f466acc8ee90e0e774951b0fd7195a4", "Replicas": 1, "Ports": "8082" FAIL e2e/linux.TestInspectApp (14.03s) PASS e2e/linux.TestRunOnlyOne (0.15s) ✓ specification (13ms) ✓ types (32ms) ✓ types/metadata (29ms) ✓ types/parameters (4ms)  === Errors internal/commands/build/build.go:203: Errorf format %w has unknown verb w internal/commands/build/build.go:207: Errorf format %w has unknown verb w internal/commands/build/build.go:211: Errorf format %w has unknown verb w DONE 227 tests, 3 errors in 124.076s make: *** [Makefile:90: coverage-test-unit] Error 2 docker.Makefile:100: recipe for target 'coverage-run' failed make: *** [coverage-run] Error 2 [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-716/src/github.com/docker/app/_build/test-results [Pipeline] { [Pipeline] sh + [ ! -e unit-coverage.xml ] [Pipeline] sh + [ ! -e e2e-coverage.xml ] [Pipeline] archiveArtifacts Archiving artifacts [Pipeline] junit Recording test results No test report files were found. Configuration error? [Pipeline] } [Pipeline] // dir Error when executing always post condition: hudson.AbortException: No test report files were found. Configuration error? at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:154) at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:118) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3050) at hudson.remoting.UserRequest.perform(UserRequest.java:212) at hudson.remoting.UserRequest.perform(UserRequest.java:54) at hudson.remoting.Request$2.run(Request.java:369) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.lang.Thread.run(Thread.java:834) Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to ubuntu-1804-overlay2 (i-03fa659f794125645) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357) at hudson.remoting.Channel.call(Channel.java:957) at hudson.FilePath.act(FilePath.java:1070) at hudson.FilePath.act(FilePath.java:1059) at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:114) at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:137) at hudson.tasks.junit.JUnitResultArchiver.parseAndAttach(JUnitResultArchiver.java:167) at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:52) at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:25) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Coverage PASS e2e/linux.TestDockerAppLifecycle/withBindMounts (20.93s) PASS e2e/linux.TestDockerAppLifecycle/withoutBindMounts (20.32s) PASS e2e/linux.TestDockerAppLifecycle (41.26s) PASS e2e/linux.TestCredentials/missing (0.08s) PASS e2e/linux.TestCredentials/full (1.50s) PASS e2e/linux.TestCredentials/mixed-credstore (1.52s) PASS e2e/linux.TestCredentials/mixed-local-cred (1.53s) PASS e2e/linux.TestCredentials/overload (0.06s) PASS e2e/linux.TestCredentials (4.70s) PASS e2e/linux.TestRenderWithEnvFile (1.99s) PASS e2e/linux.TestExamplesAreValid (0.26s) PASS e2e/linux.TestImageList (14.24s) PASS e2e/linux.TestImageListQuiet (20.02s) PASS e2e/linux.TestImageRm (19.56s) PASS e2e/linux.TestImageTag (14.82s) PASS e2e/linux.TestInvokePluginFromCLI (0.20s) PASS e2e/linux.TestPushArchs/default (3.83s) PASS e2e/linux.TestPushArchs/all-platforms (1.02s) PASS e2e/linux.TestPushArchs (17.07s) PASS e2e/linux.TestPushInsecureRegistry (23.56s) PASS e2e/linux.TestPushInstall (16.91s) PASS e2e/linux.TestPushPullInstall (17.43s) PASS e2e/linux.TestPushInstallBundle/push-bundle (5.58s) PASS e2e/linux.TestPushInstallBundle/push-ref (1.24s) PASS e2e/linux.TestPushInstallBundle/push-bundleref (2.81s) PASS e2e/linux.TestPushInstallBundle (23.13s) FAIL e2e/linux === Failed === FAIL: e2e/linux TestRenderFormatters (14.41s) commands_test.go:84: assertion failed: --- expected +++ actual @@ -18,5 +18,5 @@ "placement": {} }, - "image": "python:3.6", + "image": "python:3.6@sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1", "networks": { "back": null, @@ -36,5 +36,5 @@ "placement": {} }, - "image": "postgres:9.3", + "image": "postgres:9.3@sha256:3cd40afb5803762170a1149ade6962fe24d405b3ccf2fe499ff1428635520a17", "networks": { "back": null @@ -48,5 +48,5 @@ "placement": {} }, - "image": "nginx:latest", + "image": "nginx:latest@sha256:922c815aa4df050d4df476e92daed4231f466acc8ee90e0e774951b0fd7195a4", "networks": { "front": null === FAIL: e2e/linux TestInspectApp (14.03s) commands_test.go:176: assertion failed: --- expected +++ actual @@ -18,15 +18,15 @@ { "Name": "api", - "Image": "python:3.6", + "Image": "docker.io/library/python:3.6@sha256:52f872eae9755743c9494e0e3cf02a47d34b42032cab1e5ab777b30c3665d5f1", "Replicas": 1 }, { "Name": "db", - "Image": "postgres:9.3", + "Image": "docker.io/library/postgres:9.3@sha256:3cd40afb5803762170a1149ade6962fe24d405b3ccf2fe499ff1428635520a17", "Replicas": 1 }, { "Name": "web", - "Image": "nginx:latest", + "Image": "docker.io/library/nginx:latest@sha256:922c815aa4df050d4df476e92daed4231f466acc8ee90e0e774951b0fd7195a4", "Replicas": 1, "Ports": "8082" DONE 45 tests, 2 failures in 330.985s time="2019-10-25T15:46:50Z" 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-716/3/artifacts/ [Pipeline] junit Recording test results [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-716-3 Untagged: docker/cnab-app-base:jenkins-app-PR-716-3 [Pipeline] deleteDir [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Test Linux [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result ERROR: script returned exit code 2 Finished: FAILURE