Skip to content
Failed

Console Output

Skipping 31 KB.. Full Log
+ make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-683-6-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag
docker tag docker/cnab-app-base:jenkins-app-PR-683-6 docker/cnab-app-base:jenkins-app-PR-683-6-coverage
docker save docker/cnab-app-base:jenkins-app-PR-683-6-coverage -o _build/coverage-invocation-image.tar
[Pipeline] sh
+ make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-683-6-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag
docker tag docker/cnab-app-base:jenkins-app-PR-683-6 docker/cnab-app-base:jenkins-app-PR-683-6-coverage-experimental
docker save docker/cnab-app-base:jenkins-app-PR-683-6-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
 ---> Running in 6fc836f59fce
Removing intermediate container 6fc836f59fce
 ---> f9c536f6a9e4
Step 3/18 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Running in c35973aaf5c1
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.
Removing intermediate container c35973aaf5c1
 ---> 6cb7afe83193
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
 ---> Running in 705738f69d38
Removing intermediate container 705738f69d38
 ---> 09ed05167d2e
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Running in a6586212f348
Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/6/stashes/invocation-image.tgz
[Pipeline] stash
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
Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/6/stashes/coverage-invocation-image.tgz
[Pipeline] stash
Removing intermediate container a6586212f348
 ---> bcb6939952fd
Step 6/18 : ARG GOPROXY
 ---> Running in 9739b87ce55c
Removing intermediate container 9739b87ce55c
 ---> 0c9e49e3c15b
Step 7/18 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Running in c400fa0da068
./scripts/build/osx
Building build/docker-darwin-amd64
Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/6/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-6
Untagged: docker/cnab-app-base:jenkins-app-PR-683-6
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-683-6-coverage
Untagged: docker/cnab-app-base:jenkins-app-PR-683-6-coverage
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-683-6-coverage-experimental
Untagged: docker/cnab-app-base:jenkins-app-PR-683-6-coverage-experimental
Deleted: sha256:0b44b4f2915800dd83486a388c40f00a330063fb3456564406273aab1485ac51
Deleted: sha256:6e70248096369477e5714796ccb2942c3608f292cbca6f94ca8925618829c9de
Deleted: sha256:029ac4655de08264dac91425185beaed84116d43c798d3737934322cbe193d47
Deleted: sha256:7da2edf85db84a743ce666fd41ba3f61a65c304b1557e0144faea69a6ad0d2ae
Deleted: sha256:e647ca821a1c7e841cfabad90bca7b9b2cbeb6c973a1cca4da13c6a4170fa4fa
Deleted: sha256:bc101d6b3551e567c65121abcd12804ef286c1581fc974268ca14cf65f9a4f7a
Deleted: sha256:aed25fce37f7e8bdd428977f55bfd1fd3a38e9abed44540f20a4b56b093a91c9
[Pipeline] }
[Pipeline] // dir
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
./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
./scripts/build/windows
Generating windows resources
Building build/docker-windows-amd64
Removing intermediate container 0c171de8b5b7
 ---> 685f316d213b
Step 8/8 : WORKDIR /go/src/github.com/docker/app/
 ---> Running in 68e9bd1b21ae
Removing intermediate container 68e9bd1b21ae
 ---> fc9fd36c375d
[Warning] One or more build-args [TAG ALPINE_VERSION COMMIT EXPERIMENTAL] were not consumed
Successfully built fc9fd36c375d
Successfully tagged docker-app-cli:jenkins-app-PR-683-6
docker create --name docker-app-cli-jenkins-app-PR-683-6 docker-app-cli:jenkins-app-PR-683-6 noop
6214bb7788ca0853e0e6bcae5d674c66090aa1bee6d93e5642ef095d54b19a89
docker cp docker-app-cli-jenkins-app-PR-683-6:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux
docker cp docker-app-cli-jenkins-app-PR-683-6:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin
docker cp docker-app-cli-jenkins-app-PR-683-6:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe
docker rm docker-app-cli-jenkins-app-PR-683-6
docker-app-cli-jenkins-app-PR-683-6
docker build --build-arg EXPERIMENTAL=off --build-arg TAG=jenkins-app-PR-683-6 --build-arg COMMIT=df1bde76 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=cross -t docker-app-cross:jenkins-app-PR-683-6  .
Sending build context to Docker daemon  76.09MB

Step 1/22 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
 ---> 518d5e4626aa
Step 2/22 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Using cache
 ---> 36f4c2cbf738
Step 3/22 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Using cache
 ---> bf8b6cb95bd9
Step 4/22 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> d13badc776fe
Step 5/22 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> 595655717958
Step 6/22 : ARG GOPROXY
 ---> Using cache
 ---> 1b19cbe2d986
