Started by user Jean-Christophe Sirot Replayed #8 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 2a9062c66a8407f6266877af7ff589ce02234d79 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-090c01c188e5936c9) in /home/ubuntu/workspace/app_PR-704 [Pipeline] { Running on ubuntu-1804-overlay2 (i-07039ffb1470cb7bb) in /home/ubuntu/workspace/app_PR-704 [Pipeline] { Running on ubuntu-1804-overlay2 (i-0a186b15eca467d14) in /home/ubuntu/workspace/app_PR-704 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] checkout [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { [Pipeline] checkout using credential docker-jenkins-github-credentials using credential docker-jenkins-github-credentials [Pipeline] checkout Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching changes from the remote Git repository using credential docker-jenkins-github-credentials Fetching without tags Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Checking out Revision 2a9062c66a8407f6266877af7ff589ce02234d79 (PR-704) > git rev-parse --is-inside-work-tree # 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 > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a9062c66a8407f6266877af7ff589ce02234d79 Commit message: "Remove bracket changes in command usage message" > git rev-list --no-walk 2a9062c66a8407f6266877af7ff589ce02234d79 # timeout=10 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-704-9 -f Dockerfile.lint . Fetching without tags Fetching without tags Checking out Revision 2a9062c66a8407f6266877af7ff589ce02234d79 (PR-704) Checking out Revision 2a9062c66a8407f6266877af7ff589ce02234d79 (PR-704) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/704/head:refs/remotes/origin/PR-704 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a9062c66a8407f6266877af7ff589ce02234d79 Sending build context to Docker daemon 76.17MB 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 ---> dddcd1243bc2 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 ---> 4c59d1468dd6 Step 6/8 : WORKDIR /go/src/github.com/docker/app ---> Using cache ---> ce03771c8188 Step 7/8 : ENV CGO_ENABLED=0 ---> Using cache ---> dd925a6a8cb1 Step 8/8 : COPY . . Commit message: "Remove bracket changes in command usage message" Commit message: "Remove bracket changes in command usage message" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/704/head:refs/remotes/origin/PR-704 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a9062c66a8407f6266877af7ff589ce02234d79 + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-704-9 --build-arg COMMIT=2a9062c6 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-704-9 . [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-PR-704-9 --build-arg COMMIT=2a9062c6 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=build -t docker-app-cli:jenkins-app-PR-704-9 . Sending build context to Docker daemon 76.17MB Step 1/13 : ARG ALPINE_VERSION=3.10.1 Step 2/13 : FROM golang:1.13.0 AS build 1.13.0: Pulling from library/golang 4a56a430b2ba: Pulling fs layer 4b5cacb629f5: Pulling fs layer 14408c8d4f9a: Pulling fs layer ea67eaa7dd42: Pulling fs layer a2a2197e145e: Pulling fs layer 36ac8c11a11f: Pulling fs layer ecd7d9a67e26: Pulling fs layer a2a2197e145e: Waiting 36ac8c11a11f: Waiting ecd7d9a67e26: Waiting ea67eaa7dd42: Waiting 4b5cacb629f5: Verifying Checksum 4b5cacb629f5: Download complete 14408c8d4f9a: Verifying Checksum 14408c8d4f9a: Download complete Sending build context to Docker daemon 76.17MB 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 4a56a430b2ba: Verifying Checksum 4a56a430b2ba: Download complete bbab4ec87ac4: Verifying Checksum bbab4ec87ac4: Download complete ea67eaa7dd42: Verifying Checksum ea67eaa7dd42: Download complete ---> aa1e9891baba Successfully built aa1e9891baba Successfully tagged docker-app-lint:jenkins-app-PR-704-9 docker run --rm docker-app-lint:jenkins-app-PR-704-9 make lint 4ae16bd47783: Verifying Checksum 4ae16bd47783: Download complete a2a2197e145e: Verifying Checksum a2a2197e145e: Download complete ecd7d9a67e26: Verifying Checksum ecd7d9a67e26: 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 Linting... 36ac8c11a11f: Verifying Checksum 36ac8c11a11f: Download complete e0ec5610455a: Download complete 4a56a430b2ba: Pull complete 4b5cacb629f5: Pull complete 14408c8d4f9a: Pull complete 4e549f0f5e64: Verifying Checksum 4e549f0f5e64: Download complete ea67eaa7dd42: Pull complete 2f8d98df0991: Verifying Checksum 2f8d98df0991: Download complete 4ae16bd47783: Pull complete bbab4ec87ac4: Pull complete 2ea1f7804402: Pull complete a2a2197e145e: Pull complete 96465440c208: Pull complete 16a3d8aca6cd: Pull complete 36ac8c11a11f: Pull complete ecd7d9a67e26: Pull complete Digest: sha256:90d554b5ae59cb63d2bf42bdfcd60aa1feb4794d9e3a9cbb9d2deb477c088be0 Status: Downloaded newer image for golang:1.13.0 ---> c4d6fdf2260a Step 3/13 : RUN apt-get update -qq && apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 3cbbabd559b4 e0ec5610455a: Pull complete 96d705baf026: Pull complete 39007eb46008: Pull 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 10 not upgraded. Need to get 95.2 kB of archives. After this operation, 211 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 95.2 kB in 0s (368 kB/s) Selecting previously unselected package uuid-runtime. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 15394 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... Unpacking uuid-runtime (2.33.1-0.1) ... Setting up uuid-runtime (2.33.1-0.1) ... Adding group `uuidd' (GID 102) ... Done. Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory Adding system user `uuidd' (UID 101) ... Adding new user `uuidd' (UID 101) with group `uuidd' ... Not creating home directory `/run/uuidd'. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Removing intermediate container 3cbbabd559b4 ---> 731a0bdebe18 Step 4/13 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 7c56bfb5d6d6 Removing intermediate container 7c56bfb5d6d6 ---> 4a06879e474a Step 5/13 : COPY . . ---> 158851c06394 Step 6/13 : ARG TAG="unknown" ---> Running in 0b4ecc68cd42 Removing intermediate container 0b4ecc68cd42 ---> 63255508feef Step 7/13 : RUN make BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run ---> Running in 619e8499996f CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=2a9062c6 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-9 -X github.com/docker/app/internal.BuildTime=2019-10-23T11:40:53Z" -o bin/cnab-run ./cmd/cnab-run 4e549f0f5e64: Pull complete c0058a8c71f2: Pull complete [Pipeline] sh + make -f docker.Makefile check-vendor docker build --build-arg TAG=jenkins-app-PR-704-9 --build-arg COMMIT=2a9062c6 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-704-9 . Sending build context to Docker daemon 76.17MB 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 ---> 06657342751b Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 3aaa22cab9a4 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 06f6a36d4868 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 48817e216790 Step 6/18 : ARG GOPROXY ---> Using cache ---> c51923eaa6af Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 324ba8863880 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 50a8cf607be6 Step 9/18 : FROM build AS dev ---> 50a8cf607be6 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> a2d5a855fad3 Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> 7b4bf7e2cc7e 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 ---> bea60c6a099c Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> 62275db97965 Step 14/18 : ARG GOPROXY ---> Using cache ---> 0bfaef6e9e8c 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 ---> aaef1c7531e2 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 ---> 8b08cc4f3388 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 ---> e67616a9de46 Step 18/18 : COPY . . ---> Using cache ---> 9bbc79efec3f [Warning] One or more build-args [ALPINE_VERSION COMMIT TAG] were not consumed Successfully built 9bbc79efec3f Successfully tagged docker-app-dev:jenkins-app-PR-704-9 Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-704-9 sh -c "make vendor && hack/check-git-diff vendor" rm -rf vendor 1>&1 dep ensure -v # Gopkg.lock is out of sync with Gopkg.toml and project imports: github.com/docker/docker/pkg/stringid: imported or required, but missing from Gopkg.lock's input-imports Root project is "github.com/docker/app" 26 transitively valid internal packages 72 external packages imported from 24 projects (0) ✓ select (root) 2f8d98df0991: Pull complete Digest: sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 Status: Downloaded newer image for dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 ---> 518d5e4626aa Step 2/8 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Running in 9b009f7d7afc Removing intermediate container 9b009f7d7afc ---> 77423deef53d Step 3/8 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 606c3e878855 Reading package lists...(1) ? attempt github.com/containerd/containerd with 2 pkgs; at least 1 versions to try (1) try github.com/containerd/containerd@master Building dependency tree... Reading state information... (1) ✓ select github.com/containerd/containerd@master w/3 pkgs coreutils is already the newest version (8.30-3). coreutils set to manually installed. util-linux is already the newest version (2.33.1-0.1). util-linux set to manually installed. The following NEW packages will be installed: uuid-runtime 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 95.2 kB of archives. After this operation, 211 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 95.2 kB in 0s (369 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. (2) ? attempt github.com/deislabs/cnab-go with 8 pkgs; at least 1 versions to try (2) try github.com/deislabs/cnab-go@v0.3.2-beta1 Removing intermediate container 606c3e878855 ---> 927910b92bd8 Step 4/8 : WORKDIR /go/src/github.com/docker/cli ---> Running in bdd0da93f750 Removing intermediate container bdd0da93f750 ---> aa926ec599b8 Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in c310e7ec2006 Cloning into '.'... (2) ✓ select github.com/deislabs/cnab-go@v0.3.2-beta1 w/8 pkgs (3) ? attempt github.com/Masterminds/semver with 1 pkgs; at least 1 versions to try (3) try github.com/Masterminds/semver@v1.4.2 (3) ✓ select github.com/Masterminds/semver@v1.4.2 w/1 pkgs Note: checking out 'a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact (4) ? attempt github.com/docker/buildx with 4 pkgs; at least 1 versions to try (4) try github.com/docker/buildx@v0.3.1 (4) ✓ select github.com/docker/buildx@v0.3.1 w/5 pkgs (5) ? revisit github.com/containerd/containerd to add 5 pkgs (5) ✓ include 12 more pkgs from github.com/containerd/containerd@master (5) ? attempt github.com/opencontainers/image-spec with 1 pkgs; at least 1 versions to try (6) try github.com/opencontainers/image-spec@v1.0.1 (6) ✓ select github.com/opencontainers/image-spec@v1.0.1 w/2 pkgs Removing intermediate container c310e7ec2006 ---> 64c0043b7f57 Step 6/8 : ARG GOPROXY ---> Running in 83a4bb0286d3 Removing intermediate container 83a4bb0286d3 ---> 4e47a0faa756 Step 7/8 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in a77da0bc3203 (6) ? attempt github.com/containerd/console with 1 pkgs; at least 1 versions to try (7) try github.com/containerd/console@master (7) ✓ select github.com/containerd/console@master w/1 pkgs (7) ? attempt github.com/docker/cnab-to-oci with 2 pkgs; at least 1 versions to try (8) try github.com/docker/cnab-to-oci@v0.1.0-beta2 ./scripts/build/osx Building build/docker-darwin-amd64 (8) ✓ select github.com/docker/cnab-to-oci@v0.1.0-beta2 w/2 pkgs (8) ? attempt github.com/docker/cli with 20 pkgs; at least 1 versions to try (9) try github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98 Removing intermediate container 619e8499996f ---> 9e2f6cd370d9 Step 8/13 : FROM alpine:${ALPINE_VERSION} as invocation 3.10.1: Pulling from library/alpine 050382585609: Pulling fs layer 050382585609: Verifying Checksum 050382585609: Download complete 050382585609: Pull complete Digest: sha256:6a92cd1fcdc8d8cdec60f33dda4db2cb1fcdcacf3410a8e05b3741f44a9b5998 Status: Downloaded newer image for alpine:3.10.1 ---> b7b28af77ffe Step 9/13 : RUN apk add --no-cache ca-certificates && adduser -S cnab ---> Running in cf084e129e70 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 cf084e129e70 ---> 3fd5372b935a Step 10/13 : USER cnab ---> Running in 19b58f6f315e Removing intermediate container 19b58f6f315e ---> d2d3ebf0e3d4 Step 11/13 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run ---> 7211dbaa9926 Step 12/13 : WORKDIR /cnab/app ---> Running in 577e6d2311ee Removing intermediate container 577e6d2311ee ---> ccd29b77934e Step 13/13 : CMD /cnab/app/run ---> Running in d4fa787fa6d3 Removing intermediate container d4fa787fa6d3 ---> f0a5d4b01c7d [Warning] One or more build-args [COMMIT GOPROXY] were not consumed Successfully built f0a5d4b01c7d Successfully tagged docker/cnab-app-base:jenkins-app-PR-704-9 docker save docker/cnab-app-base:jenkins-app-PR-704-9 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-704-9-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-704-9 docker/cnab-app-base:jenkins-app-PR-704-9-coverage docker save docker/cnab-app-base:jenkins-app-PR-704-9-coverage -o _build/coverage-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/_build [Pipeline] { [Pipeline] stash Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/9/stashes/invocation-image.tgz [Pipeline] stash Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/9/stashes/coverage-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-704-9 Untagged: docker/cnab-app-base:jenkins-app-PR-704-9 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-704-9-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-704-9-coverage Deleted: sha256:f0a5d4b01c7db58e7e89cb94b95666dcca4359735278a9b4dc10d206eaa5a470 Deleted: sha256:ccd29b77934ec3e28efccb090a5c2b7cc385c54da33a1d3a722cb91376cd54f5 Deleted: sha256:7211dbaa99264848d4b405bafa0170cc38c2a6fa5a3ddd2fb2795b9f4e0f1854 Deleted: sha256:2c9400685a288499886226d54c156c8e30ac04e1c1afe8b3f4740a65d987bce4 Deleted: sha256:d2d3ebf0e3d4cb2959ad70a15a996c87a5c589371ade4cfe5889d351d66f27a0 Deleted: sha256:3fd5372b935a48fd36abf3f6c20b1c2f48d95e095ab2ca0be2926aea9e0260c8 Deleted: sha256:80e963598b597370c68de95cc91834c76a6af140abc0f89e940969f37488f779 [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 (9) ✓ select github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98 w/50 pkgs (9) ? revisit github.com/containerd/containerd to add 3 pkgs (10) ✓ include 50 more pkgs from github.com/containerd/containerd@master (9) ? revisit github.com/opencontainers/image-spec to add 1 pkgs (11) ✓ include 1 more pkgs from github.com/opencontainers/image-spec@v1.0.1 (9) ? revisit github.com/opencontainers/image-spec to add 1 pkgs (12) ✓ include 1 more pkgs from github.com/opencontainers/image-spec@v1.0.1 (9) ? attempt github.com/Microsoft/go-winio with 1 pkgs; at least 1 versions to try (13) try github.com/Microsoft/go-winio@v0.4.12 (13) ✓ select github.com/Microsoft/go-winio@v0.4.12 w/1 pkgs (10) ? attempt github.com/containerd/typeurl with 1 pkgs; at least 1 versions to try (14) try github.com/containerd/typeurl@master (14) ✓ select github.com/containerd/typeurl@master w/1 pkgs (11) ? attempt github.com/docker/go with 1 pkgs; at least 1 versions to try (15) try github.com/docker/go@v1.5.1-1 (15) ✓ select github.com/docker/go@v1.5.1-1 w/1 pkgs (12) ? attempt github.com/containerd/ttrpc with 1 pkgs; at least 1 versions to try (16) try github.com/containerd/ttrpc@master (16) ✓ select github.com/containerd/ttrpc@master w/1 pkgs (13) ? attempt github.com/Microsoft/hcsshim with 1 pkgs; at least 1 versions to try (17) try github.com/Microsoft/hcsshim@v0.8.6 (17) ✓ select github.com/Microsoft/hcsshim@v0.8.6 w/15 pkgs (14) ? attempt github.com/docker/go-connections with 2 pkgs; at least 1 versions to try (18) try github.com/docker/go-connections@v0.4.0 (18) ✓ select github.com/docker/go-connections@v0.4.0 w/2 pkgs (15) ? attempt github.com/docker/docker with 2 pkgs; at least 1 versions to try (19) try github.com/docker/docker@master (19) ✓ select github.com/docker/docker@master w/2 pkgs (16) ? attempt github.com/docker/go-units with 1 pkgs; at least 1 versions to try (20) try github.com/docker/go-units@v0.3.3 (20) ✓ select github.com/docker/go-units@v0.3.3 w/1 pkgs (17) ? attempt github.com/gogo/protobuf with 1 pkgs; at least 1 versions to try (21) try github.com/gogo/protobuf@v1.2.1 (21) ✓ select github.com/gogo/protobuf@v1.2.1 w/3 pkgs (18) ? attempt github.com/pkg/errors with 1 pkgs; at least 1 versions to try (22) try github.com/pkg/errors@v0.8.1 (22) ✓ select github.com/pkg/errors@v0.8.1 w/1 pkgs (19) ? attempt github.com/docker/compose-on-kubernetes with 8 pkgs; at least 1 versions to try (23) try github.com/docker/compose-on-kubernetes@v0.4.21 (23) ✓ select github.com/docker/compose-on-kubernetes@v0.4.21 w/11 pkgs (20) ? attempt github.com/containerd/continuity with 2 pkgs; at least 1 versions to try (24) try github.com/containerd/continuity@master (24) ✓ select github.com/containerd/continuity@master w/3 pkgs (21) ? attempt github.com/containerd/cgroups with 1 pkgs; at least 1 versions to try (25) try github.com/containerd/cgroups@master (25) ✓ select github.com/containerd/cgroups@master w/1 pkgs (22) ? revisit github.com/gogo/protobuf to add 1 pkgs (26) ✓ include 3 more pkgs from github.com/gogo/protobuf@v1.2.1 (22) ? attempt github.com/imdario/mergo with 1 pkgs; at least 1 versions to try (27) try github.com/imdario/mergo@master (27) ✓ select github.com/imdario/mergo@master w/1 pkgs (23) ? attempt github.com/docker/distribution with 4 pkgs; at least 1 versions to try (28) try github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (28) ✓ select github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 w/11 pkgs (24) ? revisit github.com/docker/docker to add 1 pkgs (29) ✓ include 1 more pkgs from github.com/docker/docker@master (24) ? revisit github.com/docker/docker to add 12 pkgs (30) ✓ include 21 more pkgs from github.com/docker/docker@master (24) ? revisit github.com/Microsoft/hcsshim to add 1 pkgs (31) ✓ include 1 more pkgs from github.com/Microsoft/hcsshim@v0.8.6 (24) ? attempt github.com/mitchellh/mapstructure with 1 pkgs; at least 1 versions to try (32) try github.com/mitchellh/mapstructure@v1.1.2 (32) ✓ select github.com/mitchellh/mapstructure@v1.1.2 w/1 pkgs (25) ? revisit github.com/containerd/continuity to add 1 pkgs (33) ✓ include 1 more pkgs from github.com/containerd/continuity@master (25) ? revisit github.com/docker/docker to add 10 pkgs (34) ✓ include 34 more pkgs from github.com/docker/docker@master (25) ? revisit github.com/docker/go-connections to add 1 pkgs (35) ✓ include 1 more pkgs from github.com/docker/go-connections@v0.4.0 (25) ? attempt github.com/sirupsen/logrus with 1 pkgs; at least 1 versions to try (36) try github.com/sirupsen/logrus@v1.4.1 (36) ✓ select github.com/sirupsen/logrus@v1.4.1 w/1 pkgs (26) ? attempt github.com/moby/buildkit with 6 pkgs; at least 1 versions to try (37) try github.com/moby/buildkit@v0.6.2 (37) ✓ select github.com/moby/buildkit@v0.6.2 w/28 pkgs (27) ? revisit github.com/containerd/containerd to add 5 pkgs (38) ✓ include 16 more pkgs from github.com/containerd/containerd@master (27) ? attempt github.com/containerd/fifo with 1 pkgs; at least 1 versions to try (39) try github.com/containerd/fifo@master (39) ✓ select github.com/containerd/fifo@master w/1 pkgs (28) ? attempt github.com/qri-io/jsonschema with 1 pkgs; at least 1 versions to try (40) try github.com/qri-io/jsonschema@v0.1.1 (40) ✓ select github.com/qri-io/jsonschema@v0.1.1 w/1 pkgs (29) ? attempt github.com/docker/go-events with 1 pkgs; at least 1 versions to try (41) try github.com/docker/go-events@master (41) ✓ select github.com/docker/go-events@master w/1 pkgs (30) ? attempt github.com/gogo/googleapis with 1 pkgs; at least 1 versions to try (42) try github.com/gogo/googleapis@v1.2.0 (42) ✓ select github.com/gogo/googleapis@v1.2.0 w/1 pkgs (31) ? revisit github.com/docker/distribution to add 3 pkgs (43) ✓ include 14 more pkgs from github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (31) ? attempt github.com/docker/swarmkit with 3 pkgs; at least 1 versions to try (44) try github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc (44) ✓ select github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc w/6 pkgs (32) ? revisit github.com/gogo/protobuf to add 1 pkgs (45) ✓ include 2 more pkgs from github.com/gogo/protobuf@v1.2.1 (32) ? attempt github.com/mattn/go-shellwords with 1 pkgs; at least 1 versions to try (46) try github.com/mattn/go-shellwords@v1.0.5 (46) ✓ select github.com/mattn/go-shellwords@v1.0.5 w/1 pkgs (33) ? attempt github.com/coreos/etcd with 1 pkgs; at least 1 versions to try (47) try github.com/coreos/etcd@v3.3.12 (47) ✓ select github.com/coreos/etcd@v3.3.12 w/1 pkgs (34) ? attempt github.com/hashicorp/go-version with 1 pkgs; at least 1 versions to try (48) try github.com/hashicorp/go-version@v1.1.0 (48) ✓ select github.com/hashicorp/go-version@v1.1.0 w/1 pkgs (35) ? attempt github.com/konsorten/go-windows-terminal-sequences with 1 pkgs; at least 1 versions to try (49) try github.com/konsorten/go-windows-terminal-sequences@v1.0.2 (49) ✓ select github.com/konsorten/go-windows-terminal-sequences@v1.0.2 w/1 pkgs (36) ? attempt github.com/globalsign/mgo with 1 pkgs; at least 1 versions to try (50) try github.com/globalsign/mgo@master (50) ✓ select github.com/globalsign/mgo@master w/5 pkgs (37) ? attempt github.com/morikuni/aec with 1 pkgs; at least 1 versions to try (51) try github.com/morikuni/aec@master (51) ✓ select github.com/morikuni/aec@master w/1 pkgs (38) ? revisit github.com/docker/distribution to add 2 pkgs (52) ✓ include 5 more pkgs from github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (38) ? attempt github.com/coreos/go-systemd with 1 pkgs; at least 1 versions to try (53) try github.com/coreos/go-systemd@v20 (53) ✓ select github.com/coreos/go-systemd@v20 w/1 pkgs (39) ? attempt github.com/golang/protobuf with 1 pkgs; at least 1 versions to try (54) try github.com/golang/protobuf@v1.3.1 (54) ✓ select github.com/golang/protobuf@v1.3.1 w/1 pkgs (40) ? attempt github.com/docker/go-metrics with 1 pkgs; at least 1 versions to try (55) try github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 (55) ✓ select github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 w/1 pkgs (41) ? attempt github.com/gorilla/mux with 1 pkgs; at least 1 versions to try (56) try github.com/gorilla/mux@v1.7.1 (56) ✓ select github.com/gorilla/mux@v1.7.1 w/1 pkgs (42) ? attempt github.com/docker/docker-credential-helpers with 2 pkgs; at least 1 versions to try (57) try github.com/docker/docker-credential-helpers@v0.6.1 (57) ✓ select github.com/docker/docker-credential-helpers@v0.6.1 w/2 pkgs (43) ? attempt github.com/wadey/gocovmerge with 1 pkgs; at least 1 versions to try (58) try github.com/wadey/gocovmerge@master (58) ✓ select github.com/wadey/gocovmerge@master w/1 pkgs (44) ? attempt github.com/oklog/ulid with 1 pkgs; at least 1 versions to try (59) try github.com/oklog/ulid@v1.3.1 (59) ✓ select github.com/oklog/ulid@v1.3.1 w/1 pkgs (45) ? attempt k8s.io/kubernetes with 1 pkgs; at least 1 versions to try (60) try k8s.io/kubernetes@v1.14.1 (60) ✓ select k8s.io/kubernetes@v1.14.1 w/1 pkgs (46) ? revisit github.com/moby/buildkit to add 4 pkgs (61) ✓ include 24 more pkgs from github.com/moby/buildkit@v0.6.2 (46) ? attempt vbom.ml/util with 1 pkgs; at least 1 versions to try (62) try vbom.ml/util@master (62) ✓ select vbom.ml/util@master w/1 pkgs (47) ? attempt github.com/theupdateframework/notary with 8 pkgs; at least 1 versions to try (63) try github.com/theupdateframework/notary@v0.6.1 (63) ✓ select github.com/theupdateframework/notary@v0.6.1 w/14 pkgs (48) ? revisit github.com/docker/distribution to add 1 pkgs (64) ✓ include 1 more pkgs from github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (48) ? attempt github.com/tonistiigi/fsutil with 2 pkgs; at least 1 versions to try (65) try github.com/tonistiigi/fsutil@master (65) ✓ select github.com/tonistiigi/fsutil@master w/2 pkgs (49) ? revisit github.com/docker/docker to add 1 pkgs (66) ✓ include 1 more pkgs from github.com/docker/docker@master (49) ? revisit github.com/docker/distribution to add 1 pkgs (67) ✓ include 1 more pkgs from github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (49) ? attempt github.com/jaguilar/vt100 (from github.com/tonistiigi/vt100) with 1 pkgs; at least 1 versions to try (68) try github.com/jaguilar/vt100 (from github.com/tonistiigi/vt100)@ad4c4a5743050fb7f88ce968dca9422f72a0e3f2 (68) ✓ select github.com/jaguilar/vt100 (from github.com/tonistiigi/vt100)@ad4c4a5743050fb7f88ce968dca9422f72a0e3f2 w/1 pkgs (50) ? attempt golang.org/x/crypto with 2 pkgs; at least 1 versions to try (69) try golang.org/x/crypto@master (69) ✓ select golang.org/x/crypto@master w/8 pkgs (51) ? attempt github.com/xeipuuv/gojsonschema with 1 pkgs; at least 1 versions to try (70) try github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d (70) ✓ select github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d w/1 pkgs (52) ? revisit github.com/golang/protobuf to add 1 pkgs (71) ✓ include 2 more pkgs from github.com/golang/protobuf@v1.3.1 (52) ? attempt k8s.io/apimachinery with 1 pkgs; at least 1 versions to try (72) try k8s.io/apimachinery@kubernetes-1.14.1 (72) ✓ select k8s.io/apimachinery@kubernetes-1.14.1 w/21 pkgs (53) ? attempt github.com/syndtr/gocapability with 1 pkgs; at least 1 versions to try (73) try github.com/syndtr/gocapability@master (73) ✓ select github.com/syndtr/gocapability@master w/1 pkgs (54) ? attempt github.com/Azure/go-ansiterm with 2 pkgs; at least 1 versions to try (74) try github.com/Azure/go-ansiterm@master (74) ✓ select github.com/Azure/go-ansiterm@master w/2 pkgs (55) ? revisit github.com/gogo/protobuf to add 2 pkgs (75) ✓ include 2 more pkgs from github.com/gogo/protobuf@v1.2.1 (55) ? attempt github.com/spf13/pflag with 1 pkgs; at least 1 versions to try (76) try github.com/spf13/pflag@master (76) ✓ select github.com/spf13/pflag@master w/1 pkgs (56) ? attempt github.com/google/gofuzz with 1 pkgs; at least 1 versions to try (77) try github.com/google/gofuzz@v1.0.0 (77) ✓ select github.com/google/gofuzz@v1.0.0 w/1 pkgs (57) ? revisit k8s.io/apimachinery to add 3 pkgs (78) ✓ include 29 more pkgs from k8s.io/apimachinery@kubernetes-1.14.1 (57) ? attempt k8s.io/client-go with 1 pkgs; at least 1 versions to try (79) try k8s.io/client-go@kubernetes-1.14.1 (79) ✓ select k8s.io/client-go@kubernetes-1.14.1 w/17 pkgs (58) ? revisit k8s.io/apimachinery to add 6 pkgs (80) ✓ include 15 more pkgs from k8s.io/apimachinery@kubernetes-1.14.1 (58) ? attempt github.com/davecgh/go-spew with 1 pkgs; at least 1 versions to try (81) try github.com/davecgh/go-spew@v1.1.1 (81) ✓ select github.com/davecgh/go-spew@v1.1.1 w/1 pkgs (59) ? attempt github.com/godbus/dbus with 1 pkgs; at least 1 versions to try (82) try github.com/godbus/dbus@v5.0.1 (82) ✓ select github.com/godbus/dbus@v5.0.1 w/1 pkgs (60) ? attempt github.com/json-iterator/go with 1 pkgs; at least 1 versions to try (83) try github.com/json-iterator/go@v1.1.6 (83) ✓ select github.com/json-iterator/go@v1.1.6 w/1 pkgs (61) ? attempt github.com/google/shlex with 1 pkgs; at least 1 versions to try (84) try github.com/google/shlex@master (84) ✓ select github.com/google/shlex@master w/1 pkgs (62) ? attempt github.com/opencontainers/go-digest with 1 pkgs; at least 1 versions to try (85) try github.com/opencontainers/go-digest@v1.0.0-rc1 (85) ✓ select github.com/opencontainers/go-digest@v1.0.0-rc1 w/1 pkgs (63) ? attempt golang.org/x/text with 1 pkgs; at least 1 versions to try (86) try golang.org/x/text@v0.3.0 (86) ✓ select golang.org/x/text@v0.3.0 w/6 pkgs (64) ? attempt github.com/opentracing/opentracing-go with 1 pkgs; at least 1 versions to try (87) try github.com/opentracing/opentracing-go@v1.1.0 (87) ✓ select github.com/opentracing/opentracing-go@v1.1.0 w/2 pkgs (65) ? attempt github.com/agl/ed25519 with 1 pkgs; at least 1 versions to try (88) try github.com/agl/ed25519@master (88) ✓ select github.com/agl/ed25519@master w/2 pkgs (66) ? attempt github.com/modern-go/reflect2 with 1 pkgs; at least 1 versions to try (89) try github.com/modern-go/reflect2@1.0.1 (89) ✓ select github.com/modern-go/reflect2@1.0.1 w/1 pkgs (67) ? attempt github.com/prometheus/client_golang with 1 pkgs; at least 1 versions to try (90) try github.com/prometheus/client_golang@v0.8.0 (90) ✓ select github.com/prometheus/client_golang@v0.8.0 w/1 pkgs (68) ? attempt gotest.tools with 5 pkgs; at least 1 versions to try (91) try gotest.tools@v2.3.0 (91) ✓ select gotest.tools@v2.3.0 w/9 pkgs (69) ? attempt golang.org/x/sys with 1 pkgs; at least 1 versions to try (92) try golang.org/x/sys@master (92) ✓ select golang.org/x/sys@master w/2 pkgs (70) ? attempt github.com/xeipuuv/gojsonreference with 1 pkgs; at least 1 versions to try (93) try github.com/xeipuuv/gojsonreference@master (93) ✓ select github.com/xeipuuv/gojsonreference@master w/1 pkgs (71) ? attempt github.com/modern-go/concurrent with 1 pkgs; at least 1 versions to try (94) try github.com/modern-go/concurrent@1.0.3 (94) ✓ select github.com/modern-go/concurrent@1.0.3 w/1 pkgs (72) ? attempt golang.org/x/tools with 1 pkgs; at least 1 versions to try (95) try golang.org/x/tools@master (95) ✓ select golang.org/x/tools@master w/1 pkgs (73) ? attempt google.golang.org/grpc with 2 pkgs; at least 1 versions to try (96) try google.golang.org/grpc@v1.19.1 (96) ✓ select google.golang.org/grpc@v1.19.1 w/33 pkgs (74) ? revisit github.com/golang/protobuf to add 2 pkgs (97) ✓ include 5 more pkgs from github.com/golang/protobuf@v1.3.1 (74) ? revisit golang.org/x/sys to add 2 pkgs (98) ✓ include 2 more pkgs from golang.org/x/sys@master (74) ? attempt github.com/prometheus/common with 2 pkgs; at least 1 versions to try (99) try github.com/prometheus/common@v0.2.0 (99) ✓ select github.com/prometheus/common@v0.2.0 w/3 pkgs (75) ? attempt github.com/tonistiigi/units with 1 pkgs; at least 1 versions to try (100) try github.com/tonistiigi/units@master (100) ✓ select github.com/tonistiigi/units@master w/1 pkgs WARNING: binary creates a Linux executable. Use cross for macOS or Windows. ./scripts/build/binary Building statically linked build/docker-linux-amd64 (76) ? attempt golang.org/x/net with 1 pkgs; at least 1 versions to try (101) try golang.org/x/net@master (101) ✓ select golang.org/x/net@master w/2 pkgs (77) ? attempt github.com/spf13/cobra with 1 pkgs; at least 1 versions to try (102) try github.com/spf13/cobra@v0.0.5 (102) ✓ select github.com/spf13/cobra@v0.0.5 w/1 pkgs (78) ? attempt github.com/qri-io/jsonpointer with 1 pkgs; at least 1 versions to try (103) try github.com/qri-io/jsonpointer@v0.1.0 (103) ✓ select github.com/qri-io/jsonpointer@v0.1.0 w/1 pkgs (79) ? revisit google.golang.org/grpc to add 2 pkgs (104) ✓ include 2 more pkgs from google.golang.org/grpc@v1.19.1 (79) ? attempt github.com/opencontainers/runc with 2 pkgs; at least 1 versions to try (105) try github.com/opencontainers/runc@v1.0.0-rc7 (105) ✓ select github.com/opencontainers/runc@v1.0.0-rc7 w/2 pkgs (80) ? attempt github.com/inconshreveable/mousetrap with 1 pkgs; at least 1 versions to try (106) try github.com/inconshreveable/mousetrap@v1.0 (106) ✓ select github.com/inconshreveable/mousetrap@v1.0 w/1 pkgs (81) ? attempt google.golang.org/genproto with 1 pkgs; at least 1 versions to try (107) try google.golang.org/genproto@master (107) ✓ select google.golang.org/genproto@master w/1 pkgs (82) ? revisit github.com/golang/protobuf to add 1 pkgs (108) ✓ include 2 more pkgs from github.com/golang/protobuf@v1.3.1 (82) ? revisit k8s.io/apimachinery to add 6 pkgs (109) ✓ include 22 more pkgs from k8s.io/apimachinery@kubernetes-1.14.1 (82) ? revisit k8s.io/apimachinery to add 1 pkgs (110) ✓ include 1 more pkgs from k8s.io/apimachinery@kubernetes-1.14.1 (82) ? attempt golang.org/x/sync with 1 pkgs; at least 1 versions to try (111) try golang.org/x/sync@master (111) ✓ select golang.org/x/sync@master w/1 pkgs (83) ? revisit golang.org/x/crypto to add 2 pkgs (112) ✓ include 2 more pkgs from golang.org/x/crypto@master (83) ? attempt github.com/xeipuuv/gojsonpointer with 1 pkgs; at least 1 versions to try (113) try github.com/xeipuuv/gojsonpointer@master (113) ✓ select github.com/xeipuuv/gojsonpointer@master w/1 pkgs (84) ? attempt github.com/miekg/pkcs11 with 1 pkgs; at least 1 versions to try (114) try github.com/miekg/pkcs11@master (114) ✓ select github.com/miekg/pkcs11@master w/1 pkgs (85) ? attempt github.com/opencontainers/runtime-spec with 1 pkgs; at least 1 versions to try (115) try github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 (115) ✓ select github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 w/1 pkgs (86) ? revisit google.golang.org/grpc to add 3 pkgs (116) ✓ include 32 more pkgs from google.golang.org/grpc@v1.19.1 (86) ? revisit golang.org/x/sync to add 1 pkgs (117) ✓ include 1 more pkgs from golang.org/x/sync@master (86) ? attempt github.com/matttproud/golang_protobuf_extensions with 1 pkgs; at least 1 versions to try (118) try github.com/matttproud/golang_protobuf_extensions@v1.0.1 (118) ✓ select github.com/matttproud/golang_protobuf_extensions@v1.0.1 w/1 pkgs (87) ? attempt gopkg.in/inf.v0 with 1 pkgs; at least 1 versions to try (119) try gopkg.in/inf.v0@v0.9.1 (119) ✓ select gopkg.in/inf.v0@v0.9.1 w/1 pkgs (88) ? attempt github.com/prometheus/client_model with 1 pkgs; at least 1 versions to try (120) try github.com/prometheus/client_model@master (120) ✓ select github.com/prometheus/client_model@master w/1 pkgs (89) ? attempt sigs.k8s.io/yaml with 1 pkgs; at least 1 versions to try (121) try sigs.k8s.io/yaml@v1.1.0 (121) ✓ select sigs.k8s.io/yaml@v1.1.0 w/1 pkgs (90) ? revisit golang.org/x/net to add 2 pkgs (122) ✓ include 5 more pkgs from golang.org/x/net@master (90) ? revisit golang.org/x/text to add 3 pkgs (123) ✓ include 14 more pkgs from golang.org/x/text@v0.3.0 (90) ? attempt k8s.io/api with 1 pkgs; at least 1 versions to try (124) try k8s.io/api@kubernetes-1.14.1 (124) ✓ select k8s.io/api@kubernetes-1.14.1 w/1 pkgs (91) ? attempt k8s.io/utils with 1 pkgs; at least 1 versions to try (125) try k8s.io/utils@master (125) ✓ select k8s.io/utils@master w/1 pkgs (92) ? attempt github.com/grpc-ecosystem/grpc-opentracing with 1 pkgs; at least 1 versions to try (126) try github.com/grpc-ecosystem/grpc-opentracing@master (126) ✓ select github.com/grpc-ecosystem/grpc-opentracing@master w/1 pkgs (93) ? revisit github.com/opentracing/opentracing-go to add 2 pkgs (127) ✓ include 3 more pkgs from github.com/opentracing/opentracing-go@v1.1.0 (93) ? attempt golang.org/x/oauth2 with 2 pkgs; at least 1 versions to try (128) try golang.org/x/oauth2@master (128) ✓ select golang.org/x/oauth2@master w/5 pkgs (94) ? attempt gopkg.in/yaml.v2 with 1 pkgs; at least 1 versions to try (129) try gopkg.in/yaml.v2@v2.2.3 (129) ✓ select gopkg.in/yaml.v2@v2.2.3 w/1 pkgs (95) ? revisit google.golang.org/grpc to add 1 pkgs (130) ✓ include 3 more pkgs from google.golang.org/grpc@v1.19.1 (95) ? attempt github.com/gofrs/flock with 1 pkgs; at least 1 versions to try (131) try github.com/gofrs/flock@v0.7.1 (131) ✓ select github.com/gofrs/flock@v0.7.1 w/1 pkgs (96) ? revisit k8s.io/apimachinery to add 1 pkgs (132) ✓ include 1 more pkgs from k8s.io/apimachinery@kubernetes-1.14.1 (96) ? attempt github.com/google/go-cmp with 1 pkgs; at least 1 versions to try (133) try github.com/google/go-cmp@v0.2.0 (133) ✓ select github.com/google/go-cmp@v0.2.0 w/4 pkgs (97) ? attempt github.com/prometheus/procfs with 1 pkgs; at least 1 versions to try (134) try github.com/prometheus/procfs@master (134) ✓ select github.com/prometheus/procfs@master w/1 pkgs (98) ? revisit k8s.io/client-go to add 1 pkgs (135) ✓ include 17 more pkgs from k8s.io/client-go@kubernetes-1.14.1 (98) ? revisit golang.org/x/net to add 2 pkgs (136) ✓ include 3 more pkgs from golang.org/x/net@master (98) ? revisit golang.org/x/net to add 1 pkgs (137) ✓ include 1 more pkgs from golang.org/x/net@master (98) ? attempt k8s.io/klog with 1 pkgs; at least 1 versions to try (138) try k8s.io/klog@v0.2.0 (138) ✓ select k8s.io/klog@v0.2.0 w/1 pkgs (99) ? revisit k8s.io/client-go to add 7 pkgs (139) ✓ include 62 more pkgs from k8s.io/client-go@kubernetes-1.14.1 (99) ? revisit k8s.io/api to add 34 pkgs (140) ✓ include 35 more pkgs from k8s.io/api@kubernetes-1.14.1 (99) ? revisit k8s.io/apimachinery to add 10 pkgs (141) ✓ include 34 more pkgs from k8s.io/apimachinery@kubernetes-1.14.1 (99) ? revisit k8s.io/api to add 1 pkgs (142) ✓ include 2 more pkgs from k8s.io/api@kubernetes-1.14.1 (99) ? attempt golang.org/x/time with 1 pkgs; at least 1 versions to try (143) try golang.org/x/time@master (143) ✓ select golang.org/x/time@master w/1 pkgs (100) ? revisit k8s.io/utils to add 2 pkgs (144) ✓ include 2 more pkgs from k8s.io/utils@master (100) ? attempt github.com/beorn7/perks with 1 pkgs; at least 1 versions to try (145) try github.com/beorn7/perks@master (145) ✓ select github.com/beorn7/perks@master w/1 pkgs (101) ? revisit k8s.io/apimachinery to add 1 pkgs (146) ✓ include 23 more pkgs from k8s.io/apimachinery@kubernetes-1.14.1 (101) ? attempt github.com/googleapis/gnostic with 1 pkgs; at least 1 versions to try (147) try github.com/googleapis/gnostic@v0.2.0 (147) ✓ select github.com/googleapis/gnostic@v0.2.0 w/3 pkgs (102) ? attempt cloud.google.com/go with 1 pkgs; at least 1 versions to try (148) try cloud.google.com/go@v0.37.4 (148) ✓ select cloud.google.com/go@v0.37.4 w/1 pkgs (103) ? attempt google.golang.org/appengine with 2 pkgs; at least 1 versions to try (149) try google.golang.org/appengine@v1.5.0 (149) ✓ select google.golang.org/appengine@v1.5.0 w/10 pkgs (104) ? attempt github.com/hashicorp/golang-lru with 1 pkgs; at least 1 versions to try (150) try github.com/hashicorp/golang-lru@v0.5.1 (150) ✓ select github.com/hashicorp/golang-lru@v0.5.1 w/2 pkgs ✓ found solution with 603 packages from 104 projects Solver wall times by segment: b-rev-present-in: 1m43.845773341s b-source-exists: 1m29.026054045s b-list-pkgs: 12.040339356s b-gmal: 6.546082973s b-deduce-proj-root: 3.472711535s satisfy: 364.703805ms select-atom: 337.975814ms new-atom: 5.243817ms select-root: 1.996019ms other: 777.172µs add-atom: 678.661µs TOTAL: 3m35.642336538s (1/104) Wrote github.com/modern-go/concurrent@1.0.3 (2/104) Wrote github.com/pkg/errors@v0.8.1 (3/104) Wrote github.com/xeipuuv/gojsonreference@master (4/104) Wrote github.com/prometheus/client_model@master (5/104) Wrote github.com/Azure/go-ansiterm@master (6/104) Wrote github.com/google/go-cmp@v0.2.0 (7/104) Wrote github.com/docker/go-units@v0.3.3 (8/104) Wrote github.com/docker/docker-credential-helpers@v0.6.1 (9/104) Wrote github.com/containerd/cgroups@master (10/104) Wrote github.com/spf13/cobra@v0.0.5 (11/104) Wrote github.com/containerd/continuity@master (12/104) Wrote github.com/morikuni/aec@master (13/104) Wrote github.com/agl/ed25519@master (14/104) Wrote golang.org/x/sync@master (15/104) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1 (16/104) Wrote sigs.k8s.io/yaml@v1.1.0 (17/104) Wrote github.com/imdario/mergo@master (18/104) Wrote github.com/mitchellh/mapstructure@v1.1.2 (19/104) Wrote github.com/google/shlex@master (20/104) Wrote github.com/spf13/pflag@master (21/104) Wrote vbom.ml/util@master (22/104) Wrote github.com/opencontainers/image-spec@v1.0.1 (23/104) Wrote github.com/gorilla/mux@v1.7.1 (24/104) Wrote github.com/jaguilar/vt100 (from github.com/tonistiigi/vt100)@ad4c4a5743050fb7f88ce968dca9422f72a0e3f2 (25/104) Wrote github.com/oklog/ulid@v1.3.1 (26/104) Wrote github.com/syndtr/gocapability@master (27/104) Wrote github.com/google/gofuzz@v1.0.0 (28/104) Wrote github.com/containerd/typeurl@master (29/104) Wrote github.com/containerd/fifo@master (30/104) Wrote github.com/opencontainers/runc@v1.0.0-rc7 (31/104) Wrote github.com/qri-io/jsonpointer@v0.1.0 (32/104) Wrote google.golang.org/grpc@v1.19.1 (33/104) Wrote github.com/globalsign/mgo@master (34/104) Wrote github.com/json-iterator/go@v1.1.6 (35/104) Wrote github.com/opentracing/opentracing-go@v1.1.0 (36/104) Wrote github.com/Microsoft/hcsshim@v0.8.6 (37/104) Wrote cloud.google.com/go@v0.37.4 (38/104) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (39/104) Wrote github.com/wadey/gocovmerge@master (40/104) Wrote github.com/tonistiigi/units@master (41/104) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2 (42/104) Wrote golang.org/x/oauth2@master (43/104) Wrote google.golang.org/appengine@v1.5.0 (44/104) Wrote github.com/hashicorp/golang-lru@v0.5.1 (45/104) Wrote k8s.io/apimachinery@kubernetes-1.14.1 (46/104) Wrote k8s.io/api@kubernetes-1.14.1 (47/104) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d (48/104) Wrote github.com/grpc-ecosystem/grpc-opentracing@master (49/104) Wrote github.com/googleapis/gnostic@v0.2.0 (50/104) Wrote golang.org/x/net@master (51/104) Wrote gotest.tools@v2.3.0 (52/104) Wrote github.com/Microsoft/go-winio@v0.4.12 (53/104) Wrote github.com/prometheus/client_golang@v0.8.0 (54/104) Wrote github.com/hashicorp/go-version@v1.1.0 (55/104) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2 (56/104) Wrote github.com/theupdateframework/notary@v0.6.1 (57/104) Wrote github.com/mattn/go-shellwords@v1.0.5 (58/104) Wrote k8s.io/utils@master (59/104) Wrote github.com/qri-io/jsonschema@v0.1.1 (60/104) Wrote github.com/davecgh/go-spew@v1.1.1 (61/104) Wrote github.com/miekg/pkcs11@master (62/104) Wrote github.com/godbus/dbus@v5.0.1 (63/104) Wrote gopkg.in/yaml.v2@v2.2.3 (64/104) Wrote google.golang.org/genproto@master (65/104) Wrote golang.org/x/crypto@master (66/104) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1 (67/104) Wrote github.com/gogo/protobuf@v1.2.1 (68/104) Wrote github.com/gofrs/flock@v0.7.1 (69/104) Wrote golang.org/x/time@master (70/104) Wrote github.com/docker/go-events@master (71/104) Wrote github.com/tonistiigi/fsutil@master (72/104) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc (73/104) Wrote github.com/modern-go/reflect2@1.0.1 (74/104) Wrote github.com/docker/go@v1.5.1-1 (75/104) Wrote gopkg.in/inf.v0@v0.9.1 (76/104) Wrote github.com/containerd/console@master (77/104) Wrote github.com/prometheus/procfs@master (78/104) Wrote github.com/beorn7/perks@master (79/104) Wrote golang.org/x/tools@master (80/104) Wrote github.com/prometheus/common@v0.2.0 (81/104) Wrote github.com/coreos/etcd@v3.3.12 (82/104) Wrote github.com/inconshreveable/mousetrap@v1.0 (83/104) Wrote github.com/xeipuuv/gojsonpointer@master (84/104) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 (85/104) Wrote github.com/coreos/go-systemd@v20 (86/104) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1 (87/104) Wrote github.com/golang/protobuf@v1.3.1 (88/104) Wrote k8s.io/klog@v0.2.0 (89/104) Wrote github.com/sirupsen/logrus@v1.4.1 (90/104) Wrote github.com/gogo/googleapis@v1.2.0 (91/104) Wrote github.com/Masterminds/semver@v1.4.2 (92/104) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 (93/104) Wrote github.com/containerd/ttrpc@master (94/104) Wrote github.com/docker/go-connections@v0.4.0 (95/104) Wrote golang.org/x/text@v0.3.0 (96/104) Wrote golang.org/x/sys@master (97/104) Wrote github.com/docker/buildx@v0.3.1 (98/104) Wrote k8s.io/client-go@kubernetes-1.14.1 (99/104) Wrote github.com/moby/buildkit@v0.6.2 (100/104) Wrote github.com/containerd/containerd@master (101/104) Wrote github.com/docker/compose-on-kubernetes@v0.4.21 (102/104) Wrote github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98 (103/104) Wrote github.com/docker/docker@master (104/104) Wrote k8s.io/kubernetes@v1.14.1 vendor is correct [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Removing intermediate container a77da0bc3203 ---> 964c647327ad Step 8/8 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 02ddb11e7675 Removing intermediate container 02ddb11e7675 ---> 234d4ba76222 [Warning] One or more build-args [COMMIT TAG ALPINE_VERSION] were not consumed Successfully built 234d4ba76222 Successfully tagged docker-app-cli:jenkins-app-PR-704-9 docker create --name docker-app-cli-jenkins-app-PR-704-9 docker-app-cli:jenkins-app-PR-704-9 noop c7864be6e4935df778899476b3aee8c91837cfbab5c34133e3f8f0f55cfa14ed docker cp docker-app-cli-jenkins-app-PR-704-9:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux docker cp docker-app-cli-jenkins-app-PR-704-9:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin docker cp docker-app-cli-jenkins-app-PR-704-9:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe docker rm docker-app-cli-jenkins-app-PR-704-9 docker-app-cli-jenkins-app-PR-704-9 docker build --build-arg TAG=jenkins-app-PR-704-9 --build-arg COMMIT=2a9062c6 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=cross -t docker-app-cross:jenkins-app-PR-704-9 . Sending build context to Docker daemon 76.17MB Step 1/21 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/21 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> 77423deef53d Step 3/21 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 927910b92bd8 Step 4/21 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> aa926ec599b8 Step 5/21 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 64c0043b7f57 Step 6/21 : ARG GOPROXY ---> Using cache ---> 4e47a0faa756 Step 7/21 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 964c647327ad Step 8/21 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 234d4ba76222 Step 9/21 : FROM build AS dev ---> 234d4ba76222 Step 10/21 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in a717fec51c6d Removing intermediate container a717fec51c6d ---> 2fa1d7ce6d6b Step 11/21 : ARG DEP_VERSION=v0.5.4 ---> Running in 6622cf98975a Removing intermediate container 6622cf98975a ---> 0b1223167505 Step 12/21 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep ---> Running in 3eb6f2f1d3f9  % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 605 0 605 0 0 5127 0 --:--:-- --:--:-- --:--:-- 5127  100 10.5M 100 10.5M 0 0 44.7M 0 --:--:-- --:--:-- --:--:-- 44.7M Removing intermediate container 3eb6f2f1d3f9 ---> 3171ea7ba63e Step 13/21 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 45b22ea3c2e1 Removing intermediate container 45b22ea3c2e1 ---> d6ecedcbe787 Step 14/21 : ARG GOPROXY ---> Running in 04ec52a9879e Removing intermediate container 04ec52a9879e ---> c4b585244170 Step 15/21 : RUN mkdir $GOPATH/src/gotest.tools && git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum && cd $GOPATH/src/gotest.tools/gotestsum && git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION && GO111MODULE=on GOOS=linux go build -o /usr/local/bin/gotestsum-linux gotest.tools/gotestsum && GO111MODULE=on GOOS=darwin go build -o /usr/local/bin/gotestsum-darwin gotest.tools/gotestsum && GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum && ln -s gotestsum-linux /usr/local/bin/gotestsum ---> Running in 9a250b80f6cc go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/onsi/gomega v1.4.3 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/stretchr/testify v1.3.0 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding github.com/fatih/color v1.6.0 go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding gotest.tools v2.1.0+incompatible go: finding gopkg.in/yaml.v2 v2.2.1 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding github.com/onsi/ginkgo v1.6.0 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/stretchr/objx v0.1.0 go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/davecgh/go-spew v1.1.0 go: finding github.com/mattn/go-isatty v0.0.3 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding github.com/jonboulle/clockwork v0.1.0 go: finding golang.org/x/text v0.3.0 go: finding github.com/golang/protobuf v1.2.0 go: finding github.com/hpcloud/tail v1.0.0 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 go: downloading gotest.tools v2.1.0+incompatible go: extracting gotest.tools v2.1.0+incompatible go: downloading github.com/sirupsen/logrus v1.0.5 go: downloading github.com/fatih/color v1.6.0 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading github.com/pkg/errors v0.8.0 go: downloading github.com/spf13/pflag v1.0.1 go: downloading github.com/jonboulle/clockwork v0.1.0 go: extracting github.com/pkg/errors v0.8.0 go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting github.com/jonboulle/clockwork v0.1.0 go: extracting github.com/sirupsen/logrus v1.0.5 go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: extracting github.com/spf13/pflag v1.0.1 go: extracting github.com/fatih/color v1.6.0 go: downloading github.com/mattn/go-isatty v0.0.3 go: downloading github.com/mattn/go-colorable v0.0.9 go: extracting github.com/mattn/go-colorable v0.0.9 go: extracting github.com/mattn/go-isatty v0.0.3 go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e Removing intermediate container 9a250b80f6cc ---> f72b7f23b8f5 Step 16/21 : RUN GOOS=linux go build -o /usr/local/bin/test2json-linux cmd/test2json && GOOS=darwin go build -o /usr/local/bin/test2json-darwin cmd/test2json && GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json ---> Running in a8af7fa07f37 Removing intermediate container a8af7fa07f37 ---> 29f02a9a41e9 Step 17/21 : RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.com/mjibson/esc && go build -v -o /usr/bin/esc . && rm -rf /go/src/* /go/pkg/* /go/bin/* ---> Running in c6d720de6938 golang.org/x/tools/internal/semver github.com/pkg/errors golang.org/x/tools/go/ast/astutil golang.org/x/tools/go/internal/gcimporter golang.org/x/tools/go/internal/packagesdriver golang.org/x/tools/internal/fastwalk golang.org/x/tools/internal/gopathwalk golang.org/x/tools/internal/span golang.org/x/tools/internal/module golang.org/x/tools/go/gcexportdata golang.org/x/tools/go/packages golang.org/x/tools/internal/imports golang.org/x/tools/imports github.com/mjibson/esc/embed github.com/mjibson/esc Removing intermediate container c6d720de6938 ---> d61178d43bd5 Step 18/21 : COPY . . ---> 8158fbcdd82d Step 19/21 : FROM dev AS cross ---> 8158fbcdd82d Step 20/21 : ARG TAG="unknown" ---> Running in e7d63437e503 Removing intermediate container e7d63437e503 ---> a7f5e1035b95 Step 21/21 : RUN make TAG=${TAG} cross ---> Running in 6f9769ae1f68 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=2a9062c6 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-9 -X github.com/docker/app/internal.BuildTime=2019-10-23T11:46:17Z" -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=2a9062c6 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-9 -X github.com/docker/app/internal.BuildTime=2019-10-23T11:46:17Z" -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=2a9062c6 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-9 -X github.com/docker/app/internal.BuildTime=2019-10-23T11:46:17Z" -o bin/docker-app-windows.exe ./cmd/docker-app Removing intermediate container 6f9769ae1f68 ---> 7b53723f18e2 [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 7b53723f18e2 Successfully tagged docker-app-cross:jenkins-app-PR-704-9 docker create --name docker-app-cross-jenkins-app-PR-704-9 docker-app-cross:jenkins-app-PR-704-9 noop f0ca651fa6762c4fb6b7eee80f31879cb1be7a17b45403c4d6a576783d540496 docker cp docker-app-cross-jenkins-app-PR-704-9:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux docker cp docker-app-cross-jenkins-app-PR-704-9:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin docker cp docker-app-cross-jenkins-app-PR-704-9:/go/src/github.com/docker/app/bin/docker-app-windows.exe bin/docker-app-windows.exe docker rm docker-app-cross-jenkins-app-PR-704-9 docker-app-cross-jenkins-app-PR-704-9 docker build --build-arg TAG=jenkins-app-PR-704-9 --build-arg COMMIT=2a9062c6 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-704-9 . Sending build context to Docker daemon 76.17MB Step 1/24 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/24 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> 77423deef53d Step 3/24 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 927910b92bd8 Step 4/24 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> aa926ec599b8 Step 5/24 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> 64c0043b7f57 Step 6/24 : ARG GOPROXY ---> Using cache ---> 4e47a0faa756 Step 7/24 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 964c647327ad Step 8/24 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 234d4ba76222 Step 9/24 : FROM build AS dev ---> 234d4ba76222 Step 10/24 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 2fa1d7ce6d6b Step 11/24 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> 0b1223167505 Step 12/24 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep ---> Using cache ---> 3171ea7ba63e Step 13/24 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> d6ecedcbe787 Step 14/24 : ARG GOPROXY ---> Using cache ---> c4b585244170 Step 15/24 : RUN mkdir $GOPATH/src/gotest.tools && git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum && cd $GOPATH/src/gotest.tools/gotestsum && git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION && GO111MODULE=on GOOS=linux go build -o /usr/local/bin/gotestsum-linux gotest.tools/gotestsum && GO111MODULE=on GOOS=darwin go build -o /usr/local/bin/gotestsum-darwin gotest.tools/gotestsum && GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum && ln -s gotestsum-linux /usr/local/bin/gotestsum ---> Using cache ---> f72b7f23b8f5 Step 16/24 : RUN GOOS=linux go build -o /usr/local/bin/test2json-linux cmd/test2json && GOOS=darwin go build -o /usr/local/bin/test2json-darwin cmd/test2json && GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json ---> Using cache ---> 29f02a9a41e9 Step 17/24 : RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.com/mjibson/esc && go build -v -o /usr/bin/esc . && rm -rf /go/src/* /go/pkg/* /go/bin/* ---> Using cache ---> d61178d43bd5 Step 18/24 : COPY . . ---> Using cache ---> 8158fbcdd82d Step 19/24 : FROM dev AS cross ---> 8158fbcdd82d Step 20/24 : ARG TAG="unknown" ---> Using cache ---> a7f5e1035b95 Step 21/24 : RUN make TAG=${TAG} cross ---> Using cache ---> 7b53723f18e2 Step 22/24 : FROM cross AS e2e-cross ---> 7b53723f18e2 Step 23/24 : ARG TAG="unknown" ---> Running in f896c58186bb Removing intermediate container f896c58186bb ---> 7812a0e74fe7 Step 24/24 : RUN make TAG=${TAG} e2e-cross ---> Running in c32479899669 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=2a9062c6 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-9 -X github.com/docker/app/internal.BuildTime=2019-10-23T11:49:18Z" -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=2a9062c6 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-9 -X github.com/docker/app/internal.BuildTime=2019-10-23T11:49:18Z" -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=2a9062c6 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-9 -X github.com/docker/app/internal.BuildTime=2019-10-23T11:49:18Z" -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=2a9062c6 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-9 -X github.com/docker/app/internal.BuildTime=2019-10-23T11:49:18Z" -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=2a9062c6 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-9 -X github.com/docker/app/internal.BuildTime=2019-10-23T11:49:18Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ Removing intermediate container c32479899669 ---> 3eef34076fa1 [Warning] One or more build-args [COMMIT ALPINE_VERSION] were not consumed Successfully built 3eef34076fa1 Successfully tagged docker-app-e2e-cross:jenkins-app-PR-704-9 docker create --name docker-app-e2e-cross-jenkins-app-PR-704-9 docker-app-e2e-cross:jenkins-app-PR-704-9 noop 4cffc930a5fc45c9838a1c4e11105fba3a0ab4fbd39a00ee33f811ef24fe7fd6 docker cp docker-app-e2e-cross-jenkins-app-PR-704-9:/go/src/github.com/docker/app/bin/docker-app-e2e-linux bin/docker-app-e2e-linux docker cp docker-app-e2e-cross-jenkins-app-PR-704-9:/go/src/github.com/docker/app/bin/docker-app-e2e-darwin bin/docker-app-e2e-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-704-9:/go/src/github.com/docker/app/bin/docker-app-e2e-windows.exe bin/docker-app-e2e-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-704-9:/usr/local/bin/gotestsum-linux bin/gotestsum-linux docker cp docker-app-e2e-cross-jenkins-app-PR-704-9:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-704-9:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-704-9:/usr/local/bin/test2json-linux bin/test2json-linux docker cp docker-app-e2e-cross-jenkins-app-PR-704-9:/usr/local/bin/test2json-darwin bin/test2json-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-704-9:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe docker rm docker-app-e2e-cross-jenkins-app-PR-704-9 docker-app-e2e-cross-jenkins-app-PR-704-9 tar --transform='flags=r;s|docker-app-linux|docker-app-plugin-linux|' -czf bin/docker-app-linux.tar.gz -C bin docker-app-linux tar czf bin/docker-app-e2e-linux.tar.gz -C bin docker-app-e2e-linux tar --transform='flags=r;s|docker-app-darwin|docker-app-plugin-darwin|' -czf bin/docker-app-darwin.tar.gz -C bin docker-app-darwin tar czf bin/docker-app-e2e-darwin.tar.gz -C bin docker-app-e2e-darwin tar --transform='flags=r;s|docker-app-windows|docker-app-plugin-windows|' -czf bin/docker-app-windows.tar.gz -C bin docker-app-windows.exe tar czf bin/docker-app-e2e-windows.tar.gz -C bin docker-app-e2e-windows.exe [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/bin [Pipeline] { [Pipeline] stash Stashed 21 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/9/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] stash Stashed 65 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/9/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/examples [Pipeline] { [Pipeline] stash Stashed 48 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/9/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-704-9* + xargs docker image rm -f Untagged: docker-app-e2e-cross:jenkins-app-PR-704-9 Deleted: sha256:3eef34076fa1b0a4052640e0505c807e1943fdb34e866ac1a174d5e6c2ac3bcd Deleted: sha256:74946b64583e518a16ca781d18089dd2ff85727c396aae5b159d6bb816823dd4 Deleted: sha256:7812a0e74fe7d3b70625318f4fa788239ad68370da1d8ebdf83361e633705361 Untagged: docker-app-cross:jenkins-app-PR-704-9 Deleted: sha256:7b53723f18e202d8d758b2527e0228ad2e52b2011e1290e0a35325848e96fffb Deleted: sha256:836b10ba9f021fbada6cb613b3ea69eca77ce05dfb81fd42ea9363b8b97b9efe Deleted: sha256:a7f5e1035b95fccf8217263bd6c4b6e69c69918cfe960aecb011162254877d37 Deleted: sha256:8158fbcdd82dbc76757a69571f9c10076771593c2eecc41169fafe8c31d6c7c2 Deleted: sha256:3c6d8f6bf7b1ac6a3df62e27876279c3151517eb3bd8622ee9eb2b69395d8841 Deleted: sha256:d61178d43bd51b46dc6a1ae91884ca08f200858ab698491e37082e1304263023 Deleted: sha256:8d0f1090100657fa6fdc9b6b6b40c066caaefcca0dfaa0ec10772f7f55a8a032 Deleted: sha256:29f02a9a41e914de374084321dffeafc278bb3ae2e4f7374027492a655e3d3e4 Deleted: sha256:f1c62a8c6c2a21f8ae0ca1ee6f54a3ca6cec6f41a5bc47421fdc2ec9138ef511 Deleted: sha256:f72b7f23b8f5a7c99c1114102dcff90da8969a1ce2f186c33c328e3714f72a25 Deleted: sha256:bc56d4cf17b777e64f9b09c381d69a64c991a566751260257ca2ac2a921e0450 Deleted: sha256:c4b5852441701be82869020afb28c4cfd8755e2d283c3ad3a06ec22cfec2fbef Deleted: sha256:d6ecedcbe787c3adabc865b5b4cdfbbd9f626b09b0c4ba688797f21c12cbda3b Deleted: sha256:3171ea7ba63e10680946aef5353569b8223a5d973a5df35bbd05a76f74b9c4a9 Deleted: sha256:93e4ec60bbb32caedd6e7c665e4dd4daf83021768641807abde95e0fc330dde7 Deleted: sha256:0b12231675053597f13e443290715b1982a5506743201bd903fa705a868e0263 Deleted: sha256:2fa1d7ce6d6bb28229ddec8b27267ef583634ba02738b44e50a72a014348cf23 Untagged: docker-app-cli:jenkins-app-PR-704-9 Deleted: sha256:234d4ba76222d0ccb03e157722bd980c44a298a63a1eeec443832c730ace4e45 Deleted: sha256:8266b3ffbe1f67d1ad6b7af41c5bcf5ea50eff5dea864a40244aa99d064e47d2 Deleted: sha256:964c647327ad88cfdb3b9ff688e5265a63ae1f1837eda45f440e68d6c11a03ac Deleted: sha256:d28538aa6e46000edc67fa0106645770b9fab79db5a3f07f02febbaf5e0c8a53 Deleted: sha256:4e47a0faa7563ce9ec6546abf341e7c16494b624ab73ec53ec6eea0796a4ccc7 Deleted: sha256:64c0043b7f5776f0e6c600cbc54f4cf58c652b854c15211aa638d3ad6409efad Deleted: sha256:a995fa272920077da5b00232d4d4fd59180e48d254b2a01eb6b0b5470ed9f8fc Deleted: sha256:aa926ec599b883c6f3091348743a944ee4be47efa2bd7e0d884bbbb5732a93dc Deleted: sha256:441fa51b22cd96fb5093e8ad28c0067b910b1e50f88b72eeb29289debf1e1b85 Deleted: sha256:927910b92bd87ca1a81d6c17d552c4ebd454eaaa255ba3eef68bda7a8baa9cab Deleted: sha256:3599109567f1e89c233814486b437b4fdf0e1ff0de861fa043192b73b478cbd3 Deleted: sha256:77423deef53d5f9f04bb4dbc6770e1cac2f89d06c034220a31407f9bbe2d4a73 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] parallel [Pipeline] { (Branch: Coverage) [Pipeline] { (Branch: Test Linux) [Pipeline] stage [Pipeline] { (Coverage) [Pipeline] stage [Pipeline] { (Test Linux) [Pipeline] node [Pipeline] node Running on ubuntu-1804-overlay2 (i-07039ffb1470cb7bb) in /home/ubuntu/workspace/app_PR-704 [Pipeline] { Running on ubuntu-1804-overlay2 (i-0a186b15eca467d14) in /home/ubuntu/workspace/app_PR-704 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { [Pipeline] checkout using credential docker-jenkins-github-credentials using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 Fetching without tags Checking out Revision 2a9062c66a8407f6266877af7ff589ce02234d79 (PR-704) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/704/head:refs/remotes/origin/PR-704 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a9062c66a8407f6266877af7ff589ce02234d79 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/704/head:refs/remotes/origin/PR-704 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching without tags Checking out Revision 2a9062c66a8407f6266877af7ff589ce02234d79 (PR-704) Commit message: "Remove bracket changes in command usage message" Commit message: "Remove bracket changes in command usage message" [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 > git config core.sparsecheckout # timeout=10 > git checkout -f 2a9062c66a8407f6266877af7ff589ce02234d79 Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/9/stashes/invocation-image.tgz [Pipeline] sh + docker load -i invocation-image.tar Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/9/stashes/coverage-invocation-image.tgz [Pipeline] sh Loaded image: docker/cnab-app-base:jenkins-app-PR-704-9 [Pipeline] } [Pipeline] // dir [Pipeline] unstash + docker load -i coverage-invocation-image.tar Loaded image: docker/cnab-app-base:jenkins-app-PR-704-9-coverage [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile TAG=jenkins-app-PR-704-9-coverage coverage-run docker build --build-arg TAG=jenkins-app-PR-704-9-coverage --build-arg COMMIT=2a9062c6 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-704-9 . Sending build context to Docker daemon 76.17MB Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/18 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Running in 084dc06d54a2 Removing intermediate container 084dc06d54a2 ---> ce843d029ecd Step 3/18 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in 452a97658ec7 Reading package lists... Building dependency tree... Reading state information... coreutils is already the newest version (8.30-3). coreutils set to manually installed. util-linux is already the newest version (2.33.1-0.1). util-linux set to manually installed. The following NEW packages will be installed: uuid-runtime 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 95.2 kB of archives. After this operation, 211 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 95.2 kB in 0s (360 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 452a97658ec7 ---> 11df0011f4a3 Step 4/18 : WORKDIR /go/src/github.com/docker/cli ---> Running in 805bc7a6fd8c Removing intermediate container 805bc7a6fd8c ---> 5fd0805d8f13 Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in a0e6a239694c Cloning into '.'... Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/9/stashes/binaries.tgz [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/examples [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/9/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/9/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 Note: checking out 'a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact Removing intermediate container a0e6a239694c ---> 60cdecdbf691 Step 6/18 : ARG GOPROXY ---> Running in 8b753bff64fc Removing intermediate container 8b753bff64fc ---> f8e0904b69ea Step 7/18 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in 92246839e36f ./scripts/build/osx Building build/docker-darwin-amd64 PASS e2e/linux.TestBuild (20.20s) PASS e2e/linux.TestBuildWithoutTag (12.80s) PASS e2e/linux.TestBuildWithArgs (12.95s) PASS e2e/linux.TestBuildWithArgsDefinedTwice (12.97s) PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (3.08s) PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (3.29s) PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (3.09s) PASS e2e/linux.TestCallCustomStatusAction (9.45s) PASS e2e/linux.TestCnabParameters (3.24s) PASS e2e/linux.TestExitErrorCode (0.06s) PASS e2e/linux.TestRender/envvariables/stdout (1.93s) PASS e2e/linux.TestRender/envvariables/file (1.77s) PASS e2e/linux.TestRender/envvariables (3.71s) PASS e2e/linux.TestRender (3.71s) PASS e2e/linux.TestRenderFormatters (19.84s) PASS e2e/linux.TestInit (0.14s) ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 PASS e2e/linux.TestInspectApp (18.72s) PASS e2e/linux.TestRunOnlyOne (0.14s) === RUN TestDockerAppLifecycle/withBindMounts --- FAIL: TestDockerAppLifecycle/withBindMounts (9.70s) commands_test.go:239: assertion failed: Command: /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/docker-linux app update testdockerapplifecycle_withbindmounts ExitCode: 1 Error: exit status 1 Stdout: Stderr: Installation "testdockerapplifecycle_withbindmounts" has failed and cannot be updated, reinstall it using 'docker app run' Failures: Expected stderr to contain "Installation \"testdockerapplifecycle_withbindmounts\" has failed and cannot be updated, reinstall it using 'docker app install'" FAIL e2e/linux.TestDockerAppLifecycle/withBindMounts (9.70s) === RUN TestDockerAppLifecycle/withoutBindMounts --- FAIL: TestDockerAppLifecycle/withoutBindMounts (11.73s) commands_test.go:239: assertion failed: Command: /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/docker-linux app update testdockerapplifecycle_withoutbindmounts ExitCode: 1 Error: exit status 1 Stdout: Stderr: Installation "testdockerapplifecycle_withoutbindmounts" has failed and cannot be updated, reinstall it using 'docker app run' Failures: Expected stderr to contain "Installation \"testdockerapplifecycle_withoutbindmounts\" has failed and cannot be updated, reinstall it using 'docker app install'" FAIL e2e/linux.TestDockerAppLifecycle/withoutBindMounts (11.73s) === RUN TestDockerAppLifecycle --- FAIL: TestDockerAppLifecycle (21.43s) FAIL e2e/linux.TestDockerAppLifecycle (21.43s) PASS e2e/linux.TestCredentials/missing (0.07s) PASS e2e/linux.TestCredentials/full (1.47s) PASS e2e/linux.TestCredentials/mixed-credstore (1.51s) PASS e2e/linux.TestCredentials/mixed-local-cred (1.44s) PASS e2e/linux.TestCredentials/overload (0.06s) PASS e2e/linux.TestCredentials (4.55s) PASS e2e/linux.TestRenderWithEnvFile (1.78s) PASS e2e/linux.TestExamplesAreValid (0.25s) PASS e2e/linux.TestImageList (13.96s) PASS e2e/linux.TestImageListQuiet (14.11s) 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 (13.79s) PASS e2e/linux.TestImageTag (14.41s) === RUN TestInvokePluginFromCLI --- FAIL: TestInvokePluginFromCLI (0.34s) plugin_test.go:17: assertion failed: Command: /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/docker-linux --help ExitCode: 0 Stdout: Usage: docker [OPTIONS] COMMAND A self-sufficient runtime for containers Options: --config string Location of client config files (default "/tmp/config259914853") -c, --context string Name of the context to use to connect to the daemon (overrides DOCKER_HOST env var and default context set with "docker context use") -D, --debug Enable debug mode -H, --host list Daemon socket(s) to connect to -l, --log-level string Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info") --tls Use TLS; implied by --tlsverify --tlscacert string Trust certs signed only by this CA (default "/tmp/config259914853/ca.pem") --tlscert string Path to TLS certificate file (default "/tmp/config259914853/cert.pem") --tlskey string Path to TLS key file (default "/tmp/config259914853/key.pem") --tlsverify Use TLS and verify the remote -v, --version Print version information and quit Management Commands: app* Docker App (Docker Inc., jenkins-app-PR-704-9) builder Manage builds buildx* Build with BuildKit (Docker Inc., v0.3.0-5-g5b97415-tp-docker) checkpoint Manage checkpoints config Manage Docker configs container Manage containers context Manage contexts engine Manage the docker engine image Manage images manifest Manage Docker image manifests and manifest lists network Manage networks node Manage Swarm nodes plugin Manage plugins secret Manage Docker secrets service Manage services stack Manage Docker stacks swarm Manage Swarm system Manage Docker trust Manage trust on Docker images volume Manage volumes Commands: attach Attach local standard input, output, and error streams to a running container build Build an image from a Dockerfile commit Create a new image from a container's changes cp Copy files/folders between a container and the local filesystem create Create a new container deploy Deploy a new stack or update an existing stack diff Inspect changes to files or directories on a container's filesystem events Get real time events from the server exec Run a command in a running container export Export a container's filesystem as a tar archive history Show the history of an image images List images import Import the contents from a tarball to create a filesystem image info Display system-wide information inspect Return low-level information on Docker objects kill Kill one or more running containers load Load an image from a tar archive or STDIN login Log in to a Docker registry logout Log out from a Docker registry logs Fetch the logs of a container pause Pause all processes within one or more containers port List port mappings or a specific mapping for the container ps List containers pull Pull an image or a repository from a registry push Push an image or a repository to a registry rename Rename a container restart Restart one or more containers rm Remove one or more containers rmi Remove one or more images run Run a command in a new container save Save one or more images to a tar archive (streamed to STDOUT by default) search Search the Docker Hub for images start Start one or more stopped containers stats Display a live stream of container(s) resource usage statistics stop Stop one or more running containers tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE top Display the running processes of a container unpause Unpause all processes within one or more containers update Update configuration of one or more containers version Show the Docker version information wait Block until one or more containers stop, then print their exit codes Run 'docker COMMAND --help' for more information on a command. Stderr: Failures: Expected stdout to contain "app* Docker Application (Docker Inc.," FAIL e2e/linux.TestInvokePluginFromCLI (0.34s) PASS e2e/linux.TestPushArchs/default (3.55s) PASS e2e/linux.TestPushArchs/all-platforms (1.14s) PASS e2e/linux.TestPushArchs (22.91s) PASS e2e/linux.TestPushInsecureRegistry (19.27s) PASS e2e/linux.TestPushInstall (17.60s) Removing intermediate container 92246839e36f ---> fc86bda572f5 Step 8/18 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 8a9e5bdd9075 Removing intermediate container 8a9e5bdd9075 ---> 68a1f7b3f813 Step 9/18 : FROM build AS dev ---> 68a1f7b3f813 Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in 8895dee95b80 Removing intermediate container 8895dee95b80 ---> 42ddfd5c41a6 Step 11/18 : ARG DEP_VERSION=v0.5.4 ---> Running in c7e3116cf672 Removing intermediate container c7e3116cf672 ---> 08d6f6f3d3fc 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 9c0fb8632f85  % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 605 0 605 0 0 6722 0 --:--:-- --:--:-- --:--:-- 6722  100 10.5M 100 10.5M 0  0 50.3M 0 --:--:-- --:--:-- --:--:-- 50.3M Removing intermediate container 9c0fb8632f85 ---> e68e4b58a288 Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 002bd941e152 Removing intermediate container 002bd941e152 ---> 1aa3d9823e08 Step 14/18 : ARG GOPROXY ---> Running in df904abb833e Removing intermediate container df904abb833e ---> 36bf63842174 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 ba69b87ce59c go: finding github.com/pkg/errors v0.8.0 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/spf13/pflag v1.0.1 go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding gotest.tools v2.1.0+incompatible go: finding github.com/onsi/gomega v1.4.3 go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/fatih/color v1.6.0 go: finding github.com/stretchr/testify v1.3.0 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/onsi/ginkgo v1.6.0 go: finding golang.org/x/text v0.3.0 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding github.com/golang/protobuf v1.2.0 go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding github.com/stretchr/objx v0.1.0 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding gopkg.in/yaml.v2 v2.2.1 go: finding github.com/davecgh/go-spew v1.1.0 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding github.com/hpcloud/tail v1.0.0 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 go: downloading gotest.tools v2.1.0+incompatible go: extracting gotest.tools v2.1.0+incompatible go: downloading github.com/pkg/errors v0.8.0 go: downloading github.com/fatih/color v1.6.0 go: downloading github.com/jonboulle/clockwork v0.1.0 go: downloading github.com/sirupsen/logrus v1.0.5 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading github.com/spf13/pflag v1.0.1 go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting github.com/jonboulle/clockwork v0.1.0 go: extracting github.com/pkg/errors v0.8.0 go: extracting github.com/sirupsen/logrus v1.0.5 go: extracting github.com/spf13/pflag v1.0.1 go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: extracting github.com/fatih/color v1.6.0 go: downloading github.com/mattn/go-colorable v0.0.9 go: downloading github.com/mattn/go-isatty v0.0.3 go: extracting github.com/mattn/go-colorable v0.0.9 go: extracting github.com/mattn/go-isatty v0.0.3 go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e PASS e2e/linux.TestPushPullInstall (17.47s) Removing intermediate container ba69b87ce59c ---> fe5dd4f43259 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 c146c0ab2dba Removing intermediate container c146c0ab2dba ---> 82d5267b5392 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 fd9964b40991 golang.org/x/tools/internal/semver github.com/pkg/errors golang.org/x/tools/go/ast/astutil golang.org/x/tools/go/internal/gcimporter golang.org/x/tools/go/internal/packagesdriver golang.org/x/tools/internal/fastwalk golang.org/x/tools/internal/gopathwalk golang.org/x/tools/internal/span golang.org/x/tools/internal/module golang.org/x/tools/go/gcexportdata golang.org/x/tools/go/packages golang.org/x/tools/internal/imports golang.org/x/tools/imports github.com/mjibson/esc/embed github.com/mjibson/esc Removing intermediate container fd9964b40991 ---> 45346f865ca9 Step 18/18 : COPY . . PASS e2e/linux.TestPushInstallBundle/push-bundle (5.11s) PASS e2e/linux.TestPushInstallBundle/push-ref (1.22s) PASS e2e/linux.TestPushInstallBundle/push-bundleref (2.19s) PASS e2e/linux.TestPushInstallBundle (22.21s) FAIL e2e/linux === Failed === FAIL: e2e/linux TestDockerAppLifecycle/withBindMounts (9.70s) --- FAIL: TestDockerAppLifecycle/withBindMounts (9.70s) commands_test.go:239: assertion failed: Command: /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/docker-linux app update testdockerapplifecycle_withbindmounts ExitCode: 1 Error: exit status 1 Stdout: Stderr: Installation "testdockerapplifecycle_withbindmounts" has failed and cannot be updated, reinstall it using 'docker app run' Failures: Expected stderr to contain "Installation \"testdockerapplifecycle_withbindmounts\" has failed and cannot be updated, reinstall it using 'docker app install'" === FAIL: e2e/linux TestDockerAppLifecycle/withoutBindMounts (11.73s) --- FAIL: TestDockerAppLifecycle/withoutBindMounts (11.73s) commands_test.go:239: assertion failed: Command: /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/docker-linux app update testdockerapplifecycle_withoutbindmounts ExitCode: 1 Error: exit status 1 Stdout: Stderr: Installation "testdockerapplifecycle_withoutbindmounts" has failed and cannot be updated, reinstall it using 'docker app run' Failures: Expected stderr to contain "Installation \"testdockerapplifecycle_withoutbindmounts\" has failed and cannot be updated, reinstall it using 'docker app install'" === FAIL: e2e/linux TestDockerAppLifecycle (21.43s) === FAIL: e2e/linux TestInvokePluginFromCLI (0.34s) plugin_test.go:17: assertion failed: Command: /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/docker-linux --help ExitCode: 0 Stdout: Usage: docker [OPTIONS] COMMAND A self-sufficient runtime for containers Options: --config string Location of client config files (default "/tmp/config259914853") -c, --context string Name of the context to use to connect to the daemon (overrides DOCKER_HOST env var and default context set with "docker context use") -D, --debug Enable debug mode -H, --host list Daemon socket(s) to connect to -l, --log-level string Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info") --tls Use TLS; implied by --tlsverify --tlscacert string Trust certs signed only by this CA (default "/tmp/config259914853/ca.pem") --tlscert string Path to TLS certificate file (default "/tmp/config259914853/cert.pem") --tlskey string Path to TLS key file (default "/tmp/config259914853/key.pem") --tlsverify Use TLS and verify the remote -v, --version Print version information and quit Management Commands: app* Docker App (Docker Inc., jenkins-app-PR-704-9) builder Manage builds buildx* Build with BuildKit (Docker Inc., v0.3.0-5-g5b97415-tp-docker) checkpoint Manage checkpoints config Manage Docker configs container Manage containers context Manage contexts engine Manage the docker engine image Manage images manifest Manage Docker image manifests and manifest lists network Manage networks node Manage Swarm nodes plugin Manage plugins secret Manage Docker secrets service Manage services stack Manage Docker stacks swarm Manage Swarm system Manage Docker trust Manage trust on Docker images volume Manage volumes Commands: attach Attach local standard input, output, and error streams to a running container build Build an image from a Dockerfile commit Create a new image from a container's changes cp Copy files/folders between a container and the local filesystem create Create a new container deploy Deploy a new stack or update an existing stack diff Inspect changes to files or directories on a container's filesystem events Get real time events from the server exec Run a command in a running container export Export a container's filesystem as a tar archive history Show the history of an image images List images import Import the contents from a tarball to create a filesystem image info Display system-wide information inspect Return low-level information on Docker objects kill Kill one or more running containers load Load an image from a tar archive or STDIN login Log in to a Docker registry logout Log out from a Docker registry logs Fetch the logs of a container pause Pause all processes within one or more containers port List port mappings or a specific mapping for the container ps List containers pull Pull an image or a repository from a registry push Push an image or a repository to a registry rename Rename a container restart Restart one or more containers rm Remove one or more containers rmi Remove one or more images run Run a command in a new container save Save one or more images to a tar archive (streamed to STDOUT by default) search Search the Docker Hub for images start Start one or more stopped containers stats Display a live stream of container(s) resource usage statistics stop Stop one or more running containers tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE top Display the running processes of a container unpause Unpause all processes within one or more containers update Update configuration of one or more containers version Show the Docker version information wait Block until one or more containers stop, then print their exit codes Run 'docker COMMAND --help' for more information on a command. Stderr: Failures: Expected stdout to contain "app* Docker Application (Docker Inc.," DONE 44 tests, 4 failures in 298.342s time="2019-10-23T11:56:50Z" level=warning msg="failed to lookup go version for junit xml" error="exec: \"go\": executable file not found in $PATH" [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] archiveArtifacts Archiving artifacts Uploaded 1 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/9/artifacts/ [Pipeline] junit Recording test results [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-704-9 Untagged: docker/cnab-app-base:jenkins-app-PR-704-9 [Pipeline] deleteDir [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Test Linux ---> 17b351889c8f [Warning] One or more build-args [ALPINE_VERSION COMMIT TAG] were not consumed Successfully built 17b351889c8f Successfully tagged docker-app-dev:jenkins-app-PR-704-9 docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-704-9-coverage --network="host" -t docker-app-dev:jenkins-app-PR-704-9 make COMMIT=2a9062c6 TAG=jenkins-app-PR-704-9-coverage TEST_RESULTS_PREFIX= coverage Running unit tests (coverage)... CGO_ENABLED=0 gotestsum --junitfile _build/test-results/unit-coverage.xml -- -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=2a9062c6 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-9-coverage -X github.com/docker/app/internal.BuildTime=2019-10-23T11:56:52Z" -cover -test.coverprofile=_build/cov/unit.out github.com/docker/app github.com/docker/app/cmd/cnab-run github.com/docker/app/cmd/docker-app github.com/docker/app/internal github.com/docker/app/internal/cnab github.com/docker/app/internal/commands github.com/docker/app/internal/commands/build github.com/docker/app/internal/commands/image github.com/docker/app/internal/compose github.com/docker/app/internal/formatter github.com/docker/app/internal/formatter/driver github.com/docker/app/internal/formatter/json github.com/docker/app/internal/formatter/yaml github.com/docker/app/internal/inspect github.com/docker/app/internal/log github.com/docker/app/internal/packager github.com/docker/app/internal/slices github.com/docker/app/internal/store github.com/docker/app/internal/yaml github.com/docker/app/loader github.com/docker/app/render github.com/docker/app/specification github.com/docker/app/types github.com/docker/app/types/metadata github.com/docker/app/types/parameters ∅ . ∅ cmd/cnab-run ∅ cmd/docker-app ✓ internal (26ms) ✓ internal/cnab (22ms) ✓ internal/commands/build (20ms) ✓ internal/commands (532ms) ✓ internal/compose (5ms) ✓ internal/formatter (3ms) ✓ internal/commands/image (56ms) ∅ internal/formatter/driver ∅ internal/formatter/json ∅ internal/formatter/yaml ✓ internal/inspect (124ms) ∅ internal/log ✓ internal/slices (16ms) ✓ internal/packager (53ms) ✓ internal/store (40ms) ✓ internal/yaml (8ms) ✓ loader (29ms) ✓ render (82ms) ✓ specification (6ms) ✓ types (39ms) ✓ types/metadata (29ms) ✓ types/parameters (4ms) DONE 231 tests in 124.228s CGO_ENABLED=0 go test -tags=" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=2a9062c6 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-9-coverage -X github.com/docker/app/internal.BuildTime=2019-10-23T11:56:52Z" -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=2a9062c6 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-9-coverage -X github.com/docker/app/internal.BuildTime=2019-10-23T11:56:52Z" -v ./e2e ✖ e2e (4m45.672s) === Failed === FAIL: e2e TestDockerAppLifecycle/withBindMounts (9.35s) --- FAIL: TestDockerAppLifecycle/withBindMounts (9.35s) commands_test.go:239: assertion failed: Command: docker app update testdockerapplifecycle_withbindmounts ExitCode: 1 Error: exit status 1 Stdout: Stderr: Installation "testdockerapplifecycle_withbindmounts" has failed and cannot be updated, reinstall it using 'docker app run' Failures: Expected stderr to contain "Installation \"testdockerapplifecycle_withbindmounts\" has failed and cannot be updated, reinstall it using 'docker app install'" === FAIL: e2e TestDockerAppLifecycle/withoutBindMounts (9.57s) --- FAIL: TestDockerAppLifecycle/withoutBindMounts (9.57s) commands_test.go:239: assertion failed: Command: docker app update testdockerapplifecycle_withoutbindmounts ExitCode: 1 Error: exit status 1 Stdout: Stderr: Installation "testdockerapplifecycle_withoutbindmounts" has failed and cannot be updated, reinstall it using 'docker app run' Failures: Expected stderr to contain "Installation \"testdockerapplifecycle_withoutbindmounts\" has failed and cannot be updated, reinstall it using 'docker app install'" === FAIL: e2e TestDockerAppLifecycle (18.91s) === FAIL: e2e TestInvokePluginFromCLI (0.07s) plugin_test.go:17: assertion failed: Command: docker --help ExitCode: 0 Stdout: Usage: docker [OPTIONS] COMMAND A self-sufficient runtime for containers Options: --config string Location of client config files (default "/tmp/config999567217") -c, --context string Name of the context to use to connect to the daemon (overrides DOCKER_HOST env var and default context set with "docker context use") -D, --debug Enable debug mode -H, --host list Daemon socket(s) to connect to -l, --log-level string Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info") --tls Use TLS; implied by --tlsverify --tlscacert string Trust certs signed only by this CA (default "/tmp/config999567217/ca.pem") --tlscert string Path to TLS certificate file (default "/tmp/config999567217/cert.pem") --tlskey string Path to TLS key file (default "/tmp/config999567217/key.pem") --tlsverify Use TLS and verify the remote -v, --version Print version information and quit Management Commands: app* Docker App (Docker Inc., jenkins-app-PR-704-9-coverage) builder Manage builds checkpoint Manage checkpoints config Manage Docker configs container Manage containers context Manage contexts engine Manage the docker engine image Manage images manifest Manage Docker image manifests and manifest lists network Manage networks node Manage Swarm nodes plugin Manage plugins secret Manage Docker secrets service Manage services stack Manage Docker stacks swarm Manage Swarm system Manage Docker trust Manage trust on Docker images volume Manage volumes Commands: attach Attach local standard input, output, and error streams to a running container build Build an image from a Dockerfile commit Create a new image from a container's changes cp Copy files/folders between a container and the local filesystem create Create a new container deploy Deploy a new stack or update an existing stack diff Inspect changes to files or directories on a container's filesystem events Get real time events from the server exec Run a command in a running container export Export a container's filesystem as a tar archive history Show the history of an image images List images import Import the contents from a tarball to create a filesystem image info Display system-wide information inspect Return low-level information on Docker objects kill Kill one or more running containers load Load an image from a tar archive or STDIN login Log in to a Docker registry logout Log out from a Docker registry logs Fetch the logs of a container pause Pause all processes within one or more containers port List port mappings or a specific mapping for the container ps List containers pull Pull an image or a repository from a registry push Push an image or a repository to a registry rename Rename a container restart Restart one or more containers rm Remove one or more containers rmi Remove one or more images run Run a command in a new container save Save one or more images to a tar archive (streamed to STDOUT by default) search Search the Docker Hub for images start Start one or more stopped containers stats Display a live stream of container(s) resource usage statistics stop Stop one or more running containers tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE top Display the running processes of a container unpause Unpause all processes within one or more containers update Update configuration of one or more containers version Show the Docker version information wait Block until one or more containers stop, then print their exit codes Run 'docker COMMAND --help' for more information on a command. Stderr: Failures: Expected stdout to contain "app* Docker Application (Docker Inc.," DONE 44 tests, 4 failures in 289.540s make: *** [Makefile:96: coverage-test-e2e] Error 1 docker.Makefile:100: recipe for target 'coverage-run' failed make: *** [coverage-run] Error 2 [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/_build/test-results [Pipeline] { [Pipeline] sh + [ ! -e unit-coverage.xml ] [Pipeline] sh + [ ! -e e2e-coverage.xml ] [Pipeline] archiveArtifacts Archiving artifacts [Pipeline] junit Recording test results No test report files were found. Configuration error? [Pipeline] } [Pipeline] // dir Error when executing always post condition: hudson.AbortException: No test report files were found. Configuration error? at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:154) at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:118) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3050) at hudson.remoting.UserRequest.perform(UserRequest.java:212) at hudson.remoting.UserRequest.perform(UserRequest.java:54) at hudson.remoting.Request$2.run(Request.java:369) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.lang.Thread.run(Thread.java:834) Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to ubuntu-1804-overlay2 (i-0a186b15eca467d14) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357) at hudson.remoting.Channel.call(Channel.java:957) at hudson.FilePath.act(FilePath.java:1070) at hudson.FilePath.act(FilePath.java:1059) at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:114) at hudson.tasks.junit.JUnitResultArchiver.parse(JUnitResultArchiver.java:137) at hudson.tasks.junit.JUnitResultArchiver.parseAndAttach(JUnitResultArchiver.java:167) at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:52) at hudson.tasks.junit.pipeline.JUnitResultsStepExecution.run(JUnitResultsStepExecution.java:25) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Coverage [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result ERROR: script returned exit code 1 Finished: FAILURE