Pull request #704 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 94a78bb498c4ccc8a2f2e34d00423136d546ab9c 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-0d15195243fbac419) in /home/ubuntu/workspace/app_PR-704 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { [Pipeline] checkout Running on ubuntu-1804-overlay2 (i-006a20e553abc2374) in /home/ubuntu/workspace/app_PR-704 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { [Pipeline] script [Pipeline] { using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-704/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/704/head:refs/remotes/origin/PR-704 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-704/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/704/head:refs/remotes/origin/PR-704 Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/704/head:refs/remotes/origin/PR-704 # 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/704/head:refs/remotes/origin/PR-704 Checking out Revision 94a78bb498c4ccc8a2f2e34d00423136d546ab9c (PR-704) Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/704/head:refs/remotes/origin/PR-704 # 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/704/head:refs/remotes/origin/PR-704 Checking out Revision 94a78bb498c4ccc8a2f2e34d00423136d546ab9c (PR-704) Commit message: "Fix issues reported by reviewers" Commit message: "Fix issues reported by reviewers" > git config core.sparsecheckout # timeout=10 > git checkout -f 94a78bb498c4ccc8a2f2e34d00423136d546ab9c > git rev-list --no-walk b9bd12a528316c03382c812c72eb56ed922c1a4b # timeout=10 [Pipeline] ansiColor [Pipeline] { [Pipeline] sh [Pipeline] ansiColor [Pipeline] { [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 94a78bb498c4ccc8a2f2e34d00423136d546ab9c + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-704-13 -f Dockerfile.lint . + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-PR-704-13 --build-arg COMMIT=94a78bb4 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=build -t docker-app-cli:jenkins-app-PR-704-13 . Sending build context to Docker daemon 76.19MB 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 ---> 2130b03d74f6 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 ---> 1c31de68a95f Step 6/8 : WORKDIR /go/src/github.com/docker/app ---> Using cache ---> 0c425163a61d Step 7/8 : ENV CGO_ENABLED=0 ---> Using cache ---> 3779f3e61964 Step 8/8 : COPY . . Sending build context to Docker daemon 76.19MB Step 1/8 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705: Pulling from dockercore/golang-cross 4ae16bd47783: Pulling fs layer bbab4ec87ac4: Pulling fs layer 2ea1f7804402: Pulling fs layer 96465440c208: Pulling fs layer 16a3d8aca6cd: Pulling fs layer e0ec5610455a: Pulling fs layer 96d705baf026: Pulling fs layer 39007eb46008: Pulling fs layer 4e549f0f5e64: Pulling fs layer c0058a8c71f2: Pulling fs layer 2f8d98df0991: Pulling fs layer 96465440c208: Waiting 16a3d8aca6cd: Waiting e0ec5610455a: Waiting 96d705baf026: Waiting 39007eb46008: Waiting 4e549f0f5e64: Waiting c0058a8c71f2: Waiting 2f8d98df0991: Waiting 2ea1f7804402: Verifying Checksum 2ea1f7804402: Download complete bbab4ec87ac4: Verifying Checksum bbab4ec87ac4: Download complete 4ae16bd47783: Verifying Checksum 4ae16bd47783: Download complete 96465440c208: Verifying Checksum 96465440c208: Download complete 96d705baf026: Verifying Checksum 96d705baf026: Download complete 39007eb46008: Verifying Checksum 39007eb46008: Download complete 16a3d8aca6cd: Verifying Checksum 16a3d8aca6cd: Download complete c0058a8c71f2: Verifying Checksum c0058a8c71f2: Download complete ---> 3a5e23531855 Successfully built 3a5e23531855 Successfully tagged docker-app-lint:jenkins-app-PR-704-13 docker run --rm docker-app-lint:jenkins-app-PR-704-13 make lint e0ec5610455a: Verifying Checksum e0ec5610455a: Download complete 4e549f0f5e64: Verifying Checksum 4e549f0f5e64: Download complete Linting... 2f8d98df0991: Verifying Checksum 2f8d98df0991: Download complete 4ae16bd47783: Pull complete bbab4ec87ac4: Pull complete 2ea1f7804402: Pull complete Still waiting to schedule task Waiting for next available executor on ‘ubuntu-1804&&x86_64&&overlay2’ 96465440c208: Pull complete 16a3d8aca6cd: Pull complete e0ec5610455a: Pull complete 96d705baf026: Pull complete 39007eb46008: Pull complete 4e549f0f5e64: Pull complete c0058a8c71f2: Pull complete [Pipeline] sh + make -f docker.Makefile check-vendor docker build --build-arg TAG=jenkins-app-PR-704-13 --build-arg COMMIT=94a78bb4 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-704-13 . Sending build context to Docker daemon 76.19MB 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 ---> ff8c53883570 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 19912054ddad Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 5aaa557add0d Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> a46b1d296d64 Step 6/18 : ARG GOPROXY ---> Using cache ---> 20ee3f99aea5 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> c5a384b76ce1 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 61738b8d1a7a Step 9/18 : FROM build AS dev ---> 61738b8d1a7a Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 96bb6240deec Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> f2500162620b 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 ---> 20139bbfa85c Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 8a3b4e89751e Step 14/18 : ARG GOPROXY ---> Using cache ---> 82296c48e129 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 ---> 72e8d0cdd7cf 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 ---> 0e49957b730f 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 ---> 16f73f6a99ea Step 18/18 : COPY . . 2f8d98df0991: Pull complete Digest: sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 Status: Downloaded newer image for dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 ---> 518d5e4626aa Step 2/8 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> 4c519c3beaf4 [Warning] One or more build-args [TAG ALPINE_VERSION COMMIT] were not consumed Successfully built 4c519c3beaf4 Successfully tagged docker-app-dev:jenkins-app-PR-704-13 Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-704-13 sh -c "make vendor && hack/check-git-diff vendor" ---> Running in a136f8099e7f Removing intermediate container a136f8099e7f ---> 0a3d1495b7f7 Step 3/8 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 5544b7c4c82a rm -rf vendor 1>&1 dep ensure -v Reading package lists... Building dependency tree... Reading state information... coreutils is already the newest version (8.30-3). coreutils set to manually installed. util-linux is already the newest version (2.33.1-0.1). util-linux set to manually installed. The following NEW packages will be installed: uuid-runtime (1/104) Wrote github.com/Microsoft/go-winio@v0.4.12 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 95.2 kB of archives. After this operation, 211 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] debconf: delaying package configuration, since apt-utils is not installed (2/104) Wrote github.com/containerd/ttrpc@master Fetched 95.2 kB in 0s (358 kB/s) Selecting previously unselected package uuid-runtime. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 25419 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... Unpacking uuid-runtime (2.33.1-0.1) ... Setting up uuid-runtime (2.33.1-0.1) ... Adding group `uuidd' (GID 102) ... Done. Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory Adding system user `uuidd' (UID 101) ... Adding new user `uuidd' (UID 101) with group `uuidd' ... Not creating home directory `/run/uuidd'. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Removing intermediate container 5544b7c4c82a ---> 8e4e0dc90f99 Step 4/8 : WORKDIR /go/src/github.com/docker/cli ---> Running in 94a2d08400e0 Removing intermediate container 94a2d08400e0 ---> e60501184341 Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in 1a31eff98c3f (3/104) Wrote github.com/coreos/go-systemd@v20 (4/104) Wrote github.com/agl/ed25519@master (5/104) Wrote github.com/beorn7/perks@master Cloning into '.'... (6/104) Wrote github.com/containerd/continuity@master (7/104) Wrote github.com/containerd/cgroups@master (8/104) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1 (9/104) Wrote github.com/containerd/console@master (10/104) Wrote github.com/containerd/typeurl@master (11/104) Wrote github.com/containerd/fifo@master (12/104) Wrote github.com/davecgh/go-spew@v1.1.1 (13/104) Wrote vbom.ml/util@master Note: checking out 'a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact (14/104) Wrote github.com/docker/docker-credential-helpers@v0.6.1 (15/104) Wrote github.com/docker/go@v1.5.1-1 (16/104) Wrote github.com/docker/go-events@master Removing intermediate container 1a31eff98c3f ---> ff4e7ca03d82 Step 6/8 : ARG GOPROXY ---> Running in ba6cd5f6cdf4 Removing intermediate container ba6cd5f6cdf4 ---> 50fbcbc010d3 Step 7/8 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in 3ddebee072ba (17/104) Wrote github.com/docker/go-connections@v0.4.0 (18/104) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 (19/104) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2 (20/104) Wrote github.com/docker/go-units@v0.3.3 (21/104) Wrote github.com/Microsoft/hcsshim@v0.8.6 ./scripts/build/osx Building build/docker-darwin-amd64 (22/104) Wrote github.com/gofrs/flock@v0.7.1 (23/104) Wrote github.com/godbus/dbus@v5.0.1 (24/104) Wrote github.com/docker/buildx@v0.3.1 (25/104) Wrote github.com/gogo/googleapis@v1.2.0 (26/104) Wrote github.com/google/go-cmp@v0.2.0 (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/konsorten/go-windows-terminal-sequences@v1.0.2 (38/104) Wrote github.com/googleapis/gnostic@v0.2.0 (39/104) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (40/104) Wrote github.com/docker/compose-on-kubernetes@v0.4.21 (41/104) Wrote github.com/mattn/go-shellwords@v1.0.5 (42/104) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1 (43/104) Wrote github.com/json-iterator/go@v1.1.6 (44/104) Wrote github.com/miekg/pkcs11@master (45/104) Wrote github.com/mitchellh/mapstructure@v1.1.2 (46/104) Wrote github.com/morikuni/aec@master (47/104) Wrote github.com/modern-go/concurrent@1.0.3 (48/104) Wrote github.com/modern-go/reflect2@1.0.1 (49/104) Wrote github.com/oklog/ulid@v1.3.1 (50/104) Wrote github.com/golang/protobuf@v1.3.1 (51/104) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1 Running on ubuntu-1804-overlay2 (i-0a7be96a8c12e9fa9) in /home/ubuntu/workspace/app_PR-704 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { [Pipeline] checkout (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/containerd/containerd@master (55/104) Wrote github.com/pkg/errors@v0.8.1 (56/104) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 (57/104) Wrote github.com/prometheus/client_model@master (58/104) Wrote github.com/prometheus/client_golang@v0.8.0 (59/104) Wrote github.com/prometheus/common@v0.2.0 (60/104) Wrote github.com/qri-io/jsonpointer@v0.1.0 (61/104) Wrote github.com/prometheus/procfs@master (62/104) Wrote github.com/qri-io/jsonschema@v0.1.1 using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags (63/104) Wrote github.com/sirupsen/logrus@v1.4.1 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 (64/104) Wrote github.com/spf13/pflag@master (65/104) Wrote github.com/syndtr/gocapability@master (66/104) Wrote github.com/spf13/cobra@v0.0.5 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 (67/104) Wrote github.com/wadey/gocovmerge@master (68/104) Wrote github.com/opencontainers/runc@v1.0.0-rc7 (69/104) Wrote github.com/tonistiigi/units@master (70/104) Wrote github.com/xeipuuv/gojsonpointer@master (71/104) Wrote github.com/xeipuuv/gojsonreference@master (72/104) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc (73/104) Wrote github.com/tonistiigi/fsutil@master (74/104) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d Fetching without tags Checking out Revision 94a78bb498c4ccc8a2f2e34d00423136d546ab9c (PR-704) (75/104) Wrote github.com/coreos/etcd@v3.3.12 (76/104) Wrote github.com/moby/buildkit@v0.6.2 (77/104) Wrote github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/704/head:refs/remotes/origin/PR-704 # 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/704/head:refs/remotes/origin/PR-704 > git config core.sparsecheckout # timeout=10 > git checkout -f 94a78bb498c4ccc8a2f2e34d00423136d546ab9c (78/104) Wrote golang.org/x/sync@master (79/104) Wrote golang.org/x/crypto@master (80/104) Wrote golang.org/x/oauth2@master Commit message: "Fix issues reported by reviewers" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-704-13 --build-arg COMMIT=94a78bb4 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-704-13 . (81/104) Wrote golang.org/x/time@master (82/104) Wrote golang.org/x/net@master (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 Sending build context to Docker daemon 76.19MB Step 1/13 : ARG ALPINE_VERSION=3.10.1 Step 2/13 : FROM golang:1.13.0 AS build 1.13.0: Pulling from library/golang 4a56a430b2ba: Pulling fs layer 4b5cacb629f5: Pulling fs layer 14408c8d4f9a: Pulling fs layer ea67eaa7dd42: Pulling fs layer a2a2197e145e: Pulling fs layer 36ac8c11a11f: Pulling fs layer ecd7d9a67e26: Pulling fs layer ea67eaa7dd42: Waiting a2a2197e145e: Waiting 36ac8c11a11f: Waiting ecd7d9a67e26: Waiting 14408c8d4f9a: Verifying Checksum 14408c8d4f9a: Download complete 4b5cacb629f5: Verifying Checksum 4b5cacb629f5: Download complete 4a56a430b2ba: Verifying Checksum 4a56a430b2ba: Download complete (88/104) Wrote k8s.io/utils@master ea67eaa7dd42: Verifying Checksum ea67eaa7dd42: Download complete (89/104) Wrote sigs.k8s.io/yaml@v1.1.0 ecd7d9a67e26: Verifying Checksum ecd7d9a67e26: Download complete (90/104) Wrote k8s.io/apimachinery@kubernetes-1.14.1 (91/104) Wrote github.com/Masterminds/semver@v1.4.2 a2a2197e145e: Verifying Checksum a2a2197e145e: Download complete (92/104) Wrote golang.org/x/sys@master (93/104) Wrote github.com/Azure/go-ansiterm@master 36ac8c11a11f: Verifying Checksum 36ac8c11a11f: Download complete (94/104) Wrote google.golang.org/grpc@v1.19.1 (95/104) Wrote github.com/theupdateframework/notary@v0.6.1 4a56a430b2ba: Pull complete 4b5cacb629f5: Pull complete 14408c8d4f9a: Pull complete (96/104) Wrote golang.org/x/text@v0.3.0 (97/104) Wrote golang.org/x/tools@master ea67eaa7dd42: Pull complete (98/104) Wrote k8s.io/client-go@kubernetes-1.14.1 a2a2197e145e: Pull complete (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 36ac8c11a11f: Pull complete ecd7d9a67e26: Pull complete Digest: sha256:90d554b5ae59cb63d2bf42bdfcd60aa1feb4794d9e3a9cbb9d2deb477c088be0 Status: Downloaded newer image for golang:1.13.0 ---> c4d6fdf2260a Step 3/13 : RUN apt-get update -qq && apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 68e5230b2e51 Reading package lists...(102/104) Wrote k8s.io/api@kubernetes-1.14.1 Building dependency tree... Reading state information... coreutils is already the newest version (8.30-3). coreutils set to manually installed. util-linux is already the newest version (2.33.1-0.1). util-linux set to manually installed. The following NEW packages will be installed: uuid-runtime 0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded. Need to get 95.2 kB of archives. After this operation, 211 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 95.2 kB in 0s (368 kB/s) Selecting previously unselected package uuid-runtime. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 15394 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... Unpacking uuid-runtime (2.33.1-0.1) ... Setting up uuid-runtime (2.33.1-0.1) ... Adding group `uuidd' (GID 102) ... Done. Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory Adding system user `uuidd' (UID 101) ... Adding new user `uuidd' (UID 101) with group `uuidd' ... Not creating home directory `/run/uuidd'. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Removing intermediate container 68e5230b2e51 ---> 2dadda19fce7 Step 4/13 : WORKDIR /go/src/github.com/docker/app/ ---> Running in ba57e345aeda Removing intermediate container ba57e345aeda ---> 928debe4c040 Step 5/13 : COPY . . (103/104) Wrote github.com/docker/docker@master ---> 9a161e6f9fb5 Step 6/13 : ARG TAG="unknown" ---> Running in dbfe8bf93a7d Removing intermediate container dbfe8bf93a7d ---> 2de4e706a7b5 Step 7/13 : RUN make BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run ---> Running in c971bd4f11eb CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=94a78bb4 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-13 -X github.com/docker/app/internal.BuildTime=2019-10-24T09:01:04Z" -o bin/cnab-run ./cmd/cnab-run ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 (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] } WARNING: binary creates a Linux executable. Use cross for macOS or Windows. ./scripts/build/binary Building statically linked build/docker-linux-amd64 Removing intermediate container c971bd4f11eb ---> 872fa5380f7d Step 8/13 : FROM alpine:${ALPINE_VERSION} as invocation 3.10.1: Pulling from library/alpine 050382585609: Pulling fs layer 050382585609: Verifying Checksum 050382585609: Download complete 050382585609: Pull complete Digest: sha256:6a92cd1fcdc8d8cdec60f33dda4db2cb1fcdcacf3410a8e05b3741f44a9b5998 Status: Downloaded newer image for alpine:3.10.1 ---> b7b28af77ffe Step 9/13 : RUN apk add --no-cache ca-certificates && adduser -S cnab ---> Running in d75481f264c5 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz (1/1) Installing ca-certificates (20190108-r0) Executing busybox-1.30.1-r2.trigger Executing ca-certificates-20190108-r0.trigger OK: 6 MiB in 15 packages Removing intermediate container d75481f264c5 ---> 0d912f7d8f72 Step 10/13 : USER cnab ---> Running in 55d8b4ddee68 Removing intermediate container 55d8b4ddee68 ---> 1c11661e8bc0 Step 11/13 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run ---> f6cec3548b3a Step 12/13 : WORKDIR /cnab/app ---> Running in c7a21ab7d6ee Removing intermediate container c7a21ab7d6ee ---> 92242cad0e3c Step 13/13 : CMD /cnab/app/run ---> Running in 0da300e0152d Removing intermediate container 0da300e0152d ---> a10ed6931ace [Warning] One or more build-args [COMMIT GOPROXY] were not consumed Successfully built a10ed6931ace Successfully tagged docker/cnab-app-base:jenkins-app-PR-704-13 docker save docker/cnab-app-base:jenkins-app-PR-704-13 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-704-13-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-704-13 docker/cnab-app-base:jenkins-app-PR-704-13-coverage docker save docker/cnab-app-base:jenkins-app-PR-704-13-coverage -o _build/coverage-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/_build [Pipeline] { [Pipeline] stash Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/13/stashes/invocation-image.tgz [Pipeline] stash Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/13/stashes/coverage-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-704-13 Untagged: docker/cnab-app-base:jenkins-app-PR-704-13 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-704-13-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-704-13-coverage Deleted: sha256:a10ed6931ace4a9ed46f1c7a2be78a4c070242020dcea03220d9c146d70534e2 Deleted: sha256:92242cad0e3cdfa994bddf0f4e4cab25904855479f5779ab5959f5f27a2527df Deleted: sha256:f6cec3548b3a9b3f67029b00601a9111c438da4942083cb21027b2ad9b81410f Deleted: sha256:6c372c82124534503cc4ef762cc9014ed009f2329ca39d3b6706771e312e42b7 Deleted: sha256:1c11661e8bc0d3ae7f7a6fa06848b54dc8de33d89525f8e86a804c354d98217c Deleted: sha256:0d912f7d8f7261fcbee1b4ae4ab9b1b7bc7aadba02d19360e0b93548123699d0 Deleted: sha256:213b816c77fb2c6f2ef48e32460c9256730032b72966437b8dcb5d21877ca150 [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Removing intermediate container 3ddebee072ba ---> 2d711f2cf769 Step 8/8 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 7dd7c8ff1f3c Removing intermediate container 7dd7c8ff1f3c ---> 1882db7c190e [Warning] One or more build-args [ALPINE_VERSION COMMIT TAG] were not consumed Successfully built 1882db7c190e Successfully tagged docker-app-cli:jenkins-app-PR-704-13 docker create --name docker-app-cli-jenkins-app-PR-704-13 docker-app-cli:jenkins-app-PR-704-13 noop 952ba48bcd399963bb3894da7a74d1ce1ad3cbf5ac69b31c7ad6a6015d74c031 docker cp docker-app-cli-jenkins-app-PR-704-13:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux docker cp docker-app-cli-jenkins-app-PR-704-13:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin docker cp docker-app-cli-jenkins-app-PR-704-13:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe docker rm docker-app-cli-jenkins-app-PR-704-13 docker-app-cli-jenkins-app-PR-704-13 docker build --build-arg TAG=jenkins-app-PR-704-13 --build-arg COMMIT=94a78bb4 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=cross -t docker-app-cross:jenkins-app-PR-704-13 . Sending build context to Docker daemon 76.19MB 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 ---> 0a3d1495b7f7 Step 3/21 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 8e4e0dc90f99 Step 4/21 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> e60501184341 Step 5/21 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> ff4e7ca03d82 Step 6/21 : ARG GOPROXY ---> Using cache ---> 50fbcbc010d3 Step 7/21 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 2d711f2cf769 Step 8/21 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 1882db7c190e Step 9/21 : FROM build AS dev ---> 1882db7c190e Step 10/21 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in add532e4cd5b Removing intermediate container add532e4cd5b ---> 8eb3bd79e246 Step 11/21 : ARG DEP_VERSION=v0.5.4 ---> Running in 16af40299025 Removing intermediate container 16af40299025 ---> d26c14c2ddc7 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 ---> Running in b88db69c9e2a  % Total  % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 605 0 605  0 0 4689 0 --:--:-- --:--:-- --:--:-- 4689  100 10.5M 100 10.5M 0 0 34.8M 0 --:--:-- --:--:-- --:--:-- 34.8M Removing intermediate container b88db69c9e2a ---> 27bd9d7ab068 Step 13/21 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in d63cb44de9cc Removing intermediate container d63cb44de9cc ---> cef4c3f77fa5 Step 14/21 : ARG GOPROXY ---> Running in 92904bafef87 Removing intermediate container 92904bafef87 ---> ce7ca9b07daf 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 ---> Running in f326ed633e2d go: finding github.com/pkg/errors v0.8.0 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/fatih/color v1.6.0 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding gotest.tools v2.1.0+incompatible go: finding github.com/onsi/gomega v1.4.3 go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/spf13/pflag v1.0.1 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding github.com/stretchr/testify v1.3.0 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding github.com/hpcloud/tail v1.0.0 go: finding github.com/golang/protobuf v1.2.0 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding github.com/davecgh/go-spew v1.1.0 go: finding github.com/onsi/ginkgo v1.6.0 go: finding github.com/stretchr/objx v0.1.0 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding golang.org/x/text v0.3.0 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 go: downloading gotest.tools v2.1.0+incompatible go: extracting gotest.tools v2.1.0+incompatible go: downloading github.com/sirupsen/logrus v1.0.5 go: downloading github.com/pkg/errors v0.8.0 go: downloading github.com/spf13/pflag v1.0.1 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading github.com/fatih/color v1.6.0 go: downloading github.com/jonboulle/clockwork v0.1.0 go: extracting github.com/pkg/errors v0.8.0 go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting github.com/jonboulle/clockwork v0.1.0 go: extracting github.com/sirupsen/logrus v1.0.5 go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: extracting github.com/spf13/pflag v1.0.1 go: extracting github.com/fatih/color v1.6.0 go: downloading github.com/mattn/go-colorable v0.0.9 go: downloading github.com/mattn/go-isatty v0.0.3 go: extracting github.com/mattn/go-isatty v0.0.3 go: extracting github.com/mattn/go-colorable v0.0.9 go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e Removing intermediate container f326ed633e2d ---> 919269d9f7fd 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 ---> Running in be1cc92deb22 Removing intermediate container be1cc92deb22 ---> 828e7baebbd7 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/* ---> Running in d6d54d57f79c golang.org/x/tools/internal/semver github.com/pkg/errors golang.org/x/tools/go/ast/astutil golang.org/x/tools/go/internal/gcimporter golang.org/x/tools/go/internal/packagesdriver golang.org/x/tools/internal/fastwalk golang.org/x/tools/internal/gopathwalk golang.org/x/tools/internal/span golang.org/x/tools/go/gcexportdata golang.org/x/tools/internal/module golang.org/x/tools/go/packages golang.org/x/tools/internal/imports golang.org/x/tools/imports github.com/mjibson/esc/embed github.com/mjibson/esc Removing intermediate container d6d54d57f79c ---> c527304f54d7 Step 18/21 : COPY . . ---> 38843801355d Step 19/21 : FROM dev AS cross ---> 38843801355d Step 20/21 : ARG TAG="unknown" ---> Running in 881148651b04 Removing intermediate container 881148651b04 ---> 6ef62a583e71 Step 21/21 : RUN make TAG=${TAG} cross ---> Running in 82de2aa66342 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=94a78bb4 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-13 -X github.com/docker/app/internal.BuildTime=2019-10-24T09:04:42Z" -o bin/docker-app-linux ./cmd/docker-app GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=94a78bb4 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-13 -X github.com/docker/app/internal.BuildTime=2019-10-24T09:04:42Z" -o bin/docker-app-darwin ./cmd/docker-app GOOS=windows CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=94a78bb4 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-13 -X github.com/docker/app/internal.BuildTime=2019-10-24T09:04:42Z" -o bin/docker-app-windows.exe ./cmd/docker-app Removing intermediate container 82de2aa66342 ---> 8d8bf458e6f4 [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 8d8bf458e6f4 Successfully tagged docker-app-cross:jenkins-app-PR-704-13 docker create --name docker-app-cross-jenkins-app-PR-704-13 docker-app-cross:jenkins-app-PR-704-13 noop d37b98339d5b4a372a9cb30420ee69e8f74baca04254d8663279e15bb42b2494 docker cp docker-app-cross-jenkins-app-PR-704-13:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux docker cp docker-app-cross-jenkins-app-PR-704-13:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin docker cp docker-app-cross-jenkins-app-PR-704-13:/go/src/github.com/docker/app/bin/docker-app-windows.exe bin/docker-app-windows.exe docker rm docker-app-cross-jenkins-app-PR-704-13 docker-app-cross-jenkins-app-PR-704-13 docker build --build-arg TAG=jenkins-app-PR-704-13 --build-arg COMMIT=94a78bb4 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-704-13 . Sending build context to Docker daemon 76.19MB 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 ---> 0a3d1495b7f7 Step 3/24 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 8e4e0dc90f99 Step 4/24 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> e60501184341 Step 5/24 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> ff4e7ca03d82 Step 6/24 : ARG GOPROXY ---> Using cache ---> 50fbcbc010d3 Step 7/24 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 2d711f2cf769 Step 8/24 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 1882db7c190e Step 9/24 : FROM build AS dev ---> 1882db7c190e Step 10/24 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 8eb3bd79e246 Step 11/24 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> d26c14c2ddc7 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 ---> 27bd9d7ab068 Step 13/24 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> cef4c3f77fa5 Step 14/24 : ARG GOPROXY ---> Using cache ---> ce7ca9b07daf 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 ---> 919269d9f7fd 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 ---> 828e7baebbd7 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 ---> c527304f54d7 Step 18/24 : COPY . . ---> Using cache ---> 38843801355d Step 19/24 : FROM dev AS cross ---> 38843801355d Step 20/24 : ARG TAG="unknown" ---> Using cache ---> 6ef62a583e71 Step 21/24 : RUN make TAG=${TAG} cross ---> Using cache ---> 8d8bf458e6f4 Step 22/24 : FROM cross AS e2e-cross ---> 8d8bf458e6f4 Step 23/24 : ARG TAG="unknown" ---> Running in 0182f316e49d Removing intermediate container 0182f316e49d ---> 9d3c4cf303b4 Step 24/24 : RUN make TAG=${TAG} e2e-cross ---> Running in b66523a6e276 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=94a78bb4 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-13 -X github.com/docker/app/internal.BuildTime=2019-10-24T09:07: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=94a78bb4 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-13 -X github.com/docker/app/internal.BuildTime=2019-10-24T09:07:44Z" -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=94a78bb4 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-13 -X github.com/docker/app/internal.BuildTime=2019-10-24T09:07: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=94a78bb4 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-13 -X github.com/docker/app/internal.BuildTime=2019-10-24T09:07: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=94a78bb4 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-13 -X github.com/docker/app/internal.BuildTime=2019-10-24T09:07:44Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ Removing intermediate container b66523a6e276 ---> 78f4e80e49ac [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 78f4e80e49ac Successfully tagged docker-app-e2e-cross:jenkins-app-PR-704-13 docker create --name docker-app-e2e-cross-jenkins-app-PR-704-13 docker-app-e2e-cross:jenkins-app-PR-704-13 noop 56588da0872d730efefa151cf4940c3ab1b7b70c1ca2b208847493fb7c6a7d4a docker cp docker-app-e2e-cross-jenkins-app-PR-704-13:/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-704-13:/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-704-13:/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-704-13:/usr/local/bin/gotestsum-linux bin/gotestsum-linux docker cp docker-app-e2e-cross-jenkins-app-PR-704-13:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-704-13:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-704-13:/usr/local/bin/test2json-linux bin/test2json-linux docker cp docker-app-e2e-cross-jenkins-app-PR-704-13:/usr/local/bin/test2json-darwin bin/test2json-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-704-13:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe docker rm docker-app-e2e-cross-jenkins-app-PR-704-13 docker-app-e2e-cross-jenkins-app-PR-704-13 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-704/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-704/13/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/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-704/13/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/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-704/13/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + xargs docker image rm -f + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-704-13* Untagged: docker-app-e2e-cross:jenkins-app-PR-704-13 Deleted: sha256:78f4e80e49ac730ca26a1a664980767a2193897b1e7e5ef9d146a99b768b510a Deleted: sha256:aac333d149875fc0ec2761c388d2665968384a3d53a98a0f24a166c939100e73 Deleted: sha256:9d3c4cf303b489e3903a84660bb996b5eed7e597a0a3ca019a7695ba57d2843d Untagged: docker-app-cross:jenkins-app-PR-704-13 Deleted: sha256:8d8bf458e6f4aea25fcd8119cbe9bf2b3ebb8bcac02169ea4c81a86035c52781 Deleted: sha256:e5693b20391c219ec082047f5799e0e0818da6a612dcae7c5a5105dbaa6bff06 Deleted: sha256:6ef62a583e711124401f03afc223ec718cf5c66c968248b48ccd5fd6e466a1fa Deleted: sha256:38843801355d99d5bbea95a6c8dec7d337f51d99c5eb6a9636214cb146264d39 Deleted: sha256:3d335978511357bf4e4ad96231150f6a0ed3bad62e67507ad17e0f853063b388 Deleted: sha256:c527304f54d71c7b7adfb77e49811c2a4c5d0daa32e7736bd98315fafc9b7527 Deleted: sha256:9d787caa6242e54b6608229a865d0cc6a5ce7f96c82072841dcb7ce8d2233d66 Deleted: sha256:828e7baebbd7f0bf0e5aeb470c638e80ef8c4d870ed547b29c5ecac98ae311a6 Deleted: sha256:ff8e590fe56290d45018dd81eaad70125288cef0b4dac12e7125a2fe415ea491 Deleted: sha256:919269d9f7fd81dbd0cf7561c012c3d209d86bc504104c54623d3ef4e6ae0304 Deleted: sha256:db03148b821efb61438acc782974e957c7bf296bdba8687579217ab18446997f Deleted: sha256:ce7ca9b07daf133df43585dc39cace2f635d0d15ba522e169b28eec9a2855adc Deleted: sha256:cef4c3f77fa54872d7485dfc55a82dfe3786990c74f51805d044b8f932e2a0be Deleted: sha256:27bd9d7ab0683cc99ae841b91a2a87a4f0a0a5ffea808f97c422f9899a9dc881 Deleted: sha256:f5a28768d63a5787fbd6f83ad2dcca34f7b5052584de090ff8c5bdf3ad6abdfe Deleted: sha256:d26c14c2ddc7f2b89aaa7714fe1bc705fc73a93618791674319c86ed2f5b762e Deleted: sha256:8eb3bd79e246d3a923b8670946fa97437fdcada501a7981dbb0133cbeb03a665 Untagged: docker-app-cli:jenkins-app-PR-704-13 Deleted: sha256:1882db7c190e1222b2ac68c32adcebc1eeaa71c0c15fb78e0061f6d2b5665e1e Deleted: sha256:5aabf25d3da29211a727699baa6808b05f4e20ded02885f79794ce9c11f50365 Deleted: sha256:2d711f2cf769a12084e8bd3dcbef1df3504ab5c9e2c12a4e2d1ad8ec60b10577 Deleted: sha256:6998c8fa77bf90f84f1dd7b9aa642dfc4e7aeb44835d8c0cbb36368123a2ae47 Deleted: sha256:50fbcbc010d354eb1e022ac5c27998e2a2690ced9ad4ddaeee2183bd0bb9e030 Deleted: sha256:ff4e7ca03d822524fa7f0af7143496780f50c9e56175ba0608481be2e7404329 Deleted: sha256:10dcb04bf9b61f5680cdd76f0736d5191513c908b59845caa38ea1f5512003b9 Deleted: sha256:e605011843414308af116ab6309776a787eb55d1b4b3c6c4e8471c2c2a3bfe99 Deleted: sha256:d3c4584e69a3a449a6550a72df179c6c95ae517d8559fe8b95c6096cdb1f0552 Deleted: sha256:8e4e0dc90f99a9a01d004e65eec0e0815edbb418e47cc4a144e288fb925b108a Deleted: sha256:c49369f0a6d8e4dd825ba87dab3d7490520ffcaf3e8c2ee01caa453c6624350d Deleted: sha256:0a3d1495b7f79d0af2497f068c4495f6bacb21ad6cd09c0211c353c96789a4c5 [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-0a7be96a8c12e9fa9) in /home/ubuntu/workspace/app_PR-704 [Pipeline] { Running on ubuntu-1804-overlay2 (i-006a20e553abc2374) in /home/ubuntu/workspace/app_PR-704 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] checkout 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-704/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/704/head:refs/remotes/origin/PR-704 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-704/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/704/head:refs/remotes/origin/PR-704 Fetching without tags Fetching without tags Checking out Revision 94a78bb498c4ccc8a2f2e34d00423136d546ab9c (PR-704) Checking out Revision 94a78bb498c4ccc8a2f2e34d00423136d546ab9c (PR-704) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/704/head:refs/remotes/origin/PR-704 # 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/704/head:refs/remotes/origin/PR-704 > git config core.sparsecheckout # timeout=10 > git checkout -f 94a78bb498c4ccc8a2f2e34d00423136d546ab9c > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/704/head:refs/remotes/origin/PR-704 # 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/704/head:refs/remotes/origin/PR-704 > git config core.sparsecheckout # timeout=10 > git checkout -f 94a78bb498c4ccc8a2f2e34d00423136d546ab9c Commit message: "Fix issues reported by reviewers" Commit message: "Fix issues reported by reviewers" [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/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-704/13/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-704/13/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-704-13-coverage [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile TAG=jenkins-app-PR-704-13-coverage coverage-run docker build --build-arg TAG=jenkins-app-PR-704-13-coverage --build-arg COMMIT=94a78bb4 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-704-13 . Loaded image: docker/cnab-app-base:jenkins-app-PR-704-13 [Pipeline] } [Pipeline] // dir [Pipeline] unstash Sending build context to Docker daemon 76.19MB Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705: Pulling from dockercore/golang-cross 4ae16bd47783: Pulling fs layer bbab4ec87ac4: Pulling fs layer 2ea1f7804402: Pulling fs layer 96465440c208: Pulling fs layer 16a3d8aca6cd: Pulling fs layer e0ec5610455a: Pulling fs layer 96d705baf026: Pulling fs layer 39007eb46008: Pulling fs layer 4e549f0f5e64: Pulling fs layer c0058a8c71f2: Pulling fs layer 2f8d98df0991: Pulling fs layer 96465440c208: Waiting 16a3d8aca6cd: Waiting e0ec5610455a: Waiting 96d705baf026: Waiting 39007eb46008: Waiting 4e549f0f5e64: Waiting c0058a8c71f2: Waiting 2f8d98df0991: Waiting bbab4ec87ac4: Verifying Checksum bbab4ec87ac4: Download complete 2ea1f7804402: Verifying Checksum 2ea1f7804402: Download complete 4ae16bd47783: Verifying Checksum 4ae16bd47783: Download complete 96465440c208: Verifying Checksum 96465440c208: Download complete 16a3d8aca6cd: Verifying Checksum 16a3d8aca6cd: Download complete 96d705baf026: Verifying Checksum 96d705baf026: Download complete 39007eb46008: Verifying Checksum 39007eb46008: Download complete c0058a8c71f2: Verifying Checksum c0058a8c71f2: Download complete e0ec5610455a: Verifying Checksum e0ec5610455a: Download complete 4e549f0f5e64: Verifying Checksum 4e549f0f5e64: Download complete 2f8d98df0991: Verifying Checksum 2f8d98df0991: Download complete 4ae16bd47783: Pull complete bbab4ec87ac4: Pull complete Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/13/stashes/binaries.tgz [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/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-704/13/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] unstash 2ea1f7804402: Pull complete Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/13/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 96465440c208: Pull complete 16a3d8aca6cd: Pull complete e0ec5610455a: Pull complete 96d705baf026: Pull complete 39007eb46008: Pull complete 4e549f0f5e64: Pull complete c0058a8c71f2: Pull complete PASS e2e/linux.TestBuild (20.95s) 2f8d98df0991: Pull complete Digest: sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 Status: Downloaded newer image for dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 PASS e2e/linux.TestQuietBuild (12.89s) ---> Running in 43e146b88b30 Removing intermediate container 43e146b88b30 ---> 999ebbc0d4bd Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 1269cdbfcded Reading package lists... Building dependency tree... Reading state information... coreutils is already the newest version (8.30-3). coreutils set to manually installed. util-linux is already the newest version (2.33.1-0.1). util-linux set to manually installed. The following NEW packages will be installed: uuid-runtime 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 95.2 kB of archives. After this operation, 211 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 95.2 kB in 0s (367 kB/s) Selecting previously unselected package uuid-runtime. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 25419 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... Unpacking uuid-runtime (2.33.1-0.1) ... Setting up uuid-runtime (2.33.1-0.1) ... Adding group `uuidd' (GID 102) ... Done. Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory Adding system user `uuidd' (UID 101) ... Adding new user `uuidd' (UID 101) with group `uuidd' ... Not creating home directory `/run/uuidd'. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Removing intermediate container 1269cdbfcded ---> fe02ce633692 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Running in f98470652410 Removing intermediate container f98470652410 ---> 1e108e98a151 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in b2b734d6d127 Cloning into '.'... Note: checking out 'a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact Removing intermediate container b2b734d6d127 ---> e08c0944a175 Step 6/18 : ARG GOPROXY ---> Running in 0d3e2751ccc1 Removing intermediate container 0d3e2751ccc1 ---> ee69720b8ed5 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in 3ca9256bf420 ./scripts/build/osx Building build/docker-darwin-amd64 PASS e2e/linux.TestBuildWithoutTag (13.19s) PASS e2e/linux.TestBuildWithArgs (13.00s) PASS e2e/linux.TestBuildWithArgsDefinedTwice (12.24s) PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (4.04s) PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (3.50s) PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (3.50s) PASS e2e/linux.TestCallCustomStatusAction (11.04s) PASS e2e/linux.TestCnabParameters (3.52s) PASS e2e/linux.TestExitErrorCode (0.06s) PASS e2e/linux.TestRender/envvariables/stdout (1.81s) PASS e2e/linux.TestRender/envvariables/file (1.57s) PASS e2e/linux.TestRender/envvariables (3.38s) PASS e2e/linux.TestRender (3.38s) PASS e2e/linux.TestRenderFormatters (14.59s) PASS e2e/linux.TestInit (0.14s) PASS e2e/linux.TestInspectApp (13.54s) PASS e2e/linux.TestRunOnlyOne (0.13s) ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 PASS e2e/linux.TestDockerAppLifecycle/withBindMounts (22.41s) PASS e2e/linux.TestDockerAppLifecycle/withoutBindMounts (22.08s) PASS e2e/linux.TestDockerAppLifecycle (44.49s) PASS e2e/linux.TestCredentials/missing (0.07s) PASS e2e/linux.TestCredentials/full (2.11s) PASS e2e/linux.TestCredentials/mixed-credstore (1.52s) PASS e2e/linux.TestCredentials/mixed-local-cred (1.51s) PASS e2e/linux.TestCredentials/overload (0.06s) PASS e2e/linux.TestCredentials (5.27s) PASS e2e/linux.TestRenderWithEnvFile (1.84s) PASS e2e/linux.TestExamplesAreValid (0.27s) PASS e2e/linux.TestImageList (13.72s) PASS e2e/linux.TestImageListQuiet (13.87s) PASS e2e/linux.TestImageRm (13.39s) WARNING: binary creates a Linux executable. Use cross for macOS or Windows. ./scripts/build/binary Building statically linked build/docker-linux-amd64 PASS e2e/linux.TestImageTag (14.37s) === RUN TestInvokePluginFromCLI --- FAIL: TestInvokePluginFromCLI (0.40s) plugin_test.go:26: assertion failed: --- expected +++ actual @@ -11,5 +11,5 @@ Commands: - build Build an App Image from a .dockerapp App Definition + build Build an App Image from an App Definition (.dockerapp) init Initialize an App Definition ls List Running Apps @@ -19,5 +19,5 @@ run Run an App from an App Image update Update a Running App - validate Check that a .dockerapp App Definition is syntactically correct + validate Check that an App Definition (.dockerapp) is syntactically correct Run 'docker app COMMAND --help' for more information on a command. FAIL e2e/linux.TestInvokePluginFromCLI (0.40s) PASS e2e/linux.TestPushArchs/default (3.40s) PASS e2e/linux.TestPushArchs/all-platforms (1.17s) PASS e2e/linux.TestPushArchs (16.70s) PASS e2e/linux.TestPushInsecureRegistry (18.60s) PASS e2e/linux.TestPushInstall (17.36s) PASS e2e/linux.TestPushPullInstall (17.66s) Removing intermediate container 3ca9256bf420 ---> 640d6fbcdac1 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 46d1ca0f5f58 Removing intermediate container 46d1ca0f5f58 ---> 6dedda1f6ffd Step 9/18 : FROM build AS dev ---> 6dedda1f6ffd Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in 02eb20c55395 Removing intermediate container 02eb20c55395 ---> 30e341946e98 Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Running in ad5632fbfddc Removing intermediate container ad5632fbfddc ---> 7780175eadd7 Step 12/18 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep ---> Running in 6b17ac630ae0  % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 605 0 605 0 0 5215 0 --:--:-- --:--:-- --:--:-- 5215  100 10.5M 100 10.5M 0 0 37.7M 0 --:--:-- --:--:-- --:--:-- 37.7M Removing intermediate container 6b17ac630ae0 ---> 7d56ce7f9e86 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 60b9297b4957 Removing intermediate container 60b9297b4957 ---> ce45873a2fc2 Step 14/18 : ARG GOPROXY ---> Running in d21caa1bf5f3 Removing intermediate container d21caa1bf5f3 ---> a4c7d20ffd80 Step 15/18 : RUN mkdir $GOPATH/src/gotest.tools && git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum && cd $GOPATH/src/gotest.tools/gotestsum && git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION && GO111MODULE=on GOOS=linux go build -o /usr/local/bin/gotestsum-linux gotest.tools/gotestsum && GO111MODULE=on GOOS=darwin go build -o /usr/local/bin/gotestsum-darwin gotest.tools/gotestsum && GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum && ln -s gotestsum-linux /usr/local/bin/gotestsum ---> Running in 10045906edf3 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/mattn/go-isatty v0.0.3 go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding gotest.tools v2.1.0+incompatible go: finding github.com/onsi/gomega v1.4.3 go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/fatih/color v1.6.0 go: finding github.com/stretchr/testify v1.3.0 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding github.com/sirupsen/logrus v1.0.5 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding golang.org/x/text v0.3.0 go: finding github.com/onsi/ginkgo v1.6.0 go: finding github.com/golang/protobuf v1.2.0 go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding github.com/stretchr/objx v0.1.0 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding gopkg.in/yaml.v2 v2.2.1 go: finding github.com/davecgh/go-spew v1.1.0 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding github.com/hpcloud/tail v1.0.0 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 go: downloading gotest.tools v2.1.0+incompatible go: extracting gotest.tools v2.1.0+incompatible go: downloading github.com/sirupsen/logrus v1.0.5 go: downloading github.com/pkg/errors v0.8.0 go: downloading github.com/jonboulle/clockwork v0.1.0 go: downloading github.com/fatih/color v1.6.0 go: downloading github.com/spf13/pflag v1.0.1 go: extracting github.com/pkg/errors v0.8.0 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: extracting github.com/jonboulle/clockwork v0.1.0 go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting github.com/sirupsen/logrus v1.0.5 go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: extracting github.com/spf13/pflag v1.0.1 go: extracting github.com/fatih/color v1.6.0 go: downloading github.com/mattn/go-isatty v0.0.3 go: downloading github.com/mattn/go-colorable v0.0.9 go: extracting github.com/mattn/go-isatty v0.0.3 go: extracting github.com/mattn/go-colorable v0.0.9 go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e PASS e2e/linux.TestPushInstallBundle/push-bundle (5.36s) PASS e2e/linux.TestPushInstallBundle/push-ref (1.22s) PASS e2e/linux.TestPushInstallBundle/push-bundleref (1.88s) PASS e2e/linux.TestPushInstallBundle (22.14s) FAIL e2e/linux === Failed === FAIL: e2e/linux TestInvokePluginFromCLI (0.40s) plugin_test.go:26: assertion failed: --- expected +++ actual @@ -11,5 +11,5 @@ Commands: - build Build an App Image from a .dockerapp App Definition + build Build an App Image from an App Definition (.dockerapp) init Initialize an App Definition ls List Running Apps @@ -19,5 +19,5 @@ run Run an App from an App Image update Update a Running App - validate Check that a .dockerapp App Definition is syntactically correct + validate Check that an App Definition (.dockerapp) is syntactically correct Run 'docker app COMMAND --help' for more information on a command. DONE 45 tests, 1 failure in 318.788s time="2019-10-24T09:15:36Z" 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-704/13/artifacts/ [Pipeline] junit Recording test results [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-704-13 Untagged: docker/cnab-app-base:jenkins-app-PR-704-13 [Pipeline] deleteDir [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Test Linux Removing intermediate container 10045906edf3 ---> 361786ea2894 Step 16/18 : RUN GOOS=linux go build -o /usr/local/bin/test2json-linux cmd/test2json && GOOS=darwin go build -o /usr/local/bin/test2json-darwin cmd/test2json && GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json ---> Running in 2e368af6d09b Removing intermediate container 2e368af6d09b ---> b8c679977c33 Step 17/18 : RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.com/mjibson/esc && go build -v -o /usr/bin/esc . && rm -rf /go/src/* /go/pkg/* /go/bin/* ---> Running in 324c405ec63f golang.org/x/tools/internal/semver github.com/pkg/errors golang.org/x/tools/go/ast/astutil golang.org/x/tools/go/internal/gcimporter golang.org/x/tools/go/internal/packagesdriver golang.org/x/tools/internal/fastwalk golang.org/x/tools/internal/gopathwalk golang.org/x/tools/internal/span golang.org/x/tools/go/gcexportdata golang.org/x/tools/internal/module golang.org/x/tools/go/packages golang.org/x/tools/internal/imports golang.org/x/tools/imports github.com/mjibson/esc/embed github.com/mjibson/esc Removing intermediate container 324c405ec63f ---> 1d001e4ad668 Step 18/18 : COPY . . ---> fb8c911471de [Warning] One or more build-args [ALPINE_VERSION COMMIT TAG] were not consumed Successfully built fb8c911471de Successfully tagged docker-app-dev:jenkins-app-PR-704-13 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-704-13-coverage --network="host" -t docker-app-dev:jenkins-app-PR-704-13 make COMMIT=94a78bb4 TAG=jenkins-app-PR-704-13-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=94a78bb4 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-13-coverage -X github.com/docker/app/internal.BuildTime=2019-10-24T09:16:02Z" -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/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 ∅ . ∅ cmd/cnab-run ∅ cmd/docker-app ✓ internal (48ms) ✓ internal/cnab (84ms) ✓ internal/commands (251ms) ✓ internal/commands/build (49ms) ✓ internal/compose (9ms) ✓ internal/formatter (5ms) ✓ internal/commands/image (31ms) ∅ internal/formatter/driver ∅ internal/formatter/json ∅ internal/formatter/yaml ✓ internal/inspect (153ms) ∅ internal/log ✓ internal/slices (5ms) ✓ internal/store (37ms) ✓ internal/yaml (11ms) ✓ internal/packager (58ms) ✓ loader (30ms) ✓ render (106ms) ✓ specification (14ms) ✓ types (43ms) ✓ types/metadata (32ms) ✓ types/parameters (4ms) DONE 231 tests in 126.941s CGO_ENABLED=0 go test -tags=" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=94a78bb4 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-13-coverage -X github.com/docker/app/internal.BuildTime=2019-10-24T09:16:02Z" -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=94a78bb4 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-13-coverage -X github.com/docker/app/internal.BuildTime=2019-10-24T09:16:02Z" -v ./e2e ✖ e2e (5m45.649s) === Failed === FAIL: e2e TestInvokePluginFromCLI (0.14s) plugin_test.go:26: assertion failed: --- expected +++ actual @@ -11,5 +11,5 @@ Commands: - build Build an App Image from a .dockerapp App Definition + build Build an App Image from an App Definition (.dockerapp) init Initialize an App Definition ls List Running Apps @@ -19,5 +19,5 @@ run Run an App from an App Image update Update a Running App - validate Check that a .dockerapp App Definition is syntactically correct + validate Check that an App Definition (.dockerapp) is syntactically correct Run 'docker app COMMAND --help' for more information on a command. DONE 45 tests, 1 failure in 349.583s make: *** [Makefile:96: coverage-test-e2e] Error 1 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-704/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-0a7be96a8c12e9fa9) 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 [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