Skip to content
Failed

Console Output

Skipping 44 KB.. Full Log
go: extracting sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4
go: downloading github.com/go-toolsmith/astequal v0.0.0-20180903214952-dcb477bfacd6
go: extracting github.com/fsnotify/fsnotify v1.4.7
go: downloading github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a
go: extracting github.com/go-toolsmith/astequal v0.0.0-20180903214952-dcb477bfacd6
go: downloading github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2
go: extracting github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee
go: downloading github.com/spf13/afero v1.1.0
go: extracting github.com/spf13/jwalterweatherman v0.0.0-20180109140146-7c0cea34c8ec
go: downloading github.com/spf13/pflag v1.0.1
go: extracting github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2
go: downloading github.com/spf13/cast v1.2.0
go: extracting mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed
go: extracting github.com/spf13/cast v1.2.0
go: downloading github.com/golangci/gosec v0.0.0-20180901114220-66fb7fc33547
go: downloading github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613
go: extracting github.com/spf13/pflag v1.0.1
go: downloading github.com/golangci/lint-1 v0.0.0-20180610141402-4bf9709227d1
go: extracting github.com/spf13/cobra v0.0.2
go: extracting github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a
go: downloading github.com/go-toolsmith/strparse v0.0.0-20180903215201-830b6daa1241
go: extracting github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238
go: downloading github.com/BurntSushi/toml v0.3.1
go: extracting github.com/spf13/afero v1.1.0
go: downloading mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b
go: downloading github.com/mattn/go-isatty v0.0.3
go: extracting github.com/go-toolsmith/strparse v0.0.0-20180903215201-830b6daa1241
go: downloading github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770
go: extracting github.com/mattn/go-isatty v0.0.3
go: extracting github.com/golangci/lint-1 v0.0.0-20180610141402-4bf9709227d1
go: extracting github.com/BurntSushi/toml v0.3.1
go: extracting mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b
go: downloading github.com/OpenPeeDeeP/depguard v0.0.0-20180806142446-a69c782687b2
go: downloading github.com/pelletier/go-toml v1.1.0
go: downloading github.com/pkg/errors v0.8.0
go: downloading github.com/go-toolsmith/astp v0.0.0-20180903215135-0af7e3c24f30
go: extracting github.com/go-toolsmith/astp v0.0.0-20180903215135-0af7e3c24f30
go: downloading github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21
go: extracting github.com/golangci/gosec v0.0.0-20180901114220-66fb7fc33547
go: extracting github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21
go: extracting github.com/OpenPeeDeeP/depguard v0.0.0-20180806142446-a69c782687b2
go: downloading github.com/gobwas/glob v0.2.3
go: extracting github.com/pkg/errors v0.8.0
go: extracting github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613
go: downloading mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34
go: downloading github.com/nbutton23/zxcvbn-go v0.0.0-20171102151520-eafdab6b0663
go: extracting github.com/gobwas/glob v0.2.3
go: downloading github.com/golangci/errcheck v0.0.0-20181003203344-ef45e06d44b6
go: extracting mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34
go: downloading github.com/go-toolsmith/astcopy v0.0.0-20180903214859-79b422d080c4
go: extracting github.com/pelletier/go-toml v1.1.0
go: downloading github.com/golangci/ineffassign v0.0.0-20180808204949-2ee8f2867dde
go: extracting github.com/golangci/errcheck v0.0.0-20181003203344-ef45e06d44b6
go: extracting github.com/go-toolsmith/astcopy v0.0.0-20180903214859-79b422d080c4
go: extracting github.com/golangci/ineffassign v0.0.0-20180808204949-2ee8f2867dde
go: extracting github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770
go: extracting golang.org/x/net v0.0.0-20190313220215-9f648a60d977
go: extracting golang.org/x/sys v0.0.0-20190312061237-fead79001313
go: extracting github.com/nbutton23/zxcvbn-go v0.0.0-20171102151520-eafdab6b0663
 ---> 106074e11224
Step 6/14 : ARG EXPERIMENTAL="off"
 ---> Running in fa3c20a663d7
Removing intermediate container fa3c20a663d7
 ---> 89c45e5f4c71
Step 7/14 : ARG TAG="unknown"
 ---> Running in d0e16a9ecebb
Removing intermediate container d0e16a9ecebb
 ---> 9ebfd49289cc
Step 8/14 : RUN make EXPERIMENTAL=${EXPERIMENTAL} BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run
 ---> Running in d22436485b93
CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d1d320ee -X github.com/docker/app/internal.Version=jenkins-app-PR-664-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:44:02Z" -o bin/cnab-run ./cmd/cnab-run
go: extracting golang.org/x/text v0.3.0
Removing intermediate container fb2698112ca1
 ---> ca79f1a65b11
Step 6/8 : WORKDIR /go/src/github.com/docker/app
 ---> Running in 236f275efa11
Removing intermediate container 236f275efa11
 ---> 1a289022268d
Step 7/8 : ENV CGO_ENABLED=0
 ---> Running in 38bf6be1e21b
Removing intermediate container 38bf6be1e21b
 ---> 5d3206319fc7
Step 8/8 : COPY . .
GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d1d320ee -X github.com/docker/app/internal.Version=jenkins-app-PR-664-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:43:30Z" -o bin/docker-app-darwin ./cmd/docker-app
 ---> 95993d3ba4ee
Successfully built 95993d3ba4ee
Successfully tagged docker-app-lint:jenkins-app-PR-664-2
docker run --rm docker-app-lint:jenkins-app-PR-664-2 make lint
Linting...
[Pipeline] sh
+ make -f docker.Makefile check-vendor
docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=dev -t docker-app-dev:jenkins-app-PR-664-2 .
Sending build context to Docker daemon  73.05MB

Step 1/18 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705: Pulling from dockercore/golang-cross
4ae16bd47783: Pulling fs layer
bbab4ec87ac4: Pulling fs layer
2ea1f7804402: Pulling fs layer
96465440c208: Pulling fs layer
16a3d8aca6cd: Pulling fs layer
e0ec5610455a: Pulling fs layer
96d705baf026: Pulling fs layer
39007eb46008: Pulling fs layer
4e549f0f5e64: Pulling fs layer
c0058a8c71f2: Pulling fs layer
2f8d98df0991: Pulling fs layer
e0ec5610455a: Waiting
96d705baf026: Waiting
39007eb46008: Waiting
4e549f0f5e64: Waiting
c0058a8c71f2: Waiting
2f8d98df0991: Waiting
96465440c208: Waiting
16a3d8aca6cd: Waiting
bbab4ec87ac4: Verifying Checksum
bbab4ec87ac4: Download complete
2ea1f7804402: Verifying Checksum
2ea1f7804402: Download complete
4ae16bd47783: Verifying Checksum
4ae16bd47783: Download complete
96465440c208: Verifying Checksum
96465440c208: Download complete
16a3d8aca6cd: Verifying Checksum
16a3d8aca6cd: Download complete
96d705baf026: Verifying Checksum
96d705baf026: Download complete
39007eb46008: Verifying Checksum
39007eb46008: Download complete
c0058a8c71f2: Verifying Checksum
c0058a8c71f2: Download complete
e0ec5610455a: Verifying Checksum
e0ec5610455a: Download complete
4e549f0f5e64: Verifying Checksum
4e549f0f5e64: Download complete
2f8d98df0991: Verifying Checksum
2f8d98df0991: Download complete
4ae16bd47783: Pull complete
bbab4ec87ac4: Pull complete
2ea1f7804402: Pull complete
96465440c208: Pull complete
16a3d8aca6cd: Pull complete
Removing intermediate container d22436485b93
 ---> 9bb2707ce10f
Step 9/14 : FROM alpine:${ALPINE_VERSION} as invocation
3.10.1: Pulling from library/alpine
050382585609: Pulling fs layer
050382585609: Download complete
050382585609: Pull complete
Digest: sha256:6a92cd1fcdc8d8cdec60f33dda4db2cb1fcdcacf3410a8e05b3741f44a9b5998
Status: Downloaded newer image for alpine:3.10.1
 ---> b7b28af77ffe
Step 10/14 : RUN apk add --no-cache ca-certificates && adduser -S cnab
 ---> Running in 5b97c14dd2d7
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz
(1/1) Installing ca-certificates (20190108-r0)
Executing busybox-1.30.1-r2.trigger
Executing ca-certificates-20190108-r0.trigger
OK: 6 MiB in 15 packages
Removing intermediate container 5b97c14dd2d7
 ---> 8a1f42599468
Step 11/14 : USER cnab
 ---> Running in d6c32390cca2
Removing intermediate container d6c32390cca2
 ---> de8f378b2463
Step 12/14 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run
 ---> 61a064ebc6ac
Step 13/14 : WORKDIR /cnab/app
 ---> Running in 0e5438b434dd
Removing intermediate container 0e5438b434dd
 ---> e811e65d98c7
