Pull request #704 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from ab55cfac4cf44ee96f8eb158b6586960917d92dd 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-029fdfc8af9bb6512) in /home/ubuntu/workspace/app_PR-704 [Pipeline] { Running on ubuntu-1804-overlay2 (i-03589e42b1c4ca1a4) in /home/ubuntu/workspace/app_PR-704 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] script [Pipeline] { using credential docker-jenkins-github-credentials [Pipeline] checkout Cloning the remote Git repository Cloning with configured refspecs honoured and without tags using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-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 ab55cfac4cf44ee96f8eb158b6586960917d92dd (PR-704) Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/704/head:refs/remotes/origin/PR-704 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 > git config core.sparsecheckout # timeout=10 > git checkout -f ab55cfac4cf44ee96f8eb158b6586960917d92dd > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/704/head:refs/remotes/origin/PR-704 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 Fetching upstream changes from https://github.com/docker/app.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 Checking out Revision ab55cfac4cf44ee96f8eb158b6586960917d92dd (PR-704) Commit message: "Fix object naming in command help and update examples" > git rev-list --no-walk 662cf25a03cf06da288a9b60279d8c9ca1dd9493 # timeout=10 Commit message: "Fix object naming in command help and update examples" [Pipeline] ansiColor [Pipeline] { [Pipeline] ansiColor [Pipeline] { [Pipeline] sh [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f ab55cfac4cf44ee96f8eb158b6586960917d92dd + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-PR-704-2 --build-arg COMMIT=ab55cfac --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=build -t docker-app-cli:jenkins-app-PR-704-2 . + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-704-2 -f Dockerfile.lint . Sending build context to Docker daemon 76.15MB Step 1/8 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/8 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 Sending build context to Docker daemon 76.15MB 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 ---> 77833dc958c9 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 ---> cfc7ae89c111 Step 6/8 : WORKDIR /go/src/github.com/docker/app ---> Using cache ---> 903befebd645 Step 7/8 : ENV CGO_ENABLED=0 ---> Using cache ---> 83cb1bd899c4 Step 8/8 : COPY . . ---> Running in 9081970ee49a Removing intermediate container 9081970ee49a ---> da851b69c94e Step 3/8 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in e40c8e4b3612 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. ---> 75cbe4902081 Successfully built 75cbe4902081 Successfully tagged docker-app-lint:jenkins-app-PR-704-2 docker run --rm docker-app-lint:jenkins-app-PR-704-2 make lint Removing intermediate container e40c8e4b3612 ---> 98ed3924de52 Step 4/8 : WORKDIR /go/src/github.com/docker/cli ---> Running in 8734674580db Removing intermediate container 8734674580db ---> 0c88ca429513 Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in f9076ace7284 Linting... Cloning into '.'... Note: checking out 'a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact Still waiting to schedule task Waiting for next available executor on ‘ubuntu-1804&&x86_64&&overlay2’ Removing intermediate container f9076ace7284 ---> d779249e421b Step 6/8 : ARG GOPROXY ---> Running in 33b46a30d89d Removing intermediate container 33b46a30d89d ---> f53b271514ae Step 7/8 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in b412f6e5ef47 ./scripts/build/osx Building build/docker-darwin-amd64 internal/commands/init.go:18: File is not `goimports`-ed (goimports) Use: "init APP_NAME [OPTIONS]", Short: "Initialize an App Definition", Long: `Initialize an App Definition`, internal/commands/build/build.go:46: File is not `goimports`-ed (goimports) Use: "build [OPTIONS] [CONTEXT_PATH]", Short: "Build an App Image from a .dockerapp App Definition", make: *** [Makefile:71: lint] Error 1 docker.Makefile:110: recipe for target 'lint' failed make: *** [lint] Error 2 [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } Running on ubuntu-1804-overlay2 (i-029fdfc8af9bb6512) in /home/ubuntu/workspace/app_PR-704 [Pipeline] // stage [Pipeline] { [Pipeline] } Failed in branch Validate [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app [Pipeline] { [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app # timeout=10 Fetching upstream changes from https://github.com/docker/app.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/704/head:refs/remotes/origin/PR-704 Fetching without tags Checking out Revision ab55cfac4cf44ee96f8eb158b6586960917d92dd (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 ab55cfac4cf44ee96f8eb158b6586960917d92dd Commit message: "Fix object naming in command help and update examples" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-704-2 --build-arg COMMIT=ab55cfac --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-704-2 . Sending build context to Docker daemon 76.15MB Step 1/13 : ARG ALPINE_VERSION=3.10.1 Step 2/13 : FROM golang:1.13.0 AS build ---> c4d6fdf2260a Step 3/13 : RUN apt-get update -qq && apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 4ee9c418e3e1 Step 4/13 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 54246407141e Step 5/13 : COPY . . ---> 87896d289865 Step 6/13 : ARG TAG="unknown" ---> Running in 9a34ee93bfc4 Removing intermediate container 9a34ee93bfc4 ---> ca75fa023236 Step 7/13 : RUN make BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run ---> Running in 3578fddce1e9 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=ab55cfac -X github.com/docker/app/internal.Version=jenkins-app-PR-704-2 -X github.com/docker/app/internal.BuildTime=2019-10-22T14:40:52Z" -o bin/cnab-run ./cmd/cnab-run Removing intermediate container 3578fddce1e9 ---> 08e67eaf722d Step 8/13 : FROM alpine:${ALPINE_VERSION} as invocation ---> b7b28af77ffe Step 9/13 : RUN apk add --no-cache ca-certificates && adduser -S cnab ---> Running in 4e668447b864 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 4e668447b864 ---> 70c41b3c5f9d Step 10/13 : USER cnab ---> Running in dcf38f0059fb ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 Removing intermediate container dcf38f0059fb ---> e7318cd5c315 Step 11/13 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run ---> fad0a9b7a280 Step 12/13 : WORKDIR /cnab/app ---> Running in ec79f2bff44c Removing intermediate container ec79f2bff44c ---> 4e6384482218 Step 13/13 : CMD /cnab/app/run ---> Running in 3fc3f29099a7 Removing intermediate container 3fc3f29099a7 ---> 566c6f2104dc [Warning] One or more build-args [COMMIT GOPROXY] were not consumed Successfully built 566c6f2104dc Successfully tagged docker/cnab-app-base:jenkins-app-PR-704-2 docker save docker/cnab-app-base:jenkins-app-PR-704-2 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-704-2-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-704-2 docker/cnab-app-base:jenkins-app-PR-704-2-coverage docker save docker/cnab-app-base:jenkins-app-PR-704-2-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/2/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/2/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-2 Untagged: docker/cnab-app-base:jenkins-app-PR-704-2 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-704-2-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-704-2-coverage Deleted: sha256:566c6f2104dc4e38043222462d9b370fc72dd051372f991f3cd1fcbf0d89e8e5 Deleted: sha256:4e6384482218a0d5ca0927f9a1c0e10e784ff005569ce3777e2528853f7c5ca6 Deleted: sha256:fad0a9b7a280f5aaa26ae5b90506409e81681e729ec2a010fd379f28aff789d1 Deleted: sha256:d14320cfcac1c7153c1edac124751cbfd3cfc7f88f26da9ef00b5e262f7a5dd0 Deleted: sha256:e7318cd5c31528655186c63f5a4e2e7e0382d99a4a307b891bba3372dcdac08d Deleted: sha256:70c41b3c5f9df538f6b56ebff3371eb922ac4cd82114a2e98fe1230052b8795d Deleted: sha256:1f556d3719d244d016c98515b3408fc4f853e1efbcc637febfabfa35dab59396 [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } WARNING: binary creates a Linux executable. Use cross for macOS or Windows. ./scripts/build/binary Building statically linked build/docker-linux-amd64 Removing intermediate container b412f6e5ef47 ---> 223a98076737 Step 8/8 : WORKDIR /go/src/github.com/docker/app/ ---> Running in b75e1837ca30 Removing intermediate container b75e1837ca30 ---> 5d08456ba89d [Warning] One or more build-args [ALPINE_VERSION COMMIT TAG] were not consumed Successfully built 5d08456ba89d Successfully tagged docker-app-cli:jenkins-app-PR-704-2 docker create --name docker-app-cli-jenkins-app-PR-704-2 docker-app-cli:jenkins-app-PR-704-2 noop b79cc4d86e15c8791461c9eb5f8c93a1d057d8d6753bac9f72d070c1124a68f8 docker cp docker-app-cli-jenkins-app-PR-704-2:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux docker cp docker-app-cli-jenkins-app-PR-704-2:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin docker cp docker-app-cli-jenkins-app-PR-704-2:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe docker rm docker-app-cli-jenkins-app-PR-704-2 docker-app-cli-jenkins-app-PR-704-2 docker build --build-arg TAG=jenkins-app-PR-704-2 --build-arg COMMIT=ab55cfac --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=cross -t docker-app-cross:jenkins-app-PR-704-2 . Sending build context to Docker daemon 76.15MB 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 ---> da851b69c94e Step 3/21 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 98ed3924de52 Step 4/21 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 0c88ca429513 Step 5/21 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> d779249e421b Step 6/21 : ARG GOPROXY ---> Using cache ---> f53b271514ae Step 7/21 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 223a98076737 Step 8/21 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 5d08456ba89d Step 9/21 : FROM build AS dev ---> 5d08456ba89d Step 10/21 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in 88e33af275df Removing intermediate container 88e33af275df ---> 9598b2d5e6f2 Step 11/21 : ARG DEP_VERSION=v0.5.4 ---> Running in 6c07404032cc Removing intermediate container 6c07404032cc ---> 09a753c29ce6 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 549becadf1b9  % 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 5170 0 --:--:-- --:--:-- --:--:-- 5170  100 10.5M 100 10.5M 0 0 44.9M 0 --:--:-- --:--:-- --:--:-- 44.9M Removing intermediate container 549becadf1b9 ---> 419f350167bf Step 13/21 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 5019f9bb4f1b Removing intermediate container 5019f9bb4f1b ---> d1316236b65d Step 14/21 : ARG GOPROXY ---> Running in 49473ecdaad4 Removing intermediate container 49473ecdaad4 ---> a64e1949ca83 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 76bfaac51457 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/mattn/go-isatty v0.0.3 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding golang.org/x/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/sirupsen/logrus v1.0.5 go: finding github.com/fatih/color v1.6.0 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding golang.org/x/text v0.3.0 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding github.com/onsi/ginkgo v1.6.0 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding github.com/stretchr/testify v1.3.0 go: finding github.com/hpcloud/tail v1.0.0 go: finding github.com/golang/protobuf v1.2.0 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/stretchr/objx v0.1.0 go: finding github.com/davecgh/go-spew v1.1.0 go: downloading gotest.tools v2.1.0+incompatible go: extracting gotest.tools v2.1.0+incompatible go: downloading github.com/fatih/color v1.6.0 go: downloading github.com/spf13/pflag v1.0.1 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading github.com/pkg/errors v0.8.0 go: downloading github.com/sirupsen/logrus v1.0.5 go: downloading github.com/jonboulle/clockwork v0.1.0 go: extracting github.com/pkg/errors v0.8.0 go: extracting github.com/sirupsen/logrus v1.0.5 go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting 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/spf13/pflag v1.0.1 go: extracting github.com/fatih/color v1.6.0 go: downloading github.com/mattn/go-isatty v0.0.3 go: downloading github.com/mattn/go-colorable v0.0.9 go: extracting github.com/mattn/go-isatty v0.0.3 go: extracting github.com/mattn/go-colorable v0.0.9 go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e Removing intermediate container 76bfaac51457 ---> b99c206acda9 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 6598a2cd7fde Removing intermediate container 6598a2cd7fde ---> d4f5b0b690e9 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 d59122a1cb40 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 d59122a1cb40 ---> 379c14e13d99 Step 18/21 : COPY . . ---> 751cdf94b4aa Step 19/21 : FROM dev AS cross ---> 751cdf94b4aa Step 20/21 : ARG TAG="unknown" ---> Running in a3e0cb618e63 Removing intermediate container a3e0cb618e63 ---> d17e83abaea2 Step 21/21 : RUN make TAG=${TAG} cross ---> Running in e54c651c00a9 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=ab55cfac -X github.com/docker/app/internal.Version=jenkins-app-PR-704-2 -X github.com/docker/app/internal.BuildTime=2019-10-22T14:45: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=ab55cfac -X github.com/docker/app/internal.Version=jenkins-app-PR-704-2 -X github.com/docker/app/internal.BuildTime=2019-10-22T14:45: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=ab55cfac -X github.com/docker/app/internal.Version=jenkins-app-PR-704-2 -X github.com/docker/app/internal.BuildTime=2019-10-22T14:45:17Z" -o bin/docker-app-windows.exe ./cmd/docker-app Removing intermediate container e54c651c00a9 ---> 6066b17f6c7a [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 6066b17f6c7a Successfully tagged docker-app-cross:jenkins-app-PR-704-2 docker create --name docker-app-cross-jenkins-app-PR-704-2 docker-app-cross:jenkins-app-PR-704-2 noop 8fa898199d84b8b5e8557501700fc80f664edb6621f416a6bdd8b32f32f63414 docker cp docker-app-cross-jenkins-app-PR-704-2:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux docker cp docker-app-cross-jenkins-app-PR-704-2:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin docker cp docker-app-cross-jenkins-app-PR-704-2:/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-2 docker-app-cross-jenkins-app-PR-704-2 docker build --build-arg TAG=jenkins-app-PR-704-2 --build-arg COMMIT=ab55cfac --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-704-2 . Sending build context to Docker daemon 76.15MB 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 ---> da851b69c94e Step 3/24 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 98ed3924de52 Step 4/24 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 0c88ca429513 Step 5/24 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> d779249e421b Step 6/24 : ARG GOPROXY ---> Using cache ---> f53b271514ae Step 7/24 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 223a98076737 Step 8/24 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 5d08456ba89d Step 9/24 : FROM build AS dev ---> 5d08456ba89d Step 10/24 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 9598b2d5e6f2 Step 11/24 : ARG DEP_VERSION=v0.5.4 ---> Using cache ---> 09a753c29ce6 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 ---> 419f350167bf Step 13/24 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> d1316236b65d Step 14/24 : ARG GOPROXY ---> Using cache ---> a64e1949ca83 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 ---> b99c206acda9 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 ---> d4f5b0b690e9 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 ---> 379c14e13d99 Step 18/24 : COPY . . ---> Using cache ---> 751cdf94b4aa Step 19/24 : FROM dev AS cross ---> 751cdf94b4aa Step 20/24 : ARG TAG="unknown" ---> Using cache ---> d17e83abaea2 Step 21/24 : RUN make TAG=${TAG} cross ---> Using cache ---> 6066b17f6c7a Step 22/24 : FROM cross AS e2e-cross ---> 6066b17f6c7a Step 23/24 : ARG TAG="unknown" ---> Running in 671ff36d0b25 Removing intermediate container 671ff36d0b25 ---> 0c21b12f43e4 Step 24/24 : RUN make TAG=${TAG} e2e-cross ---> Running in 25c9fb8eac52 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=ab55cfac -X github.com/docker/app/internal.Version=jenkins-app-PR-704-2 -X github.com/docker/app/internal.BuildTime=2019-10-22T14:48:17Z" -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=ab55cfac -X github.com/docker/app/internal.Version=jenkins-app-PR-704-2 -X github.com/docker/app/internal.BuildTime=2019-10-22T14:48:17Z" -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=ab55cfac -X github.com/docker/app/internal.Version=jenkins-app-PR-704-2 -X github.com/docker/app/internal.BuildTime=2019-10-22T14:48:17Z" -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=ab55cfac -X github.com/docker/app/internal.Version=jenkins-app-PR-704-2 -X github.com/docker/app/internal.BuildTime=2019-10-22T14:48:17Z" -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=ab55cfac -X github.com/docker/app/internal.Version=jenkins-app-PR-704-2 -X github.com/docker/app/internal.BuildTime=2019-10-22T14:48:17Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ Removing intermediate container 25c9fb8eac52 ---> 79446900bc59 [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 79446900bc59 Successfully tagged docker-app-e2e-cross:jenkins-app-PR-704-2 docker create --name docker-app-e2e-cross-jenkins-app-PR-704-2 docker-app-e2e-cross:jenkins-app-PR-704-2 noop 380d74b2f6535435b87d26c4082ef218e53bee87d8c04cc148a1630d78c74ece docker cp docker-app-e2e-cross-jenkins-app-PR-704-2:/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-2:/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-2:/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-2:/usr/local/bin/gotestsum-linux bin/gotestsum-linux docker cp docker-app-e2e-cross-jenkins-app-PR-704-2:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-704-2:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-704-2:/usr/local/bin/test2json-linux bin/test2json-linux docker cp docker-app-e2e-cross-jenkins-app-PR-704-2:/usr/local/bin/test2json-darwin bin/test2json-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-704-2:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe docker rm docker-app-e2e-cross-jenkins-app-PR-704-2 docker-app-e2e-cross-jenkins-app-PR-704-2 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/2/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/2/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/2/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-704-2* + xargs docker image rm -f Untagged: docker-app-e2e-cross:jenkins-app-PR-704-2 Deleted: sha256:79446900bc59c64f6c1e3e20c3e022b50a0580fa3fc34b1da0e67b2b7b5b0fe9 Deleted: sha256:85c65613384f4de48e89d9f4e29bfbdfb9cdf04efc25c224c2e80008d2cda724 Deleted: sha256:0c21b12f43e452cd667fc6acbe4e090abf4ef2f01669a21278509539a4c68875 Untagged: docker-app-cross:jenkins-app-PR-704-2 Deleted: sha256:6066b17f6c7a959022cc834c2b9db91c785894e16d111f064d884b9991e15733 Deleted: sha256:95544fa032242f904d88a83ac6a12360a42c4318775c659edd865cf3946bc248 Deleted: sha256:d17e83abaea2a1042ab5a34c7f2a32b73821dec7d359d507021113b36f9bd991 Deleted: sha256:751cdf94b4aa9dae005e96d5d920e15cf7b03dd23b6cc39f70ab0ef65c946896 Deleted: sha256:68e5dab757dd2a649dd9bb7fc08cc1cedea68195921e72f98abd48e4b3ea374d Deleted: sha256:379c14e13d995a412d42ed6a85d267d72c317d9d4fc219bab444a72887981164 Deleted: sha256:c0c0b2948b714b074b8f75d9b17a754888832ffe625fd96c3bab75345c6009e6 Deleted: sha256:d4f5b0b690e97ae6096ad730fb48b748a9131866623596b3e6df34082771c8a3 Deleted: sha256:ff1fdc7cd123f33fb552f4e4c1353601806a353af808860b9cfb4ec3e7b0605b Deleted: sha256:b99c206acda9f6b2114c0d06750d83fceafd0f97d11d0785cb0e62bda723311d Deleted: sha256:c2cb770a414c91a662e6308622a2c6f35b1881460c8b0923e2f8cca19681e99b Deleted: sha256:a64e1949ca83ec2206928a2d570c5d7bb822d8e8f012ad476f23377bbde7f3aa Deleted: sha256:d1316236b65d0583c03f7ceaed184a17c0d0184a6103949718b6f532d77ba914 Deleted: sha256:419f350167bfd32f8276ae096efdbaf2282060d21f89db35a53fa209e8b4e384 Deleted: sha256:cdc38f7de1c9f63710d0cf6d39c2d3f0a61fa6f4bb9fa9bd2d7069169907edfb Deleted: sha256:09a753c29ce66787191b3b54cef08547ff601422250db93ffed4df9500763909 Deleted: sha256:9598b2d5e6f22b49f5f39be30ef54ec9b144ec2a90c6b1471cb017a9243e5ac3 Untagged: docker-app-cli:jenkins-app-PR-704-2 Deleted: sha256:5d08456ba89ddedd0c1aa4d031e45e188b733cba494d9a507b884ff7e6eeb7ce Deleted: sha256:e1bc4662760092e6595427fa876230604f652ea1d1413ad56d57b96a47956a55 Deleted: sha256:223a9807673722e6afa28ea75c3be420d4e0574ba3ed9cf1c1f7cbad537bbdd9 Deleted: sha256:73a71e5b4baea86a90b61c6e055d95f098a377c93ae82bac0d98414cb3f72271 Deleted: sha256:f53b271514ae66273e7c598b66df8452b5103a2cd55f0c215fc27849eb94f804 Deleted: sha256:d779249e421be03c6ee9e86dd84c7d2a5e1fe8d3cabbb5b89f70e77970d01a13 Deleted: sha256:50aae6d9a2310df7273d0e57f3958f33d586ea0b6bddd78ef310baf8f0ec7e28 Deleted: sha256:0c88ca4295135fe646e0baf0b391e6513c28333f486b36dff3839e7118646303 Deleted: sha256:a4470946c48f0e424f00a8454c773adc0078178872178ebc873dfa7483fd767b Deleted: sha256:98ed3924de529e2478f02808b5ad4dfd8ff817bd89ea0c90f31ec9dfe50f331a Deleted: sha256:bb5908cd8fc69c5171a32e7c548cd44633111f604b0b0770d5f210f7268d40e7 Deleted: sha256:da851b69c94e3e3ad8751c618711063e1206658fdc2ea9c56800c339285017d9 [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) Stage "Test" skipped due to earlier failure(s) [Pipeline] parallel [Pipeline] { (Branch: Coverage) [Pipeline] { (Branch: Test Linux) [Pipeline] stage [Pipeline] { (Coverage) [Pipeline] stage [Pipeline] { (Test Linux) Stage "Coverage" skipped due to earlier failure(s) [Pipeline] } Stage "Test Linux" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } Failed in branch Coverage [Pipeline] } Failed in branch Test Linux [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 2 Finished: FAILURE