Branch indexing Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 44a5dde2dc37afcc10c96e8a23a3aa5a5aa5a71c 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-505@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] properties [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘linux&&x86_64’ Running on ubuntu-1804-overlay2 (i-0a48fd9d4cfa8d79f) in /home/ubuntu/workspace/app_PR-505 [Pipeline] { [Pipeline] withEnv [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 Still waiting to schedule task All nodes of label ‘ubuntu-1604-aufs-edge’ are offline Still waiting to schedule task All nodes of label ‘ubuntu-1604-aufs-edge’ are offline Still waiting to schedule task All nodes of label ‘ubuntu-1604-aufs-edge’ are offline Running on ubuntu-1604-aufs (i-0e0173d7711670a02) in /home/ubuntu/workspace/app_PR-505 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-505/src/github.com/docker/app [Pipeline] { [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Running on ubuntu-1604-aufs (i-0b229253d84425c28) in /home/ubuntu/workspace/app_PR-505 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-505/src/github.com/docker/app [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] checkout Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-505/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/505/head:refs/remotes/origin/PR-505 Fetching without tags Checking out Revision 44a5dde2dc37afcc10c96e8a23a3aa5a5aa5a71c (PR-505) Running on ubuntu-1604-aufs (i-09da1b80c5159dc34) in /home/ubuntu/workspace/app_PR-505 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-505/src/github.com/docker/app [Pipeline] { [Pipeline] checkout > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/505/head:refs/remotes/origin/PR-505 # 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/505/head:refs/remotes/origin/PR-505 > git config core.sparsecheckout # timeout=10 > git checkout -f 44a5dde2dc37afcc10c96e8a23a3aa5a5aa5a71c Commit message: "Ensure correct override types + e2e test" First time build. Skipping changelog. [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-505-2 -f Dockerfile.lint . using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-505/src/github.com/docker/app # timeout=10 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-505/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/505/head:refs/remotes/origin/PR-505 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/505/head:refs/remotes/origin/PR-505 Fetching without tags > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/505/head:refs/remotes/origin/PR-505 # 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/505/head:refs/remotes/origin/PR-505 Checking out Revision 44a5dde2dc37afcc10c96e8a23a3aa5a5aa5a71c (PR-505) Fetching without tags Checking out Revision 44a5dde2dc37afcc10c96e8a23a3aa5a5aa5a71c (PR-505) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/505/head:refs/remotes/origin/PR-505 # 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/505/head:refs/remotes/origin/PR-505 > git config core.sparsecheckout # timeout=10 > git checkout -f 44a5dde2dc37afcc10c96e8a23a3aa5a5aa5a71c Commit message: "Ensure correct override types + e2e test" > git config core.sparsecheckout # timeout=10 > git checkout -f 44a5dde2dc37afcc10c96e8a23a3aa5a5aa5a71c [Pipeline] ansiColor [Pipeline] { [Pipeline] sh Commit message: "Ensure correct override types + e2e test" + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg=EXPERIMENTAL=off --build-arg=TAG=jenkins-app-PR-505-2 --build-arg=COMMIT=44a5dde --build-arg=ALPINE_VERSION=3.9.2 --target=build -t docker-app-cli:jenkins-app-PR-505-2 . [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg=EXPERIMENTAL=off --build-arg=TAG=jenkins-app-PR-505-2 --build-arg=COMMIT=44a5dde --build-arg=ALPINE_VERSION=3.9.2 --target=invocation -t docker/cnab-app-base:jenkins-app-PR-505-2 . Sending build context to Docker daemon 74.69MB Step 1/8 : ARG ALPINE_VERSION=3.9 Step 2/8 : ARG GO_VERSION=1.12.2 Step 3/8 : FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} 1.12.2-alpine3.9: Pulling from library/golang 8e402f1a9c57: Pulling fs layer ce7779d8bfe3: Pulling fs layer de1a1e452942: Pulling fs layer 3fe549cf1269: Pulling fs layer 8419b92b6a4a: Pulling fs layer 3fe549cf1269: Waiting 8419b92b6a4a: Waiting de1a1e452942: Verifying Checksum de1a1e452942: Download complete ce7779d8bfe3: Download complete 8e402f1a9c57: Verifying Checksum 8e402f1a9c57: Download complete 8419b92b6a4a: Verifying Checksum 8419b92b6a4a: Download complete 8e402f1a9c57: Pull complete ce7779d8bfe3: Pull complete de1a1e452942: Pull complete 3fe549cf1269: Download complete Sending build context to Docker daemon 74.69MB Step 1/7 : FROM dockercore/golang-cross:1.12.2@sha256:ea93d7ed5b464e5163cf8df40a198ad54afe6a59e1ca335c9bc4a5ed3702f2d0 AS build sha256:ea93d7ed5b464e5163cf8df40a198ad54afe6a59e1ca335c9bc4a5ed3702f2d0: Pulling from dockercore/golang-cross e79bb959ec00: Pulling fs layer d4b7902036fe: Pulling fs layer 1b2a72d4e030: Pulling fs layer d54db43011fd: Pulling fs layer 963c818ebafc: Pulling fs layer 17355b0ffe5d: Pulling fs layer 7eca7cce1124: Pulling fs layer 852f637aab33: Pulling fs layer c571afaa9e23: Pulling fs layer 162e4705bed0: Pulling fs layer 4f2baa6f625a: Pulling fs layer 963c818ebafc: Waiting 17355b0ffe5d: Waiting 7eca7cce1124: Waiting 852f637aab33: Waiting c571afaa9e23: Waiting 162e4705bed0: Waiting 4f2baa6f625a: Waiting d54db43011fd: Waiting 1b2a72d4e030: Verifying Checksum 1b2a72d4e030: Download complete d4b7902036fe: Verifying Checksum d4b7902036fe: Download complete Sending build context to Docker daemon 74.69MB Step 1/14 : ARG ALPINE_VERSION=3.9.2 Step 2/14 : FROM dockercore/golang-cross:1.12.2@sha256:ea93d7ed5b464e5163cf8df40a198ad54afe6a59e1ca335c9bc4a5ed3702f2d0 AS build e79bb959ec00: Verifying Checksum e79bb959ec00: Download complete sha256:ea93d7ed5b464e5163cf8df40a198ad54afe6a59e1ca335c9bc4a5ed3702f2d0: Pulling from dockercore/golang-cross e79bb959ec00: Pulling fs layer d4b7902036fe: Pulling fs layer 1b2a72d4e030: Pulling fs layer d54db43011fd: Pulling fs layer 963c818ebafc: Pulling fs layer 17355b0ffe5d: Pulling fs layer 7eca7cce1124: Pulling fs layer 852f637aab33: Pulling fs layer c571afaa9e23: Pulling fs layer 162e4705bed0: Pulling fs layer 4f2baa6f625a: Pulling fs layer 17355b0ffe5d: Waiting 7eca7cce1124: Waiting 852f637aab33: Waiting c571afaa9e23: Waiting 162e4705bed0: Waiting 4f2baa6f625a: Waiting d54db43011fd: Waiting 963c818ebafc: Waiting 1b2a72d4e030: Verifying Checksum 1b2a72d4e030: Download complete d4b7902036fe: Verifying Checksum d4b7902036fe: Download complete d54db43011fd: Verifying Checksum d54db43011fd: Download complete 7eca7cce1124: Verifying Checksum 7eca7cce1124: Download complete 963c818ebafc: Verifying Checksum 963c818ebafc: Download complete 852f637aab33: Verifying Checksum 852f637aab33: Download complete 162e4705bed0: Verifying Checksum 162e4705bed0: Download complete e79bb959ec00: Verifying Checksum e79bb959ec00: Download complete d54db43011fd: Verifying Checksum d54db43011fd: Download complete 7eca7cce1124: Verifying Checksum 7eca7cce1124: Download complete 963c818ebafc: Verifying Checksum 963c818ebafc: Download complete 852f637aab33: Verifying Checksum 852f637aab33: Download complete 162e4705bed0: Verifying Checksum 162e4705bed0: Download complete 3fe549cf1269: Pull complete 8419b92b6a4a: Pull complete Digest: sha256:d481168873b7516b9f34d322615d589fafb166ff5fd57d93e96f64787a58887c Status: Downloaded newer image for golang:1.12.2-alpine3.9 ---> 84aad42b0941 Step 4/8 : RUN apk add --no-cache curl git make coreutils ---> Running in 2004a94ec3de fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz 17355b0ffe5d: Verifying Checksum 17355b0ffe5d: Download complete 17355b0ffe5d: Verifying Checksum 17355b0ffe5d: Download complete c571afaa9e23: Verifying Checksum c571afaa9e23: Download complete fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz (1/11) Installing libattr (2.4.47-r7) (2/11) Installing libacl (2.2.52-r5) (3/11) Installing coreutils (8.30-r0) (4/11) Installing nghttp2-libs (1.35.1-r1) (5/11) Installing libssh2 (1.8.2-r0) (6/11) Installing libcurl (7.64.0-r2) (7/11) Installing curl (7.64.0-r2) (8/11) Installing expat (2.2.7-r0) (9/11) Installing pcre2 (10.32-r1) (10/11) Installing git (2.20.1-r0) (11/11) Installing make (4.2.1-r2) Executing busybox-1.29.3-r10.trigger OK: 22 MiB in 26 packages c571afaa9e23: Verifying Checksum c571afaa9e23: Download complete Removing intermediate container 2004a94ec3de ---> 5d936f53707c 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/* ---> Running in 9fbc6790dff7 4f2baa6f625a: Verifying Checksum 4f2baa6f625a: Download complete go: finding github.com/golangci/golangci-lint/cmd/golangci-lint v1.16.0 go: finding github.com/golangci/golangci-lint/cmd v1.16.0 go: finding github.com/golangci/golangci-lint v1.16.0 go: downloading github.com/golangci/golangci-lint v1.16.0 4f2baa6f625a: Verifying Checksum 4f2baa6f625a: Download complete e79bb959ec00: Pull complete e79bb959ec00: Pull complete d4b7902036fe: Pull complete d4b7902036fe: Pull complete 1b2a72d4e030: Pull complete go: extracting github.com/golangci/golangci-lint v1.16.0 1b2a72d4e030: Pull complete go: finding github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a go: finding github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613 go: finding github.com/BurntSushi/toml v0.3.1 go: finding github.com/go-critic/go-critic v0.0.0-20181204210945-ee9bf5809ead go: finding github.com/go-ole/go-ole v1.2.1 go: finding github.com/OpenPeeDeeP/depguard v0.0.0-20180806142446-a69c782687b2 go: finding github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca go: finding github.com/golang/mock v1.1.1 go: finding github.com/gobwas/glob v0.2.3 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding github.com/pelletier/go-toml v1.1.0 go: finding github.com/magiconair/properties v1.7.6 go: finding github.com/fatih/color v1.6.0 go: finding github.com/spf13/afero v1.1.0 go: finding github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/go-lintpack/lintpack v0.5.2 go: finding golang.org/x/crypto v0.0.0-20190313024323-a1f597ede03a go: finding golang.org/x/sys v0.0.0-20190312061237-fead79001313 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding github.com/golangci/ineffassign v0.0.0-20180808204949-2ee8f2867dde go: finding github.com/go-toolsmith/astfmt v0.0.0-20180903215011-8f8ee99c3086 go: finding github.com/go-toolsmith/astcopy v0.0.0-20180903214859-79b422d080c4 go: finding github.com/spf13/cobra v0.0.2 go: finding github.com/shirou/gopsutil v0.0.0-20180427012116-c95755e4bcd7 go: finding golang.org/x/net v0.0.0-20190313220215-9f648a60d977 go: finding golang.org/x/tools v0.0.0-20190314010720-f0bfdbff1f9c d54db43011fd: Pull complete go: finding github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 go: finding golang.org/x/tools v0.0.0-20181205014116-22934f0fdb62 go: finding github.com/go-toolsmith/astequal v0.0.0-20180903214952-dcb477bfacd6 go: finding github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770 go: finding github.com/go-toolsmith/typep v0.0.0-20181030061450-d63dc7650676 go: finding github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e go: finding github.com/inconshreveable/mousetrap v1.0.0 d54db43011fd: Pull complete go: finding github.com/pkg/errors v0.8.0 go: finding golang.org/x/tools v0.0.0-20181117154741-2ddaf7f79a09 go: finding github.com/spf13/cast v1.2.0 go: finding mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34 go: finding mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed go: finding github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 963c818ebafc: Pull complete go: finding github.com/onsi/gomega v1.4.2 go: finding github.com/mitchellh/go-homedir v1.0.0 963c818ebafc: Pull complete go: finding mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b go: finding github.com/golangci/lint-1 v0.0.0-20180610141402-4bf9709227d1 go: finding github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/golangci/gofmt v0.0.0-20181105071733-0b8337e80d98 go: finding golang.org/x/tools v0.0.0-20190121143147-24cd39ecf745 go: finding github.com/mattn/goveralls v0.0.2 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding github.com/rogpeppe/go-internal v1.1.0 go: finding github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21 go: finding github.com/hpcloud/tail v1.0.0 go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding gopkg.in/errgo.v2 v2.1.0 go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding github.com/stretchr/testify v1.2.2 go: finding github.com/go-toolsmith/strparse v0.0.0-20180903215201-830b6daa1241 go: finding github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce go: finding github.com/spf13/pflag v1.0.1 go: finding golang.org/x/text v0.3.0 go: finding github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238 go: finding github.com/onsi/ginkgo v1.6.0 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding github.com/golangci/go-tools v0.0.0-20180109140146-af6baa5dc196 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding github.com/spf13/jwalterweatherman v0.0.0-20180109140146-7c0cea34c8ec go: finding github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee go: finding github.com/mitchellh/go-ps v0.0.0-20170309133038-4fdf99ab2936 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding github.com/go-toolsmith/pkgload v0.0.0-20181119091011-e9e65178eee8 go: finding github.com/go-toolsmith/astp v0.0.0-20180903215135-0af7e3c24f30 17355b0ffe5d: Pull complete 7eca7cce1124: Pull complete 17355b0ffe5d: Pull complete 7eca7cce1124: Pull complete 852f637aab33: Pull complete go: finding github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 go: finding github.com/sirupsen/logrus v1.0.5 852f637aab33: Pull complete go: finding github.com/kr/pretty v0.1.0 go: finding github.com/golang/protobuf v1.2.0 go: finding github.com/nbutton23/zxcvbn-go v0.0.0-20171102151520-eafdab6b0663 go: finding github.com/golangci/gosec v0.0.0-20180901114220-66fb7fc33547 go: finding golang.org/x/net v0.0.0-20190311183353-d8887717615a go: finding github.com/spf13/viper v1.0.2 go: finding github.com/go-toolsmith/astcast v0.0.0-20181028201508-b7a89ed70af1 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/kr/text v0.1.0 go: finding github.com/golangci/errcheck v0.0.0-20181003203344-ef45e06d44b6 go: finding github.com/nbutton23/zxcvbn-go v0.0.0-20160627004424-a22cb81b2ecd go: finding github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c go: finding github.com/mozilla/tls-observatory v0.0.0-20180409132520-8791a200eb40 go: finding github.com/davecgh/go-spew v1.1.1 go: finding github.com/kisielk/gotool v0.0.0-20161130080628-0de1eaf82fa3 go: finding gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7 go: finding golang.org/x/net v0.0.0-20170915142106-8351a756f30f go: finding golang.org/x/text v0.0.0-20170915090833-1cbadb444a80 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding sourcegraph.com/sourcegraph/go-diff v0.5.1-0.20190210232911-dee78e514455 go: finding github.com/ryanuber/go-glob v0.0.0-20170128012129-256dc444b735 go: finding github.com/kisielk/gotool v1.0.0 go: finding golang.org/x/tools v0.0.0-20180221164845-07fd8470d635 go: finding github.com/kr/pty v1.1.1 go: finding github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c go: finding golang.org/x/tools v0.0.0-20170915040203-e531a2a1c15f go: finding golang.org/x/sys v0.0.0-20171026204733-164713f0dfce go: finding github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041 go: finding github.com/gogo/protobuf v1.1.1 go: finding github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e go: finding sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4 go: downloading github.com/pkg/errors v0.8.0 go: downloading github.com/spf13/cobra v0.0.2 go: downloading github.com/spf13/viper v1.0.2 go: downloading github.com/spf13/pflag v1.0.1 go: downloading github.com/go-critic/go-critic v0.0.0-20181204210945-ee9bf5809ead go: downloading github.com/go-lintpack/lintpack v0.5.2 go: downloading golang.org/x/tools v0.0.0-20190314010720-f0bfdbff1f9c go: downloading github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 go: downloading github.com/mitchellh/go-homedir v1.0.0 go: extracting github.com/spf13/viper v1.0.2 go: extracting github.com/pkg/errors v0.8.0 go: downloading github.com/golangci/go-tools v0.0.0-20180109140146-af6baa5dc196 go: extracting github.com/spf13/pflag v1.0.1 go: extracting github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 go: downloading github.com/OpenPeeDeeP/depguard v0.0.0-20180806142446-a69c782687b2 go: extracting github.com/spf13/cobra v0.0.2 go: extracting github.com/go-lintpack/lintpack v0.5.2 go: downloading github.com/golangci/gosec v0.0.0-20180901114220-66fb7fc33547 go: downloading github.com/golangci/gofmt v0.0.0-20181105071733-0b8337e80d98 go: extracting github.com/mitchellh/go-homedir v1.0.0 go: extracting github.com/go-critic/go-critic v0.0.0-20181204210945-ee9bf5809ead go: extracting github.com/OpenPeeDeeP/depguard v0.0.0-20180806142446-a69c782687b2 go: extracting github.com/golangci/gosec v0.0.0-20180901114220-66fb7fc33547 go: extracting github.com/golangci/gofmt v0.0.0-20181105071733-0b8337e80d98 go: downloading github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238 go: downloading github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce go: extracting github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238 go: downloading github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 go: extracting github.com/golangci/go-tools v0.0.0-20180109140146-af6baa5dc196 go: extracting github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 go: downloading github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3 go: extracting github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3 go: downloading github.com/spf13/jwalterweatherman v0.0.0-20180109140146-7c0cea34c8ec go: extracting github.com/spf13/jwalterweatherman v0.0.0-20180109140146-7c0cea34c8ec go: extracting github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce go: downloading github.com/go-toolsmith/strparse v0.0.0-20180903215201-830b6daa1241 go: extracting github.com/go-toolsmith/strparse v0.0.0-20180903215201-830b6daa1241 go: downloading github.com/spf13/cast v1.2.0 go: extracting github.com/spf13/cast v1.2.0 go: downloading github.com/go-toolsmith/astcast v0.0.0-20181028201508-b7a89ed70af1 go: extracting github.com/go-toolsmith/astcast v0.0.0-20181028201508-b7a89ed70af1 c571afaa9e23: Pull complete 162e4705bed0: Pull complete go: extracting golang.org/x/tools v0.0.0-20190314010720-f0bfdbff1f9c go: downloading github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a go: downloading github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770 go: downloading mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed go: downloading github.com/go-toolsmith/astfmt v0.0.0-20180903215011-8f8ee99c3086 go: downloading github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613 go: downloading github.com/go-toolsmith/astp v0.0.0-20180903215135-0af7e3c24f30 go: downloading github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee c571afaa9e23: Pull complete 162e4705bed0: Pull complete go: downloading github.com/golangci/ineffassign v0.0.0-20180808204949-2ee8f2867dde go: downloading github.com/magiconair/properties v1.7.6 go: extracting github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a go: downloading github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0 go: downloading github.com/mattn/go-colorable v0.0.9 go: extracting mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed go: extracting github.com/go-toolsmith/astfmt v0.0.0-20180903215011-8f8ee99c3086 go: downloading github.com/fatih/color v1.6.0 go: extracting github.com/go-toolsmith/astp v0.0.0-20180903215135-0af7e3c24f30 go: downloading github.com/golangci/errcheck v0.0.0-20181003203344-ef45e06d44b6 go: extracting github.com/golangci/ineffassign v0.0.0-20180808204949-2ee8f2867dde go: downloading github.com/gobwas/glob v0.2.3 go: extracting github.com/magiconair/properties v1.7.6 go: extracting github.com/mattn/go-colorable v0.0.9 go: downloading github.com/golang/mock v1.1.1 go: downloading github.com/kisielk/gotool v1.0.0 go: downloading github.com/pelletier/go-toml v1.1.0 go: extracting github.com/golangci/errcheck v0.0.0-20181003203344-ef45e06d44b6 go: downloading github.com/go-toolsmith/astcopy v0.0.0-20180903214859-79b422d080c4 go: extracting github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee go: downloading golang.org/x/text v0.3.0 go: extracting github.com/go-toolsmith/astcopy v0.0.0-20180903214859-79b422d080c4 go: downloading github.com/fsnotify/fsnotify v1.4.7 go: extracting github.com/golang/mock v1.1.1 go: extracting github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613 go: downloading github.com/mattn/go-isatty v0.0.3 go: extracting github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0 go: downloading github.com/go-toolsmith/typep v0.0.0-20181030061450-d63dc7650676 go: extracting github.com/mattn/go-isatty v0.0.3 go: extracting github.com/go-toolsmith/typep v0.0.0-20181030061450-d63dc7650676 go: downloading sourcegraph.com/sourcegraph/go-diff v0.5.1-0.20190210232911-dee78e514455 go: downloading mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34 go: extracting github.com/gobwas/glob v0.2.3 go: downloading github.com/sirupsen/logrus v1.0.5 go: extracting mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34 go: downloading github.com/nbutton23/zxcvbn-go v0.0.0-20171102151520-eafdab6b0663 go: extracting github.com/fsnotify/fsnotify v1.4.7 go: extracting github.com/pelletier/go-toml v1.1.0 go: downloading github.com/spf13/afero v1.1.0 go: downloading golang.org/x/net v0.0.0-20190313220215-9f648a60d977 go: downloading github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca go: extracting github.com/kisielk/gotool v1.0.0 go: downloading gopkg.in/yaml.v2 v2.2.1 go: extracting github.com/sirupsen/logrus v1.0.5 go: extracting github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770 go: downloading github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21 go: extracting github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca go: downloading mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b go: downloading golang.org/x/sys v0.0.0-20190312061237-fead79001313 go: extracting sourcegraph.com/sourcegraph/go-diff v0.5.1-0.20190210232911-dee78e514455 go: extracting github.com/spf13/afero v1.1.0 go: extracting mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b go: extracting gopkg.in/yaml.v2 v2.2.1 go: downloading sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4 go: downloading github.com/gogo/protobuf v1.1.1 go: downloading golang.org/x/crypto v0.0.0-20190313024323-a1f597ede03a go: extracting github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21 go: downloading github.com/BurntSushi/toml v0.3.1 go: extracting sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4 go: downloading github.com/go-toolsmith/astequal v0.0.0-20180903214952-dcb477bfacd6 go: extracting github.com/go-toolsmith/astequal v0.0.0-20180903214952-dcb477bfacd6 go: downloading github.com/golangci/lint-1 v0.0.0-20180610141402-4bf9709227d1 go: extracting github.com/fatih/color v1.6.0 go: extracting github.com/BurntSushi/toml v0.3.1 go: extracting github.com/golangci/lint-1 v0.0.0-20180610141402-4bf9709227d1 go: extracting github.com/nbutton23/zxcvbn-go v0.0.0-20171102151520-eafdab6b0663 go: extracting golang.org/x/crypto v0.0.0-20190313024323-a1f597ede03a go: extracting golang.org/x/net v0.0.0-20190313220215-9f648a60d977 go: extracting golang.org/x/sys v0.0.0-20190312061237-fead79001313 go: extracting github.com/gogo/protobuf v1.1.1 go: extracting golang.org/x/text v0.3.0 4f2baa6f625a: Pull complete Digest: sha256:ea93d7ed5b464e5163cf8df40a198ad54afe6a59e1ca335c9bc4a5ed3702f2d0 Status: Downloaded newer image for dockercore/golang-cross:1.12.2@sha256:ea93d7ed5b464e5163cf8df40a198ad54afe6a59e1ca335c9bc4a5ed3702f2d0 ---> 8ef0ab685be7 Step 2/7 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Running in e7c5c9610044 Removing intermediate container e7c5c9610044 ---> a3543ea3905f Step 3/7 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in debf53e89f58 Reading package lists... Building dependency tree...4f2baa6f625a: Pull complete Digest: sha256:ea93d7ed5b464e5163cf8df40a198ad54afe6a59e1ca335c9bc4a5ed3702f2d0 Status: Downloaded newer image for dockercore/golang-cross:1.12.2@sha256:ea93d7ed5b464e5163cf8df40a198ad54afe6a59e1ca335c9bc4a5ed3702f2d0 ---> 8ef0ab685be7 Step 3/14 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in bfad086b5c5e Reading package lists... Building dependency tree... Reading state information... coreutils is already the newest version (8.26-3). coreutils set to manually installed. util-linux is already the newest version (2.29.2-1+deb9u1). util-linux set to manually installed. The following NEW packages will be installed: uuid-runtime Reading state information... coreutils is already the newest version (8.26-3). coreutils set to manually installed. util-linux is already the newest version (2.29.2-1+deb9u1). util-linux set to manually installed. The following NEW packages will be installed: uuid-runtime 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. Need to get 82.6 kB of archives. After this operation, 160 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian stretch/main amd64 uuid-runtime amd64 2.29.2-1+deb9u1 [82.6 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 82.6 kB in 1s (81.9 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 ... 24387 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.29.2-1+deb9u1_amd64.deb ... Unpacking uuid-runtime (2.29.2-1+deb9u1) ... 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. Need to get 82.6 kB of archives. After this operation, 160 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian stretch/main amd64 uuid-runtime amd64 2.29.2-1+deb9u1 [82.6 kB] Setting up uuid-runtime (2.29.2-1+deb9u1) ... 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'. debconf: delaying package configuration, since apt-utils is not installed Fetched 82.6 kB in 1s (81.8 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 ... 24387 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.29.2-1+deb9u1_amd64.deb ... Unpacking uuid-runtime (2.29.2-1+deb9u1) ... Setting up uuid-runtime (2.29.2-1+deb9u1) ... 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. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Removing intermediate container bfad086b5c5e ---> cd897a2babf4 Step 4/14 : WORKDIR /go/src/github.com/docker/app/ ---> Running in dc64a6da0562 Removing intermediate container dc64a6da0562 ---> ec1299a7b852 Step 5/14 : COPY . . Removing intermediate container debf53e89f58 ---> 2fe05ea0379b Step 4/7 : WORKDIR /go/src/github.com/docker/cli ---> Running in 9544cf97612b Removing intermediate container 9544cf97612b ---> 0fb55fe53b7b Step 5/7 : RUN git clone https://github.com/docker/cli . && git checkout 5bbb56bfee6f7d771c74e5e78f20ed48af5be1ac ---> Running in d92ecdc4ae40 Cloning into '.'...  ---> c13c4c0ba64d Step 6/14 : ARG EXPERIMENTAL="off" ---> Running in 58dc949e9412 Removing intermediate container 58dc949e9412 ---> 1b3829da2550 Step 7/14 : ARG TAG="unknown" ---> Running in 4a8890386f96 Removing intermediate container 4a8890386f96 ---> 44295bd4b046 Step 8/14 : RUN make EXPERIMENTAL=${EXPERIMENTAL} BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run ---> Running in f76eb6cab231 CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=44a5dde2 -X github.com/docker/app/internal.Version=jenkins-app-PR-505-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:30:22Z" -o bin/cnab-run ./cmd/cnab-run Note: checking out '5bbb56bfee6f7d771c74e5e78f20ed48af5be1ac'. 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 HEAD is now at 5bbb56bf... Merge pull request #1772 from AkihiroSuda/dialstdio-1736 Removing intermediate container d92ecdc4ae40 ---> 85ba9c622952 Step 6/7 : RUN make cross binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in 86d4870c5747 ./scripts/build/cross Building binaries for all platforms Removing intermediate container 9fbc6790dff7 ---> 20c6134fdd65 Step 6/8 : WORKDIR /go/src/github.com/docker/app ---> Running in 9eee67768b1d Removing intermediate container 9eee67768b1d ---> c0e9baaaf15a Step 7/8 : ENV CGO_ENABLED=0 ---> Running in 97760258d451 Removing intermediate container 97760258d451 ---> 2e5964d11c84 Step 8/8 : COPY . . ---> 133d9ad2fc91 Successfully built 133d9ad2fc91 Successfully tagged docker-app-lint:jenkins-app-PR-505-2 docker run --rm docker-app-lint:jenkins-app-PR-505-2 make lint Linting... [Pipeline] sh + make -f docker.Makefile check-vendor docker build --build-arg=EXPERIMENTAL=off --build-arg=TAG=jenkins-app-PR-505-2 --build-arg=COMMIT=44a5dde --build-arg=ALPINE_VERSION=3.9.2 --target=dev -t docker-app-dev:jenkins-app-PR-505-2 . Sending build context to Docker daemon 74.69MB Step 1/16 : FROM dockercore/golang-cross:1.12.2@sha256:ea93d7ed5b464e5163cf8df40a198ad54afe6a59e1ca335c9bc4a5ed3702f2d0 AS build sha256:ea93d7ed5b464e5163cf8df40a198ad54afe6a59e1ca335c9bc4a5ed3702f2d0: Pulling from dockercore/golang-cross e79bb959ec00: Pulling fs layer d4b7902036fe: Pulling fs layer 1b2a72d4e030: Pulling fs layer d54db43011fd: Pulling fs layer 963c818ebafc: Pulling fs layer 17355b0ffe5d: Pulling fs layer 7eca7cce1124: Pulling fs layer 852f637aab33: Pulling fs layer c571afaa9e23: Pulling fs layer 162e4705bed0: Pulling fs layer 4f2baa6f625a: Pulling fs layer d54db43011fd: Waiting 963c818ebafc: Waiting 17355b0ffe5d: Waiting 7eca7cce1124: Waiting 852f637aab33: Waiting c571afaa9e23: Waiting 162e4705bed0: Waiting 4f2baa6f625a: Waiting 1b2a72d4e030: Verifying Checksum 1b2a72d4e030: Download complete d4b7902036fe: Verifying Checksum d4b7902036fe: Download complete e79bb959ec00: Verifying Checksum e79bb959ec00: Download complete d54db43011fd: Verifying Checksum d54db43011fd: Download complete 7eca7cce1124: Verifying Checksum 7eca7cce1124: Download complete 963c818ebafc: Verifying Checksum 963c818ebafc: Download complete 852f637aab33: Verifying Checksum 852f637aab33: Download complete 162e4705bed0: Verifying Checksum 162e4705bed0: Download complete 17355b0ffe5d: Verifying Checksum 17355b0ffe5d: Download complete c571afaa9e23: Verifying Checksum c571afaa9e23: Download complete 4f2baa6f625a: Verifying Checksum 4f2baa6f625a: Download complete e79bb959ec00: Pull complete d4b7902036fe: Pull complete 1b2a72d4e030: Pull complete d54db43011fd: Pull complete 963c818ebafc: Pull complete 17355b0ffe5d: Pull complete 7eca7cce1124: Pull complete 852f637aab33: Pull complete c571afaa9e23: Pull complete 162e4705bed0: Pull complete 4f2baa6f625a: Pull complete Digest: sha256:ea93d7ed5b464e5163cf8df40a198ad54afe6a59e1ca335c9bc4a5ed3702f2d0 Status: Downloaded newer image for dockercore/golang-cross:1.12.2@sha256:ea93d7ed5b464e5163cf8df40a198ad54afe6a59e1ca335c9bc4a5ed3702f2d0 ---> 8ef0ab685be7 Step 2/16 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Running in a1389aa64018 Removing intermediate container a1389aa64018 ---> 693f1b0c6ede Step 3/16 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in b4435db3d961 Reading package lists... Building dependency tree... Reading state information... coreutils is already the newest version (8.26-3). coreutils set to manually installed. util-linux is already the newest version (2.29.2-1+deb9u1). util-linux set to manually installed. The following NEW packages will be installed: uuid-runtime Removing intermediate container f76eb6cab231 ---> 0b266097eda6 Step 9/14 : FROM alpine:${ALPINE_VERSION} as invocation 3.9.2: Pulling from library/alpine 8e402f1a9c57: Pulling fs layer 8e402f1a9c57: Verifying Checksum 8e402f1a9c57: Download complete 8e402f1a9c57: Pull complete Digest: sha256:644fcb1a676b5165371437feaa922943aaf7afcfa8bfee4472f6860aad1ef2a0 Status: Downloaded newer image for alpine:3.9.2 ---> 5cb3aa00f899 Step 10/14 : RUN apk add --no-cache ca-certificates && adduser -S cnab ---> Running in 54ab42631355 fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/x86_64/APKINDEX.tar.gz (1/1) Installing ca-certificates (20190108-r0) Executing busybox-1.29.3-r10.trigger Executing ca-certificates-20190108-r0.trigger OK: 6 MiB in 15 packages Removing intermediate container 54ab42631355 ---> ecbe326d620c Step 11/14 : USER cnab ---> Running in bc640a295358 Removing intermediate container bc640a295358 ---> 61e46fac8607 Step 12/14 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run ---> efeeeb2638d8 Step 13/14 : WORKDIR /cnab/app ---> Running in 1cd124a15ec8 Removing intermediate container 1cd124a15ec8 ---> 82075d537d26 Step 14/14 : CMD /cnab/app/run ---> Running in ae21b47f8b91 Removing intermediate container ae21b47f8b91 ---> 7f80e33dc3a7 [Warning] One or more build-args [COMMIT] were not consumed Successfully built 7f80e33dc3a7 Successfully tagged docker/cnab-app-base:jenkins-app-PR-505-2 docker save docker/cnab-app-base:jenkins-app-PR-505-2 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-505-2-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-505-2 docker/cnab-app-base:jenkins-app-PR-505-2-coverage docker save docker/cnab-app-base:jenkins-app-PR-505-2-coverage -o _build/coverage-invocation-image.tar 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. Need to get 82.6 kB of archives. After this operation, 160 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian stretch/main amd64 uuid-runtime amd64 2.29.2-1+deb9u1 [82.6 kB] [Pipeline] sh debconf: delaying package configuration, since apt-utils is not installed Fetched 82.6 kB in 1s (82.1 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 ... 24387 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.29.2-1+deb9u1_amd64.deb ... Unpacking uuid-runtime (2.29.2-1+deb9u1) ... Setting up uuid-runtime (2.29.2-1+deb9u1) ... 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' ... + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-505-2-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-505-2 docker/cnab-app-base:jenkins-app-PR-505-2-coverage-experimental docker save docker/cnab-app-base:jenkins-app-PR-505-2-coverage-experimental -o _build/coverage-experimental-invocation-image.tar Not creating home directory `/run/uuidd'. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-505/src/github.com/docker/app/_build [Pipeline] { [Pipeline] stash Removing intermediate container b4435db3d961 ---> 97c120cacb50 Step 4/16 : WORKDIR /go/src/github.com/docker/cli ---> Running in 7090133d8a9c Removing intermediate container 7090133d8a9c ---> 795606b525d3 Step 5/16 : RUN git clone https://github.com/docker/cli . && git checkout 5bbb56bfee6f7d771c74e5e78f20ed48af5be1ac ---> Running in 72355ae24119 Cloning into '.'... Stashed 1 file(s) [Pipeline] stash Note: checking out '5bbb56bfee6f7d771c74e5e78f20ed48af5be1ac'. 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 HEAD is now at 5bbb56bf... Merge pull request #1772 from AkihiroSuda/dialstdio-1736 Removing intermediate container 72355ae24119 ---> b66d5bd7a7ed Step 6/16 : RUN make cross binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in 6fb1ab34d205 ./scripts/build/cross Building binaries for all platforms Stashed 1 file(s) [Pipeline] stash Stashed 1 file(s) [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-505/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-505-2 Untagged: docker/cnab-app-base:jenkins-app-PR-505-2 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-505-2-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-505-2-coverage [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-505-2-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-505-2-coverage-experimental Deleted: sha256:7f80e33dc3a76bfcc8f5b2fc3f981b6fe6cae34cf4306dd89dbd7297b2bdd06e Deleted: sha256:82075d537d26d026f1c3ce5897b06d651582966b0ef8a571c3d0e503724d45a5 Deleted: sha256:efeeeb2638d83e3713033fca1cc32f9009de55302d3d173d636d8d89af9d7ff5 Deleted: sha256:4f61ed16e76f17170d3b7e67c75a7b41b867c1903cd2311d661e336af6918a7f Deleted: sha256:61e46fac860779f15d87211dd97662e555a80e47e09335a9ff2054930de6e697 Deleted: sha256:ecbe326d620c91e7ea87c3a309d0a3d09cb8429c5465fba3917f22472f8b9736 Deleted: sha256:25896ba7257d90acc62fad1b41484c09948a28e938c24874fc6c866b77a45dc8 [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Generating windows resources Building build/docker-windows-amd64 Building build/docker-darwin-amd64 Generating windows resources Building build/docker-windows-amd64 Building build/docker-darwin-amd64 Building statically linked build/docker-linux-amd64 Building statically linked build/docker-linux-arm Building statically linked build/docker-linux-amd64 Building statically linked build/docker-linux-arm Building statically linked build/docker-linux-ppc64le Building statically linked build/docker-linux-s390x 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 86d4870c5747 ---> 2366f3fae205 Step 7/7 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 42211e3441e3 Removing intermediate container 42211e3441e3 ---> 82846f2d2293 [Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed Successfully built 82846f2d2293 Successfully tagged docker-app-cli:jenkins-app-PR-505-2 docker create --name docker-app-cli-jenkins-app-PR-505-2 docker-app-cli:jenkins-app-PR-505-2 noop 96a1c13d280103935076637f68caab2eefaf4d6e11f5fc0ae26098a912e62612 docker cp docker-app-cli-jenkins-app-PR-505-2:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux docker cp docker-app-cli-jenkins-app-PR-505-2:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin docker cp docker-app-cli-jenkins-app-PR-505-2:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe docker rm docker-app-cli-jenkins-app-PR-505-2 docker-app-cli-jenkins-app-PR-505-2 docker build --build-arg=EXPERIMENTAL=off --build-arg=TAG=jenkins-app-PR-505-2 --build-arg=COMMIT=44a5dde --build-arg=ALPINE_VERSION=3.9.2 --target=cross -t docker-app-cross:jenkins-app-PR-505-2 . Sending build context to Docker daemon 74.69MB Step 1/20 : FROM dockercore/golang-cross:1.12.2@sha256:ea93d7ed5b464e5163cf8df40a198ad54afe6a59e1ca335c9bc4a5ed3702f2d0 AS build ---> 8ef0ab685be7 Step 2/20 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> a3543ea3905f Step 3/20 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 2fe05ea0379b Step 4/20 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 0fb55fe53b7b Step 5/20 : RUN git clone https://github.com/docker/cli . && git checkout 5bbb56bfee6f7d771c74e5e78f20ed48af5be1ac ---> Using cache ---> 85ba9c622952 Step 6/20 : RUN make cross binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 2366f3fae205 Step 7/20 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 82846f2d2293 Step 8/20 : FROM build AS dev ---> 82846f2d2293 Step 9/20 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in 172a99191e07 Removing intermediate container 172a99191e07 ---> dea4e881c792 Step 10/20 : ARG DEP_VERSION=v0.5.0 ---> Running in a3467372e642 Removing intermediate container a3467372e642 ---> 64d35cec21c3 Step 11/20 : 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 dbc1559d8960  % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 605 0 605 0 0 578 0 --:--:-- 0:00:01 --:--:-- 578  89 8513k 89 7637k 0 0 6696k 0 0:00:01 0:00:01 --:--:-- 6696k 100 8513k 100 8513k 0 0 7406k 0 0:00:01 0:00:01 --:--:-- 106M Removing intermediate container dbc1559d8960 ---> 1c4357da5fe3 Step 12/20 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 8e8955992818 Removing intermediate container 8e8955992818 ---> fa32f3e20573 Step 13/20 : 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 ba8dbcc7fd0e go: finding github.com/jonboulle/clockwork v0.1.0 go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/fatih/color v1.6.0 go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/mattn/go-isatty v0.0.3 go: finding gotest.tools v2.1.0+incompatible go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/stretchr/testify v1.3.0 go: finding github.com/onsi/gomega v1.4.3 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc 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 golang.org/x/text v0.3.0 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding github.com/stretchr/objx v0.1.0 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/davecgh/go-spew v1.1.0 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 gopkg.in/yaml.v2 v2.2.1 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/fatih/color v1.6.0 go: downloading github.com/pkg/errors v0.8.0 go: downloading github.com/spf13/pflag v1.0.1 go: downloading github.com/sirupsen/logrus v1.0.5 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading github.com/jonboulle/clockwork v0.1.0 go: extracting github.com/jonboulle/clockwork v0.1.0 go: extracting github.com/pkg/errors v0.8.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: 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 github.com/spf13/pflag v1.0.1 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 ba8dbcc7fd0e ---> b64bd1407c39 Step 14/20 : 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 787fa61ef305 Removing intermediate container 787fa61ef305 ---> 8ab8f062029f Step 15/20 : 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 4e1a56ee9684 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 4e1a56ee9684 ---> 5facf6e8cdcb Step 16/20 : COPY . . ---> 80c2e8ad33f1 Step 17/20 : FROM dev AS cross ---> 80c2e8ad33f1 Step 18/20 : ARG EXPERIMENTAL="off" ---> Running in 00b07addbd6a Removing intermediate container 00b07addbd6a ---> 5cfd21d03981 Step 19/20 : ARG TAG="unknown" ---> Running in 4df06ec0d6db Removing intermediate container 4df06ec0d6db ---> 6d1577af1e3c Step 20/20 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Running in cfc5d157a4be GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=44a5dde2 -X github.com/docker/app/internal.Version=jenkins-app-PR-505-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:38:43Z" -o bin/docker-app-linux ./cmd/docker-app Building statically linked build/docker-linux-ppc64le Building statically linked build/docker-linux-s390x WARNING: binary creates a Linux executable. Use cross for macOS or Windows. ./scripts/build/binary Building statically linked build/docker-linux-amd64 GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=44a5dde2 -X github.com/docker/app/internal.Version=jenkins-app-PR-505-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:38:43Z" -o bin/docker-app-darwin ./cmd/docker-app Removing intermediate container 6fb1ab34d205 ---> 731220d7c004 Step 7/16 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 194ded9e1ce3 Removing intermediate container 194ded9e1ce3 ---> d55780f741d1 Step 8/16 : FROM build AS dev ---> d55780f741d1 Step 9/16 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in 432265c119b8 Removing intermediate container 432265c119b8 ---> 5175c8140702 Step 10/16 : ARG DEP_VERSION=v0.5.0 ---> Running in 1bff3923669a Removing intermediate container 1bff3923669a ---> 5d30fff99a07 Step 11/16 : 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 f851fd7ff8da  % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 605 0 605  0 0 955 0 --:--:-- --:--:-- --:--:-- 955  100 8513k 100 8513k 0 0 11.2M 0 --:--:-- --:--:-- --:--:-- 11.2M Removing intermediate container f851fd7ff8da ---> 276892265bde Step 12/16 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 0dfcc94b7897 Removing intermediate container 0dfcc94b7897 ---> e25cd1497f0b Step 13/16 : 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 c7d41666ab49 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/stretchr/testify v1.3.0 go: finding github.com/onsi/gomega v1.4.3 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding github.com/fatih/color v1.6.0 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding gotest.tools v2.1.0+incompatible go: finding github.com/onsi/ginkgo v1.8.0 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding github.com/onsi/ginkgo v1.6.0 go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding github.com/sirupsen/logrus v1.0.5 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding github.com/hpcloud/tail v1.0.0 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding github.com/stretchr/objx v0.1.0 go: finding github.com/davecgh/go-spew v1.1.0 go: finding github.com/spf13/pflag v1.0.1 go: finding golang.org/x/text v0.3.0 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/golang/protobuf v1.2.0 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 go: downloading gotest.tools v2.1.0+incompatible go: extracting gotest.tools v2.1.0+incompatible go: downloading github.com/spf13/pflag v1.0.1 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/jonboulle/clockwork v0.1.0 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: extracting github.com/pkg/errors v0.8.0 go: extracting github.com/jonboulle/clockwork v0.1.0 go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting github.com/sirupsen/logrus v1.0.5 go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting github.com/spf13/pflag v1.0.1 go: extracting github.com/fatih/color v1.6.0 go: downloading github.com/mattn/go-colorable v0.0.9 go: downloading github.com/mattn/go-isatty v0.0.3 go: extracting github.com/mattn/go-isatty v0.0.3 go: extracting github.com/mattn/go-colorable v0.0.9 go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e Removing intermediate container c7d41666ab49 ---> 821ff0566ab3 Step 14/16 : 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 481b43e9d0a6 Removing intermediate container 481b43e9d0a6 ---> 512fd0c3c7e9 Step 15/16 : 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 d14a998c1f16 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 d14a998c1f16 ---> 104a0da62c8c Step 16/16 : COPY . . ---> 5737c47c72be [Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed Successfully built 5737c47c72be Successfully tagged docker-app-dev:jenkins-app-PR-505-2 Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-505-2 sh -c "make vendor && hack/check-git-diff vendor" rm -rf vendor 1>&1 dep ensure -v (1/93) Wrote github.com/Azure/go-ansiterm@master (2/93) Wrote github.com/containerd/typeurl@master (3/93) Wrote github.com/davecgh/go-spew@v1.1.1 (4/93) Wrote github.com/Microsoft/hcsshim@v0.8.4 (5/93) Wrote github.com/containerd/fifo@master (6/93) Wrote github.com/docker/cnab-to-oci@master (7/93) Wrote github.com/Microsoft/go-winio@v0.4.11 (8/93) Wrote github.com/agl/ed25519@master (9/93) Wrote github.com/beorn7/perks@master (10/93) Wrote github.com/containerd/continuity@master (11/93) Failed to write github.com/deislabs/duffle (from github.com/ijc/duffle)@set-merge (12/93) Failed to write vbom.ml/util@master (13/93) Failed to write github.com/containerd/containerd (from github.com/simonferquel/containerd)@42c3614d58767e96c1752977fed94d0b140a0173 (14/93) Failed to write github.com/docker/compose-on-kubernetes@v0.4.19 (15/93) Failed to write github.com/docker/docker@master (16/93) Failed to write github.com/mitchellh/mapstructure@master (17/93) Failed to write github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (18/93) Failed to write github.com/docker/docker-credential-helpers@v0.6.1 (19/93) Failed to write github.com/cbroglie/mustache@v1.0.1 (20/93) Failed to write github.com/docker/go@v1.5.1-1 (21/93) Failed to write github.com/docker/go-connections@v0.4.0 (22/93) Failed to write github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 (23/93) Failed to write github.com/docker/go-events@master (24/93) Failed to write github.com/docker/go-units@v0.3.3 (25/93) Failed to write cloud.google.com/go@v0.34.0 (26/93) Failed to write github.com/docker/cli@master (27/93) Failed to write github.com/coreos/etcd@v3.3.10 grouped write of manifest, lock and vendor: error while writing out vendor tree: failed to write dep tree: failed to export github.com/deislabs/duffle: fatal: failed to unpack tree object 24f0b11ca284f01e76908e96870fa4a1f979ce10 : exit status 128 make: *** [vendor] Error 1 Makefile:115: recipe for target 'vendor' failed docker.Makefile:143: recipe for target 'check-vendor' failed make: *** [check-vendor] Error 2 [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Validate GOOS=windows CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=44a5dde2 -X github.com/docker/app/internal.Version=jenkins-app-PR-505-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:38:43Z" -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=44a5dde2 -X github.com/docker/app/internal.Version=jenkins-app-PR-505-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:38:43Z" -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=44a5dde2 -X github.com/docker/app/internal.Version=jenkins-app-PR-505-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:38:43Z" -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=44a5dde2 -X github.com/docker/app/internal.Version=jenkins-app-PR-505-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:38:43Z" -o bin/docker-app-standalone-windows.exe ./cmd/docker-app-standalone Removing intermediate container cfc5d157a4be ---> 6ccafba05b5b [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 6ccafba05b5b Successfully tagged docker-app-cross:jenkins-app-PR-505-2 docker create --name docker-app-cross-jenkins-app-PR-505-2 docker-app-cross:jenkins-app-PR-505-2 noop eae814bfc83b9d1811f9f8a9fca14c3093fceba857136a3e09ba396f2cfe83e2 docker cp docker-app-cross-jenkins-app-PR-505-2:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux docker cp docker-app-cross-jenkins-app-PR-505-2:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin docker cp docker-app-cross-jenkins-app-PR-505-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-505-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-505-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-505-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-505-2 docker-app-cross-jenkins-app-PR-505-2 docker build --build-arg=EXPERIMENTAL=off --build-arg=TAG=jenkins-app-PR-505-2 --build-arg=COMMIT=44a5dde --build-arg=ALPINE_VERSION=3.9.2 --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-505-2 . Sending build context to Docker daemon 74.69MB Step 1/24 : FROM dockercore/golang-cross:1.12.2@sha256:ea93d7ed5b464e5163cf8df40a198ad54afe6a59e1ca335c9bc4a5ed3702f2d0 AS build ---> 8ef0ab685be7 Step 2/24 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> a3543ea3905f Step 3/24 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 2fe05ea0379b Step 4/24 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 0fb55fe53b7b Step 5/24 : RUN git clone https://github.com/docker/cli . && git checkout 5bbb56bfee6f7d771c74e5e78f20ed48af5be1ac ---> Using cache ---> 85ba9c622952 Step 6/24 : RUN make cross binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 2366f3fae205 Step 7/24 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> 82846f2d2293 Step 8/24 : FROM build AS dev ---> 82846f2d2293 Step 9/24 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> dea4e881c792 Step 10/24 : ARG DEP_VERSION=v0.5.0 ---> Using cache ---> 64d35cec21c3 Step 11/24 : 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 ---> 1c4357da5fe3 Step 12/24 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> fa32f3e20573 Step 13/24 : 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 ---> b64bd1407c39 Step 14/24 : 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 ---> 8ab8f062029f Step 15/24 : 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 ---> 5facf6e8cdcb Step 16/24 : COPY . . ---> Using cache ---> 80c2e8ad33f1 Step 17/24 : FROM dev AS cross ---> 80c2e8ad33f1 Step 18/24 : ARG EXPERIMENTAL="off" ---> Using cache ---> 5cfd21d03981 Step 19/24 : ARG TAG="unknown" ---> Using cache ---> 6d1577af1e3c Step 20/24 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Using cache ---> 6ccafba05b5b Step 21/24 : FROM cross AS e2e-cross ---> 6ccafba05b5b Step 22/24 : ARG EXPERIMENTAL="off" ---> Running in 09d4a7b44f16 Removing intermediate container 09d4a7b44f16 ---> d2cf89e483d3 Step 23/24 : ARG TAG="unknown" ---> Running in 78c651fa286c Removing intermediate container 78c651fa286c ---> d47753c1baf4 Step 24/24 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} e2e-cross ---> Running in 1102468b8813 GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=44a5dde2 -X github.com/docker/app/internal.Version=jenkins-app-PR-505-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:41:16Z" -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=44a5dde2 -X github.com/docker/app/internal.Version=jenkins-app-PR-505-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:41:16Z" -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=44a5dde2 -X github.com/docker/app/internal.Version=jenkins-app-PR-505-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:41:16Z" -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=44a5dde2 -X github.com/docker/app/internal.Version=jenkins-app-PR-505-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:41:16Z" -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=44a5dde2 -X github.com/docker/app/internal.Version=jenkins-app-PR-505-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:41:16Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ Removing intermediate container 1102468b8813 ---> 87743bb00d33 [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 87743bb00d33 Successfully tagged docker-app-e2e-cross:jenkins-app-PR-505-2 docker create --name docker-app-e2e-cross-jenkins-app-PR-505-2 docker-app-e2e-cross:jenkins-app-PR-505-2 noop e1574c7191a38b90198c6a369a740c032eae2c69a6d264ff1c01511ba40347bb docker cp docker-app-e2e-cross-jenkins-app-PR-505-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-505-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-505-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-505-2:/usr/local/bin/gotestsum-linux bin/gotestsum-linux docker cp docker-app-e2e-cross-jenkins-app-PR-505-2:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-505-2:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-505-2:/usr/local/bin/test2json-linux bin/test2json-linux docker cp docker-app-e2e-cross-jenkins-app-PR-505-2:/usr/local/bin/test2json-darwin bin/test2json-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-505-2:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe docker rm docker-app-e2e-cross-jenkins-app-PR-505-2 docker-app-e2e-cross-jenkins-app-PR-505-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-505/src/github.com/docker/app/bin [Pipeline] { [Pipeline] stash Stashed 24 file(s) [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-505/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] stash Stashed 52 file(s) [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-505/src/github.com/docker/app/examples [Pipeline] { [Pipeline] stash Stashed 36 file(s) [Pipeline] } [Pipeline] // dir [Pipeline] sh + xargs docker image rm -f + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-505-2* Untagged: docker-app-e2e-cross:jenkins-app-PR-505-2 Deleted: sha256:87743bb00d333686fb4daf60fcf606852537be621533e0df8f4f0a496be48430 Deleted: sha256:db34d8ddacd5b9b28ff4c3dd8d1e87a4d5a87403232d1ca9afb3157d683873bd Deleted: sha256:d47753c1baf4515ab2c90e8da22ecb89069f6a557b39ae8d8044968928d61677 Deleted: sha256:d2cf89e483d35eb38c20ca4587eebe6d037f0e0343e488df94749c975d08ca98 Untagged: docker-app-cross:jenkins-app-PR-505-2 Deleted: sha256:6ccafba05b5bcf035130c2f940dbf0eaa8af5251d443cdf4d826b713b1b06f46 Deleted: sha256:b8ecaaffed289c4613702614865558b86e97577c69c7635dc0dd7da4cc16474d Deleted: sha256:6d1577af1e3ccd62f20c6520d03a8fbabc18937cf584deefc976597f980a3fd5 Deleted: sha256:5cfd21d03981c021d2e5c1c5d08f91bc398bbbaa4df75913f890c5ab127b7622 Deleted: sha256:80c2e8ad33f1e83c5b3acd9c59412602cd8d42e760c580da7d7f3e656e9239ac Deleted: sha256:dccf0ae72b71983f67ffaed0df12913c69a455777ed9110e6400d2bb3ccba467 Deleted: sha256:5facf6e8cdcb9abd204846b440784c0a54a3d47943868610931a7164d24eb6cd Deleted: sha256:be0259bf4a213d98a3e0aa3cf394db3b2b7d53bc17a4b1b798131935149ce8ac Deleted: sha256:8ab8f062029fd5fa1fa384da21c0b705fa319b3d71b8b083e2289a9891177f8f Deleted: sha256:bb90368dcb176b3bcdbedba48158c6b5d58e1ad978a127cbdd13a86074249cd5 Deleted: sha256:b64bd1407c392f6f67c5daf012393e419b6ad342915b4003fdd3eab3bf9c2e97 Deleted: sha256:06a2747a5d729dbd8aa67fa55dcfb377d64487812778810a412a5d3cbf3b374b Deleted: sha256:fa32f3e2057338a5bd85761b726e43cfe0ac16611f2165bc079c665d1afc4a49 Deleted: sha256:1c4357da5fe39543ef99a7a5fe269d92d358c0d68cb859e5a9804afe0691a8c3 Deleted: sha256:907ab092e12b3aa85234312c86bfbea67d3b9c591440b0ff4242628cae23e81b Deleted: sha256:64d35cec21c351576cb8c60cbdb0f32486c2ac6729618dbc7b411f039c76a149 Deleted: sha256:dea4e881c792ac38a85a0f00cd52fce7ab7643351f8e104c4c76948d36aa5dac Untagged: docker-app-cli:jenkins-app-PR-505-2 Deleted: sha256:82846f2d229342a4d0008a2b703d0ae18ea14b30f3e241e4f5d98761cd1e4191 Deleted: sha256:73b511f2925fef1ddf0f4cb0b98b01e3963bd9bed686c9fb20bc2572bf34f467 Deleted: sha256:2366f3fae205c3ad30326c77da2abce65d67312e8bc779e0a8760bdb28282a6a Deleted: sha256:69b54a915036372ac9fdd499f631ba5dd1791b195ec0836098cff8cbb93869e6 Deleted: sha256:85ba9c622952a33ac5846a5257f917a2e76c75bc3ecba5e9f5e4490e5607cecf Deleted: sha256:f80671d84c0b61a11dc97d6e311ab4c9a2d9f51d0996c90b276506bc4d934eab Deleted: sha256:0fb55fe53b7bd9b050093b909f63ab687b5f28907d3572c32e0fe846e662effb Deleted: sha256:524326289f9f45d645aed3caedb73fad0fc8afee818bd69ccb0f4c3e9242cc1d Deleted: sha256:2fe05ea0379bf39ea988ca79e818c8a7878e79181cdb1010ccc9d86e5f800b16 Deleted: sha256:3a03a162ba1a735046d616728adc02e4aa87351724bdb37078559e25dbc373cb Deleted: sha256:a3543ea3905f42d1fe90af78fefac00541e4c316ef0d31fa88e50aa336fc3422 [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) Stage "Test" skipped due to earlier failure(s) [Pipeline] parallel [Pipeline] { (Branch: Coverage) [Pipeline] { (Branch: Coverage (experimental)) [Pipeline] { (Branch: Gradle test) [Pipeline] { (Branch: Test Linux) [Pipeline] stage [Pipeline] { (Coverage) [Pipeline] stage [Pipeline] { (Coverage (experimental)) [Pipeline] stage [Pipeline] { (Gradle test) [Pipeline] stage [Pipeline] { (Test Linux) Stage "Coverage" skipped due to earlier failure(s) [Pipeline] } Stage "Coverage (experimental)" skipped due to earlier failure(s) [Pipeline] } Stage "Gradle test" skipped due to earlier failure(s) [Pipeline] } Stage "Test Linux" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] } Failed in branch Coverage [Pipeline] } Failed in branch Coverage (experimental) [Pipeline] } Failed in branch Gradle test [Pipeline] } Failed in branch Test Linux [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result ERROR: script returned exit code 2 Finished: FAILURE