Step 14/14 : CMD /cnab/app/run
 ---> Running in fcb4bb4ba2b6
Removing intermediate container fcb4bb4ba2b6
 ---> d035b37e26df
[Warning] One or more build-args [COMMIT GOPROXY] were not consumed
Successfully built d035b37e26df
Successfully tagged docker/cnab-app-base:jenkins-app-PR-664-2
docker save docker/cnab-app-base:jenkins-app-PR-664-2 -o _build/invocation-image.tar
[Pipeline] sh
+ make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-664-2-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag
docker tag docker/cnab-app-base:jenkins-app-PR-664-2 docker/cnab-app-base:jenkins-app-PR-664-2-coverage
docker save docker/cnab-app-base:jenkins-app-PR-664-2-coverage -o _build/coverage-invocation-image.tar
[Pipeline] sh
+ make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-664-2-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag
docker tag docker/cnab-app-base:jenkins-app-PR-664-2 docker/cnab-app-base:jenkins-app-PR-664-2-coverage-experimental
docker save docker/cnab-app-base:jenkins-app-PR-664-2-coverage-experimental -o _build/coverage-experimental-invocation-image.tar
e0ec5610455a: Pull complete
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-664/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] stash
96d705baf026: Pull complete
39007eb46008: Pull complete
GOOS=windows CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d1d320ee -X github.com/docker/app/internal.Version=jenkins-app-PR-664-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:43:30Z" -o bin/docker-app-windows.exe ./cmd/docker-app
Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-664/2/stashes/invocation-image.tgz
[Pipeline] stash
4e549f0f5e64: Pull complete
c0058a8c71f2: Pull complete
Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-664/2/stashes/coverage-invocation-image.tgz
[Pipeline] stash
Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-664/2/stashes/coverage-experimental-invocation-image.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-664/src/github.com/docker/app
[Pipeline] {
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-664-2
Untagged: docker/cnab-app-base:jenkins-app-PR-664-2
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-664-2-coverage
Untagged: docker/cnab-app-base:jenkins-app-PR-664-2-coverage
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-664-2-coverage-experimental
Untagged: docker/cnab-app-base:jenkins-app-PR-664-2-coverage-experimental
Deleted: sha256:d035b37e26dfb59041cf9a0d915cf65de138d057f434a80191f0ce638c24d7e0
Deleted: sha256:e811e65d98c7381d8394978c3ac3c14a73ac01efa65d47b2508423e542a79600
Deleted: sha256:61a064ebc6ac85b18ff47720d12d4a2b99cd0db0eddff59d90882140c3e95453
Deleted: sha256:78358880e9e661d5478ae778fac92456dc7a6821cb2af3c531ff1168761a2c6c
Deleted: sha256:de8f378b24631c625926c0b1b9818a39fd4bfddfb21e50a220516bdc5b10adf0
Deleted: sha256:8a1f4259946875a1498ecd9f88f11c069e9b979b5f61d4c46353e8f03882a475
Deleted: sha256:61073723803fdc74813e6d644cd6222b4ce5b44ab6eb71f2a60624033a4ba3ed
[Pipeline] }
[Pipeline] // dir
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
2f8d98df0991: Pull complete
Digest: sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705
Status: Downloaded newer image for dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705
 ---> 518d5e4626aa
Step 2/18 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Running in 7902cdbd7102
Removing intermediate container 7902cdbd7102
 ---> b132ac29267b
