Skip to content
Failed

Console Output

Skipping 54 KB.. Full Log
docker save docker/cnab-app-base:jenkins-app-PR-683-5-coverage -o _build/coverage-invocation-image.tar
[Pipeline] sh
+ make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-683-5-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag
docker tag docker/cnab-app-base:jenkins-app-PR-683-5 docker/cnab-app-base:jenkins-app-PR-683-5-coverage-experimental
docker save docker/cnab-app-base:jenkins-app-PR-683-5-coverage-experimental -o _build/coverage-experimental-invocation-image.tar
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/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-683/5/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-683/5/stashes/coverage-invocation-image.tgz
[Pipeline] stash
2f8d98df0991: Pull complete
Digest: sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705
Status: Downloaded newer image for dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705
 ---> 518d5e4626aa
Step 2/18 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/5/stashes/coverage-experimental-invocation-image.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app
[Pipeline] {
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-683-5
Untagged: docker/cnab-app-base:jenkins-app-PR-683-5
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-683-5-coverage
Untagged: docker/cnab-app-base:jenkins-app-PR-683-5-coverage
 ---> Running in f18ccdcb318f
Removing intermediate container f18ccdcb318f
 ---> c3bbd843f42f
Step 3/18 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Running in 7916075b2acf
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-683-5-coverage-experimental
Untagged: docker/cnab-app-base:jenkins-app-PR-683-5-coverage-experimental
Deleted: sha256:4dae73fbaaab5c445a09761dfc4177155a27bd6e256358c9aa7fa28b84a2f667
Deleted: sha256:8f5d0b1b9e2eb607ff93525be2c5498a3dd8414438378c54a931c0dda18c2766
Deleted: sha256:29b832c6cb8a207e5fdd51f92c18b7f382e8b319dfc48f54ad306f2f6516f201
Deleted: sha256:ed7d2f1efa24be2a55dc83940a665c77e1bc5dba8f4dfdf4fc890083b1f13837
Deleted: sha256:bccd0a1d9f08a65f95647d1d524e250cf8adb9d0884bed7e60b6b6365d5fa16f
Deleted: sha256:ed4d1b12d43d73a935773333586d63ac3c9c50e3a4489de524df2c22d90cba63
Deleted: sha256:3694168dd8f6eb57a8f25e84bf73b8b8ec40910bd2357f494178b12c3eba1d72
[Pipeline] }
[Pipeline] // dir
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
Reading package lists...[Pipeline] // stage
[Pipeline] }

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 (365 kB/s)
Selecting previously unselected package uuid-runtime.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 25419 files and directories currently installed.)
Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ...
Unpacking uuid-runtime (2.33.1-0.1) ...
Setting up uuid-runtime (2.33.1-0.1) ...
Adding group `uuidd' (GID 102) ...
Done.
Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory
Adding system user `uuidd' (UID 101) ...
Adding new user `uuidd' (UID 101) with group `uuidd' ...
Not creating home directory `/run/uuidd'.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Removing intermediate container 7916075b2acf
 ---> 5d8041ba06f7
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
 ---> Running in 5f5ee1097ef7
Removing intermediate container 5f5ee1097ef7
 ---> 2a8426fef7f1
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Running in 07d558a52d51
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 <new-branch-name>

HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact
Removing intermediate container 07d558a52d51
 ---> 1c5d0d4695b6
Step 6/18 : ARG GOPROXY
 ---> Running in 5a08b967c322
Removing intermediate container 5a08b967c322
 ---> 9ad6e5348fae
Step 7/18 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Running in 2c98b7b6cf8d
./scripts/build/osx
Building build/docker-darwin-amd64
./scripts/build/windows
Generating windows resources
Building build/docker-windows-amd64
./scripts/build/windows
Generating windows resources
Building build/docker-windows-amd64
WARNING: binary creates a Linux executable. Use cross for macOS or Windows.
./scripts/build/binary
Building statically linked build/docker-linux-amd64
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 1b0a9138b0ce
 ---> 46bce6ceab15
Step 8/8 : WORKDIR /go/src/github.com/docker/app/
 ---> Running in dba52cfac19a
Removing intermediate container dba52cfac19a
 ---> e922e6b4247b
[Warning] One or more build-args [EXPERIMENTAL TAG ALPINE_VERSION COMMIT] were not consumed
Successfully built e922e6b4247b
Successfully tagged docker-app-cli:jenkins-app-PR-683-5
docker create --name docker-app-cli-jenkins-app-PR-683-5 docker-app-cli:jenkins-app-PR-683-5 noop
42c85fd8b8389322b215ed22df7b39eeee14932bddc2bea55a65c75456499298
docker cp docker-app-cli-jenkins-app-PR-683-5:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux
docker cp docker-app-cli-jenkins-app-PR-683-5:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin
docker cp docker-app-cli-jenkins-app-PR-683-5:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe
docker rm docker-app-cli-jenkins-app-PR-683-5
docker-app-cli-jenkins-app-PR-683-5
docker build --build-arg EXPERIMENTAL=off --build-arg TAG=jenkins-app-PR-683-5 --build-arg COMMIT=f027f173 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=cross -t docker-app-cross:jenkins-app-PR-683-5  .
Sending build context to Docker daemon  75.58MB

Step 1/22 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
 ---> 518d5e4626aa
Step 2/22 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Using cache
 ---> 40eb812407e1
Step 3/22 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Using cache
 ---> 2249dba0a775
Step 4/22 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> 2e97e8f00ff5
Step 5/22 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> d541ac7e5840
Step 6/22 : ARG GOPROXY
 ---> Using cache
 ---> f4da93adfb04
Step 7/22 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> 46bce6ceab15
Step 8/22 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> e922e6b4247b
Step 9/22 : FROM build AS dev
 ---> e922e6b4247b
Step 10/22 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Running in ae98b8ee38f6
Removing intermediate container ae98b8ee38f6
 ---> c105e422633e
Step 11/22 : ARG DEP_VERSION=v0.5.4
 ---> Running in af6c286501fa
Removing intermediate container af6c286501fa
 ---> 6f466321772d
Step 12/22 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 &&     chmod +x /usr/bin/dep
 ---> Running in d30bf25fbcdc
  % 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.4M      0 --:--:-- --:--:-- --:--:-- 48.4M
Removing intermediate container d30bf25fbcdc
 ---> 962364241473
Step 13/22 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Running in cb22f65ca371
Removing intermediate container cb22f65ca371
 ---> 49a27c208851
Step 14/22 : ARG GOPROXY
 ---> Running in c81cb98fe0cf
Removing intermediate container c81cb98fe0cf
 ---> 927c6fd7f250
Step 15/22 : RUN mkdir $GOPATH/src/gotest.tools &&     git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum &&     cd $GOPATH/src/gotest.tools/gotestsum &&     git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION &&     GO111MODULE=on GOOS=linux   go build -o /usr/local/bin/gotestsum-linux       gotest.tools/gotestsum &&     GO111MODULE=on GOOS=darwin  go build -o /usr/local/bin/gotestsum-darwin      gotest.tools/gotestsum &&     GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum &&     ln -s gotestsum-linux /usr/local/bin/gotestsum
 ---> Running in 400838123a9c
go: finding github.com/pkg/errors v0.8.0
go: finding github.com/mattn/go-isatty v0.0.3
go: finding github.com/mattn/go-colorable v0.0.9
go: finding github.com/google/go-cmp v0.2.0
go: finding github.com/spf13/pflag v1.0.1
go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9
go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
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 gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2
go: finding github.com/fatih/color v1.6.0
go: finding github.com/sirupsen/logrus v1.0.5
go: finding github.com/jonboulle/clockwork v0.1.0
go: finding github.com/stretchr/testify v1.3.0
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding golang.org/x/text v0.3.0
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding github.com/golang/protobuf v1.2.0
go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding github.com/hpcloud/tail v1.0.0
go: finding github.com/davecgh/go-spew v1.1.0
go: finding github.com/stretchr/objx v0.1.0
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding github.com/onsi/ginkgo v1.6.0
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: downloading gotest.tools v2.1.0+incompatible
go: extracting gotest.tools v2.1.0+incompatible
go: downloading github.com/sirupsen/logrus v1.0.5
go: downloading github.com/fatih/color v1.6.0
go: downloading github.com/spf13/pflag v1.0.1
go: downloading github.com/pkg/errors v0.8.0
go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: downloading github.com/jonboulle/clockwork v0.1.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/pkg/errors v0.8.0
go: extracting github.com/spf13/pflag v1.0.1
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/fatih/color v1.6.0
go: downloading github.com/mattn/go-isatty v0.0.3
go: downloading github.com/mattn/go-colorable v0.0.9
go: extracting github.com/mattn/go-colorable v0.0.9
go: extracting github.com/mattn/go-isatty v0.0.3
go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
Removing intermediate container 400838123a9c
 ---> ed227f08f15f
Step 16/22 : RUN GOOS=linux   go build -o /usr/local/bin/test2json-linux       cmd/test2json &&     GOOS=darwin  go build -o /usr/local/bin/test2json-darwin      cmd/test2json &&     GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json
 ---> Running in fc6bb1715b13
Removing intermediate container fc6bb1715b13
 ---> 3bd4a46550f5
Step 17/22 : RUN go get -d gopkg.in/mjibson/esc.v0 &&     cd /go/src/github.com/mjibson/esc &&     go build -v -o /usr/bin/esc . &&     rm -rf /go/src/* /go/pkg/* /go/bin/*
 ---> Running in 0c6bf7f516f5
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/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 0c6bf7f516f5
 ---> 62a3a618e6ef
Step 18/22 : COPY . .
 ---> b1306132d315
Step 19/22 : FROM dev AS cross
 ---> b1306132d315
Step 20/22 : ARG EXPERIMENTAL="off"
 ---> Running in 458c9125d62d
Removing intermediate container 458c9125d62d
 ---> 6dd34035859f
Step 21/22 : ARG TAG="unknown"
 ---> Running in 7805fd1d9346
Removing intermediate container 7805fd1d9346
 ---> 1884575c0f3f
Step 22/22 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross
 ---> Running in d48670727c7b
GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=f027f173 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-5 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T08:19:00Z" -o bin/docker-app-linux ./cmd/docker-app
Removing intermediate container 2c98b7b6cf8d
 ---> c37c6c4088d1
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
 ---> Running in e18d120fbfb7
Removing intermediate container e18d120fbfb7
 ---> 8cc6289ba9e9
Step 9/18 : FROM build AS dev
 ---> 8cc6289ba9e9
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Running in 4d5515fc2846
Removing intermediate container 4d5515fc2846
 ---> 3a97ad0456c5
Step 11/18 : ARG DEP_VERSION=v0.5.4
 ---> Running in 14d6c89134c5
Removing intermediate container 14d6c89134c5
 ---> 34b978dbb252
Step 12/18 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 &&     chmod +x /usr/bin/dep
 ---> Running in f75e87ceb97e
  % 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 --:--:-- --:--:-- --:--:--  5215

100 10.5M  100 10.5M    0     0  39.1M      0 --:--:-- --:--:-- --:--:-- 39.1M
Removing intermediate container f75e87ceb97e
 ---> b19deb1a46b3
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Running in 66b414bd0518
Removing intermediate container 66b414bd0518
 ---> dd7b291ff9a7
Step 14/18 : ARG GOPROXY
 ---> Running in 31ba9eb4a917
Removing intermediate container 31ba9eb4a917
 ---> 15808e088c1b
Step 15/18 : RUN mkdir $GOPATH/src/gotest.tools &&     git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum &&     cd $GOPATH/src/gotest.tools/gotestsum &&     git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION &&     GO111MODULE=on GOOS=linux   go build -o /usr/local/bin/gotestsum-linux       gotest.tools/gotestsum &&     GO111MODULE=on GOOS=darwin  go build -o /usr/local/bin/gotestsum-darwin      gotest.tools/gotestsum &&     GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum &&     ln -s gotestsum-linux /usr/local/bin/gotestsum
 ---> Running in 6f2da3be4bed
go: finding github.com/google/go-cmp v0.2.0
go: finding github.com/mattn/go-isatty v0.0.3
go: finding github.com/onsi/gomega v1.4.3
go: finding github.com/mattn/go-colorable v0.0.9
go: finding github.com/sirupsen/logrus v1.0.5
go: finding github.com/pkg/errors v0.8.0
go: finding github.com/fatih/color v1.6.0
go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2
go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9
go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: finding github.com/stretchr/testify v1.3.0
go: finding github.com/spf13/pflag v1.0.1
go: finding github.com/onsi/ginkgo v1.8.0
go: finding github.com/jonboulle/clockwork v0.1.0
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: finding gotest.tools v2.1.0+incompatible
go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding github.com/hpcloud/tail v1.0.0
go: finding golang.org/x/text v0.3.0
go: finding github.com/onsi/ginkgo v1.6.0
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding github.com/stretchr/objx v0.1.0
go: finding github.com/davecgh/go-spew v1.1.0
go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding github.com/golang/protobuf v1.2.0
go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: downloading gotest.tools v2.1.0+incompatible
go: extracting gotest.tools v2.1.0+incompatible
go: downloading github.com/sirupsen/logrus v1.0.5
go: downloading github.com/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/jonboulle/clockwork v0.1.0
go: extracting github.com/pkg/errors v0.8.0
go: downloading github.com/spf13/pflag v1.0.1
go: extracting github.com/jonboulle/clockwork v0.1.0
go: extracting github.com/sirupsen/logrus v1.0.5
go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
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 6f2da3be4bed
 ---> 928a18178f9c
Step 16/18 : RUN GOOS=linux   go build -o /usr/local/bin/test2json-linux       cmd/test2json &&     GOOS=darwin  go build -o /usr/local/bin/test2json-darwin      cmd/test2json &&     GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json
 ---> Running in 1031a56467eb
Removing intermediate container 1031a56467eb
 ---> 0733696fb87e
Step 17/18 : RUN go get -d gopkg.in/mjibson/esc.v0 &&     cd /go/src/github.com/mjibson/esc &&     go build -v -o /usr/bin/esc . &&     rm -rf /go/src/* /go/pkg/* /go/bin/*
 ---> Running in 9b5c49b2ded7
GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=f027f173 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-5 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T08:19:00Z" -o bin/docker-app-darwin ./cmd/docker-app
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/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 9b5c49b2ded7
 ---> 1d7d14b50d28
Step 18/18 : COPY . .
 ---> e2d4ce683a59
[Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed
Successfully built e2d4ce683a59
Successfully tagged docker-app-dev:jenkins-app-PR-683-5
Check Vendoring...
docker run --rm docker-app-dev:jenkins-app-PR-683-5 sh -c "make vendor && hack/check-git-diff vendor"
rm -rf vendor 1>&1
dep ensure -v 
(1/104) Wrote github.com/Azure/go-ansiterm@master
(2/104) Wrote github.com/agl/ed25519@master
(3/104) Wrote github.com/containerd/fifo@master
(4/104) Wrote vbom.ml/util@master
(5/104) Wrote github.com/containerd/continuity@master
(6/104) Wrote github.com/coreos/go-systemd@v20
(7/104) Wrote github.com/containerd/cgroups@master
(8/104) Wrote github.com/containerd/typeurl@master
(9/104) Wrote github.com/containerd/ttrpc@master
(10/104) Wrote github.com/Masterminds/semver@v1.4.2
(11/104) Wrote github.com/Microsoft/go-winio@v0.4.12
(12/104) Wrote github.com/beorn7/perks@master
(13/104) Wrote github.com/containerd/console@master
(14/104) Wrote github.com/modern-go/concurrent@1.0.3
(15/104) Wrote github.com/davecgh/go-spew@v1.1.1
(16/104) Wrote github.com/Microsoft/hcsshim@v0.8.6
(17/104) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1
(18/104) Wrote github.com/docker/docker-credential-helpers@v0.6.1
(19/104) Wrote github.com/docker/go@v1.5.1-1
(20/104) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18
(21/104) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2
(22/104) Wrote github.com/docker/go-events@master
(23/104) Wrote github.com/docker/go-units@v0.3.3
(24/104) Wrote github.com/docker/go-connections@v0.4.0
(25/104) Wrote github.com/godbus/dbus@v5.0.1
(26/104) Wrote github.com/gofrs/flock@v0.7.1
(27/104) Wrote github.com/gogo/googleapis@v1.2.0
(28/104) Wrote github.com/google/go-cmp@v0.2.0
(29/104) Wrote github.com/docker/buildx@v0.3.1
(30/104) Wrote github.com/google/gofuzz@v1.0.0
(31/104) Wrote github.com/google/shlex@master
(32/104) Wrote github.com/gorilla/mux@v1.7.1
(33/104) Wrote github.com/grpc-ecosystem/grpc-opentracing@master
(34/104) Wrote github.com/hashicorp/go-version@v1.1.0
(35/104) Wrote github.com/globalsign/mgo@master
(36/104) Wrote github.com/hashicorp/golang-lru@v0.5.1
(37/104) Wrote github.com/imdario/mergo@master
(38/104) Wrote github.com/inconshreveable/mousetrap@v1.0
(39/104) Wrote github.com/jaguilar/vt100 (from github.com/tonistiigi/vt100)@ad4c4a5743050fb7f88ce968dca9422f72a0e3f2
(40/104) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2
(41/104) Wrote github.com/googleapis/gnostic@v0.2.0
(42/104) Wrote github.com/mattn/go-shellwords@v1.0.5
(43/104) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580
(44/104) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1
(45/104) Wrote github.com/json-iterator/go@v1.1.6
(46/104) Wrote github.com/docker/compose-on-kubernetes@v0.4.21
(47/104) Wrote github.com/mitchellh/mapstructure@v1.1.2
(48/104) Wrote github.com/miekg/pkcs11@master
(49/104) Wrote github.com/morikuni/aec@master
(50/104) Wrote github.com/oklog/ulid@v1.3.1
(51/104) Wrote cloud.google.com/go@v0.37.4
(52/104) Wrote github.com/modern-go/reflect2@1.0.1
(53/104) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1
(54/104) Wrote github.com/golang/protobuf@v1.3.1
(55/104) Wrote github.com/opentracing/opentracing-go@v1.1.0
(56/104) Wrote github.com/opencontainers/image-spec@v1.0.1
(57/104) Wrote github.com/pkg/errors@v0.8.1
(58/104) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4
(59/104) Wrote golang.org/x/crypto@master
(60/104) Wrote github.com/prometheus/client_model@master
(61/104) Wrote github.com/prometheus/client_golang@v0.8.0
(62/104) Wrote github.com/prometheus/procfs@master
(63/104) Wrote github.com/qri-io/jsonschema@v0.1.1
(64/104) Wrote github.com/prometheus/common@v0.2.0
(65/104) Wrote github.com/qri-io/jsonpointer@v0.1.0
(66/104) Wrote github.com/sirupsen/logrus@v1.4.1
(67/104) Wrote github.com/containerd/containerd@master
(68/104) Wrote github.com/spf13/pflag@master
(69/104) Wrote github.com/syndtr/gocapability@master
(70/104) Wrote github.com/spf13/cobra@v0.0.5
(71/104) Wrote github.com/tonistiigi/units@master
(72/104) Wrote github.com/wadey/gocovmerge@master
(73/104) Wrote github.com/opencontainers/runc@v1.0.0-rc7
(74/104) Wrote github.com/xeipuuv/gojsonpointer@master
(75/104) Wrote github.com/xeipuuv/gojsonreference@master
(76/104) Wrote github.com/tonistiigi/fsutil@master
(77/104) Wrote gotest.tools@v2.3.0
(78/104) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d
(79/104) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc
(80/104) Wrote github.com/moby/buildkit@v0.6.2
(81/104) Wrote golang.org/x/oauth2@master
(82/104) Wrote github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98
(83/104) Wrote golang.org/x/sync@master
(84/104) Wrote golang.org/x/time@master
(85/104) Wrote github.com/coreos/etcd@v3.3.12
(86/104) Wrote golang.org/x/net@master
(87/104) Wrote google.golang.org/appengine@v1.5.0
(88/104) Wrote gopkg.in/inf.v0@v0.9.1
(89/104) Wrote sigs.k8s.io/yaml@v1.1.0
(90/104) Wrote gopkg.in/yaml.v2@v2.2.3
GOOS=windows CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=f027f173 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-5 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T08:19:00Z" -o bin/docker-app-windows.exe ./cmd/docker-app
(91/104) Wrote k8s.io/klog@v0.2.0
(92/104) Wrote k8s.io/utils@master
(93/104) Wrote k8s.io/apimachinery@kubernetes-1.14.1
(94/104) Wrote google.golang.org/grpc@v1.19.1
(95/104) Wrote golang.org/x/sys@master
(96/104) Wrote github.com/theupdateframework/notary@v0.6.1
(97/104) Wrote golang.org/x/text@v0.3.0
(98/104) Wrote golang.org/x/tools@master
(99/104) Wrote k8s.io/client-go@kubernetes-1.14.1
(100/104) Wrote google.golang.org/genproto@master
(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
Removing intermediate container d48670727c7b
 ---> 71553fc4f020
[Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed
Successfully built 71553fc4f020
Successfully tagged docker-app-cross:jenkins-app-PR-683-5
docker create --name docker-app-cross-jenkins-app-PR-683-5 docker-app-cross:jenkins-app-PR-683-5 noop
6c5ae3ead44c5f85264fb362f2e4008e580fa828c0bb6951d52b28e51bfb4aa6
docker cp docker-app-cross-jenkins-app-PR-683-5:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux
docker cp docker-app-cross-jenkins-app-PR-683-5:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin
docker cp docker-app-cross-jenkins-app-PR-683-5:/go/src/github.com/docker/app/bin/docker-app-windows.exe bin/docker-app-windows.exe
docker rm docker-app-cross-jenkins-app-PR-683-5
docker-app-cross-jenkins-app-PR-683-5
docker build --build-arg EXPERIMENTAL=off --build-arg TAG=jenkins-app-PR-683-5 --build-arg COMMIT=f027f173 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-683-5  .
Sending build context to Docker daemon  75.58MB

Step 1/26 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
 ---> 518d5e4626aa
Step 2/26 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Using cache
 ---> 40eb812407e1
Step 3/26 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Using cache
 ---> 2249dba0a775
Step 4/26 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> 2e97e8f00ff5
Step 5/26 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> d541ac7e5840
Step 6/26 : ARG GOPROXY
 ---> Using cache
 ---> f4da93adfb04
Step 7/26 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> 46bce6ceab15
Step 8/26 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> e922e6b4247b
Step 9/26 : FROM build AS dev
 ---> e922e6b4247b
Step 10/26 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> c105e422633e
Step 11/26 : ARG DEP_VERSION=v0.5.4
 ---> Using cache
 ---> 6f466321772d
Step 12/26 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 &&     chmod +x /usr/bin/dep
 ---> Using cache
 ---> 962364241473
Step 13/26 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> 49a27c208851
Step 14/26 : ARG GOPROXY
 ---> Using cache
 ---> 927c6fd7f250
Step 15/26 : RUN mkdir $GOPATH/src/gotest.tools &&     git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum &&     cd $GOPATH/src/gotest.tools/gotestsum &&     git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION &&     GO111MODULE=on GOOS=linux   go build -o /usr/local/bin/gotestsum-linux       gotest.tools/gotestsum &&     GO111MODULE=on GOOS=darwin  go build -o /usr/local/bin/gotestsum-darwin      gotest.tools/gotestsum &&     GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum &&     ln -s gotestsum-linux /usr/local/bin/gotestsum
 ---> Using cache
 ---> ed227f08f15f
Step 16/26 : RUN GOOS=linux   go build -o /usr/local/bin/test2json-linux       cmd/test2json &&     GOOS=darwin  go build -o /usr/local/bin/test2json-darwin      cmd/test2json &&     GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json
 ---> Using cache
 ---> 3bd4a46550f5
Step 17/26 : RUN go get -d gopkg.in/mjibson/esc.v0 &&     cd /go/src/github.com/mjibson/esc &&     go build -v -o /usr/bin/esc . &&     rm -rf /go/src/* /go/pkg/* /go/bin/*
 ---> Using cache
 ---> 62a3a618e6ef
Step 18/26 : COPY . .
 ---> Using cache
 ---> b1306132d315
Step 19/26 : FROM dev AS cross
 ---> b1306132d315
Step 20/26 : ARG EXPERIMENTAL="off"
 ---> Using cache
 ---> 6dd34035859f
Step 21/26 : ARG TAG="unknown"
 ---> Using cache
 ---> 1884575c0f3f
Step 22/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross
 ---> Using cache
 ---> 71553fc4f020
Step 23/26 : FROM cross AS e2e-cross
 ---> 71553fc4f020
Step 24/26 : ARG EXPERIMENTAL="off"
 ---> Running in 26174c5289d2
Removing intermediate container 26174c5289d2
 ---> 1bfa1b0bfb2e
Step 25/26 : ARG TAG="unknown"
 ---> Running in 8f88c1afe7e1
Removing intermediate container 8f88c1afe7e1
 ---> 44e0f36ab5ce
Step 26/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} e2e-cross
 ---> Running in e5f092e921df
GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=f027f173 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-5 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T08:21:52Z" -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=f027f173 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-5 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T08:21:52Z" -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=f027f173 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-5 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T08:21:52Z" -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=f027f173 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-5 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T08:21:52Z" -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=f027f173 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-5 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T08:21:52Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/
Removing intermediate container e5f092e921df
 ---> 012f982d867a
[Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed
Successfully built 012f982d867a
Successfully tagged docker-app-e2e-cross:jenkins-app-PR-683-5
docker create --name docker-app-e2e-cross-jenkins-app-PR-683-5 docker-app-e2e-cross:jenkins-app-PR-683-5 noop
72ee5de7456d2da24edbab536fa504e9d3065ed3bb0d04668bae738fe1d95f1a
docker cp docker-app-e2e-cross-jenkins-app-PR-683-5:/go/src/github.com/docker/app/bin/docker-app-e2e-linux bin/docker-app-e2e-linux
docker cp docker-app-e2e-cross-jenkins-app-PR-683-5:/go/src/github.com/docker/app/bin/docker-app-e2e-darwin bin/docker-app-e2e-darwin
docker cp docker-app-e2e-cross-jenkins-app-PR-683-5:/go/src/github.com/docker/app/bin/docker-app-e2e-windows.exe bin/docker-app-e2e-windows.exe
docker cp docker-app-e2e-cross-jenkins-app-PR-683-5:/usr/local/bin/gotestsum-linux bin/gotestsum-linux
docker cp docker-app-e2e-cross-jenkins-app-PR-683-5:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin
docker cp docker-app-e2e-cross-jenkins-app-PR-683-5:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe
docker cp docker-app-e2e-cross-jenkins-app-PR-683-5:/usr/local/bin/test2json-linux bin/test2json-linux
docker cp docker-app-e2e-cross-jenkins-app-PR-683-5:/usr/local/bin/test2json-darwin bin/test2json-darwin
docker cp docker-app-e2e-cross-jenkins-app-PR-683-5:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe
docker rm docker-app-e2e-cross-jenkins-app-PR-683-5
docker-app-e2e-cross-jenkins-app-PR-683-5
tar --transform='flags=r;s|docker-app-linux|docker-app-plugin-linux|' -czf bin/docker-app-linux.tar.gz -C bin docker-app-linux
tar czf bin/docker-app-e2e-linux.tar.gz -C bin docker-app-e2e-linux
tar --transform='flags=r;s|docker-app-darwin|docker-app-plugin-darwin|' -czf bin/docker-app-darwin.tar.gz -C bin docker-app-darwin
tar czf bin/docker-app-e2e-darwin.tar.gz -C bin docker-app-e2e-darwin
tar --transform='flags=r;s|docker-app-windows|docker-app-plugin-windows|' -czf bin/docker-app-windows.tar.gz -C bin docker-app-windows.exe
tar czf bin/docker-app-e2e-windows.tar.gz -C bin docker-app-e2e-windows.exe
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/bin
[Pipeline] {
[Pipeline] stash
(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] }
Stashed 21 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/5/stashes/binaries.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/e2e
[Pipeline] {
[Pipeline] stash
Stashed 66 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/5/stashes/e2e.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/examples
[Pipeline] {
[Pipeline] stash
Stashed 29 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/5/stashes/examples.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ xargs docker image rm -f
+ docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-683-5*
Untagged: docker-app-e2e-cross:jenkins-app-PR-683-5
Deleted: sha256:012f982d867a1601d65fd813d0f20d68e209604a061c73b5a63314cd5aab9565
Deleted: sha256:40dac07b2c0010754ff76e2c7af5c0888624d059abb4bea201138c1154d04038
Deleted: sha256:44e0f36ab5cee077909aeb3ea79c7541ac74847172ead986baac30790036cf93
Deleted: sha256:1bfa1b0bfb2e2fddd09dce53748a8a1c5892fa771fddc7afc8806777ff246d31
Untagged: docker-app-cross:jenkins-app-PR-683-5
Deleted: sha256:71553fc4f0207c175355d60bb07a76a76e36771224605130f16f7378b4ae5f58
Deleted: sha256:f2612a4f70e8c31eb26c0c4b7b7a56d9e6d39e2a321c65ddf6f0ff3c04af3b32
Deleted: sha256:1884575c0f3f55d72100a887b8b6804abb9ff58e9ce591a303698a1c3509e43f
Deleted: sha256:6dd34035859fb48be83a57090c08d3ff2cd601233b649ea34da394b013a70850
Deleted: sha256:b1306132d3156004b66eb5bc8afebd8598617af0dc3d4ddf915eb9458f3b466d
Deleted: sha256:126dcc0bc0aaa9afebbbfef5b9344e3d9b3347fc6e525608a7c3d0aae1b2cd2f
Deleted: sha256:62a3a618e6ef5016262bf731a3ee1a935a30604efe0456fdee872761427f3289
Deleted: sha256:c07a933c3a2e2c9c40c1bdd3ce66cdbdc171dfc3c889e0e3bd6544a0201d2b74
Deleted: sha256:3bd4a46550f5a818fcd4bc9d614fa59e4417e723bac5315f6d3d33d5e3ac2fe0
Deleted: sha256:3566dc1f670e28ff0a0f86ee686b4c5462fc88931902b448c919d6323c1e7273
Deleted: sha256:ed227f08f15f0ce4dbf38f362a5d7cca97eaecaac8fec79fe3fd2a8e33e6bf2e
Deleted: sha256:988e0daa14e556eda3e674554306d36db59decbe0436714973cfdcea7c4baae1
Deleted: sha256:927c6fd7f2507894f44c914d886c4fa21740371ddc7812706934aea7ce1b14e2
Deleted: sha256:49a27c2088511abea30924f5879990b8305121ce97a82e58142595396743646c
Deleted: sha256:9623642414732557479157433a55cc590a2ebc6dc552f3cbd701b94c3c417534
Deleted: sha256:a05caa850cd6a588fba0a08104f8f802171e3598afc18f5e01664e3acde12f41
Deleted: sha256:6f466321772dd5148de71c098ac03789d1bd34dc62816b89528eaaa4dc19252a
Deleted: sha256:c105e422633e513d47270de1bd4225918f6f8ccf36a4ad00d9d1a05e4c867aa9
Untagged: docker-app-cli:jenkins-app-PR-683-5
Deleted: sha256:e922e6b4247bf1b7ec712a59ff16304137c0c68966324e3b438a326aa87d8641
Deleted: sha256:c95c3d9770e8af00bc4e01710b988f44866453c3dbc52444d33aee781e219b9e
Deleted: sha256:46bce6ceab1532af77067e1e01558799f8ddc19d19f284c7b8ef1b387275c56e
Deleted: sha256:7a5b08e0334b8fc9a76cf948980768ca02ed6844f3053e4016a8bcd7284b940b
Deleted: sha256:f4da93adfb043756e9025b573cba155dd59aae1c2999811fa5ef9b1dd8ea9de1
Deleted: sha256:d541ac7e5840464bdb26af742fcf0258f2a11bcde8f7c939b86fc61f6f0e9585
Deleted: sha256:b155076b867d3a8877c16665cd64596539473dfa241da1a5413250d68cf19888
Deleted: sha256:2e97e8f00ff56209bf43bd31fbcb5a092354c73c60d02dabc66105a731994cff
Deleted: sha256:2ad55999df72ee29bbb03b8d47b6c3f3aea0782f2358ab82dd14d44154096747
Deleted: sha256:2249dba0a77595a8ac8105433f36a16a0ce52510fc5d6e1a4303801bcbbd1871
Deleted: sha256:3ad4fc3cbdf75b5d4d431358a98c603d6067a39349a5a1684251961118c3881e
Deleted: sha256:40eb812407e1e7e8b094f2eb5d8a6286ff62782380061b85d768028b96dd825e
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] parallel
[Pipeline] { (Branch: Coverage)
[Pipeline] { (Branch: Coverage (experimental))
[Pipeline] { (Branch: Test Linux)
[Pipeline] stage
[Pipeline] { (Coverage)
[Pipeline] stage
[Pipeline] { (Coverage (experimental))
[Pipeline] stage
[Pipeline] { (Test Linux)
[Pipeline] node
[Pipeline] node
[Pipeline] node
Running on ubuntu-1804-overlay2 (i-0c411af68dce47bd9) in /home/ubuntu/workspace/app_PR-683
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app
[Pipeline] {
Running on ubuntu-1804-overlay2 (i-0bc57f531e1247951) in /home/ubuntu/workspace/app_PR-683
[Pipeline] {
[Pipeline] checkout
using credential docker-jenkins-github-credentials
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app
[Pipeline] {
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Running on ubuntu-1804-overlay2 (i-05e8c29fc5dfcc12a) in /home/ubuntu/workspace/app_PR-683
[Pipeline] checkout
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
using credential docker-jenkins-github-credentials
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app
[Pipeline] {
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
[Pipeline] checkout
using credential docker-jenkins-github-credentials
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/683/head:refs/remotes/origin/PR-683
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/683/head:refs/remotes/origin/PR-683
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/683/head:refs/remotes/origin/PR-683
Fetching without tags
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
Fetching without tags
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/683/head:refs/remotes/origin/PR-683 # timeout=10
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/683/head:refs/remotes/origin/PR-683
Checking out Revision f027f173e543d75f4fdbbcf45cf7102059117d91 (PR-683)
Checking out Revision f027f173e543d75f4fdbbcf45cf7102059117d91 (PR-683)
Fetching without tags
Checking out Revision f027f173e543d75f4fdbbcf45cf7102059117d91 (PR-683)
Commit message: "added app labels to container metadata"
Commit message: "added app labels to container metadata"
Commit message: "added app labels to container metadata"
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/683/head:refs/remotes/origin/PR-683 # timeout=10
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/683/head:refs/remotes/origin/PR-683
 > git config core.sparsecheckout # timeout=10
 > git checkout -f f027f173e543d75f4fdbbcf45cf7102059117d91
 > git config --add remote.origin.fetch +refs/pull/683/head:refs/remotes/origin/PR-683 # timeout=10
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/683/head:refs/remotes/origin/PR-683
 > git config core.sparsecheckout # timeout=10
 > git checkout -f f027f173e543d75f4fdbbcf45cf7102059117d91
 > git config core.sparsecheckout # timeout=10
 > git checkout -f f027f173e543d75f4fdbbcf45cf7102059117d91
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] unstash
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] unstash
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] unstash
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/5/stashes/invocation-image.tgz
[Pipeline] sh
+ docker load -i invocation-image.tar
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/5/stashes/coverage-invocation-image.tgz
[Pipeline] sh
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/5/stashes/coverage-experimental-invocation-image.tgz
[Pipeline] sh
+ docker load -i coverage-invocation-image.tar
Loaded image: docker/cnab-app-base:jenkins-app-PR-683-5
[Pipeline] }
[Pipeline] // dir
[Pipeline] unstash
+ docker load -i coverage-experimental-invocation-image.tar
Loaded image: docker/cnab-app-base:jenkins-app-PR-683-5-coverage
[Pipeline] }
[Pipeline] // dir
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
Loaded image: docker/cnab-app-base:jenkins-app-PR-683-5-coverage-experimental
[Pipeline] }
[Pipeline] // dir
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ make -f docker.Makefile TAG=jenkins-app-PR-683-5-coverage coverage-run
docker build --build-arg EXPERIMENTAL=off --build-arg TAG=jenkins-app-PR-683-5-coverage --build-arg COMMIT=f027f173 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-683-5 .
+ make EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- -f docker.Makefile TAG=jenkins-app-PR-683-5-coverage-experimental coverage-run
docker build --build-arg EXPERIMENTAL=on --build-arg TAG=jenkins-app-PR-683-5-coverage-experimental --build-arg COMMIT=f027f173 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-683-5 .
Sending build context to Docker daemon  75.58MB

Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
 ---> 518d5e4626aa
Step 2/18 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Using cache
 ---> c3bbd843f42f
Step 3/18 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Using cache
 ---> 5d8041ba06f7
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> 2a8426fef7f1
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> 1c5d0d4695b6
Step 6/18 : ARG GOPROXY
 ---> Using cache
 ---> 9ad6e5348fae
Step 7/18 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> c37c6c4088d1
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> 8cc6289ba9e9
Step 9/18 : FROM build AS dev
 ---> 8cc6289ba9e9
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> 3a97ad0456c5
Step 11/18 : ARG DEP_VERSION=v0.5.4
 ---> Using cache
 ---> 34b978dbb252
Step 12/18 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 &&     chmod +x /usr/bin/dep
 ---> Using cache
 ---> b19deb1a46b3
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> dd7b291ff9a7
Step 14/18 : ARG GOPROXY
 ---> Using cache
 ---> 15808e088c1b
Step 15/18 : RUN mkdir $GOPATH/src/gotest.tools &&     git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum &&     cd $GOPATH/src/gotest.tools/gotestsum &&     git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION &&     GO111MODULE=on GOOS=linux   go build -o /usr/local/bin/gotestsum-linux       gotest.tools/gotestsum &&     GO111MODULE=on GOOS=darwin  go build -o /usr/local/bin/gotestsum-darwin      gotest.tools/gotestsum &&     GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum &&     ln -s gotestsum-linux /usr/local/bin/gotestsum
 ---> Using cache
 ---> 928a18178f9c
Step 16/18 : RUN GOOS=linux   go build -o /usr/local/bin/test2json-linux       cmd/test2json &&     GOOS=darwin  go build -o /usr/local/bin/test2json-darwin      cmd/test2json &&     GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json
 ---> Using cache
 ---> 0733696fb87e
Step 17/18 : RUN go get -d gopkg.in/mjibson/esc.v0 &&     cd /go/src/github.com/mjibson/esc &&     go build -v -o /usr/bin/esc . &&     rm -rf /go/src/* /go/pkg/* /go/bin/*
 ---> Using cache
 ---> 1d7d14b50d28
Step 18/18 : COPY . .
Sending build context to Docker daemon  75.58MB

Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
 ---> 518d5e4626aa
Step 2/18 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Running in 24f938730fc6
Removing intermediate container 24f938730fc6
 ---> b8d26a683b37
Step 3/18 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Running in 3054369731bc
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 (369 kB/s)
Selecting previously unselected package uuid-runtime.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 25419 files and directories currently installed.)
Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ...
Unpacking uuid-runtime (2.33.1-0.1) ...
Setting up uuid-runtime (2.33.1-0.1) ...
Adding group `uuidd' (GID 102) ...
Done.
Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory
Adding system user `uuidd' (UID 101) ...
Adding new user `uuidd' (UID 101) with group `uuidd' ...
Not creating home directory `/run/uuidd'.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
 ---> 03f6df38c634
[Warning] One or more build-args [TAG ALPINE_VERSION COMMIT EXPERIMENTAL] were not consumed
Successfully built 03f6df38c634
Successfully tagged docker-app-dev:jenkins-app-PR-683-5
docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-683-5-coverage --network="host" -t docker-app-dev:jenkins-app-PR-683-5 make COMMIT=f027f173 TAG=jenkins-app-PR-683-5-coverage EXPERIMENTAL=off TEST_RESULTS_PREFIX= coverage
Removing intermediate container 3054369731bc
 ---> df0f070ac3e3
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
 ---> Running in 8835ccd90eda
Removing intermediate container 8835ccd90eda
 ---> 1f93f59b1ab3
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Running in ad475054e64e
Cloning into '.'...
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=f027f173 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-5-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T08:23:24Z" -cover -test.coverprofile=_build/cov/unit.out github.com/docker/app github.com/docker/app/cmd/cnab-run github.com/docker/app/cmd/docker-app github.com/docker/app/internal github.com/docker/app/internal/commands github.com/docker/app/internal/commands/build github.com/docker/app/internal/commands/image github.com/docker/app/internal/compose github.com/docker/app/internal/formatter github.com/docker/app/internal/formatter/driver github.com/docker/app/internal/formatter/json github.com/docker/app/internal/formatter/yaml github.com/docker/app/internal/inspect github.com/docker/app/internal/log github.com/docker/app/internal/packager github.com/docker/app/internal/slices github.com/docker/app/internal/store github.com/docker/app/internal/yaml github.com/docker/app/loader github.com/docker/app/render github.com/docker/app/specification github.com/docker/app/types github.com/docker/app/types/metadata github.com/docker/app/types/parameters
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/5/stashes/binaries.tgz
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/examples
[Pipeline] {
[Pipeline] unstash
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/5/stashes/examples.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/e2e
[Pipeline] {
[Pipeline] unstash
∅  .
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/5/stashes/e2e.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ ./gotestsum-linux --format short-verbose --junitfile e2e-linux.xml --raw-command -- ./test2json-linux -t -p e2e/linux ./docker-app-e2e-linux -test.v --e2e-path=e2e
Note: checking out 'a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb'.

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

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

  git checkout -b <new-branch-name>

HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact
Removing intermediate container ad475054e64e
 ---> 9e3eaaeb7ea7
Step 6/18 : ARG GOPROXY
 ---> Running in 5950c688ed43
Removing intermediate container 5950c688ed43
 ---> b0b5de7e9ae1
Step 7/18 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Running in 0e0ed5f6f2be
./scripts/build/osx
Building build/docker-darwin-amd64
PASS e2e/linux.TestBuild (20.85s)
PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (3.10s)
PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (3.07s)
PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (3.08s)
PASS e2e/linux.TestCallCustomStatusAction (9.25s)
PASS e2e/linux.TestCnabParameters (3.01s)
PASS e2e/linux.TestExitErrorCode (0.06s)
PASS e2e/linux.TestRender/envvariables/stdout (1.61s)
PASS e2e/linux.TestRender/envvariables/file (1.37s)
PASS e2e/linux.TestRender/envvariables (2.98s)
PASS e2e/linux.TestRender (2.98s)
PASS e2e/linux.TestRenderFormatters (14.50s)
PASS e2e/linux.TestInit (0.14s)
PASS e2e/linux.TestInspectApp (13.21s)
∅  cmd/cnab-run
∅  cmd/docker-app
✓  internal (3ms)
✓  internal/commands/build (20ms)
✓  internal/commands/image (8ms)
✓  internal/commands (403ms)
✓  internal/formatter (11ms)
✓  internal/compose (10ms)
∅  internal/formatter/driver
∅  internal/formatter/json
∅  internal/formatter/yaml
✓  internal/inspect (84ms)
∅  internal/log
✓  internal/slices (2ms)
✓  internal/packager (38ms)
✓  internal/store (25ms)
✓  internal/yaml (7ms)
✓  loader (12ms)
✓  render (44ms)
✓  specification (8ms)
✓  types (17ms)
✓  types/metadata (7ms)
✓  types/parameters (5ms)

DONE 225 tests in 101.879s
CGO_ENABLED=0 go test -tags=""" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=f027f173 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-5-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T08:23:24Z" -coverpkg="./..." -c -o _build/docker-app.cov ./cmd/docker-app
./scripts/build/windows
Generating windows resources
Building build/docker-windows-amd64
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=f027f173 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-5-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T08:23:24Z" -v ./e2e
PASS e2e/linux.TestDockerAppLifecycle/withBindMounts (28.03s)
PASS e2e/linux.TestDockerAppLifecycle/withoutBindMounts (20.16s)
PASS e2e/linux.TestDockerAppLifecycle (48.19s)
PASS e2e/linux.TestCredentials/missing (0.07s)
PASS e2e/linux.TestCredentials/full (2.17s)
PASS e2e/linux.TestCredentials/mixed-credstore (1.24s)
PASS e2e/linux.TestCredentials/mixed-local-cred (1.26s)
PASS e2e/linux.TestCredentials/overload (0.06s)
PASS e2e/linux.TestCredentials (4.81s)
PASS e2e/linux.TestRenderWithEnvFile (1.61s)
PASS e2e/linux.TestExamplesAreValid (0.18s)
PASS e2e/linux.TestImageList (13.05s)
PASS e2e/linux.TestImageRm (13.89s)
PASS e2e/linux.TestImageTag (14.01s)
PASS e2e/linux.TestInvokePluginFromCLI (0.83s)
WARNING: binary creates a Linux executable. Use cross for macOS or Windows.
./scripts/build/binary
Building statically linked build/docker-linux-amd64
PASS e2e/linux.TestPushArchs/default (3.38s)
PASS e2e/linux.TestPushArchs/all-platforms (1.28s)
PASS e2e/linux.TestPushArchs (15.94s)
PASS e2e/linux.TestPushInsecureRegistry (22.95s)
PASS e2e/linux.TestPushInstall (21.25s)
PASS e2e/linux.TestPushPullInstall (17.05s)
Removing intermediate container 0e0ed5f6f2be
 ---> 85ecbdc7a28c
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
 ---> Running in 41c7955f3132
Removing intermediate container 41c7955f3132
 ---> 5fa6745e061e
Step 9/18 : FROM build AS dev
 ---> 5fa6745e061e
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Running in 9a99e1eb19f1
Removing intermediate container 9a99e1eb19f1
 ---> 19222662a0cf
Step 11/18 : ARG DEP_VERSION=v0.5.4
 ---> Running in a19d7e0a4c9f
Removing intermediate container a19d7e0a4c9f
 ---> fda379b98863
Step 12/18 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 &&     chmod +x /usr/bin/dep
 ---> Running in 7db002476d1c
  % 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   2750      0 --:--:-- --:--:-- --:--:--  2750

100 10.5M  100 10.5M    0     0  30.1M      0 --:--:-- --:--:-- --:--:-- 30.1M
Removing intermediate container 7db002476d1c
 ---> ff228ec3cf7a
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Running in 3c199125ba06
Removing intermediate container 3c199125ba06
 ---> 3957a44c4857
Step 14/18 : ARG GOPROXY
 ---> Running in 4479b2d1e468
Removing intermediate container 4479b2d1e468
 ---> f348c804aa1b
Step 15/18 : RUN mkdir $GOPATH/src/gotest.tools &&     git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum &&     cd $GOPATH/src/gotest.tools/gotestsum &&     git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION &&     GO111MODULE=on GOOS=linux   go build -o /usr/local/bin/gotestsum-linux       gotest.tools/gotestsum &&     GO111MODULE=on GOOS=darwin  go build -o /usr/local/bin/gotestsum-darwin      gotest.tools/gotestsum &&     GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum &&     ln -s gotestsum-linux /usr/local/bin/gotestsum
 ---> Running in 4840b27308cf
go: finding github.com/spf13/pflag v1.0.1
go: finding github.com/mattn/go-colorable v0.0.9
go: finding github.com/pkg/errors v0.8.0
go: finding github.com/fatih/color v1.6.0
go: finding github.com/mattn/go-isatty v0.0.3
go: finding github.com/onsi/gomega v1.4.3
go: finding github.com/jonboulle/clockwork v0.1.0
go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2
go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9
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/crypto v0.0.0-20180426230345-b49d69b5da94
go: finding github.com/google/go-cmp v0.2.0
go: finding github.com/sirupsen/logrus v1.0.5
go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
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 golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding github.com/golang/protobuf v1.2.0
go: finding gotest.tools v2.1.0+incompatible
go: finding github.com/hpcloud/tail v1.0.0
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding github.com/stretchr/testify v1.3.0
go: finding github.com/onsi/ginkgo v1.6.0
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: finding github.com/davecgh/go-spew v1.1.0
go: finding github.com/stretchr/objx v0.1.0
go: finding github.com/pmezard/go-difflib v1.0.0
go: downloading gotest.tools v2.1.0+incompatible
go: extracting gotest.tools v2.1.0+incompatible
go: downloading github.com/pkg/errors v0.8.0
go: downloading github.com/fatih/color v1.6.0
go: downloading github.com/sirupsen/logrus v1.0.5
go: downloading github.com/spf13/pflag v1.0.1
go: downloading github.com/jonboulle/clockwork v0.1.0
go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: extracting github.com/sirupsen/logrus v1.0.5
go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: extracting github.com/jonboulle/clockwork v0.1.0
go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: extracting github.com/pkg/errors v0.8.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-colorable v0.0.9
go: downloading github.com/mattn/go-isatty v0.0.3
go: extracting github.com/mattn/go-isatty v0.0.3
go: extracting github.com/mattn/go-colorable v0.0.9
go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
PASS e2e/linux.TestPushInstallBundle/push-bundle (5.05s)
PASS e2e/linux.TestPushInstallBundle/push-ref (1.12s)
PASS e2e/linux.TestPushInstallBundle/push-bundleref (2.27s)
PASS e2e/linux.TestPushInstallBundle (21.35s)
PASS e2e/linux

DONE 39 tests in 259.173s
time="2019-10-15T08:27:46Z" level=warning msg="failed to lookup go version for junit xml" error="exec: \"go\": executable file not found in $PATH"
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] archiveArtifacts
Archiving artifacts
Uploaded 1 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/5/artifacts/
[Pipeline] junit
Recording test results
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-683-5
Untagged: docker/cnab-app-base:jenkins-app-PR-683-5
[Pipeline] deleteDir
Removing intermediate container 4840b27308cf
 ---> df34009d5b6f
Step 16/18 : RUN GOOS=linux   go build -o /usr/local/bin/test2json-linux       cmd/test2json &&     GOOS=darwin  go build -o /usr/local/bin/test2json-darwin      cmd/test2json &&     GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json
 ---> Running in d8cfd254117d
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Removing intermediate container d8cfd254117d
 ---> 1c55c8277c7d
Step 17/18 : RUN go get -d gopkg.in/mjibson/esc.v0 &&     cd /go/src/github.com/mjibson/esc &&     go build -v -o /usr/bin/esc . &&     rm -rf /go/src/* /go/pkg/* /go/bin/*
 ---> Running in a6aed2f7e01a
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/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 a6aed2f7e01a
 ---> 7218082a1537
Step 18/18 : COPY . .
 ---> dedeaf91c421
[Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed
Successfully built dedeaf91c421
Successfully tagged docker-app-dev:jenkins-app-PR-683-5
docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-683-5-coverage-experimental --network="host" -t docker-app-dev:jenkins-app-PR-683-5 make COMMIT=f027f173 TAG=jenkins-app-PR-683-5-coverage-experimental EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- coverage
Running unit tests (coverage)...
CGO_ENABLED=0 gotestsum --junitfile _build/test-results/experimental-unit-coverage.xml -- -tags="experimental" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=f027f173 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-5-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-15T08:28:04Z" -cover -test.coverprofile=_build/cov/unit.out github.com/docker/app github.com/docker/app/cmd/cnab-run github.com/docker/app/cmd/docker-app github.com/docker/app/internal github.com/docker/app/internal/commands github.com/docker/app/internal/commands/build github.com/docker/app/internal/commands/image github.com/docker/app/internal/compose github.com/docker/app/internal/formatter github.com/docker/app/internal/formatter/driver github.com/docker/app/internal/formatter/json github.com/docker/app/internal/formatter/yaml github.com/docker/app/internal/inspect github.com/docker/app/internal/log github.com/docker/app/internal/packager github.com/docker/app/internal/slices github.com/docker/app/internal/store github.com/docker/app/internal/yaml github.com/docker/app/loader github.com/docker/app/render github.com/docker/app/specification github.com/docker/app/types github.com/docker/app/types/metadata github.com/docker/app/types/parameters
∅  .
✖  e2e (3m52.382s)

=== Failed
=== FAIL: e2e TestDockerAppLifecycle/withBindMounts (15.83s)
    --- FAIL: TestDockerAppLifecycle/withBindMounts (15.83s)
        commands_test.go:422: assertion failed: expression is false: exp.MatchString(combined): expected "\"com.docker.app.version\": \"jenkins-app-PR-683-5-coverage\"" != actual "[\n    {\n        \"ID\": \"whzazknswf4u95mf544v167oa\",\n        \"Version\": {\n            \"Index\": 30\n        },\n        \"CreatedAt\": \"2019-10-15T08:26:30.674813751Z\",\n        \"UpdatedAt\": \"2019-10-15T08:26:30.676003777Z\",\n        \"Spec\": {\n            \"Name\": \"TestDockerAppLifecycle_withBindMounts_db\",\n            \"Labels\": {\n                \"com.docker.stack.image\": \"postgres:9.3\",\n                \"com.docker.stack.namespace\": \"TestDockerAppLifecycle_withBindMounts\"\n            },\n            \"TaskTemplate\": {\n                \"ContainerSpec\": {\n                    \"Image\": \"postgres:9.3@sha256:3cd40afb5803762170a1149ade6962fe24d405b3ccf2fe499ff1428635520a17\",\n                    \"Labels\": {\n                        \"com.docker.app.namespace\": \"TestDockerAppLifecycle_withBindMounts\",\n                        \"com.docker.app.version\": \"jenkins-app-PR-683-5\",\n                        \"com.docker.stack.namespace\": \"TestDockerAppLifecycle_withBindMounts\"\n                    },\n                    \"Privileges\": {\n                        \"CredentialSpec\": null,\n                        \"SELinuxContext\": null\n                    },\n                    \"StopGracePeriod\": 10000000000,\n                    \"DNSConfig\": {},\n                    \"Isolation\": \"default\"\n                },\n                \"Resources\": {},\n                \"RestartPolicy\": {\n                    \"Condition\": \"any\",\n                    \"Delay\": 5000000000,\n                    \"MaxAttempts\": 0\n                },\n                \"Placement\": {\n                    \"Platforms\": [\n                        {\n                            \"Architecture\": \"amd64\",\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"Architecture\": \"arm64\",\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"Architecture\": \"386\",\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"Architecture\": \"ppc64le\",\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"Architecture\": \"s390x\",\n                            \"OS\": \"linux\"\n                        }\n                    ]\n                },\n                \"Networks\": [\n                    {\n                        \"Target\": \"q0s65hwnlz2d4qzt6yykhoam9\",\n                        \"Aliases\": [\n                            \"db\"\n                        ]\n                    }\n                ],\n                \"ForceUpdate\": 0,\n                \"Runtime\": \"container\"\n            },\n            \"Mode\": {\n                \"Replicated\": {\n                    \"Replicas\": 1\n                }\n            },\n            \"UpdateConfig\": {\n                \"Parallelism\": 1,\n                \"FailureAction\": \"pause\",\n                \"Monitor\": 5000000000,\n                \"MaxFailureRatio\": 0,\n                \"Order\": \"stop-first\"\n            },\n            \"RollbackConfig\": {\n                \"Parallelism\": 1,\n                \"FailureAction\": \"pause\",\n                \"Monitor\": 5000000000,\n                \"MaxFailureRatio\": 0,\n                \"Order\": \"stop-first\"\n            },\n            \"EndpointSpec\": {\n                \"Mode\": \"vip\"\n            }\n        },\n        \"Endpoint\": {\n            \"Spec\": {\n                \"Mode\": \"vip\"\n            },\n            \"VirtualIPs\": [\n                {\n                    \"NetworkID\": \"q0s65hwnlz2d4qzt6yykhoam9\",\n                    \"Addr\": \"10.0.0.5/24\"\n                }\n            ]\n        }\n    }\n]\n"

=== FAIL: e2e TestDockerAppLifecycle/withoutBindMounts (11.76s)
    --- FAIL: TestDockerAppLifecycle/withoutBindMounts (11.76s)
        commands_test.go:422: assertion failed: expression is false: exp.MatchString(combined): expected "\"com.docker.app.version\": \"jenkins-app-PR-683-5-coverage\"" != actual "[\n    {\n        \"ID\": \"hymzhi2i7qkytno6t7jvo31z4\",\n        \"Version\": {\n            \"Index\": 17\n        },\n        \"CreatedAt\": \"2019-10-15T08:26:42.066594395Z\",\n        \"UpdatedAt\": \"2019-10-15T08:26:42.0690952Z\",\n        \"Spec\": {\n            \"Name\": \"TestDockerAppLifecycle_withoutBindMounts_db\",\n            \"Labels\": {\n                \"com.docker.stack.image\": \"postgres:9.3\",\n                \"com.docker.stack.namespace\": \"TestDockerAppLifecycle_withoutBindMounts\"\n            },\n            \"TaskTemplate\": {\n                \"ContainerSpec\": {\n                    \"Image\": \"postgres:9.3@sha256:3cd40afb5803762170a1149ade6962fe24d405b3ccf2fe499ff1428635520a17\",\n                    \"Labels\": {\n                        \"com.docker.app.namespace\": \"TestDockerAppLifecycle_withoutBindMounts\",\n                        \"com.docker.app.version\": \"jenkins-app-PR-683-5\",\n                        \"com.docker.stack.namespace\": \"TestDockerAppLifecycle_withoutBindMounts\"\n                    },\n                    \"Privileges\": {\n                        \"CredentialSpec\": null,\n                        \"SELinuxContext\": null\n                    },\n                    \"StopGracePeriod\": 10000000000,\n                    \"DNSConfig\": {},\n                    \"Isolation\": \"default\"\n                },\n                \"Resources\": {},\n                \"RestartPolicy\": {\n                    \"Condition\": \"any\",\n                    \"Delay\": 5000000000,\n                    \"MaxAttempts\": 0\n                },\n                \"Placement\": {\n                    \"Platforms\": [\n                        {\n                            \"Architecture\": \"amd64\",\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"Architecture\": \"arm64\",\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"Architecture\": \"386\",\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"Architecture\": \"ppc64le\",\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"Architecture\": \"s390x\",\n                            \"OS\": \"linux\"\n                        }\n                    ]\n                },\n                \"Networks\": [\n                    {\n                        \"Target\": \"lgxaiaxcekey48vk0myv50yt3\",\n                        \"Aliases\": [\n                            \"db\"\n                        ]\n                    }\n                ],\n                \"ForceUpdate\": 0,\n                \"Runtime\": \"container\"\n            },\n            \"Mode\": {\n                \"Replicated\": {\n                    \"Replicas\": 1\n                }\n            },\n            \"UpdateConfig\": {\n                \"Parallelism\": 1,\n                \"FailureAction\": \"pause\",\n                \"Monitor\": 5000000000,\n                \"MaxFailureRatio\": 0,\n                \"Order\": \"stop-first\"\n            },\n            \"RollbackConfig\": {\n                \"Parallelism\": 1,\n                \"FailureAction\": \"pause\",\n                \"Monitor\": 5000000000,\n                \"MaxFailureRatio\": 0,\n                \"Order\": \"stop-first\"\n            },\n            \"EndpointSpec\": {\n                \"Mode\": \"vip\"\n            }\n        },\n        \"Endpoint\": {\n            \"Spec\": {\n                \"Mode\": \"vip\"\n            },\n            \"VirtualIPs\": [\n                {\n                    \"NetworkID\": \"lgxaiaxcekey48vk0myv50yt3\",\n                    \"Addr\": \"10.0.1.2/24\"\n                }\n            ]\n        }\n    }\n]\n"

=== FAIL: e2e TestDockerAppLifecycle (27.59s)


DONE 39 tests, 3 failures in 233.718s
make: *** [Makefile:102: coverage-test-e2e] Error 1
docker.Makefile:100: recipe for target 'coverage-run' failed
make: *** [coverage-run] Error 2
+ true
[Pipeline] sh
+ make -f docker.Makefile TAG=jenkins-app-PR-683-5-coverage coverage-results
docker cp docker-app-cov-jenkins-app-PR-683-5-coverage:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov
docker cp docker-app-cov-jenkins-app-PR-683-5-coverage:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results
docker rm docker-app-cov-jenkins-app-PR-683-5-coverage
docker-app-cov-jenkins-app-PR-683-5-coverage
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] archiveArtifacts
Archiving artifacts
‘_build/ci-cov/all.out’ doesn’t match anything: ‘_build’ exists but not ‘_build/ci-cov/all.out’
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/_build/test-results
[Pipeline] {
[Pipeline] sh
+ [ ! -e unit-coverage.xml ]
+ sed -i -E -e s,"github.com/docker/app","unit/basic",g; s,"github.com/docker/app/([^"]*)","unit/basic/\1",g unit-coverage.xml
[Pipeline] sh
+ [ ! -e e2e-coverage.xml ]
+ sed -i -E -e s,"github.com/docker/app/e2e","e2e/basic",g e2e-coverage.xml
[Pipeline] archiveArtifacts
Archiving artifacts
Uploaded 2 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/5/artifacts/
[Pipeline] junit
Recording test results
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-683-5-coverage
Untagged: docker/cnab-app-base:jenkins-app-PR-683-5-coverage
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Coverage
∅  cmd/cnab-run
∅  cmd/docker-app
✓  internal (3ms)
✓  internal/commands/build (17ms)
✓  internal/commands (383ms)
✓  internal/commands/image (11ms)
✓  internal/formatter (4ms)
✓  internal/compose (5ms)
∅  internal/formatter/driver
∅  internal/formatter/json
∅  internal/formatter/yaml
✓  internal/inspect (83ms)
∅  internal/log
✓  internal/slices (8ms)
✓  internal/packager (27ms)
✓  internal/store (24ms)
✓  internal/yaml (9ms)
✓  loader (10ms)
✓  render (54ms)
✓  specification (8ms)
✓  types (19ms)
✓  types/metadata (18ms)
✓  types/parameters (4ms)

DONE 225 tests in 102.847s
CGO_ENABLED=0 go test -tags=""experimental" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=f027f173 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-5-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-15T08:28:04Z" -coverpkg="./..." -c -o _build/docker-app.cov ./cmd/docker-app
Running e2e tests (coverage)...
DOCKERAPP_BINARY=../e2e/coverage-bin CGO_ENABLED=0 gotestsum --junitfile _build/test-results/experimental-e2e-coverage.xml -- -tags="experimental" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=f027f173 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-5-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-15T08:28:04Z" -v ./e2e
✖  e2e (3m50.092s)

=== Failed
=== FAIL: e2e TestDockerAppLifecycle/withBindMounts (15.60s)
    --- FAIL: TestDockerAppLifecycle/withBindMounts (15.60s)
        commands_test.go:422: assertion failed: expression is false: exp.MatchString(combined): expected "\"com.docker.app.version\": \"jenkins-app-PR-683-5-coverage-experimental\"" != actual "[\n    {\n        \"ID\": \"kqkmmtdpkvyk4yiiu4vg985u6\",\n        \"Version\": {\n            \"Index\": 16\n        },\n        \"CreatedAt\": \"2019-10-15T08:31:09.802085319Z\",\n        \"UpdatedAt\": \"2019-10-15T08:31:09.803918953Z\",\n        \"Spec\": {\n            \"Name\": \"TestDockerAppLifecycle_withBindMounts_db\",\n            \"Labels\": {\n                \"com.docker.stack.image\": \"postgres:9.3\",\n                \"com.docker.stack.namespace\": \"TestDockerAppLifecycle_withBindMounts\"\n            },\n            \"TaskTemplate\": {\n                \"ContainerSpec\": {\n                    \"Image\": \"postgres:9.3@sha256:3cd40afb5803762170a1149ade6962fe24d405b3ccf2fe499ff1428635520a17\",\n                    \"Labels\": {\n                        \"com.docker.app.namespace\": \"TestDockerAppLifecycle_withBindMounts\",\n                        \"com.docker.app.version\": \"jenkins-app-PR-683-5\",\n                        \"com.docker.stack.namespace\": \"TestDockerAppLifecycle_withBindMounts\"\n                    },\n                    \"Privileges\": {\n                        \"CredentialSpec\": null,\n                        \"SELinuxContext\": null\n                    },\n                    \"StopGracePeriod\": 10000000000,\n                    \"DNSConfig\": {},\n                    \"Isolation\": \"default\"\n                },\n                \"Resources\": {},\n                \"RestartPolicy\": {\n                    \"Condition\": \"any\",\n                    \"Delay\": 5000000000,\n                    \"MaxAttempts\": 0\n                },\n                \"Placement\": {\n                    \"Platforms\": [\n                        {\n                            \"Architecture\": \"amd64\",\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"Architecture\": \"arm64\",\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"Architecture\": \"386\",\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"Architecture\": \"ppc64le\",\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"Architecture\": \"s390x\",\n                            \"OS\": \"linux\"\n                        }\n                    ]\n                },\n                \"Networks\": [\n                    {\n                        \"Target\": \"q19q7025x7qwpq111ew3q6t41\",\n                        \"Aliases\": [\n                            \"db\"\n                        ]\n                    }\n                ],\n                \"ForceUpdate\": 0,\n                \"Runtime\": \"container\"\n            },\n            \"Mode\": {\n                \"Replicated\": {\n                    \"Replicas\": 1\n                }\n            },\n            \"UpdateConfig\": {\n                \"Parallelism\": 1,\n                \"FailureAction\": \"pause\",\n                \"Monitor\": 5000000000,\n                \"MaxFailureRatio\": 0,\n                \"Order\": \"stop-first\"\n            },\n            \"RollbackConfig\": {\n                \"Parallelism\": 1,\n                \"FailureAction\": \"pause\",\n                \"Monitor\": 5000000000,\n                \"MaxFailureRatio\": 0,\n                \"Order\": \"stop-first\"\n            },\n            \"EndpointSpec\": {\n                \"Mode\": \"vip\"\n            }\n        },\n        \"Endpoint\": {\n            \"Spec\": {\n                \"Mode\": \"vip\"\n            },\n            \"VirtualIPs\": [\n                {\n                    \"NetworkID\": \"q19q7025x7qwpq111ew3q6t41\",\n                    \"Addr\": \"10.0.0.2/24\"\n                }\n            ]\n        }\n    }\n]\n"

=== FAIL: e2e TestDockerAppLifecycle/withoutBindMounts (11.90s)
    --- FAIL: TestDockerAppLifecycle/withoutBindMounts (11.90s)
        commands_test.go:422: assertion failed: expression is false: exp.MatchString(combined): expected "\"com.docker.app.version\": \"jenkins-app-PR-683-5-coverage-experimental\"" != actual "[\n    {\n        \"ID\": \"tmfwt8071xx3slr6lfm8s4ugo\",\n        \"Version\": {\n            \"Index\": 30\n        },\n        \"CreatedAt\": \"2019-10-15T08:31:22.376823647Z\",\n        \"UpdatedAt\": \"2019-10-15T08:31:22.381197563Z\",\n        \"Spec\": {\n            \"Name\": \"TestDockerAppLifecycle_withoutBindMounts_db\",\n            \"Labels\": {\n                \"com.docker.stack.image\": \"postgres:9.3\",\n                \"com.docker.stack.namespace\": \"TestDockerAppLifecycle_withoutBindMounts\"\n            },\n            \"TaskTemplate\": {\n                \"ContainerSpec\": {\n                    \"Image\": \"postgres:9.3@sha256:3cd40afb5803762170a1149ade6962fe24d405b3ccf2fe499ff1428635520a17\",\n                    \"Labels\": {\n                        \"com.docker.app.namespace\": \"TestDockerAppLifecycle_withoutBindMounts\",\n                        \"com.docker.app.version\": \"jenkins-app-PR-683-5\",\n                        \"com.docker.stack.namespace\": \"TestDockerAppLifecycle_withoutBindMounts\"\n                    },\n                    \"Privileges\": {\n                        \"CredentialSpec\": null,\n                        \"SELinuxContext\": null\n                    },\n                    \"StopGracePeriod\": 10000000000,\n                    \"DNSConfig\": {},\n                    \"Isolation\": \"default\"\n                },\n                \"Resources\": {},\n                \"RestartPolicy\": {\n                    \"Condition\": \"any\",\n                    \"Delay\": 5000000000,\n                    \"MaxAttempts\": 0\n                },\n                \"Placement\": {\n                    \"Platforms\": [\n                        {\n                            \"Architecture\": \"amd64\",\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"Architecture\": \"arm64\",\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"Architecture\": \"386\",\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"Architecture\": \"ppc64le\",\n                            \"OS\": \"linux\"\n                        },\n                        {\n                            \"Architecture\": \"s390x\",\n                            \"OS\": \"linux\"\n                        }\n                    ]\n                },\n                \"Networks\": [\n                    {\n                        \"Target\": \"kpsmn9sfc8rpz5xsv2vivvx59\",\n                        \"Aliases\": [\n                            \"db\"\n                        ]\n                    }\n                ],\n                \"ForceUpdate\": 0,\n                \"Runtime\": \"container\"\n            },\n            \"Mode\": {\n                \"Replicated\": {\n                    \"Replicas\": 1\n                }\n            },\n            \"UpdateConfig\": {\n                \"Parallelism\": 1,\n                \"FailureAction\": \"pause\",\n                \"Monitor\": 5000000000,\n                \"MaxFailureRatio\": 0,\n                \"Order\": \"stop-first\"\n            },\n            \"RollbackConfig\": {\n                \"Parallelism\": 1,\n                \"FailureAction\": \"pause\",\n                \"Monitor\": 5000000000,\n                \"MaxFailureRatio\": 0,\n                \"Order\": \"stop-first\"\n            },\n            \"EndpointSpec\": {\n                \"Mode\": \"vip\"\n            }\n        },\n        \"Endpoint\": {\n            \"Spec\": {\n                \"Mode\": \"vip\"\n            },\n            \"VirtualIPs\": [\n                {\n                    \"NetworkID\": \"kpsmn9sfc8rpz5xsv2vivvx59\",\n                    \"Addr\": \"10.0.1.5/24\"\n                }\n            ]\n        }\n    }\n]\n"

=== FAIL: e2e TestDockerAppLifecycle (27.50s)


DONE 39 tests, 3 failures in 231.447s
make: *** [Makefile:102: coverage-test-e2e] Error 1
docker.Makefile:100: recipe for target 'coverage-run' failed
make: *** [coverage-run] Error 2
+ true
[Pipeline] sh
+ make EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- -f docker.Makefile TAG=jenkins-app-PR-683-5-coverage-experimental coverage-results
docker cp docker-app-cov-jenkins-app-PR-683-5-coverage-experimental:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov
docker cp docker-app-cov-jenkins-app-PR-683-5-coverage-experimental:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results
docker rm docker-app-cov-jenkins-app-PR-683-5-coverage-experimental
docker-app-cov-jenkins-app-PR-683-5-coverage-experimental
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/_build/test-results
[Pipeline] {
[Pipeline] sh
+ [ ! -e experimental-unit-coverage.xml ]
+ sed -i -E -e s,"github.com/docker/app","unit/experimental",g; s,"github.com/docker/app/([^"]*)","unit/experimental/\1",g experimental-unit-coverage.xml
[Pipeline] sh
+ [ ! -e experimental-e2e-coverage.xml ]
+ sed -i -E -e s,"github.com/docker/app/e2e","e2e/experimental",g experimental-e2e-coverage.xml
[Pipeline] archiveArtifacts
Archiving artifacts
Uploaded 2 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/5/artifacts/
[Pipeline] junit
Recording test results
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-683-5-coverage-experimental
Untagged: docker/cnab-app-base:jenkins-app-PR-683-5-coverage-experimental
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

ERROR: No artifacts found that match the file pattern "_build/ci-cov/all.out". Configuration error?
Finished: FAILURE