Step 7/22 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> 685f316d213b
Step 8/22 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> fc9fd36c375d
Step 9/22 : FROM build AS dev
 ---> fc9fd36c375d
Step 10/22 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Running in 3ddb71957e54
Removing intermediate container 3ddb71957e54
 ---> 5c9108d07522
Step 11/22 : ARG DEP_VERSION=v0.5.4
 ---> Running in d3b6df285291
Removing intermediate container d3b6df285291
 ---> 49461f1efb6e
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 f3e2613cae1e
  % 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   7117      0 --:--:-- --:--:-- --:--:--  7117

 44 10.5M   44 4844k    0     0  33.0M      0 --:--:-- --:--:-- --:--:-- 33.0M
100 10.5M  100 10.5M    0     0  51.8M      0 --:--:-- --:--:-- --:--:-- 97.2M
Removing intermediate container f3e2613cae1e
 ---> 694a3ebdb2d7
Step 13/22 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Running in fc23e68ea728
Removing intermediate container fc23e68ea728
 ---> 8963fe699feb
Step 14/22 : ARG GOPROXY
 ---> Running in 11f8dbd286ff
Removing intermediate container 11f8dbd286ff
 ---> 9c99ab6c5e89
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 39898a3839b3
go: finding github.com/mattn/go-isatty v0.0.3
go: finding github.com/sirupsen/logrus v1.0.5
go: finding github.com/fatih/color v1.6.0
go: finding github.com/pkg/errors v0.8.0
go: finding github.com/google/go-cmp v0.2.0
go: finding github.com/onsi/gomega v1.4.3
go: finding github.com/onsi/ginkgo v1.8.0
go: finding github.com/mattn/go-colorable v0.0.9
go: finding github.com/jonboulle/clockwork v0.1.0
go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2
go: finding github.com/stretchr/testify v1.3.0
go: finding github.com/spf13/pflag v1.0.1
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9
go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: finding gotest.tools v2.1.0+incompatible
go: finding github.com/hpcloud/tail v1.0.0
go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding golang.org/x/text v0.3.0
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding github.com/onsi/ginkgo v1.6.0
go: finding github.com/stretchr/objx v0.1.0
go: finding github.com/davecgh/go-spew v1.1.0
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: finding github.com/golang/protobuf v1.2.0
go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
WARNING: binary creates a Linux executable. Use cross for macOS or Windows.
./scripts/build/binary
Building statically linked build/docker-linux-amd64
go: downloading gotest.tools v2.1.0+incompatible
go: extracting gotest.tools v2.1.0+incompatible
go: downloading github.com/spf13/pflag v1.0.1
go: downloading github.com/fatih/color v1.6.0
go: downloading github.com/sirupsen/logrus v1.0.5
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 golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: extracting github.com/pkg/errors v0.8.0
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: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: extracting github.com/spf13/pflag v1.0.1
go: extracting github.com/fatih/color v1.6.0
go: downloading github.com/mattn/go-isatty v0.0.3
go: downloading github.com/mattn/go-colorable v0.0.9
go: extracting github.com/mattn/go-colorable v0.0.9
go: extracting github.com/mattn/go-isatty v0.0.3
go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
Removing intermediate container 39898a3839b3
 ---> 142bb9f67016
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 5c4228e356a0
Removing intermediate container 5c4228e356a0
 ---> 27dd10bcfbde
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 e9be51ff235f
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 e9be51ff235f
 ---> 478bdbf86b0a
Step 18/22 : COPY . .
 ---> f2416df79770
Step 19/22 : FROM dev AS cross
 ---> f2416df79770
Step 20/22 : ARG EXPERIMENTAL="off"
 ---> Running in c3a4118e2c57
Removing intermediate container c3a4118e2c57
 ---> 1e7a7ad8831d
Step 21/22 : ARG TAG="unknown"
 ---> Running in f06c7ad8444f
Removing intermediate container f06c7ad8444f
 ---> 5293c629582a
Step 22/22 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross
 ---> Running in 3c2c9358bc76
GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=df1bde76 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-6 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T09:03:48Z" -o bin/docker-app-linux ./cmd/docker-app
Removing intermediate container c400fa0da068
 ---> b9c675356765
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
 ---> Running in 4a73c93f17e5
Removing intermediate container 4a73c93f17e5
 ---> c49c6d2ecd0f
Step 9/18 : FROM build AS dev
 ---> c49c6d2ecd0f
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Running in 029679d86ae6
Removing intermediate container 029679d86ae6
 ---> a0dd39090ea9
Step 11/18 : ARG DEP_VERSION=v0.5.4
 ---> Running in c7e028ce01ea
Removing intermediate container c7e028ce01ea
 ---> 807e17676d93
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 5fe83bea9bb5
  % 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   8066      0 --:--:-- --:--:-- --:--:--  8066

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