Step 3/18 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Running in ebdf0c17dad2
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 (364 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 ebdf0c17dad2
 ---> 1786efd848c8
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
 ---> Running in 1c9bcbef87cc
Removing intermediate container 1c9bcbef87cc
 ---> 250ad161941a
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Running in 7e17f35c2d1b
Cloning into '.'...
Note: checking out 'a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb'.

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

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

  git checkout -b <new-branch-name>

HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact
Removing intermediate container 7e17f35c2d1b
 ---> 50e0350fae97
Step 6/18 : ARG GOPROXY
 ---> Running in 2d9733848256
Removing intermediate container 2d9733848256
 ---> f56894fd6011
Step 7/18 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Running in abc314b7266c
./scripts/build/osx
Building build/docker-darwin-amd64
Removing intermediate container b1f4f5547805
 ---> 6f1a9192076c
[Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed
Successfully built 6f1a9192076c
Successfully tagged docker-app-cross:jenkins-app-PR-664-2
docker create --name docker-app-cross-jenkins-app-PR-664-2 docker-app-cross:jenkins-app-PR-664-2 noop
e71492b8473ee1d7071dffe56fe68b42962a3dc93a31c351e21083b5cc7132ba
docker cp docker-app-cross-jenkins-app-PR-664-2:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux
docker cp docker-app-cross-jenkins-app-PR-664-2:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin
docker cp docker-app-cross-jenkins-app-PR-664-2:/go/src/github.com/docker/app/bin/docker-app-windows.exe bin/docker-app-windows.exe
docker rm docker-app-cross-jenkins-app-PR-664-2
docker-app-cross-jenkins-app-PR-664-2
docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-664-2  .
Sending build context to Docker daemon  73.05MB

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
 ---> 00ce463e7ef4
Step 3/26 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Using cache
 ---> 67d58ee34d49
Step 4/26 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> b9c36b5d6ce3
Step 5/26 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> fa3130976159
Step 6/26 : ARG GOPROXY
 ---> Using cache
 ---> 3d66b7a357cb
Step 7/26 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> dcde811fe4e2
Step 8/26 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> 8219d52b3e6f
Step 9/26 : FROM build AS dev
 ---> 8219d52b3e6f
Step 10/26 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> 7e046ae54e9c
Step 11/26 : ARG DEP_VERSION=v0.5.4
 ---> Using cache
 ---> e574bf677657
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
 ---> 2b627203f6b4
Step 13/26 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> ddf792bb36e4
Step 14/26 : ARG GOPROXY
 ---> Using cache
 ---> 2c143d9e2d38
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
 ---> 3bc7926498e9
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
 ---> 78a94c4951c4
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
 ---> ece77052b0b8
Step 18/26 : COPY . .
 ---> Using cache
 ---> 2f08dc34d76d
Step 19/26 : FROM dev AS cross
 ---> 2f08dc34d76d
Step 20/26 : ARG EXPERIMENTAL="off"
 ---> Using cache
 ---> 42b259c65db6
Step 21/26 : ARG TAG="unknown"
 ---> Using cache
 ---> dd949faed6ca
Step 22/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross
 ---> Using cache
 ---> 6f1a9192076c
Step 23/26 : FROM cross AS e2e-cross
 ---> 6f1a9192076c
Step 24/26 : ARG EXPERIMENTAL="off"
 ---> Running in a7bb9c2c82f8
Removing intermediate container a7bb9c2c82f8
 ---> bf46a76bcd13
Step 25/26 : ARG TAG="unknown"
 ---> Running in 310bdb8d5450
Removing intermediate container 310bdb8d5450
 ---> 0425b529215a
Step 26/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} e2e-cross
 ---> Running in f60c49d41a10
GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d1d320ee -X github.com/docker/app/internal.Version=jenkins-app-PR-664-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:46:06Z" -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=d1d320ee -X github.com/docker/app/internal.Version=jenkins-app-PR-664-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:46:06Z" -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=d1d320ee -X github.com/docker/app/internal.Version=jenkins-app-PR-664-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:46:06Z" -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=d1d320ee -X github.com/docker/app/internal.Version=jenkins-app-PR-664-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:46:06Z" -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=d1d320ee -X github.com/docker/app/internal.Version=jenkins-app-PR-664-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:46:06Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/
Removing intermediate container f60c49d41a10
 ---> 0dca0252b711
[Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed
Successfully built 0dca0252b711
Successfully tagged docker-app-e2e-cross:jenkins-app-PR-664-2
docker create --name docker-app-e2e-cross-jenkins-app-PR-664-2 docker-app-e2e-cross:jenkins-app-PR-664-2 noop
b51cafaa3d05a04261bedc41e288f717d27cdd7dd4d3de8f43e9522d6473bb0c
docker cp docker-app-e2e-cross-jenkins-app-PR-664-2:/go/src/github.com/docker/app/bin/docker-app-e2e-linux bin/docker-app-e2e-linux
docker cp docker-app-e2e-cross-jenkins-app-PR-664-2:/go/src/github.com/docker/app/bin/docker-app-e2e-darwin bin/docker-app-e2e-darwin
docker cp docker-app-e2e-cross-jenkins-app-PR-664-2:/go/src/github.com/docker/app/bin/docker-app-e2e-windows.exe bin/docker-app-e2e-windows.exe
docker cp docker-app-e2e-cross-jenkins-app-PR-664-2:/usr/local/bin/gotestsum-linux bin/gotestsum-linux
docker cp docker-app-e2e-cross-jenkins-app-PR-664-2:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin
docker cp docker-app-e2e-cross-jenkins-app-PR-664-2:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe
docker cp docker-app-e2e-cross-jenkins-app-PR-664-2:/usr/local/bin/test2json-linux bin/test2json-linux
docker cp docker-app-e2e-cross-jenkins-app-PR-664-2:/usr/local/bin/test2json-darwin bin/test2json-darwin
docker cp docker-app-e2e-cross-jenkins-app-PR-664-2:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe
docker rm docker-app-e2e-cross-jenkins-app-PR-664-2
docker-app-e2e-cross-jenkins-app-PR-664-2
tar --transform='flags=r;s|docker-app-linux|docker-app-plugin-linux|' -czf bin/docker-app-linux.tar.gz -C bin docker-app-linux
tar czf bin/docker-app-e2e-linux.tar.gz -C bin docker-app-e2e-linux
tar --transform='flags=r;s|docker-app-darwin|docker-app-plugin-darwin|' -czf bin/docker-app-darwin.tar.gz -C bin docker-app-darwin
tar czf bin/docker-app-e2e-darwin.tar.gz -C bin docker-app-e2e-darwin
tar --transform='flags=r;s|docker-app-windows|docker-app-plugin-windows|' -czf bin/docker-app-windows.tar.gz -C bin docker-app-windows.exe
tar czf bin/docker-app-e2e-windows.tar.gz -C bin docker-app-e2e-windows.exe
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-664/src/github.com/docker/app/bin
[Pipeline] {
[Pipeline] stash
Stashed 21 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-664/2/stashes/binaries.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-664/src/github.com/docker/app/e2e
[Pipeline] {
[Pipeline] stash
Stashed 61 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-664/2/stashes/e2e.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-664/src/github.com/docker/app/examples
[Pipeline] {
[Pipeline] stash
Stashed 29 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-664/2/stashes/examples.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-664-2*
+ xargs docker image rm -f
Untagged: docker-app-e2e-cross:jenkins-app-PR-664-2
Deleted: sha256:0dca0252b7111b5d11ab003e06319332d6930f788fd90cd139fa053df18d8766
Deleted: sha256:d74e4ea4bf0d25c40094a478fa631d089b5aa622a208743d3006c94ace3b845a
Deleted: sha256:0425b529215a8caee4ffc6b1c505159a624b229cc901df2726f3fd5b311d36ab
Deleted: sha256:bf46a76bcd132f7ef4f708f8b89cadb6b0a1a04345ffc807bc7ca65807efebfd
Untagged: docker-app-cross:jenkins-app-PR-664-2
Deleted: sha256:6f1a9192076c439e8379e0996532e88429ca4ec966f2f99743de039c86361ca3
Deleted: sha256:215fe02c01b3a42a61dec316bc2e158a98712dc342f4fb997bf6a01eaabbdeb7
Deleted: sha256:dd949faed6cacd38e27123ed1f221860786ebf640d627a1950632c682a6dc5a7
Deleted: sha256:42b259c65db698e06b4e5d41892ed0f895eee1b0acf116eb06e37958029c7a69
Deleted: sha256:2f08dc34d76decd578ec1dd41f2b8342714e1f5e173ca5d8a0a8dea629eddfc3
Deleted: sha256:970baf6a99e00ec9ac93a74f4d516df7058a138627af0fdbc64c066354975427
Untagged: docker-app-cli:jenkins-app-PR-664-2
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // dir
Post stage
[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
Removing intermediate container abc314b7266c
 ---> 31989a9d9c16
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
 ---> Running in 6624c9305160
Removing intermediate container 6624c9305160
 ---> 9417cb3a95b3
Step 9/18 : FROM build AS dev
 ---> 9417cb3a95b3
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Running in a57d24f8e38d
Removing intermediate container a57d24f8e38d
 ---> 0aa3e1bd329b
Step 11/18 : ARG DEP_VERSION=v0.5.4
 ---> Running in 159a0d03fa56
Removing intermediate container 159a0d03fa56
 ---> 4e1fa135ac5f
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 ef3239174f1a
  % 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   7034      0 --:--:-- --:--:-- --:--:--  7034

100 10.5M  100 10.5M    0     0  52.0M      0 --:--:-- --:--:-- --:--:-- 52.0M
Removing intermediate container ef3239174f1a
 ---> c38151a72655
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Running in ee1b8122b306
Removing intermediate container ee1b8122b306
 ---> 16ef1d365eef
Step 14/18 : ARG GOPROXY
 ---> Running in 3f4d7afc0fef
Removing intermediate container 3f4d7afc0fef
 ---> adbcca7540c9
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 050c0f3b02db
go: finding github.com/pkg/errors v0.8.0
go: finding github.com/sirupsen/logrus v1.0.5
go: finding github.com/spf13/pflag v1.0.1
go: finding github.com/mattn/go-colorable v0.0.9
go: finding github.com/onsi/ginkgo v1.8.0
go: finding github.com/google/go-cmp v0.2.0
go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2
go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9
go: finding golang.org/x/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/gomega v1.4.3
go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: finding github.com/mattn/go-isatty v0.0.3
go: finding github.com/fatih/color v1.6.0
go: finding github.com/jonboulle/clockwork v0.1.0
go: finding github.com/stretchr/testify v1.3.0
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding golang.org/x/text v0.3.0
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding github.com/golang/protobuf v1.2.0
go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding github.com/hpcloud/tail v1.0.0
go: finding github.com/davecgh/go-spew v1.1.0
go: finding github.com/stretchr/objx v0.1.0
go: finding github.com/onsi/ginkgo v1.6.0
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: downloading gotest.tools v2.1.0+incompatible
go: extracting gotest.tools v2.1.0+incompatible
go: downloading github.com/sirupsen/logrus v1.0.5
go: downloading github.com/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 golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: downloading github.com/jonboulle/clockwork v0.1.0
go: extracting github.com/sirupsen/logrus v1.0.5
go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: extracting github.com/pkg/errors v0.8.0
go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: extracting github.com/jonboulle/clockwork v0.1.0
go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: extracting github.com/spf13/pflag v1.0.1
go: extracting github.com/fatih/color v1.6.0
go: downloading github.com/mattn/go-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 050c0f3b02db
 ---> 8df68a926388
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 2aca233ef220
Removing intermediate container 2aca233ef220
 ---> bfa2b21ecb7a
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 588a3b3d31c8
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 588a3b3d31c8
 ---> a9c26d385530
Step 18/18 : COPY . .
 ---> 0cd17ab3c3e6
[Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed
Successfully built 0cd17ab3c3e6
Successfully tagged docker-app-dev:jenkins-app-PR-664-2
Check Vendoring...
docker run --rm docker-app-dev:jenkins-app-PR-664-2 sh -c "make vendor && hack/check-git-diff vendor"
rm -rf vendor 1>&1
dep ensure -v 
(1/95) Wrote github.com/Microsoft/go-winio@v0.4.12
(2/95) Wrote github.com/containerd/fifo@master
(3/95) Wrote github.com/containerd/continuity@master
(4/95) Wrote github.com/containerd/ttrpc@master
(5/95) Wrote github.com/containerd/typeurl@master
(6/95) Wrote github.com/agl/ed25519@master
(7/95) Wrote github.com/beorn7/perks@master
(8/95) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2
(9/95) Wrote github.com/containerd/cgroups@master
(10/95) Wrote github.com/coreos/go-systemd@v20
(11/95) Wrote github.com/davecgh/go-spew@v1.1.1
(12/95) Wrote vbom.ml/util@master
(13/95) Wrote github.com/docker/docker-credential-helpers@v0.6.1
(14/95) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1
(15/95) Wrote github.com/docker/go@v1.5.1-1
(16/95) Wrote github.com/docker/go-events@master
(17/95) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18
(18/95) Wrote github.com/docker/go-units@v0.3.3
(19/95) Wrote github.com/docker/go-connections@v0.4.0
(20/95) Wrote github.com/Microsoft/hcsshim@v0.8.6
(21/95) Wrote github.com/godbus/dbus@v5.0.1
(22/95) Wrote github.com/gogo/googleapis@v1.2.0
(23/95) Wrote github.com/google/go-cmp@v0.2.0
(24/95) Wrote github.com/google/gofuzz@v1.0.0
(25/95) Wrote github.com/google/shlex@master
(26/95) Wrote github.com/gorilla/mux@v1.7.1
(27/95) Wrote github.com/hashicorp/go-version@v1.1.0
(28/95) Wrote github.com/hashicorp/golang-lru@v0.5.1
(29/95) Wrote github.com/imdario/mergo@master
(30/95) Wrote github.com/inconshreveable/mousetrap@v1.0
(31/95) Wrote github.com/globalsign/mgo@master
(32/95) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2
(33/95) Wrote github.com/mattn/go-shellwords@v1.0.5
(34/95) Wrote github.com/json-iterator/go@v1.1.6
(35/95) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1
(36/95) Wrote github.com/docker/compose-on-kubernetes@v0.4.21
(37/95) Wrote github.com/googleapis/gnostic@v0.2.0
(38/95) Wrote github.com/mitchellh/mapstructure@v1.1.2
(39/95) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580
(40/95) Wrote github.com/miekg/pkcs11@master
(41/95) Wrote github.com/modern-go/concurrent@1.0.3
(42/95) Wrote github.com/modern-go/reflect2@1.0.1
(43/95) Wrote github.com/morikuni/aec@master
(44/95) Wrote github.com/oklog/ulid@v1.3.1
(45/95) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1
(46/95) Wrote github.com/opencontainers/image-spec@v1.0.1
(47/95) Wrote github.com/pkg/errors@v0.8.1
(48/95) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4
(49/95) Wrote github.com/golang/protobuf@v1.3.1
(50/95) Wrote github.com/prometheus/client_model@master
(51/95) Wrote github.com/prometheus/client_golang@v0.8.0
(52/95) Wrote github.com/qri-io/jsonpointer@v0.1.0
(53/95) Wrote github.com/prometheus/procfs@master
(54/95) Wrote github.com/sirupsen/logrus@v1.4.1
(55/95) Wrote github.com/prometheus/common@v0.2.0
(56/95) Wrote github.com/syndtr/gocapability@master
(57/95) Wrote github.com/qri-io/jsonschema@v0.1.1
(58/95) Wrote github.com/spf13/cobra@v0.0.5
(59/95) Wrote github.com/wadey/gocovmerge@master
(60/95) Wrote github.com/spf13/pflag@master
(61/95) Wrote github.com/xeipuuv/gojsonpointer@master
(62/95) Wrote github.com/xeipuuv/gojsonreference@master
(63/95) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d
(64/95) Wrote github.com/opencontainers/runc@v1.0.0-rc7
(65/95) Wrote golang.org/x/sync@master
(66/95) Wrote golang.org/x/crypto@master
(67/95) Wrote golang.org/x/oauth2@master
(68/95) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc
(69/95) Wrote github.com/coreos/etcd@v3.3.12
(70/95) Wrote github.com/containerd/containerd@master
(71/95) Wrote golang.org/x/time@master
(72/95) Wrote google.golang.org/appengine@v1.5.0
(73/95) Wrote golang.org/x/net@master
(74/95) Wrote gopkg.in/inf.v0@v0.9.1
(75/95) Wrote gotest.tools@v2.3.0
(76/95) Wrote github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98
(77/95) Wrote gopkg.in/yaml.v2@v2.2.3
(78/95) Wrote k8s.io/klog@v0.2.0
(79/95) Wrote k8s.io/utils@master
(80/95) Wrote github.com/Masterminds/semver@v1.4.2
(81/95) Wrote k8s.io/apimachinery@kubernetes-1.14.1
(82/95) Wrote golang.org/x/sys@master
(83/95) Wrote sigs.k8s.io/yaml@v1.1.0
(84/95) Wrote github.com/Azure/go-ansiterm@master
(85/95) Wrote google.golang.org/grpc@v1.19.1
(86/95) Wrote golang.org/x/text@v0.3.0
(87/95) Wrote github.com/theupdateframework/notary@v0.6.1
(88/95) Wrote golang.org/x/tools@master
(89/95) Wrote k8s.io/client-go@kubernetes-1.14.1
(90/95) Wrote google.golang.org/genproto@master
(91/95) Wrote cloud.google.com/go@v0.37.4
(92/95) Wrote github.com/gogo/protobuf@v1.2.1
(93/95) Wrote k8s.io/api@kubernetes-1.14.1
(94/95) Wrote github.com/docker/docker@master
(95/95) 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] }
[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-0da343938dd48fce1) in /home/ubuntu/workspace/app_PR-664
[Pipeline] {
Running on ubuntu-1804-overlay2 (i-01b7503ae236a158d) in /home/ubuntu/workspace/app_PR-664
[Pipeline] {
Running on ubuntu-1804-overlay2 (i-0bcdbe30dd41f253d) in /home/ubuntu/workspace/app_PR-664
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-664/src/github.com/docker/app
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-664/src/github.com/docker/app
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] checkout
[Pipeline] checkout
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-664/src/github.com/docker/app
[Pipeline] {
[Pipeline] checkout
using credential docker-jenkins-github-credentials
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
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-664/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/664/head:refs/remotes/origin/PR-664
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-664/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/664/head:refs/remotes/origin/PR-664
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-664/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/664/head:refs/remotes/origin/PR-664
Fetching without tags
Checking out Revision d1d320eeb381660c73f4944cb2e7ebbea3c1e675 (PR-664)
Fetching without tags
Fetching without tags
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/664/head:refs/remotes/origin/PR-664 # 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/664/head:refs/remotes/origin/PR-664
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/664/head:refs/remotes/origin/PR-664 # 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/664/head:refs/remotes/origin/PR-664
Checking out Revision d1d320eeb381660c73f4944cb2e7ebbea3c1e675 (PR-664)
Checking out Revision d1d320eeb381660c73f4944cb2e7ebbea3c1e675 (PR-664)
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/664/head:refs/remotes/origin/PR-664 # 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/664/head:refs/remotes/origin/PR-664
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d1d320eeb381660c73f4944cb2e7ebbea3c1e675
Commit message: "Use dockerCli.Out() / Err()"
Commit message: "Use dockerCli.Out() / Err()"
Commit message: "Use dockerCli.Out() / Err()"
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-664/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] unstash
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-664/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] unstash
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d1d320eeb381660c73f4944cb2e7ebbea3c1e675
 > git config core.sparsecheckout # timeout=10
 > git checkout -f d1d320eeb381660c73f4944cb2e7ebbea3c1e675
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-664/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-664/2/stashes/invocation-image.tgz
[Pipeline] sh
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-664/2/stashes/coverage-invocation-image.tgz
[Pipeline] sh
+ docker load -i invocation-image.tar
+ 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-664/2/stashes/coverage-experimental-invocation-image.tgz
[Pipeline] sh
Loaded image: docker/cnab-app-base:jenkins-app-PR-664-2
[Pipeline] }
[Pipeline] // dir
[Pipeline] unstash
+ docker load -i coverage-experimental-invocation-image.tar
Loaded image: docker/cnab-app-base:jenkins-app-PR-664-2-coverage
[Pipeline] }
[Pipeline] // dir
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ make -f docker.Makefile TAG=jenkins-app-PR-664-2-coverage coverage-run
docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=dev -t docker-app-dev:jenkins-app-PR-664-2 .
Loaded image: docker/cnab-app-base:jenkins-app-PR-664-2-coverage-experimental
[Pipeline] }
[Pipeline] // dir
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ make EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- -f docker.Makefile TAG=jenkins-app-PR-664-2-coverage-experimental coverage-run
docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=dev -t docker-app-dev:jenkins-app-PR-664-2 .
Sending build context to Docker daemon  73.05MB

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
 ---> 89a869dfccab
Step 3/18 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Using cache
 ---> 5fdc421afed7
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> eed561e5be2b
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> fe892aea8a0e
Step 6/18 : ARG GOPROXY
 ---> Using cache
 ---> 5a642b381d9b
Step 7/18 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> b588a4375d85
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> be8d677d1b5c
Step 9/18 : FROM build AS dev
 ---> be8d677d1b5c
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> 8c552a4c55c0
Step 11/18 : ARG DEP_VERSION=v0.5.4
 ---> Using cache
 ---> 1e887dc96b96
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
 ---> f2b5fc59f700
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> 9f68adfe210c
Step 14/18 : ARG GOPROXY
 ---> Using cache
 ---> f142f0d45a3d
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
 ---> 782337f19ee8
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
 ---> 45a6806f0e70
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
 ---> de88995de7d8
Step 18/18 : COPY . .
Sending build context to Docker daemon  73.05MB

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
 ---> ac37de5b2956
Step 3/18 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Using cache
 ---> 1c96fdf43c76
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> 5cba52a4cb36
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> 49395d80a5cf
Step 6/18 : ARG GOPROXY
 ---> Using cache
 ---> d47615751f77
Step 7/18 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> b007bc161e89
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> eaa07ea6703f
Step 9/18 : FROM build AS dev
 ---> eaa07ea6703f
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> bf8f1ec742b9
Step 11/18 : ARG DEP_VERSION=v0.5.4
 ---> Using cache
 ---> da2399cf0bbc
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
 ---> 66ecfc481d07
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> 4b2a8b35af65
Step 14/18 : ARG GOPROXY
 ---> Using cache
 ---> 8e2a0497b0c7
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
 ---> 5d9abf814581
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
 ---> 09f8a5dedc1c
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
 ---> 403dd482ebbe
Step 18/18 : COPY . .
 ---> 56a3ff416b56
[Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed
Successfully built 56a3ff416b56
Successfully tagged docker-app-dev:jenkins-app-PR-664-2
docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-664-2-coverage --network="host" -t docker-app-dev:jenkins-app-PR-664-2 make COMMIT=d1d320ee TAG=jenkins-app-PR-664-2-coverage EXPERIMENTAL=off TEST_RESULTS_PREFIX= coverage
 ---> 96ee4d7130e1
[Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed
Successfully built 96ee4d7130e1
Successfully tagged docker-app-dev:jenkins-app-PR-664-2
docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-664-2-coverage-experimental --network="host" -t docker-app-dev:jenkins-app-PR-664-2 make COMMIT=d1d320ee TAG=jenkins-app-PR-664-2-coverage-experimental EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- 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=d1d320ee -X github.com/docker/app/internal.Version=jenkins-app-PR-664-2-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:53:37Z" -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/image github.com/docker/app/internal/compose github.com/docker/app/internal/formatter github.com/docker/app/internal/formatter/driver github.com/docker/app/internal/formatter/json github.com/docker/app/internal/formatter/yaml github.com/docker/app/internal/inspect github.com/docker/app/internal/log github.com/docker/app/internal/packager github.com/docker/app/internal/slices github.com/docker/app/internal/store github.com/docker/app/internal/yaml github.com/docker/app/loader github.com/docker/app/render github.com/docker/app/specification github.com/docker/app/types github.com/docker/app/types/metadata github.com/docker/app/types/parameters
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-664/2/stashes/binaries.tgz
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-664/src/github.com/docker/app/examples
[Pipeline] {
[Pipeline] unstash
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-664/2/stashes/examples.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-664/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-664/2/stashes/e2e.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
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=d1d320ee -X github.com/docker/app/internal.Version=jenkins-app-PR-664-2-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-04T13:53:37Z" -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/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
+ ./gotestsum-linux --format short-verbose --junitfile e2e-linux.xml --raw-command -- ./test2json-linux -t -p e2e/linux ./docker-app-e2e-linux -test.v --e2e-path=e2e
∅  .
PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (6.11s)
PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (2.96s)
PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (2.99s)
PASS e2e/linux.TestCallCustomStatusAction (12.06s)
PASS e2e/linux.TestCnabParameters (2.96s)
PASS e2e/linux.TestExitErrorCode (0.05s)
=== RUN   TestRender/envvariables/stdout
        --- FAIL: TestRender/envvariables/stdout (1.84s)
            commands_test.go:63: failed to parse source file: /go/src/github.com/docker/app/e2e/commands_test.go: open /go/src/github.com/docker/app/e2e/commands_test.go: no such file or directory
            commands_test.go:63: assertion failed: 
                --- ←
                +++ →
                @@ -1,9 +1 @@
                -version: "3.4"
                -services:
                -  test:
                -    command:
                -    - bash
                -    - -c
                -    - cat bar bam
                -    image: alpine:latest
                 
                : rendering mismatch
FAIL e2e/linux.TestRender/envvariables/stdout (1.84s)
=== RUN   TestRender/envvariables/file
        --- FAIL: TestRender/envvariables/file (1.54s)
            commands_test.go:68: assertion failed: error is not nil: open /tmp/-149871148/actual.yaml: no such file or directory: missing '/tmp/-149871148/actual.yaml' file
FAIL e2e/linux.TestRender/envvariables/file (1.54s)
=== RUN   TestRender/envvariables
    --- FAIL: TestRender/envvariables (3.39s)
FAIL e2e/linux.TestRender/envvariables (3.39s)
=== RUN   TestRender
--- FAIL: TestRender (3.39s)
FAIL e2e/linux.TestRender (3.39s)
=== RUN   TestRenderFormatters
--- FAIL: TestRenderFormatters (1.77s)
    commands_test.go:80: assertion failed: 
        --- expected
        +++ actual
        @@ -1,79 +1 @@
        -{
        -  "networks": {
        -    "back": {
        -      "ipam": {},
        -      "external": false
        -    },
        -    "front": {
        -      "ipam": {},
        -      "external": false
        -    }
        -  },
        -  "services": {
        -    "api": {
        -      "build": {},
        -      "credential_spec": {},
        -      "deploy": {
        -        "resources": {},
        -        "placement": {}
        -      },
        -      "image": "python:3.6",
        -      "networks": {
        -        "back": null,
        -        "front": {
        -          "aliases": [
        -            "api.example.com",
        -            "example.com"
        -          ]
        -        }
        -      }
        -    },
        -    "db": {
        -      "build": {},
        -      "credential_spec": {},
        -      "deploy": {
        -        "resources": {},
        -        "placement": {}
        -      },
        -      "image": "postgres:9.3",
        -      "networks": {
        -        "back": null
        -      }
        -    },
        -    "web": {
        -      "build": {},
        -      "credential_spec": {},
        -      "deploy": {
        -        "resources": {},
        -        "placement": {}
        -      },
        -      "image": "nginx:latest",
        -      "networks": {
        -        "front": null
        -      },
        -      "ports": [
        -        {
        -          "mode": "ingress",
        -          "target": 80,
        -          "published": 8082,
        -          "protocol": "tcp"
        -        }
        -      ],
        -      "volumes": [
        -        {
        -          "type": "volume",
        -          "source": "static",
        -          "target": "/opt/data/static"
        -        }
        -      ]
        -    }
        -  },
        -  "version": "3.6",
        -  "volumes": {
        -    "static": {
        -      "name": "corp/web-static-data",
        -      "external": true
        -    }
        -  }
        -}
         
        
FAIL e2e/linux.TestRenderFormatters (1.77s)
PASS e2e/linux.TestInit (0.12s)
PASS e2e/linux.TestDetectApp (4.92s)
PASS e2e/linux.TestBundle/simple-bundle (1.04s)
PASS e2e/linux.TestBundle/bundle-with-tag (0.34s)
PASS e2e/linux.TestBundle (8.22s)
=== RUN   TestDockerAppLifecycle/withBindMounts
    --- FAIL: TestDockerAppLifecycle/withBindMounts (13.13s)
        commands_test.go:494: failed to parse source file: /go/src/github.com/docker/app/e2e/commands_test.go: open /go/src/github.com/docker/app/e2e/commands_test.go: no such file or directory
FAIL e2e/linux.TestDockerAppLifecycle/withBindMounts (13.13s)
=== RUN   TestDockerAppLifecycle/withoutBindMounts
    --- FAIL: TestDockerAppLifecycle/withoutBindMounts (13.37s)
        commands_test.go:494: failed to parse source file: /go/src/github.com/docker/app/e2e/commands_test.go: open /go/src/github.com/docker/app/e2e/commands_test.go: no such file or directory
FAIL e2e/linux.TestDockerAppLifecycle/withoutBindMounts (13.37s)
=== RUN   TestDockerAppLifecycle
--- FAIL: TestDockerAppLifecycle (26.50s)
FAIL e2e/linux.TestDockerAppLifecycle (26.50s)
PASS e2e/linux.TestCredentials/missing (0.10s)
=== RUN   TestCredentials/full
    --- FAIL: TestCredentials/full (1.50s)
        commands_test.go:415: assertion failed: 
            --- expected
            +++ actual
            @@ -5,4 +5,3 @@
             /var/secret_three/data.txt
             baz
            -Application "full" installed on context "default"
             
            
FAIL e2e/linux.TestCredentials/full (1.50s)
=== RUN   TestCredentials/mixed-credstore
    --- FAIL: TestCredentials/mixed-credstore (1.50s)
        commands_test.go:426: assertion failed: 
            --- expected
            +++ actual
            @@ -5,4 +5,3 @@
             /var/secret_three/data.txt
             xyzzy
            -Application "mixed-credstore" installed on context "default"
             
            
FAIL e2e/linux.TestCredentials/mixed-credstore (1.50s)
=== RUN   TestCredentials/mixed-local-cred
    --- FAIL: TestCredentials/mixed-local-cred (1.51s)
        commands_test.go:437: assertion failed: 
            --- expected
            +++ actual
            @@ -5,4 +5,3 @@
             /var/secret_three/data.txt
             xyzzy
            -Application "mixed-local-cred" installed on context "default"
             
            
FAIL e2e/linux.TestCredentials/mixed-local-cred (1.51s)
PASS e2e/linux.TestCredentials/overload (0.06s)
=== RUN   TestCredentials
--- FAIL: TestCredentials (4.67s)
FAIL e2e/linux.TestCredentials (4.67s)
=== RUN   TestRenderWithEnvFile
--- FAIL: TestRenderWithEnvFile (1.74s)
    envfile_test.go:16: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-664/src/github.com/docker/app/docker-linux app render testdata/envfile/envfile.dockerapp
        ExitCode: 0
        Stdout:   
        Stderr:   
        
        Failures:
        Expected stdout to contain "version: \"3.7\"\nservices:\n  db:\n    environment:\n      COMPANY: mycompany\n      SOME_FILE: /some/file\n      USER: myuser\n    image: busybox:1.30.1"
FAIL e2e/linux.TestRenderWithEnvFile (1.74s)
PASS e2e/linux.TestExamplesAreValid (0.19s)
∅  cmd/cnab-run
∅  cmd/docker-app
✓  internal (4ms)
∅  cmd/cnab-run
∅  cmd/docker-app
✓  internal (16ms)
✓  internal/commands/image (18ms)
✓  internal/commands/image (14ms)
✓  internal/compose (9ms)
✓  internal/formatter (3ms)
✓  internal/commands (405ms)
∅  internal/formatter/driver
∅  internal/formatter/json
∅  internal/formatter/yaml
✓  internal/compose (7ms)
✓  internal/formatter (2ms)
=== RUN   TestImageList
--- FAIL: TestImageList (15.03s)
panic: runtime error: index out of range [recovered]
	panic: runtime error: index out of range

goroutine 185 [running]:
testing.tRunner.func1(0xc00034a900)
	/usr/local/go/src/testing/testing.go:830 +0x392
panic(0xa16300, 0xfdbe10)
	/usr/local/go/src/runtime/panic.go:522 +0x1b5
github.com/docker/app/e2e.insertBundles(0xc00034a900, 0xc00022ef00, 0x6, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/docker/app/e2e/images_test.go:26 +0xfc5
github.com/docker/app/e2e.TestImageList.func1(0xc000156550, 0xf, 0xc000215c40, 0xe, 0xc000097bc0, 0x4, 0x4, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/docker/app/e2e/images_test.go:52 +0x149
github.com/docker/app/e2e.runWithDindSwarmAndRegistry(0xc00034a900, 0xc000499f88)
	/go/src/github.com/docker/app/e2e/helper_test.go:86 +0x1791
github.com/docker/app/e2e.TestImageList(0xc00034a900)
	/go/src/github.com/docker/app/e2e/images_test.go:47 +0x4e
testing.tRunner(0xc00034a900, 0xae09a0)
	/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
	/usr/local/go/src/testing/testing.go:916 +0x35a
FAIL e2e/linux.TestImageList (81.65s)

=== Failed
=== FAIL: e2e/linux TestRender/envvariables/stdout (1.84s)
        --- FAIL: TestRender/envvariables/stdout (1.84s)
            commands_test.go:63: failed to parse source file: /go/src/github.com/docker/app/e2e/commands_test.go: open /go/src/github.com/docker/app/e2e/commands_test.go: no such file or directory
            commands_test.go:63: assertion failed: 
                --- ←
                +++ →
                @@ -1,9 +1 @@
                -version: "3.4"
                -services:
                -  test:
                -    command:
                -    - bash
                -    - -c
                -    - cat bar bam
                -    image: alpine:latest
                 
                : rendering mismatch

=== FAIL: e2e/linux TestRender/envvariables/file (1.54s)
        --- FAIL: TestRender/envvariables/file (1.54s)
            commands_test.go:68: assertion failed: error is not nil: open /tmp/-149871148/actual.yaml: no such file or directory: missing '/tmp/-149871148/actual.yaml' file

=== FAIL: e2e/linux TestRender/envvariables (3.39s)
    --- FAIL: TestRender/envvariables (3.39s)

=== FAIL: e2e/linux TestRender (3.39s)

=== FAIL: e2e/linux TestRenderFormatters (1.77s)
    commands_test.go:80: assertion failed: 
        --- expected
        +++ actual
        @@ -1,79 +1 @@
        -{
        -  "networks": {
        -    "back": {
        -      "ipam": {},
        -      "external": false
        -    },
        -    "front": {
        -      "ipam": {},
        -      "external": false
        -    }
        -  },
        -  "services": {
        -    "api": {
        -      "build": {},
        -      "credential_spec": {},
        -      "deploy": {
        -        "resources": {},
        -        "placement": {}
        -      },
        -      "image": "python:3.6",
        -      "networks": {
        -        "back": null,
        -        "front": {
        -          "aliases": [
        -            "api.example.com",
        -            "example.com"
        -          ]
        -        }
        -      }
        -    },
        -    "db": {
        -      "build": {},
        -      "credential_spec": {},
        -      "deploy": {
        -        "resources": {},
        -        "placement": {}
        -      },
        -      "image": "postgres:9.3",
        -      "networks": {
        -        "back": null
        -      }
        -    },
        -    "web": {
        -      "build": {},
        -      "credential_spec": {},
        -      "deploy": {
        -        "resources": {},
        -        "placement": {}
        -      },
        -      "image": "nginx:latest",
        -      "networks": {
        -        "front": null
        -      },
        -      "ports": [
        -        {
        -          "mode": "ingress",
        -          "target": 80,
        -          "published": 8082,
        -          "protocol": "tcp"
        -        }
        -      ],
        -      "volumes": [
        -        {
        -          "type": "volume",
        -          "source": "static",
        -          "target": "/opt/data/static"
        -        }
        -      ]
        -    }
        -  },
        -  "version": "3.6",
        -  "volumes": {
        -    "static": {
        -      "name": "corp/web-static-data",
        -      "external": true
        -    }
        -  }
        -}
         
        

=== FAIL: e2e/linux TestDockerAppLifecycle/withBindMounts (13.13s)
    --- FAIL: TestDockerAppLifecycle/withBindMounts (13.13s)
        commands_test.go:494: failed to parse source file: /go/src/github.com/docker/app/e2e/commands_test.go: open /go/src/github.com/docker/app/e2e/commands_test.go: no such file or directory

=== FAIL: e2e/linux TestDockerAppLifecycle/withoutBindMounts (13.37s)
    --- FAIL: TestDockerAppLifecycle/withoutBindMounts (13.37s)
        commands_test.go:494: failed to parse source file: /go/src/github.com/docker/app/e2e/commands_test.go: open /go/src/github.com/docker/app/e2e/commands_test.go: no such file or directory

=== FAIL: e2e/linux TestDockerAppLifecycle (26.50s)

=== FAIL: e2e/linux TestCredentials/full (1.50s)
    --- FAIL: TestCredentials/full (1.50s)
        commands_test.go:415: assertion failed: 
            --- expected
            +++ actual
            @@ -5,4 +5,3 @@
             /var/secret_three/data.txt
             baz
            -Application "full" installed on context "default"
             
            

=== FAIL: e2e/linux TestCredentials/mixed-credstore (1.50s)
    --- FAIL: TestCredentials/mixed-credstore (1.50s)
        commands_test.go:426: assertion failed: 
            --- expected
            +++ actual
            @@ -5,4 +5,3 @@
             /var/secret_three/data.txt
             xyzzy
            -Application "mixed-credstore" installed on context "default"
             
            

=== FAIL: e2e/linux TestCredentials/mixed-local-cred (1.51s)
    --- FAIL: TestCredentials/mixed-local-cred (1.51s)
        commands_test.go:437: assertion failed: 
            --- expected
            +++ actual
            @@ -5,4 +5,3 @@
             /var/secret_three/data.txt
             xyzzy
            -Application "mixed-local-cred" installed on context "default"
             
            

=== FAIL: e2e/linux TestCredentials (4.67s)

=== FAIL: e2e/linux TestRenderWithEnvFile (1.74s)
    envfile_test.go:16: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-664/src/github.com/docker/app/docker-linux app render testdata/envfile/envfile.dockerapp
        ExitCode: 0
        Stdout:   
        Stderr:   
        
        Failures:
        Expected stdout to contain "version: \"3.7\"\nservices:\n  db:\n    environment:\n      COMPANY: mycompany\n      SOME_FILE: /some/file\n      USER: myuser\n    image: busybox:1.30.1"

=== FAIL: e2e/linux TestImageList (81.65s)
panic: runtime error: index out of range [recovered]
	panic: runtime error: index out of range

goroutine 185 [running]:
testing.tRunner.func1(0xc00034a900)
	/usr/local/go/src/testing/testing.go:830 +0x392
panic(0xa16300, 0xfdbe10)
	/usr/local/go/src/runtime/panic.go:522 +0x1b5
github.com/docker/app/e2e.insertBundles(0xc00034a900, 0xc00022ef00, 0x6, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/docker/app/e2e/images_test.go:26 +0xfc5
github.com/docker/app/e2e.TestImageList.func1(0xc000156550, 0xf, 0xc000215c40, 0xe, 0xc000097bc0, 0x4, 0x4, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/docker/app/e2e/images_test.go:52 +0x149
github.com/docker/app/e2e.runWithDindSwarmAndRegistry(0xc00034a900, 0xc000499f88)
	/go/src/github.com/docker/app/e2e/helper_test.go:86 +0x1791
github.com/docker/app/e2e.TestImageList(0xc00034a900)
	/go/src/github.com/docker/app/e2e/images_test.go:47 +0x4e
testing.tRunner(0xc00034a900, 0xae09a0)
	/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
	/usr/local/go/src/testing/testing.go:916 +0x35a


DONE 28 tests, 14 failures in 81.654s
time="2019-10-04T13:55:00Z" 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-664/2/artifacts/
[Pipeline] junit
Recording test results
[Pipeline] sh
✓  internal/inspect (56ms)
∅  internal/log
+ docker rmi docker/cnab-app-base:jenkins-app-PR-664-2
Untagged: docker/cnab-app-base:jenkins-app-PR-664-2
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Test Linux
✓  internal/commands (552ms)
∅  internal/formatter/driver
∅  internal/formatter/json
∅  internal/formatter/yaml
✓  internal/slices (5ms)
✓  internal/inspect (53ms)
∅  internal/log
✓  internal/slices (5ms)
✓  internal/packager (30ms)
✓  internal/store (27ms)
✓  internal/yaml (7ms)
✓  internal/store (26ms)
✓  internal/packager (44ms)
✓  loader (10ms)
✓  internal/yaml (7ms)
✓  render (52ms)
✓  specification (8ms)
✓  loader (11ms)
✓  types (19ms)
✓  render (66ms)
✓  types/metadata (6ms)
✓  types/parameters (4ms)
✓  specification (8ms)

DONE 215 tests in 91.461s
CGO_ENABLED=0 go test -tags=""experimental" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d1d320ee -X github.com/docker/app/internal.Version=jenkins-app-PR-664-2-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-04T13:53:37Z" -coverpkg="./..." -c -o _build/docker-app.cov ./cmd/docker-app
✓  types (20ms)
✓  types/metadata (8ms)
✓  types/parameters (4ms)

DONE 215 tests in 93.618s
CGO_ENABLED=0 go test -tags=""" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d1d320ee -X github.com/docker/app/internal.Version=jenkins-app-PR-664-2-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:53:37Z" -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=d1d320ee -X github.com/docker/app/internal.Version=jenkins-app-PR-664-2-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-04T13:53:37Z" -v ./e2e
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=d1d320ee -X github.com/docker/app/internal.Version=jenkins-app-PR-664-2-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:53:37Z" -v ./e2e

=== Failed
=== FAIL: e2e TestRender/envvariables/stdout (1.85s)
        --- FAIL: TestRender/envvariables/stdout (1.85s)
            commands_test.go:63: assertion failed: 
                --- ←
                +++ →
                @@ -1,9 +1 @@
                -version: "3.4"
                -services:
                -  test:
                -    command:
                -    - bash
                -    - -c
                -    - cat bar bam
                -    image: alpine:latest
                 
                : rendering mismatch

=== FAIL: e2e TestRender/envvariables/file (1.56s)
        --- FAIL: TestRender/envvariables/file (1.56s)
            commands_test.go:68: assertion failed: error is not nil: open /tmp/-586911969/actual.yaml: no such file or directory: missing '/tmp/-586911969/actual.yaml' file

=== FAIL: e2e TestRender/envvariables (3.41s)
    --- FAIL: TestRender/envvariables (3.41s)

=== FAIL: e2e TestRender (3.41s)

=== FAIL: e2e TestRenderFormatters (1.80s)
    commands_test.go:80: assertion failed: 
        --- expected
        +++ actual
        @@ -1,79 +1 @@
        -{
        -  "networks": {
        -    "back": {
        -      "ipam": {},
        -      "external": false
        -    },
        -    "front": {
        -      "ipam": {},
        -      "external": false
        -    }
        -  },
        -  "services": {
        -    "api": {
        -      "build": {},
        -      "credential_spec": {},
        -      "deploy": {
        -        "resources": {},
        -        "placement": {}
        -      },
        -      "image": "python:3.6",
        -      "networks": {
        -        "back": null,
        -        "front": {
        -          "aliases": [
        -            "api.example.com",
        -            "example.com"
        -          ]
        -        }
        -      }
        -    },
        -    "db": {
        -      "build": {},
        -      "credential_spec": {},
        -      "deploy": {
        -        "resources": {},
        -        "placement": {}
        -      },
        -      "image": "postgres:9.3",
        -      "networks": {
        -        "back": null
        -      }
        -    },
        -    "web": {
        -      "build": {},
        -      "credential_spec": {},
        -      "deploy": {
        -        "resources": {},
        -        "placement": {}
        -      },
        -      "image": "nginx:latest",
        -      "networks": {
        -        "front": null
        -      },
        -      "ports": [
        -        {
        -          "mode": "ingress",
        -          "target": 80,
        -          "published": 8082,
        -          "protocol": "tcp"
        -        }
        -      ],
        -      "volumes": [
        -        {
        -          "type": "volume",
        -          "source": "static",
        -          "target": "/opt/data/static"
        -        }
        -      ]
        -    }
        -  },
        -  "version": "3.6",
        -  "volumes": {
        -    "static": {
        -      "name": "corp/web-static-data",
        -      "external": true
        -    }
        -  }
        -}
         
        

=== FAIL: e2e TestDockerAppLifecycle/withBindMounts (12.77s)
    --- FAIL: TestDockerAppLifecycle/withBindMounts (12.77s)
        commands_test.go:494: assertion failed: expression is false: exp.MatchString(combined): expected "WARNING: installing over previously failed installation \"TestDockerAppLifecycle_withBindMounts\"" != actual "Creating network TestDockerAppLifecycle_withBindMounts_front\nCreating network TestDockerAppLifecycle_withBindMounts_back\nCreating service TestDockerAppLifecycle_withBindMounts_api\nCreating service TestDockerAppLifecycle_withBindMounts_web\nCreating service TestDockerAppLifecycle_withBindMounts_db\n"

=== FAIL: e2e TestDockerAppLifecycle/withoutBindMounts (12.94s)
    --- FAIL: TestDockerAppLifecycle/withoutBindMounts (12.94s)
        commands_test.go:494: assertion failed: expression is false: exp.MatchString(combined): expected "WARNING: installing over previously failed installation \"TestDockerAppLifecycle_withoutBindMounts\"" != actual "Creating network TestDockerAppLifecycle_withoutBindMounts_back\nCreating network TestDockerAppLifecycle_withoutBindMounts_front\nCreating service TestDockerAppLifecycle_withoutBindMounts_web\nCreating service TestDockerAppLifecycle_withoutBindMounts_db\nCreating service TestDockerAppLifecycle_withoutBindMounts_api\n"

=== FAIL: e2e TestDockerAppLifecycle (25.71s)

=== FAIL: e2e TestCredentials/full (1.47s)
    --- FAIL: TestCredentials/full (1.47s)
        commands_test.go:415: assertion failed: 
            --- expected
            +++ actual
            @@ -5,4 +5,3 @@
             /var/secret_three/data.txt
             baz
            -Application "full" installed on context "default"
             
            

=== FAIL: e2e TestCredentials/mixed-credstore (1.50s)
    --- FAIL: TestCredentials/mixed-credstore (1.50s)
        commands_test.go:426: assertion failed: 
            --- expected
            +++ actual
            @@ -5,4 +5,3 @@
             /var/secret_three/data.txt
             xyzzy
            -Application "mixed-credstore" installed on context "default"
             
            

=== FAIL: e2e TestCredentials/mixed-local-cred (1.50s)
    --- FAIL: TestCredentials/mixed-local-cred (1.50s)
        commands_test.go:437: assertion failed: 
            --- expected
            +++ actual
            @@ -5,4 +5,3 @@
             /var/secret_three/data.txt
             xyzzy
            -Application "mixed-local-cred" installed on context "default"
             
            

=== FAIL: e2e TestCredentials (4.63s)

=== FAIL: e2e TestRenderWithEnvFile (1.74s)
    envfile_test.go:16: assertion failed: 
        Command:  docker app render testdata/envfile/envfile.dockerapp
        ExitCode: 0
        Stdout:   
        Stderr:   
        
        Failures:
        Expected stdout to contain "version: \"3.7\"\nservices:\n  db:\n    environment:\n      COMPANY: mycompany\n      SOME_FILE: /some/file\n      USER: myuser\n    image: busybox:1.30.1"

=== FAIL: e2e TestImageList (78.14s)
panic: runtime error: index out of range [recovered]
	panic: runtime error: index out of range

goroutine 174 [running]:
testing.tRunner.func1(0xc0000c1b00)
	/usr/local/go/src/testing/testing.go:830 +0x392
panic(0xa16300, 0xfdbe10)
	/usr/local/go/src/runtime/panic.go:522 +0x1b5
github.com/docker/app/e2e.insertBundles(0xc0000c1b00, 0xc000236480, 0x6, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/docker/app/e2e/images_test.go:26 +0xfc5
github.com/docker/app/e2e.TestImageList.func1(0xc0004ef910, 0xf, 0xc00017d9c0, 0xe, 0xc00008e680, 0x4, 0x4, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/docker/app/e2e/images_test.go:52 +0x149
github.com/docker/app/e2e.runWithDindSwarmAndRegistry(0xc0000c1b00, 0xc0003bbf88)
	/go/src/github.com/docker/app/e2e/helper_test.go:86 +0x1791
github.com/docker/app/e2e.TestImageList(0xc0000c1b00)
	/go/src/github.com/docker/app/e2e/images_test.go:47 +0x4e
testing.tRunner(0xc0000c1b00, 0xae09a0)
	/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
	/usr/local/go/src/testing/testing.go:916 +0x35a
FAIL	github.com/docker/app/e2e	78.143s


DONE 28 tests, 14 failures in 79.772s
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-664-2-coverage coverage-results
docker cp docker-app-cov-jenkins-app-PR-664-2-coverage:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov
docker cp docker-app-cov-jenkins-app-PR-664-2-coverage:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results
docker rm docker-app-cov-jenkins-app-PR-664-2-coverage
docker-app-cov-jenkins-app-PR-664-2-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-664/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-664/2/artifacts/
[Pipeline] junit
Recording test results
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-664-2-coverage
Untagged: docker/cnab-app-base:jenkins-app-PR-664-2-coverage
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Coverage

=== Failed
=== FAIL: e2e TestRender/envvariables/stdout (1.56s)
        --- FAIL: TestRender/envvariables/stdout (1.56s)
            commands_test.go:63: assertion failed: 
                --- ←
                +++ →
                @@ -1,9 +1 @@
                -version: "3.4"
                -services:
                -  test:
                -    command:
                -    - bash
                -    - -c
                -    - cat bar bam
                -    image: alpine:latest
                 
                : rendering mismatch

=== FAIL: e2e TestRender/envvariables/file (1.36s)
        --- FAIL: TestRender/envvariables/file (1.36s)
            commands_test.go:68: assertion failed: error is not nil: open /tmp/-490664496/actual.yaml: no such file or directory: missing '/tmp/-490664496/actual.yaml' file

=== FAIL: e2e TestRender/envvariables (2.92s)
    --- FAIL: TestRender/envvariables (2.92s)

=== FAIL: e2e TestRender (2.92s)

=== FAIL: e2e TestRenderFormatters (1.56s)
    commands_test.go:80: assertion failed: 
        --- expected
        +++ actual
        @@ -1,79 +1 @@
        -{
        -  "networks": {
        -    "back": {
        -      "ipam": {},
        -      "external": false
        -    },
        -    "front": {
        -      "ipam": {},
        -      "external": false
        -    }
        -  },
        -  "services": {
        -    "api": {
        -      "build": {},
        -      "credential_spec": {},
        -      "deploy": {
        -        "resources": {},
        -        "placement": {}
        -      },
        -      "image": "python:3.6",
        -      "networks": {
        -        "back": null,
        -        "front": {
        -          "aliases": [
        -            "api.example.com",
        -            "example.com"
        -          ]
        -        }
        -      }
        -    },
        -    "db": {
        -      "build": {},
        -      "credential_spec": {},
        -      "deploy": {
        -        "resources": {},
        -        "placement": {}
        -      },
        -      "image": "postgres:9.3",
        -      "networks": {
        -        "back": null
        -      }
        -    },
        -    "web": {
        -      "build": {},
        -      "credential_spec": {},
        -      "deploy": {
        -        "resources": {},
        -        "placement": {}
        -      },
        -      "image": "nginx:latest",
        -      "networks": {
        -        "front": null
        -      },
        -      "ports": [
        -        {
        -          "mode": "ingress",
        -          "target": 80,
        -          "published": 8082,
        -          "protocol": "tcp"
        -        }
        -      ],
        -      "volumes": [
        -        {
        -          "type": "volume",
        -          "source": "static",
        -          "target": "/opt/data/static"
        -        }
        -      ]
        -    }
        -  },
        -  "version": "3.6",
        -  "volumes": {
        -    "static": {
        -      "name": "corp/web-static-data",
        -      "external": true
        -    }
        -  }
        -}
         
        

=== FAIL: e2e TestDockerAppLifecycle/withBindMounts (16.93s)
    --- FAIL: TestDockerAppLifecycle/withBindMounts (16.93s)
        commands_test.go:494: assertion failed: expression is false: exp.MatchString(combined): expected "WARNING: installing over previously failed installation \"TestDockerAppLifecycle_withBindMounts\"" != actual "Creating network TestDockerAppLifecycle_withBindMounts_back\nCreating network TestDockerAppLifecycle_withBindMounts_front\nCreating service TestDockerAppLifecycle_withBindMounts_web\nCreating service TestDockerAppLifecycle_withBindMounts_db\nCreating service TestDockerAppLifecycle_withBindMounts_api\n"

=== FAIL: e2e TestDockerAppLifecycle/withoutBindMounts (17.23s)
    --- FAIL: TestDockerAppLifecycle/withoutBindMounts (17.23s)
        commands_test.go:494: assertion failed: expression is false: exp.MatchString(combined): expected "WARNING: installing over previously failed installation \"TestDockerAppLifecycle_withoutBindMounts\"" != actual "Creating network TestDockerAppLifecycle_withoutBindMounts_back\nCreating network TestDockerAppLifecycle_withoutBindMounts_front\nCreating service TestDockerAppLifecycle_withoutBindMounts_api\nCreating service TestDockerAppLifecycle_withoutBindMounts_web\nCreating service TestDockerAppLifecycle_withoutBindMounts_db\n"

=== FAIL: e2e TestDockerAppLifecycle (34.16s)

=== FAIL: e2e TestCredentials/full (1.84s)
    --- FAIL: TestCredentials/full (1.84s)
        commands_test.go:415: assertion failed: 
            --- expected
            +++ actual
            @@ -5,4 +5,3 @@
             /var/secret_three/data.txt
             baz
            -Application "full" installed on context "default"
             
            

=== FAIL: e2e TestCredentials/mixed-credstore (1.28s)
    --- FAIL: TestCredentials/mixed-credstore (1.28s)
        commands_test.go:426: assertion failed: 
            --- expected
            +++ actual
            @@ -5,4 +5,3 @@
             /var/secret_three/data.txt
             xyzzy
            -Application "mixed-credstore" installed on context "default"
             
            

=== FAIL: e2e TestCredentials/mixed-local-cred (1.27s)
    --- FAIL: TestCredentials/mixed-local-cred (1.27s)
        commands_test.go:437: assertion failed: 
            --- expected
            +++ actual
            @@ -5,4 +5,3 @@
             /var/secret_three/data.txt
             xyzzy
            -Application "mixed-local-cred" installed on context "default"
             
            

=== FAIL: e2e TestCredentials (4.57s)

=== FAIL: e2e TestRenderWithEnvFile (1.55s)
    envfile_test.go:16: assertion failed: 
        Command:  docker app render testdata/envfile/envfile.dockerapp
        ExitCode: 0
        Stdout:   
        Stderr:   
        
        Failures:
        Expected stdout to contain "version: \"3.7\"\nservices:\n  db:\n    environment:\n      COMPANY: mycompany\n      SOME_FILE: /some/file\n      USER: myuser\n    image: busybox:1.30.1"

=== FAIL: e2e TestImageList (89.94s)
panic: runtime error: index out of range [recovered]
	panic: runtime error: index out of range

goroutine 189 [running]:
testing.tRunner.func1(0xc0000a3c00)
	/usr/local/go/src/testing/testing.go:830 +0x392
panic(0xa16300, 0xfdbe10)
	/usr/local/go/src/runtime/panic.go:522 +0x1b5
github.com/docker/app/e2e.insertBundles(0xc0000a3c00, 0xc0001545a0, 0x6, 0x6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/docker/app/e2e/images_test.go:26 +0xfc5
github.com/docker/app/e2e.TestImageList.func1(0xc0002fd7f0, 0xf, 0xc0001659e0, 0xe, 0xc00020c080, 0x4, 0x4, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/docker/app/e2e/images_test.go:52 +0x149
github.com/docker/app/e2e.runWithDindSwarmAndRegistry(0xc0000a3c00, 0xc000357f88)
	/go/src/github.com/docker/app/e2e/helper_test.go:86 +0x1791
github.com/docker/app/e2e.TestImageList(0xc0000a3c00)
	/go/src/github.com/docker/app/e2e/images_test.go:47 +0x4e
testing.tRunner(0xc0000a3c00, 0xae09a0)
	/usr/local/go/src/testing/testing.go:865 +0xc0
created by testing.(*T).Run
	/usr/local/go/src/testing/testing.go:916 +0x35a
FAIL	github.com/docker/app/e2e	89.939s


DONE 28 tests, 14 failures in 91.511s
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-664-2-coverage-experimental coverage-results
docker cp docker-app-cov-jenkins-app-PR-664-2-coverage-experimental:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov
docker cp docker-app-cov-jenkins-app-PR-664-2-coverage-experimental:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results
docker rm docker-app-cov-jenkins-app-PR-664-2-coverage-experimental
docker-app-cov-jenkins-app-PR-664-2-coverage-experimental
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-664/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-664/2/artifacts/
[Pipeline] junit
Recording test results
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-664-2-coverage-experimental
Untagged: docker/cnab-app-base:jenkins-app-PR-664-2-coverage-experimental
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

ERROR: script returned exit code 1
Finished: FAILURE