Skip to content
Failed

Console Output

Pull request #704 updated
11:24:06 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from 3f7fd942606bd5d04d83d0f81e6b86898100c537
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-0a7be96a8c12e9fa9) in /home/ubuntu/workspace/app_PR-704
[Pipeline] {
Running on ubuntu-1804-overlay2 (i-0a30563a5fee3abbc) 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
Fetching changes from the remote Git repository
Fetching 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
Checking out Revision 3f7fd942606bd5d04d83d0f81e6b86898100c537 (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 3f7fd942606bd5d04d83d0f81e6b86898100c537
Commit message: "Updates after Silvin's comment during review"
 > git rev-list --no-walk afeee0d94bf592fdeb431b28ec75371b5bbe3e24 # timeout=10
Fetching without tags
Checking out Revision 3f7fd942606bd5d04d83d0f81e6b86898100c537 (PR-704)
[Pipeline] ansiColor
[Pipeline] {
Commit message: "Updates after Silvin's comment during review"
[Pipeline] sh
+ make -f docker.Makefile lint
Linting...
docker build -t docker-app-lint:jenkins-app-PR-704-15 -f Dockerfile.lint .
 > 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 3f7fd942606bd5d04d83d0f81e6b86898100c537
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ make -f docker.Makefile cli-cross cross e2e-cross tars
docker build --build-arg TAG=jenkins-app-PR-704-15 --build-arg COMMIT=3f7fd942 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=build -t docker-app-cli:jenkins-app-PR-704-15 .
Sending build context to Docker daemon  76.28MB

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
 ---> 082e9b980556
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
 ---> f55ba18a77b6
Step 6/8 : WORKDIR /go/src/github.com/docker/app
 ---> Using cache
 ---> a6299b54d9f9
Step 7/8 : ENV CGO_ENABLED=0
 ---> Using cache
 ---> 38229964efe8
Step 8/8 : COPY . .
Sending build context to Docker daemon  76.19MB

Step 1/8 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
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
96465440c208: Waiting
2f8d98df0991: Waiting
16a3d8aca6cd: Waiting
e0ec5610455a: Waiting
2ea1f7804402: Verifying Checksum
2ea1f7804402: Download complete
bbab4ec87ac4: Verifying Checksum
bbab4ec87ac4: Download complete
4ae16bd47783: Verifying Checksum
4ae16bd47783: Download complete
96465440c208: Verifying Checksum
96465440c208: Download complete
96d705baf026: Verifying Checksum
96d705baf026: Download complete
39007eb46008: Verifying Checksum
39007eb46008: Download complete
16a3d8aca6cd: Verifying Checksum
16a3d8aca6cd: Download complete
c0058a8c71f2: Verifying Checksum
c0058a8c71f2: Download complete
 ---> affb291f7090
Successfully built affb291f7090
Successfully tagged docker-app-lint:jenkins-app-PR-704-15
docker run --rm docker-app-lint:jenkins-app-PR-704-15 make lint
e0ec5610455a: Download complete
Linting...
4e549f0f5e64: Verifying Checksum
4e549f0f5e64: Download complete
2f8d98df0991: Verifying Checksum
2f8d98df0991: Download complete
4ae16bd47783: Pull complete
bbab4ec87ac4: Pull complete
2ea1f7804402: Pull complete
96465440c208: Pull complete
Still waiting to schedule task
Waiting for next available executor on ‘ubuntu-1804&&x86_64&&overlay2’
16a3d8aca6cd: Pull complete
e0ec5610455a: Pull complete
96d705baf026: Pull complete
39007eb46008: Pull complete
4e549f0f5e64: Pull complete
c0058a8c71f2: Pull complete
[Pipeline] sh
+ make -f docker.Makefile check-vendor
docker build --build-arg TAG=jenkins-app-PR-704-15 --build-arg COMMIT=3f7fd942 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-704-15 .
Sending build context to Docker daemon  76.28MB

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
 ---> 999ebbc0d4bd
Step 3/18 : RUN apt-get install -y -q --no-install-recommends   coreutils   util-linux   uuid-runtime
 ---> Using cache
 ---> fe02ce633692
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> 1e108e98a151
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> e08c0944a175
Step 6/18 : ARG GOPROXY
 ---> Using cache
 ---> ee69720b8ed5
Step 7/18 : RUN make binary-osx binary-windows binary &&   cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> 640d6fbcdac1
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> 6dedda1f6ffd
Step 9/18 : FROM build AS dev
 ---> 6dedda1f6ffd
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> 30e341946e98
Step 11/18 : ARG DEP_VERSION=v0.5.4
 ---> Using cache
 ---> 7780175eadd7
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
 ---> 7d56ce7f9e86
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> ce45873a2fc2
Step 14/18 : ARG GOPROXY
 ---> Using cache
 ---> a4c7d20ffd80
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
 ---> 361786ea2894
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
 ---> b8c679977c33
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
 ---> 1d001e4ad668
Step 18/18 : COPY . .
 ---> 7839b0d90f2a
[Warning] One or more build-args [TAG ALPINE_VERSION COMMIT] were not consumed
Successfully built 7839b0d90f2a
Successfully tagged docker-app-dev:jenkins-app-PR-704-15
Check Vendoring...
docker run --rm docker-app-dev:jenkins-app-PR-704-15 sh -c "make vendor && hack/check-git-diff vendor"
rm -rf vendor 1>&1
dep ensure -v 
(1/104) Wrote github.com/Microsoft/go-winio@v0.4.12
(2/104) Wrote github.com/davecgh/go-spew@v1.1.1
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
(3/104) Wrote vbom.ml/util@master
(4/104) Wrote github.com/containerd/ttrpc@master
(5/104) Wrote github.com/containerd/typeurl@master
(6/104) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1
 ---> Running in 689c0a681708
Removing intermediate container 689c0a681708
 ---> d39e4b4129aa
Step 3/8 : RUN apt-get install -y -q --no-install-recommends   coreutils   util-linux   uuid-runtime
 ---> Running in bea05c9687dd
(7/104) Wrote github.com/agl/ed25519@master
(8/104) Wrote github.com/containerd/continuity@master
(9/104) Wrote github.com/beorn7/perks@master
Reading package lists...(10/104) Wrote github.com/containerd/cgroups@master
(11/104) Wrote github.com/containerd/console@master

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 (367 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' ...
(12/104) Wrote github.com/containerd/fifo@master
(13/104) Wrote github.com/coreos/go-systemd@v20
(14/104) Wrote github.com/docker/buildx@v0.3.1
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 bea05c9687dd
 ---> f78d945012fd
Step 4/8 : WORKDIR /go/src/github.com/docker/cli
 ---> Running in cdf9a21cc01a
Removing intermediate container cdf9a21cc01a
 ---> 49a9041d7446
Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Running in 4c7867f9af4f
Cloning into '.'...
(15/104) Wrote github.com/docker/docker-credential-helpers@v0.6.1
(16/104) Wrote github.com/docker/go@v1.5.1-1
(17/104) Wrote github.com/docker/go-events@master
(18/104) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2
(19/104) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18
(20/104) Wrote github.com/docker/go-connections@v0.4.0
(21/104) Wrote github.com/Microsoft/hcsshim@v0.8.6
(22/104) Wrote github.com/docker/go-units@v0.3.3
Note: checking out 'a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact
(23/104) Wrote github.com/godbus/dbus@v5.0.1
(24/104) Wrote github.com/gofrs/flock@v0.7.1
(25/104) Wrote github.com/gogo/googleapis@v1.2.0
Removing intermediate container 4c7867f9af4f
 ---> 6710bd178f4a
Step 6/8 : ARG GOPROXY
 ---> Running in e07b232b4976
Removing intermediate container e07b232b4976
 ---> a7b11248474a
Step 7/8 : RUN make binary-osx binary-windows binary &&   cp build/docker-linux-amd64 /usr/bin/docker
 ---> Running in 502a1794bc88
./scripts/build/osx
Building build/docker-darwin-amd64
(26/104) Wrote github.com/google/go-cmp@v0.2.0
(27/104) Wrote github.com/google/gofuzz@v1.0.0
(28/104) Wrote github.com/google/shlex@master
(29/104) Wrote github.com/gorilla/mux@v1.7.1
(30/104) Wrote github.com/grpc-ecosystem/grpc-opentracing@master
(31/104) Wrote github.com/hashicorp/go-version@v1.1.0
(32/104) Wrote github.com/hashicorp/golang-lru@v0.5.1
(33/104) Wrote github.com/globalsign/mgo@master
(34/104) Wrote github.com/imdario/mergo@master
(35/104) Wrote github.com/inconshreveable/mousetrap@v1.0
(36/104) Wrote github.com/jaguilar/vt100 (from github.com/tonistiigi/vt100)@ad4c4a5743050fb7f88ce968dca9422f72a0e3f2
(37/104) Wrote github.com/googleapis/gnostic@v0.2.0
(38/104) Wrote github.com/mattn/go-shellwords@v1.0.5
(39/104) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580
(40/104) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2
(41/104) Wrote github.com/docker/compose-on-kubernetes@v0.4.21
(42/104) Wrote github.com/json-iterator/go@v1.1.6
(43/104) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1
(44/104) Wrote github.com/miekg/pkcs11@master
(45/104) Wrote github.com/mitchellh/mapstructure@v1.1.2
(46/104) Wrote github.com/modern-go/concurrent@1.0.3
(47/104) Wrote github.com/modern-go/reflect2@1.0.1
(48/104) Wrote github.com/morikuni/aec@master
(49/104) Wrote github.com/oklog/ulid@v1.3.1
(50/104) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1
(51/104) Wrote github.com/containerd/containerd@master
(52/104) Wrote github.com/golang/protobuf@v1.3.1
(53/104) Wrote github.com/opencontainers/image-spec@v1.0.1
(54/104) Wrote github.com/opentracing/opentracing-go@v1.1.0
(55/104) Wrote github.com/pkg/errors@v0.8.1
(56/104) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4
(57/104) Wrote github.com/prometheus/client_model@master
Running on ubuntu-1804-overlay2 (i-0027582b38629b0a2) 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] checkout
using credential docker-jenkins-github-credentials
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
(58/104) Wrote github.com/prometheus/client_golang@v0.8.0
(59/104) Wrote github.com/qri-io/jsonpointer@v0.1.0
(60/104) Wrote github.com/prometheus/procfs@master
(61/104) Wrote github.com/prometheus/common@v0.2.0
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
(62/104) Wrote github.com/qri-io/jsonschema@v0.1.1
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
Checking out Revision 3f7fd942606bd5d04d83d0f81e6b86898100c537 (PR-704)
(63/104) Wrote github.com/sirupsen/logrus@v1.4.1
Commit message: "Updates after Silvin's comment during review"
(64/104) Wrote github.com/syndtr/gocapability@master
(65/104) Wrote github.com/spf13/pflag@master
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3f7fd942606bd5d04d83d0f81e6b86898100c537
(66/104) Wrote github.com/spf13/cobra@v0.0.5
+ make -f docker.Makefile save-invocation-image
docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-704-15 --build-arg COMMIT=3f7fd942 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-704-15 .
Sending build context to Docker daemon  76.19MB

Step 1/13 : ARG ALPINE_VERSION=3.10.1
Step 2/13 : FROM golang:1.13.0 AS build
(67/104) Wrote github.com/tonistiigi/units@master
(68/104) Wrote github.com/opencontainers/runc@v1.0.0-rc7
(69/104) Wrote github.com/wadey/gocovmerge@master
1.13.0: Pulling from library/golang
(70/104) Wrote github.com/xeipuuv/gojsonpointer@master
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
ea67eaa7dd42: Waiting
36ac8c11a11f: Waiting
ecd7d9a67e26: Waiting
(71/104) Wrote github.com/xeipuuv/gojsonreference@master
4b5cacb629f5: Verifying Checksum
4b5cacb629f5: Download complete
14408c8d4f9a: Verifying Checksum
14408c8d4f9a: Download complete
4a56a430b2ba: Verifying Checksum
4a56a430b2ba: Download complete
(72/104) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc
(73/104) Wrote github.com/tonistiigi/fsutil@master
(74/104) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d
a2a2197e145e: Verifying Checksum
a2a2197e145e: Download complete
ea67eaa7dd42: Verifying Checksum
ea67eaa7dd42: Download complete
ecd7d9a67e26: Verifying Checksum
ecd7d9a67e26: Download complete
(75/104) Wrote github.com/moby/buildkit@v0.6.2
(76/104) Wrote github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98
36ac8c11a11f: Verifying Checksum
36ac8c11a11f: Download complete
(77/104) Wrote golang.org/x/oauth2@master
4a56a430b2ba: Pull complete
4b5cacb629f5: Pull complete
14408c8d4f9a: Pull complete
(78/104) Wrote golang.org/x/sync@master
(79/104) Wrote golang.org/x/crypto@master
(80/104) Wrote golang.org/x/time@master
ea67eaa7dd42: Pull complete
(81/104) Wrote golang.org/x/net@master
(82/104) Wrote github.com/coreos/etcd@v3.3.12
(83/104) Wrote gopkg.in/inf.v0@v0.9.1
(84/104) Wrote google.golang.org/appengine@v1.5.0
a2a2197e145e: Pull complete
(85/104) Wrote gopkg.in/yaml.v2@v2.2.3
(86/104) Wrote gotest.tools@v2.3.0
(87/104) Wrote k8s.io/klog@v0.2.0
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 6f12cf3c8af0
(88/104) Wrote k8s.io/utils@master
(89/104) Wrote github.com/Azure/go-ansiterm@master
(90/104) Wrote sigs.k8s.io/yaml@v1.1.0
(91/104) Wrote golang.org/x/sys@master
(92/104) Wrote k8s.io/apimachinery@kubernetes-1.14.1
(93/104) Wrote github.com/Masterminds/semver@v1.4.2
Reading package lists...
Building dependency tree...(94/104) Wrote google.golang.org/grpc@v1.19.1

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 (371 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 6f12cf3c8af0
 ---> e55af1b41d92
Step 4/13 : WORKDIR /go/src/github.com/docker/app/
 ---> Running in 43c38ab1b819
Removing intermediate container 43c38ab1b819
 ---> c0bb2b97660a
Step 5/13 : COPY . .
(95/104) Wrote github.com/theupdateframework/notary@v0.6.1
(96/104) Wrote golang.org/x/text@v0.3.0
 ---> 251f27b2bb3e
Step 6/13 : ARG TAG="unknown"
 ---> Running in 346e171baaa1
Removing intermediate container 346e171baaa1
 ---> 4abd04f006b4
Step 7/13 : RUN make BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run
 ---> Running in 6d08de9d74e7
CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=3f7fd942 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-15 -X github.com/docker/app/internal.BuildTime=2019-10-24T11:25:54Z" -o bin/cnab-run ./cmd/cnab-run
(97/104) Wrote golang.org/x/tools@master
(98/104) Wrote k8s.io/client-go@kubernetes-1.14.1
(99/104) Wrote google.golang.org/genproto@master
(100/104) Wrote cloud.google.com/go@v0.37.4
(101/104) Wrote github.com/gogo/protobuf@v1.2.1
(102/104) Wrote k8s.io/api@kubernetes-1.14.1
(103/104) Wrote github.com/docker/docker@master
./scripts/build/windows
Generating windows resources
Building build/docker-windows-amd64
Removing intermediate container 6d08de9d74e7
 ---> 34a3d4a63e2a
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 81cb3f3b6b62
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 81cb3f3b6b62
 ---> 6c55ef8622ad
Step 10/13 : USER cnab
 ---> Running in 2073e98138ca
Removing intermediate container 2073e98138ca
 ---> e107357b47b4
Step 11/13 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run
 ---> b45303e2244d
Step 12/13 : WORKDIR /cnab/app
 ---> Running in 0e81e05a0473
Removing intermediate container 0e81e05a0473
 ---> 89c35f47002a
Step 13/13 : CMD /cnab/app/run
 ---> Running in 03b4ba7ca58b
Removing intermediate container 03b4ba7ca58b
 ---> f91f5320f441
[Warning] One or more build-args [COMMIT GOPROXY] were not consumed
Successfully built f91f5320f441
Successfully tagged docker/cnab-app-base:jenkins-app-PR-704-15
docker save docker/cnab-app-base:jenkins-app-PR-704-15 -o _build/invocation-image.tar
[Pipeline] sh
+ make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-704-15-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag
docker tag docker/cnab-app-base:jenkins-app-PR-704-15 docker/cnab-app-base:jenkins-app-PR-704-15-coverage
docker save docker/cnab-app-base:jenkins-app-PR-704-15-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/15/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/15/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-15
Untagged: docker/cnab-app-base:jenkins-app-PR-704-15
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-704-15-coverage
Untagged: docker/cnab-app-base:jenkins-app-PR-704-15-coverage
Deleted: sha256:f91f5320f441397c926d8558e46e02f161e7f2d95576c97eaba3ab6508fe5ba2
Deleted: sha256:89c35f47002a438fba6834d777d77a159eba4f6b841bf2d62aeb1ede1c5f2942
Deleted: sha256:b45303e2244d9854f2e1b0bb023b2a421cf97cc27a6e3556414cb5b88f02dd22
Deleted: sha256:11ffb822384f5481369f1b0d925c5ac04c60c7d76b5d7c6dd6715518f37ed83f
Deleted: sha256:e107357b47b438f80a475ceb49387fa8faf198997ef42fe6bba52e437182483e
Deleted: sha256:6c55ef8622ad9f8e5908cde82cdaf24e208a066fcf1f3335bd16cf1b34cd5d3c
Deleted: sha256:89cf3e112743c89d63b942af6ebdc5a0c7173cf04815767fd363abd4b9082fd8
[Pipeline] }
[Pipeline] // dir
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
(104/104) Wrote k8s.io/kubernetes@v1.14.1
vendor is correct
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
WARNING: binary creates a Linux executable. Use cross for macOS or Windows.
./scripts/build/binary
Building statically linked build/docker-linux-amd64
Removing intermediate container 502a1794bc88
 ---> bb752302b229
Step 8/8 : WORKDIR /go/src/github.com/docker/app/
 ---> Running in fd0ac369f953
Removing intermediate container fd0ac369f953
 ---> d23c89cbb5d9
[Warning] One or more build-args [ALPINE_VERSION COMMIT TAG] were not consumed
Successfully built d23c89cbb5d9
Successfully tagged docker-app-cli:jenkins-app-PR-704-15
docker create --name docker-app-cli-jenkins-app-PR-704-15 docker-app-cli:jenkins-app-PR-704-15 noop
d0e0c20f0052d7e6450a19939cf4f69f692a1ef2b8172fee57cdc0af478ade23
docker cp docker-app-cli-jenkins-app-PR-704-15:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux
docker cp docker-app-cli-jenkins-app-PR-704-15:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin
docker cp docker-app-cli-jenkins-app-PR-704-15:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe
docker rm docker-app-cli-jenkins-app-PR-704-15
docker-app-cli-jenkins-app-PR-704-15
docker build --build-arg TAG=jenkins-app-PR-704-15 --build-arg COMMIT=3f7fd942 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=cross -t docker-app-cross:jenkins-app-PR-704-15 .
Sending build context to Docker daemon  76.19MB

Step 1/21 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
 ---> 518d5e4626aa
Step 2/21 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Using cache
 ---> d39e4b4129aa
Step 3/21 : RUN apt-get install -y -q --no-install-recommends   coreutils   util-linux   uuid-runtime
 ---> Using cache
 ---> f78d945012fd
Step 4/21 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> 49a9041d7446
Step 5/21 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> 6710bd178f4a
Step 6/21 : ARG GOPROXY
 ---> Using cache
 ---> a7b11248474a
Step 7/21 : RUN make binary-osx binary-windows binary &&   cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> bb752302b229
Step 8/21 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> d23c89cbb5d9
Step 9/21 : FROM build AS dev
 ---> d23c89cbb5d9
Step 10/21 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Running in 19f1590e70aa
Removing intermediate container 19f1590e70aa
 ---> b0e055605364
Step 11/21 : ARG DEP_VERSION=v0.5.4
 ---> Running in 9b5bbfa73429
Removing intermediate container 9b5bbfa73429
 ---> 710bb9f9a3dc
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 2ed785031698
  % 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   6111      0 --:--:-- --:--:-- --:--:--  6111

100 10.5M  100 10.5M    0     0  48.0M      0 --:--:-- --:--:-- --:--:-- 48.0M
Removing intermediate container 2ed785031698
 ---> 5e5fb8305ac7
Step 13/21 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Running in 7d081d1fe445
Removing intermediate container 7d081d1fe445
 ---> 616edbc640ab
Step 14/21 : ARG GOPROXY
 ---> Running in ff18de172d56
Removing intermediate container ff18de172d56
 ---> 5074e1164875
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 d05fe126270d
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/pkg/errors v0.8.0
go: finding github.com/onsi/gomega v1.4.3
go: finding github.com/stretchr/testify v1.3.0
go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: finding github.com/onsi/ginkgo v1.8.0
go: finding golang.org/x/text v0.3.0
go: finding github.com/jonboulle/clockwork v0.1.0
go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: finding gotest.tools v2.1.0+incompatible
go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2
go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9
go: finding github.com/onsi/ginkgo v1.6.0
go: finding github.com/golang/protobuf v1.2.0
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding github.com/hpcloud/tail v1.0.0
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding github.com/stretchr/objx v0.1.0
go: finding github.com/davecgh/go-spew v1.1.0
go: finding github.com/fatih/color v1.6.0
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding github.com/spf13/pflag v1.0.1
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding github.com/sirupsen/logrus v1.0.5
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 golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: downloading github.com/spf13/pflag v1.0.1
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 github.com/jonboulle/clockwork v0.1.0
go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: extracting github.com/spf13/pflag v1.0.1
go: extracting github.com/fatih/color v1.6.0
go: downloading github.com/mattn/go-colorable v0.0.9
go: downloading github.com/mattn/go-isatty v0.0.3
go: extracting github.com/mattn/go-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 d05fe126270d
 ---> b009583a424c
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 c5581b819d53
Removing intermediate container c5581b819d53
 ---> 2ad873ed21ef
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 b9b8c6a2bc14
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 b9b8c6a2bc14
 ---> 096b30ffce9d
Step 18/21 : COPY . .
 ---> d7b2345b12a9
Step 19/21 : FROM dev AS cross
 ---> d7b2345b12a9
Step 20/21 : ARG TAG="unknown"
 ---> Running in c0d10292d56f
Removing intermediate container c0d10292d56f
 ---> 27e79c4f5a87
Step 21/21 : RUN make TAG=${TAG} cross
 ---> Running in 8fe12b89da8e
GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=3f7fd942 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-15 -X github.com/docker/app/internal.BuildTime=2019-10-24T11:30:03Z" -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=3f7fd942 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-15 -X github.com/docker/app/internal.BuildTime=2019-10-24T11:30:03Z" -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=3f7fd942 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-15 -X github.com/docker/app/internal.BuildTime=2019-10-24T11:30:03Z" -o bin/docker-app-windows.exe ./cmd/docker-app
Removing intermediate container 8fe12b89da8e
 ---> a93f1d00152d
[Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed
Successfully built a93f1d00152d
Successfully tagged docker-app-cross:jenkins-app-PR-704-15
docker create --name docker-app-cross-jenkins-app-PR-704-15 docker-app-cross:jenkins-app-PR-704-15 noop
33d0f3d57e120ff5a90f37a6be27ff4c807ff07d3544fc10a106246143de13cc
docker cp docker-app-cross-jenkins-app-PR-704-15:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux
docker cp docker-app-cross-jenkins-app-PR-704-15:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin
docker cp docker-app-cross-jenkins-app-PR-704-15:/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-15
docker-app-cross-jenkins-app-PR-704-15
docker build --build-arg TAG=jenkins-app-PR-704-15 --build-arg COMMIT=3f7fd942 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-704-15  .
Sending build context to Docker daemon  76.19MB

Step 1/24 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
 ---> 518d5e4626aa
Step 2/24 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Using cache
 ---> d39e4b4129aa
Step 3/24 : RUN apt-get install -y -q --no-install-recommends   coreutils   util-linux   uuid-runtime
 ---> Using cache
 ---> f78d945012fd
Step 4/24 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> 49a9041d7446
Step 5/24 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> 6710bd178f4a
Step 6/24 : ARG GOPROXY
 ---> Using cache
 ---> a7b11248474a
Step 7/24 : RUN make binary-osx binary-windows binary &&   cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> bb752302b229
Step 8/24 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> d23c89cbb5d9
Step 9/24 : FROM build AS dev
 ---> d23c89cbb5d9
Step 10/24 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> b0e055605364
Step 11/24 : ARG DEP_VERSION=v0.5.4
 ---> Using cache
 ---> 710bb9f9a3dc
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
 ---> 5e5fb8305ac7
Step 13/24 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> 616edbc640ab
Step 14/24 : ARG GOPROXY
 ---> Using cache
 ---> 5074e1164875
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
 ---> b009583a424c
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
 ---> 2ad873ed21ef
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
 ---> 096b30ffce9d
Step 18/24 : COPY . .
 ---> Using cache
 ---> d7b2345b12a9
Step 19/24 : FROM dev AS cross
 ---> d7b2345b12a9
Step 20/24 : ARG TAG="unknown"
 ---> Using cache
 ---> 27e79c4f5a87
Step 21/24 : RUN make TAG=${TAG} cross
 ---> Using cache
 ---> a93f1d00152d
Step 22/24 : FROM cross AS e2e-cross
 ---> a93f1d00152d
Step 23/24 : ARG TAG="unknown"
 ---> Running in 7486dc3ebcb2
Removing intermediate container 7486dc3ebcb2
 ---> a17d4e3a59f8
Step 24/24 : RUN make TAG=${TAG} e2e-cross
 ---> Running in 45ab3f34d10a
GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=3f7fd942 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-15 -X github.com/docker/app/internal.BuildTime=2019-10-24T11:33:02Z" -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=3f7fd942 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-15 -X github.com/docker/app/internal.BuildTime=2019-10-24T11:33:02Z" -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=3f7fd942 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-15 -X github.com/docker/app/internal.BuildTime=2019-10-24T11:33:02Z" -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=3f7fd942 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-15 -X github.com/docker/app/internal.BuildTime=2019-10-24T11:33:02Z" -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=3f7fd942 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-15 -X github.com/docker/app/internal.BuildTime=2019-10-24T11:33:02Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/
Removing intermediate container 45ab3f34d10a
 ---> 47fb07ee0fd9
[Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed
Successfully built 47fb07ee0fd9
Successfully tagged docker-app-e2e-cross:jenkins-app-PR-704-15
docker create --name docker-app-e2e-cross-jenkins-app-PR-704-15 docker-app-e2e-cross:jenkins-app-PR-704-15 noop
c02b8a83eb7fe97b9067e782cf5bf1ffdb757c29f9f4cc08befe3216fbe8d672
docker cp docker-app-e2e-cross-jenkins-app-PR-704-15:/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-15:/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-15:/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-15:/usr/local/bin/gotestsum-linux bin/gotestsum-linux
docker cp docker-app-e2e-cross-jenkins-app-PR-704-15:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin
docker cp docker-app-e2e-cross-jenkins-app-PR-704-15:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe
docker cp docker-app-e2e-cross-jenkins-app-PR-704-15:/usr/local/bin/test2json-linux bin/test2json-linux
docker cp docker-app-e2e-cross-jenkins-app-PR-704-15:/usr/local/bin/test2json-darwin bin/test2json-darwin
docker cp docker-app-e2e-cross-jenkins-app-PR-704-15:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe
docker rm docker-app-e2e-cross-jenkins-app-PR-704-15
docker-app-e2e-cross-jenkins-app-PR-704-15
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/15/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/15/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/15/stashes/examples.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-704-15*
+ xargs docker image rm -f
Untagged: docker-app-e2e-cross:jenkins-app-PR-704-15
Deleted: sha256:47fb07ee0fd96c71dd15abb93bbd1b5731173ef7ac3fa21343aa59aee2ac8597
Deleted: sha256:f8b6e9cb60c7d8deecaa7ec89ae35423d1b253e6e0f8a8100913fb6cf022bf93
Deleted: sha256:a17d4e3a59f8ffae9429cf6fb57c6b407b118b7f1c778ffc8e7eda362cdb5312
Untagged: docker-app-cross:jenkins-app-PR-704-15
Deleted: sha256:a93f1d00152d2303892a720fcc0b9ef745797ec65416a660575e63d46503ae01
Deleted: sha256:ff70e9e26f227e5e5133397a35b70764db97d9e4b50774664bb7aca976e61fca
Deleted: sha256:27e79c4f5a878b1d8664f61e6ecf483fa04586c37c202b6b8bc18cbcfd8e0fca
Deleted: sha256:d7b2345b12a9c7702e136bd5e59bad9f257564c9dab69e531f66ae5cecf0ba3a
Deleted: sha256:a4d8f708ed3071be4327447e7b924dc8b3f02f921acf0030ac05d86bf53543ed
Deleted: sha256:096b30ffce9dc60be1bf1201a61e2ea45b9f29c2392209deed0f9459aa350f22
Deleted: sha256:a6905e082f129c859d51ef72124493a1b4fbd1b4cd2aa9c27fc1472844e218a5
Deleted: sha256:2ad873ed21ef9c3ff74acf07ec4a5eb1b602015298fe8968f38b47ec215ceaa8
Deleted: sha256:7fd67fb54b7b07a1d927653503afe8b42ea619610a920543ea17b061fcfce5fe
Deleted: sha256:b009583a424c20384bd277209ec3fd5bbbd4fa8eb2caa164ed7779404f519297
Deleted: sha256:570b8defede07d2f7fb6f20eebf997a72eb502b78bc399248cc892d611c09d0c
Deleted: sha256:5074e11648755d139db1204d3c7c27f829213891002d0f5d1ecdfcce77def651
Deleted: sha256:616edbc640ab220a0f38c5e959ba2d8e173c62686822e4b4bf681113f62a63b3
Deleted: sha256:5e5fb8305ac7966c8e972d0c223b3e77272327953705168ed7fc9757ee3c791d
Deleted: sha256:295e0f0dab2070c525b40b2f8407bf34cbee0b130029435042e36bdb8fc6acae
Deleted: sha256:710bb9f9a3dc3a58b0b41fe9a46b13f2b7f23302560dffeac51cd65dda8f1faf
Deleted: sha256:b0e055605364a367325f4161bf8ba295f3138754b19432627269ca32af3eb6e3
Untagged: docker-app-cli:jenkins-app-PR-704-15
Deleted: sha256:d23c89cbb5d985a5e5c44416848f759179747114d2a4710334bbdb8a7600b598
Deleted: sha256:0eae9959f6caa8477180e65e0b22e3f5c52b109b4d997447e7785d2d3c54543a
Deleted: sha256:bb752302b229361d4ae1a65fe6f415d0cb3307b67fec8d6493ee2c55bf92356d
Deleted: sha256:bca7bbc47d862d06550983ef63f026633327fef59a1bd0ba0b4bda0668e403a2
Deleted: sha256:a7b11248474a978ef56d10fc7befc3eb0affa16da2504429c70986ea62f51b74
Deleted: sha256:6710bd178f4ac7424465c1877244623abd979cf8d888dbe09d8a99d8ab7ff348
Deleted: sha256:d70031679c8c0d20d5ab60a09c44f5ff27209dff3319207ff13120599d4a1437
Deleted: sha256:49a9041d7446c6c72641d58dba89d947fc6ac090fca5859635153e2955aea93f
Deleted: sha256:096176b82b18d3830d50d24f8a68a97dc2034bed0943064dcb81afb3b541db46
Deleted: sha256:f78d945012fd0b98dd0a3d479d507f1fa4af815ba5e7626956fc99a837c45773
Deleted: sha256:b4d1f7c409c8b673974fa62e74dd5225428cb92f55a7f277e2e0ece265b6ae85
Deleted: sha256:d39e4b4129aa3baf7c8ae88aab0c7e8312fb6ee37979916de8e61d84056f0f79
[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-0a7be96a8c12e9fa9) 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] checkout
using credential docker-jenkins-github-credentials
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Running on ubuntu-1804-overlay2 (i-04acd649cdb8e0bd8) 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
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
using credential docker-jenkins-github-credentials
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Checking out Revision 3f7fd942606bd5d04d83d0f81e6b86898100c537 (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
Commit message: "Updates after Silvin's comment during review"
 > 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 3f7fd942606bd5d04d83d0f81e6b86898100c537
[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
 > 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
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/15/stashes/coverage-invocation-image.tgz
[Pipeline] sh
+ docker load -i coverage-invocation-image.tar
Loaded image: docker/cnab-app-base:jenkins-app-PR-704-15-coverage
[Pipeline] }
[Pipeline] // dir
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
Fetching without tags
Checking out Revision 3f7fd942606bd5d04d83d0f81e6b86898100c537 (PR-704)
+ make -f docker.Makefile TAG=jenkins-app-PR-704-15-coverage coverage-run
docker build --build-arg TAG=jenkins-app-PR-704-15-coverage --build-arg COMMIT=3f7fd942 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-704-15 .
 > 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 3f7fd942606bd5d04d83d0f81e6b86898100c537
Commit message: "Updates after Silvin's comment during review"
Sending build context to Docker daemon  76.19MB

Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
 ---> 518d5e4626aa
Step 2/18 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Using cache
 ---> 999ebbc0d4bd
Step 3/18 : RUN apt-get install -y -q --no-install-recommends   coreutils   util-linux   uuid-runtime
 ---> Using cache
 ---> fe02ce633692
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> 1e108e98a151
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> e08c0944a175
Step 6/18 : ARG GOPROXY
 ---> Using cache
 ---> ee69720b8ed5
Step 7/18 : RUN make binary-osx binary-windows binary &&   cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> 640d6fbcdac1
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> 6dedda1f6ffd
Step 9/18 : FROM build AS dev
 ---> 6dedda1f6ffd
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> 30e341946e98
Step 11/18 : ARG DEP_VERSION=v0.5.4
 ---> Using cache
 ---> 7780175eadd7
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
 ---> 7d56ce7f9e86
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> ce45873a2fc2
Step 14/18 : ARG GOPROXY
 ---> Using cache
 ---> a4c7d20ffd80
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
 ---> 361786ea2894
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
 ---> b8c679977c33
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
 ---> 1d001e4ad668
Step 18/18 : COPY . .
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] unstash
 ---> 588bd02e351f
[Warning] One or more build-args [ALPINE_VERSION COMMIT TAG] were not consumed
Successfully built 588bd02e351f
Successfully tagged docker-app-dev:jenkins-app-PR-704-15
docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-704-15-coverage --network="host" -t docker-app-dev:jenkins-app-PR-704-15 make COMMIT=3f7fd942 TAG=jenkins-app-PR-704-15-coverage TEST_RESULTS_PREFIX= coverage
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/15/stashes/invocation-image.tgz
[Pipeline] sh
+ docker load -i invocation-image.tar
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=3f7fd942 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-15-coverage -X github.com/docker/app/internal.BuildTime=2019-10-24T11:35:31Z" -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
∅  .
Loaded image: docker/cnab-app-base:jenkins-app-PR-704-15
[Pipeline] }
[Pipeline] // dir
[Pipeline] unstash
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-704/15/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/15/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/15/stashes/e2e.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ ./gotestsum-linux --format short-verbose --junitfile e2e-linux.xml --raw-command -- ./test2json-linux -t -p e2e/linux ./docker-app-e2e-linux -test.v --e2e-path=e2e
PASS e2e/linux.TestBuild (21.64s)
PASS e2e/linux.TestQuietBuild (12.63s)
PASS e2e/linux.TestBuildWithoutTag (12.85s)
PASS e2e/linux.TestBuildWithArgs (12.58s)
PASS e2e/linux.TestBuildWithArgsDefinedTwice (13.51s)
∅  cmd/cnab-run
∅  cmd/docker-app
✓  internal (40ms)
✓  internal/cnab (49ms)
PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (3.90s)
PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (3.22s)
PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (3.42s)
PASS e2e/linux.TestCallCustomStatusAction (10.55s)
PASS e2e/linux.TestCnabParameters (3.12s)
PASS e2e/linux.TestExitErrorCode (0.07s)
✓  internal/commands/build (20ms)
PASS e2e/linux.TestRender/envvariables/stdout (1.74s)
PASS e2e/linux.TestRender/envvariables/file (1.38s)
PASS e2e/linux.TestRender/envvariables (3.12s)
PASS e2e/linux.TestRender (3.12s)
✓  internal/commands (1.865s)
✓  internal/compose (5ms)
✓  internal/formatter (6ms)
✓  internal/commands/image (36ms)
∅  internal/formatter/driver
∅  internal/formatter/json
∅  internal/formatter/yaml
✓  internal/inspect (123ms)
∅  internal/log
✓  internal/packager (56ms)
✓  internal/slices (2ms)
✓  internal/yaml (12ms)
✓  internal/store (23ms)
✓  loader (27ms)
✓  render (105ms)
PASS e2e/linux.TestRenderFormatters (14.09s)
PASS e2e/linux.TestInit (0.14s)
✓  specification (9ms)
✓  types (49ms)
✓  types/metadata (23ms)
✓  types/parameters (4ms)

DONE 231 tests in 125.964s
CGO_ENABLED=0 go test -tags=" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=3f7fd942 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-15-coverage -X github.com/docker/app/internal.BuildTime=2019-10-24T11:35:31Z" -coverpkg="./..." -c -o _build/docker-app.cov ./cmd/docker-app
PASS e2e/linux.TestInspectApp (13.18s)
=== RUN   TestRunOnlyOne
--- FAIL: TestRunOnlyOne (0.14s)
    commands_test.go:191: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/docker-linux app run --cnab-bundle-json bundle.json myapp
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   "docker app run" cannot run a bundle and an App image
        
        
        Failures:
        Expected stderr to contain "\"docker app run\" cannot run a bundle and an app image"
FAIL e2e/linux.TestRunOnlyOne (0.14s)
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=3f7fd942 -X github.com/docker/app/internal.Version=jenkins-app-PR-704-15-coverage -X github.com/docker/app/internal.BuildTime=2019-10-24T11:35:31Z" -v ./e2e
PASS e2e/linux.TestDockerAppLifecycle/withBindMounts (21.43s)
PASS e2e/linux.TestDockerAppLifecycle/withoutBindMounts (21.13s)
PASS e2e/linux.TestDockerAppLifecycle (42.56s)
PASS e2e/linux.TestCredentials/missing (0.07s)
PASS e2e/linux.TestCredentials/full (1.92s)
PASS e2e/linux.TestCredentials/mixed-credstore (1.28s)
PASS e2e/linux.TestCredentials/mixed-local-cred (1.34s)
PASS e2e/linux.TestCredentials/overload (0.06s)
PASS e2e/linux.TestCredentials (4.67s)
PASS e2e/linux.TestRenderWithEnvFile (1.65s)
PASS e2e/linux.TestExamplesAreValid (0.25s)
PASS e2e/linux.TestImageList (13.35s)
PASS e2e/linux.TestImageListQuiet (13.54s)
PASS e2e/linux.TestImageRm (13.42s)
PASS e2e/linux.TestImageTag (18.97s)
PASS e2e/linux.TestInvokePluginFromCLI (3.73s)
PASS e2e/linux.TestPushArchs/default (3.61s)
PASS e2e/linux.TestPushArchs/all-platforms (1.38s)
PASS e2e/linux.TestPushArchs (16.47s)
PASS e2e/linux.TestPushInsecureRegistry (18.17s)
PASS e2e/linux.TestPushInstall (16.24s)
PASS e2e/linux.TestPushPullInstall (16.57s)
PASS e2e/linux.TestPushInstallBundle/push-bundle (5.04s)
PASS e2e/linux.TestPushInstallBundle/push-ref (1.12s)
PASS e2e/linux.TestPushInstallBundle/push-bundleref (2.18s)
PASS e2e/linux.TestPushInstallBundle (21.28s)
FAIL e2e/linux

=== Failed
=== FAIL: e2e/linux TestRunOnlyOne (0.14s)
    commands_test.go:191: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-704/src/github.com/docker/app/docker-linux app run --cnab-bundle-json bundle.json myapp
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   "docker app run" cannot run a bundle and an App image
        
        
        Failures:
        Expected stderr to contain "\"docker app run\" cannot run a bundle and an app image"


DONE 45 tests, 1 failure in 318.528s
time="2019-10-24T11:41:06Z" 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/15/artifacts/
[Pipeline] junit
Recording test results
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-704-15
Untagged: docker/cnab-app-base:jenkins-app-PR-704-15
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Test Linux
✖  e2e (5m49.536s)

=== Failed
=== FAIL: e2e TestRunOnlyOne (0.16s)
    commands_test.go:191: assertion failed: 
        Command:  docker app run --cnab-bundle-json bundle.json myapp
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   "docker app run" cannot run a bundle and an App image
        
        
        Failures:
        Expected stderr to contain "\"docker app run\" cannot run a bundle and an app image"


DONE 45 tests, 1 failure in 353.606s
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-0a7be96a8c12e9fa9)
		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