Pull request #683 updated 10:09:42 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from bdb9d1ad403c817cd33325cd58f3e0c4d96b9a61 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-0bc57f531e1247951) in /home/ubuntu/workspace/app_PR-683 [Pipeline] { Running on ubuntu-1804-overlay2 (i-08626a84a6efa402a) in /home/ubuntu/workspace/app_PR-683 [Pipeline] { Running on ubuntu-1804-overlay2 (i-0f16f74b16cf270e2) in /home/ubuntu/workspace/app_PR-683 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app [Pipeline] { using credential docker-jenkins-github-credentials [Pipeline] checkout [Pipeline] script [Pipeline] { Cloning the remote Git repository Cloning with configured refspecs honoured and without tags using credential docker-jenkins-github-credentials [Pipeline] checkout Cloning the remote Git repository Cloning with configured refspecs honoured and without tags using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-683/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/683/head:refs/remotes/origin/PR-683 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-683/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/683/head:refs/remotes/origin/PR-683 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-683/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/683/head:refs/remotes/origin/PR-683 Fetching without tags Checking out Revision bdb9d1ad403c817cd33325cd58f3e0c4d96b9a61 (PR-683) Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/683/head:refs/remotes/origin/PR-683 # 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/683/head:refs/remotes/origin/PR-683 > git config core.sparsecheckout # timeout=10 > git checkout -f bdb9d1ad403c817cd33325cd58f3e0c4d96b9a61 Checking out Revision bdb9d1ad403c817cd33325cd58f3e0c4d96b9a61 (PR-683) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/683/head:refs/remotes/origin/PR-683 # 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/683/head:refs/remotes/origin/PR-683 Commit message: "added app labels to container metadata" First time build. Skipping changelog. Fetching without tags Checking out Revision bdb9d1ad403c817cd33325cd58f3e0c4d96b9a61 (PR-683) Commit message: "added app labels to container metadata" Commit message: "added app labels to container metadata" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-683-7 -f Dockerfile.lint . > git rev-list --no-walk df1bde76cb4aa97117d5c34eb1d96069a63be4d1 # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bdb9d1ad403c817cd33325cd58f3e0c4d96b9a61 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/683/head:refs/remotes/origin/PR-683 # 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/683/head:refs/remotes/origin/PR-683 > git config core.sparsecheckout # timeout=10 > git checkout -f bdb9d1ad403c817cd33325cd58f3e0c4d96b9a61 [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg EXPERIMENTAL=off --build-arg TAG=jenkins-app-PR-683-7 --build-arg COMMIT=bdb9d1ad --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-683-7 . + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg EXPERIMENTAL=off --build-arg TAG=jenkins-app-PR-683-7 --build-arg COMMIT=bdb9d1ad --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=build -t docker-app-cli:jenkins-app-PR-683-7 . Sending build context to Docker daemon 76.09MB 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 ---> c85d953b4594 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 ---> 13bf55618e65 Step 6/8 : WORKDIR /go/src/github.com/docker/app ---> Using cache ---> 3b88a8e06f83 Step 7/8 : ENV CGO_ENABLED=0 ---> Using cache ---> 9eca20f7b0e2 Step 8/8 : COPY . . Sending build context to Docker daemon 76.09MB Step 1/14 : ARG ALPINE_VERSION=3.10.1 Step 2/14 : FROM golang:1.13.0 AS build ---> c4d6fdf2260a Step 3/14 : RUN apt-get update -qq && apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> b9570cebfea9 Step 4/14 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> ee4eec90bacb Step 5/14 : COPY . . Sending build context to Docker daemon 76.09MB 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 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 ---> 0c96e369c195 Step 6/14 : ARG EXPERIMENTAL="off" ---> Running in 5906a6a7fdd9 Removing intermediate container 5906a6a7fdd9 ---> f8f4382238df Step 7/14 : ARG TAG="unknown" ---> Running in 93a6bcdadc22 ---> 10ad2915267c Successfully built 10ad2915267c Successfully tagged docker-app-lint:jenkins-app-PR-683-7 docker run --rm docker-app-lint:jenkins-app-PR-683-7 make lint Removing intermediate container 93a6bcdadc22 ---> 4640bf51c21b Step 8/14 : RUN make EXPERIMENTAL=${EXPERIMENTAL} BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run ---> Running in 28052b70ec7e Linting... e0ec5610455a: Verifying Checksum e0ec5610455a: Download complete CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=bdb9d1ad -X github.com/docker/app/internal.Version=jenkins-app-PR-683-7 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T10:09:54Z" -o bin/cnab-run ./cmd/cnab-run 4e549f0f5e64: Verifying Checksum 4e549f0f5e64: Download complete 2f8d98df0991: Verifying Checksum 2f8d98df0991: Download complete 4ae16bd47783: Pull complete bbab4ec87ac4: Pull complete 2ea1f7804402: Pull complete 96465440c208: Pull complete 16a3d8aca6cd: Pull complete e0ec5610455a: Pull complete 96d705baf026: Pull complete 39007eb46008: Pull complete 4e549f0f5e64: Pull complete c0058a8c71f2: Pull complete [Pipeline] sh + make -f docker.Makefile check-vendor docker build --build-arg EXPERIMENTAL=off --build-arg TAG=jenkins-app-PR-683-7 --build-arg COMMIT=bdb9d1ad --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-683-7 . Sending build context to Docker daemon 76.09MB 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 ---> c3bbd843f42f Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 5d8041ba06f7 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 2a8426fef7f1 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 1c5d0d4695b6 Step 6/18 : ARG GOPROXY ---> Using cache ---> 9ad6e5348fae Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> c37c6c4088d1 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 8cc6289ba9e9 Step 9/18 : FROM build AS dev ---> 8cc6289ba9e9 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 3a97ad0456c5 Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> 34b978dbb252 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 ---> b19deb1a46b3 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> dd7b291ff9a7 Step 14/18 : ARG GOPROXY ---> Using cache ---> 15808e088c1b 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 ---> 928a18178f9c 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 ---> 0733696fb87e 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 ---> 1d7d14b50d28 Step 18/18 : COPY . . ---> 784578e46b01 [Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed Successfully built 784578e46b01 Successfully tagged docker-app-dev:jenkins-app-PR-683-7 Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-683-7 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/Microsoft/go-winio@v0.4.12 (3/104) Wrote github.com/coreos/go-systemd@v20 (4/104) Wrote vbom.ml/util@master 2f8d98df0991: Pull complete Digest: sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 Status: Downloaded newer image for dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 ---> 518d5e4626aa Step 2/8 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 (5/104) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1 ---> Running in e4c812d09d34 Removing intermediate container e4c812d09d34 ---> f5eb02a9850a Step 3/8 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime (6/104) Wrote github.com/davecgh/go-spew@v1.1.1 ---> Running in d19a97ba78c4 Reading package lists...(7/104) Wrote github.com/agl/ed25519@master (8/104) Wrote github.com/beorn7/perks@master Building dependency tree... Reading state information... (9/104) Wrote github.com/containerd/continuity@master 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 (10/104) Wrote github.com/containerd/cgroups@master 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] [91mdebconf: delaying package configuration, since apt-utils is not installed [0mFetched 95.2 kB in 0s (364 kB/s) Selecting previously unselected package uuid-runtime. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 25419 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... Unpacking uuid-runtime (2.33.1-0.1) ... (11/104) Wrote github.com/containerd/console@master 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. (12/104) Wrote github.com/containerd/ttrpc@master (13/104) Wrote github.com/containerd/typeurl@master (14/104) Wrote github.com/containerd/fifo@master Removing intermediate container d19a97ba78c4 ---> 019f3b89d243 Step 4/8 : WORKDIR /go/src/github.com/docker/cli ---> Running in 14a4e3c69325 Removing intermediate container 14a4e3c69325 ---> 2b665dd19ab9 Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in fda679dfe131 [91mCloning into '.'... [0m(15/104) Wrote github.com/docker/buildx@v0.3.1 (16/104) Wrote github.com/docker/docker-credential-helpers@v0.6.1 (17/104) Wrote github.com/Microsoft/hcsshim@v0.8.6 (18/104) Wrote github.com/docker/go@v1.5.1-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 [91mNote: 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 [0m(23/104) Wrote github.com/docker/go-units@v0.3.3 (24/104) Wrote github.com/gofrs/flock@v0.7.1 (25/104) Wrote github.com/godbus/dbus@v5.0.1 (26/104) Wrote github.com/gogo/googleapis@v1.2.0 Removing intermediate container fda679dfe131 ---> e3c03ee96056 Step 6/8 : ARG GOPROXY ---> Running in 12dabc8f52c8 Removing intermediate container 12dabc8f52c8 ---> af3bba8890e9 Step 7/8 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in cdb234af9bd1 ./scripts/build/osx Building build/docker-darwin-amd64 (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/hashicorp/go-version@v1.1.0 (33/104) Wrote github.com/globalsign/mgo@master (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/mattn/go-shellwords@v1.0.5 (39/104) Wrote github.com/googleapis/gnostic@v0.2.0 (40/104) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (41/104) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2 (42/104) Wrote github.com/json-iterator/go@v1.1.6 (43/104) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1 (44/104) Wrote github.com/docker/compose-on-kubernetes@v0.4.21 (45/104) Wrote github.com/miekg/pkcs11@master (46/104) Wrote github.com/mitchellh/mapstructure@v1.1.2 (47/104) Wrote github.com/modern-go/reflect2@1.0.1 (48/104) Wrote github.com/modern-go/concurrent@1.0.3 (49/104) Wrote github.com/morikuni/aec@master (50/104) Wrote github.com/oklog/ulid@v1.3.1 (51/104) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1 (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/pkg/errors@v0.8.1 (56/104) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 (57/104) Wrote github.com/prometheus/client_model@master (58/104) Wrote github.com/prometheus/client_golang@v0.8.0 (59/104) Wrote github.com/qri-io/jsonpointer@v0.1.0 (60/104) Wrote github.com/prometheus/procfs@master (61/104) Wrote github.com/prometheus/common@v0.2.0 (62/104) Wrote github.com/qri-io/jsonschema@v0.1.1 (63/104) Wrote github.com/sirupsen/logrus@v1.4.1 (64/104) Wrote github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98 (65/104) Wrote github.com/spf13/pflag@master (66/104) Wrote github.com/spf13/cobra@v0.0.5 (67/104) Wrote github.com/containerd/containerd@master (68/104) Wrote github.com/syndtr/gocapability@master Removing intermediate container 28052b70ec7e ---> 1fde617f5318 Step 9/14 : FROM alpine:${ALPINE_VERSION} as invocation ---> b7b28af77ffe Step 10/14 : RUN apk add --no-cache ca-certificates && adduser -S cnab ---> Running in 18b985f1362f 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 18b985f1362f ---> 4ec68f7f66e0 Step 11/14 : USER cnab ---> Running in 8840bbf9423f Removing intermediate container 8840bbf9423f ---> f407ff9cbaa2 Step 12/14 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run ---> 0982b7017f62 Step 13/14 : WORKDIR /cnab/app ---> Running in eaabbbe6d12e Removing intermediate container eaabbbe6d12e ---> 00885bafe814 Step 14/14 : CMD /cnab/app/run ---> Running in bfd88d5752dc Removing intermediate container bfd88d5752dc ---> cd25c6c901c2 [Warning] One or more build-args [COMMIT GOPROXY] were not consumed Successfully built cd25c6c901c2 Successfully tagged docker/cnab-app-base:jenkins-app-PR-683-7 docker save docker/cnab-app-base:jenkins-app-PR-683-7 -o _build/invocation-image.tar [Pipeline] sh (69/104) Wrote github.com/opencontainers/runc@v1.0.0-rc7 + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-683-7-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-683-7 docker/cnab-app-base:jenkins-app-PR-683-7-coverage docker save docker/cnab-app-base:jenkins-app-PR-683-7-coverage -o _build/coverage-invocation-image.tar (70/104) Wrote github.com/tonistiigi/units@master (71/104) Wrote github.com/wadey/gocovmerge@master [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-683-7-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-683-7 docker/cnab-app-base:jenkins-app-PR-683-7-coverage-experimental docker save docker/cnab-app-base:jenkins-app-PR-683-7-coverage-experimental -o _build/coverage-experimental-invocation-image.tar (72/104) Wrote github.com/xeipuuv/gojsonpointer@master (73/104) Wrote github.com/xeipuuv/gojsonreference@master [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/_build [Pipeline] { [Pipeline] stash (74/104) Wrote github.com/tonistiigi/fsutil@master (75/104) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc (76/104) Wrote github.com/coreos/etcd@v3.3.12 (77/104) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d (78/104) Wrote github.com/moby/buildkit@v0.6.2 (79/104) Wrote golang.org/x/oauth2@master (80/104) Wrote golang.org/x/crypto@master (81/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-683/7/stashes/invocation-image.tgz [Pipeline] stash (82/104) Wrote golang.org/x/time@master (83/104) Wrote gopkg.in/inf.v0@v0.9.1 (84/104) Wrote golang.org/x/net@master (85/104) Wrote google.golang.org/appengine@v1.5.0 (86/104) Wrote gopkg.in/yaml.v2@v2.2.3 Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/7/stashes/coverage-invocation-image.tgz [Pipeline] stash (87/104) Wrote gotest.tools@v2.3.0 (88/104) Wrote k8s.io/klog@v0.2.0 Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/7/stashes/coverage-experimental-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-683-7 Untagged: docker/cnab-app-base:jenkins-app-PR-683-7 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-683-7-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-683-7-coverage [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-683-7-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-683-7-coverage-experimental Deleted: sha256:cd25c6c901c2826c7a0de819e4cf2217b686d10fa23325f2a9ddd3c6cfd884d3 Deleted: sha256:00885bafe81479b63a5da75a993071219ab9cf65a3ec4c312a49b86ac0dee7b5 Deleted: sha256:0982b7017f62a6040d867aa3e912893e764714b2f5ad07736f2008b14799a027 Deleted: sha256:c3380502b166f769559c3b8fcde25bc6636cfe8a05e54d5486fe82c333284655 Deleted: sha256:f407ff9cbaa2ffc688465d4cf63a5579fdc9a604141f9460b9cb0937fa48e0ef Deleted: sha256:4ec68f7f66e01d667dcad50a55179de5cdae7547cb8920300dcc030c68fa025a Deleted: sha256:279918bdcdee93722ea39d465480aa5414beaa23e7928d1167c4cb5f0ad43162 [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } (89/104) Wrote k8s.io/utils@master (90/104) Wrote sigs.k8s.io/yaml@v1.1.0 (91/104) Wrote github.com/Azure/go-ansiterm@master (92/104) Wrote golang.org/x/sys@master (93/104) Wrote k8s.io/apimachinery@kubernetes-1.14.1 (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 (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 ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 (104/104) Wrote k8s.io/kubernetes@v1.14.1 vendor is correct [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } WARNING: binary creates a Linux executable. Use cross for macOS or Windows. ./scripts/build/binary Building statically linked build/docker-linux-amd64 Removing intermediate container cdb234af9bd1 ---> eac2d0fb2830 Step 8/8 : WORKDIR /go/src/github.com/docker/app/ ---> Running in b64d7dc73585 Removing intermediate container b64d7dc73585 ---> 2fd7835e288e [Warning] One or more build-args [COMMIT EXPERIMENTAL TAG ALPINE_VERSION] were not consumed Successfully built 2fd7835e288e Successfully tagged docker-app-cli:jenkins-app-PR-683-7 docker create --name docker-app-cli-jenkins-app-PR-683-7 docker-app-cli:jenkins-app-PR-683-7 noop 693d691a628afb409021f61473780c05bc3a1ce58c31ba4e81b11f0b7fba81e5 docker cp docker-app-cli-jenkins-app-PR-683-7:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux docker cp docker-app-cli-jenkins-app-PR-683-7:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin docker cp docker-app-cli-jenkins-app-PR-683-7:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe docker rm docker-app-cli-jenkins-app-PR-683-7 docker-app-cli-jenkins-app-PR-683-7 docker build --build-arg EXPERIMENTAL=off --build-arg TAG=jenkins-app-PR-683-7 --build-arg COMMIT=bdb9d1ad --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=cross -t docker-app-cross:jenkins-app-PR-683-7 . Sending build context to Docker daemon 76.09MB 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 ---> f5eb02a9850a Step 3/22 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 019f3b89d243 Step 4/22 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 2b665dd19ab9 Step 5/22 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> e3c03ee96056 Step 6/22 : ARG GOPROXY ---> Using cache ---> af3bba8890e9 Step 7/22 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> eac2d0fb2830 Step 8/22 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 2fd7835e288e Step 9/22 : FROM build AS dev ---> 2fd7835e288e Step 10/22 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in 6399ec6a3d48 Removing intermediate container 6399ec6a3d48 ---> 6a575e004ae5 Step 11/22 : ARG DEP_VERSION=v0.5.4 ---> Running in b98fc73738b3 Removing intermediate container b98fc73738b3 ---> e6e122592299 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 24ad02154246 [91m % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0[0m[91m 100 605 0 6[0m[91m05 0 0 4840 0 --:--:-- --:--:-- --:--:-- 4879 [0m[91m 100 10.5M 100 10.5M [0m[91m 0 0 43.4M 0 --:--:-- --:--:-- --:--:-- 43.4M [0mRemoving intermediate container 24ad02154246 ---> 96a4c1bea6dd Step 13/22 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 5f6c09d50bc9 Removing intermediate container 5f6c09d50bc9 ---> 6441b688a3c0 Step 14/22 : ARG GOPROXY ---> Running in e97529eacea2 Removing intermediate container e97529eacea2 ---> 39f7a5c4e7a2 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 0b5bb116856c [91mgo: finding github.com/google/go-cmp v0.2.0 [0m[91mgo: finding github.com/pkg/errors v0.8.0 [0m[91mgo: finding github.com/sirupsen/logrus v1.0.5 [0m[91mgo: finding github.com/mattn/go-isatty v0.0.3 [0m[91mgo: finding github.com/onsi/gomega v1.4.3 [0m[91mgo: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 [0m[91mgo: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 [0m[91mgo: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f [0m[91mgo: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc [0m[91mgo: finding gotest.tools v2.1.0+incompatible [0m[91mgo: finding github.com/stretchr/testify v1.3.0 [0m[91mgo: finding github.com/onsi/ginkgo v1.8.0 [0m[91mgo: finding github.com/mattn/go-colorable v0.0.9 [0m[91mgo: finding golang.org/x/text v0.3.0 [0m[91mgo: finding github.com/jonboulle/clockwork v0.1.0 [0m[91mgo: finding github.com/onsi/ginkgo v1.6.0 [0m[91mgo: finding github.com/golang/protobuf v1.2.0 [0m[91mgo: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e [0m[91mgo: finding github.com/hpcloud/tail v1.0.0 [0m[91mgo: finding github.com/fsnotify/fsnotify v1.4.7 [0m[91mgo: finding gopkg.in/yaml.v2 v2.2.1 [0m[91mgo: finding github.com/stretchr/objx v0.1.0 [0m[91mgo: finding github.com/davecgh/go-spew v1.1.0 [0m[91mgo: finding github.com/fatih/color v1.6.0 [0m[91mgo: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd [0m[91mgo: finding gopkg.in/fsnotify.v1 v1.4.7 [0m[91mgo: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [0m[91mgo: finding github.com/pmezard/go-difflib v1.0.0 [0m[91mgo: finding github.com/spf13/pflag v1.0.1 [0m[91mgo: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [0m[91mgo: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 [0m[91mgo: downloading gotest.tools v2.1.0+incompatible [0m[91mgo: extracting gotest.tools v2.1.0+incompatible [0m[91mgo: downloading github.com/spf13/pflag v1.0.1 [0m[91mgo: downloading github.com/fatih/color v1.6.0 [0m[91mgo: downloading github.com/pkg/errors v0.8.0 [0m[91mgo: downloading github.com/sirupsen/logrus v1.0.5 [0m[91mgo: downloading github.com/jonboulle/clockwork v0.1.0 [0m[91mgo: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f [0m[91mgo: extracting github.com/spf13/pflag v1.0.1 [0m[91mgo: extracting github.com/pkg/errors v0.8.0 [0m[91mgo: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f [0m[91mgo: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc [0m[91mgo: extracting github.com/jonboulle/clockwork v0.1.0 [0m[91mgo: extracting github.com/sirupsen/logrus v1.0.5 [0m[91mgo: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 [0m[91mgo: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e [0m[91mgo: extracting github.com/fatih/color v1.6.0 [0m[91mgo: downloading github.com/mattn/go-isatty v0.0.3 [0m[91mgo: downloading github.com/mattn/go-colorable v0.0.9 [0m[91mgo: extracting github.com/mattn/go-isatty v0.0.3 [0m[91mgo: extracting github.com/mattn/go-colorable v0.0.9 [0m[91mgo: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 [0m[91mgo: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc [0m[91mgo: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e [0mRemoving intermediate container 0b5bb116856c ---> 2f000d28c99a 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 081a678afa69 Removing intermediate container 081a678afa69 ---> 28895870d6ee 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 cde409cea5af [91mgolang.org/x/tools/internal/semver [0m[91mgithub.com/pkg/errors [0m[91mgolang.org/x/tools/go/ast/astutil [0m[91mgolang.org/x/tools/go/internal/gcimporter [0m[91mgolang.org/x/tools/go/internal/packagesdriver [0m[91mgolang.org/x/tools/internal/fastwalk [0m[91mgolang.org/x/tools/internal/gopathwalk [0m[91mgolang.org/x/tools/internal/module [0m[91mgolang.org/x/tools/go/gcexportdata [0m[91mgolang.org/x/tools/go/packages [0m[91mgolang.org/x/tools/internal/imports [0m[91mgolang.org/x/tools/imports [0m[91mgithub.com/mjibson/esc/embed [0m[91mgithub.com/mjibson/esc [0mRemoving intermediate container cde409cea5af ---> cbf8349b6548 Step 18/22 : COPY . . ---> a60bbf128a95 Step 19/22 : FROM dev AS cross ---> a60bbf128a95 Step 20/22 : ARG EXPERIMENTAL="off" ---> Running in e8592fae646d Removing intermediate container e8592fae646d ---> b4d661317004 Step 21/22 : ARG TAG="unknown" ---> Running in e2fb74ea421d Removing intermediate container e2fb74ea421d ---> 32c75217bb05 Step 22/22 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Running in e737da5f57bd GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=bdb9d1ad -X github.com/docker/app/internal.Version=jenkins-app-PR-683-7 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T10:15:11Z" -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=bdb9d1ad -X github.com/docker/app/internal.Version=jenkins-app-PR-683-7 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T10:15:11Z" -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=bdb9d1ad -X github.com/docker/app/internal.Version=jenkins-app-PR-683-7 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T10:15:11Z" -o bin/docker-app-windows.exe ./cmd/docker-app Removing intermediate container e737da5f57bd ---> 50fc99ba7b20 [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 50fc99ba7b20 Successfully tagged docker-app-cross:jenkins-app-PR-683-7 docker create --name docker-app-cross-jenkins-app-PR-683-7 docker-app-cross:jenkins-app-PR-683-7 noop 157162680d1f87c88094874ef9da7d9bafdd471f57676fb2713b1a4a65d67a55 docker cp docker-app-cross-jenkins-app-PR-683-7:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux docker cp docker-app-cross-jenkins-app-PR-683-7:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin docker cp docker-app-cross-jenkins-app-PR-683-7:/go/src/github.com/docker/app/bin/docker-app-windows.exe bin/docker-app-windows.exe docker rm docker-app-cross-jenkins-app-PR-683-7 docker-app-cross-jenkins-app-PR-683-7 docker build --build-arg EXPERIMENTAL=off --build-arg TAG=jenkins-app-PR-683-7 --build-arg COMMIT=bdb9d1ad --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-683-7 . Sending build context to Docker daemon 76.09MB 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 ---> f5eb02a9850a Step 3/26 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 019f3b89d243 Step 4/26 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 2b665dd19ab9 Step 5/26 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> e3c03ee96056 Step 6/26 : ARG GOPROXY ---> Using cache ---> af3bba8890e9 Step 7/26 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> eac2d0fb2830 Step 8/26 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 2fd7835e288e Step 9/26 : FROM build AS dev ---> 2fd7835e288e Step 10/26 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 6a575e004ae5 Step 11/26 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> e6e122592299 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 ---> 96a4c1bea6dd Step 13/26 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 6441b688a3c0 Step 14/26 : ARG GOPROXY ---> Using cache ---> 39f7a5c4e7a2 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 ---> 2f000d28c99a 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 ---> 28895870d6ee 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 ---> cbf8349b6548 Step 18/26 : COPY . . ---> Using cache ---> a60bbf128a95 Step 19/26 : FROM dev AS cross ---> a60bbf128a95 Step 20/26 : ARG EXPERIMENTAL="off" ---> Using cache ---> b4d661317004 Step 21/26 : ARG TAG="unknown" ---> Using cache ---> 32c75217bb05 Step 22/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Using cache ---> 50fc99ba7b20 Step 23/26 : FROM cross AS e2e-cross ---> 50fc99ba7b20 Step 24/26 : ARG EXPERIMENTAL="off" ---> Running in 8fb13c92a364 Removing intermediate container 8fb13c92a364 ---> d6d3f54ad591 Step 25/26 : ARG TAG="unknown" ---> Running in c2863c7b18af Removing intermediate container c2863c7b18af ---> c3cdc9e0c4a1 Step 26/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} e2e-cross ---> Running in 2cc7133a9410 GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=bdb9d1ad -X github.com/docker/app/internal.Version=jenkins-app-PR-683-7 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T10:17:59Z" -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=bdb9d1ad -X github.com/docker/app/internal.Version=jenkins-app-PR-683-7 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T10:17:59Z" -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=bdb9d1ad -X github.com/docker/app/internal.Version=jenkins-app-PR-683-7 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T10:17:59Z" -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=bdb9d1ad -X github.com/docker/app/internal.Version=jenkins-app-PR-683-7 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T10:17:59Z" -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=bdb9d1ad -X github.com/docker/app/internal.Version=jenkins-app-PR-683-7 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T10:17:59Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ Removing intermediate container 2cc7133a9410 ---> 07ad24f88e8c [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 07ad24f88e8c Successfully tagged docker-app-e2e-cross:jenkins-app-PR-683-7 docker create --name docker-app-e2e-cross-jenkins-app-PR-683-7 docker-app-e2e-cross:jenkins-app-PR-683-7 noop 7196987d0d4883145c7cfb557e97edf60eba6732c58c3355dca13ab269456711 docker cp docker-app-e2e-cross-jenkins-app-PR-683-7:/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-683-7:/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-683-7:/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-683-7:/usr/local/bin/gotestsum-linux bin/gotestsum-linux docker cp docker-app-e2e-cross-jenkins-app-PR-683-7:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-683-7:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-683-7:/usr/local/bin/test2json-linux bin/test2json-linux docker cp docker-app-e2e-cross-jenkins-app-PR-683-7:/usr/local/bin/test2json-darwin bin/test2json-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-683-7:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe docker rm docker-app-e2e-cross-jenkins-app-PR-683-7 docker-app-e2e-cross-jenkins-app-PR-683-7 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-683/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-683/7/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-683/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-683/7/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-683/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-683/7/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + xargs docker image rm -f + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-683-7* Untagged: docker-app-e2e-cross:jenkins-app-PR-683-7 Deleted: sha256:07ad24f88e8ca92a182de0f9c71eca501321dc1b633db76c86ac793b87e801fc Deleted: sha256:956241f448e13aa166fda7d2d55736312166e609a498656cd2f6b6f0beb5fde1 Deleted: sha256:c3cdc9e0c4a1b1f690c0de7faae7b3ad50678bd37c7c65440a386d07c7b83ef0 Deleted: sha256:d6d3f54ad5917851c0fbc9d1a2a53ca75f5f38970344fad11463bfb46ea47573 Untagged: docker-app-cross:jenkins-app-PR-683-7 Deleted: sha256:50fc99ba7b20d3e4a872086b2017de4cd3e218b7c0fe777ac0f85de85cc7403f Deleted: sha256:bbb9cef4a9a67a25da99028dbacd807b5e54ce9be82c447552f98f2a8ae08b7b Deleted: sha256:32c75217bb050ab06b5de3d6e04096125e2736fff6395b816d89e63fc7b9e4e9 Deleted: sha256:b4d661317004a8cef3597080b57d0fa1fae3ea2be7e56a99788b2585bebb28b2 Deleted: sha256:a60bbf128a95f981d0732dff621eb3187ef28bfa81fed1d7a155ffe444bd3e13 Deleted: sha256:28a4cb7fc58066d9dddefc3a2c6dfc2c4b6b9950b3020103020034a2ce38d3b5 Deleted: sha256:cbf8349b65488aea87a988ff22c7e3964be99255c87e538f42957d5e4b4451b6 Deleted: sha256:46811df4409ecf71222277e65d60b632c4ec350f9e91a5648e087382a609bce2 Deleted: sha256:28895870d6eeea9588911e1829487e3a6ed9e2c1cf8ec7124d52745c389f7498 Deleted: sha256:d3aaa7227cbbd292a44f65437f726980035d5323db465cde56fbd320819e0bdf Deleted: sha256:2f000d28c99a007859406fc8ae81cd0957c2bfc5e2950cf1a49e0b351286ca7c Deleted: sha256:0b806a4a2849e7bd224745fa0f9ca215359654b377d41231c0bd9c3e44e22a93 Deleted: sha256:39f7a5c4e7a2b1a5d0a8d7653fd1b554d5073c31f86cde7e59bad2d9d09cd00b Deleted: sha256:6441b688a3c03a84376e1f1c65b7cae976ba01eaa7ebd9dd1be39c01adc99b16 Deleted: sha256:96a4c1bea6dd22b57b45284b4c90e6e62d3a43d4247e6b15609eda654605c4d1 Deleted: sha256:2fc26a7f7b9ec1bc154117b6e7f54f7a7b1acee5d8d111fe25c83438fb9653b7 Deleted: sha256:e6e12259229934606546fe83c83abde3201b7420d5a31bdee704600e32853621 Deleted: sha256:6a575e004ae5875746493a78a237597078c388d8bfcdfcb579427a8a18080471 Untagged: docker-app-cli:jenkins-app-PR-683-7 Deleted: sha256:2fd7835e288eabf60c341caed9bac3f8ebf8caa0db1b373b4c2fbf65ef2d43c4 Deleted: sha256:8267f9d469bb06f3ec83989a2d833170c591e46631a7f56ed719f0dc73977ed3 Deleted: sha256:eac2d0fb2830676582de64cd355e35057a1ffcbb3dab20a944384a9c3203950f Deleted: sha256:a21ae1b45bf908fcf63cdb95303cd4aa51aee4d3ec40dd8c7172a083c17fbef9 Deleted: sha256:af3bba8890e938025a437985f44df51d743aa081982c9e6775657e4c90cd0749 Deleted: sha256:e3c03ee96056dc6369731da0045ecfcde156de66fe6f717e6edad4595c243a63 Deleted: sha256:a05989e133688c4e20242ece9a171b6e14f274f1327cc2740815d7cbe10e81ff Deleted: sha256:2b665dd19ab9029348348bfff49f1836749a99ce998961dba0e49dfba23c52f5 Deleted: sha256:df8e429ac714cfeb5d61173f976cc64a6d8ef9cffef5bc4dec54a915492a164d Deleted: sha256:019f3b89d2437285ac779fb81620cc82963eeea20b63c58f654492f24a0d16d3 Deleted: sha256:e4fb4c9de126909f9b2f9b31f60542443ff463d3eace2cacfdb7fb05ec9eb550 Deleted: sha256:f5eb02a9850afd5273946c1f2d77a2f878c46470872f237557f20ae26092a0b8 [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-0a6cc9a8a366edb00) in /home/ubuntu/workspace/app_PR-683 Running on ubuntu-1804-overlay2 (i-0f16f74b16cf270e2) in /home/ubuntu/workspace/app_PR-683 [Pipeline] { [Pipeline] { Running on ubuntu-1804-overlay2 (i-0696c93f142311361) in /home/ubuntu/workspace/app_PR-683 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app [Pipeline] { [Pipeline] checkout using credential docker-jenkins-github-credentials [Pipeline] checkout Cloning the remote Git repository Cloning with configured refspecs honoured and without tags using credential docker-jenkins-github-credentials [Pipeline] withEnv [Pipeline] { Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-683/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-683/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/683/head:refs/remotes/origin/PR-683 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-683/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/683/head:refs/remotes/origin/PR-683 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-683/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/683/head:refs/remotes/origin/PR-683 Fetching without tags Fetching without tags Checking out Revision bdb9d1ad403c817cd33325cd58f3e0c4d96b9a61 (PR-683) Checking out Revision bdb9d1ad403c817cd33325cd58f3e0c4d96b9a61 (PR-683) Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/683/head:refs/remotes/origin/PR-683 # 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/683/head:refs/remotes/origin/PR-683 > git config core.sparsecheckout # timeout=10 > git checkout -f bdb9d1ad403c817cd33325cd58f3e0c4d96b9a61 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/683/head:refs/remotes/origin/PR-683 # 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/683/head:refs/remotes/origin/PR-683 Checking out Revision bdb9d1ad403c817cd33325cd58f3e0c4d96b9a61 (PR-683) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/683/head:refs/remotes/origin/PR-683 # 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/683/head:refs/remotes/origin/PR-683 > git config core.sparsecheckout # timeout=10 > git checkout -f bdb9d1ad403c817cd33325cd58f3e0c4d96b9a61 Commit message: "added app labels to container metadata" Commit message: "added app labels to container metadata" Commit message: "added app labels to container metadata" [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash > git config core.sparsecheckout # timeout=10 > git checkout -f bdb9d1ad403c817cd33325cd58f3e0c4d96b9a61 Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/7/stashes/coverage-invocation-image.tgz [Pipeline] sh Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/7/stashes/coverage-experimental-invocation-image.tgz [Pipeline] sh + docker load -i coverage-invocation-image.tar + docker load -i coverage-experimental-invocation-image.tar Loaded image: docker/cnab-app-base:jenkins-app-PR-683-7-coverage [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile TAG=jenkins-app-PR-683-7-coverage coverage-run docker build --build-arg EXPERIMENTAL=off --build-arg TAG=jenkins-app-PR-683-7-coverage --build-arg COMMIT=bdb9d1ad --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-683-7 . Loaded image: docker/cnab-app-base:jenkins-app-PR-683-7-coverage-experimental [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- -f docker.Makefile TAG=jenkins-app-PR-683-7-coverage-experimental coverage-run docker build --build-arg EXPERIMENTAL=on --build-arg TAG=jenkins-app-PR-683-7-coverage-experimental --build-arg COMMIT=bdb9d1ad --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-683-7 . Sending build context to Docker daemon 76.09MB Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705: Pulling from dockercore/golang-cross 4ae16bd47783: Pulling fs layer bbab4ec87ac4: Pulling fs layer 2ea1f7804402: Pulling fs layer 96465440c208: Pulling fs layer 16a3d8aca6cd: Pulling fs layer e0ec5610455a: Pulling fs layer 96d705baf026: Pulling fs layer 39007eb46008: Pulling fs layer 4e549f0f5e64: Pulling fs layer c0058a8c71f2: Pulling fs layer 2f8d98df0991: Pulling fs layer 96d705baf026: Waiting 39007eb46008: Waiting 4e549f0f5e64: Waiting c0058a8c71f2: Waiting 2f8d98df0991: Waiting 96465440c208: Waiting 16a3d8aca6cd: Waiting e0ec5610455a: Waiting Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/7/stashes/invocation-image.tgz [Pipeline] sh bbab4ec87ac4: Verifying Checksum bbab4ec87ac4: Download complete 2ea1f7804402: Verifying Checksum 2ea1f7804402: Download complete + docker load -i invocation-image.tar Sending build context to Docker daemon 76.09MB Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 4ae16bd47783: Verifying Checksum 4ae16bd47783: Download complete 96465440c208: Verifying Checksum 96465440c208: Download complete ---> Running in ed168e96d081 96d705baf026: Verifying Checksum 96d705baf026: Download complete 16a3d8aca6cd: Verifying Checksum 16a3d8aca6cd: Download complete 39007eb46008: Verifying Checksum 39007eb46008: Download complete Loaded image: docker/cnab-app-base:jenkins-app-PR-683-7 [Pipeline] } [Pipeline] // dir [Pipeline] unstash Removing intermediate container ed168e96d081 ---> 1b99532c07a3 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in de10271db49a c0058a8c71f2: Verifying Checksum c0058a8c71f2: Download complete 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] [91mdebconf: delaying package configuration, since apt-utils is not installed [0mFetched 95.2 kB in 0s (364 kB/s) Selecting previously unselected package uuid-runtime. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 25419 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... Unpacking uuid-runtime (2.33.1-0.1) ... Setting up uuid-runtime (2.33.1-0.1) ... Adding group `uuidd' (GID 102) ... Done. Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory Adding system user `uuidd' (UID 101) ... Adding new user `uuidd' (UID 101) with group `uuidd' ... e0ec5610455a: Verifying Checksum e0ec5610455a: Download complete 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 de10271db49a ---> 6ade1eab83f1 Step 4/18 : WORKDIR /go/src/github.com/docker/cli 4e549f0f5e64: Verifying Checksum 4e549f0f5e64: Download complete ---> Running in e793ed8a52af Removing intermediate container e793ed8a52af ---> 276bc37ead65 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in 7385070ab3d5 [91mCloning into '.'... [0m2f8d98df0991: Verifying Checksum 2f8d98df0991: Download complete 4ae16bd47783: Pull complete bbab4ec87ac4: Pull complete 2ea1f7804402: Pull complete [91mNote: 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 [0mUnstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/7/stashes/binaries.tgz [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-683/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-683/7/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] unstash 96465440c208: Pull complete Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/7/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 Removing intermediate container 7385070ab3d5 ---> 0959e7930d17 Step 6/18 : ARG GOPROXY ---> Running in c2358df8053a Removing intermediate container c2358df8053a ---> 3b3d74d28951 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in 0bb07a632c9b ./scripts/build/osx Building build/docker-darwin-amd64 16a3d8aca6cd: Pull complete e0ec5610455a: Pull complete 96d705baf026: Pull complete 39007eb46008: Pull complete 4e549f0f5e64: Pull complete c0058a8c71f2: Pull complete PASS e2e/linux.TestBuild (24.19s) 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 7ee5ef8db213 Removing intermediate container 7ee5ef8db213 ---> 944a74721f41 Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in cef691a1ab88 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] [91mdebconf: delaying package configuration, since apt-utils is not installed [0mFetched 95.2 kB in 0s (261 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 cef691a1ab88 ---> af65befc5808 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Running in 0d716fc0409f Removing intermediate container 0d716fc0409f ---> 7f0d8629c693 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in 083682dc1b61 [91mCloning into '.'... [0m[91mNote: 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 [0mPASS e2e/linux.TestBuildWithoutTag (13.17s) Removing intermediate container 083682dc1b61 ---> 35a6dbb963f7 Step 6/18 : ARG GOPROXY ---> Running in 1b0626a93a57 Removing intermediate container 1b0626a93a57 ---> 0de7a31cce93 Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in c055814e3b06 ./scripts/build/osx Building build/docker-darwin-amd64 PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (4.02s) PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (3.49s) PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (3.37s) PASS e2e/linux.TestCallCustomStatusAction (10.88s) PASS e2e/linux.TestCnabParameters (3.46s) PASS e2e/linux.TestExitErrorCode (0.06s) PASS e2e/linux.TestRender/envvariables/stdout (1.74s) PASS e2e/linux.TestRender/envvariables/file (1.58s) PASS e2e/linux.TestRender/envvariables (3.32s) PASS e2e/linux.TestRender (3.32s) PASS e2e/linux.TestRenderFormatters (14.99s) PASS e2e/linux.TestInit (0.13s) ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 PASS e2e/linux.TestInspectApp (18.97s) ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 PASS e2e/linux.TestDockerAppLifecycle/withBindMounts (26.45s) PASS e2e/linux.TestDockerAppLifecycle/withoutBindMounts (23.07s) PASS e2e/linux.TestDockerAppLifecycle (49.52s) PASS e2e/linux.TestCredentials/missing (0.11s) PASS e2e/linux.TestCredentials/full (2.36s) PASS e2e/linux.TestCredentials/mixed-credstore (1.44s) PASS e2e/linux.TestCredentials/mixed-local-cred (1.45s) PASS e2e/linux.TestCredentials/overload (0.07s) PASS e2e/linux.TestCredentials (5.42s) PASS e2e/linux.TestRenderWithEnvFile (1.80s) PASS e2e/linux.TestExamplesAreValid (0.25s) PASS e2e/linux.TestImageList (13.84s) 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.TestImageRm (14.08s) PASS e2e/linux.TestImageTag (14.83s) PASS e2e/linux.TestInvokePluginFromCLI (0.20s) WARNING: binary creates a Linux executable. Use cross for macOS or Windows. ./scripts/build/binary Building statically linked build/docker-linux-amd64 PASS e2e/linux.TestPushArchs/default (3.40s) PASS e2e/linux.TestPushArchs/all-platforms (1.25s) PASS e2e/linux.TestPushArchs (16.83s) PASS e2e/linux.TestPushInsecureRegistry (18.75s) PASS e2e/linux.TestPushInstall (17.43s) Removing intermediate container 0bb07a632c9b ---> 163ae47d42a8 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 33eb4b807b1f Removing intermediate container 33eb4b807b1f ---> 96d893d20d91 Step 9/18 : FROM build AS dev ---> 96d893d20d91 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in eaeff91b7698 Removing intermediate container eaeff91b7698 ---> 2445c84de5c2 Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Running in deed81527c7e Removing intermediate container deed81527c7e ---> 4bc84be4e80e 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 678899a5f894 [91m % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0[0m[91m 100 605 0 605 0 0 8897[0m[91m 0 --:--:-- --:--:-- --:--:-- 8897 [0m[91m 100 10.5M 100 10.5M 0 [0m[91m 0 57.1M 0 --:--:-- --:--:-- --:--:-- 57.1M [0mRemoving intermediate container 678899a5f894 ---> f77532313715 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in ac9b1862b5f3 Removing intermediate container ac9b1862b5f3 ---> c2a39f4a7c4f Step 14/18 : ARG GOPROXY ---> Running in ee8eade20cf4 Removing intermediate container ee8eade20cf4 ---> 9da1dea9df52 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 d9710d899d59 [91mgo: finding github.com/pkg/errors v0.8.0 [0m[91mgo: finding github.com/mattn/go-isatty v0.0.3 [0m[91mgo: finding github.com/fatih/color v1.6.0 [0m[91mgo: finding github.com/google/go-cmp v0.2.0 [0m[91mgo: finding github.com/jonboulle/clockwork v0.1.0 [0m[91mgo: finding github.com/sirupsen/logrus v1.0.5 [0m[91mgo: finding github.com/stretchr/testify v1.3.0 [0m[91mgo: finding github.com/spf13/pflag v1.0.1 [0m[91mgo: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 [0m[91mgo: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc [0m[91mgo: finding github.com/mattn/go-colorable v0.0.9 [0m[91mgo: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 [0m[91mgo: finding github.com/onsi/ginkgo v1.8.0 [0m[91mgo: finding github.com/onsi/gomega v1.4.3 [0m[91mgo: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 [0m[91mgo: finding github.com/pmezard/go-difflib v1.0.0 [0m[91mgo: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f [0m[91mgo: finding gotest.tools v2.1.0+incompatible [0m[91mgo: finding github.com/davecgh/go-spew v1.1.0 [0m[91mgo: finding github.com/stretchr/objx v0.1.0 [0m[91mgo: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [0m[91mgo: finding golang.org/x/text v0.3.0 [0m[91mgo: finding gopkg.in/fsnotify.v1 v1.4.7 [0m[91mgo: finding github.com/fsnotify/fsnotify v1.4.7 [0m[91mgo: finding gopkg.in/yaml.v2 v2.2.1 [0m[91mgo: finding github.com/hpcloud/tail v1.0.0 [0m[91mgo: finding github.com/onsi/ginkgo v1.6.0 [0m[91mgo: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd [0m[91mgo: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e [0m[91mgo: finding github.com/golang/protobuf v1.2.0 [0m[91mgo: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [0m[91mgo: downloading gotest.tools v2.1.0+incompatible [0m[91mgo: extracting gotest.tools v2.1.0+incompatible [0m[91mgo: downloading github.com/sirupsen/logrus v1.0.5 [0m[91mgo: downloading github.com/pkg/errors v0.8.0 [0m[91mgo: downloading github.com/spf13/pflag v1.0.1 [0m[91mgo: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f [0m[91mgo: downloading github.com/jonboulle/clockwork v0.1.0 [0m[91mgo: downloading github.com/fatih/color v1.6.0 [0m[91mgo: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f [0m[91mgo: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc [0m[91mgo: extracting github.com/jonboulle/clockwork v0.1.0 [0m[91mgo: extracting github.com/sirupsen/logrus v1.0.5 [0m[91mgo: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e [0m[91mgo: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 [0m[91mgo: extracting github.com/pkg/errors v0.8.0 [0m[91mgo: extracting github.com/spf13/pflag v1.0.1 [0m[91mgo: extracting github.com/fatih/color v1.6.0 [0m[91mgo: downloading github.com/mattn/go-isatty v0.0.3 [0m[91mgo: downloading github.com/mattn/go-colorable v0.0.9 [0m[91mgo: extracting github.com/mattn/go-isatty v0.0.3 [0m[91mgo: extracting github.com/mattn/go-colorable v0.0.9 [0m[91mgo: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 [0m[91mgo: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc [0m[91mgo: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e [0mRemoving intermediate container d9710d899d59 ---> a15a9a74355c 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 07ca2767fd87 Removing intermediate container 07ca2767fd87 ---> ae73ca3042e1 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 36242043e6de [91mgolang.org/x/tools/internal/semver [0m[91mgithub.com/pkg/errors [0m[91mgolang.org/x/tools/go/ast/astutil [0m[91mgolang.org/x/tools/go/internal/gcimporter [0m[91mgolang.org/x/tools/go/internal/packagesdriver [0m[91mgolang.org/x/tools/internal/fastwalk [0m[91mgolang.org/x/tools/internal/gopathwalk [0m[91mgolang.org/x/tools/internal/module [0m[91mgolang.org/x/tools/go/gcexportdata [0m[91mgolang.org/x/tools/go/packages [0m[91mgolang.org/x/tools/internal/imports [0m[91mgolang.org/x/tools/imports [0m[91mgithub.com/mjibson/esc/embed [0m[91mgithub.com/mjibson/esc [0mRemoving intermediate container 36242043e6de ---> 9b94cdd651a2 Step 18/18 : COPY . . PASS e2e/linux.TestPushPullInstall (22.60s) ---> e1690f1a6084 [Warning] One or more build-args [EXPERIMENTAL TAG ALPINE_VERSION COMMIT] were not consumed Successfully built e1690f1a6084 Successfully tagged docker-app-dev:jenkins-app-PR-683-7 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-683-7-coverage-experimental --network="host" -t docker-app-dev:jenkins-app-PR-683-7 make COMMIT=bdb9d1ad TAG=jenkins-app-PR-683-7-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=bdb9d1ad -X github.com/docker/app/internal.Version=jenkins-app-PR-683-7-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-15T10:24:02Z" -cover -test.coverprofile=_build/cov/unit.out github.com/docker/app github.com/docker/app/cmd/cnab-run github.com/docker/app/cmd/docker-app github.com/docker/app/internal github.com/docker/app/internal/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 [33m∅[0m . Removing intermediate container c055814e3b06 ---> a4a17b50625f Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 2e5972d1538c Removing intermediate container 2e5972d1538c ---> 190f484dd97d Step 9/18 : FROM build AS dev ---> 190f484dd97d Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in 533569eec8a8 Removing intermediate container 533569eec8a8 ---> b41df9a4e416 Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Running in 24454152ae3f Removing intermediate container 24454152ae3f ---> 5b3f57fbc73f 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 073ead298472 [91m [0m[91m [0m[91m%[0m[91m Total % Received % Xferd Avera[0m[91mge Speed Time [0m[91m Time[0m[91m Time Current [0m[91m Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0[0m[91m 100 605 0 605 0 0 5707[0m[91m 0 --:--:-- --:--:-- --:--:-- 5707 [0m[91m 100 10.5M 100 10.5M 0[0m[91m 0 39.7M 0 --:--:-- --:--:-- --:--:-- 39.7M [0mRemoving intermediate container 073ead298472 ---> 59922355db31 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 7d42cea0bbae Removing intermediate container 7d42cea0bbae ---> c960595c7d76 Step 14/18 : ARG GOPROXY ---> Running in e4dd5121c52a Removing intermediate container e4dd5121c52a ---> 101fc6036ac4 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 28cee8c17886 [91mgo: finding github.com/spf13/pflag v1.0.1 [0m[91mgo: finding github.com/google/go-cmp v0.2.0 [0m[91mgo: finding github.com/pkg/errors v0.8.0 [0m[91mgo: finding github.com/onsi/gomega v1.4.3 [0m[91mgo: finding github.com/fatih/color v1.6.0 [0m[91mgo: finding github.com/onsi/ginkgo v1.8.0 [0m[91mgo: finding github.com/sirupsen/logrus v1.0.5 [0m[91mgo: finding github.com/jonboulle/clockwork v0.1.0 [0m[91mgo: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 [0m[91mgo: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 [0m[91mgo: finding github.com/mattn/go-colorable v0.0.9 [0m[91mgo: finding github.com/mattn/go-isatty v0.0.3 [0m[91mgo: finding github.com/stretchr/testify v1.3.0 [0m[91mgo: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 [0m[91mgo: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc [0m[91mgo: finding github.com/golang/protobuf v1.2.0 [0m[91mgo: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f [0m[91mgo: finding golang.org/x/text v0.3.0 [0m[91mgo: finding github.com/onsi/ginkgo v1.6.0 [0m[91mgo: finding gotest.tools v2.1.0+incompatible [0m[91mgo: finding github.com/pmezard/go-difflib v1.0.0 [0m[91mgo: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e [0m[91mgo: finding github.com/davecgh/go-spew v1.1.0 [0m[91mgo: finding gopkg.in/yaml.v2 v2.2.1 [0m[91mgo: finding github.com/fsnotify/fsnotify v1.4.7 [0m[91mgo: finding github.com/stretchr/objx v0.1.0 [0m[91mgo: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd [0m[91mgo: finding github.com/hpcloud/tail v1.0.0 [0m[91mgo: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 [0m[91mgo: finding gopkg.in/fsnotify.v1 v1.4.7 [0m[91mgo: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 [0m[91mgo: downloading gotest.tools v2.1.0+incompatible [0m[91mgo: extracting gotest.tools v2.1.0+incompatible [0m[91mgo: downloading github.com/spf13/pflag v1.0.1 [0m[91mgo: downloading github.com/fatih/color v1.6.0 [0m[91mgo: downloading github.com/pkg/errors v0.8.0 [0m[91mgo: downloading github.com/sirupsen/logrus v1.0.5 [0m[91mgo: downloading github.com/jonboulle/clockwork v0.1.0 [0m[91mgo: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f [0m[91mgo: extracting github.com/jonboulle/clockwork v0.1.0 [0m[91mgo: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f [0m[91mgo: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc [0m[91mgo: extracting github.com/pkg/errors v0.8.0 [0m[91mgo: extracting github.com/sirupsen/logrus v1.0.5 [0m[91mgo: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e [0m[91mgo: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 [0m[91mgo: extracting github.com/spf13/pflag v1.0.1 [0m[91mgo: extracting github.com/fatih/color v1.6.0 [0m[91mgo: downloading github.com/mattn/go-isatty v0.0.3 [0m[91mgo: downloading github.com/mattn/go-colorable v0.0.9 [0m[91mgo: extracting github.com/mattn/go-isatty v0.0.3 [0m[91mgo: extracting github.com/mattn/go-colorable v0.0.9 [0m[91mgo: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 [0m[91mgo: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc [0m[91mgo: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e [0mPASS e2e/linux.TestPushInstallBundle/push-bundle (5.22s) PASS e2e/linux.TestPushInstallBundle/push-ref (1.25s) PASS e2e/linux.TestPushInstallBundle/push-bundleref (2.25s) PASS e2e/linux.TestPushInstallBundle (27.75s) PASS e2e/linux DONE 40 tests in 292.521s time="2019-10-15T10:24:26Z" 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-683/7/artifacts/ [Pipeline] junit Recording test results [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-683-7 Untagged: docker/cnab-app-base:jenkins-app-PR-683-7 [Pipeline] deleteDir [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Removing intermediate container 28cee8c17886 ---> 8d5f86c2086a 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 6d448b293bde Removing intermediate container 6d448b293bde ---> c90fe55c269d 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 7a99a0938a3d [91mgolang.org/x/tools/internal/semver [0m[91mgithub.com/pkg/errors [0m[91mgolang.org/x/tools/go/ast/astutil [0m[91mgolang.org/x/tools/go/internal/gcimporter [0m[91mgolang.org/x/tools/go/internal/packagesdriver [0m[91mgolang.org/x/tools/internal/fastwalk [0m[91mgolang.org/x/tools/internal/gopathwalk [0m[91mgolang.org/x/tools/internal/module [0m[91mgolang.org/x/tools/go/gcexportdata [0m[91mgolang.org/x/tools/go/packages [0m[91mgolang.org/x/tools/internal/imports [0m[91mgolang.org/x/tools/imports [0m[91mgithub.com/mjibson/esc/embed [0m[91mgithub.com/mjibson/esc [0mRemoving intermediate container 7a99a0938a3d ---> a8560c14bae7 Step 18/18 : COPY . . ---> 82bf3fd61462 [Warning] One or more build-args [EXPERIMENTAL TAG ALPINE_VERSION COMMIT] were not consumed Successfully built 82bf3fd61462 Successfully tagged docker-app-dev:jenkins-app-PR-683-7 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-683-7-coverage --network="host" -t docker-app-dev:jenkins-app-PR-683-7 make COMMIT=bdb9d1ad TAG=jenkins-app-PR-683-7-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=bdb9d1ad -X github.com/docker/app/internal.Version=jenkins-app-PR-683-7-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T10:24:49Z" -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 [33m∅[0m . [33m∅[0m cmd/cnab-run [33m∅[0m cmd/docker-app [32m✓[0m internal (2ms) [32m✓[0m internal/commands/build (14ms) [32m✓[0m internal/commands (567ms) [32m✓[0m internal/commands/image (12ms) [32m✓[0m internal/formatter (3ms) [32m✓[0m internal/compose (5ms) [33m∅[0m internal/formatter/driver [33m∅[0m internal/formatter/json [33m∅[0m internal/formatter/yaml [32m✓[0m internal/inspect (100ms) [33m∅[0m internal/log [32m✓[0m internal/slices (13ms) [32m✓[0m internal/packager (36ms) [32m✓[0m internal/store (34ms) [32m✓[0m internal/yaml (8ms) [32m✓[0m loader (9ms) [32m✓[0m render (45ms) [32m✓[0m specification (21ms) [32m✓[0m types (19ms) [32m✓[0m types/metadata (8ms) [32m✓[0m types/parameters (4ms) DONE 230 tests in 100.344s CGO_ENABLED=0 go test -tags=""experimental" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=bdb9d1ad -X github.com/docker/app/internal.Version=jenkins-app-PR-683-7-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-15T10:24:02Z" -coverpkg="./..." -c -o _build/docker-app.cov ./cmd/docker-app Running e2e tests (coverage)... DOCKERAPP_BINARY=../e2e/coverage-bin CGO_ENABLED=0 gotestsum --junitfile _build/test-results/experimental-e2e-coverage.xml -- -tags="experimental" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=bdb9d1ad -X github.com/docker/app/internal.Version=jenkins-app-PR-683-7-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-15T10:24:02Z" -v ./e2e [33m∅[0m cmd/cnab-run [33m∅[0m cmd/docker-app (1ms) [32m✓[0m internal (3ms) [32m✓[0m internal/commands/build (23ms) [32m✓[0m internal/commands (228ms) [32m✓[0m internal/commands/image (11ms) [32m✓[0m internal/compose (6ms) [32m✓[0m internal/formatter (5ms) [33m∅[0m internal/formatter/driver [33m∅[0m internal/formatter/json [33m∅[0m internal/formatter/yaml [32m✓[0m internal/inspect (93ms) [33m∅[0m internal/log [32m✓[0m internal/slices (2ms) [32m✓[0m internal/packager (32ms) [32m✓[0m internal/store (22ms) [32m✓[0m internal/yaml (9ms) [32m✓[0m loader (10ms) [32m✓[0m render (58ms) [32m✓[0m specification (26ms) [32m✓[0m types (20ms) [32m✓[0m types/metadata (6ms) [32m✓[0m types/parameters (4ms) DONE 230 tests in 101.773s CGO_ENABLED=0 go test -tags=""" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=bdb9d1ad -X github.com/docker/app/internal.Version=jenkins-app-PR-683-7-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T10:24:49Z" -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=bdb9d1ad -X github.com/docker/app/internal.Version=jenkins-app-PR-683-7-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T10:24:49Z" -v ./e2e [32m✓[0m e2e (4m38.714s) DONE 40 tests in 279.986s go install ./vendor/github.com/wadey/gocovmerge/ gocovmerge _build/cov/*.out > _build/cov/all.out go tool cover -func _build/cov/all.out github.com/docker/app/cmd/docker-app/main.go:12: main 80.0% github.com/docker/app/internal/commands/build/build.go:39: Cmd 100.0% github.com/docker/app/internal/commands/build/build.go:64: runBuild 75.7% github.com/docker/app/internal/commands/build/build.go:129: checkMinimalEngineVersion 66.7% github.com/docker/app/internal/commands/build/build.go:144: updateBundle 94.1% github.com/docker/app/internal/commands/build/build.go:168: createInvocationImageBuildOptions 75.0% github.com/docker/app/internal/commands/build/build.go:182: debugBuildOpts 20.0% github.com/docker/app/internal/commands/build/build.go:193: debugBundle 20.0% github.com/docker/app/internal/commands/build/build.go:204: debugSolveResponses 20.0% github.com/docker/app/internal/commands/build/compose.go:15: parseCompose 89.5% github.com/docker/app/internal/commands/build/compose.go:58: flatten 87.5% github.com/docker/app/internal/commands/build/types.go:27: load 71.4% github.com/docker/app/internal/commands/build/types.go:39: loadServices 85.7% github.com/docker/app/internal/commands/build/types.go:52: loadService 75.0% github.com/docker/app/internal/commands/build/types.go:63: transformBuildConfig 75.0% github.com/docker/app/internal/commands/cnab.go:47: addNamedCredentialSets 75.0% github.com/docker/app/internal/commands/cnab.go:78: parseCommandlineCredential 100.0% github.com/docker/app/internal/commands/cnab.go:88: addCredentials 75.0% github.com/docker/app/internal/commands/cnab.go:105: addDockerCredentials 87.5% github.com/docker/app/internal/commands/cnab.go:120: addRegistryCredentials 85.0% github.com/docker/app/internal/commands/cnab.go:152: prepareCredentialSet 77.8% github.com/docker/app/internal/commands/cnab.go:169: getTargetContext 85.7% github.com/docker/app/internal/commands/cnab.go:184: prepareDriver 100.0% github.com/docker/app/internal/commands/cnab.go:217: getAppNameKind 83.3% github.com/docker/app/internal/commands/cnab.go:239: extractAndLoadAppBasedBundle 83.3% github.com/docker/app/internal/commands/cnab.go:249: loadBundleFromFile 80.0% github.com/docker/app/internal/commands/cnab.go:261: resolveBundle 75.0% github.com/docker/app/internal/commands/cnab.go:287: getBundle 83.3% github.com/docker/app/internal/commands/cnab.go:308: pullBundle 66.7% github.com/docker/app/internal/commands/cnab.go:324: requiredClaimBindMount 100.0% github.com/docker/app/internal/commands/cnab.go:333: requiredBindMount 77.8% github.com/docker/app/internal/commands/cnab.go:365: socketPath 100.0% github.com/docker/app/internal/commands/cnab.go:373: isDockerHostLocal 100.0% github.com/docker/app/internal/commands/cnab.go:377: prepareCustomAction 72.2% github.com/docker/app/internal/commands/cnab.go:411: isInstallationFailed 100.0% github.com/docker/app/internal/commands/dockerdesktop.go:21: defaultDockerDesktopHostProvider 66.7% github.com/docker/app/internal/commands/dockerdesktop.go:37: rewrite 100.0% github.com/docker/app/internal/commands/dockerdesktop.go:53: rewrite 91.7% github.com/docker/app/internal/commands/dockerdesktop.go:78: makeLinuxkitIPProvider 0.0% github.com/docker/app/internal/commands/dockerdesktop.go:108: rewriteContextIfDockerDesktop 66.7% github.com/docker/app/internal/commands/dockerdesktop.go:135: List 0.0% github.com/docker/app/internal/commands/dockerdesktop.go:147: GetMetadata 80.0% github.com/docker/app/internal/commands/image/command.go:9: Cmd 100.0% github.com/docker/app/internal/commands/image/list.go:17: listCmd 77.8% github.com/docker/app/internal/commands/image/list.go:40: runList 71.4% github.com/docker/app/internal/commands/image/list.go:54: getPackages 87.5% github.com/docker/app/internal/commands/image/list.go:73: printImages 100.0% github.com/docker/app/internal/commands/image/list.go:84: printHeaders 100.0% github.com/docker/app/internal/commands/image/list.go:92: printValues 100.0% github.com/docker/app/internal/commands/image/rm.go:15: rmCmd 71.4% github.com/docker/app/internal/commands/image/rm.go:49: runRm 71.4% github.com/docker/app/internal/commands/image/tag.go:14: tagCmd 77.8% github.com/docker/app/internal/commands/image/tag.go:37: runTag 100.0% github.com/docker/app/internal/commands/image/tag.go:46: readBundle 100.0% github.com/docker/app/internal/commands/image/tag.go:59: storeBundle 100.0% github.com/docker/app/internal/commands/image/tag.go:68: StringToRef 100.0% github.com/docker/app/internal/commands/init.go:16: initCmd 87.5% github.com/docker/app/internal/commands/inspect.go:19: inspectCmd 100.0% github.com/docker/app/internal/commands/inspect.go:36: runInspect 73.9% github.com/docker/app/internal/commands/list.go:42: listCmd 100.0% github.com/docker/app/internal/commands/list.go:59: runList 88.9% github.com/docker/app/internal/commands/list.go:75: printHeaders 100.0% github.com/docker/app/internal/commands/list.go:83: printValues 100.0% github.com/docker/app/internal/commands/list.go:91: getInstallations 77.8% github.com/docker/app/internal/commands/parameters.go:25: withFileParameters 85.7% github.com/docker/app/internal/commands/parameters.go:38: withCommandLineParameters 100.0% github.com/docker/app/internal/commands/parameters.go:48: withSendRegistryAuth 85.7% github.com/docker/app/internal/commands/parameters.go:61: withOrchestratorParameters 100.0% github.com/docker/app/internal/commands/parameters.go:73: withErrorWriter 100.0% github.com/docker/app/internal/commands/parameters.go:80: mergeBundleParameters 92.3% github.com/docker/app/internal/commands/parameters.go:104: matchAndMergeParametersDefinition 92.0% github.com/docker/app/internal/commands/pull.go:16: pullCmd 100.0% github.com/docker/app/internal/commands/pull.go:29: runPull 73.3% github.com/docker/app/internal/commands/push.go:52: pushCmd 100.0% github.com/docker/app/internal/commands/push.go:73: runPush 71.4% github.com/docker/app/internal/commands/push.go:99: resolveReferenceAndBundle 66.7% github.com/docker/app/internal/commands/push.go:115: pushInvocationImage 71.4% github.com/docker/app/internal/commands/push.go:138: pushBundle 77.8% github.com/docker/app/internal/commands/push.go:168: withAppAnnotations 80.0% github.com/docker/app/internal/commands/push.go:177: platformFilter 100.0% github.com/docker/app/internal/commands/push.go:184: retagInvocationImage 80.0% github.com/docker/app/internal/commands/push.go:199: shouldRetagInvocationImage 85.7% github.com/docker/app/internal/commands/push.go:245: onEvent 0.0% github.com/docker/app/internal/commands/push.go:265: imageIndex 0.0% github.com/docker/app/internal/commands/push.go:280: onProgress 0.0% github.com/docker/app/internal/commands/push.go:284: print 0.0% github.com/docker/app/internal/commands/push.go:299: printDescriptorProgress 0.0% github.com/docker/app/internal/commands/push.go:335: hasError 0.0% github.com/docker/app/internal/commands/push.go:351: onEvent 80.0% github.com/docker/app/internal/commands/push.go:364: checkFlags 66.7% github.com/docker/app/internal/commands/remove.go:19: removeCmd 100.0% github.com/docker/app/internal/commands/remove.go:38: runRemove 52.9% github.com/docker/app/internal/commands/render.go:20: renderCmd 100.0% github.com/docker/app/internal/commands/render.go:39: runRender 80.0% github.com/docker/app/internal/commands/root.go:25: NewRootCmd 63.6% github.com/docker/app/internal/commands/root.go:50: addCommands 100.0% github.com/docker/app/internal/commands/root.go:67: firstOrEmpty 66.7% github.com/docker/app/internal/commands/root.go:74: muteDockerCli 100.0% github.com/docker/app/internal/commands/root.go:83: prepareStores 69.2% github.com/docker/app/internal/commands/root.go:103: prepareBundleStore 71.4% github.com/docker/app/internal/commands/root.go:120: addFlags 100.0% github.com/docker/app/internal/commands/root.go:132: addFlags 100.0% github.com/docker/app/internal/commands/root.go:139: SetDefaultTargetContext 100.0% github.com/docker/app/internal/commands/root.go:143: CredentialSetOpts 100.0% github.com/docker/app/internal/commands/root.go:154: insecureRegistriesFromEngine 88.9% github.com/docker/app/internal/commands/run.go:40: runCmd 100.0% github.com/docker/app/internal/commands/run.go:63: runRun 72.7% github.com/docker/app/internal/commands/upgrade.go:19: upgradeCmd 100.0% github.com/docker/app/internal/commands/upgrade.go:37: runUpgrade 62.9% github.com/docker/app/internal/commands/validate.go:19: validateCmd 85.7% github.com/docker/app/internal/compose/compose.go:29: Load 90.9% github.com/docker/app/internal/compose/compose.go:49: validateImagesInConfigFiles 89.5% github.com/docker/app/internal/compose/compose.go:85: ExtractVariables 75.0% github.com/docker/app/internal/formatter/formatter.go:20: Register 100.0% github.com/docker/app/internal/formatter/formatter.go:34: Format 100.0% github.com/docker/app/internal/formatter/formatter.go:49: Drivers 100.0% github.com/docker/app/internal/formatter/json/driver.go:11: init 100.0% github.com/docker/app/internal/formatter/json/driver.go:19: Format 0.0% github.com/docker/app/internal/formatter/yaml/driver.go:10: init 100.0% github.com/docker/app/internal/formatter/yaml/driver.go:18: Format 0.0% github.com/docker/app/internal/inspect/inspect.go:49: Inspect 75.0% github.com/docker/app/internal/inspect/inspect.go:66: printAppInfo 75.0% github.com/docker/app/internal/inspect/inspect.go:77: printJSON 80.0% github.com/docker/app/internal/inspect/inspect.go:86: printTable 100.0% github.com/docker/app/internal/inspect/inspect.go:135: printMetadata 100.0% github.com/docker/app/internal/inspect/inspect.go:143: printSection 100.0% github.com/docker/app/internal/inspect/inspect.go:159: printHeaders 100.0% github.com/docker/app/internal/inspect/inspect.go:168: getAppInfo 96.0% github.com/docker/app/internal/inspect/inspect.go:227: getReplicas 100.0% github.com/docker/app/internal/inspect/inspect.go:234: extractParameters 88.9% github.com/docker/app/internal/inspect/inspect.go:248: mergeAndFlattenParameters 71.4% github.com/docker/app/internal/inspect/ports.go:16: newPort 100.0% github.com/docker/app/internal/inspect/ports.go:20: add 100.0% github.com/docker/app/internal/inspect/ports.go:36: String 100.0% github.com/docker/app/internal/inspect/ports.go:47: getPorts 100.0% github.com/docker/app/internal/log/log.go:10: WithLogContext 100.0% github.com/docker/app/internal/names.go:89: AppNameFromDir 100.0% github.com/docker/app/internal/names.go:95: DirNameFromAppName 100.0% github.com/docker/app/internal/names.go:104: ValidateAppName 100.0% github.com/docker/app/internal/packager/bundle.go:22: MakeBundleFromApp 66.7% github.com/docker/app/internal/packager/bundle.go:58: MakeInvocationImageName 100.0% github.com/docker/app/internal/packager/bundle.go:65: MakeCNABImageName 100.0% github.com/docker/app/internal/packager/bundle.go:73: PersistInBundleStore 71.4% github.com/docker/app/internal/packager/bundle.go:85: GetNamedTagged 77.8% github.com/docker/app/internal/packager/cnab.go:20: ToCNAB 94.1% github.com/docker/app/internal/packager/cnab.go:194: extractBundleImages 85.7% github.com/docker/app/internal/packager/extract.go:17: findApp 0.0% github.com/docker/app/internal/packager/extract.go:48: Extract 42.9% github.com/docker/app/internal/packager/init.go:30: Init 64.7% github.com/docker/app/internal/packager/init.go:59: initFromScratch 0.0% github.com/docker/app/internal/packager/init.go:74: checkComposeFileVersion 100.0% github.com/docker/app/internal/packager/init.go:82: initFromComposeFile 86.0% github.com/docker/app/internal/packager/init.go:147: removeDefaultValuesFromCompose 100.0% github.com/docker/app/internal/packager/init.go:161: composeFileFromScratch 0.0% github.com/docker/app/internal/packager/init.go:181: writeMetadataFile 75.0% github.com/docker/app/internal/packager/init.go:194: newMetadata 100.0% github.com/docker/app/internal/packager/packing.go:24: tarAdd 75.0% github.com/docker/app/internal/packager/packing.go:32: tarAddBytes 83.3% github.com/docker/app/internal/packager/packing.go:48: PackInvocationImageContext 63.6% github.com/docker/app/internal/packager/packing.go:83: BaseInvocationImage 80.0% github.com/docker/app/internal/packager/packing.go:93: dockerFile 100.0% github.com/docker/app/internal/packager/parameter.go:18: ExtractCNABParameterMapping 100.0% github.com/docker/app/internal/packager/parameter.go:33: getKeys 100.0% github.com/docker/app/internal/packager/parameter.go:49: ExtractCNABParametersValues 100.0% github.com/docker/app/internal/slices/slices.go:4: ContainsString 100.0% github.com/docker/app/internal/store/app.go:35: NewApplicationStore 83.3% github.com/docker/app/internal/store/app.go:54: InstallationStore 75.0% github.com/docker/app/internal/store/app.go:63: CredentialStore 75.0% github.com/docker/app/internal/store/app.go:72: BundleStore 75.0% github.com/docker/app/internal/store/app.go:80: makeDigestedDirectory 100.0% github.com/docker/app/internal/store/bundle.go:48: Store 71.4% github.com/docker/app/internal/store/bundle.go:70: Read 80.0% github.com/docker/app/internal/store/bundle.go:88: List 69.6% github.com/docker/app/internal/store/bundle.go:131: Remove 83.3% github.com/docker/app/internal/store/bundle.go:142: storePath 100.0% github.com/docker/app/internal/store/bundle.go:174: pathToReference 91.7% github.com/docker/app/internal/store/bundle.go:201: reconstructNamedReference 72.7% github.com/docker/app/internal/store/credential.go:24: Read 100.0% github.com/docker/app/internal/store/credential.go:29: Store 71.4% github.com/docker/app/internal/store/digest.go:14: ComputeDigest 80.0% github.com/docker/app/internal/store/digest.go:23: FromString 100.0% github.com/docker/app/internal/store/digest.go:37: String 100.0% github.com/docker/app/internal/store/installation.go:26: NewInstallation 75.0% github.com/docker/app/internal/store/installation.go:39: SetParameter 100.0% github.com/docker/app/internal/store/installation.go:51: List 100.0% github.com/docker/app/internal/store/installation.go:55: Store 75.0% github.com/docker/app/internal/store/installation.go:63: Read 77.8% github.com/docker/app/internal/store/installation.go:79: Delete 100.0% github.com/docker/app/internal/version.go:20: FullVersion 100.0% github.com/docker/app/internal/version.go:36: reformatDate 75.0% github.com/docker/app/internal/yaml/yaml.go:14: Unmarshal 80.0% github.com/docker/app/internal/yaml/yaml.go:28: Marshal 100.0% github.com/docker/app/internal/yaml/yaml.go:35: NewDecoder 100.0% github.com/docker/app/loader/loader.go:16: LoadFromDirectory 100.0% github.com/docker/app/loader/loader.go:26: LoadFromTar 100.0% github.com/docker/app/loader/loader.go:37: LoadFromTarReader 45.5% github.com/docker/app/render/render.go:43: Render 80.0% github.com/docker/app/render/render.go:68: substituteParams 100.0% github.com/docker/app/render/render.go:104: render 84.6% github.com/docker/app/render/render.go:128: processEnabled 91.7% github.com/docker/app/render/render.go:148: isEnabled 75.0% github.com/docker/app/specification/bindata.go:44: Open 0.0% github.com/docker/app/specification/bindata.go:52: prepare 82.4% github.com/docker/app/specification/bindata.go:77: Open 0.0% github.com/docker/app/specification/bindata.go:85: Open 0.0% github.com/docker/app/specification/bindata.go:89: File 0.0% github.com/docker/app/specification/bindata.go:100: Close 0.0% github.com/docker/app/specification/bindata.go:104: Readdir 0.0% github.com/docker/app/specification/bindata.go:125: Stat 0.0% github.com/docker/app/specification/bindata.go:129: Name 0.0% github.com/docker/app/specification/bindata.go:133: Size 0.0% github.com/docker/app/specification/bindata.go:137: Mode 0.0% github.com/docker/app/specification/bindata.go:141: ModTime 0.0% github.com/docker/app/specification/bindata.go:145: IsDir 0.0% github.com/docker/app/specification/bindata.go:149: Sys 0.0% github.com/docker/app/specification/bindata.go:155: _escFS 0.0% github.com/docker/app/specification/bindata.go:164: _escDir 0.0% github.com/docker/app/specification/bindata.go:173: _escFSByte 45.5% github.com/docker/app/specification/bindata.go:191: _escFSMustByte 0.0% github.com/docker/app/specification/bindata.go:200: _escFSString 0.0% github.com/docker/app/specification/bindata.go:206: _escFSMustString 0.0% github.com/docker/app/specification/schema.go:15: Validate 93.3% github.com/docker/app/types/init.go:17: NewInitialComposeFile 100.0% github.com/docker/app/types/metadata/load.go:14: Load 83.3% github.com/docker/app/types/metadata/load.go:25: validateRawMetadata 83.3% github.com/docker/app/types/metadata/metadata.go:19: String 100.0% github.com/docker/app/types/metadata/metadata.go:28: String 100.0% github.com/docker/app/types/metadata/metadata.go:45: FromBundle 100.0% github.com/docker/app/types/parameters/load.go:14: Load 95.0% github.com/docker/app/types/parameters/load.go:48: LoadMultiple 77.8% github.com/docker/app/types/parameters/load.go:64: LoadFile 75.0% github.com/docker/app/types/parameters/load.go:73: LoadFiles 77.8% github.com/docker/app/types/parameters/load.go:89: convertToStringKeysRecursive 96.0% github.com/docker/app/types/parameters/load.go:126: formatInvalidKeyError 100.0% github.com/docker/app/types/parameters/merge.go:9: Merge 100.0% github.com/docker/app/types/parameters/opts.go:9: WithPrefix 100.0% github.com/docker/app/types/parameters/parameters.go:18: Flatten 100.0% github.com/docker/app/types/parameters/parameters.go:22: flatten 100.0% github.com/docker/app/types/parameters/parameters.go:50: FromFlatten 88.9% github.com/docker/app/types/parameters/parameters.go:65: isSupposedSlice 100.0% github.com/docker/app/types/parameters/parameters.go:73: assignKey 100.0% github.com/docker/app/types/types.go:30: ShouldRunInsideDirectory 0.0% github.com/docker/app/types/types.go:57: Path 100.0% github.com/docker/app/types/types.go:62: Size 100.0% github.com/docker/app/types/types.go:67: Composes 100.0% github.com/docker/app/types/types.go:72: ParametersRaw 100.0% github.com/docker/app/types/types.go:77: Parameters 100.0% github.com/docker/app/types/types.go:82: MetadataRaw 100.0% github.com/docker/app/types/types.go:87: Metadata 100.0% github.com/docker/app/types/types.go:92: Attachments 100.0% github.com/docker/app/types/types.go:96: HasCRLF 0.0% github.com/docker/app/types/types.go:101: Extract 0.0% github.com/docker/app/types/types.go:114: noop 0.0% github.com/docker/app/types/types.go:117: NewApp 100.0% github.com/docker/app/types/types.go:139: NewAppFromDefaultFiles 100.0% github.com/docker/app/types/types.go:150: WithName 100.0% github.com/docker/app/types/types.go:158: WithPath 100.0% github.com/docker/app/types/types.go:166: WithCleanup 100.0% github.com/docker/app/types/types.go:174: WithSource 100.0% github.com/docker/app/types/types.go:181: WithCRLF 0.0% github.com/docker/app/types/types.go:189: WithParametersFiles 100.0% github.com/docker/app/types/types.go:194: WithAttachments 84.6% github.com/docker/app/types/types.go:226: WithParameters 100.0% github.com/docker/app/types/types.go:230: parametersLoader 100.0% github.com/docker/app/types/types.go:248: MetadataFile 100.0% github.com/docker/app/types/types.go:253: Metadata 100.0% github.com/docker/app/types/types.go:257: metadataLoader 100.0% github.com/docker/app/types/types.go:275: WithComposeFiles 100.0% github.com/docker/app/types/types.go:280: WithComposes 100.0% github.com/docker/app/types/types.go:284: composeLoader 100.0% github.com/docker/app/types/types.go:295: readReaders 77.8% github.com/docker/app/types/types.go:309: readFiles 100.0% github.com/docker/app/types/types.go:323: newErrGroup 100.0% total: (statements) 76.9% go tool cover -html _build/cov/all.out -o _build/cov/coverage.html [Pipeline] sh + make EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- -f docker.Makefile TAG=jenkins-app-PR-683-7-coverage-experimental coverage-results docker cp docker-app-cov-jenkins-app-PR-683-7-coverage-experimental:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov docker cp docker-app-cov-jenkins-app-PR-683-7-coverage-experimental:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results docker rm docker-app-cov-jenkins-app-PR-683-7-coverage-experimental docker-app-cov-jenkins-app-PR-683-7-coverage-experimental [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-683/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-683/7/artifacts/ [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-683-7-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-683-7-coverage-experimental [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [32m✓[0m e2e (4m42.736s) DONE 40 tests in 284.096s go install ./vendor/github.com/wadey/gocovmerge/ gocovmerge _build/cov/*.out > _build/cov/all.out go tool cover -func _build/cov/all.out github.com/docker/app/cmd/docker-app/main.go:12: main 80.0% github.com/docker/app/internal/commands/build/build.go:39: Cmd 100.0% github.com/docker/app/internal/commands/build/build.go:64: runBuild 75.7% github.com/docker/app/internal/commands/build/build.go:129: checkMinimalEngineVersion 66.7% github.com/docker/app/internal/commands/build/build.go:144: updateBundle 94.1% github.com/docker/app/internal/commands/build/build.go:168: createInvocationImageBuildOptions 75.0% github.com/docker/app/internal/commands/build/build.go:182: debugBuildOpts 20.0% github.com/docker/app/internal/commands/build/build.go:193: debugBundle 20.0% github.com/docker/app/internal/commands/build/build.go:204: debugSolveResponses 20.0% github.com/docker/app/internal/commands/build/compose.go:15: parseCompose 89.5% github.com/docker/app/internal/commands/build/compose.go:58: flatten 87.5% github.com/docker/app/internal/commands/build/types.go:27: load 71.4% github.com/docker/app/internal/commands/build/types.go:39: loadServices 85.7% github.com/docker/app/internal/commands/build/types.go:52: loadService 75.0% github.com/docker/app/internal/commands/build/types.go:63: transformBuildConfig 75.0% github.com/docker/app/internal/commands/cnab.go:47: addNamedCredentialSets 75.0% github.com/docker/app/internal/commands/cnab.go:78: parseCommandlineCredential 100.0% github.com/docker/app/internal/commands/cnab.go:88: addCredentials 75.0% github.com/docker/app/internal/commands/cnab.go:105: addDockerCredentials 87.5% github.com/docker/app/internal/commands/cnab.go:120: addRegistryCredentials 85.0% github.com/docker/app/internal/commands/cnab.go:152: prepareCredentialSet 77.8% github.com/docker/app/internal/commands/cnab.go:169: getTargetContext 85.7% github.com/docker/app/internal/commands/cnab.go:184: prepareDriver 100.0% github.com/docker/app/internal/commands/cnab.go:217: getAppNameKind 83.3% github.com/docker/app/internal/commands/cnab.go:239: extractAndLoadAppBasedBundle 83.3% github.com/docker/app/internal/commands/cnab.go:249: loadBundleFromFile 80.0% github.com/docker/app/internal/commands/cnab.go:261: resolveBundle 75.0% github.com/docker/app/internal/commands/cnab.go:287: getBundle 83.3% github.com/docker/app/internal/commands/cnab.go:308: pullBundle 66.7% github.com/docker/app/internal/commands/cnab.go:324: requiredClaimBindMount 100.0% github.com/docker/app/internal/commands/cnab.go:333: requiredBindMount 77.8% github.com/docker/app/internal/commands/cnab.go:365: socketPath 100.0% github.com/docker/app/internal/commands/cnab.go:373: isDockerHostLocal 100.0% github.com/docker/app/internal/commands/cnab.go:377: prepareCustomAction 72.2% github.com/docker/app/internal/commands/cnab.go:411: isInstallationFailed 100.0% github.com/docker/app/internal/commands/dockerdesktop.go:21: defaultDockerDesktopHostProvider 66.7% github.com/docker/app/internal/commands/dockerdesktop.go:37: rewrite 100.0% github.com/docker/app/internal/commands/dockerdesktop.go:53: rewrite 91.7% github.com/docker/app/internal/commands/dockerdesktop.go:78: makeLinuxkitIPProvider 0.0% github.com/docker/app/internal/commands/dockerdesktop.go:108: rewriteContextIfDockerDesktop 66.7% github.com/docker/app/internal/commands/dockerdesktop.go:135: List 0.0% github.com/docker/app/internal/commands/dockerdesktop.go:147: GetMetadata 80.0% github.com/docker/app/internal/commands/image/command.go:9: Cmd 100.0% github.com/docker/app/internal/commands/image/list.go:17: listCmd 77.8% github.com/docker/app/internal/commands/image/list.go:40: runList 71.4% github.com/docker/app/internal/commands/image/list.go:54: getPackages 87.5% github.com/docker/app/internal/commands/image/list.go:73: printImages 100.0% github.com/docker/app/internal/commands/image/list.go:84: printHeaders 100.0% github.com/docker/app/internal/commands/image/list.go:92: printValues 100.0% github.com/docker/app/internal/commands/image/rm.go:15: rmCmd 71.4% github.com/docker/app/internal/commands/image/rm.go:49: runRm 71.4% github.com/docker/app/internal/commands/image/tag.go:14: tagCmd 77.8% github.com/docker/app/internal/commands/image/tag.go:37: runTag 100.0% github.com/docker/app/internal/commands/image/tag.go:46: readBundle 100.0% github.com/docker/app/internal/commands/image/tag.go:59: storeBundle 100.0% github.com/docker/app/internal/commands/image/tag.go:68: StringToRef 100.0% github.com/docker/app/internal/commands/init.go:16: initCmd 87.5% github.com/docker/app/internal/commands/inspect.go:19: inspectCmd 100.0% github.com/docker/app/internal/commands/inspect.go:36: runInspect 73.9% github.com/docker/app/internal/commands/list.go:42: listCmd 100.0% github.com/docker/app/internal/commands/list.go:59: runList 88.9% github.com/docker/app/internal/commands/list.go:75: printHeaders 100.0% github.com/docker/app/internal/commands/list.go:83: printValues 100.0% github.com/docker/app/internal/commands/list.go:91: getInstallations 77.8% github.com/docker/app/internal/commands/parameters.go:25: withFileParameters 85.7% github.com/docker/app/internal/commands/parameters.go:38: withCommandLineParameters 100.0% github.com/docker/app/internal/commands/parameters.go:48: withSendRegistryAuth 85.7% github.com/docker/app/internal/commands/parameters.go:61: withOrchestratorParameters 100.0% github.com/docker/app/internal/commands/parameters.go:73: withErrorWriter 100.0% github.com/docker/app/internal/commands/parameters.go:80: mergeBundleParameters 92.3% github.com/docker/app/internal/commands/parameters.go:104: matchAndMergeParametersDefinition 92.0% github.com/docker/app/internal/commands/pull.go:16: pullCmd 100.0% github.com/docker/app/internal/commands/pull.go:29: runPull 73.3% github.com/docker/app/internal/commands/push.go:52: pushCmd 100.0% github.com/docker/app/internal/commands/push.go:73: runPush 71.4% github.com/docker/app/internal/commands/push.go:99: resolveReferenceAndBundle 66.7% github.com/docker/app/internal/commands/push.go:115: pushInvocationImage 71.4% github.com/docker/app/internal/commands/push.go:138: pushBundle 77.8% github.com/docker/app/internal/commands/push.go:168: withAppAnnotations 80.0% github.com/docker/app/internal/commands/push.go:177: platformFilter 100.0% github.com/docker/app/internal/commands/push.go:184: retagInvocationImage 80.0% github.com/docker/app/internal/commands/push.go:199: shouldRetagInvocationImage 85.7% github.com/docker/app/internal/commands/push.go:245: onEvent 0.0% github.com/docker/app/internal/commands/push.go:265: imageIndex 0.0% github.com/docker/app/internal/commands/push.go:280: onProgress 0.0% github.com/docker/app/internal/commands/push.go:284: print 0.0% github.com/docker/app/internal/commands/push.go:299: printDescriptorProgress 0.0% github.com/docker/app/internal/commands/push.go:335: hasError 0.0% github.com/docker/app/internal/commands/push.go:351: onEvent 80.0% github.com/docker/app/internal/commands/push.go:364: checkFlags 66.7% github.com/docker/app/internal/commands/remove.go:19: removeCmd 100.0% github.com/docker/app/internal/commands/remove.go:38: runRemove 52.9% github.com/docker/app/internal/commands/render.go:20: renderCmd 100.0% github.com/docker/app/internal/commands/render.go:39: runRender 80.0% github.com/docker/app/internal/commands/root.go:25: NewRootCmd 63.6% github.com/docker/app/internal/commands/root.go:50: addCommands 100.0% github.com/docker/app/internal/commands/root.go:67: firstOrEmpty 66.7% github.com/docker/app/internal/commands/root.go:74: muteDockerCli 100.0% github.com/docker/app/internal/commands/root.go:83: prepareStores 69.2% github.com/docker/app/internal/commands/root.go:103: prepareBundleStore 71.4% github.com/docker/app/internal/commands/root.go:120: addFlags 100.0% github.com/docker/app/internal/commands/root.go:132: addFlags 100.0% github.com/docker/app/internal/commands/root.go:139: SetDefaultTargetContext 100.0% github.com/docker/app/internal/commands/root.go:143: CredentialSetOpts 100.0% github.com/docker/app/internal/commands/root.go:154: insecureRegistriesFromEngine 88.9% github.com/docker/app/internal/commands/run.go:40: runCmd 100.0% github.com/docker/app/internal/commands/run.go:63: runRun 72.7% github.com/docker/app/internal/commands/upgrade.go:19: upgradeCmd 100.0% github.com/docker/app/internal/commands/upgrade.go:37: runUpgrade 62.9% github.com/docker/app/internal/commands/validate.go:19: validateCmd 85.7% github.com/docker/app/internal/compose/compose.go:29: Load 90.9% github.com/docker/app/internal/compose/compose.go:49: validateImagesInConfigFiles 89.5% github.com/docker/app/internal/compose/compose.go:85: ExtractVariables 75.0% github.com/docker/app/internal/formatter/formatter.go:20: Register 100.0% github.com/docker/app/internal/formatter/formatter.go:34: Format 100.0% github.com/docker/app/internal/formatter/formatter.go:49: Drivers 100.0% github.com/docker/app/internal/formatter/json/driver.go:11: init 100.0% github.com/docker/app/internal/formatter/json/driver.go:19: Format 0.0% github.com/docker/app/internal/formatter/yaml/driver.go:10: init 100.0% github.com/docker/app/internal/formatter/yaml/driver.go:18: Format 0.0% github.com/docker/app/internal/inspect/inspect.go:49: Inspect 75.0% github.com/docker/app/internal/inspect/inspect.go:66: printAppInfo 75.0% github.com/docker/app/internal/inspect/inspect.go:77: printJSON 80.0% github.com/docker/app/internal/inspect/inspect.go:86: printTable 100.0% github.com/docker/app/internal/inspect/inspect.go:135: printMetadata 100.0% github.com/docker/app/internal/inspect/inspect.go:143: printSection 100.0% github.com/docker/app/internal/inspect/inspect.go:159: printHeaders 100.0% github.com/docker/app/internal/inspect/inspect.go:168: getAppInfo 96.0% github.com/docker/app/internal/inspect/inspect.go:227: getReplicas 100.0% github.com/docker/app/internal/inspect/inspect.go:234: extractParameters 88.9% github.com/docker/app/internal/inspect/inspect.go:248: mergeAndFlattenParameters 71.4% github.com/docker/app/internal/inspect/ports.go:16: newPort 100.0% github.com/docker/app/internal/inspect/ports.go:20: add 100.0% github.com/docker/app/internal/inspect/ports.go:36: String 100.0% github.com/docker/app/internal/inspect/ports.go:47: getPorts 100.0% github.com/docker/app/internal/log/log.go:10: WithLogContext 100.0% github.com/docker/app/internal/names.go:89: AppNameFromDir 100.0% github.com/docker/app/internal/names.go:95: DirNameFromAppName 100.0% github.com/docker/app/internal/names.go:104: ValidateAppName 100.0% github.com/docker/app/internal/packager/bundle.go:22: MakeBundleFromApp 66.7% github.com/docker/app/internal/packager/bundle.go:58: MakeInvocationImageName 100.0% github.com/docker/app/internal/packager/bundle.go:65: MakeCNABImageName 100.0% github.com/docker/app/internal/packager/bundle.go:73: PersistInBundleStore 71.4% github.com/docker/app/internal/packager/bundle.go:85: GetNamedTagged 77.8% github.com/docker/app/internal/packager/cnab.go:20: ToCNAB 94.1% github.com/docker/app/internal/packager/cnab.go:194: extractBundleImages 85.7% github.com/docker/app/internal/packager/extract.go:17: findApp 0.0% github.com/docker/app/internal/packager/extract.go:48: Extract 42.9% github.com/docker/app/internal/packager/init.go:30: Init 64.7% github.com/docker/app/internal/packager/init.go:59: initFromScratch 0.0% github.com/docker/app/internal/packager/init.go:74: checkComposeFileVersion 100.0% github.com/docker/app/internal/packager/init.go:82: initFromComposeFile 86.0% github.com/docker/app/internal/packager/init.go:147: removeDefaultValuesFromCompose 100.0% github.com/docker/app/internal/packager/init.go:161: composeFileFromScratch 0.0% github.com/docker/app/internal/packager/init.go:181: writeMetadataFile 75.0% github.com/docker/app/internal/packager/init.go:194: newMetadata 100.0% github.com/docker/app/internal/packager/packing.go:24: tarAdd 75.0% github.com/docker/app/internal/packager/packing.go:32: tarAddBytes 83.3% github.com/docker/app/internal/packager/packing.go:48: PackInvocationImageContext 63.6% github.com/docker/app/internal/packager/packing.go:83: BaseInvocationImage 80.0% github.com/docker/app/internal/packager/packing.go:93: dockerFile 100.0% github.com/docker/app/internal/packager/parameter.go:18: ExtractCNABParameterMapping 100.0% github.com/docker/app/internal/packager/parameter.go:33: getKeys 100.0% github.com/docker/app/internal/packager/parameter.go:49: ExtractCNABParametersValues 100.0% github.com/docker/app/internal/slices/slices.go:4: ContainsString 100.0% github.com/docker/app/internal/store/app.go:35: NewApplicationStore 83.3% github.com/docker/app/internal/store/app.go:54: InstallationStore 75.0% github.com/docker/app/internal/store/app.go:63: CredentialStore 75.0% github.com/docker/app/internal/store/app.go:72: BundleStore 75.0% github.com/docker/app/internal/store/app.go:80: makeDigestedDirectory 100.0% github.com/docker/app/internal/store/bundle.go:48: Store 71.4% github.com/docker/app/internal/store/bundle.go:70: Read 80.0% github.com/docker/app/internal/store/bundle.go:88: List 69.6% github.com/docker/app/internal/store/bundle.go:131: Remove 83.3% github.com/docker/app/internal/store/bundle.go:142: storePath 100.0% github.com/docker/app/internal/store/bundle.go:174: pathToReference 91.7% github.com/docker/app/internal/store/bundle.go:201: reconstructNamedReference 72.7% github.com/docker/app/internal/store/credential.go:24: Read 100.0% github.com/docker/app/internal/store/credential.go:29: Store 71.4% github.com/docker/app/internal/store/digest.go:14: ComputeDigest 80.0% github.com/docker/app/internal/store/digest.go:23: FromString 100.0% github.com/docker/app/internal/store/digest.go:37: String 100.0% github.com/docker/app/internal/store/installation.go:26: NewInstallation 75.0% github.com/docker/app/internal/store/installation.go:39: SetParameter 100.0% github.com/docker/app/internal/store/installation.go:51: List 100.0% github.com/docker/app/internal/store/installation.go:55: Store 75.0% github.com/docker/app/internal/store/installation.go:63: Read 77.8% github.com/docker/app/internal/store/installation.go:79: Delete 100.0% github.com/docker/app/internal/version.go:20: FullVersion 75.0% github.com/docker/app/internal/version.go:36: reformatDate 75.0% github.com/docker/app/internal/yaml/yaml.go:14: Unmarshal 80.0% github.com/docker/app/internal/yaml/yaml.go:28: Marshal 100.0% github.com/docker/app/internal/yaml/yaml.go:35: NewDecoder 100.0% github.com/docker/app/loader/loader.go:16: LoadFromDirectory 100.0% github.com/docker/app/loader/loader.go:26: LoadFromTar 100.0% github.com/docker/app/loader/loader.go:37: LoadFromTarReader 45.5% github.com/docker/app/render/render.go:43: Render 80.0% github.com/docker/app/render/render.go:68: substituteParams 100.0% github.com/docker/app/render/render.go:104: render 84.6% github.com/docker/app/render/render.go:128: processEnabled 91.7% github.com/docker/app/render/render.go:148: isEnabled 75.0% github.com/docker/app/specification/bindata.go:44: Open 0.0% github.com/docker/app/specification/bindata.go:52: prepare 82.4% github.com/docker/app/specification/bindata.go:77: Open 0.0% github.com/docker/app/specification/bindata.go:85: Open 0.0% github.com/docker/app/specification/bindata.go:89: File 0.0% github.com/docker/app/specification/bindata.go:100: Close 0.0% github.com/docker/app/specification/bindata.go:104: Readdir 0.0% github.com/docker/app/specification/bindata.go:125: Stat 0.0% github.com/docker/app/specification/bindata.go:129: Name 0.0% github.com/docker/app/specification/bindata.go:133: Size 0.0% github.com/docker/app/specification/bindata.go:137: Mode 0.0% github.com/docker/app/specification/bindata.go:141: ModTime 0.0% github.com/docker/app/specification/bindata.go:145: IsDir 0.0% github.com/docker/app/specification/bindata.go:149: Sys 0.0% github.com/docker/app/specification/bindata.go:155: _escFS 0.0% github.com/docker/app/specification/bindata.go:164: _escDir 0.0% github.com/docker/app/specification/bindata.go:173: _escFSByte 45.5% github.com/docker/app/specification/bindata.go:191: _escFSMustByte 0.0% github.com/docker/app/specification/bindata.go:200: _escFSString 0.0% github.com/docker/app/specification/bindata.go:206: _escFSMustString 0.0% github.com/docker/app/specification/schema.go:15: Validate 93.3% github.com/docker/app/types/init.go:17: NewInitialComposeFile 100.0% github.com/docker/app/types/metadata/load.go:14: Load 83.3% github.com/docker/app/types/metadata/load.go:25: validateRawMetadata 83.3% github.com/docker/app/types/metadata/metadata.go:19: String 100.0% github.com/docker/app/types/metadata/metadata.go:28: String 100.0% github.com/docker/app/types/metadata/metadata.go:45: FromBundle 100.0% github.com/docker/app/types/parameters/load.go:14: Load 95.0% github.com/docker/app/types/parameters/load.go:48: LoadMultiple 77.8% github.com/docker/app/types/parameters/load.go:64: LoadFile 75.0% github.com/docker/app/types/parameters/load.go:73: LoadFiles 77.8% github.com/docker/app/types/parameters/load.go:89: convertToStringKeysRecursive 96.0% github.com/docker/app/types/parameters/load.go:126: formatInvalidKeyError 100.0% github.com/docker/app/types/parameters/merge.go:9: Merge 100.0% github.com/docker/app/types/parameters/opts.go:9: WithPrefix 100.0% github.com/docker/app/types/parameters/parameters.go:18: Flatten 100.0% github.com/docker/app/types/parameters/parameters.go:22: flatten 100.0% github.com/docker/app/types/parameters/parameters.go:50: FromFlatten 88.9% github.com/docker/app/types/parameters/parameters.go:65: isSupposedSlice 100.0% github.com/docker/app/types/parameters/parameters.go:73: assignKey 100.0% github.com/docker/app/types/types.go:30: ShouldRunInsideDirectory 0.0% github.com/docker/app/types/types.go:57: Path 100.0% github.com/docker/app/types/types.go:62: Size 100.0% github.com/docker/app/types/types.go:67: Composes 100.0% github.com/docker/app/types/types.go:72: ParametersRaw 100.0% github.com/docker/app/types/types.go:77: Parameters 100.0% github.com/docker/app/types/types.go:82: MetadataRaw 100.0% github.com/docker/app/types/types.go:87: Metadata 100.0% github.com/docker/app/types/types.go:92: Attachments 100.0% github.com/docker/app/types/types.go:96: HasCRLF 0.0% github.com/docker/app/types/types.go:101: Extract 0.0% github.com/docker/app/types/types.go:114: noop 0.0% github.com/docker/app/types/types.go:117: NewApp 100.0% github.com/docker/app/types/types.go:139: NewAppFromDefaultFiles 100.0% github.com/docker/app/types/types.go:150: WithName 100.0% github.com/docker/app/types/types.go:158: WithPath 100.0% github.com/docker/app/types/types.go:166: WithCleanup 100.0% github.com/docker/app/types/types.go:174: WithSource 100.0% github.com/docker/app/types/types.go:181: WithCRLF 0.0% github.com/docker/app/types/types.go:189: WithParametersFiles 100.0% github.com/docker/app/types/types.go:194: WithAttachments 84.6% github.com/docker/app/types/types.go:226: WithParameters 100.0% github.com/docker/app/types/types.go:230: parametersLoader 100.0% github.com/docker/app/types/types.go:248: MetadataFile 100.0% github.com/docker/app/types/types.go:253: Metadata 100.0% github.com/docker/app/types/types.go:257: metadataLoader 100.0% github.com/docker/app/types/types.go:275: WithComposeFiles 100.0% github.com/docker/app/types/types.go:280: WithComposes 100.0% github.com/docker/app/types/types.go:284: composeLoader 100.0% github.com/docker/app/types/types.go:295: readReaders 77.8% github.com/docker/app/types/types.go:309: readFiles 100.0% github.com/docker/app/types/types.go:323: newErrGroup 100.0% total: (statements) 76.8% go tool cover -html _build/cov/all.out -o _build/cov/coverage.html [Pipeline] sh + make -f docker.Makefile TAG=jenkins-app-PR-683-7-coverage coverage-results docker cp docker-app-cov-jenkins-app-PR-683-7-coverage:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov docker cp docker-app-cov-jenkins-app-PR-683-7-coverage:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results docker rm docker-app-cov-jenkins-app-PR-683-7-coverage docker-app-cov-jenkins-app-PR-683-7-coverage [Pipeline] } [Pipeline] // ansiColor [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-683/7/artifacts/ [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-683/7/artifacts/ [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-683/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-683/7/artifacts/ [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-683-7-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-683-7-coverage [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 Finished: SUCCESS