Pull request #704 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from afeee0d94bf592fdeb431b28ec75371b5bbe3e24 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library jps@master Examining docker/jps Attempting to resolve master as a branch Resolved master as branch master at revision 26028d2ce48352c9b2c3f496e963b79a4944a426 using credential jps-reader > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/docker/jps.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/docker/jps.git > git --version # timeout=10 using GIT_ASKPASS to set credentials GitHub credentials for docker/jps > git fetch --no-tags --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master Checking out Revision 26028d2ce48352c9b2c3f496e963b79a4944a426 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 26028d2ce48352c9b2c3f496e963b79a4944a426 Commit message: "[TAR-1227] Run the sonar container as the current user (#17)" > git rev-list --no-walk 26028d2ce48352c9b2c3f496e963b79a4944a426 # timeout=10 [Pipeline] Start of Pipeline [Pipeline] withEnv [Pipeline] { [Pipeline] timeout Timeout set to expire in 1 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: Validate) [Pipeline] { (Branch: Binaries) [Pipeline] { (Branch: Build Invocation image) [Pipeline] stage [Pipeline] { (Validate) [Pipeline] stage [Pipeline] { (Binaries) [Pipeline] stage [Pipeline] { (Build Invocation image) [Pipeline] node [Pipeline] node [Pipeline] node Running on ubuntu-1804-overlay2 (i-02651c258d5841a4d) in /home/ubuntu/workspace/app_PR-704 [Pipeline] { Running on ubuntu-1804-overlay2 (i-00812f419cfb1e379) in /home/ubuntu/workspace/app_PR-704 [Pipeline] { Running on ubuntu-1804-overlay2 (i-00849db8e555342a5) in /home/ubuntu/workspace/app_PR-704 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { using credential docker-jenkins-github-credentials [Pipeline] checkout Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 Fetching without tags Checking out Revision afeee0d94bf592fdeb431b28ec75371b5bbe3e24 (PR-704) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/704/head:refs/remotes/origin/PR-704 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 > git config core.sparsecheckout # timeout=10 Fetching without tags Checking out Revision afeee0d94bf592fdeb431b28ec75371b5bbe3e24 (PR-704) Commit message: "Correction of Docker App objects after final review of naming rules" > git checkout -f afeee0d94bf592fdeb431b28ec75371b5bbe3e24 > git rev-list --no-walk 94a78bb498c4ccc8a2f2e34d00423136d546ab9c # timeout=10 Commit message: "Correction of Docker App objects after final review of naming rules" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/704/head:refs/remotes/origin/PR-704 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 > git config core.sparsecheckout # timeout=10 > git checkout -f afeee0d94bf592fdeb431b28ec75371b5bbe3e24 + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-704-14 -f Dockerfile.lint . [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-PR-704-14 --build-arg COMMIT=afeee0d9 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=build -t docker-app-cli:jenkins-app-PR-704-14 . Sending build context to Docker daemon 76.19MB Step 1/8 : ARG ALPINE_VERSION=3.10 Step 2/8 : ARG GO_VERSION=1.12.9 Step 3/8 : FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} ---> e0d646523991 Step 4/8 : RUN apk add --no-cache curl git make coreutils ---> Using cache ---> 252678555594 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 ---> 3534648a378e Step 6/8 : WORKDIR /go/src/github.com/docker/app ---> Using cache ---> 1a0db23e154d Step 7/8 : ENV CGO_ENABLED=0 ---> Using cache ---> 02eb9f92c2be Step 8/8 : COPY . . Sending build context to Docker daemon 76.19MB Step 1/8 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/8 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Running in 4e6ea351d113 Removing intermediate container 4e6ea351d113 ---> 03bb7570eedf Step 3/8 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 5909020cfda5 Reading package lists...Fetching without tags Checking out Revision afeee0d94bf592fdeb431b28ec75371b5bbe3e24 (PR-704) 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 Commit message: "Correction of Docker App objects after final review of naming rules" 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 95.2 kB of archives. After this operation, 211 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 95.2 kB in 0s (362 kB/s) Selecting previously unselected package uuid-runtime. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 25419 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... Unpacking uuid-runtime (2.33.1-0.1) ... Setting up uuid-runtime (2.33.1-0.1) ... Adding group `uuidd' (GID 102) ... Done. Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory Adding system user `uuidd' (UID 101) ... Adding new user `uuidd' (UID 101) with group `uuidd' ... Not creating home directory `/run/uuidd'. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. [Pipeline] ansiColor [Pipeline] { [Pipeline] sh > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/704/head:refs/remotes/origin/PR-704 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 > git config core.sparsecheckout # timeout=10 > git checkout -f afeee0d94bf592fdeb431b28ec75371b5bbe3e24 + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-704-14 --build-arg COMMIT=afeee0d9 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-704-14 . ---> 1ed7fd64e688 Successfully built 1ed7fd64e688 Successfully tagged docker-app-lint:jenkins-app-PR-704-14 docker run --rm docker-app-lint:jenkins-app-PR-704-14 make lint Removing intermediate container 5909020cfda5 ---> e3fc6351a6d0 Step 4/8 : WORKDIR /go/src/github.com/docker/cli ---> Running in add8bbe2b364 Removing intermediate container add8bbe2b364 ---> 597e6be4611d Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in d9f5b3979175 Sending build context to Docker daemon 76.19MB Step 1/13 : ARG ALPINE_VERSION=3.10.1 Step 2/13 : FROM golang:1.13.0 AS build ---> c4d6fdf2260a Step 3/13 : RUN apt-get update -qq && apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> f62933934e13 Step 4/13 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> a70d5c330720 Step 5/13 : COPY . . Cloning into '.'... Linting... ---> 0f76f7d24c7a Step 6/13 : ARG TAG="unknown" ---> Running in 986ba0890c6c Removing intermediate container 986ba0890c6c ---> 4591deb94ef1 Step 7/13 : RUN make BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run ---> Running in a61a7559d8dd Note: checking out 'a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=afeee0d9 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-14 -X github.com/docker/app/internal.BuildTime=2019-10-24T09:24:51Z" -o bin/cnab-run ./cmd/cnab-run Removing intermediate container d9f5b3979175 ---> 037190f6b242 Step 6/8 : ARG GOPROXY ---> Running in cd0fa74994bb Removing intermediate container cd0fa74994bb ---> 9621177c981d Step 7/8 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in d80a801de331 ./scripts/build/osx Building build/docker-darwin-amd64 [Pipeline] sh + make -f docker.Makefile check-vendor docker build --build-arg TAG=jenkins-app-PR-704-14 --build-arg COMMIT=afeee0d9 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-704-14 . Sending build context to Docker daemon 76.19MB Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> 3671d63f6b30 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 69021380751e Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> b9ba7a92a947 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 79ec678a17a3 Step 6/18 : ARG GOPROXY ---> Using cache ---> 90fdf5caf99c Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> d6b0f304a66f Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 848cc9530145 Step 9/18 : FROM build AS dev ---> 848cc9530145 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 5ec16afa1814 Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> 8206ed10c4bd 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 ---> 2daf13deb0b2 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 4b2ea92bb999 Step 14/18 : ARG GOPROXY ---> Using cache ---> 4a9b10c9c999 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 ---> 87cf45b6e0dc 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 ---> 123ca8837989 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 ---> 7fd8f508c11c Step 18/18 : COPY . . ---> e812a32fc78b [Warning] One or more build-args [TAG ALPINE_VERSION COMMIT] were not consumed Successfully built e812a32fc78b Successfully tagged docker-app-dev:jenkins-app-PR-704-14 Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-704-14 sh -c "make vendor && hack/check-git-diff vendor" rm -rf vendor 1>&1 dep ensure -v (1/104) Wrote github.com/Masterminds/semver@v1.4.2 (2/104) Wrote github.com/containerd/console@master (3/104) Wrote github.com/davecgh/go-spew@v1.1.1 (4/104) Wrote github.com/containerd/continuity@master (5/104) Wrote github.com/containerd/fifo@master (6/104) Wrote github.com/containerd/ttrpc@master (7/104) Wrote github.com/agl/ed25519@master (8/104) Wrote github.com/beorn7/perks@master (9/104) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1 (10/104) Wrote github.com/containerd/cgroups@master (11/104) Wrote github.com/containerd/typeurl@master (12/104) Wrote github.com/coreos/go-systemd@v20 (13/104) Wrote github.com/Microsoft/go-winio@v0.4.12 (14/104) Wrote github.com/docker/buildx@v0.3.1 (15/104) Wrote vbom.ml/util@master (16/104) Wrote github.com/Microsoft/hcsshim@v0.8.6 (17/104) Wrote github.com/docker/go@v1.5.1-1 (18/104) Wrote github.com/docker/docker-credential-helpers@v0.6.1 (19/104) Wrote github.com/docker/go-events@master (20/104) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2 (21/104) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 (22/104) Wrote github.com/docker/go-connections@v0.4.0 (23/104) Wrote github.com/docker/go-units@v0.3.3 (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/google/go-cmp@v0.2.0 (28/104) Wrote github.com/google/gofuzz@v1.0.0 (29/104) Wrote github.com/google/shlex@master (30/104) Wrote github.com/gorilla/mux@v1.7.1 (31/104) Wrote github.com/grpc-ecosystem/grpc-opentracing@master (32/104) Wrote github.com/globalsign/mgo@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/imdario/mergo@master (36/104) Wrote github.com/inconshreveable/mousetrap@v1.0 (37/104) Wrote github.com/jaguilar/vt100 (from github.com/tonistiigi/vt100)@ad4c4a5743050fb7f88ce968dca9422f72a0e3f2 (38/104) Wrote github.com/docker/compose-on-kubernetes@v0.4.21 (39/104) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2 (40/104) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (41/104) Wrote github.com/googleapis/gnostic@v0.2.0 (42/104) Wrote github.com/mattn/go-shellwords@v1.0.5 (43/104) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1 (44/104) Wrote github.com/json-iterator/go@v1.1.6 (45/104) Wrote github.com/mitchellh/mapstructure@v1.1.2 (46/104) Wrote github.com/miekg/pkcs11@master (47/104) Wrote github.com/modern-go/concurrent@1.0.3 (48/104) Wrote github.com/modern-go/reflect2@1.0.1 (49/104) Wrote github.com/morikuni/aec@master (50/104) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1 (51/104) Wrote github.com/oklog/ulid@v1.3.1 (52/104) Wrote github.com/golang/protobuf@v1.3.1 (53/104) Wrote github.com/opencontainers/image-spec@v1.0.1 (54/104) Wrote github.com/opentracing/opentracing-go@v1.1.0 (55/104) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 (56/104) Wrote github.com/pkg/errors@v0.8.1 (57/104) Wrote github.com/prometheus/client_model@master (58/104) Wrote github.com/prometheus/client_golang@v0.8.0 (59/104) Wrote github.com/prometheus/common@v0.2.0 (60/104) Wrote github.com/qri-io/jsonpointer@v0.1.0 (61/104) Wrote github.com/prometheus/procfs@master (62/104) Wrote github.com/qri-io/jsonschema@v0.1.1 (63/104) Wrote github.com/containerd/containerd@master Removing intermediate container a61a7559d8dd ---> bbcbf27dfac0 Step 8/13 : FROM alpine:${ALPINE_VERSION} as invocation ---> b7b28af77ffe Step 9/13 : RUN apk add --no-cache ca-certificates && adduser -S cnab ---> Running in 5e5ae5e1cca9 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 5e5ae5e1cca9 ---> 86bb6acd3366 Step 10/13 : USER cnab ---> Running in 1a613f174125 (64/104) Wrote github.com/spf13/cobra@v0.0.5 Removing intermediate container 1a613f174125 ---> 5596a0acace1 Step 11/13 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run (65/104) Wrote github.com/sirupsen/logrus@v1.4.1 (66/104) Wrote github.com/spf13/pflag@master (67/104) Wrote github.com/syndtr/gocapability@master ---> 3e56c17a49d2 Step 12/13 : WORKDIR /cnab/app ---> Running in b88d1562bab8 Removing intermediate container b88d1562bab8 ---> 73d4b319b4b7 Step 13/13 : CMD /cnab/app/run ---> Running in 24965678cab6 Removing intermediate container 24965678cab6 ---> b5b220d24a24 [Warning] One or more build-args [COMMIT GOPROXY] were not consumed Successfully built b5b220d24a24 Successfully tagged docker/cnab-app-base:jenkins-app-PR-704-14 docker save docker/cnab-app-base:jenkins-app-PR-704-14 -o _build/invocation-image.tar (68/104) Wrote github.com/tonistiigi/units@master [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-704-14-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-704-14 docker/cnab-app-base:jenkins-app-PR-704-14-coverage docker save docker/cnab-app-base:jenkins-app-PR-704-14-coverage -o _build/coverage-invocation-image.tar (69/104) Wrote github.com/wadey/gocovmerge@master (70/104) Wrote github.com/opencontainers/runc@v1.0.0-rc7 (71/104) Wrote github.com/xeipuuv/gojsonpointer@master [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/_build [Pipeline] { [Pipeline] stash (72/104) Wrote github.com/xeipuuv/gojsonreference@master (73/104) Wrote github.com/tonistiigi/fsutil@master (74/104) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc (75/104) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d (76/104) Wrote github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98 (77/104) Wrote github.com/moby/buildkit@v0.6.2 (78/104) Wrote golang.org/x/oauth2@master (79/104) Wrote golang.org/x/crypto@master (80/104) Wrote golang.org/x/sync@master Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/14/stashes/invocation-image.tgz [Pipeline] stash (81/104) Wrote golang.org/x/time@master (82/104) Wrote golang.org/x/net@master (83/104) Wrote gopkg.in/inf.v0@v0.9.1 (84/104) Wrote google.golang.org/appengine@v1.5.0 Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/14/stashes/coverage-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { [Pipeline] sh (85/104) Wrote github.com/coreos/etcd@v3.3.12 + docker rmi docker/cnab-app-base:jenkins-app-PR-704-14 Untagged: docker/cnab-app-base:jenkins-app-PR-704-14 [Pipeline] sh (86/104) Wrote gotest.tools@v2.3.0 + docker rmi docker/cnab-app-base:jenkins-app-PR-704-14-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-704-14-coverage Deleted: sha256:b5b220d24a2491da487261e777483e02d73ffbcdbed3dec076d069722c3be74a Deleted: sha256:73d4b319b4b719c2efa4d59e246d96b761b7b0b72ed51fbc07d77703961a414c Deleted: sha256:3e56c17a49d262ef332f722954fcb31ebde0583b4f15e29ba6c2fd2c49630707 Deleted: sha256:33aff6619a347d48334bae2a962bdfa21c4e164299b4512f8537a481726be3e6 Deleted: sha256:5596a0acace1d6be3e59b5c7f06ebf82387539a03c3deeeb3e7d804228b75cfb Deleted: sha256:86bb6acd336643e588e37c6eae55fe708af63fc62c0615756949d68270def314 Deleted: sha256:623436d7f7514665e6a2d05ec3762ad017bddd9c68853c74dbb4a1ed8ddae619 [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } (87/104) Wrote gopkg.in/yaml.v2@v2.2.3 (88/104) Wrote k8s.io/klog@v0.2.0 (89/104) Wrote k8s.io/utils@master (90/104) Wrote github.com/Azure/go-ansiterm@master (91/104) Wrote k8s.io/apimachinery@kubernetes-1.14.1 (92/104) Wrote sigs.k8s.io/yaml@v1.1.0 (93/104) Wrote golang.org/x/sys@master (94/104) Wrote google.golang.org/grpc@v1.19.1 (95/104) Wrote github.com/theupdateframework/notary@v0.6.1 (96/104) Wrote golang.org/x/text@v0.3.0 (97/104) Wrote golang.org/x/tools@master ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 (98/104) Wrote k8s.io/client-go@kubernetes-1.14.1 (99/104) Wrote google.golang.org/genproto@master (100/104) Wrote cloud.google.com/go@v0.37.4 (101/104) Wrote github.com/gogo/protobuf@v1.2.1 (102/104) Wrote k8s.io/api@kubernetes-1.14.1 (103/104) Wrote github.com/docker/docker@master WARNING: binary creates a Linux executable. Use cross for macOS or Windows. ./scripts/build/binary Building statically linked build/docker-linux-amd64 (104/104) Wrote k8s.io/kubernetes@v1.14.1 vendor is correct [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Removing intermediate container d80a801de331 ---> 46dc948bfaaa Step 8/8 : WORKDIR /go/src/github.com/docker/app/ ---> Running in ebf62ec2eeba Removing intermediate container ebf62ec2eeba ---> 65047202c719 [Warning] One or more build-args [TAG ALPINE_VERSION COMMIT] were not consumed Successfully built 65047202c719 Successfully tagged docker-app-cli:jenkins-app-PR-704-14 docker create --name docker-app-cli-jenkins-app-PR-704-14 docker-app-cli:jenkins-app-PR-704-14 noop 44f0367ffd51e0b9c0cfef13e480f2d6c3b883014f04c215ba90f4be36afb51b docker cp docker-app-cli-jenkins-app-PR-704-14:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux docker cp docker-app-cli-jenkins-app-PR-704-14:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin docker cp docker-app-cli-jenkins-app-PR-704-14:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe docker rm docker-app-cli-jenkins-app-PR-704-14 docker-app-cli-jenkins-app-PR-704-14 docker build --build-arg TAG=jenkins-app-PR-704-14 --build-arg COMMIT=afeee0d9 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=cross -t docker-app-cross:jenkins-app-PR-704-14 . Sending build context to Docker daemon 76.19MB Step 1/21 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/21 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> 03bb7570eedf Step 3/21 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> e3fc6351a6d0 Step 4/21 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 597e6be4611d Step 5/21 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 037190f6b242 Step 6/21 : ARG GOPROXY ---> Using cache ---> 9621177c981d Step 7/21 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 46dc948bfaaa Step 8/21 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 65047202c719 Step 9/21 : FROM build AS dev ---> 65047202c719 Step 10/21 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in 2d1f6a7f2fcb Removing intermediate container 2d1f6a7f2fcb ---> 7b15adda1c77 Step 11/21 : ARG DEP_VERSION=v0.5.4 ---> Running in f6f1df8a8db2 Removing intermediate container f6f1df8a8db2 ---> 6b3364d12e1d Step 12/21 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep ---> Running in e8a3b05f59b3  % 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 6505 0 --:--:-- --:--:-- --:--:-- 6505  3 10.5M 3 338k 0 0 1991k 0 0:00:05 --:--:-- 0:00:05 1991k 100 10.5M 100 10.5M 0  0 48.2M 0 --:--:-- --:--:-- --:--:-- 213M Removing intermediate container e8a3b05f59b3 ---> 9b3aaf5af0dd Step 13/21 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 11e1b302e7f9 Removing intermediate container 11e1b302e7f9 ---> 8a19be67de79 Step 14/21 : ARG GOPROXY ---> Running in b93f7910ef7f Removing intermediate container b93f7910ef7f ---> 3ecf21eed7cc Step 15/21 : RUN mkdir $GOPATH/src/gotest.tools && git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum && cd $GOPATH/src/gotest.tools/gotestsum && git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION && GO111MODULE=on GOOS=linux go build -o /usr/local/bin/gotestsum-linux gotest.tools/gotestsum && GO111MODULE=on GOOS=darwin go build -o /usr/local/bin/gotestsum-darwin gotest.tools/gotestsum && GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum && ln -s gotestsum-linux /usr/local/bin/gotestsum ---> Running in 44d370df3848 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding github.com/sirupsen/logrus v1.0.5 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding github.com/stretchr/testify v1.3.0 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding github.com/fatih/color v1.6.0 go: finding github.com/mattn/go-isatty v0.0.3 go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding github.com/onsi/gomega v1.4.3 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding github.com/davecgh/go-spew v1.1.0 go: finding gotest.tools v2.1.0+incompatible go: finding github.com/pmezard/go-difflib v1.0.0 go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding golang.org/x/text v0.3.0 go: finding github.com/stretchr/objx v0.1.0 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding github.com/golang/protobuf v1.2.0 go: finding github.com/hpcloud/tail v1.0.0 go: finding github.com/onsi/ginkgo v1.6.0 go: finding github.com/fsnotify/fsnotify v1.4.7 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/spf13/pflag v1.0.1 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading github.com/fatih/color v1.6.0 go: downloading github.com/jonboulle/clockwork v0.1.0 go: extracting github.com/pkg/errors v0.8.0 go: downloading github.com/sirupsen/logrus v1.0.5 go: extracting github.com/jonboulle/clockwork v0.1.0 go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting github.com/sirupsen/logrus v1.0.5 go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting github.com/spf13/pflag v1.0.1 go: extracting github.com/fatih/color v1.6.0 go: downloading github.com/mattn/go-colorable v0.0.9 go: downloading github.com/mattn/go-isatty v0.0.3 go: extracting github.com/mattn/go-isatty v0.0.3 go: extracting github.com/mattn/go-colorable v0.0.9 go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e Removing intermediate container 44d370df3848 ---> e01fd08182e0 Step 16/21 : RUN GOOS=linux go build -o /usr/local/bin/test2json-linux cmd/test2json && GOOS=darwin go build -o /usr/local/bin/test2json-darwin cmd/test2json && GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json ---> Running in fa11f7ce41de Removing intermediate container fa11f7ce41de ---> b4ef86863ebf Step 17/21 : RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.com/mjibson/esc && go build -v -o /usr/bin/esc . && rm -rf /go/src/* /go/pkg/* /go/bin/* ---> Running in b10d309f46bd golang.org/x/tools/internal/semver github.com/pkg/errors golang.org/x/tools/go/ast/astutil golang.org/x/tools/go/internal/gcimporter golang.org/x/tools/go/internal/packagesdriver golang.org/x/tools/internal/fastwalk golang.org/x/tools/internal/gopathwalk golang.org/x/tools/internal/span golang.org/x/tools/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 b10d309f46bd ---> 27a5d79ba53f Step 18/21 : COPY . . ---> 7d3f81a1f941 Step 19/21 : FROM dev AS cross ---> 7d3f81a1f941 Step 20/21 : ARG TAG="unknown" ---> Running in 7fb4ed2b4098 Removing intermediate container 7fb4ed2b4098 ---> 135b65478ac4 Step 21/21 : RUN make TAG=${TAG} cross ---> Running in b63c7badce26 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=afeee0d9 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-14 -X github.com/docker/app/internal.BuildTime=2019-10-24T09:29:55Z" -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=afeee0d9 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-14 -X github.com/docker/app/internal.BuildTime=2019-10-24T09:29:55Z" -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=afeee0d9 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-14 -X github.com/docker/app/internal.BuildTime=2019-10-24T09:29:55Z" -o bin/docker-app-windows.exe ./cmd/docker-app Removing intermediate container b63c7badce26 ---> 7425c0de4427 [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 7425c0de4427 Successfully tagged docker-app-cross:jenkins-app-PR-704-14 docker create --name docker-app-cross-jenkins-app-PR-704-14 docker-app-cross:jenkins-app-PR-704-14 noop e35e2897a903c65588281ea070dc72730815419062db9a2ea4ac39ba0c17c6f6 docker cp docker-app-cross-jenkins-app-PR-704-14:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux docker cp docker-app-cross-jenkins-app-PR-704-14:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin docker cp docker-app-cross-jenkins-app-PR-704-14:/go/src/github.com/docker/app/bin/docker-app-windows.exe bin/docker-app-windows.exe docker rm docker-app-cross-jenkins-app-PR-704-14 docker-app-cross-jenkins-app-PR-704-14 docker build --build-arg TAG=jenkins-app-PR-704-14 --build-arg COMMIT=afeee0d9 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-704-14 . Sending build context to Docker daemon 76.19MB Step 1/24 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/24 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> 03bb7570eedf Step 3/24 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> e3fc6351a6d0 Step 4/24 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 597e6be4611d Step 5/24 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 037190f6b242 Step 6/24 : ARG GOPROXY ---> Using cache ---> 9621177c981d Step 7/24 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 46dc948bfaaa Step 8/24 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 65047202c719 Step 9/24 : FROM build AS dev ---> 65047202c719 Step 10/24 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 7b15adda1c77 Step 11/24 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> 6b3364d12e1d Step 12/24 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep ---> Using cache ---> 9b3aaf5af0dd Step 13/24 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 8a19be67de79 Step 14/24 : ARG GOPROXY ---> Using cache ---> 3ecf21eed7cc Step 15/24 : RUN mkdir $GOPATH/src/gotest.tools && git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum && cd $GOPATH/src/gotest.tools/gotestsum && git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION && GO111MODULE=on GOOS=linux go build -o /usr/local/bin/gotestsum-linux gotest.tools/gotestsum && GO111MODULE=on GOOS=darwin go build -o /usr/local/bin/gotestsum-darwin gotest.tools/gotestsum && GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum && ln -s gotestsum-linux /usr/local/bin/gotestsum ---> Using cache ---> e01fd08182e0 Step 16/24 : RUN GOOS=linux go build -o /usr/local/bin/test2json-linux cmd/test2json && GOOS=darwin go build -o /usr/local/bin/test2json-darwin cmd/test2json && GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json ---> Using cache ---> b4ef86863ebf Step 17/24 : RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.com/mjibson/esc && go build -v -o /usr/bin/esc . && rm -rf /go/src/* /go/pkg/* /go/bin/* ---> Using cache ---> 27a5d79ba53f Step 18/24 : COPY . . ---> Using cache ---> 7d3f81a1f941 Step 19/24 : FROM dev AS cross ---> 7d3f81a1f941 Step 20/24 : ARG TAG="unknown" ---> Using cache ---> 135b65478ac4 Step 21/24 : RUN make TAG=${TAG} cross ---> Using cache ---> 7425c0de4427 Step 22/24 : FROM cross AS e2e-cross ---> 7425c0de4427 Step 23/24 : ARG TAG="unknown" ---> Running in 07de0ade4672 Removing intermediate container 07de0ade4672 ---> 70c06809a19b Step 24/24 : RUN make TAG=${TAG} e2e-cross ---> Running in 3ff14d50a9f0 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=afeee0d9 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-14 -X github.com/docker/app/internal.BuildTime=2019-10-24T09:32:57Z" -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=afeee0d9 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-14 -X github.com/docker/app/internal.BuildTime=2019-10-24T09:32:57Z" -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=afeee0d9 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-14 -X github.com/docker/app/internal.BuildTime=2019-10-24T09:32:57Z" -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=afeee0d9 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-14 -X github.com/docker/app/internal.BuildTime=2019-10-24T09:32:57Z" -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=afeee0d9 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-14 -X github.com/docker/app/internal.BuildTime=2019-10-24T09:32:57Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ Removing intermediate container 3ff14d50a9f0 ---> fda54c6fceac [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built fda54c6fceac Successfully tagged docker-app-e2e-cross:jenkins-app-PR-704-14 docker create --name docker-app-e2e-cross-jenkins-app-PR-704-14 docker-app-e2e-cross:jenkins-app-PR-704-14 noop 618d4403365f7e22dc0f33644b61cfc750e998e0b05ec5ad059a1e1e1f4466a6 docker cp docker-app-e2e-cross-jenkins-app-PR-704-14:/go/src/github.com/docker/app/bin/docker-app-e2e-linux bin/docker-app-e2e-linux docker cp docker-app-e2e-cross-jenkins-app-PR-704-14:/go/src/github.com/docker/app/bin/docker-app-e2e-darwin bin/docker-app-e2e-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-704-14:/go/src/github.com/docker/app/bin/docker-app-e2e-windows.exe bin/docker-app-e2e-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-704-14:/usr/local/bin/gotestsum-linux bin/gotestsum-linux docker cp docker-app-e2e-cross-jenkins-app-PR-704-14:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-704-14:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-704-14:/usr/local/bin/test2json-linux bin/test2json-linux docker cp docker-app-e2e-cross-jenkins-app-PR-704-14:/usr/local/bin/test2json-darwin bin/test2json-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-704-14:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe docker rm docker-app-e2e-cross-jenkins-app-PR-704-14 docker-app-e2e-cross-jenkins-app-PR-704-14 tar --transform='flags=r;s|docker-app-linux|docker-app-plugin-linux|' -czf bin/docker-app-linux.tar.gz -C bin docker-app-linux tar czf bin/docker-app-e2e-linux.tar.gz -C bin docker-app-e2e-linux tar --transform='flags=r;s|docker-app-darwin|docker-app-plugin-darwin|' -czf bin/docker-app-darwin.tar.gz -C bin docker-app-darwin tar czf bin/docker-app-e2e-darwin.tar.gz -C bin docker-app-e2e-darwin tar --transform='flags=r;s|docker-app-windows|docker-app-plugin-windows|' -czf bin/docker-app-windows.tar.gz -C bin docker-app-windows.exe tar czf bin/docker-app-e2e-windows.tar.gz -C bin docker-app-e2e-windows.exe [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/bin [Pipeline] { [Pipeline] stash Stashed 21 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/14/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] stash Stashed 65 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/14/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/examples [Pipeline] { [Pipeline] stash Stashed 48 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/14/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-704-14* + xargs docker image rm -f Untagged: docker-app-e2e-cross:jenkins-app-PR-704-14 Deleted: sha256:fda54c6fceac93cf3b5510fea5e5890f1991929060ce4f0ddbfc6d7109cc5d00 Deleted: sha256:74e36e4d00181c9370b3cfd1990e8ec7af7fdc38bf1a23f58cadd18c098cada6 Deleted: sha256:70c06809a19b626736af78050419348d936364a282a0430d9d609efc83f3b9e3 Untagged: docker-app-cross:jenkins-app-PR-704-14 Deleted: sha256:7425c0de442782ea8ef16dfa5e07b609411c40c2ccfe42e37b243804cabfbd1f Deleted: sha256:bd3293e42e04a3b4d7b0402f70ac7b596511a8776fc1fcae3cbb66afce268b6b Deleted: sha256:135b65478ac433d07adc124dffd27bc11c041ff49b22d5bd2ce0ed9e1515c30e Deleted: sha256:7d3f81a1f941fa04fc6b89709b8b837e0a63385590b706a938e5ab2bd39f78d0 Deleted: sha256:bc111d20cebdcc2057cae8ca055b90611f8766a90d7e16e096eabac05c9651b2 Deleted: sha256:27a5d79ba53fba701fd7169eb3f55e380ddf47b0b6fc14e8d9a2c30c0a9d763d Deleted: sha256:ea10d3084974e87c0cc85f4f5ec484eb475502fa0617eda342184f215832e96f Deleted: sha256:b4ef86863ebfb90167f746eb6ec963541549a96025ec6583e3dcc6bc89ba2828 Deleted: sha256:0094b26c90b78c66653276aaa07fcbfe354886dc66e132eb13de2f80f6e8c6be Deleted: sha256:e01fd08182e0a2bd6fca13ff91761b03caeebf438086269607c2f6438a3c8875 Deleted: sha256:c860de3d80c6554aa82ae842690bd36ed31d8f36737d0242d7ce580741952867 Deleted: sha256:3ecf21eed7cc020474b6339232d1eb4754d8b497d0a942ed42059e2b00577dd6 Deleted: sha256:8a19be67de793278c32ae3dff515d7add02b90188cc8be57b0dae4ffa1b8ed63 Deleted: sha256:9b3aaf5af0ddcbaa9f2e6accd40d3b7b95dbfc07982b17ff2fe54e2a48c6835b Deleted: sha256:3a56c34bad1e9ee42ef32463280dd2bc63464f54007306bff4be49fed5a88525 Deleted: sha256:6b3364d12e1d74313843ba5e4bacf68870337b71c77a79e29b98c2e6efa4a3e4 Deleted: sha256:7b15adda1c7741d6cc07d4d8a5eb0b5cdfeab6d07e67f563afa436e772369698 Untagged: docker-app-cli:jenkins-app-PR-704-14 Deleted: sha256:65047202c719f907a7693cb866686b6770384338cacbe85ad59a0246510a1f03 Deleted: sha256:eb977ad286d51ce21b2de6cb2728aad8e997455103153a1ba4e6905b3bc3f1ec Deleted: sha256:46dc948bfaaa93ed857f485ad85cf5a2d69467db08552f2e5b63839ca3f77173 Deleted: sha256:7caf4757c376b377cea2bd3f2fe07f2e9b52e5894c0c3f6bc8bba82dd41faa5f Deleted: sha256:9621177c981dc7eca329669e1e22dc221917f00434a0f9eed87c883f7b78341e Deleted: sha256:037190f6b242d80ef7f9f1f89959c4e079b0797155050ac5733691a9176a1a98 Deleted: sha256:2fa4922427f29ea67b1accc5d019cb202d7340b6785f92c4494ac440092b45cf Deleted: sha256:597e6be4611de914ff9d2c28364e95c92156003426c86e52c4f9f7610329d599 Deleted: sha256:8cc3a31b2dd527958b237fdec4f8a71f73088cab095efe95761273cd8bf77b73 Deleted: sha256:e3fc6351a6d06382af572ec46b3cc9175dce3f420c8715e24c888ecfe8a8e4ea Deleted: sha256:da5968d70ab33c75c647ff37db7515c5a78ebba607559c915f4483641ce54cca Deleted: sha256:03bb7570eedf40f647de14e6ddf530823192cdcbbb5679f4c1740cef29fa0067 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] parallel [Pipeline] { (Branch: Coverage) [Pipeline] { (Branch: Test Linux) [Pipeline] stage [Pipeline] { (Coverage) [Pipeline] stage [Pipeline] { (Test Linux) [Pipeline] node [Pipeline] node Running on ubuntu-1804-overlay2 (i-02651c258d5841a4d) in /home/ubuntu/workspace/app_PR-704 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { [Pipeline] checkout using credential docker-jenkins-github-credentials Running on ubuntu-1804-overlay2 (i-0d15195243fbac419) in /home/ubuntu/workspace/app_PR-704 [Pipeline] { Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/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-704/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 Fetching without tags Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/704/head:refs/remotes/origin/PR-704 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/704/head:refs/remotes/origin/PR-704 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 Checking out Revision afeee0d94bf592fdeb431b28ec75371b5bbe3e24 (PR-704) Checking out Revision afeee0d94bf592fdeb431b28ec75371b5bbe3e24 (PR-704) Commit message: "Correction of Docker App objects after final review of naming rules" Commit message: "Correction of Docker App objects after final review of naming rules" > git config core.sparsecheckout # timeout=10 > git checkout -f afeee0d94bf592fdeb431b28ec75371b5bbe3e24 > git config core.sparsecheckout # timeout=10 > git checkout -f afeee0d94bf592fdeb431b28ec75371b5bbe3e24 [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/14/stashes/invocation-image.tgz [Pipeline] sh Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/14/stashes/coverage-invocation-image.tgz [Pipeline] sh + docker load -i invocation-image.tar + docker load -i coverage-invocation-image.tar Loaded image: docker/cnab-app-base:jenkins-app-PR-704-14 [Pipeline] } [Pipeline] // dir [Pipeline] unstash Loaded image: docker/cnab-app-base:jenkins-app-PR-704-14-coverage [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile TAG=jenkins-app-PR-704-14-coverage coverage-run docker build --build-arg TAG=jenkins-app-PR-704-14-coverage --build-arg COMMIT=afeee0d9 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-704-14 . Sending build context to Docker daemon 76.19MB Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> ff8c53883570 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 19912054ddad Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 5aaa557add0d Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> a46b1d296d64 Step 6/18 : ARG GOPROXY ---> Using cache ---> 20ee3f99aea5 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> c5a384b76ce1 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 61738b8d1a7a Step 9/18 : FROM build AS dev ---> 61738b8d1a7a Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 96bb6240deec Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> f2500162620b Step 12/18 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep ---> Using cache ---> 20139bbfa85c Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 8a3b4e89751e Step 14/18 : ARG GOPROXY ---> Using cache ---> 82296c48e129 Step 15/18 : RUN mkdir $GOPATH/src/gotest.tools && git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum && cd $GOPATH/src/gotest.tools/gotestsum && git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION && GO111MODULE=on GOOS=linux go build -o /usr/local/bin/gotestsum-linux gotest.tools/gotestsum && GO111MODULE=on GOOS=darwin go build -o /usr/local/bin/gotestsum-darwin gotest.tools/gotestsum && GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum && ln -s gotestsum-linux /usr/local/bin/gotestsum ---> Using cache ---> 72e8d0cdd7cf Step 16/18 : RUN GOOS=linux go build -o /usr/local/bin/test2json-linux cmd/test2json && GOOS=darwin go build -o /usr/local/bin/test2json-darwin cmd/test2json && GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json ---> Using cache ---> 0e49957b730f Step 17/18 : RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.com/mjibson/esc && go build -v -o /usr/bin/esc . && rm -rf /go/src/* /go/pkg/* /go/bin/* ---> Using cache ---> 16f73f6a99ea Step 18/18 : COPY . . ---> c7db373814e9 [Warning] One or more build-args [ALPINE_VERSION COMMIT TAG] were not consumed Successfully built c7db373814e9 Successfully tagged docker-app-dev:jenkins-app-PR-704-14 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-704-14-coverage --network="host" -t docker-app-dev:jenkins-app-PR-704-14 make COMMIT=afeee0d9 TAG=jenkins-app-PR-704-14-coverage TEST_RESULTS_PREFIX= coverage Running unit tests (coverage)... CGO_ENABLED=0 gotestsum --junitfile _build/test-results/unit-coverage.xml -- -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=afeee0d9 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-14-coverage -X github.com/docker/app/internal.BuildTime=2019-10-24T09:35:24Z" -cover -test.coverprofile=_build/cov/unit.out github.com/docker/app github.com/docker/app/cmd/cnab-run github.com/docker/app/cmd/docker-app github.com/docker/app/internal github.com/docker/app/internal/cnab github.com/docker/app/internal/commands github.com/docker/app/internal/commands/build github.com/docker/app/internal/commands/image github.com/docker/app/internal/compose github.com/docker/app/internal/formatter github.com/docker/app/internal/formatter/driver github.com/docker/app/internal/formatter/json github.com/docker/app/internal/formatter/yaml github.com/docker/app/internal/inspect github.com/docker/app/internal/log github.com/docker/app/internal/packager github.com/docker/app/internal/slices github.com/docker/app/internal/store github.com/docker/app/internal/yaml github.com/docker/app/loader github.com/docker/app/render github.com/docker/app/specification github.com/docker/app/types github.com/docker/app/types/metadata github.com/docker/app/types/parameters ∅ . Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/14/stashes/binaries.tgz [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/examples [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/14/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/14/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + ./gotestsum-linux --format short-verbose --junitfile e2e-linux.xml --raw-command -- ./test2json-linux -t -p e2e/linux ./docker-app-e2e-linux -test.v --e2e-path=e2e PASS e2e/linux.TestBuild (15.53s) PASS e2e/linux.TestQuietBuild (13.17s) PASS e2e/linux.TestBuildWithoutTag (12.97s) PASS e2e/linux.TestBuildWithArgs (12.98s) PASS e2e/linux.TestBuildWithArgsDefinedTwice (11.51s) PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (3.23s) PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (3.03s) PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (3.00s) PASS e2e/linux.TestCallCustomStatusAction (9.26s) PASS e2e/linux.TestCnabParameters (3.17s) PASS e2e/linux.TestExitErrorCode (0.06s) PASS e2e/linux.TestRender/envvariables/stdout (1.79s) PASS e2e/linux.TestRender/envvariables/file (1.60s) PASS e2e/linux.TestRender/envvariables (3.39s) PASS e2e/linux.TestRender (3.39s) ∅ cmd/cnab-run ∅ cmd/docker-app ✓ internal (28ms) ✓ internal/cnab (51ms) PASS e2e/linux.TestRenderFormatters (15.38s) PASS e2e/linux.TestInit (0.14s) ✓ internal/commands/build (20ms) ✓ internal/commands (598ms) ✓ internal/compose (10ms) ✓ internal/formatter (3ms) ✓ internal/commands/image (29ms) ∅ internal/formatter/driver ∅ internal/formatter/json ∅ internal/formatter/yaml ✓ internal/inspect (134ms) ∅ internal/log ✓ internal/slices (13ms) ✓ internal/store (29ms) ✓ internal/packager (55ms) ✓ internal/yaml (8ms) ✓ loader (29ms) ✓ render (73ms) PASS e2e/linux.TestInspectApp (19.78s) === RUN TestRunOnlyOne --- FAIL: TestRunOnlyOne (0.13s) commands_test.go:191: assertion failed: Command: /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/docker-linux app run --cnab-bundle-json bundle.json myapp ExitCode: 1 Error: exit status 1 Stdout: Stderr: "docker app run" cannot run a bundle and an App image Failures: Expected stderr to contain "\"docker app run\" cannot run a bundle and an app image" FAIL e2e/linux.TestRunOnlyOne (0.13s) ✓ specification (8ms) ✓ types (40ms) ✓ types/parameters (4ms) ✓ types/metadata (25ms) DONE 231 tests in 125.054s CGO_ENABLED=0 go test -tags=" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=afeee0d9 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-14-coverage -X github.com/docker/app/internal.BuildTime=2019-10-24T09:35:24Z" -coverpkg="./..." -c -o _build/docker-app.cov ./cmd/docker-app Running e2e tests (coverage)... DOCKERAPP_BINARY=../e2e/coverage-bin CGO_ENABLED=0 gotestsum --junitfile _build/test-results/e2e-coverage.xml -- -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=afeee0d9 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-14-coverage -X github.com/docker/app/internal.BuildTime=2019-10-24T09:35:24Z" -v ./e2e PASS e2e/linux.TestDockerAppLifecycle/withBindMounts (27.95s) PASS e2e/linux.TestDockerAppLifecycle/withoutBindMounts (20.83s) PASS e2e/linux.TestDockerAppLifecycle (48.79s) PASS e2e/linux.TestCredentials/missing (0.07s) PASS e2e/linux.TestCredentials/full (1.54s) PASS e2e/linux.TestCredentials/mixed-credstore (1.63s) PASS e2e/linux.TestCredentials/mixed-local-cred (1.52s) PASS e2e/linux.TestCredentials/overload (0.06s) PASS e2e/linux.TestCredentials (4.83s) PASS e2e/linux.TestRenderWithEnvFile (1.86s) PASS e2e/linux.TestExamplesAreValid (0.26s) PASS e2e/linux.TestImageList (19.01s) PASS e2e/linux.TestImageListQuiet (13.84s) PASS e2e/linux.TestImageRm (13.44s) PASS e2e/linux.TestImageTag (14.66s) PASS e2e/linux.TestInvokePluginFromCLI (0.20s) PASS e2e/linux.TestPushArchs/default (3.41s) PASS e2e/linux.TestPushArchs/all-platforms (1.19s) PASS e2e/linux.TestPushArchs (15.76s) PASS e2e/linux.TestPushInsecureRegistry (18.45s) PASS e2e/linux.TestPushInstall (17.63s) PASS e2e/linux.TestPushPullInstall (17.67s) PASS e2e/linux.TestPushInstallBundle/push-bundle (5.25s) PASS e2e/linux.TestPushInstallBundle/push-ref (1.50s) PASS e2e/linux.TestPushInstallBundle/push-bundleref (2.21s) PASS e2e/linux.TestPushInstallBundle (22.73s) FAIL e2e/linux === Failed === FAIL: e2e/linux TestRunOnlyOne (0.13s) commands_test.go:191: assertion failed: Command: /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/docker-linux app run --cnab-bundle-json bundle.json myapp ExitCode: 1 Error: exit status 1 Stdout: Stderr: "docker app run" cannot run a bundle and an App image Failures: Expected stderr to contain "\"docker app run\" cannot run a bundle and an app image" DONE 45 tests, 1 failure in 326.616s time="2019-10-24T09:40:53Z" level=warning msg="failed to lookup go version for junit xml" error="exec: \"go\": executable file not found in $PATH" [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] archiveArtifacts Archiving artifacts Uploaded 1 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/14/artifacts/ [Pipeline] junit Recording test results [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-704-14 Untagged: docker/cnab-app-base:jenkins-app-PR-704-14 [Pipeline] deleteDir [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Test Linux ✖ e2e (5m35.4s) === Failed === FAIL: e2e TestRunOnlyOne (0.17s) commands_test.go:191: assertion failed: Command: docker app run --cnab-bundle-json bundle.json myapp ExitCode: 1 Error: exit status 1 Stdout: Stderr: "docker app run" cannot run a bundle and an App image Failures: Expected stderr to contain "\"docker app run\" cannot run a bundle and an app image" DONE 45 tests, 1 failure in 339.326s make: *** [Makefile:96: coverage-test-e2e] Error 1 docker.Makefile:100: recipe for target 'coverage-run' failed make: *** [coverage-run] Error 2 [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/_build/test-results [Pipeline] { [Pipeline] sh + [ ! -e unit-coverage.xml ] [Pipeline] sh + [ ! -e e2e-coverage.xml ] [Pipeline] archiveArtifacts Archiving artifacts [Pipeline] junit Recording test results No test report files were found. Configuration error? [Pipeline] } [Pipeline] // dir Error when executing always post condition: hudson.AbortException: No test report files were found. Configuration error? at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:154) at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:118) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3050) at hudson.remoting.UserRequest.perform(UserRequest.java:212) at hudson.remoting.UserRequest.perform(UserRequest.java:54) at hudson.remoting.Request$2.run(Request.java:369) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.lang.Thread.run(Thread.java:834) Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to ubuntu-1804-overlay2 (i-0d15195243fbac419) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357) at hudson.remoting.Channel.call(Channel.java:957) at hudson.FilePath.act(FilePath.java:1070) at hudson.FilePath.act(FilePath.java:1059) at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:114) at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:137) at hudson.tasks.junit.JUnitResultArchiver.parseAndAttach(JUnitResultArchiver.java:167) at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:52) at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:25) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Coverage [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result ERROR: script returned exit code 1 Finished: FAILURE