Step 1/26 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
 ---> 518d5e4626aa
Step 2/26 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Using cache
 ---> 36f4c2cbf738
Step 3/26 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Using cache
 ---> bf8b6cb95bd9
Step 4/26 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> d13badc776fe
Step 5/26 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> 595655717958
Step 6/26 : ARG GOPROXY
 ---> Using cache
 ---> 1b19cbe2d986
Step 7/26 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> 685f316d213b
Step 8/26 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> fc9fd36c375d
Step 9/26 : FROM build AS dev
 ---> fc9fd36c375d
Step 10/26 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> 5c9108d07522
Step 11/26 : ARG DEP_VERSION=v0.5.4
 ---> Using cache
 ---> 49461f1efb6e
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
 ---> 694a3ebdb2d7
Step 13/26 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> 8963fe699feb
Step 14/26 : ARG GOPROXY
 ---> Using cache
 ---> 9c99ab6c5e89
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
 ---> 142bb9f67016
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
 ---> 27dd10bcfbde
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
 ---> 478bdbf86b0a
Step 18/26 : COPY . .
 ---> Using cache
 ---> f2416df79770
Step 19/26 : FROM dev AS cross
 ---> f2416df79770
Step 20/26 : ARG EXPERIMENTAL="off"
 ---> Using cache
 ---> 1e7a7ad8831d
Step 21/26 : ARG TAG="unknown"
 ---> Using cache
 ---> 5293c629582a
Step 22/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross
 ---> Using cache
 ---> d0fe663d45bf
Step 23/26 : FROM cross AS e2e-cross
 ---> d0fe663d45bf
Step 24/26 : ARG EXPERIMENTAL="off"
 ---> Running in 9a761accc2d0
Removing intermediate container 9a761accc2d0
 ---> 83ae1d1647de
Step 25/26 : ARG TAG="unknown"
 ---> Running in df52277ffff7
Removing intermediate container df52277ffff7
 ---> d70c76bd9eda
Step 26/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} e2e-cross
 ---> Running in f1e06bfb8ee6
GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=df1bde76 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-6 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T09:06:40Z" -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=df1bde76 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-6 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T09:06:40Z" -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=df1bde76 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-6 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T09:06:40Z" -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=df1bde76 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-6 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T09:06:40Z" -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=df1bde76 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-6 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T09:06:40Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/
Removing intermediate container f1e06bfb8ee6
 ---> 8ff722dc1fd4
[Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed
Successfully built 8ff722dc1fd4
Successfully tagged docker-app-e2e-cross:jenkins-app-PR-683-6
docker create --name docker-app-e2e-cross-jenkins-app-PR-683-6 docker-app-e2e-cross:jenkins-app-PR-683-6 noop
6b9a312f551e7451020410b7c3a3802644362d9891b308ddfa3e04adecd74f1c
docker cp docker-app-e2e-cross-jenkins-app-PR-683-6:/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-6:/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-6:/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-6:/usr/local/bin/gotestsum-linux bin/gotestsum-linux
docker cp docker-app-e2e-cross-jenkins-app-PR-683-6:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin
docker cp docker-app-e2e-cross-jenkins-app-PR-683-6:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe
docker cp docker-app-e2e-cross-jenkins-app-PR-683-6:/usr/local/bin/test2json-linux bin/test2json-linux
docker cp docker-app-e2e-cross-jenkins-app-PR-683-6:/usr/local/bin/test2json-darwin bin/test2json-darwin
docker cp docker-app-e2e-cross-jenkins-app-PR-683-6:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe
docker rm docker-app-e2e-cross-jenkins-app-PR-683-6
docker-app-e2e-cross-jenkins-app-PR-683-6
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/6/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/6/stashes/e2e.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/examples
[Pipeline] {
[Pipeline] stash
Stashed 48 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/6/stashes/examples.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-683-6*
+ xargs docker image rm -f
Untagged: docker-app-e2e-cross:jenkins-app-PR-683-6
Deleted: sha256:8ff722dc1fd42e6f86c849cec608e3345eff5683e19ae4fe5bbff0c0bf3a37e9
Deleted: sha256:f74cc1aecd900b19d44813bf1091fce8afcde92c585aae291dc3a25a5888b8c7
Deleted: sha256:d70c76bd9edae47a3fc1759a4c9dd4f735dcadf8c5945f91cb7ef9af86b38dee
Deleted: sha256:83ae1d1647de9608a784efaee73db729da9547a13e4b5651d0182172c074fd72
Untagged: docker-app-cross:jenkins-app-PR-683-6
Deleted: sha256:d0fe663d45bfc09a85c79f5142e5d222f9c8576a194415281b0596516b56688d
Deleted: sha256:af1501f1fddc5fdc9c243bb231b3d2b590f3739abd3e406dbea6993e6cd9e55f
Deleted: sha256:5293c629582a61f0bbe7fd7847248add52897a0d9f436b2e83d7eccc164ebb27
Deleted: sha256:1e7a7ad8831d22a6688084ed7b7ddb9b1a2c861af03425c8364cbff5309a4e34
Deleted: sha256:f2416df797705a6c1528108bf512d8474473c67fdebc99794d35d970d20c0351
Deleted: sha256:071751af6bf42020b93e91d17e9e285f25c3dc5f5b1b9a64a7c60751190dc1f4
Deleted: sha256:478bdbf86b0a53379101db905cf2fe5045191e94be7875735956472c49f13a8a
Deleted: sha256:76eca308c07d1231cd7d9f490329d8a5faaf5e09976c0c3e40a6fdf0fe6ac468
Deleted: sha256:27dd10bcfbde7f6530b3f1978833ea385f80b3186a699df083a4b4083eed2630
Deleted: sha256:a8b86d5c52ea46084973e48c177d88fa88205c0ca30e2dbe6e8387cd8ee41eab
Deleted: sha256:142bb9f67016c051304eb5188e0a44b0a28e39ee157d63559e05f384aade9848
Deleted: sha256:501cee5287dfe2c1ef3c9ac8f80be11b563c3f36f10cd593b1525c3f152c9e4e
Deleted: sha256:9c99ab6c5e890f6102902651968ce5e64b806447f725f89c5bec7d15c8f28f0d
Deleted: sha256:8963fe699febbbedea287d04f3b1d85a756a396d67c0f9709a8cc63b4c8223ca
Deleted: sha256:694a3ebdb2d7157dc35470b4e3ebe30903db41cdc3887e4bd51f3f4fbeffd6cf
Deleted: sha256:53e3c030273aa48ffda65427cae41687121b639a9f3cfd6335ba55c19f111c74
Deleted: sha256:49461f1efb6ef57bdad17e09e293e22142461a19d27b06dfe78b42dd75444f8c
Deleted: sha256:5c9108d07522743f715ccba75f7f77f5ab2c05278f8e0e21af6da4f94bf3b3ee
Untagged: docker-app-cli:jenkins-app-PR-683-6
Deleted: sha256:fc9fd36c375dcab19650193d82228ee2a10e91f28b7b815899712ec0b1843ad6
Deleted: sha256:9dd1cebb7a724373a9072c1e7257bc212b4ddf1a00d058d5775aa3cdec5c9456
Deleted: sha256:685f316d213b167cf17b15f58e381514c26ab7bfab26c2387d41797ae0f2b39d
Deleted: sha256:25a3e4b22069a29f0a357bde44d8f2aafea80ee739137d92b2f0791c0d628c29
Deleted: sha256:1b19cbe2d986b961c9951e8fc6991831254902e38efaaefe8aefceb6ecfcb2f9
Deleted: sha256:59565571795872f7151f892fbc64f4bb312303860b2a41d6ae43633eb4d49cbe
Deleted: sha256:ce9599e1de2574ac2f85fddd8790a354fb86c7c1f37bb0e94990fd34255073a3
Deleted: sha256:d13badc776fe08e7d18321597b05ce853c4707a4d618532e2b4e9a0500181fac
Deleted: sha256:ecfac0d35a5be5eff8217e723e3d40fb25b6f784e7677ec4dd4030e468bcd303
Deleted: sha256:bf8b6cb95bd9546c6105310048d240e03be2aa8db9deba496e7543030969b031
Deleted: sha256:a22557b2d4ce7ee72dbe98087a1355ef6f0b432c1bb632c7a6d5b570f3d8e857
Deleted: sha256:36f4c2cbf73832271be104fc6773304ad5aa2436a14d1a2227fb75c748d253cc
[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-05e8c29fc5dfcc12a) in /home/ubuntu/workspace/app_PR-683
Running on ubuntu-1804-overlay2 (i-097df3271eebf2f6a) in /home/ubuntu/workspace/app_PR-683
[Pipeline] {
[Pipeline] {
Running on ubuntu-1804-overlay2 (i-08626a84a6efa402a) in /home/ubuntu/workspace/app_PR-683
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app
[Pipeline] {
[Pipeline] checkout
[Pipeline] checkout
using credential docker-jenkins-github-credentials
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app
[Pipeline] {
[Pipeline] checkout
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
using credential docker-jenkins-github-credentials
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
using credential docker-jenkins-github-credentials
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/683/head:refs/remotes/origin/PR-683
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/683/head:refs/remotes/origin/PR-683
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/683/head:refs/remotes/origin/PR-683
Fetching without tags
Checking out Revision df1bde76cb4aa97117d5c34eb1d96069a63be4d1 (PR-683)
Fetching without tags
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/683/head:refs/remotes/origin/PR-683 # timeout=10
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/683/head:refs/remotes/origin/PR-683
 > git config 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 df1bde76cb4aa97117d5c34eb1d96069a63be4d1
Fetching without tags
Checking out Revision df1bde76cb4aa97117d5c34eb1d96069a63be4d1 (PR-683)
Commit message: "added app labels to container metadata"
Checking out Revision df1bde76cb4aa97117d5c34eb1d96069a63be4d1 (PR-683)
Commit message: "added app labels to container metadata"
Commit message: "added app labels to container metadata"
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] unstash
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] unstash
 > git config core.sparsecheckout # timeout=10
 > git checkout -f df1bde76cb4aa97117d5c34eb1d96069a63be4d1
 > 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 df1bde76cb4aa97117d5c34eb1d96069a63be4d1
[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/6/stashes/coverage-invocation-image.tgz
[Pipeline] sh
+ docker load -i coverage-invocation-image.tar
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/6/stashes/invocation-image.tgz
[Pipeline] sh
+ docker load -i invocation-image.tar
Loaded image: docker/cnab-app-base:jenkins-app-PR-683-6-coverage
[Pipeline] }
[Pipeline] // dir
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ make -f docker.Makefile TAG=jenkins-app-PR-683-6-coverage coverage-run
docker build --build-arg EXPERIMENTAL=off --build-arg TAG=jenkins-app-PR-683-6-coverage --build-arg COMMIT=df1bde76 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-683-6 .
Loaded image: docker/cnab-app-base:jenkins-app-PR-683-6
[Pipeline] }
[Pipeline] // dir
[Pipeline] unstash
Sending build context to Docker daemon  76.09MB

Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
 ---> 518d5e4626aa
Step 2/18 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/6/stashes/coverage-experimental-invocation-image.tgz
[Pipeline] sh
+ docker load -i coverage-experimental-invocation-image.tar
Loaded image: docker/cnab-app-base:jenkins-app-PR-683-6-coverage-experimental
[Pipeline] }
[Pipeline] // dir
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ make EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- -f docker.Makefile TAG=jenkins-app-PR-683-6-coverage-experimental coverage-run
docker build --build-arg EXPERIMENTAL=on --build-arg TAG=jenkins-app-PR-683-6-coverage-experimental --build-arg COMMIT=df1bde76 --build-arg ALPINE_VERSION=3.10.1 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-PR-683-6 .
 ---> Running in 6013516faf22
Removing intermediate container 6013516faf22
 ---> 9a297c95284a
Step 3/18 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Running in 49c0e7f00f59
Sending build context to Docker daemon  76.09MB

Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
 ---> 518d5e4626aa
Step 2/18 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Using cache
 ---> f9c536f6a9e4
Step 3/18 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Using cache
 ---> 6cb7afe83193
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> 09ed05167d2e
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> bcb6939952fd
Step 6/18 : ARG GOPROXY
 ---> Using cache
 ---> 0c9e49e3c15b
Step 7/18 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> b9c675356765
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> c49c6d2ecd0f
Step 9/18 : FROM build AS dev
 ---> c49c6d2ecd0f
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> a0dd39090ea9
Step 11/18 : ARG DEP_VERSION=v0.5.4
 ---> Using cache
 ---> 807e17676d93
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
 ---> 6d9d7b504f84
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> aaecb6a48e62
Step 14/18 : ARG GOPROXY
 ---> Using cache
 ---> 702c43ef2f2e
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
 ---> 18616cf23956
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
 ---> 66cb7be6dff5
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
 ---> 75138fa96cf9
Step 18/18 : COPY . .
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 (362 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 49c0e7f00f59
 ---> 56bdf0e8a319
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
 ---> Running in 32daec99a992
Removing intermediate container 32daec99a992
 ---> c9cc7f7d4350
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Running in e68874fa73ed
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/6/stashes/binaries.tgz
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-683/src/github.com/docker/app/examples
[Pipeline] {
[Pipeline] unstash
Cloning into '.'...
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-683/6/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/6/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
 ---> c92ab91123f9
[Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed
Successfully built c92ab91123f9
Successfully tagged docker-app-dev:jenkins-app-PR-683-6
docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-683-6-coverage-experimental --network="host" -t docker-app-dev:jenkins-app-PR-683-6 make COMMIT=df1bde76 TAG=jenkins-app-PR-683-6-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=df1bde76 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-6-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-15T09:08:12Z" -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
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 e68874fa73ed
 ---> 07256e6640c0
Step 6/18 : ARG GOPROXY
 ---> Running in 6e7e84bcccdc
Removing intermediate container 6e7e84bcccdc
 ---> 08722def7fc3
Step 7/18 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Running in d3fe662a1452
./scripts/build/osx
Building build/docker-darwin-amd64
PASS e2e/linux.TestBuild (25.00s)
PASS e2e/linux.TestBuildWithoutTag (11.96s)
PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (3.07s)
PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (3.08s)
PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (3.01s)
PASS e2e/linux.TestCallCustomStatusAction (9.16s)
PASS e2e/linux.TestCnabParameters (2.97s)
PASS e2e/linux.TestExitErrorCode (0.06s)
PASS e2e/linux.TestRender/envvariables/stdout (1.56s)
PASS e2e/linux.TestRender/envvariables/file (1.35s)
PASS e2e/linux.TestRender/envvariables (2.91s)
PASS e2e/linux.TestRender (2.91s)
PASS e2e/linux.TestRenderFormatters (13.65s)
PASS e2e/linux.TestInit (0.14s)
PASS e2e/linux.TestInspectApp (12.99s)
∅  cmd/cnab-run
∅  cmd/docker-app
✓  internal (3ms)
✓  internal/commands/build (34ms)
✓  internal/commands (249ms)
✓  internal/commands/image (13ms)
✓  internal/compose (5ms)
✓  internal/formatter (6ms)
∅  internal/formatter/driver
∅  internal/formatter/json
∅  internal/formatter/yaml
✓  internal/inspect (72ms)
∅  internal/log
✓  internal/slices (2ms)
./scripts/build/windows
Generating windows resources
Building build/docker-windows-amd64
✓  internal/packager (34ms)
✓  internal/store (36ms)
✓  internal/yaml (11ms)
✓  loader (14ms)
✓  render (45ms)
✓  specification (7ms)
✓  types (20ms)
✓  types/metadata (6ms)
✓  types/parameters (4ms)

DONE 230 tests in 105.738s
CGO_ENABLED=0 go test -tags=""experimental" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=df1bde76 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-6-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-15T09:08:12Z" -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=df1bde76 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-6-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-15T09:08:12Z" -v ./e2e
PASS e2e/linux.TestDockerAppLifecycle/withBindMounts (24.87s)
PASS e2e/linux.TestDockerAppLifecycle/withoutBindMounts (22.18s)
PASS e2e/linux.TestDockerAppLifecycle (47.05s)
PASS e2e/linux.TestCredentials/missing (0.07s)
PASS e2e/linux.TestCredentials/full (1.94s)
PASS e2e/linux.TestCredentials/mixed-credstore (1.23s)
PASS e2e/linux.TestCredentials/mixed-local-cred (1.27s)
PASS e2e/linux.TestCredentials/overload (0.06s)
PASS e2e/linux.TestCredentials (4.57s)
PASS e2e/linux.TestRenderWithEnvFile (1.60s)
PASS e2e/linux.TestExamplesAreValid (0.25s)
PASS e2e/linux.TestImageList (13.14s)
PASS e2e/linux.TestImageRm (13.55s)
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.TestImageTag (18.85s)
PASS e2e/linux.TestInvokePluginFromCLI (3.30s)
PASS e2e/linux.TestPushArchs/default (3.38s)
PASS e2e/linux.TestPushArchs/all-platforms (1.13s)
PASS e2e/linux.TestPushArchs (16.29s)
PASS e2e/linux.TestPushInsecureRegistry (17.59s)
PASS e2e/linux.TestPushInstall (15.75s)
PASS e2e/linux.TestPushPullInstall (16.92s)
Removing intermediate container d3fe662a1452
 ---> d115e7b0a42b
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
 ---> Running in 9e263210565f
Removing intermediate container 9e263210565f
 ---> a4563439906a
Step 9/18 : FROM build AS dev
 ---> a4563439906a
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Running in da12c96e9dfe
Removing intermediate container da12c96e9dfe
 ---> f1044d12df12
Step 11/18 : ARG DEP_VERSION=v0.5.4
 ---> Running in 7271acbce049
Removing intermediate container 7271acbce049
 ---> 5ccf18e803d2
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 4a6f2e8c4325
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   605    0   605    0     0   6722      0 --:--:-- --:--:-- --:--:--  6722

100 10.5M  100 10.5M    0     0  50.8M      0 --:--:-- --:--:-- --:--:-- 50.8M
Removing intermediate container 4a6f2e8c4325
 ---> 9d223f36f4a2
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Running in 96038efb7cb6
Removing intermediate container 96038efb7cb6
 ---> 7a58cbef33a5
Step 14/18 : ARG GOPROXY
 ---> Running in 8d73a2c17b18
Removing intermediate container 8d73a2c17b18
 ---> 850d66e3ce27
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 d9a44e879dbc
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/google/go-cmp v0.2.0
go: finding github.com/spf13/pflag v1.0.1
go: finding github.com/fatih/color v1.6.0
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 gotest.tools v2.1.0+incompatible
go: finding github.com/mattn/go-isatty v0.0.3
go: finding github.com/stretchr/testify v1.3.0
go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9
go: finding github.com/onsi/ginkgo v1.6.0
go: finding github.com/jonboulle/clockwork v0.1.0
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding github.com/hpcloud/tail v1.0.0
go: finding github.com/golang/protobuf v1.2.0
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding github.com/stretchr/objx v0.1.0
go: finding golang.org/x/text v0.3.0
go: finding github.com/davecgh/go-spew v1.1.0
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: downloading gotest.tools v2.1.0+incompatible
go: extracting gotest.tools v2.1.0+incompatible
go: downloading github.com/spf13/pflag v1.0.1
go: downloading github.com/fatih/color v1.6.0
go: downloading github.com/pkg/errors v0.8.0
go: downloading github.com/sirupsen/logrus v1.0.5
go: downloading github.com/jonboulle/clockwork v0.1.0
go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
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/pkg/errors v0.8.0
go: extracting github.com/spf13/pflag v1.0.1
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/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 d9a44e879dbc
 ---> 2ca1cc898eb5
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 9eafd823e061
PASS e2e/linux.TestPushInstallBundle/push-bundle (4.56s)
PASS e2e/linux.TestPushInstallBundle/push-ref (1.09s)
PASS e2e/linux.TestPushInstallBundle/push-bundleref (1.70s)
PASS e2e/linux.TestPushInstallBundle (20.40s)
PASS e2e/linux

DONE 40 tests in 268.147s
time="2019-10-15T09:12:38Z" 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/6/artifacts/
[Pipeline] junit
Recording test results
Removing intermediate container 9eafd823e061
 ---> 8d18b36f7917
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 a70e94e8ffb4
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-683-6
Untagged: docker/cnab-app-base:jenkins-app-PR-683-6
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
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 a70e94e8ffb4
 ---> b3dba178b877
Step 18/18 : COPY . .
 ---> 29d0454eed8d
[Warning] One or more build-args [TAG ALPINE_VERSION COMMIT EXPERIMENTAL] were not consumed
Successfully built 29d0454eed8d
Successfully tagged docker-app-dev:jenkins-app-PR-683-6
docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-683-6-coverage --network="host" -t docker-app-dev:jenkins-app-PR-683-6 make COMMIT=df1bde76 TAG=jenkins-app-PR-683-6-coverage EXPERIMENTAL=off TEST_RESULTS_PREFIX= coverage
Running unit tests (coverage)...
CGO_ENABLED=0 gotestsum --junitfile _build/test-results/unit-coverage.xml -- -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=df1bde76 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-6-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T09:12:50Z" -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
∅  .
∅  cmd/cnab-run
∅  cmd/docker-app
✓  internal (2ms)
✓  internal/commands/build (21ms)
✓  internal/commands (544ms)
✓  internal/commands/image (12ms)
✓  internal/compose (5ms)
✓  internal/formatter (3ms)
∅  internal/formatter/driver
∅  internal/formatter/json
∅  internal/formatter/yaml
✓  internal/inspect (106ms)
∅  internal/log
✓  internal/slices (2ms)
✓  internal/packager (28ms)
✓  internal/store (45ms)
✓  internal/yaml (7ms)
✓  loader (9ms)
✓  render (61ms)
✓  specification (9ms)
✓  types (23ms)
✓  types/metadata (6ms)
✓  types/parameters (4ms)

DONE 230 tests in 102.854s
CGO_ENABLED=0 go test -tags=""" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=df1bde76 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-6-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T09:12:50Z" -coverpkg="./..." -c -o _build/docker-app.cov ./cmd/docker-app
Running e2e tests (coverage)...
DOCKERAPP_BINARY=../e2e/coverage-bin CGO_ENABLED=0 gotestsum --junitfile _build/test-results/e2e-coverage.xml -- -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=df1bde76 -X github.com/docker/app/internal.Version=jenkins-app-PR-683-6-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-15T09:12:50Z" -v ./e2e
✖  e2e (4m21.879s)

=== Failed
=== FAIL: e2e TestDockerAppLifecycle/withBindMounts (16.41s)
    --- FAIL: TestDockerAppLifecycle/withBindMounts (16.41s)
        commands_test.go:422: assertion failed: expression is false: exp.MatchString(combined): expected "\"com.docker.app.version\": \"jenkins-app-PR-683-6-coverage-experimental\"" != actual "[\n    {\n        \"ID\": \"zl5gp3d82md7n210kbjyi7sjj\",\n        \"Version\": {\n            \"Index\": 28\n        },\n        \"CreatedAt\": \"2019-10-15T09:11:40.548515197Z\",\n        \"UpdatedAt\": \"2019-10-15T09:11:40.549494965Z\",\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-6\",\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\": \"dmz86uw956ggqbph09j0860v3\",\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\": \"dmz86uw956ggqbph09j0860v3\",\n                    \"Addr\": \"10.0.0.5/24\"\n                }\n            ]\n        }\n    }\n]\n"

=== FAIL: e2e TestDockerAppLifecycle/withoutBindMounts (12.29s)
    --- FAIL: TestDockerAppLifecycle/withoutBindMounts (12.29s)
        commands_test.go:422: assertion failed: expression is false: exp.MatchString(combined): expected "\"com.docker.app.version\": \"jenkins-app-PR-683-6-coverage-experimental\"" != actual "[\n    {\n        \"ID\": \"xbmu44z62x6942obn7ad4ar0z\",\n        \"Version\": {\n            \"Index\": 22\n        },\n        \"CreatedAt\": \"2019-10-15T09:11:52.699241044Z\",\n        \"UpdatedAt\": \"2019-10-15T09:11:52.700064095Z\",\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-6\",\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\": \"tytq4mekhxwzidtbngrgkiy9j\",\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\": \"tytq4mekhxwzidtbngrgkiy9j\",\n                    \"Addr\": \"10.0.1.2/24\"\n                }\n            ]\n        }\n    }\n]\n"

=== FAIL: e2e TestDockerAppLifecycle (28.70s)


DONE 40 tests, 3 failures in 263.278s
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-6-coverage-experimental coverage-results
docker cp docker-app-cov-jenkins-app-PR-683-6-coverage-experimental:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov
docker cp docker-app-cov-jenkins-app-PR-683-6-coverage-experimental:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results
docker rm docker-app-cov-jenkins-app-PR-683-6-coverage-experimental
docker-app-cov-jenkins-app-PR-683-6-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/6/artifacts/
[Pipeline] junit
Recording test results
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-683-6-coverage-experimental
Untagged: docker/cnab-app-base:jenkins-app-PR-683-6-coverage-experimental
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
✖  e2e (4m22.885s)

=== Failed
=== FAIL: e2e TestDockerAppLifecycle/withBindMounts (19.04s)
    --- FAIL: TestDockerAppLifecycle/withBindMounts (19.04s)
        commands_test.go:422: assertion failed: expression is false: exp.MatchString(combined): expected "\"com.docker.app.version\": \"jenkins-app-PR-683-6-coverage\"" != actual "[\n    {\n        \"ID\": \"s9y6a1i5w9di5nal0ksotli57\",\n        \"Version\": {\n            \"Index\": 29\n        },\n        \"CreatedAt\": \"2019-10-15T09:16:11.674305864Z\",\n        \"UpdatedAt\": \"2019-10-15T09:16:11.675180338Z\",\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-6\",\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\": \"kr7rd42yihmfajna984rb7j3q\",\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\": \"kr7rd42yihmfajna984rb7j3q\",\n                    \"Addr\": \"10.0.1.5/24\"\n                }\n            ]\n        }\n    }\n]\n"

=== FAIL: e2e TestDockerAppLifecycle/withoutBindMounts (20.42s)
    --- FAIL: TestDockerAppLifecycle/withoutBindMounts (20.42s)
        commands_test.go:422: assertion failed: expression is false: exp.MatchString(combined): expected "\"com.docker.app.version\": \"jenkins-app-PR-683-6-coverage\"" != actual "[\n    {\n        \"ID\": \"1im25l6uloyw0y871li3mapfd\",\n        \"Version\": {\n            \"Index\": 29\n        },\n        \"CreatedAt\": \"2019-10-15T09:16:31.604034913Z\",\n        \"UpdatedAt\": \"2019-10-15T09:16:31.604801272Z\",\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-6\",\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\": \"oueagmrkkkb0nbaub2ffd2sgo\",\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\": \"oueagmrkkkb0nbaub2ffd2sgo\",\n                    \"Addr\": \"10.0.0.5/24\"\n                }\n            ]\n        }\n    }\n]\n"

=== FAIL: e2e TestDockerAppLifecycle (39.46s)


DONE 40 tests, 3 failures in 264.185s
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-6-coverage coverage-results
docker cp docker-app-cov-jenkins-app-PR-683-6-coverage:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov
docker cp docker-app-cov-jenkins-app-PR-683-6-coverage:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results
docker rm docker-app-cov-jenkins-app-PR-683-6-coverage
docker-app-cov-jenkins-app-PR-683-6-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/6/artifacts/
[Pipeline] junit
Recording test results
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-683-6-coverage
Untagged: docker/cnab-app-base:jenkins-app-PR-683-6-coverage
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Coverage
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

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