Pull request #682 opened 08:08:47 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 29365eb6c4be7a877cff2089e2b66d0ec2e8ff3d Running in Durability level: PERFORMANCE_OPTIMIZED Loading library jps@master Examining docker/jps Attempting to resolve master as a branch Resolved master as branch master at revision 26028d2ce48352c9b2c3f496e963b79a4944a426 using credential jps-reader Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/jps.git > git init /var/cloudbees-jenkins-distribution/workspace/app_PR-682@libs/jps # timeout=10 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 > git config remote.origin.url https://github.com/docker/jps.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > 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 using GIT_ASKPASS to set credentials GitHub credentials for docker/jps > git fetch --no-tags --progress https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master Checking out Revision 26028d2ce48352c9b2c3f496e963b79a4944a426 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 26028d2ce48352c9b2c3f496e963b79a4944a426 Commit message: "[TAR-1227] Run the sonar container as the current user (#17)" First time build. Skipping changelog. [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-0cec2ee517fd03c30) in /home/ubuntu/workspace/app_PR-682 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-682/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 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-682/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/682/head:refs/remotes/origin/PR-682 Fetching without tags Checking out Revision 29365eb6c4be7a877cff2089e2b66d0ec2e8ff3d (PR-682) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/682/head:refs/remotes/origin/PR-682 # 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/682/head:refs/remotes/origin/PR-682 > git config core.sparsecheckout # timeout=10 > git checkout -f 29365eb6c4be7a877cff2089e2b66d0ec2e8ff3d Commit message: "App inspect requires exactly one arg" First time build. Skipping changelog. fatal: bad object 26028d2ce48352c9b2c3f496e963b79a4944a426 [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-682-1 -f Dockerfile.lint . Sending build context to Docker daemon 75.57MB Step 1/8 : ARG ALPINE_VERSION=3.10 Step 2/8 : ARG GO_VERSION=1.12.9 Step 3/8 : FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} ---> e0d646523991 Step 4/8 : RUN apk add --no-cache curl git make coreutils ---> Using cache ---> 4de32a18834a 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 ---> 2a75f9856f7e Step 6/8 : WORKDIR /go/src/github.com/docker/app ---> Using cache ---> ea037ff32e93 Step 7/8 : ENV CGO_ENABLED=0 ---> Using cache ---> 7b3ab2aad669 Step 8/8 : COPY . . ---> 8a3d8065b25d Successfully built 8a3d8065b25d Successfully tagged docker-app-lint:jenkins-app-PR-682-1 docker run --rm docker-app-lint:jenkins-app-PR-682-1 make lint Linting... Still waiting to schedule task Waiting for next available executor on ‘ubuntu-1804&&x86_64&&overlay2’ Still waiting to schedule task Waiting for next available executor on ‘ubuntu-1804&&x86_64&&overlay2’ [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-682-1 . Sending build context to Docker daemon 75.57MB Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> 446283867a7f Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> ef7bc0d4bab3 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> a8998a80f133 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> fcc4041e4fa3 Step 6/18 : ARG GOPROXY ---> Using cache ---> 90358d906259 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> e759350036e7 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> f4e0205c8309 Step 9/18 : FROM build AS dev ---> f4e0205c8309 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 6016e114d3a4 Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> c039953a70f3 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 ---> d4dc8a535761 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 1700bcada054 Step 14/18 : ARG GOPROXY ---> Using cache ---> c3023f276747 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 ---> 84219268aca2 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 ---> ed5f41434459 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 ---> 5782fb883549 Step 18/18 : COPY . . ---> c841b2c28ff1 [Warning] One or more build-args [TAG ALPINE_VERSION COMMIT EXPERIMENTAL] were not consumed Successfully built c841b2c28ff1 Successfully tagged docker-app-dev:jenkins-app-PR-682-1 Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-682-1 sh -c "make vendor && hack/check-git-diff vendor" rm -rf vendor 1>&1 dep ensure -v (1/104) Wrote github.com/Microsoft/go-winio@v0.4.12 (2/104) Wrote github.com/containerd/console@master (3/104) Wrote github.com/Masterminds/semver@v1.4.2 (4/104) Wrote github.com/containerd/continuity@master (5/104) Wrote github.com/coreos/go-systemd@v20 (6/104) Wrote github.com/containerd/fifo@master (7/104) Wrote github.com/agl/ed25519@master (8/104) Wrote github.com/beorn7/perks@master (9/104) Wrote github.com/containerd/cgroups@master (10/104) Wrote github.com/containerd/ttrpc@master (11/104) Wrote github.com/containerd/typeurl@master (12/104) Wrote github.com/Azure/go-ansiterm@master (13/104) Wrote vbom.ml/util@master (14/104) Wrote github.com/Microsoft/hcsshim@v0.8.6 (15/104) Wrote github.com/davecgh/go-spew@v1.1.1 (16/104) Wrote github.com/docker/docker-credential-helpers@v0.6.1 (17/104) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1 (18/104) Wrote github.com/docker/go@v1.5.1-1 (19/104) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 (20/104) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2 (21/104) Wrote github.com/docker/go-events@master (22/104) Wrote github.com/docker/go-units@v0.3.3 (23/104) Wrote github.com/docker/go-connections@v0.4.0 (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 (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 (31/104) Wrote github.com/gorilla/mux@v1.7.1 (32/104) Wrote github.com/grpc-ecosystem/grpc-opentracing@master (33/104) Wrote github.com/hashicorp/go-version@v1.1.0 (34/104) Wrote github.com/hashicorp/golang-lru@v0.5.1 (35/104) Wrote github.com/globalsign/mgo@master (36/104) Wrote github.com/imdario/mergo@master (37/104) Wrote github.com/inconshreveable/mousetrap@v1.0 (38/104) Wrote github.com/jaguilar/vt100 (from github.com/tonistiigi/vt100)@ad4c4a5743050fb7f88ce968dca9422f72a0e3f2 (39/104) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2 (40/104) Wrote github.com/googleapis/gnostic@v0.2.0 (41/104) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (42/104) Wrote github.com/mattn/go-shellwords@v1.0.5 (43/104) Wrote github.com/json-iterator/go@v1.1.6 (44/104) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1 (45/104) Wrote github.com/docker/compose-on-kubernetes@v0.4.21 (46/104) Wrote github.com/miekg/pkcs11@master (47/104) Wrote github.com/mitchellh/mapstructure@v1.1.2 (48/104) Wrote github.com/modern-go/concurrent@1.0.3 (49/104) Wrote cloud.google.com/go@v0.37.4 (50/104) Wrote github.com/morikuni/aec@master (51/104) Wrote github.com/oklog/ulid@v1.3.1 (52/104) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1 (53/104) Wrote github.com/containerd/containerd@master (54/104) Wrote github.com/modern-go/reflect2@1.0.1 (55/104) Wrote github.com/golang/protobuf@v1.3.1 (56/104) Wrote github.com/opentracing/opentracing-go@v1.1.0 (57/104) Wrote github.com/opencontainers/image-spec@v1.0.1 (58/104) Wrote github.com/pkg/errors@v0.8.1 (59/104) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 Running on ubuntu-1804-overlay2 (i-06783e91077b8b9bb) in /home/ubuntu/workspace/app_PR-682 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-682/src/github.com/docker/app [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] checkout (60/104) Wrote github.com/prometheus/client_model@master (61/104) Wrote github.com/prometheus/client_golang@v0.8.0 (62/104) Wrote github.com/prometheus/common@v0.2.0 (63/104) Wrote github.com/prometheus/procfs@master (64/104) Wrote github.com/qri-io/jsonpointer@v0.1.0 (65/104) Wrote github.com/qri-io/jsonschema@v0.1.1 using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-682/src/github.com/docker/app # timeout=10 Running on ubuntu-1804-overlay2 (i-008e7fc3404380679) in /home/ubuntu/workspace/app_PR-682 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-682/src/github.com/docker/app [Pipeline] { [Pipeline] checkout (66/104) Wrote github.com/sirupsen/logrus@v1.4.1 (67/104) Wrote github.com/spf13/pflag@master (68/104) Wrote github.com/spf13/cobra@v0.0.5 (69/104) Wrote github.com/syndtr/gocapability@master 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/682/head:refs/remotes/origin/PR-682 (70/104) Wrote github.com/tonistiigi/units@master (71/104) Wrote github.com/wadey/gocovmerge@master (72/104) Wrote github.com/opencontainers/runc@v1.0.0-rc7 (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 using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags (77/104) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/682/head:refs/remotes/origin/PR-682 # 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/682/head:refs/remotes/origin/PR-682 Checking out Revision 29365eb6c4be7a877cff2089e2b66d0ec2e8ff3d (PR-682) Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-682/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/682/head:refs/remotes/origin/PR-682 (78/104) Wrote github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98 > git config core.sparsecheckout # timeout=10 > git checkout -f 29365eb6c4be7a877cff2089e2b66d0ec2e8ff3d (79/104) Wrote golang.org/x/oauth2@master (80/104) Wrote golang.org/x/sync@master Commit message: "App inspect requires exactly one arg" (81/104) Wrote golang.org/x/crypto@master fatal: bad object 26028d2ce48352c9b2c3f496e963b79a4944a426 (82/104) Wrote golang.org/x/time@master (83/104) Wrote github.com/moby/buildkit@v0.6.2 [Pipeline] ansiColor [Pipeline] { [Pipeline] sh (84/104) Wrote github.com/coreos/etcd@v3.3.12 + 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-682-1 . (85/104) Wrote golang.org/x/net@master (86/104) Wrote google.golang.org/appengine@v1.5.0 Fetching without tags Checking out Revision 29365eb6c4be7a877cff2089e2b66d0ec2e8ff3d (PR-682) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/682/head:refs/remotes/origin/PR-682 # 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/682/head:refs/remotes/origin/PR-682 > git config core.sparsecheckout # timeout=10 (87/104) Wrote gopkg.in/inf.v0@v0.9.1 (88/104) Wrote gopkg.in/yaml.v2@v2.2.3 (89/104) Wrote gotest.tools@v2.3.0 > git checkout -f 29365eb6c4be7a877cff2089e2b66d0ec2e8ff3d (90/104) Wrote k8s.io/klog@v0.2.0 Commit message: "App inspect requires exactly one arg" fatal: bad object 26028d2ce48352c9b2c3f496e963b79a4944a426 [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-682-1 . (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 Sending build context to Docker daemon 75.57MB 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 2ea1f7804402: Verifying Checksum 2ea1f7804402: Download complete bbab4ec87ac4: Verifying Checksum bbab4ec87ac4: Download complete (96/104) Wrote github.com/theupdateframework/notary@v0.6.1 4ae16bd47783: Verifying Checksum 4ae16bd47783: Download complete 96465440c208: Verifying Checksum 96465440c208: Download complete 16a3d8aca6cd: Verifying Checksum 16a3d8aca6cd: Download complete 96d705baf026: Verifying Checksum 96d705baf026: Download complete 39007eb46008: Verifying Checksum 39007eb46008: Download complete c0058a8c71f2: Verifying Checksum c0058a8c71f2: Download complete (97/104) Wrote golang.org/x/text@v0.3.0 Sending build context to Docker daemon 75.57MB Step 1/14 : ARG ALPINE_VERSION=3.10.1 Step 2/14 : FROM golang:1.13.0 AS build 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 (98/104) Wrote golang.org/x/tools@master 4a56a430b2ba: Verifying Checksum 4a56a430b2ba: Download complete ea67eaa7dd42: Verifying Checksum ea67eaa7dd42: Download complete ecd7d9a67e26: Verifying Checksum ecd7d9a67e26: Download complete a2a2197e145e: Verifying Checksum a2a2197e145e: Download complete e0ec5610455a: Verifying Checksum e0ec5610455a: Download complete 4e549f0f5e64: Verifying Checksum 4e549f0f5e64: Download complete 36ac8c11a11f: Verifying Checksum 36ac8c11a11f: Download complete (99/104) Wrote k8s.io/client-go@kubernetes-1.14.1 (100/104) Wrote google.golang.org/genproto@master 4a56a430b2ba: Pull complete 4b5cacb629f5: Pull complete 14408c8d4f9a: Pull complete 2f8d98df0991: Verifying Checksum 2f8d98df0991: Download complete 4ae16bd47783: Pull complete bbab4ec87ac4: Pull complete 2ea1f7804402: Pull complete ea67eaa7dd42: Pull complete (101/104) Wrote github.com/gogo/protobuf@v1.2.1 96465440c208: Pull complete a2a2197e145e: Pull complete 16a3d8aca6cd: Pull complete (102/104) Wrote k8s.io/api@kubernetes-1.14.1 36ac8c11a11f: Pull complete ecd7d9a67e26: Pull complete Digest: sha256:90d554b5ae59cb63d2bf42bdfcd60aa1feb4794d9e3a9cbb9d2deb477c088be0 Status: Downloaded newer image for golang:1.13.0 ---> c4d6fdf2260a Step 3/14 : RUN apt-get update -qq && apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 08856e85121d e0ec5610455a: Pull complete 96d705baf026: Pull complete 39007eb46008: Pull complete (103/104) Wrote github.com/docker/docker@master Reading package lists... Building dependency tree... Reading state information... coreutils is already the newest version (8.30-3). coreutils set to manually installed. util-linux is already the newest version (2.33.1-0.1). util-linux set to manually installed. The following NEW packages will be installed: uuid-runtime 0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded. Need to get 95.2 kB of archives. After this operation, 211 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 95.2 kB in 0s (365 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 08856e85121d ---> 5862da1772c3 Step 4/14 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 2ef3e1a25e71 Removing intermediate container 2ef3e1a25e71 ---> d898af95d996 Step 5/14 : COPY . . 4e549f0f5e64: Pull complete c0058a8c71f2: Pull complete ---> 3228d3dcf627 Step 6/14 : ARG EXPERIMENTAL="off" ---> Running in 2cc9f37bf196 Removing intermediate container 2cc9f37bf196 ---> 45917d2bc9bf Step 7/14 : ARG TAG="unknown" ---> Running in 8b3a2f1a0be1 Removing intermediate container 8b3a2f1a0be1 ---> 2a92023cd24d Step 8/14 : RUN make EXPERIMENTAL=${EXPERIMENTAL} BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run ---> Running in c0dad6edb121 CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=29365eb6 -X github.com/docker/app/internal.Version=jenkins-app-PR-682-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-11T08:11:09Z" -o bin/cnab-run ./cmd/cnab-run 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 ---> Running in b6ad56d475ec Removing intermediate container b6ad56d475ec ---> c99d06629bde Step 3/8 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 15fcb7411be3 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 (363 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 15fcb7411be3 ---> f14a1348dd19 Step 4/8 : WORKDIR /go/src/github.com/docker/cli ---> Running in 9bded268ea18 Removing intermediate container 9bded268ea18 ---> 8741d326a5eb Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in ed0430e1572e Cloning into '.'... Note: checking out 'a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b <new-branch-name> HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact Removing intermediate container ed0430e1572e ---> eb6362c9df96 Step 6/8 : ARG GOPROXY ---> Running in c5636df71ea7 Removing intermediate container c5636df71ea7 ---> 0e7752bb3633 Step 7/8 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in f44565fafee0 ./scripts/build/osx Building build/docker-darwin-amd64 (104/104) Wrote k8s.io/kubernetes@v1.14.1 vendor is correct [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Removing intermediate container c0dad6edb121 ---> b251546109f1 Step 9/14 : FROM alpine:${ALPINE_VERSION} as invocation 3.10.1: Pulling from library/alpine 050382585609: Pulling fs layer 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 1c5e0a54ef1d 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 1c5e0a54ef1d ---> b94b5eaacd24 Step 11/14 : USER cnab ---> Running in 0c2138615254 Removing intermediate container 0c2138615254 ---> 895a98132fc6 Step 12/14 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run ---> 29177946749b Step 13/14 : WORKDIR /cnab/app ---> Running in 646207a4a522 Removing intermediate container 646207a4a522 ---> c690e12da092 Step 14/14 : CMD /cnab/app/run ---> Running in 7d2442b1bff2 Removing intermediate container 7d2442b1bff2 ---> d9ab2444bae2 [Warning] One or more build-args [GOPROXY COMMIT] were not consumed Successfully built d9ab2444bae2 Successfully tagged docker/cnab-app-base:jenkins-app-PR-682-1 docker save docker/cnab-app-base:jenkins-app-PR-682-1 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-682-1-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-682-1 docker/cnab-app-base:jenkins-app-PR-682-1-coverage docker save docker/cnab-app-base:jenkins-app-PR-682-1-coverage -o _build/coverage-invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-682-1-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-682-1 docker/cnab-app-base:jenkins-app-PR-682-1-coverage-experimental docker save docker/cnab-app-base:jenkins-app-PR-682-1-coverage-experimental -o _build/coverage-experimental-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-682/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-682/1/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-682/1/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-682/1/stashes/coverage-experimental-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-682/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-682-1 Untagged: docker/cnab-app-base:jenkins-app-PR-682-1 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-682-1-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-682-1-coverage [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-682-1-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-682-1-coverage-experimental Deleted: sha256:d9ab2444bae2563d83096d5ee8e288d24af635915299affda792907f0a15601c Deleted: sha256:c690e12da092a6dbe9ae4b10b8bf4e841fbe6ee6000aae22d8dcbb2aaa42fcbe Deleted: sha256:29177946749bc185b0f213d0c9cb9e2813c7a79b368f5ed37bb5c03600ee43c4 Deleted: sha256:cf17255ab54b3ef48719393083f5ba7c2d7005937ef22e77b396dbbee446fc21 Deleted: sha256:895a98132fc67275dc4d287e5a082906923eea8eaf89e5ea086ea01085261749 Deleted: sha256:b94b5eaacd24bc53bf233628e8b9111f2f06087c63e4cd628fdb623ba033b43b Deleted: sha256:7c227b8891418f9ed399c43459c737faa08c2ce9756936f58cdd3584ca24dd19 [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 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 f44565fafee0 ---> 4be076da809a Step 8/8 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 0440ccb40513 Removing intermediate container 0440ccb40513 ---> c45344284882 [Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed Successfully built c45344284882 Successfully tagged docker-app-cli:jenkins-app-PR-682-1 docker create --name docker-app-cli-jenkins-app-PR-682-1 docker-app-cli:jenkins-app-PR-682-1 noop d9b808fd781fdb10914464240655cfa227b69fdb3c1eb1f8c2a412bcebcc0d00 docker cp docker-app-cli-jenkins-app-PR-682-1:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux docker cp docker-app-cli-jenkins-app-PR-682-1:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin docker cp docker-app-cli-jenkins-app-PR-682-1:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe docker rm docker-app-cli-jenkins-app-PR-682-1 docker-app-cli-jenkins-app-PR-682-1 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-682-1 . Sending build context to Docker daemon 75.57MB Step 1/22 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/22 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> c99d06629bde Step 3/22 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> f14a1348dd19 Step 4/22 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 8741d326a5eb Step 5/22 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> eb6362c9df96 Step 6/22 : ARG GOPROXY ---> Using cache ---> 0e7752bb3633 Step 7/22 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 4be076da809a Step 8/22 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> c45344284882 Step 9/22 : FROM build AS dev ---> c45344284882 Step 10/22 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in 900809e2e1d7 Removing intermediate container 900809e2e1d7 ---> 0a3da558197b Step 11/22 : ARG DEP_VERSION=v0.5.4 ---> Running in 91e015ceb9d8 Removing intermediate container 91e015ceb9d8 ---> 0bc0e934f519 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 a8e4321a856e  % 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 5707 0 --:--:-- --:--:-- --:--:-- 5707  100 10.5M 100 10.5M  0 0 47.3M 0 --:--:-- --:--:-- --:--:-- 47.3M Removing intermediate container a8e4321a856e ---> 5bac8ce332a9 Step 13/22 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in e9bd50169fbb Removing intermediate container e9bd50169fbb ---> 4cd14934dc73 Step 14/22 : ARG GOPROXY ---> Running in 2024640d00a4 Removing intermediate container 2024640d00a4 ---> 9a251000210c 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 482a701fcc76 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/onsi/gomega v1.4.3 go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/fatih/color v1.6.0 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/stretchr/testify v1.3.0 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding github.com/onsi/ginkgo v1.6.0 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding github.com/golang/protobuf v1.2.0 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding golang.org/x/text v0.3.0 go: finding gotest.tools v2.1.0+incompatible go: finding github.com/hpcloud/tail v1.0.0 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/stretchr/objx v0.1.0 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding github.com/davecgh/go-spew v1.1.0 go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd 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/fatih/color v1.6.0 go: downloading github.com/spf13/pflag v1.0.1 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading github.com/jonboulle/clockwork v0.1.0 go: extracting github.com/jonboulle/clockwork v0.1.0 go: downloading github.com/pkg/errors v0.8.0 go: extracting github.com/pkg/errors v0.8.0 go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: extracting github.com/sirupsen/logrus v1.0.5 go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc 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/net v0.0.0-20181102091132-c10e9556a7bc go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e Removing intermediate container 482a701fcc76 ---> 1f834a1e4d3a 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 fc679df7d959 Removing intermediate container fc679df7d959 ---> afbc7e8e96a8 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 7ec12c7b3469 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 7ec12c7b3469 ---> 82a69ed9694a Step 18/22 : COPY . . ---> c4749688911e Step 19/22 : FROM dev AS cross ---> c4749688911e Step 20/22 : ARG EXPERIMENTAL="off" ---> Running in d1cdaa4ad438 Removing intermediate container d1cdaa4ad438 ---> 3d7ea2dc53e6 Step 21/22 : ARG TAG="unknown" ---> Running in d27d80c25065 Removing intermediate container d27d80c25065 ---> 0b113b2bef3e Step 22/22 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Running in b0ac00c99cfe GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=29365eb6 -X github.com/docker/app/internal.Version=jenkins-app-PR-682-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-11T08:16:32Z" -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=29365eb6 -X github.com/docker/app/internal.Version=jenkins-app-PR-682-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-11T08:16:32Z" -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=29365eb6 -X github.com/docker/app/internal.Version=jenkins-app-PR-682-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-11T08:16:32Z" -o bin/docker-app-windows.exe ./cmd/docker-app Removing intermediate container b0ac00c99cfe ---> 42575d68486d [Warning] One or more build-args [COMMIT ALPINE_VERSION] were not consumed Successfully built 42575d68486d Successfully tagged docker-app-cross:jenkins-app-PR-682-1 docker create --name docker-app-cross-jenkins-app-PR-682-1 docker-app-cross:jenkins-app-PR-682-1 noop bd6ea5549eb00efb3361bf710c4e2baf7fa5f5d7ecfd07d623036f72eab239df docker cp docker-app-cross-jenkins-app-PR-682-1:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux docker cp docker-app-cross-jenkins-app-PR-682-1:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin docker cp docker-app-cross-jenkins-app-PR-682-1:/go/src/github.com/docker/app/bin/docker-app-windows.exe bin/docker-app-windows.exe docker rm docker-app-cross-jenkins-app-PR-682-1 docker-app-cross-jenkins-app-PR-682-1 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-682-1 . Sending build context to Docker daemon 75.57MB Step 1/26 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/26 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> c99d06629bde Step 3/26 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> f14a1348dd19 Step 4/26 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 8741d326a5eb Step 5/26 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> eb6362c9df96 Step 6/26 : ARG GOPROXY ---> Using cache ---> 0e7752bb3633 Step 7/26 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 4be076da809a Step 8/26 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> c45344284882 Step 9/26 : FROM build AS dev ---> c45344284882 Step 10/26 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 0a3da558197b Step 11/26 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> 0bc0e934f519 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 ---> 5bac8ce332a9 Step 13/26 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 4cd14934dc73 Step 14/26 : ARG GOPROXY ---> Using cache ---> 9a251000210c 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 ---> 1f834a1e4d3a 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 ---> afbc7e8e96a8 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 ---> 82a69ed9694a Step 18/26 : COPY . . ---> Using cache ---> c4749688911e Step 19/26 : FROM dev AS cross ---> c4749688911e Step 20/26 : ARG EXPERIMENTAL="off" ---> Using cache ---> 3d7ea2dc53e6 Step 21/26 : ARG TAG="unknown" ---> Using cache ---> 0b113b2bef3e Step 22/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Using cache ---> 42575d68486d Step 23/26 : FROM cross AS e2e-cross ---> 42575d68486d Step 24/26 : ARG EXPERIMENTAL="off" ---> Running in 06eed0d7d937 Removing intermediate container 06eed0d7d937 ---> 9bbfc64298dd Step 25/26 : ARG TAG="unknown" ---> Running in 3c4b2b861eae Removing intermediate container 3c4b2b861eae ---> 6cde45805ab1 Step 26/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} e2e-cross ---> Running in da0d9071ffdd GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=29365eb6 -X github.com/docker/app/internal.Version=jenkins-app-PR-682-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-11T08:19:23Z" -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=29365eb6 -X github.com/docker/app/internal.Version=jenkins-app-PR-682-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-11T08:19:23Z" -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=29365eb6 -X github.com/docker/app/internal.Version=jenkins-app-PR-682-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-11T08:19:23Z" -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=29365eb6 -X github.com/docker/app/internal.Version=jenkins-app-PR-682-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-11T08:19:23Z" -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=29365eb6 -X github.com/docker/app/internal.Version=jenkins-app-PR-682-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-11T08:19:23Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ Removing intermediate container da0d9071ffdd ---> 55a893066462 [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 55a893066462 Successfully tagged docker-app-e2e-cross:jenkins-app-PR-682-1 docker create --name docker-app-e2e-cross-jenkins-app-PR-682-1 docker-app-e2e-cross:jenkins-app-PR-682-1 noop 101f1fbcec8a31d09d84deb70987b0ecb2e9ab117a4e4a944e5cb1d1de573e75 docker cp docker-app-e2e-cross-jenkins-app-PR-682-1:/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-682-1:/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-682-1:/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-682-1:/usr/local/bin/gotestsum-linux bin/gotestsum-linux docker cp docker-app-e2e-cross-jenkins-app-PR-682-1:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-682-1:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-682-1:/usr/local/bin/test2json-linux bin/test2json-linux docker cp docker-app-e2e-cross-jenkins-app-PR-682-1:/usr/local/bin/test2json-darwin bin/test2json-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-682-1:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe docker rm docker-app-e2e-cross-jenkins-app-PR-682-1 docker-app-e2e-cross-jenkins-app-PR-682-1 tar --transform='flags=r;s|docker-app-linux|docker-app-plugin-linux|' -czf bin/docker-app-linux.tar.gz -C bin docker-app-linux tar czf bin/docker-app-e2e-linux.tar.gz -C bin docker-app-e2e-linux tar --transform='flags=r;s|docker-app-darwin|docker-app-plugin-darwin|' -czf bin/docker-app-darwin.tar.gz -C bin docker-app-darwin tar czf bin/docker-app-e2e-darwin.tar.gz -C bin docker-app-e2e-darwin tar --transform='flags=r;s|docker-app-windows|docker-app-plugin-windows|' -czf bin/docker-app-windows.tar.gz -C bin docker-app-windows.exe tar czf bin/docker-app-e2e-windows.tar.gz -C bin docker-app-e2e-windows.exe [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-682/src/github.com/docker/app/bin [Pipeline] { [Pipeline] stash Stashed 21 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-682/1/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-682/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] stash Stashed 66 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-682/1/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-682/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-682/1/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-682-1* + xargs docker image rm -f Untagged: docker-app-e2e-cross:jenkins-app-PR-682-1 Deleted: sha256:55a8930664628e596e7ecaafc9c1c3c586da862ae2999635001fd0ef8c643f7e Deleted: sha256:596689c6a0278cd7ab8de9a34fc4b06a0e124f1e5d0f218af1897a1cf47e07bc Deleted: sha256:6cde45805ab1a4293c4c4c90d80bd047bf40c5053932c7bbd1521bb9e0244f04 Deleted: sha256:9bbfc64298dd2b4fd4cc5ab2cf49807ebd26ff0cfed3a0d558940a6d370ae69e Untagged: docker-app-cross:jenkins-app-PR-682-1 Deleted: sha256:42575d68486d28ec4cae7ddbb5c30605cbca6943cc3804d50701ef00dfb346b6 Deleted: sha256:37743cd11a8bddd7e2d8c69e64019b908a7f231b28e39487a6dc0c091da08ed7 Deleted: sha256:0b113b2bef3e9199fbfe7ce76ed6ad531140eb40e4587c5aef7ded6d9b1222e5 Deleted: sha256:3d7ea2dc53e6940fd5ef8702a5a3d9d0c1c07b882d75bc19b2e72ee3f9ff391e Deleted: sha256:c4749688911e69060a446e40f63e8f2118208b2e47e3fceebd605d465a25579f Deleted: sha256:5cea71e96dc1307fdfe56c183fdb361c160273f6d09fab66924ddff9dc5f4c22 Deleted: sha256:82a69ed9694aa9a17cd9472713af1897534dc660e57d6f30434378e14e400519 Deleted: sha256:1ad250eb89c8ff74cf8a6066a65dcc3b0caedc3bc4d1755e0fe20748c00042f2 Deleted: sha256:afbc7e8e96a8359705e7faa32ca7e343aa64284e1f1e4c09538b6f369b40b6a3 Deleted: sha256:c94ee71fa2249de3a4a76025a14d3d776bee8c2cfe2fe3d83fa4f330477338f0 Deleted: sha256:1f834a1e4d3a90914449908e613b90798ccd6c705b86be99e68ff7b1a3af6c90 Deleted: sha256:9b7c2812f77190ce19881c87506841ed172e572a5c928a4ed0b6d647e0df1eef Deleted: sha256:9a251000210ce0a553241f6f5e5af8482a99f723499399edbeb115022cc3b1bc Deleted: sha256:4cd14934dc73c13dffa452688838136b556285c1319addd694702f09d9fcb9a3 Deleted: sha256:5bac8ce332a9ff82a9b853116e460aae79de23ad8e3fe912f6a0a18420cf9430 Deleted: sha256:5211fb3028215369d951ddcd6dba6dd040b08303a2e67faa5cf0410e43f35404 Deleted: sha256:0bc0e934f51973fa5b072e7b847230c133b7269e42b5a2b0cddd1e381e2e30de Deleted: sha256:0a3da558197b1ab4ac403910a156ba23d8d323fb5ee03a95343b2b5d136c19db Untagged: docker-app-cli:jenkins-app-PR-682-1 Deleted: sha256:c453442848829da40ceb497e0397e9303399e2eb410e36f3cebacff802489992 Deleted: sha256:8b7aca67f5a41802fd352d2c9ae8f01a65b4739ebc595697ce6447542005dc88 Deleted: sha256:4be076da809a7f2a008bc307ec9391704f8f23b2f9c7cad08cf85ebca8976191 Deleted: sha256:109793c8b5176aa228bdaaa4c89cc7a9afb7d18caab6774d8a8f501c02e34782 Deleted: sha256:0e7752bb36336da7a157c27b8c597afd987b2619c64544d4920d09abf07c8840 Deleted: sha256:eb6362c9df96f9699653f277ad75ce01e95a1f585fe00628a7b2c0ff0b55c23b Deleted: sha256:fbb6fb71ee9d4e82cd9fc9ada7a0d8e51e061bf0447474facb0052e0b1663eb1 Deleted: sha256:8741d326a5eb46e72f7a6bc7c36729d1e68792e6e5a3ed7e29a3aedc3d90d7f4 Deleted: sha256:586669dae464ef1408235f961fc6e9540be4b82815f038051d5f9485df72c1bc Deleted: sha256:f14a1348dd19b3a1bc7618d053fc8a0ac31c1287cf8878c5e380645614429e83 Deleted: sha256:7f502bbd30a8bbafa9997b8cb376f7883a322a5f5b53e1c078035ff1216917cd Deleted: sha256:c99d06629bded34a7775aa52a7228d9548f125c8ebb96b8e497c7a1022a9ea65 [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-008e7fc3404380679) in /home/ubuntu/workspace/app_PR-682 [Pipeline] { Running on ubuntu-1804-overlay2 (i-080f8ab513ca6e148) in /home/ubuntu/workspace/app_PR-682 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-682/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-682/src/github.com/docker/app [Pipeline] { [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Running on ubuntu-1804-overlay2 (i-042ab3ed7133ca1ba) in /home/ubuntu/workspace/app_PR-682 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-682/src/github.com/docker/app [Pipeline] { [Pipeline] checkout Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-682/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/682/head:refs/remotes/origin/PR-682 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-682/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/682/head:refs/remotes/origin/PR-682 Fetching without tags Checking out Revision 29365eb6c4be7a877cff2089e2b66d0ec2e8ff3d (PR-682) Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/682/head:refs/remotes/origin/PR-682 # 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/682/head:refs/remotes/origin/PR-682 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/682/head:refs/remotes/origin/PR-682 # 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/682/head:refs/remotes/origin/PR-682 > git config core.sparsecheckout # timeout=10 > git checkout -f 29365eb6c4be7a877cff2089e2b66d0ec2e8ff3d Checking out Revision 29365eb6c4be7a877cff2089e2b66d0ec2e8ff3d (PR-682) using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Commit message: "App inspect requires exactly one arg" fatal: bad object 26028d2ce48352c9b2c3f496e963b79a4944a426 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-682/src/github.com/docker/app # timeout=10 Commit message: "App inspect requires exactly one arg" fatal: bad object 26028d2ce48352c9b2c3f496e963b79a4944a426 > git config core.sparsecheckout # timeout=10 > git checkout -f 29365eb6c4be7a877cff2089e2b66d0ec2e8ff3d [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-682/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-682/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/682/head:refs/remotes/origin/PR-682 Fetching without tags Checking out Revision 29365eb6c4be7a877cff2089e2b66d0ec2e8ff3d (PR-682) Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-682/1/stashes/invocation-image.tgz [Pipeline] sh + docker load -i invocation-image.tar Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-682/1/stashes/coverage-invocation-image.tgz [Pipeline] sh Commit message: "App inspect requires exactly one arg" fatal: bad object 26028d2ce48352c9b2c3f496e963b79a4944a426 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/682/head:refs/remotes/origin/PR-682 # 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/682/head:refs/remotes/origin/PR-682 > git config core.sparsecheckout # timeout=10 > git checkout -f 29365eb6c4be7a877cff2089e2b66d0ec2e8ff3d + docker load -i coverage-invocation-image.tar Loaded image: docker/cnab-app-base:jenkins-app-PR-682-1 [Pipeline] } [Pipeline] // dir [Pipeline] unstash [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-682/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash Loaded image: docker/cnab-app-base:jenkins-app-PR-682-1-coverage [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile TAG=jenkins-app-PR-682-1-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-682-1 . Sending build context to Docker daemon 75.57MB Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705: Pulling from dockercore/golang-cross 4ae16bd47783: Pulling fs layer bbab4ec87ac4: Pulling fs layer 2ea1f7804402: Pulling fs layer 96465440c208: Pulling fs layer 16a3d8aca6cd: Pulling fs layer e0ec5610455a: Pulling fs layer 96d705baf026: Pulling fs layer 39007eb46008: Pulling fs layer 4e549f0f5e64: Pulling fs layer c0058a8c71f2: Pulling fs layer 2f8d98df0991: Pulling fs layer 96d705baf026: Waiting 39007eb46008: Waiting 4e549f0f5e64: Waiting c0058a8c71f2: Waiting 2f8d98df0991: Waiting 96465440c208: Waiting e0ec5610455a: Waiting 16a3d8aca6cd: Waiting bbab4ec87ac4: Verifying Checksum bbab4ec87ac4: Download complete 2ea1f7804402: Verifying Checksum 2ea1f7804402: Download complete 4ae16bd47783: Verifying Checksum 4ae16bd47783: Download complete 96465440c208: Verifying Checksum 96465440c208: Download complete 96d705baf026: Verifying Checksum 96d705baf026: Download complete 16a3d8aca6cd: Verifying Checksum 16a3d8aca6cd: Download complete 39007eb46008: Verifying Checksum 39007eb46008: Download complete c0058a8c71f2: Verifying Checksum c0058a8c71f2: Download complete Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-682/1/stashes/coverage-experimental-invocation-image.tgz [Pipeline] sh + docker load -i coverage-experimental-invocation-image.tar e0ec5610455a: Verifying Checksum e0ec5610455a: Download complete 4e549f0f5e64: Verifying Checksum 4e549f0f5e64: Download complete Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-682/1/stashes/binaries.tgz [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-682/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-682/1/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-682/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-682/1/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 2f8d98df0991: Verifying Checksum 2f8d98df0991: Download complete 4ae16bd47783: Pull complete bbab4ec87ac4: Pull complete 2ea1f7804402: Pull complete 96465440c208: Pull complete 16a3d8aca6cd: Pull complete Loaded image: docker/cnab-app-base:jenkins-app-PR-682-1-coverage-experimental [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- -f docker.Makefile TAG=jenkins-app-PR-682-1-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-682-1 . Sending build context to Docker daemon 75.57MB Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705: Pulling from dockercore/golang-cross 4ae16bd47783: Pulling fs layer bbab4ec87ac4: Pulling fs layer 2ea1f7804402: Pulling fs layer 96465440c208: Pulling fs layer 16a3d8aca6cd: Pulling fs layer e0ec5610455a: Pulling fs layer 96d705baf026: Pulling fs layer 39007eb46008: Pulling fs layer 4e549f0f5e64: Pulling fs layer c0058a8c71f2: Pulling fs layer 2f8d98df0991: Pulling fs layer 96465440c208: Waiting 16a3d8aca6cd: Waiting e0ec5610455a: Waiting 96d705baf026: Waiting 39007eb46008: Waiting 4e549f0f5e64: Waiting c0058a8c71f2: Waiting 2f8d98df0991: Waiting 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 16a3d8aca6cd: Verifying Checksum 16a3d8aca6cd: Download complete 39007eb46008: Verifying Checksum 39007eb46008: Download complete c0058a8c71f2: Verifying Checksum c0058a8c71f2: Download complete e0ec5610455a: Pull complete 96d705baf026: Pull complete 39007eb46008: Pull complete e0ec5610455a: Verifying Checksum e0ec5610455a: Download complete 4e549f0f5e64: Verifying Checksum 4e549f0f5e64: Download complete 2f8d98df0991: Verifying Checksum 2f8d98df0991: Download complete 4ae16bd47783: Pull complete bbab4ec87ac4: Pull complete 2ea1f7804402: Pull complete 4e549f0f5e64: Pull complete c0058a8c71f2: Pull complete 96465440c208: Pull complete 16a3d8aca6cd: Pull complete e0ec5610455a: Pull complete 96d705baf026: Pull complete 39007eb46008: Pull complete PASS e2e/linux.TestBuild (25.60s) 4e549f0f5e64: Pull complete c0058a8c71f2: Pull complete 2f8d98df0991: Pull complete Digest: sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 Status: Downloaded newer image for dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Running in e4f748c87afc Removing intermediate container e4f748c87afc ---> cb24daa01e0d Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 048bb8bcf5af 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 (368 kB/s) Selecting previously unselected package uuid-runtime. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 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 048bb8bcf5af ---> 45dd49c06cc4 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Running in e697b7eae2da Removing intermediate container e697b7eae2da ---> 812d13940a97 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in dd4d8d6e7058 Cloning into '.'... PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (3.16s) PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (3.20s) PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (3.06s) PASS e2e/linux.TestCallCustomStatusAction (9.41s) PASS e2e/linux.TestCnabParameters (3.12s) PASS e2e/linux.TestExitErrorCode (0.07s) 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 <new-branch-name> HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact PASS e2e/linux.TestRender/envvariables/stdout (1.62s) PASS e2e/linux.TestRender/envvariables/file (1.39s) PASS e2e/linux.TestRender/envvariables (3.02s) PASS e2e/linux.TestRender (3.02s) Removing intermediate container dd4d8d6e7058 ---> 6f04af58a9ae Step 6/18 : ARG GOPROXY ---> Running in bb5203cffaae Removing intermediate container bb5203cffaae ---> 8093fe7cf113 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in 2e0063c952de ./scripts/build/osx Building build/docker-darwin-amd64 2f8d98df0991: Pull complete Digest: sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 Status: Downloaded newer image for dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Running in a900c870a581 Removing intermediate container a900c870a581 ---> 1daf07850e4f Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in b15ac50ca46f Reading package lists... Building dependency tree... Reading state information... coreutils is already the newest version (8.30-3). coreutils set to manually installed. util-linux is already the newest version (2.33.1-0.1). util-linux set to manually installed. The following NEW packages will be installed: uuid-runtime 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 95.2 kB of archives. After this operation, 211 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 95.2 kB in 0s (370 kB/s) Selecting previously unselected package uuid-runtime. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 25419 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... Unpacking uuid-runtime (2.33.1-0.1) ... Setting up uuid-runtime (2.33.1-0.1) ... Adding group `uuidd' (GID 102) ... Done. Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory Adding system user `uuidd' (UID 101) ... Adding new user `uuidd' (UID 101) with group `uuidd' ... Not creating home directory `/run/uuidd'. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Removing intermediate container b15ac50ca46f ---> 44d1b6c5a24a Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Running in 6f75212ae240 Removing intermediate container 6f75212ae240 ---> c1cb8ee76b8d Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in da7db39b64a1 Cloning into '.'... Note: checking out 'a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b <new-branch-name> HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact PASS e2e/linux.TestRenderFormatters (14.17s) PASS e2e/linux.TestInit (0.14s) Removing intermediate container da7db39b64a1 ---> e6087c539da9 Step 6/18 : ARG GOPROXY ---> Running in 57d79896d165 Removing intermediate container 57d79896d165 ---> 6b4419afedb9 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in 34356b8b7ef3 ./scripts/build/osx Building build/docker-darwin-amd64 === RUN TestInspectApp --- FAIL: TestInspectApp (11.86s) commands_test.go:162: assertion failed: Command: /home/ubuntu/workspace/app_PR-682/src/github.com/docker/app/docker-linux app inspect ExitCode: 1 Error: exit status 1 Stdout: Stderr: "docker app inspect" requires exactly 1 argument. See 'docker app inspect --help'. Usage: docker app inspect [APP_NAME] [OPTIONS] Shows metadata, parameters and a summary of the Compose file for a given application Failures: Expected stderr to contain "invalid reference format" FAIL e2e/linux.TestInspectApp (11.86s) PASS e2e/linux.TestDockerAppLifecycle/withBindMounts (24.03s) PASS e2e/linux.TestDockerAppLifecycle/withoutBindMounts (19.62s) PASS e2e/linux.TestDockerAppLifecycle (43.65s) PASS e2e/linux.TestCredentials/missing (0.07s) PASS e2e/linux.TestCredentials/full (1.93s) PASS e2e/linux.TestCredentials/mixed-credstore (1.24s) PASS e2e/linux.TestCredentials/mixed-local-cred (1.28s) PASS e2e/linux.TestCredentials/overload (0.06s) PASS e2e/linux.TestCredentials (4.58s) PASS e2e/linux.TestRenderWithEnvFile (1.57s) PASS e2e/linux.TestExamplesAreValid (0.18s) PASS e2e/linux.TestImageList (13.36s) ./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.TestImageRm (17.24s) PASS e2e/linux.TestImageTag (14.13s) PASS e2e/linux.TestInvokePluginFromCLI (4.12s) PASS e2e/linux.TestPushArchs/default (3.39s) PASS e2e/linux.TestPushArchs/all-platforms (1.10s) PASS e2e/linux.TestPushArchs (16.11s) PASS e2e/linux.TestPushInsecureRegistry (23.15s) 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.TestPushInstall (16.42s) PASS e2e/linux.TestPushPullInstall (17.01s) PASS e2e/linux.TestPushInstallBundle/push-bundle (4.75s) PASS e2e/linux.TestPushInstallBundle/push-ref (1.22s) PASS e2e/linux.TestPushInstallBundle/push-bundleref (2.02s) PASS e2e/linux.TestPushInstallBundle (21.20s) FAIL e2e/linux === Failed === FAIL: e2e/linux TestInspectApp (11.86s) commands_test.go:162: assertion failed: Command: /home/ubuntu/workspace/app_PR-682/src/github.com/docker/app/docker-linux app inspect ExitCode: 1 Error: exit status 1 Stdout: Stderr: "docker app inspect" requires exactly 1 argument. See 'docker app inspect --help'. Usage: docker app inspect [APP_NAME] [OPTIONS] Shows metadata, parameters and a summary of the Compose file for a given application Failures: Expected stderr to contain "invalid reference format" DONE 39 tests, 1 failure in 260.131s time="2019-10-11T08:25:17Z" level=warning msg="failed to lookup go version for junit xml" error="exec: \"go\": executable file not found in $PATH" [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] archiveArtifacts Archiving artifacts Uploaded 1 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-682/1/artifacts/ [Pipeline] junit Recording test results [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-682-1 Untagged: docker/cnab-app-base:jenkins-app-PR-682-1 [Pipeline] deleteDir [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Test Linux Removing intermediate container 2e0063c952de ---> 1de73c3de800 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 8e547d04e36e Removing intermediate container 8e547d04e36e ---> 5c2ac32ae21d Step 9/18 : FROM build AS dev ---> 5c2ac32ae21d Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in 3ad7ca90de63 Removing intermediate container 3ad7ca90de63 ---> dc4e026b5af9 Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Running in 95269d585be6 Removing intermediate container 95269d585be6 ---> e49ceaf47473 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 1fe32861cb6f  % 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 5817 0 --:--:-- --:--:-- --:--:-- 5817  100 10.5M 100 10.5M 0 0 47.8M 0 --:--:-- --:--:-- --:--:-- 47.8M Removing intermediate container 1fe32861cb6f ---> f22a4df1b2b3 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 2ba3586bd113 Removing intermediate container 2ba3586bd113 ---> 982930c0ee5b Step 14/18 : ARG GOPROXY ---> Running in 3d26dec44fdd Removing intermediate container 3d26dec44fdd ---> 5340bbfec424 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 b68a3b4ea5f2 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/mattn/go-isatty v0.0.3 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding gotest.tools v2.1.0+incompatible go: finding github.com/onsi/gomega v1.4.3 go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/spf13/pflag v1.0.1 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding github.com/fatih/color v1.6.0 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding golang.org/x/text v0.3.0 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding github.com/stretchr/testify v1.3.0 go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding github.com/onsi/ginkgo v1.6.0 go: finding github.com/golang/protobuf v1.2.0 go: finding github.com/hpcloud/tail v1.0.0 go: finding github.com/stretchr/objx v0.1.0 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/davecgh/go-spew v1.1.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/fatih/color v1.6.0 go: downloading github.com/jonboulle/clockwork v0.1.0 go: downloading github.com/pkg/errors v0.8.0 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading github.com/sirupsen/logrus v1.0.5 go: extracting github.com/jonboulle/clockwork v0.1.0 go: downloading github.com/spf13/pflag v1.0.1 go: extracting github.com/pkg/errors v0.8.0 go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting github.com/spf13/pflag v1.0.1 go: extracting github.com/sirupsen/logrus v1.0.5 go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting github.com/fatih/color v1.6.0 go: downloading github.com/mattn/go-isatty v0.0.3 go: downloading github.com/mattn/go-colorable v0.0.9 go: extracting github.com/mattn/go-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 b68a3b4ea5f2 ---> 82b492f9b9c8 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 3f04144935e7 Removing intermediate container 3f04144935e7 ---> 19cb4932dab9 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 d578551c7ba0 Removing intermediate container 34356b8b7ef3 ---> 3d720c301a91 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Running in ab0e8461156b Removing intermediate container ab0e8461156b ---> 41df7ac6f11f Step 9/18 : FROM build AS dev ---> 41df7ac6f11f Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in cedb83edd41e Removing intermediate container cedb83edd41e ---> 5a8a5ad3ae49 Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Running in ad12e08cedf3 Removing intermediate container ad12e08cedf3 ---> 7d6710de0de7 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 b04ee93c8a20  % 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 7658 0 --:--:-- --:--:-- --:--:-- 7658  100 10.5M 100 10.5M 0 0 53.1M 0 --:--:-- --:--:-- --:--:-- 53.1M Removing intermediate container b04ee93c8a20 ---> d602b041992a Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 3ae968affcfb Removing intermediate container 3ae968affcfb ---> 75c7f876140e Step 14/18 : ARG GOPROXY ---> Running in c76561289a36 Removing intermediate container c76561289a36 ---> 364ceb300355 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 15a3120feea9 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/fatih/color v1.6.0 go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/mattn/go-colorable v0.0.9 go: finding gotest.tools v2.1.0+incompatible go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding github.com/onsi/gomega v1.4.3 go: finding github.com/onsi/ginkgo v1.8.0 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding github.com/stretchr/testify v1.3.0 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding github.com/golang/protobuf v1.2.0 go: finding golang.org/x/text v0.3.0 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding github.com/hpcloud/tail v1.0.0 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding github.com/davecgh/go-spew v1.1.0 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding github.com/stretchr/objx v0.1.0 go: finding github.com/onsi/ginkgo v1.6.0 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding gopkg.in/yaml.v2 v2.2.1 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/pkg/errors v0.8.0 go: downloading github.com/fatih/color v1.6.0 go: downloading github.com/sirupsen/logrus v1.0.5 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading github.com/spf13/pflag v1.0.1 go: downloading github.com/jonboulle/clockwork v0.1.0 go: extracting github.com/sirupsen/logrus v1.0.5 go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting github.com/pkg/errors v0.8.0 go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: extracting github.com/jonboulle/clockwork v0.1.0 go: extracting github.com/spf13/pflag v1.0.1 go: extracting github.com/fatih/color v1.6.0 go: downloading github.com/mattn/go-colorable v0.0.9 go: downloading github.com/mattn/go-isatty v0.0.3 go: extracting github.com/mattn/go-isatty v0.0.3 go: extracting github.com/mattn/go-colorable v0.0.9 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 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 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 d578551c7ba0 ---> 427296978ef7 Step 18/18 : COPY . . ---> d84bc8a66456 [Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed Successfully built d84bc8a66456 Successfully tagged docker-app-dev:jenkins-app-PR-682-1 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-682-1-coverage --network="host" -t docker-app-dev:jenkins-app-PR-682-1 make COMMIT=29365eb6 TAG=jenkins-app-PR-682-1-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=29365eb6 -X github.com/docker/app/internal.Version=jenkins-app-PR-682-1-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-11T08:26:07Z" -cover -test.coverprofile=_build/cov/unit.out github.com/docker/app github.com/docker/app/cmd/cnab-run github.com/docker/app/cmd/docker-app github.com/docker/app/internal github.com/docker/app/internal/commands github.com/docker/app/internal/commands/build github.com/docker/app/internal/commands/image github.com/docker/app/internal/compose github.com/docker/app/internal/formatter github.com/docker/app/internal/formatter/driver github.com/docker/app/internal/formatter/json github.com/docker/app/internal/formatter/yaml github.com/docker/app/internal/inspect github.com/docker/app/internal/log github.com/docker/app/internal/packager github.com/docker/app/internal/slices github.com/docker/app/internal/store github.com/docker/app/internal/yaml github.com/docker/app/loader github.com/docker/app/render github.com/docker/app/specification github.com/docker/app/types github.com/docker/app/types/metadata github.com/docker/app/types/parameters ∅ . Removing intermediate container 15a3120feea9 ---> ed7f00ff4e1a 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 9d4f8bd91b93 Removing intermediate container 9d4f8bd91b93 ---> c97684c03e68 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 4499ab767dab 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 4499ab767dab ---> c7ca781ae057 Step 18/18 : COPY . . ---> 633935edff3c [Warning] One or more build-args [COMMIT EXPERIMENTAL TAG ALPINE_VERSION] were not consumed Successfully built 633935edff3c Successfully tagged docker-app-dev:jenkins-app-PR-682-1 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-682-1-coverage-experimental --network="host" -t docker-app-dev:jenkins-app-PR-682-1 make COMMIT=29365eb6 TAG=jenkins-app-PR-682-1-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=29365eb6 -X github.com/docker/app/internal.Version=jenkins-app-PR-682-1-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-11T08:26:25Z" -cover -test.coverprofile=_build/cov/unit.out github.com/docker/app github.com/docker/app/cmd/cnab-run github.com/docker/app/cmd/docker-app github.com/docker/app/internal github.com/docker/app/internal/commands github.com/docker/app/internal/commands/build github.com/docker/app/internal/commands/image github.com/docker/app/internal/compose github.com/docker/app/internal/formatter github.com/docker/app/internal/formatter/driver github.com/docker/app/internal/formatter/json github.com/docker/app/internal/formatter/yaml github.com/docker/app/internal/inspect github.com/docker/app/internal/log github.com/docker/app/internal/packager github.com/docker/app/internal/slices github.com/docker/app/internal/store github.com/docker/app/internal/yaml github.com/docker/app/loader github.com/docker/app/render github.com/docker/app/specification github.com/docker/app/types github.com/docker/app/types/metadata github.com/docker/app/types/parameters ∅ . ∅ cmd/cnab-run ∅ cmd/docker-app ✓ internal (7ms) ✓ internal/commands/build (19ms) ✓ internal/commands (604ms) ✓ internal/commands/image (12ms) ✓ internal/compose (12ms) ✓ internal/formatter (2ms) ∅ internal/formatter/driver ∅ internal/formatter/json ∅ internal/formatter/yaml ✓ internal/inspect (94ms) ∅ internal/log ✓ internal/slices (2ms) ✓ internal/packager (29ms) ✓ internal/store (27ms) ✓ internal/yaml (7ms) ✓ loader (9ms) ✓ render (65ms) ✓ specification (7ms) ∅ cmd/cnab-run ✓ types (25ms) ✓ types/metadata (6ms) ✓ types/parameters (4ms) DONE 225 tests in 101.194s CGO_ENABLED=0 go test -tags=""" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=29365eb6 -X github.com/docker/app/internal.Version=jenkins-app-PR-682-1-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-11T08:26:07Z" -coverpkg="./..." -c -o _build/docker-app.cov ./cmd/docker-app ∅ cmd/docker-app ✓ internal (3ms) 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=29365eb6 -X github.com/docker/app/internal.Version=jenkins-app-PR-682-1-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-11T08:26:07Z" -v ./e2e ✓ internal/commands/build (17ms) ✓ internal/commands (441ms) ✓ internal/commands/image (11ms) ✓ internal/formatter (3ms) ✓ internal/compose (5ms) ∅ internal/formatter/driver ∅ internal/formatter/json ∅ internal/formatter/yaml ✓ internal/inspect (99ms) ∅ internal/log ✓ internal/slices (8ms) ✓ internal/packager (56ms) ✓ internal/store (36ms) ✓ internal/yaml (7ms) ✓ loader (10ms) ✓ render (50ms) ✓ specification (35ms) ✓ types (18ms) ✓ types/metadata (6ms) ✓ types/parameters (11ms) DONE 225 tests in 100.664s CGO_ENABLED=0 go test -tags=""experimental" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=29365eb6 -X github.com/docker/app/internal.Version=jenkins-app-PR-682-1-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-11T08:26:25Z" -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/experimental-e2e-coverage.xml -- -tags="experimental" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=29365eb6 -X github.com/docker/app/internal.Version=jenkins-app-PR-682-1-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-11T08:26:25Z" -v ./e2e ✖ e2e (4m10.697s) === Failed === FAIL: e2e TestInspectApp (11.13s) commands_test.go:162: assertion failed: Command: docker app inspect ExitCode: 1 Error: exit status 1 Stdout: Stderr: "docker app inspect" requires exactly 1 argument. See 'docker app inspect --help'. Usage: docker app inspect [APP_NAME] [OPTIONS] Shows metadata, parameters and a summary of the Compose file for a given application Failures: Expected stderr to contain "invalid reference format" DONE 39 tests, 1 failure in 251.972s make: *** [Makefile:102: coverage-test-e2e] Error 1 docker.Makefile:100: recipe for target 'coverage-run' failed make: *** [coverage-run] Error 2 + true [Pipeline] sh + make -f docker.Makefile TAG=jenkins-app-PR-682-1-coverage coverage-results docker cp docker-app-cov-jenkins-app-PR-682-1-coverage:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov docker cp docker-app-cov-jenkins-app-PR-682-1-coverage:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results docker rm docker-app-cov-jenkins-app-PR-682-1-coverage docker-app-cov-jenkins-app-PR-682-1-coverage [Pipeline] } [Pipeline] // ansiColor [Pipeline] archiveArtifacts 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-682/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-682/1/artifacts/ [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-682-1-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-682-1-coverage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Coverage ✖ e2e (4m12.363s) === Failed === FAIL: e2e TestInspectApp (11.78s) commands_test.go:162: assertion failed: Command: docker app inspect ExitCode: 1 Error: exit status 1 Stdout: Stderr: "docker app inspect" requires exactly 1 argument. See 'docker app inspect --help'. Usage: docker app inspect [APP_NAME] [OPTIONS] Shows metadata, parameters and a summary of the Compose file for a given application Failures: Expected stderr to contain "invalid reference format" DONE 39 tests, 1 failure in 253.646s make: *** [Makefile:102: coverage-test-e2e] Error 1 docker.Makefile:100: recipe for target 'coverage-run' failed make: *** [coverage-run] Error 2 + true [Pipeline] sh + make EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- -f docker.Makefile TAG=jenkins-app-PR-682-1-coverage-experimental coverage-results docker cp docker-app-cov-jenkins-app-PR-682-1-coverage-experimental:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov docker cp docker-app-cov-jenkins-app-PR-682-1-coverage-experimental:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results docker rm docker-app-cov-jenkins-app-PR-682-1-coverage-experimental docker-app-cov-jenkins-app-PR-682-1-coverage-experimental [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-682/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-682/1/artifacts/ [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-682-1-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-682-1-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