Pull request #716 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 3d09fa9277dcc3e58707508e8963e694a1c5a6d6 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-0c5bba02e88245c68) in /home/ubuntu/workspace/app_PR-716 [Pipeline] { Running on ubuntu-1804-overlay2 (i-04b5bc72a9d645c7a) 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] checkout [Pipeline] script [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 3d09fa9277dcc3e58707508e8963e694a1c5a6d6 (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 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 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 3d09fa9277dcc3e58707508e8963e694a1c5a6d6 Checking out Revision 3d09fa9277dcc3e58707508e8963e694a1c5a6d6 (PR-716) Commit message: "Handle images without an explicit tag" > git rev-list --no-walk c1175c4b57173a9659b1126c9e25da0224778ca1 # timeout=10 Commit message: "Handle images without an explicit tag" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh [Pipeline] ansiColor [Pipeline] { + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-PR-716-17 --build-arg COMMIT=3d09fa92 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=build -t docker-app-cli:jenkins-app-PR-716-17 . [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 3d09fa9277dcc3e58707508e8963e694a1c5a6d6 + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-716-17 -f Dockerfile.lint . 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: Already exists bbab4ec87ac4: Already exists 2ea1f7804402: Already exists 96465440c208: Already exists 16a3d8aca6cd: Already exists e0ec5610455a: Already exists 96d705baf026: Already exists 39007eb46008: Already exists 4e549f0f5e64: Already exists c0058a8c71f2: Already exists 2f8d98df0991: Already exists 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 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 ---> 6897a7dc56e3 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 ---> 0c6bd2b75b92 Step 6/8 : WORKDIR /go/src/github.com/docker/app ---> Using cache ---> 877bf1fbdef6 Step 7/8 : ENV CGO_ENABLED=0 ---> Using cache ---> bf9a235b54c8 Step 8/8 : COPY . . ---> Running in 166da3d88a2f Removing intermediate container 166da3d88a2f ---> 8c25d157f71d Step 3/8 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 076b07e5402a 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 (345 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. ---> 71a4d3c4ffda Successfully built 71a4d3c4ffda Successfully tagged docker-app-lint:jenkins-app-PR-716-17 docker run --rm docker-app-lint:jenkins-app-PR-716-17 make lint Removing intermediate container 076b07e5402a ---> ec4177f36be3 Step 4/8 : WORKDIR /go/src/github.com/docker/cli ---> Running in e96d3fb4aa86 Removing intermediate container e96d3fb4aa86 ---> 6f1e02d93e5e Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in ade78f83ca3a Linting... 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 Still waiting to schedule task Waiting for next available executor on ‘ubuntu-1804&&x86_64&&overlay2’ Removing intermediate container ade78f83ca3a ---> d9961ebf4515 Step 6/8 : ARG GOPROXY ---> Running in a19ab9a7f705 Removing intermediate container a19ab9a7f705 ---> f161f3d9ce72 Step 7/8 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in 606148664e93 ./scripts/build/osx Building build/docker-darwin-amd64 [Pipeline] sh + make -f docker.Makefile check-vendor docker build --build-arg TAG=jenkins-app-PR-716-17 --build-arg COMMIT=3d09fa92 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-716-17 . 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 ---> 548063f34273 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 3138a098c100 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 383fd3fc1279 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 41b805cc4072 Step 6/18 : ARG GOPROXY ---> Using cache ---> 1b7d8f852357 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 76e2e0ca8d20 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 5f9057e7b6b0 Step 9/18 : FROM build AS dev ---> 5f9057e7b6b0 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 10d8a8709916 Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> 5709accd0998 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 ---> d721e2d1f217 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 1b18332bc633 Step 14/18 : ARG GOPROXY ---> Using cache ---> d233906332f9 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 ---> a2728df28537 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 ---> 9c1938dec614 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 ---> 45b349c422d1 Step 18/18 : COPY . . ---> 484624e7918c [Warning] One or more build-args [ALPINE_VERSION COMMIT TAG] were not consumed Successfully built 484624e7918c Successfully tagged docker-app-dev:jenkins-app-PR-716-17 Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-716-17 sh -c "make vendor && hack/check-git-diff vendor" rm -rf vendor 1>&1 dep ensure -v (1/104) Wrote github.com/Azure/go-ansiterm@master (2/104) Wrote github.com/Microsoft/go-winio@v0.4.12 (3/104) Wrote github.com/containerd/fifo@master (4/104) Wrote github.com/containerd/typeurl@master (5/104) Wrote github.com/containerd/cgroups@master (6/104) Wrote github.com/Masterminds/semver@v1.4.2 (7/104) Wrote github.com/mitchellh/mapstructure@v1.1.2 (8/104) Wrote github.com/agl/ed25519@master (9/104) Wrote github.com/beorn7/perks@master (10/104) Wrote github.com/containerd/ttrpc@master (11/104) Wrote github.com/containerd/continuity@master (12/104) Wrote github.com/Microsoft/hcsshim@v0.8.6 (13/104) Wrote github.com/containerd/console@master (14/104) Wrote github.com/coreos/go-systemd@v20 (15/104) Wrote github.com/davecgh/go-spew@v1.1.1 (16/104) Wrote vbom.ml/util@master (17/104) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1 (18/104) Wrote github.com/docker/go@v1.5.1-1 (19/104) Wrote github.com/docker/docker-credential-helpers@v0.6.1 (20/104) Wrote github.com/docker/go-events@master (21/104) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 (22/104) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2 (23/104) Wrote github.com/docker/go-connections@v0.4.0 (24/104) Wrote github.com/docker/go-units@v0.3.3 (25/104) Wrote github.com/godbus/dbus@v5.0.1 (26/104) Wrote github.com/gofrs/flock@v0.7.1 (27/104) Wrote github.com/docker/buildx@v0.3.1 (28/104) Wrote github.com/google/go-cmp@v0.2.0 (29/104) Wrote github.com/gogo/googleapis@v1.2.0 (30/104) Wrote github.com/google/gofuzz@v1.0.0 (31/104) Wrote github.com/google/shlex@master (32/104) Wrote github.com/gorilla/mux@v1.7.1 (33/104) Wrote github.com/grpc-ecosystem/grpc-opentracing@master (34/104) Wrote github.com/hashicorp/go-version@v1.1.0 (35/104) Wrote github.com/globalsign/mgo@master (36/104) Wrote github.com/hashicorp/golang-lru@v0.5.1 (37/104) Wrote github.com/imdario/mergo@master (38/104) Wrote github.com/inconshreveable/mousetrap@v1.0 (39/104) Wrote github.com/jaguilar/vt100 (from github.com/tonistiigi/vt100)@ad4c4a5743050fb7f88ce968dca9422f72a0e3f2 (40/104) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (41/104) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2 (42/104) Wrote github.com/googleapis/gnostic@v0.2.0 (43/104) Wrote github.com/docker/compose-on-kubernetes@v0.4.21 (44/104) Wrote github.com/mattn/go-shellwords@v1.0.5 (45/104) Wrote github.com/json-iterator/go@v1.1.6 (46/104) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1 (47/104) Wrote github.com/wadey/gocovmerge@master (48/104) Wrote cloud.google.com/go@v0.37.4 (49/104) Wrote github.com/miekg/pkcs11@master (50/104) Wrote github.com/modern-go/reflect2@1.0.1 (51/104) Wrote github.com/oklog/ulid@v1.3.1 (52/104) Wrote github.com/morikuni/aec@master (53/104) Wrote github.com/modern-go/concurrent@1.0.3 (54/104) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1 (55/104) Wrote github.com/golang/protobuf@v1.3.1 (56/104) Wrote github.com/opentracing/opentracing-go@v1.1.0 (57/104) Wrote github.com/opencontainers/image-spec@v1.0.1 (58/104) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 (59/104) Wrote github.com/containerd/containerd@master (60/104) Wrote github.com/pkg/errors@v0.8.1 (61/104) Wrote github.com/prometheus/client_model@master (62/104) Wrote github.com/prometheus/client_golang@v0.8.0 (63/104) Wrote github.com/qri-io/jsonpointer@v0.1.0 (64/104) Wrote github.com/prometheus/procfs@master (65/104) Wrote github.com/prometheus/common@v0.2.0 (66/104) Wrote github.com/qri-io/jsonschema@v0.1.1 (67/104) Wrote github.com/sirupsen/logrus@v1.4.1 (68/104) Wrote github.com/spf13/pflag@master (69/104) Wrote github.com/syndtr/gocapability@master (70/104) Wrote github.com/spf13/cobra@v0.0.5 (71/104) Wrote github.com/tonistiigi/units@master (72/104) Wrote github.com/xeipuuv/gojsonpointer@master Running on ubuntu-1804-overlay2 (i-0ffec2e9b6fcfbc58) 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] checkout (73/104) Wrote github.com/opencontainers/runc@v1.0.0-rc7 (74/104) Wrote github.com/xeipuuv/gojsonreference@master (75/104) Wrote google.golang.org/appengine@v1.5.0 (76/104) Wrote github.com/tonistiigi/fsutil@master (77/104) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc (78/104) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d (79/104) Wrote github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98 (80/104) Wrote golang.org/x/oauth2@master (81/104) Wrote golang.org/x/sync@master (82/104) Wrote golang.org/x/crypto@master using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags (83/104) Wrote github.com/moby/buildkit@v0.6.2 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 (84/104) Wrote github.com/coreos/etcd@v3.3.12 (85/104) Wrote golang.org/x/time@master (86/104) Wrote golang.org/x/net@master (87/104) Wrote gopkg.in/inf.v0@v0.9.1 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 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 Checking out Revision 3d09fa9277dcc3e58707508e8963e694a1c5a6d6 (PR-716) > git config core.sparsecheckout # timeout=10 > git checkout -f 3d09fa9277dcc3e58707508e8963e694a1c5a6d6 (88/104) Wrote gotest.tools@v2.3.0 (89/104) Wrote gopkg.in/yaml.v2@v2.2.3 (90/104) Wrote k8s.io/klog@v0.2.0 Commit message: "Handle images without an explicit tag" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-716-17 --build-arg COMMIT=3d09fa92 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-716-17 . (91/104) Wrote k8s.io/utils@master (92/104) Wrote sigs.k8s.io/yaml@v1.1.0 (93/104) Wrote k8s.io/apimachinery@kubernetes-1.14.1 (94/104) Wrote golang.org/x/sys@master (95/104) Wrote google.golang.org/grpc@v1.19.1 (96/104) Wrote github.com/theupdateframework/notary@v0.6.1 (97/104) Wrote golang.org/x/text@v0.3.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 a2a2197e145e: Waiting 36ac8c11a11f: Waiting ecd7d9a67e26: Waiting ea67eaa7dd42: Waiting 4b5cacb629f5: Verifying Checksum 4b5cacb629f5: Download complete 14408c8d4f9a: Verifying Checksum 14408c8d4f9a: Download complete 4a56a430b2ba: Verifying Checksum 4a56a430b2ba: Download complete ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 (98/104) Wrote golang.org/x/tools@master ea67eaa7dd42: Verifying Checksum ea67eaa7dd42: Download complete ecd7d9a67e26: Verifying Checksum ecd7d9a67e26: Download complete a2a2197e145e: Verifying Checksum a2a2197e145e: Download complete 36ac8c11a11f: Verifying Checksum 36ac8c11a11f: Download complete (99/104) Wrote k8s.io/client-go@kubernetes-1.14.1 (100/104) Wrote google.golang.org/genproto@master 4a56a430b2ba: Pull complete 4b5cacb629f5: Pull complete 14408c8d4f9a: Pull complete (101/104) Wrote github.com/gogo/protobuf@v1.2.1 ea67eaa7dd42: Pull complete a2a2197e145e: Pull complete (102/104) Wrote k8s.io/api@kubernetes-1.14.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 (103/104) Wrote github.com/docker/docker@master ---> Running in 2351cb26a7ea 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 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 (364 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 2351cb26a7ea ---> 3abcc8407c58 Step 4/13 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 018dfb681aac Removing intermediate container 018dfb681aac ---> 55ee6820d1fb Step 5/13 : COPY . . ---> 4c36823f6b6e Step 6/13 : ARG TAG="unknown" ---> Running in ff110c7af45a Removing intermediate container ff110c7af45a ---> a586ebadd5cc Step 7/13 : RUN make BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run ---> Running in 64e55cf7be6a CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=3d09fa92 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-17 -X github.com/docker/app/internal.BuildTime=2019-10-29T10:32:58Z" -o bin/cnab-run ./cmd/cnab-run WARNING: binary creates a Linux executable. Use cross for macOS or Windows. ./scripts/build/binary Building statically linked build/docker-linux-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] } Removing intermediate container 64e55cf7be6a ---> 2ffe9e994a87 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 3de3a3dec0d4 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 3de3a3dec0d4 ---> 74c583335dd4 Step 10/13 : USER cnab ---> Running in f1c55ecf6fa9 Removing intermediate container f1c55ecf6fa9 ---> e492fb9d0daf Step 11/13 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run ---> f5d6a5659d35 Step 12/13 : WORKDIR /cnab/app ---> Running in 41153a0f1da8 Removing intermediate container 41153a0f1da8 ---> 7cd73490e0d5 Step 13/13 : CMD /cnab/app/run ---> Running in 20b252a1e8af Removing intermediate container 20b252a1e8af ---> f47c35f46105 [Warning] One or more build-args [COMMIT GOPROXY] were not consumed Successfully built f47c35f46105 Successfully tagged docker/cnab-app-base:jenkins-app-PR-716-17 docker save docker/cnab-app-base:jenkins-app-PR-716-17 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-716-17-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-716-17 docker/cnab-app-base:jenkins-app-PR-716-17-coverage docker save docker/cnab-app-base:jenkins-app-PR-716-17-coverage -o _build/coverage-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-716/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-716/17/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-716/17/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-17 Untagged: docker/cnab-app-base:jenkins-app-PR-716-17 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-716-17-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-716-17-coverage Deleted: sha256:f47c35f4610513cdf7b6611e4ce86709e1bb5de9579186160198b47ea79a172f Deleted: sha256:7cd73490e0d585603217981ea4f5bd847c4a68d226c2a3d711f9203479b27087 Deleted: sha256:f5d6a5659d359bdf7c6e460700c286ea31adddf71b327ff36b8515b41841a55b Deleted: sha256:c9fdf67ec01506e85179d2d532222519a6b11e262b7df024561d054ce8c82f10 Deleted: sha256:e492fb9d0daf5f82888569eae0b80d32391a77ce6b54f27d8335ac2c350880ad Deleted: sha256:74c583335dd4cb33e14622ca99c13aee527a17c51221483f0549d4dcb594c680 Deleted: sha256:d60a95701776263ac0c64c51bd86d07863b5fa2693b3b993535c718b48c5cf76 [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Removing intermediate container 606148664e93 ---> cc37729e90e1 Step 8/8 : WORKDIR /go/src/github.com/docker/app/ ---> Running in d51bac4d90b6 Removing intermediate container d51bac4d90b6 ---> 90f183e7786f [Warning] One or more build-args [COMMIT TAG ALPINE_VERSION] were not consumed Successfully built 90f183e7786f Successfully tagged docker-app-cli:jenkins-app-PR-716-17 docker create --name docker-app-cli-jenkins-app-PR-716-17 docker-app-cli:jenkins-app-PR-716-17 noop 1e4a6435f0b23ebd6a0965a8ac24c257b783eed9d6a3be3e117d7cb08cce1f0c docker cp docker-app-cli-jenkins-app-PR-716-17:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux docker cp docker-app-cli-jenkins-app-PR-716-17:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin docker cp docker-app-cli-jenkins-app-PR-716-17:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe docker rm docker-app-cli-jenkins-app-PR-716-17 docker-app-cli-jenkins-app-PR-716-17 docker build --build-arg TAG=jenkins-app-PR-716-17 --build-arg COMMIT=3d09fa92 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=cross -t docker-app-cross:jenkins-app-PR-716-17 . 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 ---> 8c25d157f71d Step 3/21 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> ec4177f36be3 Step 4/21 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 6f1e02d93e5e Step 5/21 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> d9961ebf4515 Step 6/21 : ARG GOPROXY ---> Using cache ---> f161f3d9ce72 Step 7/21 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> cc37729e90e1 Step 8/21 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 90f183e7786f Step 9/21 : FROM build AS dev ---> 90f183e7786f Step 10/21 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in df5ecdb29b5b Removing intermediate container df5ecdb29b5b ---> a14405493730 Step 11/21 : ARG DEP_VERSION=v0.5.4 ---> Running in ccf2ac9abbbb Removing intermediate container ccf2ac9abbbb ---> ffe881fe5f0e 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 180cdc8a54fc   % Total    % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 605 0 605 0 0 5931 0 --:--:-- --:--:-- --:--:-- 5931  100 10.5M 100 10.5M  0 0 47.6M 0 --:--:-- --:--:-- --:--:-- 47.6M Removing intermediate container 180cdc8a54fc ---> f340c88d6385 Step 13/21 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 470cebd9685e Removing intermediate container 470cebd9685e ---> b2f56aad5164 Step 14/21 : ARG GOPROXY ---> Running in 84689c24cb18 Removing intermediate container 84689c24cb18 ---> e118f21b13e5 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 b0df94de8369 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/fatih/color v1.6.0 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding gotest.tools v2.1.0+incompatible go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/stretchr/testify v1.3.0 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding github.com/onsi/gomega v1.4.3 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding github.com/davecgh/go-spew v1.1.0 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/stretchr/objx v0.1.0 go: finding github.com/onsi/ginkgo v1.6.0 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding golang.org/x/text v0.3.0 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding github.com/golang/protobuf v1.2.0 go: finding github.com/hpcloud/tail 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 golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading github.com/spf13/pflag v1.0.1 go: extracting github.com/spf13/pflag v1.0.1 go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting github.com/pkg/errors v0.8.0 go: extracting github.com/jonboulle/clockwork v0.1.0 go: extracting github.com/sirupsen/logrus v1.0.5 go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting github.com/fatih/color v1.6.0 go: downloading github.com/mattn/go-isatty v0.0.3 go: downloading github.com/mattn/go-colorable v0.0.9 go: extracting github.com/mattn/go-isatty v0.0.3 go: extracting github.com/mattn/go-colorable v0.0.9 go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e Removing intermediate container b0df94de8369 ---> 68523bb44d2c 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 1f071273dc7a Removing intermediate container 1f071273dc7a ---> b15b4cf04e28 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 583256c1118b 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 583256c1118b ---> 9a9f00d1cc56 Step 18/21 : COPY . . ---> 6ca077da8b12 Step 19/21 : FROM dev AS cross ---> 6ca077da8b12 Step 20/21 : ARG TAG="unknown" ---> Running in 296bcf06274a Removing intermediate container 296bcf06274a ---> 159cfcd2d5cb Step 21/21 : RUN make TAG=${TAG} cross ---> Running in 6c81232726d4 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=3d09fa92 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-17 -X github.com/docker/app/internal.BuildTime=2019-10-29T10:35: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=3d09fa92 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-17 -X github.com/docker/app/internal.BuildTime=2019-10-29T10:35: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=3d09fa92 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-17 -X github.com/docker/app/internal.BuildTime=2019-10-29T10:35:42Z" -o bin/docker-app-windows.exe ./cmd/docker-app Removing intermediate container 6c81232726d4 ---> 9caa294e70a9 [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 9caa294e70a9 Successfully tagged docker-app-cross:jenkins-app-PR-716-17 docker create --name docker-app-cross-jenkins-app-PR-716-17 docker-app-cross:jenkins-app-PR-716-17 noop 4cb6f4cfa45a6ec30ea9d4f8e008b1a40323984f8b2d74c9ac50616e532e17c9 docker cp docker-app-cross-jenkins-app-PR-716-17:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux docker cp docker-app-cross-jenkins-app-PR-716-17:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin docker cp docker-app-cross-jenkins-app-PR-716-17:/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-17 docker-app-cross-jenkins-app-PR-716-17 docker build --build-arg TAG=jenkins-app-PR-716-17 --build-arg COMMIT=3d09fa92 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-716-17 . 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 ---> 8c25d157f71d Step 3/24 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> ec4177f36be3 Step 4/24 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 6f1e02d93e5e Step 5/24 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> d9961ebf4515 Step 6/24 : ARG GOPROXY ---> Using cache ---> f161f3d9ce72 Step 7/24 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> cc37729e90e1 Step 8/24 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 90f183e7786f Step 9/24 : FROM build AS dev ---> 90f183e7786f Step 10/24 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> a14405493730 Step 11/24 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> ffe881fe5f0e 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 ---> f340c88d6385 Step 13/24 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> b2f56aad5164 Step 14/24 : ARG GOPROXY ---> Using cache ---> e118f21b13e5 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 ---> 68523bb44d2c 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 ---> b15b4cf04e28 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 ---> 9a9f00d1cc56 Step 18/24 : COPY . . ---> Using cache ---> 6ca077da8b12 Step 19/24 : FROM dev AS cross ---> 6ca077da8b12 Step 20/24 : ARG TAG="unknown" ---> Using cache ---> 159cfcd2d5cb Step 21/24 : RUN make TAG=${TAG} cross ---> Using cache ---> 9caa294e70a9 Step 22/24 : FROM cross AS e2e-cross ---> 9caa294e70a9 Step 23/24 : ARG TAG="unknown" ---> Running in 5e06bc5c78a0 Removing intermediate container 5e06bc5c78a0 ---> 654f8569d079 Step 24/24 : RUN make TAG=${TAG} e2e-cross ---> Running in 5309dfd2c631 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=3d09fa92 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-17 -X github.com/docker/app/internal.BuildTime=2019-10-29T10: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=3d09fa92 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-17 -X github.com/docker/app/internal.BuildTime=2019-10-29T10:38: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=3d09fa92 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-17 -X github.com/docker/app/internal.BuildTime=2019-10-29T10: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=3d09fa92 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-17 -X github.com/docker/app/internal.BuildTime=2019-10-29T10: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=3d09fa92 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-17 -X github.com/docker/app/internal.BuildTime=2019-10-29T10:38:44Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ Removing intermediate container 5309dfd2c631 ---> 8daf7f1cfa41 [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 8daf7f1cfa41 Successfully tagged docker-app-e2e-cross:jenkins-app-PR-716-17 docker create --name docker-app-e2e-cross-jenkins-app-PR-716-17 docker-app-e2e-cross:jenkins-app-PR-716-17 noop 50a6161a2205c36c80f14e9b07ca7ef55153146abdf86d9d57bccc9075bab64a docker cp docker-app-e2e-cross-jenkins-app-PR-716-17:/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-17:/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-17:/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-17:/usr/local/bin/gotestsum-linux bin/gotestsum-linux docker cp docker-app-e2e-cross-jenkins-app-PR-716-17:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-716-17:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-716-17:/usr/local/bin/test2json-linux bin/test2json-linux docker cp docker-app-e2e-cross-jenkins-app-PR-716-17:/usr/local/bin/test2json-darwin bin/test2json-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-716-17:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe docker rm docker-app-e2e-cross-jenkins-app-PR-716-17 docker-app-e2e-cross-jenkins-app-PR-716-17 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/17/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/17/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/17/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + xargs docker image rm -f + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-716-17* Untagged: docker-app-e2e-cross:jenkins-app-PR-716-17 Deleted: sha256:8daf7f1cfa410be04a623352632d43ba4ed38467a77ab0730b474aea5b21b1fd Deleted: sha256:77b68b41fef36784d25a66f6c33d0bcbf7688a7c41c73ba98e275e9b292670ee Deleted: sha256:654f8569d07957212595ba6a940f3bca978041620a943f4c0acc702e628aa0da Untagged: docker-app-cross:jenkins-app-PR-716-17 Deleted: sha256:9caa294e70a97b39eef328a0a52d2944fcdca7a7f3daa53945a023b70211567f Deleted: sha256:3b4804b2648efa5adfd0e663f3f908406c7f14922ee96f2f00d7749dfc695870 Deleted: sha256:159cfcd2d5cbf063017a625f4339ee22ffe13aa71897fa2ac1f7af5319240b6c Deleted: sha256:6ca077da8b1288102d0a85d476c162e1dceb6fa57ea93319d5cc10ee2b8f19e9 Deleted: sha256:4904d70e2a5a8d1419975c20622c0c7508a61aa16a486e3f814654c4610b882a Deleted: sha256:9a9f00d1cc56ce16b876e703c4e2e8f05f0ef93d9e0621049d51e85b7e728f13 Deleted: sha256:5f959c4f46d01214a27325817021db4d2a129de43cdd6f7fafc8cb549a907795 Deleted: sha256:b15b4cf04e282f77a93859dc87786e1a8cc928e309a6863935f796ac1ed93797 Deleted: sha256:5931249c7d5df38baa82842c8daf945fbcdf305e547c5c816cf15b356a3f1a62 Deleted: sha256:68523bb44d2cd90d16dad3c9f22d69450d1d48e0b099bc6d40d42704d35cc23d Deleted: sha256:7f3eed1c7f94d5c40537a0036f8caa96307d4f7f8da6c9f3bbca0af31df43fff Deleted: sha256:e118f21b13e5d4a10e0cb28dc0d9a90ba7077949665325fcaac7753e1893275b Deleted: sha256:b2f56aad516413c345bd1826bfaeaa71800496a8667d927723068006c4258bc6 Deleted: sha256:f340c88d6385d69d19ba8345d0dd46b1f69ac5e485b1e2f12b3f1941ce885f22 Deleted: sha256:66e9057cecc73f58a274e2e0606719cdaa4cf1b7afe6ef71199d600c89493422 Deleted: sha256:ffe881fe5f0e6f8e29d64de0e7c6ba161693f65e0472959d987466e00d29346e Deleted: sha256:a1440549373074d943a743b348a7979958caaa08855deb96724bc02af6dcd821 Untagged: docker-app-cli:jenkins-app-PR-716-17 Deleted: sha256:90f183e7786f219f4522751200f68470357366793aecec0e3f78e037f0c3f3e9 Deleted: sha256:9b82fa4973f0b10410855c0581265de372d78c8ef28e3b898121a9635b5bf8a3 Deleted: sha256:cc37729e90e131803b7ef4a26c32f3c74a052bd086bc77a5d095bae1ca9ec5f6 Deleted: sha256:6d3011ebbebc2bff6f18875897a67f1b0b95fc82bd11de2f2a6274a986e3e85e Deleted: sha256:f161f3d9ce722f8a98eb361b90098b3b8e425dac315f73c5aac91391686a49d2 Deleted: sha256:d9961ebf45154d80fc1c5372f75d480cebc20b515618b6c239a0d585df58f8a9 Deleted: sha256:bbcbbf25228dcd4a50841a4113da90bd78f1278011ff3814df6e9ba126a888a8 Deleted: sha256:6f1e02d93e5efab94291ef1ac7c2c722561ec18011a89331ceb8a5e3cdd09cf9 Deleted: sha256:9ae9864566235792d1e74f519954e7819f5a66c5ce59f03ba9656f3472819e84 Deleted: sha256:ec4177f36be30a19e18febf3d5ce70c899549afce3b2ccada7e4846839e87b2b Deleted: sha256:aab46b8489821680d7859a1c8b308b447bdbf980ef928815681d943a983ac661 Deleted: sha256:8c25d157f71db497077d19775e6958e3ede0c1f24939d75e7cf9026452fbb6fc [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-0ffec2e9b6fcfbc58) 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 using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Running on ubuntu-1804-overlay2 (i-0d5ffd6bca5a79e7a) 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] checkout 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 3d09fa9277dcc3e58707508e8963e694a1c5a6d6 (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 3d09fa9277dcc3e58707508e8963e694a1c5a6d6 using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Commit message: "Handle images without an explicit tag" Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-716/src/github.com/docker/app # timeout=10 [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-716/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash 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 > 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 Fetching without tags Checking out Revision 3d09fa9277dcc3e58707508e8963e694a1c5a6d6 (PR-716) Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-716/17/stashes/invocation-image.tgz [Pipeline] sh + docker load -i invocation-image.tar Commit message: "Handle images without an explicit tag" > 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 3d09fa9277dcc3e58707508e8963e694a1c5a6d6 Loaded image: docker/cnab-app-base:jenkins-app-PR-716-17 [Pipeline] } [Pipeline] // dir [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/17/stashes/coverage-invocation-image.tgz [Pipeline] sh + docker load -i coverage-invocation-image.tar Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-716/17/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/17/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/17/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 Loaded image: docker/cnab-app-base:jenkins-app-PR-716-17-coverage [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile TAG=jenkins-app-PR-716-17-coverage coverage-run docker build --build-arg TAG=jenkins-app-PR-716-17-coverage --build-arg COMMIT=3d09fa92 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-716-17 . 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 96d705baf026: Waiting 39007eb46008: Waiting 4e549f0f5e64: Waiting c0058a8c71f2: Waiting 2f8d98df0991: Waiting 96465440c208: Waiting 16a3d8aca6cd: Waiting e0ec5610455a: 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 e0ec5610455a: Verifying Checksum e0ec5610455a: Download complete 4e549f0f5e64: Verifying Checksum 4e549f0f5e64: Download complete 2f8d98df0991: Verifying Checksum 2f8d98df0991: Download complete 4ae16bd47783: Pull complete bbab4ec87ac4: Pull complete 2ea1f7804402: Pull complete 96465440c208: Pull complete 16a3d8aca6cd: Pull complete e0ec5610455a: Pull complete 96d705baf026: Pull complete 39007eb46008: Pull complete PASS e2e/linux.TestBuild (21.17s) 4e549f0f5e64: Pull complete c0058a8c71f2: Pull complete PASS e2e/linux.TestQuietBuild (17.98s) 2f8d98df0991: Pull complete Digest: sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 Status: Downloaded newer image for dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Running in b81a689c6052 Removing intermediate container b81a689c6052 ---> a31a6beee69c Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 80bb7afcc4fe 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 (370 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 80bb7afcc4fe ---> 4da954a9041e Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Running in 2564ef9faf24 Removing intermediate container 2564ef9faf24 ---> 3a22832e6f78 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in 85f0dbd5f1b8 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 PASS e2e/linux.TestBuildWithoutTag (12.74s) Removing intermediate container 85f0dbd5f1b8 ---> 75742c9c62c1 Step 6/18 : ARG GOPROXY ---> Running in ecc1f1fb2c8e Removing intermediate container ecc1f1fb2c8e ---> 88e965f4dc08 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in 2d8d73f53d9d ./scripts/build/osx Building build/docker-darwin-amd64 PASS e2e/linux.TestBuildWithArgs (15.57s) PASS e2e/linux.TestBuildWithArgsDefinedTwice (12.01s) PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (3.12s) PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (3.08s) PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (3.24s) PASS e2e/linux.TestCallCustomStatusAction (9.44s) PASS e2e/linux.TestCnabParameters (3.12s) PASS e2e/linux.TestExitErrorCode (0.06s) PASS e2e/linux.TestRender/envvariables/stdout (1.65s) PASS e2e/linux.TestRender/envvariables/file (1.46s) PASS e2e/linux.TestRender/envvariables (3.10s) PASS e2e/linux.TestRender (3.10s) PASS e2e/linux.TestRenderFormatters (13.85s) PASS e2e/linux.TestInit (0.14s) === RUN TestInspectApp --- FAIL: TestInspectApp (13.07s) commands_test.go:175: assertion failed: --- expected +++ actual @@ -28,5 +28,5 @@ { "Name": "web", - "Image": "nginx:latest", + "Image": "nginx", "Replicas": 1, "Ports": "8082" FAIL e2e/linux.TestInspectApp (13.07s) PASS e2e/linux.TestRunOnlyOne (0.14s) ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 PASS e2e/linux.TestDockerAppLifecycle/withBindMounts (26.34s) PASS e2e/linux.TestDockerAppLifecycle/withoutBindMounts (18.75s) PASS e2e/linux.TestDockerAppLifecycle (45.10s) PASS e2e/linux.TestCredentials/missing (0.09s) PASS e2e/linux.TestCredentials/full (1.93s) PASS e2e/linux.TestCredentials/mixed-credstore (1.30s) PASS e2e/linux.TestCredentials/mixed-local-cred (1.28s) PASS e2e/linux.TestCredentials/overload (0.06s) PASS e2e/linux.TestCredentials (4.66s) PASS e2e/linux.TestRenderWithEnvFile (1.64s) PASS e2e/linux.TestExamplesAreValid (0.25s) PASS e2e/linux.TestImageList (14.14s) PASS e2e/linux.TestImageListQuiet (13.89s) PASS e2e/linux.TestImageRm (19.06s) 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.86s) PASS e2e/linux.TestInvokePluginFromCLI (3.43s) PASS e2e/linux.TestPushArchs/default (3.43s) PASS e2e/linux.TestPushArchs/all-platforms (0.99s) PASS e2e/linux.TestPushArchs (15.98s) PASS e2e/linux.TestPushInsecureRegistry (23.64s) PASS e2e/linux.TestPushInstall (21.42s) Removing intermediate container 2d8d73f53d9d ---> e36d714a2668 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Running in fd576c2ed2cd Removing intermediate container fd576c2ed2cd ---> e3d8cc9f6fd9 Step 9/18 : FROM build AS dev ---> e3d8cc9f6fd9 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in 1866d0ebed80 Removing intermediate container 1866d0ebed80 ---> 266c84688d12 Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Running in ede6deca8b91 Removing intermediate container ede6deca8b91 ---> 7206af7d6aaa 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 5a2a9c235f7c  % 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 5500 0 --:--:-- --:--:-- --:--:-- 5500  100 10.5M 100 10.5M 0 0 46.5M  0 --:--:-- --:--:-- --:--:-- 46.5M Removing intermediate container 5a2a9c235f7c ---> cad5a0676151 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 40c745d0f88f Removing intermediate container 40c745d0f88f ---> 443c685bedd3 Step 14/18 : ARG GOPROXY ---> Running in 8f9c9ddc5e2c Removing intermediate container 8f9c9ddc5e2c ---> bf0a842ad445 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 64bc6cc23f4c 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-isatty v0.0.3 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/spf13/pflag v1.0.1 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/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding github.com/hpcloud/tail v1.0.0 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding github.com/pmezard/go-difflib v1.0.0 PASS e2e/linux.TestPushPullInstall (16.27s) 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 golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading github.com/spf13/pflag v1.0.1 go: extracting github.com/pkg/errors v0.8.0 go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting github.com/spf13/pflag v1.0.1 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/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 64bc6cc23f4c ---> 98f79a51afed 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 1610bc55beab Removing intermediate container 1610bc55beab ---> b6ca740e995b 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 6e0b70d18e6d PASS e2e/linux.TestPushInstallBundle/push-bundle (4.89s) PASS e2e/linux.TestPushInstallBundle/push-ref (1.14s) PASS e2e/linux.TestPushInstallBundle/push-bundleref (2.47s) PASS e2e/linux.TestPushInstallBundle (21.52s) FAIL e2e/linux === Failed === FAIL: e2e/linux TestInspectApp (13.07s) commands_test.go:175: assertion failed: --- expected +++ actual @@ -28,5 +28,5 @@ { "Name": "web", - "Image": "nginx:latest", + "Image": "nginx", "Replicas": 1, "Ports": "8082" DONE 45 tests, 1 failure in 338.274s time="2019-10-29T10:46:53Z" 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/17/artifacts/ [Pipeline] junit Recording test results [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-716-17 Untagged: docker/cnab-app-base:jenkins-app-PR-716-17 [Pipeline] deleteDir [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Test Linux 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 6e0b70d18e6d ---> 7a341fd8156c Step 18/18 : COPY . . ---> 2b007c7b5395 [Warning] One or more build-args [COMMIT TAG ALPINE_VERSION] were not consumed Successfully built 2b007c7b5395 Successfully tagged docker-app-dev:jenkins-app-PR-716-17 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-716-17-coverage --network="host" -t docker-app-dev:jenkins-app-PR-716-17 make COMMIT=3d09fa92 TAG=jenkins-app-PR-716-17-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=3d09fa92 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-17-coverage -X github.com/docker/app/internal.BuildTime=2019-10-29T10:47:09Z" -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 ∅ . ∅ cmd/cnab-run ∅ cmd/docker-app ∅ docs/yaml ✓ internal (50ms) ✓ internal/cnab (48ms) ✓ internal/commands/build (21ms) ✓ internal/commands (552ms) ✓ internal/compose (13ms) ✓ internal/formatter (10ms) ✓ internal/commands/image (30ms) ∅ internal/formatter/driver ∅ internal/formatter/json ∅ internal/formatter/yaml ✓ internal/inspect (121ms) ∅ internal/log ✓ internal/slices (7ms) ✓ internal/store (33ms) ✓ internal/packager (65ms) ✓ internal/yaml (9ms) ✓ loader (38ms) ✓ render (84ms) ✓ specification (10ms) ✓ types (38ms) ✓ types/parameters (8ms) ✓ types/metadata (19ms) DONE 231 tests in 127.988s CGO_ENABLED=0 go test -tags=" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=3d09fa92 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-17-coverage -X github.com/docker/app/internal.BuildTime=2019-10-29T10:47:09Z" -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=3d09fa92 -X github.com/docker/app/internal.Version=jenkins-app-PR-716-17-coverage -X github.com/docker/app/internal.BuildTime=2019-10-29T10:47:09Z" -v ./e2e ✖ e2e (5m15.853s) === Failed === FAIL: e2e TestInspectApp (13.02s) commands_test.go:175: assertion failed: --- expected +++ actual @@ -28,5 +28,5 @@ { "Name": "web", - "Image": "nginx:latest", + "Image": "nginx", "Replicas": 1, "Ports": "8082" === FAIL: e2e TestDockerAppLifecycle/withBindMounts (8.57s) --- FAIL: TestDockerAppLifecycle/withBindMounts (8.57s) commands_test.go:219: assertion failed: Command: docker app build --tag testdockerapplifecycle_withbindmounts testdata/simple ExitCode: 141 Error: exit status 141 Stdout: #1 [internal] load remote build context #1 DONE 0.0s #2 copy /context / #2 DONE 0.1s #3 [internal] load metadata for docker.io/docker/cnab-app-base:jenkins-app-... #3 DONE 0.0s #4 [1/2] FROM docker.io/docker/cnab-app-base:jenkins-app-PR-716-17-coverage #4 resolve docker.io/docker/cnab-app-base:jenkins-app-PR-716-17-coverage done #4 DONE 0.0s #5 [2/2] COPY . . #5 DONE 0.3s #6 exporting to image #6 exporting layers 0.0s done #6 writing image sha256:1b6d7b9d13a44cdd51aebe6e78099d5bb44041ad0d52801d5093e06d7ec98f6d done #6 DONE 0.0s Stderr: Failures: ExitCode was 141 expected 0 Expected no error === FAIL: e2e TestDockerAppLifecycle (33.59s) DONE 45 tests, 3 failures in 319.858s 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-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-0d5ffd6bca5a79e7a) 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