Skip to content
Failed

Console Output

Skipping 44 KB.. Full Log
e0ec5610455a: Pulling fs layer
96d705baf026: Pulling fs layer
39007eb46008: Pulling fs layer
4e549f0f5e64: Pulling fs layer
c0058a8c71f2: Pulling fs layer
2f8d98df0991: Pulling fs layer
96465440c208: Waiting
16a3d8aca6cd: Waiting
e0ec5610455a: Waiting
96d705baf026: Waiting
39007eb46008: Waiting
4e549f0f5e64: Waiting
c0058a8c71f2: Waiting
2f8d98df0991: Waiting
2ea1f7804402: Verifying Checksum
2ea1f7804402: Download complete
bbab4ec87ac4: Verifying Checksum
bbab4ec87ac4: Download complete
(15/95) Wrote github.com/docker/go@v1.5.1-1
(16/95) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2
(17/95) Wrote github.com/docker/go-events@master
(18/95) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18
(19/95) Wrote github.com/docker/go-connections@v0.4.0
(20/95) Wrote github.com/docker/go-units@v0.3.3
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
(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
e0ec5610455a: Verifying Checksum
e0ec5610455a: Download complete
4e549f0f5e64: Verifying Checksum
4e549f0f5e64: Download complete
Sending build context to Docker daemon  73.05MB

Step 1/14 : ARG ALPINE_VERSION=3.10.1
Step 2/14 : FROM golang:1.13.0 AS build
1.13.0: Pulling from library/golang
4a56a430b2ba: Pulling fs layer
4b5cacb629f5: Pulling fs layer
14408c8d4f9a: Pulling fs layer
ea67eaa7dd42: Pulling fs layer
a2a2197e145e: Pulling fs layer
36ac8c11a11f: Pulling fs layer
ecd7d9a67e26: Pulling fs layer
a2a2197e145e: Waiting
36ac8c11a11f: Waiting
ecd7d9a67e26: Waiting
ea67eaa7dd42: Waiting
4b5cacb629f5: Verifying Checksum
4b5cacb629f5: Download complete
14408c8d4f9a: Verifying Checksum
14408c8d4f9a: Download complete
(26/95) Wrote github.com/hashicorp/go-version@v1.1.0
(27/95) Wrote github.com/gorilla/mux@v1.7.1
(28/95) Wrote github.com/hashicorp/golang-lru@v0.5.1
4a56a430b2ba: Verifying Checksum
4a56a430b2ba: Download complete
(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
ea67eaa7dd42: Verifying Checksum
ea67eaa7dd42: Download complete
ecd7d9a67e26: Verifying Checksum
ecd7d9a67e26: Download complete
(32/95) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2
2f8d98df0991: Verifying Checksum
2f8d98df0991: Download complete
4ae16bd47783: Pull complete
(33/95) Wrote github.com/mattn/go-shellwords@v1.0.5
(34/95) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1
(35/95) Wrote github.com/json-iterator/go@v1.1.6
bbab4ec87ac4: Pull complete
2ea1f7804402: Pull complete
(36/95) Wrote github.com/googleapis/gnostic@v0.2.0
a2a2197e145e: Download complete
(37/95) Wrote github.com/mitchellh/mapstructure@v1.1.2
(38/95) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580
(39/95) Wrote github.com/docker/compose-on-kubernetes@v0.4.21
(40/95) Wrote github.com/modern-go/concurrent@1.0.3
(41/95) Wrote github.com/miekg/pkcs11@master
(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
36ac8c11a11f: Verifying Checksum
36ac8c11a11f: Download complete
96465440c208: Pull complete
(46/95) Wrote github.com/pkg/errors@v0.8.1
(47/95) Wrote github.com/opencontainers/image-spec@v1.0.1
(48/95) Wrote github.com/golang/protobuf@v1.3.1
(49/95) Wrote github.com/prometheus/client_model@master
(50/95) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4
(51/95) Wrote github.com/prometheus/client_golang@v0.8.0
(52/95) Wrote github.com/docker/cli@d83cd90464377d4164c8f70248d064b979e5ca98
16a3d8aca6cd: Pull complete
(53/95) Wrote github.com/qri-io/jsonpointer@v0.1.0
(54/95) Wrote github.com/prometheus/procfs@master
4a56a430b2ba: Pull complete
(55/95) Wrote github.com/prometheus/common@v0.2.0
(56/95) Wrote github.com/qri-io/jsonschema@v0.1.1
4b5cacb629f5: Pull complete
(57/95) Wrote github.com/sirupsen/logrus@v1.4.1
(58/95) Wrote github.com/syndtr/gocapability@master
(59/95) Wrote github.com/spf13/pflag@master
14408c8d4f9a: Pull complete
(60/95) Wrote github.com/spf13/cobra@v0.0.5
(61/95) Wrote github.com/wadey/gocovmerge@master
(62/95) Wrote github.com/xeipuuv/gojsonreference@master
(63/95) Wrote github.com/opencontainers/runc@v1.0.0-rc7
(64/95) Wrote github.com/xeipuuv/gojsonpointer@master
(65/95) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d
ea67eaa7dd42: Pull complete
(66/95) Wrote github.com/containerd/containerd@master
(67/95) Wrote golang.org/x/sync@master
(68/95) Wrote golang.org/x/oauth2@master
(69/95) Wrote golang.org/x/crypto@master
e0ec5610455a: Pull complete
96d705baf026: Pull complete
39007eb46008: Pull complete
(70/95) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc
(71/95) Wrote golang.org/x/time@master
(72/95) Wrote golang.org/x/net@master
(73/95) Wrote gopkg.in/inf.v0@v0.9.1
a2a2197e145e: Pull complete
(74/95) Wrote google.golang.org/appengine@v1.5.0
(75/95) Wrote gopkg.in/yaml.v2@v2.2.3
(76/95) Wrote gotest.tools@v2.3.0
(77/95) Wrote k8s.io/klog@v0.2.0
4e549f0f5e64: Pull complete
c0058a8c71f2: Pull complete
36ac8c11a11f: Pull complete
ecd7d9a67e26: Pull complete
Digest: sha256:90d554b5ae59cb63d2bf42bdfcd60aa1feb4794d9e3a9cbb9d2deb477c088be0
Status: Downloaded newer image for golang:1.13.0
 ---> c4d6fdf2260a
Step 3/14 : RUN apt-get update -qq && apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
(78/95) Wrote github.com/coreos/etcd@v3.3.12
(79/95) Wrote github.com/Azure/go-ansiterm@master
(80/95) Wrote k8s.io/utils@master
(81/95) Wrote k8s.io/apimachinery@kubernetes-1.14.1
(82/95) Wrote sigs.k8s.io/yaml@v1.1.0
(83/95) Wrote golang.org/x/sys@master
(84/95) Wrote github.com/Masterminds/semver@v1.4.2
(85/95) Wrote google.golang.org/grpc@v1.19.1
(86/95) Wrote github.com/theupdateframework/notary@v0.6.1
(87/95) Wrote golang.org/x/text@v0.3.0
(88/95) Wrote golang.org/x/tools@master
(89/95) Wrote k8s.io/client-go@kubernetes-1.14.1
 ---> Running in 2c36a475ecb2
(90/95) Wrote google.golang.org/genproto@master
(91/95) Wrote cloud.google.com/go@v0.37.4
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 9 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 (363 kB/s)
Selecting previously unselected package uuid-runtime.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 15394 files and directories currently installed.)
Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ...
Unpacking uuid-runtime (2.33.1-0.1) ...
Setting up uuid-runtime (2.33.1-0.1) ...
Adding group `uuidd' (GID 102) ...
Done.
Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory
Adding system user `uuidd' (UID 101) ...
Adding new user `uuidd' (UID 101) with group `uuidd' ...
Not creating home directory `/run/uuidd'.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
(92/95) Wrote github.com/gogo/protobuf@v1.2.1
Removing intermediate container 2c36a475ecb2
 ---> 05cf978414c3
Step 4/14 : WORKDIR /go/src/github.com/docker/app/
 ---> Running in a54f9986c109
Removing intermediate container a54f9986c109
 ---> 4de8dcf64b3e
Step 5/14 : COPY . .
2f8d98df0991: Pull complete
Digest: sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705
Status: Downloaded newer image for dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705
 ---> 518d5e4626aa
Step 2/8 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Running in b576213ba996
Removing intermediate container b576213ba996
 ---> 527065821141
Step 3/8 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Running in 7a81b6bd8293
Reading package lists...
Building dependency tree...
Reading state information...
coreutils is already the newest version (8.30-3).
coreutils set to manually installed.
util-linux is already the newest version (2.33.1-0.1).
util-linux set to manually installed.
The following NEW packages will be installed:
  uuid-runtime
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 95.2 kB of archives.
After this operation, 211 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 95.2 kB in 0s (362 kB/s)
Selecting previously unselected package uuid-runtime.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 25419 files and directories currently installed.)
Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ...
Unpacking uuid-runtime (2.33.1-0.1) ...
Setting up uuid-runtime (2.33.1-0.1) ...
Adding group `uuidd' (GID 102) ...
Done.
Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory
Adding system user `uuidd' (UID 101) ...
Adding new user `uuidd' (UID 101) with group `uuidd' ...
Not creating home directory `/run/uuidd'.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
 ---> 8c55c0766b1d
Step 6/14 : ARG EXPERIMENTAL="off"
 ---> Running in 8d8760b847ea
Removing intermediate container 8d8760b847ea
 ---> 3c504da6bddb
Step 7/14 : ARG TAG="unknown"
 ---> Running in 4fed330e849d
Removing intermediate container 4fed330e849d
 ---> e3dec5ac25da
Step 8/14 : RUN make EXPERIMENTAL=${EXPERIMENTAL} BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run
 ---> Running in 9e567920a068
(93/95) Wrote k8s.io/api@kubernetes-1.14.1
CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=c8d3cb0c -X github.com/docker/app/internal.Version=jenkins-app-PR-671-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:20:23Z" -o bin/cnab-run ./cmd/cnab-run
Removing intermediate container 7a81b6bd8293
 ---> 39df3df53640
Step 4/8 : WORKDIR /go/src/github.com/docker/cli
 ---> Running in fac256928d8e
Removing intermediate container fac256928d8e
 ---> e22745bd21ce
Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Running in 5e824387ebb7
Cloning into '.'...
(94/95) Wrote github.com/docker/docker@master
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 5e824387ebb7
 ---> 6445dcd155a8
Step 6/8 : ARG GOPROXY
 ---> Running in 41c86e322c17
Removing intermediate container 41c86e322c17
 ---> 88d998651a91
Step 7/8 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Running in 1a6aa307be6d
./scripts/build/osx
Building build/docker-darwin-amd64
Removing intermediate container 9e567920a068
 ---> dd83675c960d
Step 9/14 : FROM alpine:${ALPINE_VERSION} as invocation
3.10.1: Pulling from library/alpine
050382585609: Pulling fs layer
050382585609: Verifying Checksum
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 0efb68bd1698
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 0efb68bd1698
 ---> 825da6840503
Step 11/14 : USER cnab
 ---> Running in 1e0038130420
Removing intermediate container 1e0038130420
 ---> f161683cff79
Step 12/14 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run
 ---> 797a8ae01101
Step 13/14 : WORKDIR /cnab/app
 ---> Running in 5498e56a66ba
Removing intermediate container 5498e56a66ba
 ---> 3dcf216ac577
Step 14/14 : CMD /cnab/app/run
 ---> Running in efd9c142804f
Removing intermediate container efd9c142804f
 ---> c2fb5ed318ce
[Warning] One or more build-args [GOPROXY COMMIT] were not consumed
Successfully built c2fb5ed318ce
Successfully tagged docker/cnab-app-base:jenkins-app-PR-671-2
docker save docker/cnab-app-base:jenkins-app-PR-671-2 -o _build/invocation-image.tar
[Pipeline] sh
+ make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-671-2-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag
docker tag docker/cnab-app-base:jenkins-app-PR-671-2 docker/cnab-app-base:jenkins-app-PR-671-2-coverage
docker save docker/cnab-app-base:jenkins-app-PR-671-2-coverage -o _build/coverage-invocation-image.tar
(95/95) Wrote k8s.io/kubernetes@v1.14.1
vendor is correct
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] deleteDir
[Pipeline] sh
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
+ make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-671-2-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag
docker tag docker/cnab-app-base:jenkins-app-PR-671-2 docker/cnab-app-base:jenkins-app-PR-671-2-coverage-experimental
docker save docker/cnab-app-base:jenkins-app-PR-671-2-coverage-experimental -o _build/coverage-experimental-invocation-image.tar
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] stash
Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-671/2/stashes/invocation-image.tgz
[Pipeline] stash
Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-671/2/stashes/coverage-invocation-image.tgz
[Pipeline] stash
./scripts/build/windows
Generating windows resources
Building build/docker-windows-amd64
Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-671/2/stashes/coverage-experimental-invocation-image.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app
[Pipeline] {
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-671-2
Untagged: docker/cnab-app-base:jenkins-app-PR-671-2
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-671-2-coverage
Untagged: docker/cnab-app-base:jenkins-app-PR-671-2-coverage
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-671-2-coverage-experimental
Untagged: docker/cnab-app-base:jenkins-app-PR-671-2-coverage-experimental
Deleted: sha256:c2fb5ed318ce0f747855a3c3ca0ca68b8b1dee1c068e459987f7a1c5839f0fc0
Deleted: sha256:3dcf216ac577019fdd022ed3e734268b893a1dc7c1837465ea8535e5245fc8c8
Deleted: sha256:797a8ae01101bb0ee49d3e925ada659098ff052c968a28baa6093df8dc71c5d8
Deleted: sha256:e096915232ac2cf4b68f568a3b8c617471830afb6ff54b72b4e18966fd76aaa4
Deleted: sha256:f161683cff791fbeda74f63317167bd297e28c7d49931bfb8b7645342ad8d0a9
Deleted: sha256:825da6840503f944278cd26d6b84a0cc1a3465c79b25b0d659f5981ed31a4e17
Deleted: sha256:cae21c28c9850555f8c8ebaed89df47738c6de24a10b3a0d9a13ee4386d3cb25
[Pipeline] }
[Pipeline] // dir
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
WARNING: binary creates a Linux executable. Use cross for macOS or Windows.
./scripts/build/binary
Building statically linked build/docker-linux-amd64
Removing intermediate container 1a6aa307be6d
 ---> 339422a5a239
Step 8/8 : WORKDIR /go/src/github.com/docker/app/
 ---> Running in 22c81a87258b
Removing intermediate container 22c81a87258b
 ---> 66a3996d0692
[Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed
Successfully built 66a3996d0692
Successfully tagged docker-app-cli:jenkins-app-PR-671-2
docker create --name docker-app-cli-jenkins-app-PR-671-2 docker-app-cli:jenkins-app-PR-671-2 noop
431b1625afaa395d6db4fb00faa9f2e38d8f4a11492a946b51e63a7ebdeeeef9
docker cp docker-app-cli-jenkins-app-PR-671-2:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux
docker cp docker-app-cli-jenkins-app-PR-671-2:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin
docker cp docker-app-cli-jenkins-app-PR-671-2:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe
docker rm docker-app-cli-jenkins-app-PR-671-2
docker-app-cli-jenkins-app-PR-671-2
docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=cross -t docker-app-cross:jenkins-app-PR-671-2  .
Sending build context to Docker daemon  73.05MB

Step 1/22 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
 ---> 518d5e4626aa
Step 2/22 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Using cache
 ---> 527065821141
Step 3/22 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Using cache
 ---> 39df3df53640
Step 4/22 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> e22745bd21ce
Step 5/22 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> 6445dcd155a8
Step 6/22 : ARG GOPROXY
 ---> Using cache
 ---> 88d998651a91
Step 7/22 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> 339422a5a239
Step 8/22 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> 66a3996d0692
Step 9/22 : FROM build AS dev
 ---> 66a3996d0692
Step 10/22 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Running in 656231ed668c
Removing intermediate container 656231ed668c
 ---> 7f782695450f
Step 11/22 : ARG DEP_VERSION=v0.5.4
 ---> Running in c7abe33be871
Removing intermediate container c7abe33be871
 ---> bc07ec57602b
Step 12/22 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 &&     chmod +x /usr/bin/dep
 ---> Running in 1dc0bfda0ae3
  % 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   4879      0 --:--:-- --:--:-- --:--:--  4879

100 10.5M  100 10.5M    0     0  40.4M      0 --:--:-- --:--:-- --:--:-- 40.4M
Removing intermediate container 1dc0bfda0ae3
 ---> 2d5f433e0ede
Step 13/22 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Running in d4390a7ffcdb
Removing intermediate container d4390a7ffcdb
 ---> eb3b1796d09d
Step 14/22 : ARG GOPROXY
 ---> Running in 73fe51be2c4a
Removing intermediate container 73fe51be2c4a
 ---> 8b779ad7e8ee
Step 15/22 : RUN mkdir $GOPATH/src/gotest.tools &&     git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum &&     cd $GOPATH/src/gotest.tools/gotestsum &&     git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION &&     GO111MODULE=on GOOS=linux   go build -o /usr/local/bin/gotestsum-linux       gotest.tools/gotestsum &&     GO111MODULE=on GOOS=darwin  go build -o /usr/local/bin/gotestsum-darwin      gotest.tools/gotestsum &&     GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum &&     ln -s gotestsum-linux /usr/local/bin/gotestsum
 ---> Running in 220bad1797f6
go: finding github.com/onsi/ginkgo v1.8.0
go: finding github.com/spf13/pflag v1.0.1
go: finding github.com/sirupsen/logrus v1.0.5
go: finding github.com/google/go-cmp v0.2.0
go: finding github.com/pkg/errors v0.8.0
go: finding github.com/fatih/color v1.6.0
go: finding github.com/jonboulle/clockwork v0.1.0
go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2
go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: finding github.com/onsi/gomega v1.4.3
go: finding gotest.tools v2.1.0+incompatible
go: finding github.com/mattn/go-isatty v0.0.3
go: finding github.com/stretchr/testify v1.3.0
go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: finding github.com/mattn/go-colorable v0.0.9
go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: finding golang.org/x/text v0.3.0
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding github.com/stretchr/objx v0.1.0
go: finding github.com/hpcloud/tail v1.0.0
go: finding github.com/onsi/ginkgo v1.6.0
go: finding github.com/golang/protobuf v1.2.0
go: finding github.com/davecgh/go-spew v1.1.0
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: finding github.com/pmezard/go-difflib v1.0.0
go: downloading gotest.tools v2.1.0+incompatible
go: extracting gotest.tools v2.1.0+incompatible
go: downloading github.com/pkg/errors v0.8.0
go: downloading github.com/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 golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: downloading github.com/jonboulle/clockwork v0.1.0
go: extracting github.com/pkg/errors v0.8.0
go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: extracting github.com/sirupsen/logrus v1.0.5
go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: extracting github.com/spf13/pflag v1.0.1
go: extracting github.com/jonboulle/clockwork v0.1.0
go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: extracting github.com/fatih/color v1.6.0
go: downloading github.com/mattn/go-isatty v0.0.3
go: downloading github.com/mattn/go-colorable v0.0.9
go: extracting github.com/mattn/go-colorable v0.0.9
go: extracting github.com/mattn/go-isatty v0.0.3
go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
Removing intermediate container 220bad1797f6
 ---> e7053b0cc5ec
Step 16/22 : RUN GOOS=linux   go build -o /usr/local/bin/test2json-linux       cmd/test2json &&     GOOS=darwin  go build -o /usr/local/bin/test2json-darwin      cmd/test2json &&     GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json
 ---> Running in cdab41f8bd50
Removing intermediate container cdab41f8bd50
 ---> bde40fbb2792
Step 17/22 : RUN go get -d gopkg.in/mjibson/esc.v0 &&     cd /go/src/github.com/mjibson/esc &&     go build -v -o /usr/bin/esc . &&     rm -rf /go/src/* /go/pkg/* /go/bin/*
 ---> Running in 3d13b440f141
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 3d13b440f141
 ---> a16478c45b25
Step 18/22 : COPY . .
 ---> c5483ab88bb0
Step 19/22 : FROM dev AS cross
 ---> c5483ab88bb0
Step 20/22 : ARG EXPERIMENTAL="off"
 ---> Running in 2dae4f7e86e4
Removing intermediate container 2dae4f7e86e4
 ---> 28f33b503acc
Step 21/22 : ARG TAG="unknown"
 ---> Running in a4db100d006e
Removing intermediate container a4db100d006e
 ---> 05a941b2d7dc
Step 22/22 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross
 ---> Running in 56b922707c70
GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=c8d3cb0c -X github.com/docker/app/internal.Version=jenkins-app-PR-671-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:25:09Z" -o bin/docker-app-linux ./cmd/docker-app
GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=c8d3cb0c -X github.com/docker/app/internal.Version=jenkins-app-PR-671-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:25:09Z" -o bin/docker-app-darwin ./cmd/docker-app
GOOS=windows CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=c8d3cb0c -X github.com/docker/app/internal.Version=jenkins-app-PR-671-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:25:09Z" -o bin/docker-app-windows.exe ./cmd/docker-app
GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=c8d3cb0c -X github.com/docker/app/internal.Version=jenkins-app-PR-671-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:25:09Z" -o bin/docker-app-standalone-linux ./cmd/docker-app-standalone
GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=c8d3cb0c -X github.com/docker/app/internal.Version=jenkins-app-PR-671-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:25:09Z" -o bin/docker-app-standalone-darwin ./cmd/docker-app-standalone
GOOS=windows CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=c8d3cb0c -X github.com/docker/app/internal.Version=jenkins-app-PR-671-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:25:09Z" -o bin/docker-app-standalone-windows.exe ./cmd/docker-app-standalone
Removing intermediate container 56b922707c70
 ---> 172e0c972eb9
[Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed
Successfully built 172e0c972eb9
Successfully tagged docker-app-cross:jenkins-app-PR-671-2
docker create --name docker-app-cross-jenkins-app-PR-671-2 docker-app-cross:jenkins-app-PR-671-2 noop
868431c37b439bc48f204ef3e609c7f939ac39ee45f0822a8ccd03c2464905a4
docker cp docker-app-cross-jenkins-app-PR-671-2:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux
docker cp docker-app-cross-jenkins-app-PR-671-2:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin
docker cp docker-app-cross-jenkins-app-PR-671-2:/go/src/github.com/docker/app/bin/docker-app-windows.exe bin/docker-app-windows.exe
docker cp docker-app-cross-jenkins-app-PR-671-2:/go/src/github.com/docker/app/bin/docker-app-standalone-linux bin/docker-app-standalone-linux
docker cp docker-app-cross-jenkins-app-PR-671-2:/go/src/github.com/docker/app/bin/docker-app-standalone-darwin bin/docker-app-standalone-darwin
docker cp docker-app-cross-jenkins-app-PR-671-2:/go/src/github.com/docker/app/bin/docker-app-standalone-windows.exe bin/docker-app-standalone-windows.exe
docker rm docker-app-cross-jenkins-app-PR-671-2
docker-app-cross-jenkins-app-PR-671-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-671-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
 ---> 527065821141
Step 3/26 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Using cache
 ---> 39df3df53640
Step 4/26 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> e22745bd21ce
Step 5/26 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> 6445dcd155a8
Step 6/26 : ARG GOPROXY
 ---> Using cache
 ---> 88d998651a91
Step 7/26 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> 339422a5a239
Step 8/26 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> 66a3996d0692
Step 9/26 : FROM build AS dev
 ---> 66a3996d0692
Step 10/26 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> 7f782695450f
Step 11/26 : ARG DEP_VERSION=v0.5.4
 ---> Using cache
 ---> bc07ec57602b
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
 ---> 2d5f433e0ede
Step 13/26 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> eb3b1796d09d
Step 14/26 : ARG GOPROXY
 ---> Using cache
 ---> 8b779ad7e8ee
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
 ---> e7053b0cc5ec
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
 ---> bde40fbb2792
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
 ---> a16478c45b25
Step 18/26 : COPY . .
 ---> Using cache
 ---> c5483ab88bb0
Step 19/26 : FROM dev AS cross
 ---> c5483ab88bb0
Step 20/26 : ARG EXPERIMENTAL="off"
 ---> Using cache
 ---> 28f33b503acc
Step 21/26 : ARG TAG="unknown"
 ---> Using cache
 ---> 05a941b2d7dc
Step 22/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross
 ---> Using cache
 ---> 172e0c972eb9
Step 23/26 : FROM cross AS e2e-cross
 ---> 172e0c972eb9
Step 24/26 : ARG EXPERIMENTAL="off"
 ---> Running in 1ccd2492ee84
Removing intermediate container 1ccd2492ee84
 ---> 1e3a62de8522
Step 25/26 : ARG TAG="unknown"
 ---> Running in 3a68329b857d
Removing intermediate container 3a68329b857d
 ---> 57605274891d
Step 26/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} e2e-cross
 ---> Running in 2a94056d3941
GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=c8d3cb0c -X github.com/docker/app/internal.Version=jenkins-app-PR-671-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:27:56Z" -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=c8d3cb0c -X github.com/docker/app/internal.Version=jenkins-app-PR-671-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:27:56Z" -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=c8d3cb0c -X github.com/docker/app/internal.Version=jenkins-app-PR-671-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:27:56Z" -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=c8d3cb0c -X github.com/docker/app/internal.Version=jenkins-app-PR-671-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:27:56Z" -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=c8d3cb0c -X github.com/docker/app/internal.Version=jenkins-app-PR-671-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:27:56Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/
Removing intermediate container 2a94056d3941
 ---> 1a7103c14081
[Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed
Successfully built 1a7103c14081
Successfully tagged docker-app-e2e-cross:jenkins-app-PR-671-2
docker create --name docker-app-e2e-cross-jenkins-app-PR-671-2 docker-app-e2e-cross:jenkins-app-PR-671-2 noop
2fde3523f997c46a57a4c8409b9eed7a6a3944ed45c05d512bd0bc13f446be58
docker cp docker-app-e2e-cross-jenkins-app-PR-671-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-671-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-671-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-671-2:/usr/local/bin/gotestsum-linux bin/gotestsum-linux
docker cp docker-app-e2e-cross-jenkins-app-PR-671-2:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin
docker cp docker-app-e2e-cross-jenkins-app-PR-671-2:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe
docker cp docker-app-e2e-cross-jenkins-app-PR-671-2:/usr/local/bin/test2json-linux bin/test2json-linux
docker cp docker-app-e2e-cross-jenkins-app-PR-671-2:/usr/local/bin/test2json-darwin bin/test2json-darwin
docker cp docker-app-e2e-cross-jenkins-app-PR-671-2:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe
docker rm docker-app-e2e-cross-jenkins-app-PR-671-2
docker-app-e2e-cross-jenkins-app-PR-671-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 docker-app-standalone-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 docker-app-standalone-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 docker-app-standalone-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-671/src/github.com/docker/app/bin
[Pipeline] {
[Pipeline] stash
Stashed 24 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-671/2/stashes/binaries.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-671/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-671/2/stashes/e2e.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-671/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-671/2/stashes/examples.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ xargs docker image rm -f
+ docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-671-2*
Untagged: docker-app-e2e-cross:jenkins-app-PR-671-2
Deleted: sha256:1a7103c14081d68d61d681a7b587c0f0fe7cb0f62b52a63d83086e21beed4694
Deleted: sha256:8cde9014910836af13ec12b943921cd550d5465d20b9b01d9f8dd7de9b9e3922
Deleted: sha256:57605274891dd634554893afd37ae38dff05dc09987776e6a8bb3e30c042f527
Deleted: sha256:1e3a62de85226ee229d9528dfae3953cb6504fdff6db4edbf408aca2067a94ee
Untagged: docker-app-cross:jenkins-app-PR-671-2
Deleted: sha256:172e0c972eb9d54fc685e33aa48286f5148b8a1ece7404528ccdffabe0af6c67
Deleted: sha256:e1381c2fe2a54c55e1e79ac017c25d8aa72f06b88bebea2b0e63146cd84533ad
Deleted: sha256:05a941b2d7dcb03e096869672f2664f7e834343f7d47887def530a6b5d231bcf
Deleted: sha256:28f33b503accc0e774b18928c772818049cd1f5ca1c51cfb4895c87504c5c947
Deleted: sha256:c5483ab88bb0fc742bff06bf9e428aeaa17c47585212b7eeb9f7d9b635fb9a35
Deleted: sha256:9c4d9077b08a629f69dfb8074a280ac0ea1a3b3b039fc2cf8520e226bcb197d9
Deleted: sha256:a16478c45b25ae6c79ab31731a7d79ebb396b5df2398010836503914cf3a2f02
Deleted: sha256:8f8b8592307cb999302aa6c278519f1a2b785c3bde6acce53e28da3a18609a89
Deleted: sha256:bde40fbb279284f14f66772cf6baf1ca75b28d2549b8a9d45eaa2e24580b6bb5
Deleted: sha256:7f923e0dd75ca3f700bb917b8366f855e14f07e67296c5c09137340e464d2682
Deleted: sha256:e7053b0cc5ecd579d148b5af7da8c117b4c9c160125a5a1a655d23c6bda59908
Deleted: sha256:21fa8ac83eb9623fcec7e8befd773de43b98f04a3713c3748dee89b0ae5b84f8
Deleted: sha256:8b779ad7e8eef84645f35e82579b5f1dbc3716e54165afeb7787bf6d719d971b
Deleted: sha256:eb3b1796d09d0badd3e1e2b5d9476245b1210029ad603c753a06cdfc48e84e84
Deleted: sha256:2d5f433e0edef0d0507ff8861b98842558e0e2ab54befc7448c26a25b0600aec
Deleted: sha256:fa171be42777033dbf3d16572431bad1975cdbd03858ad7a68173aab8cc63d9b
Deleted: sha256:bc07ec57602bd7efba2f6fddbe95dff2ef3e1e2c1ac56392a7472aa1b3bc5e1e
Deleted: sha256:7f782695450f8f53e62a20cc5a0e99d5718af38ef33b22ffcfbebff9dbaf5b60
Untagged: docker-app-cli:jenkins-app-PR-671-2
Deleted: sha256:66a3996d069273ef7686e4fc59d55dff4bacb87e210abeb9f35e179299c7c5e7
Deleted: sha256:a9f6d32ec5351ee48c9f61bc47b1ccf5911eb9df0fb8dd012b31bb35070800ce
Deleted: sha256:339422a5a239bf75f29663626e92971ce49a726d3b32b2525604fa27d54043c4
Deleted: sha256:96d7a0f64b7d3e2f986d4447abbf5f9d5b892f1799fa31d6fd47b4a7a71342b4
Deleted: sha256:88d998651a912b800a567407ba7f9c287aaed50900155086dcc72845b1ccbcef
Deleted: sha256:6445dcd155a82c3fb2511dac6abcfc9c769f5f4ffe223eadc49bb7e760430307
Deleted: sha256:865b7216118faa30f25c0e608ba27e03bd6baf287570214969136b887c93c068
Deleted: sha256:e22745bd21cea7da8eb44f98607ab0393d35457589c5b5249cf71343a947ff02
Deleted: sha256:c76a484c3130203c4a874df7925fa6ea54fe225254fcc3ce82a13b1f29b90c73
Deleted: sha256:39df3df53640f4f99a7132741fc449f72541d6e8f4ded491fe537f732affc619
Deleted: sha256:18e749b168a8508952ff7ac3ee0c6d591f4a6d36aa79a029b5d4ac42efc01046
Deleted: sha256:527065821141cb228a1b08ed9dc4cfe3810f5fc845b6f88c62a7a1475acf93cf
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test)
[Pipeline] parallel
[Pipeline] { (Branch: Coverage)
[Pipeline] { (Branch: Coverage (experimental))
[Pipeline] { (Branch: Test Linux)
[Pipeline] stage
[Pipeline] { (Coverage)
[Pipeline] stage
[Pipeline] { (Coverage (experimental))
[Pipeline] stage
[Pipeline] { (Test Linux)
[Pipeline] node
[Pipeline] node
[Pipeline] node
Running on ubuntu-1804-overlay2 (i-0bcdbe30dd41f253d) in /home/ubuntu/workspace/app_PR-671
[Pipeline] {
Running on ubuntu-1804-overlay2 (i-05e90ee68da783df4) in /home/ubuntu/workspace/app_PR-671
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] checkout
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app
[Pipeline] {
using credential docker-jenkins-github-credentials
[Pipeline] checkout
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Running on ubuntu-1804-overlay2 (i-01b7503ae236a158d) in /home/ubuntu/workspace/app_PR-671
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app
[Pipeline] {
[Pipeline] checkout
using credential docker-jenkins-github-credentials
using credential docker-jenkins-github-credentials
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
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-671/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/671/head:refs/remotes/origin/PR-671
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-671/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/671/head:refs/remotes/origin/PR-671
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-671/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/671/head:refs/remotes/origin/PR-671
Fetching without tags
Checking out Revision c8d3cb0cc80763e809e94bef71b197aa83282741 (PR-671)
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/671/head:refs/remotes/origin/PR-671 # 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/671/head:refs/remotes/origin/PR-671
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c8d3cb0cc80763e809e94bef71b197aa83282741
Checking out Revision c8d3cb0cc80763e809e94bef71b197aa83282741 (PR-671)
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/671/head:refs/remotes/origin/PR-671 # 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/671/head:refs/remotes/origin/PR-671
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c8d3cb0cc80763e809e94bef71b197aa83282741
Checking out Revision c8d3cb0cc80763e809e94bef71b197aa83282741 (PR-671)
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/671/head:refs/remotes/origin/PR-671 # 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/671/head:refs/remotes/origin/PR-671
 > git config core.sparsecheckout # timeout=10
 > git checkout -f c8d3cb0cc80763e809e94bef71b197aa83282741
Commit message: "Add support for secrets in composefiles"
Commit message: "Add support for secrets in composefiles"
Commit message: "Add support for secrets in composefiles"
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] unstash
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] unstash
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-671/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-671/2/stashes/coverage-experimental-invocation-image.tgz
[Pipeline] sh
+ docker load -i coverage-experimental-invocation-image.tar
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-671/2/stashes/invocation-image.tgz
[Pipeline] sh
+ docker load -i invocation-image.tar
Loaded image: docker/cnab-app-base:jenkins-app-PR-671-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-671-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-671-2 .
Loaded image: docker/cnab-app-base:jenkins-app-PR-671-2
[Pipeline] }
[Pipeline] // dir
[Pipeline] unstash
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
 ---> bcdb8210e5b2
Step 3/18 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Using cache
 ---> 76e299c9a0a4
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> b0b16344aa82
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> fe1d79ff4813
Step 6/18 : ARG GOPROXY
 ---> Using cache
 ---> b09c38d5f93a
Step 7/18 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> 44fbba368e5e
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> fd63af863d19
Step 9/18 : FROM build AS dev
 ---> fd63af863d19
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> fca679c3c089
Step 11/18 : ARG DEP_VERSION=v0.5.4
 ---> Using cache
 ---> 5a3e74205eee
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
 ---> b9db0444f291
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> c6bbf28ee2da
Step 14/18 : ARG GOPROXY
 ---> Using cache
 ---> c256e20e639e
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
 ---> 5f9168b2dd4d
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
 ---> 7457c071c731
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
 ---> 18567652b9ef
Step 18/18 : COPY . .
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-671/2/stashes/coverage-invocation-image.tgz
[Pipeline] sh
+ docker load -i coverage-invocation-image.tar
Loaded image: docker/cnab-app-base:jenkins-app-PR-671-2-coverage
[Pipeline] }
[Pipeline] // dir
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ make -f docker.Makefile TAG=jenkins-app-PR-671-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-671-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
96d705baf026: Waiting
39007eb46008: Waiting
96465440c208: Waiting
4e549f0f5e64: Waiting
16a3d8aca6cd: Waiting
c0058a8c71f2: Waiting
e0ec5610455a: Waiting
2f8d98df0991: Waiting
2ea1f7804402: Verifying Checksum
2ea1f7804402: Download complete
bbab4ec87ac4: Verifying Checksum
bbab4ec87ac4: Download complete
 ---> f6db2194dde2
[Warning] One or more build-args [TAG ALPINE_VERSION COMMIT EXPERIMENTAL] were not consumed
Successfully built f6db2194dde2
Successfully tagged docker-app-dev:jenkins-app-PR-671-2
docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-671-2-coverage-experimental --network="host" -t docker-app-dev:jenkins-app-PR-671-2 make COMMIT=c8d3cb0c TAG=jenkins-app-PR-671-2-coverage-experimental EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- coverage
4ae16bd47783: Verifying Checksum
4ae16bd47783: Download complete
96465440c208: Verifying Checksum
96465440c208: Download complete
96d705baf026: Verifying Checksum
96d705baf026: Download complete
16a3d8aca6cd: Verifying Checksum
16a3d8aca6cd: Download complete
39007eb46008: Verifying Checksum
39007eb46008: Download complete
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=c8d3cb0c -X github.com/docker/app/internal.Version=jenkins-app-PR-671-2-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-10-04T13:29:47Z" -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/cmd/docker-app-standalone 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 github.com/docker/app/types/secrets
c0058a8c71f2: Verifying Checksum
c0058a8c71f2: Download complete
∅  .
e0ec5610455a: Verifying Checksum
e0ec5610455a: Download complete
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-671/2/stashes/binaries.tgz
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-671/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-671/2/stashes/examples.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-671/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-671/2/stashes/e2e.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
4e549f0f5e64: Verifying Checksum
4e549f0f5e64: Download complete
+ ./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
2f8d98df0991: Verifying Checksum
2f8d98df0991: Download complete
4ae16bd47783: Pull complete
bbab4ec87ac4: Pull complete
2ea1f7804402: Pull complete
96465440c208: Pull complete
16a3d8aca6cd: Pull complete
e0ec5610455a: Pull complete
96d705baf026: Pull complete
39007eb46008: Pull complete
PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (4.60s)
PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (3.12s)
PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (3.05s)
PASS e2e/linux.TestCallCustomStatusAction (10.77s)
PASS e2e/linux.TestCnabParameters (3.19s)
PASS e2e/linux.TestExitErrorCode (0.06s)
PASS e2e/linux.TestRender/envvariables/stdout (1.87s)
PASS e2e/linux.TestRender/envvariables/file (1.62s)
PASS e2e/linux.TestRender/envvariables (3.48s)
PASS e2e/linux.TestRender (3.48s)
=== RUN   TestRenderFormatters
--- FAIL: TestRenderFormatters (0.06s)
    commands_test.go:79: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app render --formatter json testdata/simple/simple.dockerapp
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   1 error(s) decoding:
        
        * error decoding 'Ports': Invalid hostPort: ${web_port}
        
        
        Failures:
        ExitCode was 1 expected 0
        Expected no error
FAIL e2e/linux.TestRenderFormatters (0.06s)
PASS e2e/linux.TestInit (0.12s)
=== RUN   TestDetectApp
--- FAIL: TestDetectApp (0.06s)
    commands_test.go:163: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app inspect
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   services.front.deploy.replicas must be a integer
        
        
        Failures:
        ExitCode was 1 expected 0
        Expected no error
FAIL e2e/linux.TestDetectApp (0.06s)
4e549f0f5e64: Pull complete
c0058a8c71f2: Pull complete
=== RUN   TestBundle/simple-bundle
    --- FAIL: TestBundle/simple-bundle (0.06s)
        commands_test.go:231: assertion failed: 
            Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app bundle testdata/simple/simple.dockerapp --output /tmp/TestBundle-081320673/simple-bundle.json
            ExitCode: 1
            Error:    exit status 1
            Stdout:   
            Stderr:   1 error(s) decoding:
            
            * error decoding 'Ports': Invalid hostPort: ${web_port}
            
            
            Failures:
            ExitCode was 1 expected 0
            Expected no error
FAIL e2e/linux.TestBundle/simple-bundle (0.06s)
=== RUN   TestBundle/bundle-with-tag
    --- FAIL: TestBundle/bundle-with-tag (0.06s)
        commands_test.go:231: assertion failed: 
            Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app bundle testdata/simple/simple.dockerapp --tag myimage:mytag --output /tmp/TestBundle-081320673/bundle-with-tag.json
            ExitCode: 1
            Error:    exit status 1
            Stdout:   
            Stderr:   1 error(s) decoding:
            
            * error decoding 'Ports': Invalid hostPort: ${web_port}
            
            
            Failures:
            ExitCode was 1 expected 0
            Expected no error
FAIL e2e/linux.TestBundle/bundle-with-tag (0.06s)
=== RUN   TestBundle
--- FAIL: TestBundle (7.16s)
FAIL e2e/linux.TestBundle (7.16s)
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 a90674e0bb3a
Removing intermediate container a90674e0bb3a
 ---> ac37de5b2956
Step 3/18 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Running in 9de611b68405
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 (370 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 9de611b68405
 ---> 1c96fdf43c76
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
 ---> Running in 15f2e9ff3789
Removing intermediate container 15f2e9ff3789
 ---> 5cba52a4cb36
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Running in 1f8a8dff0a6e
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 1f8a8dff0a6e
 ---> 49395d80a5cf
Step 6/18 : ARG GOPROXY
 ---> Running in 96da4e953b06
=== RUN   TestDockerAppLifecycle/withBindMounts
    --- FAIL: TestDockerAppLifecycle/withBindMounts (8.34s)
        commands_test.go:285: assertion failed: 
            Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app install testdata/simple/simple.dockerapp --set web_port=-1 --name TestDockerAppLifecycle_withBindMounts
            ExitCode: 1
            Error:    exit status 1
            Stdout:   
            Stderr:   1 error(s) decoding:
            
            * error decoding 'Ports': Invalid hostPort: ${web_port}
            
            
            Failures:
            Expected stderr to contain "error decoding 'Ports': Invalid hostPort: -1"
FAIL e2e/linux.TestDockerAppLifecycle/withBindMounts (8.34s)
=== RUN   TestDockerAppLifecycle/withoutBindMounts
    --- FAIL: TestDockerAppLifecycle/withoutBindMounts (8.50s)
        commands_test.go:285: assertion failed: 
            Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app install testdata/simple/simple.dockerapp --set web_port=-1 --name TestDockerAppLifecycle_withoutBindMounts
            ExitCode: 1
            Error:    exit status 1
            Stdout:   
            Stderr:   1 error(s) decoding:
            
            * error decoding 'Ports': Invalid hostPort: ${web_port}
            
            
            Failures:
            Expected stderr to contain "error decoding 'Ports': Invalid hostPort: -1"
FAIL e2e/linux.TestDockerAppLifecycle/withoutBindMounts (8.50s)
=== RUN   TestDockerAppLifecycle
--- FAIL: TestDockerAppLifecycle (16.84s)
FAIL e2e/linux.TestDockerAppLifecycle (16.84s)
Removing intermediate container 96da4e953b06
 ---> d47615751f77
Step 7/18 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Running in 2a84d25911d8
./scripts/build/osx
Building build/docker-darwin-amd64
PASS e2e/linux.TestCredentials/missing (0.08s)
PASS e2e/linux.TestCredentials/full (1.49s)
PASS e2e/linux.TestCredentials/mixed-credstore (1.50s)
PASS e2e/linux.TestCredentials/mixed-local-cred (1.50s)
PASS e2e/linux.TestCredentials/overload (0.06s)
PASS e2e/linux.TestCredentials (4.62s)
=== RUN   TestRenderWithEnvFile
--- FAIL: TestRenderWithEnvFile (0.06s)
    envfile_test.go:16: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app render testdata/envfile/envfile.dockerapp
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   open myvars.env: no such file or directory
        
        
        Failures:
        ExitCode was 1 expected 0
        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"
        Expected no error
FAIL e2e/linux.TestRenderWithEnvFile (0.06s)
=== RUN   TestExamplesAreValid
--- FAIL: TestExamplesAreValid (0.06s)
    example_test.go:18: Validate example: ../examples/cnab-simple/hello.dockerapp
    example_test.go:20: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app validate ../examples/cnab-simple/hello.dockerapp
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   1 error(s) decoding:
        
        * error decoding 'Ports': Invalid hostPort: ${port}
        
        
        Failures:
        ExitCode was 1 expected 0
        Expected no error
FAIL e2e/linux.TestExamplesAreValid (0.06s)
=== RUN   TestImageList
--- FAIL: TestImageList (15.10s)
    images_test.go:33: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app bundle testdata/simple/simple.dockerapp --tag b-simple-app --output /tmp/-095744104/simple-bundle.json
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   1 error(s) decoding:
        
        * error decoding 'Ports': Invalid hostPort: ${web_port}
        
        
        Failures:
        ExitCode was 1 expected 0
        Expected no error
FAIL e2e/linux.TestImageList (15.10s)
=== RUN   TestImageRm
--- FAIL: TestImageRm (15.04s)
    images_test.go:33: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app bundle testdata/simple/simple.dockerapp --tag b-simple-app --output /tmp/-676894065/simple-bundle.json
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   1 error(s) decoding:
        
        * error decoding 'Ports': Invalid hostPort: ${web_port}
        
        
        Failures:
        ExitCode was 1 expected 0
        Expected no error
FAIL e2e/linux.TestImageRm (15.04s)
∅  cmd/cnab-run
∅  cmd/docker-app
∅  cmd/docker-app-standalone
✓  internal (3ms)
✓  internal/commands/image (16ms)
✓  internal/compose (8ms)
✓  internal/formatter (12ms)
✓  internal/commands (528ms)
∅  internal/formatter/driver
∅  internal/formatter/json
∅  internal/formatter/yaml
✖  internal/inspect (71ms)
∅  internal/log
✓  internal/slices (3ms)
✓  internal/store (24ms)
✖  internal/packager (42ms)
✓  internal/yaml (15ms)
✓  loader (15ms)
✖  render (51ms)
=== RUN   TestImageTag
--- FAIL: TestImageTag (12.08s)
    images_test.go:109: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app bundle testdata/simple/simple.dockerapp --tag a-simple-app --output /tmp/-757628334/simple-bundle.json
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   1 error(s) decoding:
        
        * error decoding 'Ports': Invalid hostPort: ${web_port}
        
        
        Failures:
        ExitCode was 1 expected 0
        Expected no error
FAIL e2e/linux.TestImageTag (12.08s)
PASS e2e/linux.TestInvokePluginFromCLI (0.20s)
✓  specification (8ms)
✓  types (36ms)
✓  types/metadata (21ms)
✓  types/parameters (4ms)
∅  types/secrets

=== Failed
=== FAIL: internal/inspect TestInspect/overridden (0.00s)
    --- FAIL: TestInspect/overridden (0.00s)
        inspect_test.go:121: assertion failed: error is not nil: 1 error(s) decoding:
            
            * error decoding 'Ports': Invalid hostPort: ${web.port}

=== FAIL: internal/inspect TestInspect (0.05s)

=== FAIL: internal/packager TestToCNAB (0.01s)
    cnab_test.go:15: assertion failed: error is not nil: services.front.deploy.replicas must be a integer

=== FAIL: internal/packager TestPackInvocationImageContext (0.01s)
    packing_test.go:18: assertion failed: error is not nil: services.front.deploy.replicas must be a integer

=== FAIL: render TestRenderFailOnDefaultParamValueInCompose (0.00s)
    render_test.go:70: assertion failed: error is not nil: 1 error(s) decoding:
        
        * error decoding 'Ports': Invalid ip address: ${front.port

=== FAIL: render TestRenderUserParameters (0.00s)
    render_test.go:225: assertion failed: error is not nil: services.front.deploy.replicas must be a integer

=== FAIL: render TestRenderWithoutDefaultParameters (0.00s)
    render_test.go:270: assertion failed: error is not nil: services.front.deploy.replicas must be a integer

=== FAIL: render TestValidateBrokenComposeFile (0.01s)
    render_test.go:296: assertion failed: error is not nil: unknown-property Additional property unknown-property is not allowed

=== FAIL: render TestValidateRenderedApplication (0.00s)
    render_test.go:316: assertion failed: error is not nil: 1 error(s) decoding:
        
        * error decoding 'Ports': Invalid containerPort: ${port}


DONE 213 tests, 9 failures in 93.728s
make: *** [Makefile:106: coverage-test-unit] Error 1
docker.Makefile:106: 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-671-2-coverage-experimental coverage-results
docker cp docker-app-cov-jenkins-app-PR-671-2-coverage-experimental:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov
docker cp docker-app-cov-jenkins-app-PR-671-2-coverage-experimental:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results
docker rm docker-app-cov-jenkins-app-PR-671-2-coverage-experimental
docker-app-cov-jenkins-app-PR-671-2-coverage-experimental
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-671/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 ]
[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-671/2/artifacts/
[Pipeline] junit
Recording test results
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-671-2-coverage-experimental
Untagged: docker/cnab-app-base:jenkins-app-PR-671-2-coverage-experimental
Deleted: sha256:c2fb5ed318ce0f747855a3c3ca0ca68b8b1dee1c068e459987f7a1c5839f0fc0
Deleted: sha256:e096915232ac2cf4b68f568a3b8c617471830afb6ff54b72b4e18966fd76aaa4
Deleted: sha256:cae21c28c9850555f8c8ebaed89df47738c6de24a10b3a0d9a13ee4386d3cb25
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
PASS e2e/linux.TestPushArchs/default (3.44s)
PASS e2e/linux.TestPushArchs/all-platforms (1.01s)
PASS e2e/linux.TestPushArchs (16.05s)
PASS e2e/linux.TestPushInsecureRegistry (17.67s)
PASS e2e/linux.TestPushInstall (16.62s)
./scripts/build/windows
Generating windows resources
Building build/docker-windows-amd64
PASS e2e/linux.TestPushPullInstall (17.07s)
PASS e2e/linux.TestPushInstallBundle/push-bundle (5.23s)
PASS e2e/linux.TestPushInstallBundle/push-ref (1.32s)
PASS e2e/linux.TestPushInstallBundle/push-bundleref (1.93s)
PASS e2e/linux.TestPushInstallBundle (21.43s)
FAIL e2e/linux

=== Failed
=== FAIL: e2e/linux TestRenderFormatters (0.06s)
    commands_test.go:79: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app render --formatter json testdata/simple/simple.dockerapp
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   1 error(s) decoding:
        
        * error decoding 'Ports': Invalid hostPort: ${web_port}
        
        
        Failures:
        ExitCode was 1 expected 0
        Expected no error

=== FAIL: e2e/linux TestDetectApp (0.06s)
    commands_test.go:163: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app inspect
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   services.front.deploy.replicas must be a integer
        
        
        Failures:
        ExitCode was 1 expected 0
        Expected no error

=== FAIL: e2e/linux TestBundle/simple-bundle (0.06s)
    --- FAIL: TestBundle/simple-bundle (0.06s)
        commands_test.go:231: assertion failed: 
            Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app bundle testdata/simple/simple.dockerapp --output /tmp/TestBundle-081320673/simple-bundle.json
            ExitCode: 1
            Error:    exit status 1
            Stdout:   
            Stderr:   1 error(s) decoding:
            
            * error decoding 'Ports': Invalid hostPort: ${web_port}
            
            
            Failures:
            ExitCode was 1 expected 0
            Expected no error

=== FAIL: e2e/linux TestBundle/bundle-with-tag (0.06s)
    --- FAIL: TestBundle/bundle-with-tag (0.06s)
        commands_test.go:231: assertion failed: 
            Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app bundle testdata/simple/simple.dockerapp --tag myimage:mytag --output /tmp/TestBundle-081320673/bundle-with-tag.json
            ExitCode: 1
            Error:    exit status 1
            Stdout:   
            Stderr:   1 error(s) decoding:
            
            * error decoding 'Ports': Invalid hostPort: ${web_port}
            
            
            Failures:
            ExitCode was 1 expected 0
            Expected no error

=== FAIL: e2e/linux TestBundle (7.16s)

=== FAIL: e2e/linux TestDockerAppLifecycle/withBindMounts (8.34s)
    --- FAIL: TestDockerAppLifecycle/withBindMounts (8.34s)
        commands_test.go:285: assertion failed: 
            Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app install testdata/simple/simple.dockerapp --set web_port=-1 --name TestDockerAppLifecycle_withBindMounts
            ExitCode: 1
            Error:    exit status 1
            Stdout:   
            Stderr:   1 error(s) decoding:
            
            * error decoding 'Ports': Invalid hostPort: ${web_port}
            
            
            Failures:
            Expected stderr to contain "error decoding 'Ports': Invalid hostPort: -1"

=== FAIL: e2e/linux TestDockerAppLifecycle/withoutBindMounts (8.50s)
    --- FAIL: TestDockerAppLifecycle/withoutBindMounts (8.50s)
        commands_test.go:285: assertion failed: 
            Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app install testdata/simple/simple.dockerapp --set web_port=-1 --name TestDockerAppLifecycle_withoutBindMounts
            ExitCode: 1
            Error:    exit status 1
            Stdout:   
            Stderr:   1 error(s) decoding:
            
            * error decoding 'Ports': Invalid hostPort: ${web_port}
            
            
            Failures:
            Expected stderr to contain "error decoding 'Ports': Invalid hostPort: -1"

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

=== FAIL: e2e/linux TestRenderWithEnvFile (0.06s)
    envfile_test.go:16: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app render testdata/envfile/envfile.dockerapp
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   open myvars.env: no such file or directory
        
        
        Failures:
        ExitCode was 1 expected 0
        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"
        Expected no error

=== FAIL: e2e/linux TestExamplesAreValid (0.06s)
    example_test.go:18: Validate example: ../examples/cnab-simple/hello.dockerapp
    example_test.go:20: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app validate ../examples/cnab-simple/hello.dockerapp
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   1 error(s) decoding:
        
        * error decoding 'Ports': Invalid hostPort: ${port}
        
        
        Failures:
        ExitCode was 1 expected 0
        Expected no error

=== FAIL: e2e/linux TestImageList (15.10s)
    images_test.go:33: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app bundle testdata/simple/simple.dockerapp --tag b-simple-app --output /tmp/-095744104/simple-bundle.json
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   1 error(s) decoding:
        
        * error decoding 'Ports': Invalid hostPort: ${web_port}
        
        
        Failures:
        ExitCode was 1 expected 0
        Expected no error

=== FAIL: e2e/linux TestImageRm (15.04s)
    images_test.go:33: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app bundle testdata/simple/simple.dockerapp --tag b-simple-app --output /tmp/-676894065/simple-bundle.json
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   1 error(s) decoding:
        
        * error decoding 'Ports': Invalid hostPort: ${web_port}
        
        
        Failures:
        ExitCode was 1 expected 0
        Expected no error

=== FAIL: e2e/linux TestImageTag (12.08s)
    images_test.go:109: assertion failed: 
        Command:  /home/ubuntu/workspace/app_PR-671/src/github.com/docker/app/docker-linux app bundle testdata/simple/simple.dockerapp --tag a-simple-app --output /tmp/-757628334/simple-bundle.json
        ExitCode: 1
        Error:    exit status 1
        Stdout:   
        Stderr:   1 error(s) decoding:
        
        * error decoding 'Ports': Invalid hostPort: ${web_port}
        
        
        Failures:
        ExitCode was 1 expected 0
        Expected no error


DONE 41 tests, 13 failures in 177.761s
time="2019-10-04T13:32:48Z" 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-671/2/artifacts/
[Pipeline] junit
Recording test results
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-671-2
Untagged: docker/cnab-app-base:jenkins-app-PR-671-2
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Test Linux
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 2a84d25911d8
 ---> b007bc161e89
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
 ---> Running in 912096761aee
Removing intermediate container 912096761aee
 ---> eaa07ea6703f
Step 9/18 : FROM build AS dev
 ---> eaa07ea6703f
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Running in 6c7308329f65
Removing intermediate container 6c7308329f65
 ---> bf8f1ec742b9
Step 11/18 : ARG DEP_VERSION=v0.5.4
 ---> Running in 28a3240edbb8
Removing intermediate container 28a3240edbb8
 ---> 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
 ---> Running in 7aa22ccf1d49
  % 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   5601      0 --:--:-- --:--:-- --:--:--  5601

100 10.5M  100 10.5M    0     0  46.1M      0 --:--:-- --:--:-- --:--:-- 46.1M
Removing intermediate container 7aa22ccf1d49
 ---> 66ecfc481d07
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Running in 61491fdf7b37
Removing intermediate container 61491fdf7b37
 ---> 4b2a8b35af65
Step 14/18 : ARG GOPROXY
 ---> Running in e871026180b9
Removing intermediate container e871026180b9
 ---> 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
 ---> Running in 4a1f0c9691f8
go: finding github.com/pkg/errors v0.8.0
go: finding github.com/mattn/go-isatty v0.0.3
go: finding github.com/mattn/go-colorable v0.0.9
go: finding github.com/google/go-cmp v0.2.0
go: finding github.com/spf13/pflag v1.0.1
go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9
go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: finding github.com/onsi/gomega v1.4.3
go: finding gotest.tools v2.1.0+incompatible
go: finding github.com/onsi/ginkgo v1.8.0
go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2
go: finding github.com/fatih/color v1.6.0
go: finding github.com/sirupsen/logrus v1.0.5
go: finding github.com/jonboulle/clockwork v0.1.0
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding golang.org/x/text v0.3.0
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: finding github.com/stretchr/testify v1.3.0
go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding github.com/onsi/ginkgo v1.6.0
go: finding github.com/golang/protobuf v1.2.0
go: finding github.com/hpcloud/tail v1.0.0
go: finding github.com/stretchr/objx v0.1.0
go: finding github.com/davecgh/go-spew v1.1.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/pkg/errors v0.8.0
go: downloading github.com/fatih/color v1.6.0
go: downloading github.com/spf13/pflag v1.0.1
go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: downloading github.com/jonboulle/clockwork v0.1.0
go: extracting github.com/pkg/errors v0.8.0
go: extracting github.com/jonboulle/clockwork v0.1.0
go: extracting github.com/sirupsen/logrus v1.0.5
go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: extracting github.com/spf13/pflag v1.0.1
go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: extracting github.com/fatih/color v1.6.0
go: downloading github.com/mattn/go-isatty v0.0.3
go: downloading github.com/mattn/go-colorable v0.0.9
go: extracting github.com/mattn/go-isatty v0.0.3
go: extracting github.com/mattn/go-colorable v0.0.9
go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94
go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc
go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
Removing intermediate container 4a1f0c9691f8
 ---> 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
 ---> Running in 5b54bf0404e9
Removing intermediate container 5b54bf0404e9
 ---> 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/*
 ---> Running in 45fb21155b15
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 45fb21155b15
 ---> 403dd482ebbe
Step 18/18 : COPY . .
 ---> ec5e33c8195a
[Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed
Successfully built ec5e33c8195a
Successfully tagged docker-app-dev:jenkins-app-PR-671-2
docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-671-2-coverage --network="host" -t docker-app-dev:jenkins-app-PR-671-2 make COMMIT=c8d3cb0c TAG=jenkins-app-PR-671-2-coverage EXPERIMENTAL=off TEST_RESULTS_PREFIX= coverage
Running unit tests (coverage)...
CGO_ENABLED=0 gotestsum --junitfile _build/test-results/unit-coverage.xml -- -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=c8d3cb0c -X github.com/docker/app/internal.Version=jenkins-app-PR-671-2-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-10-04T13:35:03Z" -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/cmd/docker-app-standalone 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 github.com/docker/app/types/secrets
∅  .
∅  cmd/cnab-run
∅  cmd/docker-app
∅  cmd/docker-app-standalone
✓  internal (5ms)
✓  internal/commands/image (20ms)
✓  internal/compose (5ms)
✓  internal/formatter (5ms)
✓  internal/commands (536ms)
∅  internal/formatter/driver
∅  internal/formatter/json
∅  internal/formatter/yaml
✖  internal/inspect (65ms)
∅  internal/log
✓  internal/slices (2ms)
✓  internal/store (40ms)
✖  internal/packager (40ms)
✓  internal/yaml (6ms)
✓  loader (26ms)
✖  render (58ms)
✓  specification (9ms)
✓  types (38ms)
✓  types/metadata (6ms)
✓  types/parameters (5ms)
∅  types/secrets

=== Failed
=== FAIL: internal/inspect TestInspect/overridden (0.00s)
    --- FAIL: TestInspect/overridden (0.00s)
        inspect_test.go:121: assertion failed: error is not nil: 1 error(s) decoding:
            
            * error decoding 'Ports': Invalid hostPort: ${web.port}

=== FAIL: internal/inspect TestInspect (0.06s)

=== FAIL: internal/packager TestToCNAB (0.01s)
    cnab_test.go:15: assertion failed: error is not nil: services.front.deploy.replicas must be a integer

=== FAIL: internal/packager TestPackInvocationImageContext (0.01s)
    packing_test.go:18: assertion failed: error is not nil: services.front.deploy.replicas must be a integer

=== FAIL: render TestRenderFailOnDefaultParamValueInCompose (0.00s)
    render_test.go:70: assertion failed: error is not nil: 1 error(s) decoding:
        
        * error decoding 'Ports': Invalid ip address: ${front.port

=== FAIL: render TestRenderUserParameters (0.00s)
    render_test.go:225: assertion failed: error is not nil: services.front.deploy.replicas must be a integer

=== FAIL: render TestRenderWithoutDefaultParameters (0.00s)
    render_test.go:270: assertion failed: error is not nil: services.front.deploy.replicas must be a integer

=== FAIL: render TestValidateBrokenComposeFile (0.01s)
    render_test.go:296: assertion failed: error is not nil: unknown-property Additional property unknown-property is not allowed

=== FAIL: render TestValidateRenderedApplication (0.00s)
    render_test.go:316: assertion failed: error is not nil: 1 error(s) decoding:
        
        * error decoding 'Ports': Invalid containerPort: ${port}


DONE 213 tests, 9 failures in 92.250s
make: *** [Makefile:106: coverage-test-unit] Error 1
docker.Makefile:106: recipe for target 'coverage-run' failed
make: *** [coverage-run] Error 2
+ true
[Pipeline] sh
+ make -f docker.Makefile TAG=jenkins-app-PR-671-2-coverage coverage-results
docker cp docker-app-cov-jenkins-app-PR-671-2-coverage:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov
docker cp docker-app-cov-jenkins-app-PR-671-2-coverage:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results
docker rm docker-app-cov-jenkins-app-PR-671-2-coverage
docker-app-cov-jenkins-app-PR-671-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-671/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 ]
[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-671/2/artifacts/
[Pipeline] junit
Recording test results
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-671-2-coverage
Untagged: docker/cnab-app-base:jenkins-app-PR-671-2-coverage
Deleted: sha256:c2fb5ed318ce0f747855a3c3ca0ca68b8b1dee1c068e459987f7a1c5839f0fc0
Deleted: sha256:e096915232ac2cf4b68f568a3b8c617471830afb6ff54b72b4e18966fd76aaa4
Deleted: sha256:cae21c28c9850555f8c8ebaed89df47738c6de24a10b3a0d9a13ee4386d3cb25
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Coverage
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

ERROR: script returned exit code 1
Finished: FAILURE