Skip to content
Failed

Console Output

Pull request #643 opened
14:00:19 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from 56ce605c6809e63e0967b28cecc7aefc88068dbf
Running in Durability level: PERFORMANCE_OPTIMIZED
Loading library jps@master
Examining docker/jps
Attempting to resolve master as a branch
Resolved master as branch master at revision ead69454b4062f17d1f8389642089a002b037213
using credential jps-reader
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/docker/jps.git
 > git init /var/cloudbees-jenkins-distribution/workspace/app_PR-643@libs/jps # timeout=10
Fetching upstream changes from https://github.com/docker/jps.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials GitHub credentials for docker/jps
 > git fetch --no-tags --progress https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master
 > git config remote.origin.url https://github.com/docker/jps.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
 > git config remote.origin.url https://github.com/docker/jps.git # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/docker/jps.git
using GIT_ASKPASS to set credentials GitHub credentials for docker/jps
 > git fetch --no-tags --progress https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master
Checking out Revision ead69454b4062f17d1f8389642089a002b037213 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ead69454b4062f17d1f8389642089a002b037213
Commit message: "Merge pull request #10 from russellcardullo/sonar-scan"
First time build. Skipping changelog.
[Pipeline] Start of Pipeline
[Pipeline] withEnv
[Pipeline] {
[Pipeline] timeout
Timeout set to expire in 1 hr 0 min
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] parallel
[Pipeline] { (Branch: Validate)
[Pipeline] { (Branch: Binaries)
[Pipeline] { (Branch: Build Invocation image)
[Pipeline] stage
[Pipeline] { (Validate)
[Pipeline] stage
[Pipeline] { (Binaries)
[Pipeline] stage
[Pipeline] { (Build Invocation image)
[Pipeline] node
[Pipeline] node
[Pipeline] node
Running on ubuntu-1804-overlay2 (i-0ee8df12c21216d0e) in /home/ubuntu/workspace/app_PR-643
[Pipeline] {
Running on ubuntu-1804-overlay2 (i-0d7cff36f260c02ad) in /home/ubuntu/workspace/app_PR-643
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-643/src/github.com/docker/app
[Pipeline] {
[Pipeline] checkout
Running on ubuntu-1804-overlay2 (i-0dbf2e8b63f4e271a) in /home/ubuntu/workspace/app_PR-643
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-643/src/github.com/docker/app
[Pipeline] {
using credential docker-jenkins-github-credentials
[Pipeline] checkout
[Pipeline] {
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-643/src/github.com/docker/app
using credential docker-jenkins-github-credentials
[Pipeline] {
[Pipeline] script
[Pipeline] {
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
[Pipeline] checkout
using credential docker-jenkins-github-credentials
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-643/src/github.com/docker/app # timeout=10
Fetching upstream changes from https://github.com/docker/app.git
 > git --version # timeout=10
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-643/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/643/head:refs/remotes/origin/PR-643
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-643/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/643/head:refs/remotes/origin/PR-643
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress https://github.com/docker/app.git +refs/pull/643/head:refs/remotes/origin/PR-643
Fetching without tags
Fetching without tags
Checking out Revision 56ce605c6809e63e0967b28cecc7aefc88068dbf (PR-643)
Checking out Revision 56ce605c6809e63e0967b28cecc7aefc88068dbf (PR-643)
Fetching without tags
Checking out Revision 56ce605c6809e63e0967b28cecc7aefc88068dbf (PR-643)
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/643/head:refs/remotes/origin/PR-643 # 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/643/head:refs/remotes/origin/PR-643
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 56ce605c6809e63e0967b28cecc7aefc88068dbf
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/643/head:refs/remotes/origin/PR-643 # 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/643/head:refs/remotes/origin/PR-643
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 56ce605c6809e63e0967b28cecc7aefc88068dbf
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/643/head:refs/remotes/origin/PR-643 # 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/643/head:refs/remotes/origin/PR-643
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 56ce605c6809e63e0967b28cecc7aefc88068dbf
Commit message: "Remove `--insecure-registries` flag"
First time build. Skipping changelog.
Commit message: "Remove `--insecure-registries` flag"
fatal: bad object ead69454b4062f17d1f8389642089a002b037213
fatal: bad object ead69454b4062f17d1f8389642089a002b037213
Commit message: "Remove `--insecure-registries` flag"
fatal: bad object ead69454b4062f17d1f8389642089a002b037213
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ make -f docker.Makefile lint
Linting...
docker build -t docker-app-lint:jenkins-app-PR-643-1 -f Dockerfile.lint .
+ make -f docker.Makefile cli-cross cross e2e-cross tars
docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=build -t docker-app-cli:jenkins-app-PR-643-1  .
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
Sending build context to Docker daemon  72.88MB

Step 1/8 : ARG ALPINE_VERSION=3.10
Step 2/8 : ARG GO_VERSION=1.12.9
Step 3/8 : FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION}
 ---> e0d646523991
Step 4/8 : RUN apk add --no-cache     curl     git     make     coreutils
 ---> Using cache
 ---> 2558b78227b5
Step 5/8 : RUN GO111MODULE=on go get     github.com/golangci/golangci-lint/cmd/golangci-lint@v1.16.0     && rm -rf /go/src/* /go/pkg/*
 ---> Using cache
 ---> 3770612f4a46
Step 6/8 : WORKDIR /go/src/github.com/docker/app
 ---> Using cache
 ---> d89654f05ed8
Step 7/8 : ENV CGO_ENABLED=0
 ---> Using cache
 ---> 88408634caa7
Step 8/8 : COPY . .
+ make -f docker.Makefile save-invocation-image
docker build -f Dockerfile.invocation-image --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=invocation -t docker/cnab-app-base:jenkins-app-PR-643-1 .
Sending build context to Docker daemon  72.88MB

Step 1/8 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build
 ---> 518d5e4626aa
Step 2/8 : ENV     DISABLE_WARN_OUTSIDE_CONTAINER=1
 ---> Using cache
 ---> 15a69fa00b23
Step 3/8 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Using cache
 ---> 502d20fd3d12
Step 4/8 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> a09070332d64
Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> 71519030c976
Step 6/8 : ARG GOPROXY
 ---> Using cache
 ---> bc2afd08409e
Step 7/8 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> 63bf50054bc7
Step 8/8 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> 970b0275b665
[Warning] One or more build-args [TAG ALPINE_VERSION COMMIT EXPERIMENTAL] were not consumed
Successfully built 970b0275b665
Successfully tagged docker-app-cli:jenkins-app-PR-643-1
docker create --name docker-app-cli-jenkins-app-PR-643-1 docker-app-cli:jenkins-app-PR-643-1 noop
da7d630b609b4f880dab9b9f5183ba5bf3108eee8052cb7b1d910c5f17be21c7
docker cp docker-app-cli-jenkins-app-PR-643-1:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux
docker cp docker-app-cli-jenkins-app-PR-643-1:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin
Sending build context to Docker daemon  72.88MB

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
ea67eaa7dd42: Waiting
a2a2197e145e: Waiting
36ac8c11a11f: Waiting
ecd7d9a67e26: Waiting
4b5cacb629f5: Verifying Checksum
4b5cacb629f5: Download complete
14408c8d4f9a: Verifying Checksum
14408c8d4f9a: Download complete
4a56a430b2ba: Verifying Checksum
4a56a430b2ba: Download complete
docker cp docker-app-cli-jenkins-app-PR-643-1:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe
ea67eaa7dd42: Verifying Checksum
ea67eaa7dd42: Download complete
ecd7d9a67e26: Verifying Checksum
ecd7d9a67e26: Download complete
docker rm docker-app-cli-jenkins-app-PR-643-1
a2a2197e145e: Verifying Checksum
a2a2197e145e: Download complete
docker-app-cli-jenkins-app-PR-643-1
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-643-1  .
 ---> e55d354edf24
Successfully built e55d354edf24
Successfully tagged docker-app-lint:jenkins-app-PR-643-1
docker run --rm docker-app-lint:jenkins-app-PR-643-1 make lint
36ac8c11a11f: Verifying Checksum
36ac8c11a11f: Download complete
Sending build context to Docker daemon  72.88MB

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
 ---> 15a69fa00b23
Step 3/22 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Using cache
 ---> 502d20fd3d12
Step 4/22 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> a09070332d64
Step 5/22 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> 71519030c976
Step 6/22 : ARG GOPROXY
 ---> Using cache
 ---> bc2afd08409e
Step 7/22 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> 63bf50054bc7
Step 8/22 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> 970b0275b665
Step 9/22 : FROM build AS dev
 ---> 970b0275b665
Step 10/22 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> 1b36bd80346c
Step 11/22 : ARG DEP_VERSION=v0.5.1
 ---> Using cache
 ---> 347096275d2c
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
 ---> Using cache
 ---> 8c1798ae0c04
Step 13/22 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> 60267b1dc5ce
Step 14/22 : ARG GOPROXY
 ---> Using cache
 ---> b7e9995765dd
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
 ---> Using cache
 ---> 05c349badeba
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
 ---> Using cache
 ---> 8607f8d1e72f
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/*
 ---> Using cache
 ---> 21e461f4d843
Step 18/22 : COPY . .
Linting...
4a56a430b2ba: Pull complete
4b5cacb629f5: Pull complete
14408c8d4f9a: Pull complete
ea67eaa7dd42: Pull complete
 ---> 42f2341aad28
Step 19/22 : FROM dev AS cross
 ---> 42f2341aad28
Step 20/22 : ARG EXPERIMENTAL="off"
 ---> Running in 8943046b5045
Removing intermediate container 8943046b5045
 ---> 4cf8ae25da52
Step 21/22 : ARG TAG="unknown"
 ---> Running in bc41b47d3b56
Removing intermediate container bc41b47d3b56
 ---> 79b8e7181812
Step 22/22 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross
 ---> Running in f11d24d63531
GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=56ce605c -X github.com/docker/app/internal.Version=jenkins-app-PR-643-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-26T14:00:39Z" -o bin/docker-app-linux ./cmd/docker-app
a2a2197e145e: 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
 ---> Running in 75e0d0b2711d
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 3 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 (373 kB/s)
Selecting previously unselected package uuid-runtime.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 15394 files and directories currently installed.)
Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ...
Unpacking uuid-runtime (2.33.1-0.1) ...
Setting up uuid-runtime (2.33.1-0.1) ...
Adding group `uuidd' (GID 102) ...
Done.
Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory
Adding system user `uuidd' (UID 101) ...
Adding new user `uuidd' (UID 101) with group `uuidd' ...
Not creating home directory `/run/uuidd'.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
Removing intermediate container 75e0d0b2711d
 ---> 58c00c704e9c
Step 4/14 : WORKDIR /go/src/github.com/docker/app/
 ---> Running in f62bbdd1a530
Removing intermediate container f62bbdd1a530
 ---> 032618c2e73e
Step 5/14 : COPY . .
 ---> 757e3674b1e5
Step 6/14 : ARG EXPERIMENTAL="off"
 ---> Running in 416872d668d8
Removing intermediate container 416872d668d8
 ---> 1dbfb49c8c20
Step 7/14 : ARG TAG="unknown"
 ---> Running in 7b731017a3fd
Removing intermediate container 7b731017a3fd
 ---> 4f76b099301b
Step 8/14 : RUN make EXPERIMENTAL=${EXPERIMENTAL} BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run
 ---> Running in 425480395b09
CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=56ce605c -X github.com/docker/app/internal.Version=jenkins-app-PR-643-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-26T14:00:56Z" -o bin/cnab-run ./cmd/cnab-run
[Pipeline] sh
+ make -f docker.Makefile check-vendor
docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=dev -t docker-app-dev:jenkins-app-PR-643-1 .
Sending build context to Docker daemon  72.88MB

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
 ---> 65f064d4c961
Step 3/18 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Using cache
 ---> e359519928a0
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> 5ae906354288
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> 046724e2f22c
Step 6/18 : ARG GOPROXY
 ---> Using cache
 ---> a5e6700811d5
Step 7/18 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> f962f82fc051
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> 5f009c56d4f1
Step 9/18 : FROM build AS dev
 ---> 5f009c56d4f1
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> cb03f7f10f3b
Step 11/18 : ARG DEP_VERSION=v0.5.1
 ---> Using cache
 ---> c01c2be22279
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
 ---> 43db83a10246
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> 8103782ef336
Step 14/18 : ARG GOPROXY
 ---> Using cache
 ---> 24d94237dba8
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
 ---> 6c7af5e91c98
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
 ---> 487f9952fe2f
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
 ---> 89203ea5653d
Step 18/18 : COPY . .
 ---> 10a2ca0174e9
[Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed
Successfully built 10a2ca0174e9
Successfully tagged docker-app-dev:jenkins-app-PR-643-1
Check Vendoring...
docker run --rm docker-app-dev:jenkins-app-PR-643-1 sh -c "make vendor && hack/check-git-diff vendor"
rm -rf vendor 1>&1
dep ensure -v 
(1/95) Wrote github.com/mitchellh/mapstructure@v1.1.2
(2/95) Wrote github.com/opencontainers/image-spec@v1.0.1
(3/95) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4
(4/95) Wrote github.com/prometheus/procfs@master
(5/95) Wrote github.com/pkg/errors@v0.8.1
(6/95) Wrote github.com/prometheus/client_model@master
(7/95) Wrote github.com/modern-go/reflect2@1.0.1
(8/95) Wrote github.com/morikuni/aec@master
(9/95) Wrote github.com/oklog/ulid@v1.3.1
(10/95) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1
(11/95) Wrote github.com/modern-go/concurrent@1.0.3
(12/95) Wrote github.com/prometheus/client_golang@v0.8.0
(13/95) Wrote github.com/opencontainers/runc@v1.0.0-rc7
(14/95) Wrote github.com/qri-io/jsonpointer@v0.1.0
(15/95) Wrote github.com/prometheus/common@v0.2.0
(16/95) Wrote github.com/qri-io/jsonschema@v0.1.1
(17/95) Wrote vbom.ml/util@master
(18/95) Wrote github.com/spf13/cobra@v0.0.5
(19/95) Wrote github.com/sirupsen/logrus@v1.4.1
(20/95) Wrote github.com/spf13/pflag@master
(21/95) Wrote github.com/syndtr/gocapability@master
(22/95) Wrote github.com/wadey/gocovmerge@master
(23/95) Wrote github.com/xeipuuv/gojsonpointer@master
(24/95) Wrote github.com/xeipuuv/gojsonreference@master
(25/95) Wrote github.com/xeipuuv/gojsonschema@93e72a773fade158921402d6a24c819b48aba29d
(26/95) Wrote golang.org/x/oauth2@master
(27/95) Wrote golang.org/x/sync@master
(28/95) Wrote golang.org/x/crypto@master
(29/95) Wrote cloud.google.com/go@v0.37.4
(30/95) Wrote golang.org/x/time@master
(31/95) Wrote golang.org/x/net@master
(32/95) Wrote google.golang.org/appengine@v1.5.0
(33/95) Wrote gopkg.in/inf.v0@v0.9.1
(34/95) Wrote gopkg.in/yaml.v2 (from https://github.com/simonferquel/yaml)@c86e64ed9581b7588e736f0c3e6ecc02cc22996e
(35/95) Wrote gotest.tools@v2.3.0
(36/95) Wrote k8s.io/klog@v0.2.0
(37/95) Wrote github.com/theupdateframework/notary@v0.6.1
(38/95) Wrote k8s.io/utils@master
(39/95) Wrote sigs.k8s.io/yaml@v1.1.0
(40/95) Wrote k8s.io/apimachinery@kubernetes-1.14.1
(41/95) Wrote golang.org/x/sys@master
(42/95) Wrote github.com/Azure/go-ansiterm@master
(43/95) Wrote google.golang.org/grpc@v1.19.1
(44/95) Wrote github.com/Masterminds/semver@v1.4.2
(45/95) Wrote github.com/docker/go-connections@v0.4.0
(46/95) Wrote github.com/Microsoft/go-winio@v0.4.12
(47/95) Wrote github.com/agl/ed25519@master
(48/95) Wrote github.com/beorn7/perks@master
(49/95) Wrote github.com/containerd/cgroups@master
(50/95) Wrote github.com/containerd/fifo@master
(51/95) Wrote github.com/containerd/ttrpc@master
(52/95) Wrote github.com/containerd/typeurl@master
(53/95) Wrote golang.org/x/text@v0.3.0
(54/95) Wrote github.com/containerd/continuity@master
(55/95) Wrote github.com/coreos/go-systemd@v20
(56/95) Wrote github.com/davecgh/go-spew@v1.1.1
(57/95) Wrote golang.org/x/tools@master
(58/95) Wrote github.com/Microsoft/hcsshim@v0.8.6
GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=56ce605c -X github.com/docker/app/internal.Version=jenkins-app-PR-643-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-26T14:00:39Z" -o bin/docker-app-darwin ./cmd/docker-app
(59/95) Wrote github.com/docker/docker-credential-helpers@v0.6.1
(60/95) Wrote github.com/docker/go@v1.5.1-1
(61/95) Wrote github.com/google/shlex@master
(62/95) Wrote github.com/deislabs/cnab-go@v0.3.2-beta1
(63/95) Wrote github.com/docker/go-events@master
(64/95) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18
(65/95) Wrote github.com/docker/cnab-to-oci@v0.1.0-beta2
(66/95) Wrote github.com/docker/go-units@v0.3.3
(67/95) Wrote github.com/godbus/dbus@v5.0.1
(68/95) Wrote github.com/gogo/googleapis@v1.2.0
(69/95) Wrote k8s.io/client-go@kubernetes-1.14.1
(70/95) Wrote github.com/google/go-cmp@v0.2.0
(71/95) Wrote github.com/google/gofuzz@v1.0.0
(72/95) Wrote github.com/inconshreveable/mousetrap@v1.0
(73/95) Wrote google.golang.org/genproto@master
(74/95) Wrote github.com/hashicorp/go-version@v1.1.0
(75/95) Wrote github.com/gorilla/mux@v1.7.1
(76/95) Wrote github.com/hashicorp/golang-lru@v0.5.1
(77/95) Wrote github.com/imdario/mergo@master
(78/95) Wrote github.com/mattn/go-shellwords@v1.0.5
(79/95) Wrote github.com/globalsign/mgo@master
(80/95) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2
(81/95) Wrote github.com/googleapis/gnostic@v0.2.0
(82/95) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1
(83/95) Wrote github.com/json-iterator/go@v1.1.6
(84/95) Wrote github.com/docker/compose-on-kubernetes@v0.4.21
(85/95) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580
(86/95) Wrote github.com/miekg/pkcs11@master
(87/95) Wrote github.com/golang/protobuf@v1.3.1
Removing intermediate container 425480395b09
 ---> 3e6f1c98d9bd
Step 9/14 : FROM alpine:${ALPINE_VERSION} as invocation
 ---> b7b28af77ffe
Step 10/14 : RUN apk add --no-cache ca-certificates && adduser -S cnab
 ---> Running in 900382eed153
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 900382eed153
 ---> c76e92f59a5b
Step 11/14 : USER cnab
 ---> Running in 69205de1bb1b
Removing intermediate container 69205de1bb1b
 ---> 5d61f7e9e969
Step 12/14 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run
 ---> 871e772d3b07
Step 13/14 : WORKDIR /cnab/app
 ---> Running in 047956f7db1f
Removing intermediate container 047956f7db1f
 ---> fb655a5e46d7
Step 14/14 : CMD /cnab/app/run
 ---> Running in 4fcf2e4b64c6
Removing intermediate container 4fcf2e4b64c6
 ---> 9ab881441def
[Warning] One or more build-args [COMMIT GOPROXY] were not consumed
Successfully built 9ab881441def
Successfully tagged docker/cnab-app-base:jenkins-app-PR-643-1
docker save docker/cnab-app-base:jenkins-app-PR-643-1 -o _build/invocation-image.tar
[Pipeline] sh
(88/95) Wrote github.com/containerd/containerd@master
+ make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-643-1-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag
docker tag docker/cnab-app-base:jenkins-app-PR-643-1 docker/cnab-app-base:jenkins-app-PR-643-1-coverage
docker save docker/cnab-app-base:jenkins-app-PR-643-1-coverage -o _build/coverage-invocation-image.tar
(89/95) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc
[Pipeline] sh
+ make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-643-1-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag
docker tag docker/cnab-app-base:jenkins-app-PR-643-1 docker/cnab-app-base:jenkins-app-PR-643-1-coverage-experimental
docker save docker/cnab-app-base:jenkins-app-PR-643-1-coverage-experimental -o _build/coverage-experimental-invocation-image.tar
(90/95) Wrote github.com/docker/cli@19.03
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-643/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] stash
(91/95) Wrote github.com/coreos/etcd@v3.3.12
Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-643/1/stashes/invocation-image.tgz
[Pipeline] stash
(92/95) Wrote k8s.io/api@kubernetes-1.14.1
Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-643/1/stashes/coverage-invocation-image.tgz
[Pipeline] stash
Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-643/1/stashes/coverage-experimental-invocation-image.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-643/src/github.com/docker/app
[Pipeline] {
[Pipeline] sh
(93/95) Wrote github.com/gogo/protobuf@v1.2.1
+ docker rmi docker/cnab-app-base:jenkins-app-PR-643-1
Untagged: docker/cnab-app-base:jenkins-app-PR-643-1
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-643-1-coverage
Untagged: docker/cnab-app-base:jenkins-app-PR-643-1-coverage
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-643-1-coverage-experimental
Untagged: docker/cnab-app-base:jenkins-app-PR-643-1-coverage-experimental
Deleted: sha256:9ab881441defb842bd91f94511e02f94775637c37338da7f36c3f4556bba2f47
Deleted: sha256:fb655a5e46d76e7a9e0717ffcdc1438f366775a7847771179b91289b3dcadcb5
Deleted: sha256:871e772d3b07e77ab7c4a5382c15af3315fc87f9d0d6745e07dcfd8da3cbd2c6
Deleted: sha256:42cbc178c213fa9ccd247a860d44b0842ae11be75722fc7fecbca1c80fcdf023
Deleted: sha256:5d61f7e9e969208928817f41af9b2f42ddeb1861ed420977b08ca6ec127b29ce
Deleted: sha256:c76e92f59a5b0beb9658ac0ea0078aba4f51eb3b56b7a2ab446bafce716dad2e
Deleted: sha256:615bdb2cfc82e8b95bba2351f2ff867bf933575b93d3f7530e22434f4283d378
[Pipeline] }
[Pipeline] // dir
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
GOOS=windows CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=56ce605c -X github.com/docker/app/internal.Version=jenkins-app-PR-643-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-26T14:00:39Z" -o bin/docker-app-windows.exe ./cmd/docker-app
(94/95) Wrote github.com/docker/docker@master
GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=56ce605c -X github.com/docker/app/internal.Version=jenkins-app-PR-643-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-26T14:00:39Z" -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=56ce605c -X github.com/docker/app/internal.Version=jenkins-app-PR-643-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-26T14:00:39Z" -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=56ce605c -X github.com/docker/app/internal.Version=jenkins-app-PR-643-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-26T14:00:39Z" -o bin/docker-app-standalone-windows.exe ./cmd/docker-app-standalone
Removing intermediate container f11d24d63531
 ---> 4858d31528a1
[Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed
Successfully built 4858d31528a1
Successfully tagged docker-app-cross:jenkins-app-PR-643-1
docker create --name docker-app-cross-jenkins-app-PR-643-1 docker-app-cross:jenkins-app-PR-643-1 noop
c0dcb1579d6c5cdbddb52d1f7cc5f5356f1ac1653437dffb8ed2f496b0314e2c
docker cp docker-app-cross-jenkins-app-PR-643-1:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux
docker cp docker-app-cross-jenkins-app-PR-643-1:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin
docker cp docker-app-cross-jenkins-app-PR-643-1:/go/src/github.com/docker/app/bin/docker-app-windows.exe bin/docker-app-windows.exe
docker cp docker-app-cross-jenkins-app-PR-643-1:/go/src/github.com/docker/app/bin/docker-app-standalone-linux bin/docker-app-standalone-linux
docker cp docker-app-cross-jenkins-app-PR-643-1:/go/src/github.com/docker/app/bin/docker-app-standalone-darwin bin/docker-app-standalone-darwin
docker cp docker-app-cross-jenkins-app-PR-643-1:/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-643-1
docker-app-cross-jenkins-app-PR-643-1
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-643-1  .
Sending build context to Docker daemon  72.88MB

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
 ---> 15a69fa00b23
Step 3/26 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Using cache
 ---> 502d20fd3d12
Step 4/26 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> a09070332d64
Step 5/26 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> 71519030c976
Step 6/26 : ARG GOPROXY
 ---> Using cache
 ---> bc2afd08409e
Step 7/26 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> 63bf50054bc7
Step 8/26 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> 970b0275b665
Step 9/26 : FROM build AS dev
 ---> 970b0275b665
Step 10/26 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> 1b36bd80346c
Step 11/26 : ARG DEP_VERSION=v0.5.1
 ---> Using cache
 ---> 347096275d2c
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
 ---> 8c1798ae0c04
Step 13/26 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> 60267b1dc5ce
Step 14/26 : ARG GOPROXY
 ---> Using cache
 ---> b7e9995765dd
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
 ---> 05c349badeba
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
 ---> 8607f8d1e72f
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
 ---> 21e461f4d843
Step 18/26 : COPY . .
 ---> Using cache
 ---> 42f2341aad28
Step 19/26 : FROM dev AS cross
 ---> 42f2341aad28
Step 20/26 : ARG EXPERIMENTAL="off"
 ---> Using cache
 ---> 4cf8ae25da52
Step 21/26 : ARG TAG="unknown"
 ---> Using cache
 ---> 79b8e7181812
Step 22/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross
 ---> Using cache
 ---> 4858d31528a1
Step 23/26 : FROM cross AS e2e-cross
 ---> 4858d31528a1
Step 24/26 : ARG EXPERIMENTAL="off"
 ---> Running in 9a246533e9e7
Removing intermediate container 9a246533e9e7
 ---> 18f9879af856
Step 25/26 : ARG TAG="unknown"
 ---> Running in d65e50635ddc
Removing intermediate container d65e50635ddc
 ---> c49dd3f53863
Step 26/26 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} e2e-cross
 ---> Running in 88cc2e9b43ef
GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=56ce605c -X github.com/docker/app/internal.Version=jenkins-app-PR-643-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-26T14:03:29Z" -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=56ce605c -X github.com/docker/app/internal.Version=jenkins-app-PR-643-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-26T14:03:29Z" -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=56ce605c -X github.com/docker/app/internal.Version=jenkins-app-PR-643-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-26T14:03:29Z" -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=56ce605c -X github.com/docker/app/internal.Version=jenkins-app-PR-643-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-26T14:03:29Z" -c -o bin/docker-app-e2e-darwin ./e2e/
(95/95) Wrote k8s.io/kubernetes@v1.14.1
vendor is correct
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
GOOS=windows CGO_ENABLED=0 go test -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=56ce605c -X github.com/docker/app/internal.Version=jenkins-app-PR-643-1 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-26T14:03:29Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/
Removing intermediate container 88cc2e9b43ef
 ---> 9db4792273b5
[Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed
Successfully built 9db4792273b5
Successfully tagged docker-app-e2e-cross:jenkins-app-PR-643-1
docker create --name docker-app-e2e-cross-jenkins-app-PR-643-1 docker-app-e2e-cross:jenkins-app-PR-643-1 noop
c50e020183bbe6867fd1dfa23b6c07a6facccd2b458cf202184d8b82d7c884b9
docker cp docker-app-e2e-cross-jenkins-app-PR-643-1:/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-643-1:/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-643-1:/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-643-1:/usr/local/bin/gotestsum-linux bin/gotestsum-linux
docker cp docker-app-e2e-cross-jenkins-app-PR-643-1:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin
docker cp docker-app-e2e-cross-jenkins-app-PR-643-1:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe
docker cp docker-app-e2e-cross-jenkins-app-PR-643-1:/usr/local/bin/test2json-linux bin/test2json-linux
docker cp docker-app-e2e-cross-jenkins-app-PR-643-1:/usr/local/bin/test2json-darwin bin/test2json-darwin
docker cp docker-app-e2e-cross-jenkins-app-PR-643-1:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe
docker rm docker-app-e2e-cross-jenkins-app-PR-643-1
docker-app-e2e-cross-jenkins-app-PR-643-1
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-643/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-643/1/stashes/binaries.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-643/src/github.com/docker/app/e2e
[Pipeline] {
[Pipeline] stash
Stashed 60 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-643/1/stashes/e2e.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-643/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-643/1/stashes/examples.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-643-1*
+ xargs docker image rm -f
Untagged: docker-app-e2e-cross:jenkins-app-PR-643-1
Deleted: sha256:9db4792273b554c3d44aeac2fb260c1185d2707b00bee047a89c87a32274aa2e
Deleted: sha256:5c4da69a6f102c67ebc395e3695c904c35e417c67a105ddffd76721ea29adbd1
Deleted: sha256:c49dd3f5386300946c460b2dcbd38a1259451f63d1cbd6be3ec842d8646a95c3
Deleted: sha256:18f9879af856eb1fca1e12d523eb7b617f1b884dddc3c4dd8e152bbf0a8478d9
Untagged: docker-app-cross:jenkins-app-PR-643-1
Deleted: sha256:4858d31528a124e9a8ac3f7a27e187c8abac074d348f80d468183daeb7106cd5
Deleted: sha256:2e26c93fbbdc8ce15c82150d89fb98f8c418640108272949485986c487e7476f
Deleted: sha256:79b8e71818127115e319d89c7d799238f7b0b9cd600f581cca5a05e296342d70
Deleted: sha256:4cf8ae25da52083ec0db64b79bf34ae34bd70be3a00052a69d333546feacb7c7
Deleted: sha256:42f2341aad2891f55d9740dc6d3ae4f687dc31d58b870d19bbf9339921988eec
Deleted: sha256:b7bffa385c9f1bcec07bbd90f7c0c98638c1f27cebffa9eb36dd38f65cc4a98a
Untagged: docker-app-cli:jenkins-app-PR-643-1
[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-0ee8df12c21216d0e) in /home/ubuntu/workspace/app_PR-643
[Pipeline] {
Running on ubuntu-1804-overlay2 (i-0dbf2e8b63f4e271a) in /home/ubuntu/workspace/app_PR-643
[Pipeline] {
Running on ubuntu-1804-overlay2 (i-08639604c5c42a9d1) in /home/ubuntu/workspace/app_PR-643
[Pipeline] {
[Pipeline] withEnv
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-643/src/github.com/docker/app
[Pipeline] {
[Pipeline] checkout
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-643/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
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-643/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
using credential docker-jenkins-github-credentials
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-643/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/643/head:refs/remotes/origin/PR-643
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-643/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/643/head:refs/remotes/origin/PR-643
Cloning repository https://github.com/docker/app.git
 > git init /home/ubuntu/workspace/app_PR-643/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/643/head:refs/remotes/origin/PR-643
Fetching without tags
Fetching without tags
Fetching without tags
Checking out Revision 56ce605c6809e63e0967b28cecc7aefc88068dbf (PR-643)
Checking out Revision 56ce605c6809e63e0967b28cecc7aefc88068dbf (PR-643)
Checking out Revision 56ce605c6809e63e0967b28cecc7aefc88068dbf (PR-643)
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/643/head:refs/remotes/origin/PR-643 # 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/643/head:refs/remotes/origin/PR-643
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 56ce605c6809e63e0967b28cecc7aefc88068dbf
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/643/head:refs/remotes/origin/PR-643 # 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/643/head:refs/remotes/origin/PR-643
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 56ce605c6809e63e0967b28cecc7aefc88068dbf
 > git config remote.origin.url https://github.com/docker/app.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/643/head:refs/remotes/origin/PR-643 # 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/643/head:refs/remotes/origin/PR-643
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 56ce605c6809e63e0967b28cecc7aefc88068dbf
Commit message: "Remove `--insecure-registries` flag"
fatal: bad object ead69454b4062f17d1f8389642089a002b037213
Commit message: "Remove `--insecure-registries` flag"
Commit message: "Remove `--insecure-registries` flag"
fatal: bad object ead69454b4062f17d1f8389642089a002b037213
fatal: bad object ead69454b4062f17d1f8389642089a002b037213
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-643/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-643/src/github.com/docker/app/_build
[Pipeline] {
[Pipeline] unstash
[Pipeline] unstash
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-643/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-643/1/stashes/coverage-experimental-invocation-image.tgz
[Pipeline] sh
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-643/1/stashes/invocation-image.tgz
[Pipeline] sh
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-643/1/stashes/coverage-invocation-image.tgz
[Pipeline] sh
+ docker load -i coverage-experimental-invocation-image.tar
+ docker load -i invocation-image.tar
+ docker load -i coverage-invocation-image.tar
Loaded image: docker/cnab-app-base:jenkins-app-PR-643-1-coverage-experimental
[Pipeline] }
[Pipeline] // dir
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
Loaded image: docker/cnab-app-base:jenkins-app-PR-643-1
[Pipeline] }
[Pipeline] // dir
[Pipeline] unstash
Loaded image: docker/cnab-app-base:jenkins-app-PR-643-1-coverage
[Pipeline] }
[Pipeline] // dir
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ make EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- -f docker.Makefile TAG=jenkins-app-PR-643-1-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-643-1 .
+ make -f docker.Makefile TAG=jenkins-app-PR-643-1-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-643-1 .
Sending build context to Docker daemon  72.88MB

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
 ---> 1fd78717bbc2
Step 3/18 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Using cache
 ---> a54f00e61a2d
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> 435dc19fba76
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> d2a51ea7cb95
Step 6/18 : ARG GOPROXY
 ---> Using cache
 ---> c7ef2289b793
Step 7/18 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> 177c2f64f242
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> 7cde323ba9b6
Step 9/18 : FROM build AS dev
 ---> 7cde323ba9b6
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> e6f2e0d63db0
Step 11/18 : ARG DEP_VERSION=v0.5.1
 ---> Using cache
 ---> d813518f25d6
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
 ---> 3190914ee9bc
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> 5c5a0f061c45
Step 14/18 : ARG GOPROXY
 ---> Using cache
 ---> 3bc55303af8f
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
 ---> 9c02a171caa8
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
 ---> bff71c142a8c
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
 ---> 349fdd1de614
Step 18/18 : COPY . .
Sending build context to Docker daemon  72.88MB

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
 ---> 65f064d4c961
Step 3/18 : RUN apt-get install -y -q --no-install-recommends     coreutils     util-linux     uuid-runtime
 ---> Using cache
 ---> e359519928a0
Step 4/18 : WORKDIR /go/src/github.com/docker/cli
 ---> Using cache
 ---> 5ae906354288
Step 5/18 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb
 ---> Using cache
 ---> 046724e2f22c
Step 6/18 : ARG GOPROXY
 ---> Using cache
 ---> a5e6700811d5
Step 7/18 : RUN make binary-osx binary-windows binary &&  cp build/docker-linux-amd64 /usr/bin/docker
 ---> Using cache
 ---> f962f82fc051
Step 8/18 : WORKDIR /go/src/github.com/docker/app/
 ---> Using cache
 ---> 5f009c56d4f1
Step 9/18 : FROM build AS dev
 ---> 5f009c56d4f1
Step 10/18 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/
 ---> Using cache
 ---> cb03f7f10f3b
Step 11/18 : ARG DEP_VERSION=v0.5.1
 ---> Using cache
 ---> c01c2be22279
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
 ---> 43db83a10246
Step 13/18 : ARG GOTESTSUM_VERSION=v0.3.4
 ---> Using cache
 ---> 8103782ef336
Step 14/18 : ARG GOPROXY
 ---> Using cache
 ---> 24d94237dba8
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
 ---> 6c7af5e91c98
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
 ---> 487f9952fe2f
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
 ---> 89203ea5653d
Step 18/18 : COPY . .
 ---> cf4b0489151f
[Warning] One or more build-args [TAG ALPINE_VERSION COMMIT EXPERIMENTAL] were not consumed
Successfully built cf4b0489151f
Successfully tagged docker-app-dev:jenkins-app-PR-643-1
docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-643-1-coverage --network="host" -t docker-app-dev:jenkins-app-PR-643-1 make COMMIT=56ce605c TAG=jenkins-app-PR-643-1-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=56ce605c -X github.com/docker/app/internal.Version=jenkins-app-PR-643-1-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-26T14:05:18Z" -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/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
∅  . (1ms)
 ---> 50ce67c49844
[Warning] One or more build-args [EXPERIMENTAL TAG ALPINE_VERSION COMMIT] were not consumed
Successfully built 50ce67c49844
Successfully tagged docker-app-dev:jenkins-app-PR-643-1
docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-PR-643-1-coverage-experimental --network="host" -t docker-app-dev:jenkins-app-PR-643-1 make COMMIT=56ce605c TAG=jenkins-app-PR-643-1-coverage-experimental EXPERIMENTAL=on TEST_RESULTS_PREFIX=experimental- coverage
Running unit tests (coverage)...
CGO_ENABLED=0 gotestsum --junitfile _build/test-results/experimental-unit-coverage.xml -- -tags="experimental" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=56ce605c -X github.com/docker/app/internal.Version=jenkins-app-PR-643-1-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-09-26T14:05:19Z" -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/compose github.com/docker/app/internal/formatter github.com/docker/app/internal/formatter/driver github.com/docker/app/internal/formatter/json github.com/docker/app/internal/formatter/yaml github.com/docker/app/internal/inspect github.com/docker/app/internal/log github.com/docker/app/internal/packager github.com/docker/app/internal/slices github.com/docker/app/internal/store github.com/docker/app/internal/yaml github.com/docker/app/loader github.com/docker/app/render github.com/docker/app/specification github.com/docker/app/types github.com/docker/app/types/metadata github.com/docker/app/types/parameters
∅  .
Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-643/1/stashes/binaries.tgz
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-643/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-643/1/stashes/examples.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-643/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-643/1/stashes/e2e.tgz
[Pipeline] }
[Pipeline] // dir
[Pipeline] ansiColor
[Pipeline] {
[Pipeline] sh
+ ./gotestsum-linux --format short-verbose --junitfile e2e-linux.xml --raw-command -- ./test2json-linux -t -p e2e/linux ./docker-app-e2e-linux -test.v --e2e-path=e2e
PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (6.12s)
PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (4.48s)
PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (3.09s)
PASS e2e/linux.TestCallCustomStatusAction (13.70s)
PASS e2e/linux.TestCnabParameters (3.04s)
PASS e2e/linux.TestRender/envvariables/stdout (1.74s)
PASS e2e/linux.TestRender/envvariables/file (1.56s)
PASS e2e/linux.TestRender/envvariables (3.31s)
PASS e2e/linux.TestRender (3.31s)
PASS e2e/linux.TestRenderFormatters (3.30s)
PASS e2e/linux.TestInit (0.13s)
PASS e2e/linux.TestDetectApp (5.08s)
PASS e2e/linux.TestBundle/simple-bundle (0.79s)
PASS e2e/linux.TestBundle/bundle-with-tag (0.32s)
PASS e2e/linux.TestBundle (7.61s)
∅  cmd/cnab-run
∅  cmd/docker-app
∅  cmd/docker-app-standalone
✓  internal (2ms)
✓  internal/compose (7ms)
✓  internal/formatter (6ms)
✓  internal/inspect (53ms)
∅  cmd/cnab-run
∅  cmd/docker-app
∅  cmd/docker-app-standalone
✓  internal (3ms)
✓  internal/compose (5ms)
✓  internal/commands (532ms)
∅  internal/formatter/driver
∅  internal/formatter/json
∅  internal/formatter/yaml
∅  internal/log
✓  internal/packager (26ms)
✓  internal/slices (2ms)
✓  internal/formatter (2ms)
✓  internal/store (19ms)
✓  internal/inspect (49ms)
✓  internal/yaml (1.682s)
✓  loader (36ms)
✓  render (49ms)
✓  specification (7ms)
✓  internal/commands (325ms)
∅  internal/formatter/driver
∅  internal/formatter/json
∅  internal/formatter/yaml
∅  internal/log
✓  internal/packager (32ms)
✓  internal/slices (2ms)
✓  types (28ms)
✓  types/metadata (11ms)
✓  types/parameters (4ms)

DONE 198 tests in 90.903s
CGO_ENABLED=0 go test -tags=""" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=56ce605c -X github.com/docker/app/internal.Version=jenkins-app-PR-643-1-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-26T14:05:18Z" -coverpkg="./..." -c -o _build/docker-app.cov ./cmd/docker-app
✓  internal/store (43ms)
✓  internal/yaml (1.651s)
✓  loader (11ms)
✓  render (46ms)
✓  specification (7ms)
✓  types (19ms)
✓  types/metadata (13ms)
✓  types/parameters (4ms)

DONE 198 tests in 94.141s
CGO_ENABLED=0 go test -tags=""experimental" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=56ce605c -X github.com/docker/app/internal.Version=jenkins-app-PR-643-1-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-09-26T14:05:19Z" -coverpkg="./..." -c -o _build/docker-app.cov ./cmd/docker-app
Running e2e tests (coverage)...
DOCKERAPP_BINARY=../e2e/coverage-bin CGO_ENABLED=0 gotestsum --junitfile _build/test-results/e2e-coverage.xml -- -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=56ce605c -X github.com/docker/app/internal.Version=jenkins-app-PR-643-1-coverage -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-26T14:05:18Z" -v ./e2e
PASS e2e/linux.TestDockerAppLifecycle/withBindMounts (26.60s)
PASS e2e/linux.TestDockerAppLifecycle/withoutBindMounts (27.74s)
PASS e2e/linux.TestDockerAppLifecycle (54.34s)
PASS e2e/linux.TestCredentials/missing (0.13s)
PASS e2e/linux.TestCredentials/full (1.47s)
PASS e2e/linux.TestCredentials/mixed-credstore (1.45s)
PASS e2e/linux.TestCredentials/mixed-local-cred (1.43s)
PASS e2e/linux.TestCredentials/overload (0.06s)
PASS e2e/linux.TestCredentials (4.55s)
PASS e2e/linux.TestRenderWithEnvFile (1.76s)
PASS e2e/linux.TestExamplesAreValid (0.12s)
PASS e2e/linux.TestInvokePluginFromCLI (0.23s)
Running e2e tests (coverage)...
DOCKERAPP_BINARY=../e2e/coverage-bin CGO_ENABLED=0 gotestsum --junitfile _build/test-results/experimental-e2e-coverage.xml -- -tags="experimental" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=56ce605c -X github.com/docker/app/internal.Version=jenkins-app-PR-643-1-coverage-experimental -X github.com/docker/app/internal.Experimental=on -X github.com/docker/app/internal.BuildTime=2019-09-26T14:05:19Z" -v ./e2e
PASS e2e/linux.TestPushArchs/default (3.58s)
PASS e2e/linux.TestPushArchs/all-platforms (1.05s)
PASS e2e/linux.TestPushArchs (16.36s)
PASS e2e/linux.TestPushInstall (16.78s)
PASS e2e/linux.TestPushPullInstall (17.64s)
PASS e2e/linux.TestPushInstallBundle/push-bundle (5.01s)
PASS e2e/linux.TestPushInstallBundle/push-ref (1.31s)
=== RUN   TestPushInstallBundle/push-bundleref
    --- FAIL: TestPushInstallBundle/push-bundleref (3.02s)
        pushpull_test.go:292: assertion failed: 
            Command:  /home/ubuntu/workspace/app_PR-643/src/github.com/docker/app/docker-linux app push 127.0.0.1:6889/test/push-bundle:v0.42
            ExitCode: 1
            Error:    exit status 1
            Stdout:   Handling image 127.0.0.1:6889/test/push-bundle:v0.42-invoc...
            Failure: failed to resolve "127.0.0.1:6889/test/push-bundle:v0.42-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:6889/v2/test/push-bundle/manifests/v0.42-invoc: http: server gave HTTP response to HTTPS client
            
            Stderr:   fixing up "127.0.0.1:6889/test/push-bundle:v0.42" for push: failed to resolve "127.0.0.1:6889/test/push-bundle:v0.42-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:6889/v2/test/push-bundle/manifests/v0.42-invoc: http: server gave HTTP response to HTTPS client
            
            
            Failures:
            ExitCode was 1 expected 0
            Expected no error
FAIL e2e/linux.TestPushInstallBundle/push-bundleref (3.02s)
=== RUN   TestPushInstallBundle
--- FAIL: TestPushInstallBundle (21.55s)
FAIL e2e/linux.TestPushInstallBundle (21.55s)
FAIL e2e/linux

=== Failed
=== FAIL: e2e/linux TestPushInstallBundle/push-bundleref (3.02s)
    --- FAIL: TestPushInstallBundle/push-bundleref (3.02s)
        pushpull_test.go:292: assertion failed: 
            Command:  /home/ubuntu/workspace/app_PR-643/src/github.com/docker/app/docker-linux app push 127.0.0.1:6889/test/push-bundle:v0.42
            ExitCode: 1
            Error:    exit status 1
            Stdout:   Handling image 127.0.0.1:6889/test/push-bundle:v0.42-invoc...
            Failure: failed to resolve "127.0.0.1:6889/test/push-bundle:v0.42-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:6889/v2/test/push-bundle/manifests/v0.42-invoc: http: server gave HTTP response to HTTPS client
            
            Stderr:   fixing up "127.0.0.1:6889/test/push-bundle:v0.42" for push: failed to resolve "127.0.0.1:6889/test/push-bundle:v0.42-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:6889/v2/test/push-bundle/manifests/v0.42-invoc: http: server gave HTTP response to HTTPS client
            
            
            Failures:
            ExitCode was 1 expected 0
            Expected no error

=== FAIL: e2e/linux TestPushInstallBundle (21.55s)


DONE 36 tests, 2 failures in 169.519s
time="2019-09-26T14:08:11Z" 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-643/1/artifacts/
[Pipeline] junit
Recording test results
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-643-1
Untagged: docker/cnab-app-base:jenkins-app-PR-643-1
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Test Linux
✖  e2e (2m40.312s)

=== Failed
=== FAIL: e2e TestPushInstallBundle/push-bundleref (3.10s)
    --- FAIL: TestPushInstallBundle/push-bundleref (3.10s)
        pushpull_test.go:292: assertion failed: 
            Command:  docker app push 127.0.0.1:6766/test/push-bundle:v0.42
            ExitCode: 1
            Error:    exit status 1
            Stdout:   Handling image 127.0.0.1:6766/test/push-bundle:v0.42-invoc...
            Failure: failed to resolve "127.0.0.1:6766/test/push-bundle:v0.42-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:6766/v2/test/push-bundle/manifests/v0.42-invoc: http: server gave HTTP response to HTTPS client
            
            Stderr:   fixing up "127.0.0.1:6766/test/push-bundle:v0.42" for push: failed to resolve "127.0.0.1:6766/test/push-bundle:v0.42-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:6766/v2/test/push-bundle/manifests/v0.42-invoc: http: server gave HTTP response to HTTPS client
            
            
            Failures:
            ExitCode was 1 expected 0
            Expected no error

=== FAIL: e2e TestPushInstallBundle (21.59s)


DONE 36 tests, 2 failures in 161.919s
make: *** [Makefile:112: coverage-test-e2e] 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-643-1-coverage coverage-results
docker cp docker-app-cov-jenkins-app-PR-643-1-coverage:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov
docker cp docker-app-cov-jenkins-app-PR-643-1-coverage:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results
docker rm docker-app-cov-jenkins-app-PR-643-1-coverage
docker-app-cov-jenkins-app-PR-643-1-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-643/src/github.com/docker/app/_build/test-results
[Pipeline] {
[Pipeline] sh
+ [ ! -e unit-coverage.xml ]
+ sed -i -E -e s,"github.com/docker/app","unit/basic",g; s,"github.com/docker/app/([^"]*)","unit/basic/\1",g unit-coverage.xml
[Pipeline] sh
+ [ ! -e e2e-coverage.xml ]
+ sed -i -E -e s,"github.com/docker/app/e2e","e2e/basic",g e2e-coverage.xml
[Pipeline] archiveArtifacts
Archiving artifacts
Uploaded 2 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-643/1/artifacts/
[Pipeline] junit
Recording test results
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-643-1-coverage
Untagged: docker/cnab-app-base:jenkins-app-PR-643-1-coverage
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
Failed in branch Coverage
✖  e2e (2m50.622s)

=== Failed
=== FAIL: e2e TestPushInstallBundle/push-bundleref (3.13s)
    --- FAIL: TestPushInstallBundle/push-bundleref (3.13s)
        pushpull_test.go:292: assertion failed: 
            Command:  docker app push 127.0.0.1:5011/test/push-bundle:v0.42
            ExitCode: 1
            Error:    exit status 1
            Stdout:   Handling image 127.0.0.1:5011/test/push-bundle:v0.42-invoc...
            Failure: failed to resolve "127.0.0.1:5011/test/push-bundle:v0.42-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:5011/v2/test/push-bundle/manifests/v0.42-invoc: http: server gave HTTP response to HTTPS client
            
            Stderr:   fixing up "127.0.0.1:5011/test/push-bundle:v0.42" for push: failed to resolve "127.0.0.1:5011/test/push-bundle:v0.42-invoc", push the image to the registry before pushing the bundle: failed to do request: Head https://127.0.0.1:5011/v2/test/push-bundle/manifests/v0.42-invoc: http: server gave HTTP response to HTTPS client
            
            
            Failures:
            ExitCode was 1 expected 0
            Expected no error

=== FAIL: e2e TestPushInstallBundle (21.46s)


DONE 36 tests, 2 failures in 172.202s
make: *** [Makefile:112: coverage-test-e2e] 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-643-1-coverage-experimental coverage-results
docker cp docker-app-cov-jenkins-app-PR-643-1-coverage-experimental:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov
docker cp docker-app-cov-jenkins-app-PR-643-1-coverage-experimental:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results
docker rm docker-app-cov-jenkins-app-PR-643-1-coverage-experimental
docker-app-cov-jenkins-app-PR-643-1-coverage-experimental
[Pipeline] }
[Pipeline] // ansiColor
[Pipeline] }
[Pipeline] // dir
Post stage
[Pipeline] dir
Running in /home/ubuntu/workspace/app_PR-643/src/github.com/docker/app/_build/test-results
[Pipeline] {
[Pipeline] sh
+ [ ! -e experimental-unit-coverage.xml ]
+ sed -i -E -e s,"github.com/docker/app","unit/experimental",g; s,"github.com/docker/app/([^"]*)","unit/experimental/\1",g experimental-unit-coverage.xml
[Pipeline] sh
+ [ ! -e experimental-e2e-coverage.xml ]
+ sed -i -E -e s,"github.com/docker/app/e2e","e2e/experimental",g experimental-e2e-coverage.xml
[Pipeline] archiveArtifacts
Archiving artifacts
Uploaded 2 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-643/1/artifacts/
[Pipeline] junit
Recording test results
[Pipeline] }
[Pipeline] // dir
[Pipeline] sh
+ docker rmi docker/cnab-app-base:jenkins-app-PR-643-1-coverage-experimental
Untagged: docker/cnab-app-base:jenkins-app-PR-643-1-coverage-experimental
[Pipeline] deleteDir
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // parallel
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] End of Pipeline

GitHub has been notified of this commit’s build result

ERROR: script returned exit code 1
Finished: FAILURE