Pull request #655 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 14763249b476ae761dde4da59565c9a48497ddfa 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 9d211b4b26f02e228a3affd71de33f5afd9f4d88 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 9d211b4b26f02e228a3affd71de33f5afd9f4d88 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9d211b4b26f02e228a3affd71de33f5afd9f4d88 Commit message: "Merge pull request #15 from docker/add-groovydocs" > git rev-list --no-walk 9d211b4b26f02e228a3affd71de33f5afd9f4d88 # 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-0996cb03b8856827e) in /home/ubuntu/workspace/app_PR-655 Running on ubuntu-1804-overlay2 (i-0bcdbe30dd41f253d) in /home/ubuntu/workspace/app_PR-655 [Pipeline] { [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] checkout using credential docker-jenkins-github-credentials using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/655/head:refs/remotes/origin/PR-655 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/655/head:refs/remotes/origin/PR-655 Fetching without tags Fetching without tags Checking out Revision 14763249b476ae761dde4da59565c9a48497ddfa (PR-655) Checking out Revision 14763249b476ae761dde4da59565c9a48497ddfa (PR-655) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/655/head:refs/remotes/origin/PR-655 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/655/head:refs/remotes/origin/PR-655 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/655/head:refs/remotes/origin/PR-655 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/655/head:refs/remotes/origin/PR-655 > git config core.sparsecheckout # timeout=10 > git checkout -f 14763249b476ae761dde4da59565c9a48497ddfa Commit message: "nit" > git rev-list --no-walk 6f4dbeb41c41dc649b70ae2ea5448c727e9e301d # timeout=10 Commit message: "nit" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 14763249b476ae761dde4da59565c9a48497ddfa [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=build -t docker-app-cli:jenkins-app-PR-655-35 . + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-655-35 -f Dockerfile.lint . Sending build context to Docker daemon 75.51MB 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 96d705baf026: Waiting 39007eb46008: Waiting 4e549f0f5e64: Waiting c0058a8c71f2: Waiting 2f8d98df0991: Waiting 96465440c208: Waiting 16a3d8aca6cd: Waiting e0ec5610455a: Waiting Sending build context to Docker daemon 75.51MB 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 ---> 1f406be36c63 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 ---> 56a502b8dd3c Step 6/8 : WORKDIR /go/src/github.com/docker/app ---> Using cache ---> ec7c70f527a2 Step 7/8 : ENV CGO_ENABLED=0 ---> Using cache ---> 1dbf26c872e2 Step 8/8 : COPY . . 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 ---> a6ae5ae26ed4 Successfully built a6ae5ae26ed4 Successfully tagged docker-app-lint:jenkins-app-PR-655-35 docker run --rm docker-app-lint:jenkins-app-PR-655-35 make lint 4e549f0f5e64: Verifying Checksum 4e549f0f5e64: Download complete Linting... 2f8d98df0991: Verifying Checksum 2f8d98df0991: Download complete 4ae16bd47783: Pull complete bbab4ec87ac4: Pull complete 2ea1f7804402: Pull complete 96465440c208: Pull complete Still waiting to schedule task Waiting for next available executor on ‘ubuntu-1804&&x86_64&&overlay2’ 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=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=dev -t docker-app-dev:jenkins-app-PR-655-35 . Sending build context to Docker daemon 75.51MB 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 ---> 0a9221f87979 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 9e9f75a81588 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> e7b75c606b6b Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 461fa42b02fe Step 6/18 : ARG GOPROXY ---> Using cache ---> 26a973c9e1eb Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 2cfaa35b6f20 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 632b1d257cf6 Step 9/18 : FROM build AS dev ---> 632b1d257cf6 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> af8b1ff32b81 Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> b802a9525165 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 ---> 5515408a0619 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 5fd5fcea5a27 Step 14/18 : ARG GOPROXY ---> Using cache ---> c41574f0f2ab 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 ---> 28f1d4756a48 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 ---> e92e38cd1750 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 ---> ed7793626081 Step 18/18 : COPY . . ---> 4624c2fc1e70 [Warning] One or more build-args [TAG ALPINE_VERSION COMMIT EXPERIMENTAL] were not consumed Successfully built 4624c2fc1e70 Successfully tagged docker-app-dev:jenkins-app-PR-655-35 Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-655-35 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/containerd/cgroups@master (3/104) Wrote vbom.ml/util@master (4/104) Wrote github.com/coreos/go-systemd@v20 (5/104) Wrote github.com/containerd/ttrpc@master 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 (6/104) Wrote github.com/containerd/continuity@master (7/104) Wrote github.com/davecgh/go-spew@v1.1.1 (8/104) Wrote github.com/containerd/console@master (9/104) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1 (10/104) Wrote github.com/Microsoft/go-winio@v0.4.12 (11/104) Wrote github.com/agl/ed25519@master (12/104) Wrote github.com/beorn7/perks@master (13/104) Wrote github.com/containerd/fifo@master (14/104) Wrote github.com/containerd/typeurl@master (15/104) Wrote github.com/Masterminds/semver@v1.4.2 (16/104) Wrote github.com/Microsoft/hcsshim@v0.8.6 ---> Running in 9546be65bc54 Removing intermediate container 9546be65bc54 ---> ead4822bc46a Step 3/8 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 39e3764a08eb Reading package lists...(17/104) Wrote github.com/docker/docker-credential-helpers@v0.6.1 (18/104) Wrote github.com/docker/go@v1.5.1-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 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 (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 ... 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' ... (19/104) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 Not creating home directory `/run/uuidd'. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. (20/104) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2 Removing intermediate container 39e3764a08eb ---> 24064c8aaed7 Step 4/8 : WORKDIR /go/src/github.com/docker/cli ---> Running in 27fab0acccda (21/104) Wrote github.com/docker/go-events@master Removing intermediate container 27fab0acccda ---> 074b22630c41 Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in 6f3a3e5492fd (22/104) Wrote github.com/docker/go-connections@v0.4.0 (23/104) Wrote github.com/docker/go-units@v0.3.3 Cloning into '.'... (24/104) Wrote github.com/godbus/dbus@v5.0.1 (25/104) Wrote github.com/gofrs/flock@v0.7.1 (26/104) Wrote github.com/gogo/googleapis@v1.2.0 (27/104) Wrote github.com/docker/buildx@v0.3.1 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 (28/104) Wrote github.com/google/go-cmp@v0.2.0 (29/104) Wrote github.com/google/gofuzz@v1.0.0 (30/104) Wrote github.com/google/shlex@master Removing intermediate container 6f3a3e5492fd ---> fd0d8f3ba17c Step 6/8 : ARG GOPROXY ---> Running in aee75cbdd920 Removing intermediate container aee75cbdd920 ---> a91a3fea814f Step 7/8 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in 340496993c65 (31/104) Wrote github.com/gorilla/mux@v1.7.1 (32/104) Wrote github.com/grpc-ecosystem/grpc-opentracing@master (33/104) Wrote cloud.google.com/go@v0.37.4 ./scripts/build/osx Building build/docker-darwin-amd64 (34/104) Wrote github.com/hashicorp/go-version@v1.1.0 (35/104) Wrote github.com/hashicorp/golang-lru@v0.5.1 (36/104) Wrote github.com/globalsign/mgo@master (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/googleapis/gnostic@v0.2.0 (42/104) Wrote github.com/mattn/go-shellwords@v1.0.5 (43/104) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2 (44/104) Wrote github.com/docker/compose-on-kubernetes@v0.4.21 (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/mitchellh/mapstructure@v1.1.2 (48/104) Wrote github.com/miekg/pkcs11@master (49/104) Wrote github.com/modern-go/concurrent@1.0.3 (50/104) Wrote github.com/modern-go/reflect2@1.0.1 (51/104) Wrote github.com/morikuni/aec@master (52/104) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1 (53/104) Wrote github.com/oklog/ulid@v1.3.1 (54/104) Wrote github.com/golang/protobuf@v1.3.1 (55/104) Wrote github.com/opencontainers/image-spec@v1.0.1 (56/104) Wrote github.com/opentracing/opentracing-go@v1.1.0 (57/104) Wrote github.com/pkg/errors@v0.8.1 (58/104) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 (59/104) Wrote github.com/prometheus/client_model@master (60/104) Wrote github.com/prometheus/client_golang@v0.8.0 (61/104) Wrote github.com/coreos/etcd@v3.3.12 (62/104) Wrote github.com/qri-io/jsonschema@v0.1.1 (63/104) Wrote github.com/prometheus/procfs@master (64/104) Wrote github.com/prometheus/common@v0.2.0 (65/104) Wrote github.com/qri-io/jsonpointer@v0.1.0 (66/104) Wrote github.com/spf13/cobra@v0.0.5 (67/104) Wrote github.com/sirupsen/logrus@v1.4.1 (68/104) Wrote github.com/spf13/pflag@master (69/104) Wrote github.com/syndtr/gocapability@master (70/104) Wrote github.com/tonistiigi/units@master (71/104) Wrote github.com/opencontainers/runc@v1.0.0-rc7 (72/104) Wrote github.com/wadey/gocovmerge@master (73/104) Wrote github.com/xeipuuv/gojsonpointer@master (74/104) Wrote github.com/xeipuuv/gojsonreference@master (75/104) Wrote github.com/tonistiigi/fsutil@master (76/104) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d (77/104) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc (78/104) Wrote github.com/containerd/containerd@master (79/104) Wrote github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98 (80/104) Wrote github.com/moby/buildkit@v0.6.2 (81/104) Wrote golang.org/x/oauth2@master (82/104) Wrote golang.org/x/sync@master (83/104) Wrote golang.org/x/crypto@master (84/104) Wrote golang.org/x/time@master (85/104) Wrote golang.org/x/net@master (86/104) Wrote google.golang.org/appengine@v1.5.0 (87/104) Wrote gopkg.in/inf.v0@v0.9.1 Running on ubuntu-1804-overlay2 (i-0da343938dd48fce1) in /home/ubuntu/workspace/app_PR-655 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app [Pipeline] { [Pipeline] checkout (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 using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/655/head:refs/remotes/origin/PR-655 (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 Fetching without tags Checking out Revision 14763249b476ae761dde4da59565c9a48497ddfa (PR-655) (96/104) Wrote github.com/theupdateframework/notary@v0.6.1 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/655/head:refs/remotes/origin/PR-655 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/655/head:refs/remotes/origin/PR-655 > git config core.sparsecheckout # timeout=10 > git checkout -f 14763249b476ae761dde4da59565c9a48497ddfa (97/104) Wrote golang.org/x/text@v0.3.0 Commit message: "nit" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=invocation -t docker/cnab-app-base:jenkins-app-PR-655-35 . (98/104) Wrote golang.org/x/tools@master (99/104) Wrote k8s.io/client-go@kubernetes-1.14.1 (100/104) Wrote google.golang.org/genproto@master (101/104) Wrote github.com/gogo/protobuf@v1.2.1 Sending build context to Docker daemon 75.51MB Step 1/14 : ARG ALPINE_VERSION=3.10.1 Step 2/14 : 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 4b5cacb629f5: Verifying Checksum 4b5cacb629f5: Download complete 14408c8d4f9a: Verifying Checksum 14408c8d4f9a: Download complete 4a56a430b2ba: Verifying Checksum 4a56a430b2ba: Download complete ea67eaa7dd42: Verifying Checksum ea67eaa7dd42: Download complete ecd7d9a67e26: Verifying Checksum ecd7d9a67e26: Download complete a2a2197e145e: Verifying Checksum a2a2197e145e: Download complete 36ac8c11a11f: Verifying Checksum 36ac8c11a11f: Download complete 4a56a430b2ba: Pull complete 4b5cacb629f5: Pull complete 14408c8d4f9a: Pull complete ea67eaa7dd42: Pull complete (102/104) Wrote k8s.io/api@kubernetes-1.14.1 (103/104) Wrote github.com/docker/docker@master a2a2197e145e: Pull complete 36ac8c11a11f: Pull complete ecd7d9a67e26: Pull complete Digest: sha256:90d554b5ae59cb63d2bf42bdfcd60aa1feb4794d9e3a9cbb9d2deb477c088be0 Status: Downloaded newer image for golang:1.13.0 ---> c4d6fdf2260a Step 3/14 : RUN apt-get update -qq && apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 487edcb0bdcd 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 9 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 (213 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 487edcb0bdcd ---> fb3094004700 Step 4/14 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 57de43c35e4b Removing intermediate container 57de43c35e4b ---> dd30a9c4030a Step 5/14 : COPY . . ---> 6d72c17c2157 Step 6/14 : ARG EXPERIMENTAL="off" ---> Running in a94ac2a27b71 Removing intermediate container a94ac2a27b71 ---> 028672a73889 Step 7/14 : ARG TAG="unknown" ---> Running in dc0af8a77454 Removing intermediate container dc0af8a77454 ---> 95268622e5df Step 8/14 : RUN make EXPERIMENTAL=${EXPERIMENTAL} BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run ---> Running in 7ca20367bafe CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=14763249 -X github.com/docker/app/internal.Version=jenkins-app-PR-655-35 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T12:38:58Z" -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 7ca20367bafe ---> e2ff5a0088b6 Step 9/14 : 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 10/14 : RUN apk add --no-cache ca-certificates && adduser -S cnab ---> Running in 679e8a2cee36 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 679e8a2cee36 ---> fc769e364cab Step 11/14 : USER cnab ---> Running in 768573ddfb8c Removing intermediate container 768573ddfb8c ---> 685bc09385bf Step 12/14 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run ---> 693e5a3ca46e Step 13/14 : WORKDIR /cnab/app ---> Running in 3cd4d38ea774 Removing intermediate container 3cd4d38ea774 ---> 636e2362f28a Step 14/14 : CMD /cnab/app/run ---> Running in 08b88167dabf Removing intermediate container 08b88167dabf ---> 8c19b350149d [Warning] One or more build-args [COMMIT GOPROXY] were not consumed Successfully built 8c19b350149d Successfully tagged docker/cnab-app-base:jenkins-app-PR-655-35 docker save docker/cnab-app-base:jenkins-app-PR-655-35 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-655-35-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-655-35 docker/cnab-app-base:jenkins-app-PR-655-35-coverage docker save docker/cnab-app-base:jenkins-app-PR-655-35-coverage -o _build/coverage-invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-655-35-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-655-35 docker/cnab-app-base:jenkins-app-PR-655-35-coverage-experimental docker save docker/cnab-app-base:jenkins-app-PR-655-35-coverage-experimental -o _build/coverage-experimental-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/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-655/35/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-655/35/stashes/coverage-invocation-image.tgz [Pipeline] stash Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/35/stashes/coverage-experimental-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-655-35 Untagged: docker/cnab-app-base:jenkins-app-PR-655-35 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-655-35-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-655-35-coverage [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-655-35-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-655-35-coverage-experimental Deleted: sha256:8c19b350149dd847553c92f1195e810839801acb715ef2588f14969319776582 Deleted: sha256:636e2362f28ad504dfb9c5975e2488445af038ff927197b804a2e1fe7b3b5a65 Deleted: sha256:693e5a3ca46e2b56ca25f0be3ba654e78826d7742a1aa3cdc6e24dd2c75345a2 Deleted: sha256:42e757ced065830874efdd625228da04a0603018d68d7fe662e0528b07020e53 Deleted: sha256:685bc09385bf32a9c65f3538daba3cbe83b554c5dd3b6fe8d6044dc6de5d01fa Deleted: sha256:fc769e364cabfabe01d8ec699420ea2ccfbf40ecd2a521ab9ced9b3d0c8c94c2 Deleted: sha256:969a3f92699ade75d7c13d18cd06fd2695cb56a0e842114eefb336abc777a898 [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Removing intermediate container 340496993c65 ---> e6ec2fd4b3b9 Step 8/8 : WORKDIR /go/src/github.com/docker/app/ ---> Running in c1d103ab23ab Removing intermediate container c1d103ab23ab ---> 71a0e76e639d [Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed Successfully built 71a0e76e639d Successfully tagged docker-app-cli:jenkins-app-PR-655-35 docker create --name docker-app-cli-jenkins-app-PR-655-35 docker-app-cli:jenkins-app-PR-655-35 noop dfc029470f4915bc21d01b706e8a288a191e2c02932090e13ef230349524d86a docker cp docker-app-cli-jenkins-app-PR-655-35:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux docker cp docker-app-cli-jenkins-app-PR-655-35:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin docker cp docker-app-cli-jenkins-app-PR-655-35:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe docker rm docker-app-cli-jenkins-app-PR-655-35 docker-app-cli-jenkins-app-PR-655-35 docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=cross -t docker-app-cross:jenkins-app-PR-655-35 . Sending build context to Docker daemon 75.51MB Step 1/22 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/22 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> ead4822bc46a Step 3/22 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 24064c8aaed7 Step 4/22 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 074b22630c41 Step 5/22 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> fd0d8f3ba17c Step 6/22 : ARG GOPROXY ---> Using cache ---> a91a3fea814f Step 7/22 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> e6ec2fd4b3b9 Step 8/22 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 71a0e76e639d Step 9/22 : FROM build AS dev ---> 71a0e76e639d Step 10/22 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in d929aeb74a84 Removing intermediate container d929aeb74a84 ---> 5f4e9ba282a0 Step 11/22 : ARG DEP_VERSION=v0.5.4 ---> Running in 1fa7efdb4bc7 Removing intermediate container 1fa7efdb4bc7 ---> 50a17dab0bc7 Step 12/22 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep ---> Running in 96d99548c936  % 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 6302 0 --:--:-- --:--:-- --:--:-- 6302  0 10.5M 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10.5M 100 10.5M 0 0 49.6M 0 --:--:-- --:--:-- --:--:-- 120M Removing intermediate container 96d99548c936 ---> 14f152982f92 Step 13/22 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in bccb33141901 Removing intermediate container bccb33141901 ---> 52c45a42baff Step 14/22 : ARG GOPROXY ---> Running in a5faff3781b5 Removing intermediate container a5faff3781b5 ---> 9345bfb0fd52 Step 15/22 : RUN mkdir $GOPATH/src/gotest.tools && git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum && cd $GOPATH/src/gotest.tools/gotestsum && git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION && GO111MODULE=on GOOS=linux go build -o /usr/local/bin/gotestsum-linux gotest.tools/gotestsum && GO111MODULE=on GOOS=darwin go build -o /usr/local/bin/gotestsum-darwin gotest.tools/gotestsum && GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum && ln -s gotestsum-linux /usr/local/bin/gotestsum ---> Running in acf293bfc81f go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/onsi/gomega v1.4.3 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/pkg/errors v0.8.0 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding github.com/stretchr/testify v1.3.0 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/fatih/color v1.6.0 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding gotest.tools v2.1.0+incompatible go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding golang.org/x/text v0.3.0 go: finding github.com/hpcloud/tail v1.0.0 go: finding github.com/onsi/ginkgo v1.6.0 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding github.com/stretchr/objx v0.1.0 go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding github.com/davecgh/go-spew v1.1.0 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/golang/protobuf v1.2.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 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: extracting 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/sirupsen/logrus v1.0.5 go: extracting github.com/spf13/pflag v1.0.1 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-colorable v0.0.9 go: extracting github.com/mattn/go-isatty v0.0.3 go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e Removing intermediate container acf293bfc81f ---> a509ba87b519 Step 16/22 : RUN GOOS=linux go build -o /usr/local/bin/test2json-linux cmd/test2json && GOOS=darwin go build -o /usr/local/bin/test2json-darwin cmd/test2json && GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json ---> Running in dc34c6c6d43a Removing intermediate container dc34c6c6d43a ---> fdac4d6fc233 Step 17/22 : RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.com/mjibson/esc && go build -v -o /usr/bin/esc . && rm -rf /go/src/* /go/pkg/* /go/bin/* ---> Running in 34ebcf2f457b golang.org/x/tools/internal/semver github.com/pkg/errors golang.org/x/tools/go/ast/astutil golang.org/x/tools/go/internal/gcimporter golang.org/x/tools/go/internal/packagesdriver golang.org/x/tools/internal/fastwalk golang.org/x/tools/internal/gopathwalk golang.org/x/tools/internal/module golang.org/x/tools/go/gcexportdata golang.org/x/tools/go/packages golang.org/x/tools/internal/imports golang.org/x/tools/imports github.com/mjibson/esc/embed github.com/mjibson/esc Removing intermediate container 34ebcf2f457b ---> c81d29f50d35 Step 18/22 : COPY . . ---> f5f0a8e99b1f Step 19/22 : FROM dev AS cross ---> f5f0a8e99b1f Step 20/22 : ARG EXPERIMENTAL="off" ---> Running in 6f874535fc82 Removing intermediate container 6f874535fc82 ---> 1500e22cf770 Step 21/22 : ARG TAG="unknown" ---> Running in 7c54dfb51f21 Removing intermediate container 7c54dfb51f21 ---> e9e352b86321 Step 22/22 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Running in 4294bf2f1c52 GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=14763249 -X github.com/docker/app/internal.Version=jenkins-app-PR-655-35 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T12:42:09Z" -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=14763249 -X github.com/docker/app/internal.Version=jenkins-app-PR-655-35 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T12:42:09Z" -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=14763249 -X github.com/docker/app/internal.Version=jenkins-app-PR-655-35 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T12:42:09Z" -o bin/docker-app-windows.exe ./cmd/docker-app GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=14763249 -X github.com/docker/app/internal.Version=jenkins-app-PR-655-35 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T12:42:09Z" -o bin/docker-app-standalone-linux ./cmd/docker-app-standalone GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=14763249 -X github.com/docker/app/internal.Version=jenkins-app-PR-655-35 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T12:42:09Z" -o bin/docker-app-standalone-darwin ./cmd/docker-app-standalone GOOS=windows CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=14763249 -X github.com/docker/app/internal.Version=jenkins-app-PR-655-35 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T12:42:09Z" -o bin/docker-app-standalone-windows.exe ./cmd/docker-app-standalone Removing intermediate container 4294bf2f1c52 ---> b0d0365c2e22 [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built b0d0365c2e22 Successfully tagged docker-app-cross:jenkins-app-PR-655-35 docker create --name docker-app-cross-jenkins-app-PR-655-35 docker-app-cross:jenkins-app-PR-655-35 noop 3cd8638b4418b6ba58483c6607b8f1686174a884a08909fb08a231653838ec76 docker cp docker-app-cross-jenkins-app-PR-655-35:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux docker cp docker-app-cross-jenkins-app-PR-655-35:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin docker cp docker-app-cross-jenkins-app-PR-655-35:/go/src/github.com/docker/app/bin/docker-app-windows.exe bin/docker-app-windows.exe docker cp docker-app-cross-jenkins-app-PR-655-35:/go/src/github.com/docker/app/bin/docker-app-standalone-linux bin/docker-app-standalone-linux docker cp docker-app-cross-jenkins-app-PR-655-35:/go/src/github.com/docker/app/bin/docker-app-standalone-darwin bin/docker-app-standalone-darwin docker cp docker-app-cross-jenkins-app-PR-655-35:/go/src/github.com/docker/app/bin/docker-app-standalone-windows.exe bin/docker-app-standalone-windows.exe docker rm docker-app-cross-jenkins-app-PR-655-35 docker-app-cross-jenkins-app-PR-655-35 docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-655-35 . Sending build context to Docker daemon 75.51MB Step 1/26 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/26 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> ead4822bc46a Step 3/26 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 24064c8aaed7 Step 4/26 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 074b22630c41 Step 5/26 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> fd0d8f3ba17c Step 6/26 : ARG GOPROXY ---> Using cache ---> a91a3fea814f Step 7/26 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> e6ec2fd4b3b9 Step 8/26 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 71a0e76e639d Step 9/26 : FROM build AS dev ---> 71a0e76e639d Step 10/26 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 5f4e9ba282a0 Step 11/26 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> 50a17dab0bc7 Step 12/26 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep ---> Using cache ---> 14f152982f92 Step 13/26 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 52c45a42baff Step 14/26 : ARG GOPROXY ---> Using cache ---> 9345bfb0fd52 Step 15/26 : RUN mkdir $GOPATH/src/gotest.tools && git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum && cd $GOPATH/src/gotest.tools/gotestsum && git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION && GO111MODULE=on GOOS=linux go build -o /usr/local/bin/gotestsum-linux gotest.tools/gotestsum && GO111MODULE=on GOOS=darwin go build -o /usr/local/bin/gotestsum-darwin gotest.tools/gotestsum && GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum && ln -s gotestsum-linux /usr/local/bin/gotestsum ---> Using cache ---> a509ba87b519 Step 16/26 : RUN GOOS=linux go build -o /usr/local/bin/test2json-linux cmd/test2json && GOOS=darwin go build -o /usr/local/bin/test2json-darwin cmd/test2json && GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json ---> Using cache ---> fdac4d6fc233 Step 17/26 : RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.com/mjibson/esc && go build -v -o /usr/bin/esc . && rm -rf /go/src/* /go/pkg/* /go/bin/* ---> Using cache ---> c81d29f50d35 Step 18/26 : COPY . . ---> Using cache ---> f5f0a8e99b1f Step 19/26 : FROM dev AS cross ---> f5f0a8e99b1f Step 20/26 : ARG EXPERIMENTAL="off" ---> Using cache ---> 1500e22cf770 Step 21/26 : ARG TAG="unknown" ---> Using cache ---> e9e352b86321 Step 22/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Using cache ---> b0d0365c2e22 Step 23/26 : FROM cross AS e2e-cross ---> b0d0365c2e22 Step 24/26 : ARG EXPERIMENTAL="off" ---> Running in 7f1cba12f67f Removing intermediate container 7f1cba12f67f ---> 2c891d84e91d Step 25/26 : ARG TAG="unknown" ---> Running in 74e66f249418 Removing intermediate container 74e66f249418 ---> 9e1f0c5300f8 Step 26/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} e2e-cross ---> Running in 3948f1506144 GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=14763249 -X github.com/docker/app/internal.Version=jenkins-app-PR-655-35 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T12:45:14Z" -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=14763249 -X github.com/docker/app/internal.Version=jenkins-app-PR-655-35 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T12:45:14Z" -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=14763249 -X github.com/docker/app/internal.Version=jenkins-app-PR-655-35 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T12:45:14Z" -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=14763249 -X github.com/docker/app/internal.Version=jenkins-app-PR-655-35 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T12:45:14Z" -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=14763249 -X github.com/docker/app/internal.Version=jenkins-app-PR-655-35 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T12:45:14Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ Removing intermediate container 3948f1506144 ---> 62ce98cec59c [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 62ce98cec59c Successfully tagged docker-app-e2e-cross:jenkins-app-PR-655-35 docker create --name docker-app-e2e-cross-jenkins-app-PR-655-35 docker-app-e2e-cross:jenkins-app-PR-655-35 noop b9465dc1d1c63b837015723a9627d49c6447687a1183a2bcc3d81855e45b17db docker cp docker-app-e2e-cross-jenkins-app-PR-655-35:/go/src/github.com/docker/app/bin/docker-app-e2e-linux bin/docker-app-e2e-linux docker cp docker-app-e2e-cross-jenkins-app-PR-655-35:/go/src/github.com/docker/app/bin/docker-app-e2e-darwin bin/docker-app-e2e-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-655-35:/go/src/github.com/docker/app/bin/docker-app-e2e-windows.exe bin/docker-app-e2e-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-655-35:/usr/local/bin/gotestsum-linux bin/gotestsum-linux docker cp docker-app-e2e-cross-jenkins-app-PR-655-35:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-655-35:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-655-35:/usr/local/bin/test2json-linux bin/test2json-linux docker cp docker-app-e2e-cross-jenkins-app-PR-655-35:/usr/local/bin/test2json-darwin bin/test2json-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-655-35:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe docker rm docker-app-e2e-cross-jenkins-app-PR-655-35 docker-app-e2e-cross-jenkins-app-PR-655-35 tar --transform='flags=r;s|docker-app-linux|docker-app-plugin-linux|' -czf bin/docker-app-linux.tar.gz -C bin docker-app-linux docker-app-standalone-linux tar czf bin/docker-app-e2e-linux.tar.gz -C bin docker-app-e2e-linux tar --transform='flags=r;s|docker-app-darwin|docker-app-plugin-darwin|' -czf bin/docker-app-darwin.tar.gz -C bin docker-app-darwin docker-app-standalone-darwin tar czf bin/docker-app-e2e-darwin.tar.gz -C bin docker-app-e2e-darwin tar --transform='flags=r;s|docker-app-windows|docker-app-plugin-windows|' -czf bin/docker-app-windows.tar.gz -C bin docker-app-windows.exe docker-app-standalone-windows.exe tar czf bin/docker-app-e2e-windows.tar.gz -C bin docker-app-e2e-windows.exe [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/bin [Pipeline] { [Pipeline] stash Stashed 24 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/35/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] stash Stashed 65 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/35/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/examples [Pipeline] { [Pipeline] stash Stashed 29 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/35/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-655-35* + xargs docker image rm -f Untagged: docker-app-e2e-cross:jenkins-app-PR-655-35 Deleted: sha256:62ce98cec59c1947a361cb97531e25f4bb55093888096a0993935a34eeac3ec5 Deleted: sha256:b8ee05611321935af2cae0f5adc72494ca614da8d5a28951b62fb5e8a5adf9a6 Deleted: sha256:9e1f0c5300f819b57dd2dfb90efe1cea73642c863d4a93b1d287b2891125a385 Deleted: sha256:2c891d84e91d3010ad7488101cbef3c6fbe0d7ba44afe29f48e7379a76aa2da3 Untagged: docker-app-cross:jenkins-app-PR-655-35 Deleted: sha256:b0d0365c2e228968f4eaef3a964a823989d4de8a796279a2a886be966b4b5f41 Deleted: sha256:646ce46ecb41ef0d161304c525a9fb505bee0a0c1bbabedb9ad09c22cf27f6f3 Deleted: sha256:e9e352b86321b965803ba6c598c644084adf7293d668cda3d32f9682333f8cce Deleted: sha256:1500e22cf770e6d30eaf0755aa14a599cb14307cd10af64c3230de2cb9f64a7f Deleted: sha256:f5f0a8e99b1f980b4d7431e3bf90915afd3de3e5329bdae1e2bd42685f36c92f Deleted: sha256:b182beb0b888e95a6c4eaf35a949f1201f939a18ed346b024f2b75642120d6b3 Deleted: sha256:c81d29f50d3572102305d4da5944c31ca48c34ab9a32a70f3a9474ea56fc430a Deleted: sha256:6008f28f5de757b74049141579fd3501b68005165927ae96f1a5e89435a1bb28 Deleted: sha256:fdac4d6fc233cbed8f59dbd71ab28ce08bee3e903810438bf03e508f49f2d048 Deleted: sha256:e673a1cf122d018f4c574ba7a2d045880d035545ee7a8be1966ec94c93c8e348 Deleted: sha256:a509ba87b519acabb9a1d7a0744436b690dc6ceb48f67f1985c9ff834edc951f Deleted: sha256:e48d4a66fa69d3657ada5dc0aff6a430c9cd75d2a544a219f6ba9108da5c74c2 Deleted: sha256:9345bfb0fd528bdbc4bb4d4a62f08b8d11885df418786140fc65e8c3510adf1d Deleted: sha256:52c45a42baffd16d7fe7b129a9bd8798e303a82c9e8c2061d2b63df6c9c55691 Deleted: sha256:14f152982f9254fcd5aa50f0fc08d7cab2c3341d8ade3aa1d7df6129854fd768 Deleted: sha256:6a7a1a3d02635ba00c14f2cdbaf7cfcd07e3f2a8917cba39e6a52e2fa82a720e Deleted: sha256:50a17dab0bc70391f0575125dad05bb6c0073d182d0b3a50c651ad043c86502c Deleted: sha256:5f4e9ba282a039567e3c5c6c75432f796e5aa767924963204f694dd5fd987e54 Untagged: docker-app-cli:jenkins-app-PR-655-35 Deleted: sha256:71a0e76e639d1181bc53315b7bdb670e3f1a8a4552f0300bdb55326abbac95b7 Deleted: sha256:6c4305e231d476195e70c54d6df3e602f8cc1f70b7c909ce86559333fa3a8e92 Deleted: sha256:e6ec2fd4b3b95a898991c6d36ec4b86fbcade7b345fb5b9d707fae6ba5de9864 Deleted: sha256:b8aacf3a149a4891f5bc9db55cc643efdf1fbf95ff4a69dc38356fcfc0b4a8d4 Deleted: sha256:a91a3fea814fefec9d8d04bb944ebfd21c11d36ce5480750acbf1c082c2b4961 Deleted: sha256:fd0d8f3ba17c9fe30efa1b4986133daace3abb6aa6e2226eaad30840274998d8 Deleted: sha256:1f83850611d1810746934f74a366d05a86e82c83786c1b9133a7c6e9aff0562e Deleted: sha256:074b22630c41cd168b6fb9c20b37367d0da4098390f6b2133af769c6aa03fc2a Deleted: sha256:20cb15020e784bf55e044f5960487878e2d173790a2d6008e2d6432ec975eb5a Deleted: sha256:24064c8aaed7dca9c679578b5d4f454cb2603698aac4f19e7426c4b48c98bda6 Deleted: sha256:0f441fc3d663f3271b2292c35934082b7ccd7d4523aa07854ade8546dfd52fd9 Deleted: sha256:ead4822bc46a70191745a6067f37ef17aa65175f1afeecea2b2c6698352a5b9e [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] parallel [Pipeline] { (Branch: Coverage) [Pipeline] { (Branch: Coverage (experimental)) [Pipeline] { (Branch: Test Linux) [Pipeline] stage [Pipeline] { (Coverage) [Pipeline] stage [Pipeline] { (Coverage (experimental)) [Pipeline] stage [Pipeline] { (Test Linux) [Pipeline] node [Pipeline] node [Pipeline] node Running on ubuntu-1804-overlay2 (i-0bcdbe30dd41f253d) in /home/ubuntu/workspace/app_PR-655 Running on ubuntu-1804-overlay2 (i-05e90ee68da783df4) in /home/ubuntu/workspace/app_PR-655 [Pipeline] { [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/655/head:refs/remotes/origin/PR-655 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/655/head:refs/remotes/origin/PR-655 Fetching without tags Checking out Revision 14763249b476ae761dde4da59565c9a48497ddfa (PR-655) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/655/head:refs/remotes/origin/PR-655 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/655/head:refs/remotes/origin/PR-655 > git config core.sparsecheckout # timeout=10 > git checkout -f 14763249b476ae761dde4da59565c9a48497ddfa Commit message: "nit" Fetching without tags Checking out Revision 14763249b476ae761dde4da59565c9a48497ddfa (PR-655) [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/_build [Pipeline] { Commit message: "nit" [Pipeline] unstash > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/655/head:refs/remotes/origin/PR-655 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/655/head:refs/remotes/origin/PR-655 > git config core.sparsecheckout # timeout=10 > git checkout -f 14763249b476ae761dde4da59565c9a48497ddfa Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/35/stashes/coverage-experimental-invocation-image.tgz [Pipeline] sh + docker load -i coverage-experimental-invocation-image.tar Loaded image: docker/cnab-app-base:jenkins-app-PR-655-35-coverage-experimental [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash + make EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- -f docker.Makefile TAG=jenkins-app-PR-655-35-coverage-experimental coverage-run docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=dev -t docker-app-dev:jenkins-app-PR-655-35 . Sending build context to Docker daemon 75.51MB Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/35/stashes/coverage-invocation-image.tgz [Pipeline] sh + docker load -i coverage-invocation-image.tar ---> Running in d6b817a9db67 Removing intermediate container d6b817a9db67 ---> 00ce463e7ef4 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 35a0f5dfcecf Loaded image: docker/cnab-app-base:jenkins-app-PR-655-35-coverage [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile TAG=jenkins-app-PR-655-35-coverage coverage-run docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=dev -t docker-app-dev:jenkins-app-PR-655-35 . 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 Sending build context to Docker daemon 75.51MB Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 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 35a0f5dfcecf ---> 67d58ee34d49 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Running in acfd44eea456 Removing intermediate container acfd44eea456 ---> b9c36b5d6ce3 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in 46bde1883de3 ---> Running in 538e848a45b9 Removing intermediate container 538e848a45b9 ---> bcdb8210e5b2 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in cca68befc60b Cloning into '.'... 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 (362 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 cca68befc60b ---> 76e299c9a0a4 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Running in 6a02aaa4a76c Removing intermediate container 6a02aaa4a76c ---> b0b16344aa82 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in c7e72143abe3 Still waiting to schedule task Waiting for next available executor on ‘ubuntu-1804&&x86_64&&overlay2’ 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 Cloning into '.'... Removing intermediate container 46bde1883de3 ---> fa3130976159 Step 6/18 : ARG GOPROXY ---> Running in 56490480815d Removing intermediate container 56490480815d ---> 3d66b7a357cb Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in 83c130b16b2d Running on ubuntu-1804-overlay2 (i-0996cb03b8856827e) in /home/ubuntu/workspace/app_PR-655 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app [Pipeline] { [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags ./scripts/build/osx Building build/docker-darwin-amd64 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/655/head:refs/remotes/origin/PR-655 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 Fetching without tags Checking out Revision 14763249b476ae761dde4da59565c9a48497ddfa (PR-655) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/655/head:refs/remotes/origin/PR-655 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/655/head:refs/remotes/origin/PR-655 > git config core.sparsecheckout # timeout=10 > git checkout -f 14763249b476ae761dde4da59565c9a48497ddfa Commit message: "nit" [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/35/stashes/invocation-image.tgz [Pipeline] sh Removing intermediate container c7e72143abe3 ---> fe1d79ff4813 Step 6/18 : ARG GOPROXY + docker load -i invocation-image.tar ---> Running in 6d17004eef01 Removing intermediate container 6d17004eef01 ---> b09c38d5f93a Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in ae30d272d132 Loaded image: docker/cnab-app-base:jenkins-app-PR-655-35 [Pipeline] } [Pipeline] // dir [Pipeline] unstash ./scripts/build/osx Building build/docker-darwin-amd64 Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/35/stashes/binaries.tgz [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/examples [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/35/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/35/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + ./gotestsum-linux --format short-verbose --junitfile e2e-linux.xml --raw-command -- ./test2json-linux -t -p e2e/linux ./docker-app-e2e-linux -test.v --e2e-path=e2e PASS e2e/linux.TestBuild (13.54s) PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (3.02s) PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (2.96s) PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (2.93s) PASS e2e/linux.TestCallCustomStatusAction (8.91s) PASS e2e/linux.TestCnabParameters (3.02s) PASS e2e/linux.TestExitErrorCode (0.06s) PASS e2e/linux.TestRender/envvariables/stdout (1.74s) PASS e2e/linux.TestRender/envvariables/file (1.58s) PASS e2e/linux.TestRender/envvariables (3.32s) PASS e2e/linux.TestRender (3.32s) PASS e2e/linux.TestRenderFormatters (19.75s) PASS e2e/linux.TestInit (0.14s) PASS e2e/linux.TestDetectApp (4.91s) ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 PASS e2e/linux.TestDockerAppLifecycle/withBindMounts (20.25s) PASS e2e/linux.TestDockerAppLifecycle/withoutBindMounts (20.40s) PASS e2e/linux.TestDockerAppLifecycle (40.65s) PASS e2e/linux.TestCredentials/missing (0.08s) PASS e2e/linux.TestCredentials/full (1.40s) PASS e2e/linux.TestCredentials/mixed-credstore (1.43s) PASS e2e/linux.TestCredentials/mixed-local-cred (1.42s) PASS e2e/linux.TestCredentials/overload (0.06s) PASS e2e/linux.TestCredentials (4.39s) PASS e2e/linux.TestRenderWithEnvFile (1.73s) PASS e2e/linux.TestExamplesAreValid (0.12s) PASS e2e/linux.TestImageList (13.53s) PASS e2e/linux.TestImageRm (13.79s) PASS e2e/linux.TestImageTag (14.42s) PASS e2e/linux.TestInvokePluginFromCLI (3.39s) WARNING: binary creates a Linux executable. Use cross for macOS or Windows. ./scripts/build/binary Building statically linked build/docker-linux-amd64 WARNING: binary creates a Linux executable. Use cross for macOS or Windows. ./scripts/build/binary Building statically linked build/docker-linux-amd64 PASS e2e/linux.TestPushArchs/default (3.30s) PASS e2e/linux.TestPushArchs/all-platforms (1.07s) PASS e2e/linux.TestPushArchs (16.52s) PASS e2e/linux.TestPushInsecureRegistry (22.91s) PASS e2e/linux.TestPushInstall (21.84s) PASS e2e/linux.TestPushPullInstall (17.04s) Removing intermediate container 83c130b16b2d ---> dcde811fe4e2 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 0cc9fa9f22d9 Removing intermediate container 0cc9fa9f22d9 ---> 8219d52b3e6f Step 9/18 : FROM build AS dev ---> 8219d52b3e6f Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in 0871a1357bff Removing intermediate container 0871a1357bff ---> 7e046ae54e9c Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Running in 8020e3487c2a Removing intermediate container 8020e3487c2a ---> e574bf677657 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 58525ba21962  % 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 6302 0 --:--:-- --:--:-- --:--:-- 6302  100 10.5M 100 10.5M 0  0 49.3M 0 --:--:-- --:--:-- --:--:-- 49.3M Removing intermediate container 58525ba21962 ---> 2b627203f6b4 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in b1afdb70475e Removing intermediate container b1afdb70475e ---> ddf792bb36e4 Step 14/18 : ARG GOPROXY ---> Running in c6d7afc89c3d Removing intermediate container c6d7afc89c3d ---> 2c143d9e2d38 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 de796be5011c go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/fatih/color v1.6.0 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/mattn/go-colorable v0.0.9 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/mattn/go-isatty v0.0.3 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding github.com/stretchr/testify v1.3.0 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding github.com/hpcloud/tail v1.0.0 go: finding gotest.tools v2.1.0+incompatible go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding golang.org/x/text v0.3.0 go: finding github.com/stretchr/objx v0.1.0 go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding github.com/onsi/ginkgo v1.6.0 go: finding github.com/davecgh/go-spew v1.1.0 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding github.com/golang/protobuf v1.2.0 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding 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/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: downloading github.com/sirupsen/logrus v1.0.5 go: downloading github.com/jonboulle/clockwork v0.1.0 go: downloading 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/pkg/errors v0.8.0 go: extracting github.com/sirupsen/logrus v1.0.5 go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting github.com/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/sys v0.0.0-20180909124046-d0be0721c37e go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc Removing intermediate container ae30d272d132 ---> 44fbba368e5e Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 71385c342e32 Removing intermediate container 71385c342e32 ---> fd63af863d19 Step 9/18 : FROM build AS dev ---> fd63af863d19 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in 7156b6a7cc1e Removing intermediate container 7156b6a7cc1e ---> fca679c3c089 Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Running in ebff3289fa52 Removing intermediate container ebff3289fa52 ---> 5a3e74205eee 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 4ea2052e2e84  % 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 6875 0 --:--:-- --:--:-- --:--:-- 6875  60 10.5M 60 6577k 0 0 24.4M 0 --:--:-- --:--:-- --:--:-- 24.4M 100 10.5M 100 10.5M 0 0 36.1M 0 --:--:-- --:--:-- --:--:-- 142M Removing intermediate container 4ea2052e2e84 ---> b9db0444f291 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 9e6a2ca4a844 Removing intermediate container 9e6a2ca4a844 ---> c6bbf28ee2da Step 14/18 : ARG GOPROXY ---> Running in a72d72af32f1 Removing intermediate container a72d72af32f1 ---> c256e20e639e 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 d198ff3acb0d go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/fatih/color v1.6.0 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/pkg/errors v0.8.0 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 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/gomega v1.4.3 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/stretchr/testify v1.3.0 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding github.com/jonboulle/clockwork v0.1.0 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding github.com/stretchr/objx v0.1.0 go: finding github.com/davecgh/go-spew v1.1.0 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding golang.org/x/text v0.3.0 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding github.com/fsnotify/fsnotify v1.4.7 === RUN TestPushInstallBundle --- FAIL: TestPushInstallBundle (12.11s) pushpull_test.go:198: assertion failed: Command: /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/docker-linux app build -o /tmp/TestPushInstallBundle-596883973/bundle.json testdata/push-pull/push-pull.dockerapp a-simple-app ExitCode: 125 Error: exit status 125 Stdout: Stderr: unknown shorthand flag: 'o' in -o See 'docker app build --help'. Failures: ExitCode was 125 expected 0 Expected no error FAIL e2e/linux.TestPushInstallBundle (12.11s) FAIL e2e/linux === Failed === FAIL: e2e/linux TestPushInstallBundle (12.11s) pushpull_test.go:198: assertion failed: Command: /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/docker-linux app build -o /tmp/TestPushInstallBundle-596883973/bundle.json testdata/push-pull/push-pull.dockerapp a-simple-app ExitCode: 125 Error: exit status 125 Stdout: Stderr: unknown shorthand flag: 'o' in -o See 'docker app build --help'. Failures: ExitCode was 125 expected 0 Expected no error DONE 36 tests, 1 failure in 236.150s time="2019-10-04T12:51:24Z" level=warning msg="failed to lookup go version for junit xml" error="exec: \"go\": executable file not found in $PATH" [Pipeline] } [Pipeline] // ansiColor go: finding github.com/onsi/ginkgo v1.6.0 go: finding github.com/hpcloud/tail v1.0.0 go: finding gopkg.in/yaml.v2 v2.2.1 [Pipeline] } [Pipeline] // dir Post stage [Pipeline] archiveArtifacts Archiving artifacts Uploaded 1 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/35/artifacts/ [Pipeline] junit Recording test results [Pipeline] sh go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e + docker rmi docker/cnab-app-base:jenkins-app-PR-655-35 Untagged: docker/cnab-app-base:jenkins-app-PR-655-35 [Pipeline] deleteDir go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding github.com/golang/protobuf v1.2.0 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Test Linux 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/fatih/color v1.6.0 go: downloading github.com/spf13/pflag v1.0.1 go: downloading github.com/pkg/errors v0.8.0 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading github.com/jonboulle/clockwork v0.1.0 go: downloading github.com/sirupsen/logrus v1.0.5 go: extracting github.com/jonboulle/clockwork v0.1.0 go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: extracting github.com/pkg/errors v0.8.0 go: extracting github.com/spf13/pflag v1.0.1 go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting github.com/sirupsen/logrus v1.0.5 go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting github.com/fatih/color v1.6.0 go: downloading github.com/mattn/go-colorable v0.0.9 go: downloading github.com/mattn/go-isatty v0.0.3 go: extracting github.com/mattn/go-colorable v0.0.9 go: extracting github.com/mattn/go-isatty v0.0.3 go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e Removing intermediate container de796be5011c ---> 3bc7926498e9 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 c1b1f1acb265 Removing intermediate container c1b1f1acb265 ---> 78a94c4951c4 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 0f7acb107c5a golang.org/x/tools/internal/semver github.com/pkg/errors golang.org/x/tools/go/ast/astutil golang.org/x/tools/go/internal/gcimporter golang.org/x/tools/go/internal/packagesdriver golang.org/x/tools/internal/fastwalk golang.org/x/tools/internal/gopathwalk golang.org/x/tools/internal/module golang.org/x/tools/go/gcexportdata golang.org/x/tools/go/packages golang.org/x/tools/internal/imports golang.org/x/tools/imports github.com/mjibson/esc/embed github.com/mjibson/esc Removing intermediate container d198ff3acb0d ---> 5f9168b2dd4d 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 bd2763d145ec Removing intermediate container 0f7acb107c5a ---> ece77052b0b8 Step 18/18 : COPY . . Removing intermediate container bd2763d145ec ---> 7457c071c731 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 35ff722a40c1 ---> f8864dde1e00 [Warning] One or more build-args [COMMIT EXPERIMENTAL TAG ALPINE_VERSION] were not consumed Successfully built f8864dde1e00 Successfully tagged docker-app-dev:jenkins-app-PR-655-35 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-655-35-coverage-experimental --network="host" -t docker-app-dev:jenkins-app-PR-655-35 make COMMIT=14763249 TAG=jenkins-app-PR-655-35-coverage-experimental EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- coverage Running unit tests (coverage)... CGO_ENABLED=0 gotestsum --junitfile _build/test-results/experimental-unit-coverage.xml -- -tags="experimental" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=14763249 -X github.com/docker/app/internal.Version=jenkins-app-PR-655-35-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-04T12:51:45Z" -cover -test.coverprofile=_build/cov/unit.out github.com/docker/app github.com/docker/app/cmd/cnab-run github.com/docker/app/cmd/docker-app github.com/docker/app/cmd/docker-app-standalone github.com/docker/app/internal github.com/docker/app/internal/commands github.com/docker/app/internal/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 ∅ . golang.org/x/tools/internal/semver github.com/pkg/errors golang.org/x/tools/go/ast/astutil golang.org/x/tools/go/internal/gcimporter golang.org/x/tools/go/internal/packagesdriver golang.org/x/tools/internal/fastwalk golang.org/x/tools/internal/gopathwalk golang.org/x/tools/internal/module golang.org/x/tools/go/gcexportdata golang.org/x/tools/go/packages golang.org/x/tools/internal/imports golang.org/x/tools/imports github.com/mjibson/esc/embed github.com/mjibson/esc Removing intermediate container 35ff722a40c1 ---> 18567652b9ef Step 18/18 : COPY . . ---> 38ea77d09ff9 [Warning] One or more build-args [TAG ALPINE_VERSION COMMIT EXPERIMENTAL] were not consumed Successfully built 38ea77d09ff9 Successfully tagged docker-app-dev:jenkins-app-PR-655-35 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-655-35-coverage --network="host" -t docker-app-dev:jenkins-app-PR-655-35 make COMMIT=14763249 TAG=jenkins-app-PR-655-35-coverage EXPERIMENTAL=off TEST_RESULTS_PREFIX= coverage Running unit tests (coverage)... CGO_ENABLED=0 gotestsum --junitfile _build/test-results/unit-coverage.xml -- -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=14763249 -X github.com/docker/app/internal.Version=jenkins-app-PR-655-35-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T12:51:56Z" -cover -test.coverprofile=_build/cov/unit.out github.com/docker/app github.com/docker/app/cmd/cnab-run github.com/docker/app/cmd/docker-app github.com/docker/app/cmd/docker-app-standalone github.com/docker/app/internal github.com/docker/app/internal/commands github.com/docker/app/internal/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 ∅ cmd/docker-app-standalone ✓ internal (3ms) ✓ internal/commands/build (17ms) ∅ cmd/cnab-run ✓ internal/commands (605ms) ✓ internal/commands/image (13ms) ✓ internal/formatter (4ms) ✓ internal/compose (6ms) ∅ internal/formatter/driver ∅ internal/formatter/json ∅ internal/formatter/yaml ✓ internal/inspect (66ms) ∅ internal/log (3ms) ✓ internal/slices (8ms) ∅ cmd/docker-app ∅ cmd/docker-app-standalone ✓ internal (6ms) ✓ internal/packager (28ms) ✓ internal/store (28ms) ✓ internal/yaml (17ms) ✓ loader (9ms) ✓ render (58ms) ✓ specification (10ms) ✓ types (20ms) ✓ internal/commands/build (16ms) ✓ types/metadata (6ms) ✓ types/parameters (5ms) DONE 219 tests in 102.047s CGO_ENABLED=0 go test -tags=""experimental" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=14763249 -X github.com/docker/app/internal.Version=jenkins-app-PR-655-35-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-04T12:51:45Z" -coverpkg="./..." -c -o _build/docker-app.cov ./cmd/docker-app ✓ internal/commands (459ms) ✓ internal/commands/image (13ms) ✓ internal/formatter (15ms) ✓ internal/compose (5ms) ∅ internal/formatter/driver ∅ internal/formatter/json ∅ internal/formatter/yaml ✓ internal/inspect (55ms) ∅ internal/log ✓ internal/slices (2ms) ✓ internal/packager (41ms) ✓ internal/store (31ms) Running e2e tests (coverage)... DOCKERAPP_BINARY=../e2e/coverage-bin CGO_ENABLED=0 gotestsum --junitfile _build/test-results/experimental-e2e-coverage.xml -- -tags="experimental" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=14763249 -X github.com/docker/app/internal.Version=jenkins-app-PR-655-35-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-04T12:51:45Z" -v ./e2e ✓ internal/yaml (7ms) ✓ loader (8ms) ✓ render (46ms) ✓ specification (8ms) ✓ types (20ms) ✓ types/metadata (7ms) ✓ types/parameters (4ms) DONE 219 tests in 101.928s CGO_ENABLED=0 go test -tags=""" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=14763249 -X github.com/docker/app/internal.Version=jenkins-app-PR-655-35-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T12:51:56Z" -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=14763249 -X github.com/docker/app/internal.Version=jenkins-app-PR-655-35-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T12:51:56Z" -v ./e2e ✖ e2e (4m0.749s) === Failed === FAIL: e2e TestPushInstallBundle (12.16s) pushpull_test.go:198: assertion failed: Command: docker app build -o /tmp/TestPushInstallBundle-809253476/bundle.json testdata/push-pull/push-pull.dockerapp a-simple-app ExitCode: 125 Error: exit status 125 Stdout: Stderr: unknown shorthand flag: 'o' in -o See 'docker app build --help'. Failures: ExitCode was 125 expected 0 Expected no error DONE 36 tests, 1 failure in 242.415s make: *** [Makefile:112: coverage-test-e2e] Error 1 docker.Makefile:106: recipe for target 'coverage-run' failed make: *** [coverage-run] Error 2 + true [Pipeline] sh + make -f docker.Makefile TAG=jenkins-app-PR-655-35-coverage coverage-results docker cp docker-app-cov-jenkins-app-PR-655-35-coverage:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov docker cp docker-app-cov-jenkins-app-PR-655-35-coverage:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results docker rm docker-app-cov-jenkins-app-PR-655-35-coverage docker-app-cov-jenkins-app-PR-655-35-coverage [Pipeline] } [Pipeline] // ansiColor [Pipeline] step Archiving artifacts ‘_build/ci-cov/all.out’ doesn’t match anything: ‘_build’ exists but not ‘_build/ci-cov/all.out’ [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/_build/test-results [Pipeline] { [Pipeline] sh + [ ! -e unit-coverage.xml ] + sed -i -E -e s,"github.com/docker/app","unit/basic",g; s,"github.com/docker/app/([^"]*)","unit/basic/\1",g unit-coverage.xml [Pipeline] sh + [ ! -e e2e-coverage.xml ] + sed -i -E -e s,"github.com/docker/app/e2e","e2e/basic",g e2e-coverage.xml [Pipeline] archiveArtifacts Archiving artifacts Uploaded 2 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/35/artifacts/ [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-655-35-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-655-35-coverage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Coverage ✖ e2e (4m10.388s) === Failed === FAIL: e2e TestPushInstallBundle (17.55s) pushpull_test.go:198: assertion failed: Command: docker app build -o /tmp/TestPushInstallBundle-638346170/bundle.json testdata/push-pull/push-pull.dockerapp a-simple-app ExitCode: 125 Error: exit status 125 Stdout: Stderr: unknown shorthand flag: 'o' in -o See 'docker app build --help'. Failures: ExitCode was 125 expected 0 Expected no error DONE 36 tests, 1 failure in 251.960s make: *** [Makefile:112: coverage-test-e2e] Error 1 docker.Makefile:106: recipe for target 'coverage-run' failed make: *** [coverage-run] Error 2 + true [Pipeline] sh + make EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- -f docker.Makefile TAG=jenkins-app-PR-655-35-coverage-experimental coverage-results docker cp docker-app-cov-jenkins-app-PR-655-35-coverage-experimental:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov docker cp docker-app-cov-jenkins-app-PR-655-35-coverage-experimental:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results docker rm docker-app-cov-jenkins-app-PR-655-35-coverage-experimental docker-app-cov-jenkins-app-PR-655-35-coverage-experimental [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-655/src/github.com/docker/app/_build/test-results [Pipeline] { [Pipeline] sh + [ ! -e experimental-unit-coverage.xml ] + sed -i -E -e s,"github.com/docker/app","unit/experimental",g; s,"github.com/docker/app/([^"]*)","unit/experimental/\1",g experimental-unit-coverage.xml [Pipeline] sh + [ ! -e experimental-e2e-coverage.xml ] + sed -i -E -e s,"github.com/docker/app/e2e","e2e/experimental",g experimental-e2e-coverage.xml [Pipeline] archiveArtifacts Archiving artifacts Uploaded 2 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-655/35/artifacts/ [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-655-35-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-655-35-coverage-experimental [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result ERROR: script returned exit code 1 Finished: FAILURE