Branch indexing Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from d7f316cb91dfc8f1022c167b3650a603f9f09ee1 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-506@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-0b62f256635c15e88) in /home/ubuntu/workspace/app_PR-506 [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-0e816b268df250a11) in /home/ubuntu/workspace/app_PR-506 [Pipeline] { Running on ubuntu-1604-aufs (i-016c348736a6aa791) in /home/ubuntu/workspace/app_PR-506 Running on ubuntu-1604-aufs (i-0a702bf04aa913b1f) in /home/ubuntu/workspace/app_PR-506 [Pipeline] { [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-506/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-506/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-506/src/github.com/docker/app [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] checkout [Pipeline] checkout [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-506/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/506/head:refs/remotes/origin/PR-506 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-506/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/506/head:refs/remotes/origin/PR-506 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-506/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/506/head:refs/remotes/origin/PR-506 Fetching without tags Fetching without tags Fetching without tags Checking out Revision d7f316cb91dfc8f1022c167b3650a603f9f09ee1 (PR-506) Checking out Revision d7f316cb91dfc8f1022c167b3650a603f9f09ee1 (PR-506) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/506/head:refs/remotes/origin/PR-506 # 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/506/head:refs/remotes/origin/PR-506 > git config core.sparsecheckout # timeout=10 > git checkout -f d7f316cb91dfc8f1022c167b3650a603f9f09ee1 Checking out Revision d7f316cb91dfc8f1022c167b3650a603f9f09ee1 (PR-506) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/506/head:refs/remotes/origin/PR-506 # 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/506/head:refs/remotes/origin/PR-506 > git config core.sparsecheckout # timeout=10 > git checkout -f d7f316cb91dfc8f1022c167b3650a603f9f09ee1 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/506/head:refs/remotes/origin/PR-506 # 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/506/head:refs/remotes/origin/PR-506 > git config core.sparsecheckout # timeout=10 > git checkout -f d7f316cb91dfc8f1022c167b3650a603f9f09ee1 Commit message: "Fix e2e test: invocation image must be pulled once before being able to run install" First time build. Skipping changelog. Commit message: "Fix e2e test: invocation image must be pulled once before being able to run install" Commit message: "Fix e2e test: invocation image must be pulled once before being able to run install" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh [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-506-2 -f Dockerfile.lint . + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg=EXPERIMENTAL=off --build-arg=TAG=jenkins-app-PR-506-2 --build-arg=COMMIT=d7f316c --build-arg=ALPINE_VERSION=3.9.2 --target=build -t docker-app-cli:jenkins-app-PR-506-2 . + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg=EXPERIMENTAL=off --build-arg=TAG=jenkins-app-PR-506-2 --build-arg=COMMIT=d7f316c --build-arg=ALPINE_VERSION=3.9.2 --target=invocation -t docker/cnab-app-base:jenkins-app-PR-506-2 . Sending build context to Docker daemon 74.84MB 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} Sending build context to Docker daemon 74.84MB Step 1/14 : ARG ALPINE_VERSION=3.9.2 Step 2/14 : 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 d4b7902036fe: Verifying Checksum d4b7902036fe: Download complete 1b2a72d4e030: Verifying Checksum 1b2a72d4e030: Download complete e79bb959ec00: Verifying Checksum e79bb959ec00: Download complete Sending build context to Docker daemon 74.84MB 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 e79bb959ec00: Verifying Checksum e79bb959ec00: Download complete d54db43011fd: Verifying Checksum d54db43011fd: Download complete d54db43011fd: Verifying Checksum d54db43011fd: Download complete 963c818ebafc: Verifying Checksum 963c818ebafc: Download complete 7eca7cce1124: Verifying Checksum 7eca7cce1124: Download complete 963c818ebafc: Verifying Checksum 963c818ebafc: Download complete 7eca7cce1124: Verifying Checksum 7eca7cce1124: Download complete 852f637aab33: Verifying Checksum 852f637aab33: Download complete 852f637aab33: Verifying Checksum 852f637aab33: Download complete 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 ce7779d8bfe3: Verifying Checksum ce7779d8bfe3: Download complete 8e402f1a9c57: Verifying Checksum 8e402f1a9c57: Download complete de1a1e452942: Verifying Checksum de1a1e452942: Download complete 8419b92b6a4a: Verifying Checksum 8419b92b6a4a: Download complete 162e4705bed0: Verifying Checksum 162e4705bed0: Download complete 162e4705bed0: Verifying Checksum 162e4705bed0: Download complete 8e402f1a9c57: Pull complete ce7779d8bfe3: Pull complete de1a1e452942: Pull complete 17355b0ffe5d: Verifying Checksum 17355b0ffe5d: Download complete 3fe549cf1269: Verifying Checksum 3fe549cf1269: Download complete 17355b0ffe5d: Verifying Checksum 17355b0ffe5d: Download complete c571afaa9e23: Verifying Checksum c571afaa9e23: Download complete c571afaa9e23: Verifying Checksum c571afaa9e23: Download complete 4f2baa6f625a: Verifying Checksum 4f2baa6f625a: Download complete 4f2baa6f625a: Verifying Checksum 4f2baa6f625a: Download complete e79bb959ec00: Pull complete d4b7902036fe: Pull complete e79bb959ec00: Pull complete 1b2a72d4e030: Pull complete d4b7902036fe: Pull 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 5ed69644ee0d 1b2a72d4e030: Pull complete fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/x86_64/APKINDEX.tar.gz d54db43011fd: Pull complete d54db43011fd: Pull complete 963c818ebafc: Pull 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 Removing intermediate container 5ed69644ee0d ---> 356d69263c73 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 acf6c87d8e0c 963c818ebafc: Pull 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 go: extracting github.com/golangci/golangci-lint v1.16.0 go: finding github.com/golangci/go-tools v0.0.0-20180109140146-af6baa5dc196 go: finding github.com/BurntSushi/toml v0.3.1 go: finding github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613 go: finding github.com/OpenPeeDeeP/depguard v0.0.0-20180806142446-a69c782687b2 go: finding github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a go: finding github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 go: finding github.com/golang/mock v1.1.1 go: finding github.com/gobwas/glob v0.2.3 go: finding github.com/go-ole/go-ole v1.2.1 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/fatih/color v1.6.0 go: finding github.com/mitchellh/go-homedir v1.0.0 go: finding github.com/golangci/errcheck v0.0.0-20181003203344-ef45e06d44b6 go: finding github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 go: finding github.com/spf13/cast v1.2.0 go: finding github.com/golangci/gofmt v0.0.0-20181105071733-0b8337e80d98 go: finding mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed go: finding github.com/golangci/lint-1 v0.0.0-20180610141402-4bf9709227d1 go: finding golang.org/x/tools v0.0.0-20190314010720-f0bfdbff1f9c go: finding github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238 go: finding mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding golang.org/x/sys v0.0.0-20190312061237-fead79001313 go: finding github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca go: finding github.com/spf13/cobra v0.0.2 go: finding github.com/shirou/gopsutil v0.0.0-20180427012116-c95755e4bcd7 go: finding github.com/spf13/jwalterweatherman v0.0.0-20180109140146-7c0cea34c8ec go: finding github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4 17355b0ffe5d: Pull complete go: finding github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21 go: finding github.com/go-critic/go-critic v0.0.0-20181204210945-ee9bf5809ead go: finding github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 go: finding gopkg.in/yaml.v2 v2.2.1 7eca7cce1124: Pull complete 852f637aab33: Pull complete go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/spf13/afero v1.1.0 go: finding github.com/golangci/ineffassign v0.0.0-20180808204949-2ee8f2867dde 17355b0ffe5d: Pull complete 7eca7cce1124: Pull complete 852f637aab33: Pull complete go: finding github.com/magiconair/properties v1.7.6 go: finding github.com/nbutton23/zxcvbn-go v0.0.0-20171102151520-eafdab6b0663 go: finding golang.org/x/net v0.0.0-20190313220215-9f648a60d977 go: finding golang.org/x/tools v0.0.0-20190121143147-24cd39ecf745 go: finding github.com/rogpeppe/go-internal v1.1.0 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/pelletier/go-toml v1.1.0 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/spf13/viper v1.0.2 go: finding github.com/go-toolsmith/typep v0.0.0-20181030061450-d63dc7650676 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 go: finding github.com/onsi/gomega v1.4.2 go: finding github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee go: finding github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770 go: finding github.com/kisielk/gotool v1.0.0 go: finding github.com/go-toolsmith/astcast v0.0.0-20181028201508-b7a89ed70af1 go: finding sourcegraph.com/sourcegraph/go-diff v0.5.1-0.20190210232911-dee78e514455 go: finding github.com/golangci/gosec v0.0.0-20180901114220-66fb7fc33547 go: finding github.com/go-toolsmith/astp v0.0.0-20180903215135-0af7e3c24f30 go: finding github.com/hpcloud/tail v1.0.0 go: finding github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0 go: finding github.com/gogo/protobuf v1.1.1 go: finding github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e go: finding github.com/mattn/goveralls v0.0.2 go: finding golang.org/x/tools v0.0.0-20181205014116-22934f0fdb62 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding github.com/go-lintpack/lintpack v0.5.2 go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c go: finding github.com/go-toolsmith/pkgload v0.0.0-20181119091011-e9e65178eee8 go: finding github.com/go-toolsmith/astcopy v0.0.0-20180903214859-79b422d080c4 go: finding sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 go: finding github.com/google/go-cmp v0.2.0 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c go: finding github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e go: finding github.com/go-toolsmith/astequal v0.0.0-20180903214952-dcb477bfacd6 go: finding golang.org/x/text v0.3.0 go: finding github.com/go-toolsmith/astfmt v0.0.0-20180903215011-8f8ee99c3086 go: finding golang.org/x/net v0.0.0-20170915142106-8351a756f30f go: finding github.com/kr/pretty v0.1.0 c571afaa9e23: Pull complete 162e4705bed0: Pull complete go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding golang.org/x/tools v0.0.0-20180221164845-07fd8470d635 go: finding golang.org/x/sys v0.0.0-20171026204733-164713f0dfce go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e c571afaa9e23: Pull complete go: finding github.com/go-toolsmith/strparse v0.0.0-20180903215201-830b6daa1241 go: finding github.com/ryanuber/go-glob v0.0.0-20170128012129-256dc444b735 162e4705bed0: Pull complete go: finding github.com/kisielk/gotool v0.0.0-20161130080628-0de1eaf82fa3 go: finding github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3 go: finding github.com/nbutton23/zxcvbn-go v0.0.0-20160627004424-a22cb81b2ecd go: finding github.com/golang/protobuf v1.2.0 go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a go: finding golang.org/x/crypto v0.0.0-20190313024323-a1f597ede03a go: finding gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7 go: finding github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce go: finding github.com/mitchellh/go-ps v0.0.0-20170309133038-4fdf99ab2936 go: finding github.com/mozilla/tls-observatory v0.0.0-20180409132520-8791a200eb40 go: finding github.com/inconshreveable/mousetrap v1.0.0 go: finding golang.org/x/tools v0.0.0-20181117154741-2ddaf7f79a09 go: finding golang.org/x/tools v0.0.0-20170915040203-e531a2a1c15f go: finding mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b go: finding gopkg.in/errgo.v2 v2.1.0 go: finding golang.org/x/text v0.0.0-20170915090833-1cbadb444a80 go: finding golang.org/x/net v0.0.0-20190311183353-d8887717615a go: finding github.com/kr/text v0.1.0 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding github.com/davecgh/go-spew v1.1.1 go: finding github.com/onsi/ginkgo v1.6.0 go: finding github.com/stretchr/testify v1.2.2 go: finding github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041 go: finding github.com/kr/pty v1.1.1 go: downloading golang.org/x/tools v0.0.0-20190314010720-f0bfdbff1f9c go: downloading github.com/spf13/cobra v0.0.2 go: downloading github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0 go: downloading github.com/pkg/errors v0.8.0 go: downloading github.com/go-critic/go-critic v0.0.0-20181204210945-ee9bf5809ead go: downloading github.com/mattn/go-colorable v0.0.9 go: downloading github.com/fatih/color v1.6.0 go: downloading github.com/sirupsen/logrus v1.0.5 go: downloading github.com/spf13/viper v1.0.2 go: extracting github.com/pkg/errors v0.8.0 go: downloading github.com/mitchellh/go-homedir v1.0.0 go: extracting github.com/sirupsen/logrus v1.0.5 go: extracting github.com/mattn/go-colorable v0.0.9 go: downloading github.com/go-lintpack/lintpack v0.5.2 go: extracting github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0 go: extracting github.com/spf13/viper v1.0.2 go: downloading github.com/spf13/pflag v1.0.1 go: extracting github.com/go-critic/go-critic v0.0.0-20181204210945-ee9bf5809ead go: extracting github.com/spf13/cobra v0.0.2 go: downloading github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238 go: extracting github.com/mitchellh/go-homedir v1.0.0 go: downloading github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce go: downloading github.com/pelletier/go-toml v1.1.0 go: extracting github.com/go-lintpack/lintpack v0.5.2 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/spf13/pflag v1.0.1 go: extracting github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238 go: downloading github.com/mattn/go-isatty v0.0.3 go: extracting github.com/pelletier/go-toml v1.1.0 go: downloading github.com/go-toolsmith/astequal v0.0.0-20180903214952-dcb477bfacd6 go: downloading github.com/go-toolsmith/astp v0.0.0-20180903215135-0af7e3c24f30 go: extracting github.com/go-toolsmith/astequal v0.0.0-20180903214952-dcb477bfacd6 go: downloading github.com/go-toolsmith/astfmt v0.0.0-20180903215011-8f8ee99c3086 go: extracting github.com/go-toolsmith/astfmt v0.0.0-20180903215011-8f8ee99c3086 go: downloading github.com/golang/mock v1.1.1 go: extracting github.com/mattn/go-isatty v0.0.3 go: downloading github.com/spf13/afero v1.1.0 go: extracting github.com/go-toolsmith/astp v0.0.0-20180903215135-0af7e3c24f30 go: downloading github.com/go-toolsmith/astcopy v0.0.0-20180903214859-79b422d080c4 go: downloading github.com/go-toolsmith/astcast v0.0.0-20181028201508-b7a89ed70af1 go: extracting github.com/go-toolsmith/astcopy v0.0.0-20180903214859-79b422d080c4 go: extracting github.com/go-toolsmith/astcast v0.0.0-20181028201508-b7a89ed70af1 go: extracting github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce go: extracting github.com/spf13/afero v1.1.0 go: extracting github.com/fatih/color v1.6.0 go: downloading github.com/golangci/gofmt v0.0.0-20181105071733-0b8337e80d98 go: extracting github.com/golang/mock v1.1.1 go: downloading github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3 go: extracting github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3 go: extracting github.com/golangci/gofmt v0.0.0-20181105071733-0b8337e80d98 go: downloading github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a go: extracting github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a go: downloading github.com/golangci/gosec v0.0.0-20180901114220-66fb7fc33547 go: extracting github.com/golangci/gosec v0.0.0-20180901114220-66fb7fc33547 go: extracting golang.org/x/tools v0.0.0-20190314010720-f0bfdbff1f9c go: downloading github.com/golangci/go-tools v0.0.0-20180109140146-af6baa5dc196 go: downloading github.com/OpenPeeDeeP/depguard v0.0.0-20180806142446-a69c782687b2 go: downloading github.com/golangci/lint-1 v0.0.0-20180610141402-4bf9709227d1 go: downloading github.com/go-toolsmith/strparse v0.0.0-20180903215201-830b6daa1241 go: downloading github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca go: downloading gopkg.in/yaml.v2 v2.2.1 go: downloading github.com/magiconair/properties v1.7.6 go: downloading github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613 go: downloading golang.org/x/text v0.3.0 go: extracting github.com/OpenPeeDeeP/depguard v0.0.0-20180806142446-a69c782687b2 go: downloading github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 go: extracting github.com/golangci/lint-1 v0.0.0-20180610141402-4bf9709227d1 go: downloading github.com/nbutton23/zxcvbn-go v0.0.0-20171102151520-eafdab6b0663 go: extracting github.com/go-toolsmith/strparse v0.0.0-20180903215201-830b6daa1241 go: downloading github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 go: extracting github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 go: downloading mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34 go: extracting github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 go: downloading github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770 go: extracting gopkg.in/yaml.v2 v2.2.1 go: extracting github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca go: extracting github.com/magiconair/properties v1.7.6 go: downloading github.com/spf13/cast v1.2.0 go: extracting mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34 go: downloading github.com/go-toolsmith/typep v0.0.0-20181030061450-d63dc7650676 go: extracting github.com/spf13/cast v1.2.0 go: downloading github.com/kisielk/gotool v1.0.0 go: extracting github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613 go: extracting github.com/kisielk/gotool v1.0.0 go: extracting github.com/go-toolsmith/typep v0.0.0-20181030061450-d63dc7650676 go: downloading mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed go: downloading github.com/fsnotify/fsnotify v1.4.7 go: extracting mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed go: downloading golang.org/x/sys v0.0.0-20190312061237-fead79001313 go: extracting github.com/fsnotify/fsnotify v1.4.7 go: extracting github.com/golangci/go-tools v0.0.0-20180109140146-af6baa5dc196 go: extracting github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770 go: downloading github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee go: downloading sourcegraph.com/sourcegraph/go-diff v0.5.1-0.20190210232911-dee78e514455 go: downloading golang.org/x/net v0.0.0-20190313220215-9f648a60d977 go: downloading github.com/golangci/errcheck v0.0.0-20181003203344-ef45e06d44b6 go: downloading golang.org/x/crypto v0.0.0-20190313024323-a1f597ede03a go: extracting github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee go: downloading github.com/gobwas/glob v0.2.3 go: extracting github.com/golangci/errcheck v0.0.0-20181003203344-ef45e06d44b6 go: downloading github.com/golangci/ineffassign v0.0.0-20180808204949-2ee8f2867dde go: extracting github.com/golangci/ineffassign v0.0.0-20180808204949-2ee8f2867dde go: downloading github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21 go: extracting github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21 go: downloading github.com/BurntSushi/toml v0.3.1 go: extracting github.com/gobwas/glob v0.2.3 go: downloading mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b go: extracting sourcegraph.com/sourcegraph/go-diff v0.5.1-0.20190210232911-dee78e514455 go: downloading sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4 go: extracting github.com/BurntSushi/toml v0.3.1 go: downloading github.com/gogo/protobuf v1.1.1 go: extracting mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b go: extracting sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4 go: extracting github.com/nbutton23/zxcvbn-go v0.0.0-20171102151520-eafdab6b0663 go: extracting golang.org/x/net v0.0.0-20190313220215-9f648a60d977 go: extracting golang.org/x/crypto v0.0.0-20190313024323-a1f597ede03a 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 3/14 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in e0489e043db4 Reading package lists...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 11c918c0d948 Removing intermediate container 11c918c0d948 ---> eb0f3b9c6baf Step 3/7 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in fdcdddde231a 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 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 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 (82.2 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. 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 (82.3 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. Removing intermediate container e0489e043db4 ---> c31a0b4a8579 Step 4/14 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 51ecf701db40 Removing intermediate container 51ecf701db40 ---> 13f1c0cfb2c7 Step 5/14 : COPY . . Removing intermediate container fdcdddde231a ---> 8f5b5bf7a521 Step 4/7 : WORKDIR /go/src/github.com/docker/cli ---> Running in 14a63edbb3d0 Removing intermediate container 14a63edbb3d0 ---> 55fe9158ff51 Step 5/7 : RUN git clone https://github.com/docker/cli . && git checkout 5bbb56bfee6f7d771c74e5e78f20ed48af5be1ac ---> Running in 7067ddee15c5 Cloning into '.'...  ---> 40c93206b0aa Step 6/14 : ARG EXPERIMENTAL="off" ---> Running in 8233fb9f21d1 Removing intermediate container 8233fb9f21d1 ---> 97975fd5c81f Step 7/14 : ARG TAG="unknown" ---> Running in 7f5f0702d11b Removing intermediate container 7f5f0702d11b ---> 44d2e8dc923f Step 8/14 : RUN make EXPERIMENTAL=${EXPERIMENTAL} BUILD_TAG=${BUILD_TAG} TAG=${TAG} bin/cnab-run ---> Running in 546d453fcff0 CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d7f316cb -X github.com/docker/app/internal.Version=jenkins-app-PR-506-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:30:18Z" -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 7067ddee15c5 ---> 655f0cc868f0 Step 6/7 : RUN make cross binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in 5acd73c3aef5 ./scripts/build/cross Building binaries for all platforms Removing intermediate container acf6c87d8e0c ---> 684d4dce4a8d Step 6/8 : WORKDIR /go/src/github.com/docker/app ---> Running in 2976c9e5214e Removing intermediate container 2976c9e5214e ---> 47e5122ec2bb Step 7/8 : ENV CGO_ENABLED=0 ---> Running in 83c3542d5a37 Removing intermediate container 83c3542d5a37 ---> 05be47b9a25e Step 8/8 : COPY . . ---> f5adae9c946d Successfully built f5adae9c946d Successfully tagged docker-app-lint:jenkins-app-PR-506-2 docker run --rm docker-app-lint:jenkins-app-PR-506-2 make lint Linting... [Pipeline] sh + make -f docker.Makefile check-vendor docker build --build-arg=EXPERIMENTAL=off --build-arg=TAG=jenkins-app-PR-506-2 --build-arg=COMMIT=d7f316c --build-arg=ALPINE_VERSION=3.9.2 --target=dev -t docker-app-dev:jenkins-app-PR-506-2 . Sending build context to Docker daemon 74.84MB 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 852f637aab33: Waiting d54db43011fd: Waiting 963c818ebafc: Waiting 17355b0ffe5d: Waiting 7eca7cce1124: Waiting c571afaa9e23: Waiting 162e4705bed0: Waiting 4f2baa6f625a: Waiting 1b2a72d4e030: Verifying Checksum 1b2a72d4e030: Download complete d4b7902036fe: Verifying Checksum d4b7902036fe: Download complete d54db43011fd: Verifying Checksum d54db43011fd: Download complete 963c818ebafc: Verifying Checksum 963c818ebafc: Download complete e79bb959ec00: Verifying Checksum e79bb959ec00: Download complete 7eca7cce1124: Verifying Checksum 7eca7cce1124: 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 Removing intermediate container 546d453fcff0 ---> 835c6d8a990d 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 6c2233a2418b 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 6c2233a2418b ---> 31239b53658e Step 11/14 : USER cnab ---> Running in fb47d69406b7 Removing intermediate container fb47d69406b7 ---> 1d089a2d99a7 Step 12/14 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run ---> 04aa263d8371 Step 13/14 : WORKDIR /cnab/app ---> Running in 7dccff7ee701 Removing intermediate container 7dccff7ee701 ---> 5400246cb7b8 Step 14/14 : CMD /cnab/app/run ---> Running in 3ed91a8da262 Removing intermediate container 3ed91a8da262 ---> 84913273837b [Warning] One or more build-args [COMMIT] were not consumed Successfully built 84913273837b Successfully tagged docker/cnab-app-base:jenkins-app-PR-506-2 docker save docker/cnab-app-base:jenkins-app-PR-506-2 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-506-2-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-506-2 docker/cnab-app-base:jenkins-app-PR-506-2-coverage docker save docker/cnab-app-base:jenkins-app-PR-506-2-coverage -o _build/coverage-invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-506-2-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-506-2 docker/cnab-app-base:jenkins-app-PR-506-2-coverage-experimental docker save docker/cnab-app-base:jenkins-app-PR-506-2-coverage-experimental -o _build/coverage-experimental-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-506/src/github.com/docker/app/_build [Pipeline] { [Pipeline] stash 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 cefe586aa152 Removing intermediate container cefe586aa152 ---> 9a55eaaec42f Step 3/16 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in ff877ee7e2df 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 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 (82.2 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. Stashed 1 file(s) [Pipeline] stash Removing intermediate container ff877ee7e2df ---> eb884974729a Step 4/16 : WORKDIR /go/src/github.com/docker/cli ---> Running in 3abd7c9b397e Removing intermediate container 3abd7c9b397e ---> 3a33949a8449 Step 5/16 : RUN git clone https://github.com/docker/cli . && git checkout 5bbb56bfee6f7d771c74e5e78f20ed48af5be1ac ---> Running in 569d01be3252 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 569d01be3252 ---> 7a77dd9dd0ca Step 6/16 : RUN make cross binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in 02f43f163c90 ./scripts/build/cross Building binaries for all platforms Stashed 1 file(s) [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-506/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-506-2 Untagged: docker/cnab-app-base:jenkins-app-PR-506-2 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-506-2-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-506-2-coverage [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-506-2-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-506-2-coverage-experimental Deleted: sha256:84913273837bb126afa0cab48efb9898e99c4e7d2f8464e5f901227c819c1ff5 Deleted: sha256:5400246cb7b80dbfa751187c1497cf4a2921c1d2dfcaf97c18942a6aaf92a685 Deleted: sha256:04aa263d8371b46aae13556b0b525492d542864a1e84fcb4b17c8454c844739d Deleted: sha256:f9bfba64984c2e97523ec6e90be4a9e4ebf22490a3e78f687762fef487b11cb4 Deleted: sha256:1d089a2d99a7818fa9d82422b275e4f0e6f2da81e1888300651625b4adc745fb Deleted: sha256:31239b53658e00f72bde94025fe673ef187ba32a517c934753382853a00a418c Deleted: sha256:18ec7b9bd58a2f5cc3a6039ba7de03a48541a6946c711df8c5137c03dd101caf [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 5acd73c3aef5 ---> ee57d1f9a696 Step 7/7 : WORKDIR /go/src/github.com/docker/app/ ---> Running in ee76cbca8f17 Removing intermediate container ee76cbca8f17 ---> da064fbd6a50 [Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed Successfully built da064fbd6a50 Successfully tagged docker-app-cli:jenkins-app-PR-506-2 docker create --name docker-app-cli-jenkins-app-PR-506-2 docker-app-cli:jenkins-app-PR-506-2 noop 04c27893128b200bb88fb96dc56a222f824558e0e4def9d5073c028622ba30e5 docker cp docker-app-cli-jenkins-app-PR-506-2:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux docker cp docker-app-cli-jenkins-app-PR-506-2:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin docker cp docker-app-cli-jenkins-app-PR-506-2:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe docker rm docker-app-cli-jenkins-app-PR-506-2 docker-app-cli-jenkins-app-PR-506-2 docker build --build-arg=EXPERIMENTAL=off --build-arg=TAG=jenkins-app-PR-506-2 --build-arg=COMMIT=d7f316c --build-arg=ALPINE_VERSION=3.9.2 --target=cross -t docker-app-cross:jenkins-app-PR-506-2 . Sending build context to Docker daemon 74.84MB 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 ---> eb0f3b9c6baf Step 3/20 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 8f5b5bf7a521 Step 4/20 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 55fe9158ff51 Step 5/20 : RUN git clone https://github.com/docker/cli . && git checkout 5bbb56bfee6f7d771c74e5e78f20ed48af5be1ac ---> Using cache ---> 655f0cc868f0 Step 6/20 : RUN make cross binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> ee57d1f9a696 Step 7/20 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> da064fbd6a50 Step 8/20 : FROM build AS dev ---> da064fbd6a50 Step 9/20 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in c9427511a41a Removing intermediate container c9427511a41a ---> 8a342b74bce5 Step 10/20 : ARG DEP_VERSION=v0.5.0 ---> Running in c8abdbf91635 Removing intermediate container c8abdbf91635 ---> 00221b1340a8 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 e68b0a2f37b1  % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 605 0 605 0 0 7134  0 --:--:-- --:--:-- --:--:-- 7202  100 8513k 100 8513k 0 0 44.4M 0 --:--:-- --:--:-- --:--:-- 44.4M Removing intermediate container e68b0a2f37b1 ---> a2799dbcfd8e Step 12/20 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in b6bffc46998f Removing intermediate container b6bffc46998f ---> fd28a848b272 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 561a8f2e0e0d go: finding github.com/pkg/errors v0.8.0 go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/fatih/color v1.6.0 go: finding github.com/onsi/gomega v1.4.3 go: finding gotest.tools v2.1.0+incompatible go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding github.com/mattn/go-colorable v0.0.9 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding github.com/stretchr/testify v1.3.0 go: finding github.com/golang/protobuf v1.2.0 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding golang.org/x/text v0.3.0 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/davecgh/go-spew v1.1.0 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding github.com/hpcloud/tail v1.0.0 go: finding github.com/stretchr/objx v0.1.0 go: finding gopkg.in/yaml.v2 v2.2.1 go: finding github.com/onsi/ginkgo v1.6.0 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 go: downloading gotest.tools v2.1.0+incompatible go: extracting gotest.tools v2.1.0+incompatible go: downloading github.com/sirupsen/logrus v1.0.5 go: downloading github.com/pkg/errors v0.8.0 go: downloading github.com/jonboulle/clockwork v0.1.0 go: downloading github.com/fatih/color v1.6.0 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: downloading github.com/spf13/pflag v1.0.1 go: 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: extracting github.com/jonboulle/clockwork v0.1.0 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/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 561a8f2e0e0d ---> bd71d43aed5a 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 c451a44aa867 Removing intermediate container c451a44aa867 ---> a13682893d30 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 00dd2436507a 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 00dd2436507a ---> 0f4899be0ed0 Step 16/20 : COPY . . ---> 7d5c90fda149 Step 17/20 : FROM dev AS cross ---> 7d5c90fda149 Step 18/20 : ARG EXPERIMENTAL="off" ---> Running in 3949fcee0de4 Removing intermediate container 3949fcee0de4 ---> 7bea3874e003 Step 19/20 : ARG TAG="unknown" ---> Running in 3950186ce293 Removing intermediate container 3950186ce293 ---> 33b0a9fca137 Step 20/20 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Running in 3cb1fed33fd7 GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d7f316cb -X github.com/docker/app/internal.Version=jenkins-app-PR-506-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:38:44Z" -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 Removing intermediate container 02f43f163c90 ---> 8d67c2b69b61 Step 7/16 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 5b4c294dd399 Removing intermediate container 5b4c294dd399 ---> f127235f707b Step 8/16 : FROM build AS dev ---> f127235f707b Step 9/16 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in 3ac3bfb8def5 Removing intermediate container 3ac3bfb8def5 ---> 000f89b22880 Step 10/16 : ARG DEP_VERSION=v0.5.0 ---> Running in 3f2937dca686 Removing intermediate container 3f2937dca686 ---> b68c33af4074 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 edd2ae7611d9  % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 605 0 605 0 0 4578 0 --:--:-- --:--:-- --:--:-- 4583  100 8513k 100 8513k 0  0 35.2M 0 --:--:-- --:--:-- --:--:-- 35.2M Removing intermediate container edd2ae7611d9 ---> 793f7cf46a97 Step 12/16 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in 0f7f01d2bb66 Removing intermediate container 0f7f01d2bb66 ---> aa917bdf2a4b 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 39eddcdfc413 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/pkg/errors v0.8.0 go: finding github.com/fatih/color v1.6.0 go: finding github.com/onsi/ginkgo v1.8.0 go: finding gotest.tools v2.1.0+incompatible go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/stretchr/testify v1.3.0 go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding github.com/onsi/gomega v1.4.3 go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/davecgh/go-spew v1.1.0 go: finding github.com/stretchr/objx v0.1.0 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding github.com/onsi/ginkgo v1.6.0 go: finding github.com/hpcloud/tail v1.0.0 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 golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding github.com/golang/protobuf v1.2.0 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 GOOS=darwin CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d7f316cb -X github.com/docker/app/internal.Version=jenkins-app-PR-506-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:38:44Z" -o bin/docker-app-darwin ./cmd/docker-app go: downloading gotest.tools v2.1.0+incompatible go: extracting gotest.tools v2.1.0+incompatible go: downloading github.com/sirupsen/logrus v1.0.5 go: downloading github.com/spf13/pflag v1.0.1 go: downloading github.com/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 golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: extracting github.com/sirupsen/logrus v1.0.5 go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc 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/jonboulle/clockwork v0.1.0 go: extracting github.com/pkg/errors v0.8.0 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 39eddcdfc413 ---> 0b1fe77fd31d 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 e0dbab03db1f Removing intermediate container e0dbab03db1f ---> e0203acbf356 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 ea6057a7c00d 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 ea6057a7c00d ---> d64a165d8cae Step 16/16 : COPY . . ---> d8b8271b3920 [Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed Successfully built d8b8271b3920 Successfully tagged docker-app-dev:jenkins-app-PR-506-2 Check Vendoring... docker run --rm docker-app-dev:jenkins-app-PR-506-2 sh -c "make vendor && hack/check-git-diff vendor" rm -rf vendor 1>&1 dep ensure -v (1/93) Wrote github.com/containerd/fifo@master (2/93) Wrote github.com/davecgh/go-spew@v1.1.1 (3/93) Wrote vbom.ml/util@master (4/93) Failed to write github.com/deislabs/duffle (from github.com/ijc/duffle)@set-merge (5/93) Failed to write github.com/Microsoft/hcsshim@v0.8.4 (6/93) Failed to write github.com/containerd/typeurl@master (7/93) Failed to write github.com/docker/docker@master (8/93) Failed to write github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (9/93) Failed to write github.com/beorn7/perks@master (10/93) Failed to write github.com/cbroglie/mustache@v1.0.1 (11/93) Failed to write github.com/containerd/containerd (from github.com/simonferquel/containerd)@42c3614d58767e96c1752977fed94d0b140a0173 (12/93) Failed to write github.com/containerd/continuity@bd77b46c8352f74eb12c85bdc01f4b90f69d66b4 (13/93) Failed to write github.com/docker/cli@master (14/93) Failed to write github.com/docker/cnab-to-oci@master (15/93) Failed to write github.com/coreos/etcd@v3.3.10 (16/93) Failed to write github.com/agl/ed25519@master (17/93) Failed to write github.com/docker/docker-credential-helpers@v0.6.1 (18/93) Failed to write github.com/docker/go@v1.5.1-1 (19/93) Failed to write github.com/docker/go-connections@v0.4.0 (20/93) Failed to write github.com/docker/compose-on-kubernetes@v0.4.19 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=d7f316cb -X github.com/docker/app/internal.Version=jenkins-app-PR-506-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:38:44Z" -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=d7f316cb -X github.com/docker/app/internal.Version=jenkins-app-PR-506-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:38:44Z" -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=d7f316cb -X github.com/docker/app/internal.Version=jenkins-app-PR-506-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:38:44Z" -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=d7f316cb -X github.com/docker/app/internal.Version=jenkins-app-PR-506-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:38:44Z" -o bin/docker-app-standalone-windows.exe ./cmd/docker-app-standalone Removing intermediate container 3cb1fed33fd7 ---> cff4fdfba672 [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built cff4fdfba672 Successfully tagged docker-app-cross:jenkins-app-PR-506-2 docker create --name docker-app-cross-jenkins-app-PR-506-2 docker-app-cross:jenkins-app-PR-506-2 noop fede2c43c100f3d340c9ec56431674b1279ccc73f9375879ed45f7d69bc38975 docker cp docker-app-cross-jenkins-app-PR-506-2:/go/src/github.com/docker/app/bin/docker-app-linux bin/docker-app-linux docker cp docker-app-cross-jenkins-app-PR-506-2:/go/src/github.com/docker/app/bin/docker-app-darwin bin/docker-app-darwin docker cp docker-app-cross-jenkins-app-PR-506-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-506-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-506-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-506-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-506-2 docker-app-cross-jenkins-app-PR-506-2 docker build --build-arg=EXPERIMENTAL=off --build-arg=TAG=jenkins-app-PR-506-2 --build-arg=COMMIT=d7f316c --build-arg=ALPINE_VERSION=3.9.2 --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-506-2 . Sending build context to Docker daemon 74.84MB 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 ---> eb0f3b9c6baf Step 3/24 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> 8f5b5bf7a521 Step 4/24 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> 55fe9158ff51 Step 5/24 : RUN git clone https://github.com/docker/cli . && git checkout 5bbb56bfee6f7d771c74e5e78f20ed48af5be1ac ---> Using cache ---> 655f0cc868f0 Step 6/24 : RUN make cross binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> ee57d1f9a696 Step 7/24 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> da064fbd6a50 Step 8/24 : FROM build AS dev ---> da064fbd6a50 Step 9/24 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Using cache ---> 8a342b74bce5 Step 10/24 : ARG DEP_VERSION=v0.5.0 ---> Using cache ---> 00221b1340a8 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 ---> a2799dbcfd8e Step 12/24 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Using cache ---> fd28a848b272 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 ---> bd71d43aed5a 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 ---> a13682893d30 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 ---> 0f4899be0ed0 Step 16/24 : COPY . . ---> Using cache ---> 7d5c90fda149 Step 17/24 : FROM dev AS cross ---> 7d5c90fda149 Step 18/24 : ARG EXPERIMENTAL="off" ---> Using cache ---> 7bea3874e003 Step 19/24 : ARG TAG="unknown" ---> Using cache ---> 33b0a9fca137 Step 20/24 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Using cache ---> cff4fdfba672 Step 21/24 : FROM cross AS e2e-cross ---> cff4fdfba672 Step 22/24 : ARG EXPERIMENTAL="off" ---> Running in 23ee5b48ec56 Removing intermediate container 23ee5b48ec56 ---> c75b4a357887 Step 23/24 : ARG TAG="unknown" ---> Running in 0150e5770eff Removing intermediate container 0150e5770eff ---> 4992a9446023 Step 24/24 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} e2e-cross ---> Running in 38f6980324f4 GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=d7f316cb -X github.com/docker/app/internal.Version=jenkins-app-PR-506-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:41:21Z" -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=d7f316cb -X github.com/docker/app/internal.Version=jenkins-app-PR-506-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:41:21Z" -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=d7f316cb -X github.com/docker/app/internal.Version=jenkins-app-PR-506-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:41:21Z" -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=d7f316cb -X github.com/docker/app/internal.Version=jenkins-app-PR-506-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:41:21Z" -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=d7f316cb -X github.com/docker/app/internal.Version=jenkins-app-PR-506-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-08-30T18:41:21Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ Removing intermediate container 38f6980324f4 ---> 44fc55e24b8a [Warning] One or more build-args [ALPINE_VERSION COMMIT] were not consumed Successfully built 44fc55e24b8a Successfully tagged docker-app-e2e-cross:jenkins-app-PR-506-2 docker create --name docker-app-e2e-cross-jenkins-app-PR-506-2 docker-app-e2e-cross:jenkins-app-PR-506-2 noop 74a2a6e04808e8092d125a3819a89e73715eb7828e9db8309aa032aeb372afe5 docker cp docker-app-e2e-cross-jenkins-app-PR-506-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-506-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-506-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-506-2:/usr/local/bin/gotestsum-linux bin/gotestsum-linux docker cp docker-app-e2e-cross-jenkins-app-PR-506-2:/usr/local/bin/gotestsum-darwin bin/gotestsum-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-506-2:/usr/local/bin/gotestsum-windows.exe bin/gotestsum-windows.exe docker cp docker-app-e2e-cross-jenkins-app-PR-506-2:/usr/local/bin/test2json-linux bin/test2json-linux docker cp docker-app-e2e-cross-jenkins-app-PR-506-2:/usr/local/bin/test2json-darwin bin/test2json-darwin docker cp docker-app-e2e-cross-jenkins-app-PR-506-2:/usr/local/bin/test2json-windows.exe bin/test2json-windows.exe docker rm docker-app-e2e-cross-jenkins-app-PR-506-2 docker-app-e2e-cross-jenkins-app-PR-506-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-506/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-506/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-506/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-506-2* Untagged: docker-app-e2e-cross:jenkins-app-PR-506-2 Deleted: sha256:44fc55e24b8a3fc5d09b82b07cb91a76efe81164281e7d12018be807972124d6 Deleted: sha256:a95fb1e2b21f7185c01501dad8a69b02a06042f6a22c874c970fe9696c505c26 Deleted: sha256:4992a9446023d3ed7176fc275140ba459229832e58372ed7f2493f3e1be235b6 Deleted: sha256:c75b4a3578870b38464435c1c92d031fc4283b241396dcfc53104486c53beac5 Untagged: docker-app-cross:jenkins-app-PR-506-2 Deleted: sha256:cff4fdfba67222ed67dc2af04ecbecb870409b80c9f0164349c900b3f562c4a3 Deleted: sha256:4b8893b8d5ff67bfedcb6b27578e9ecf4518bbb8eb1d794e6bca402f6e099ab6 Deleted: sha256:33b0a9fca13713a06379fd838776b562c57541c19894ef878ca3383cdadc2b7d Deleted: sha256:7bea3874e003f15b20203ebb99d5408e0ee2adc2553a8410f9fb2013af9d09b7 Deleted: sha256:7d5c90fda149b0a28e4277dc74c125eb9965bbefba61e1dc412f899e997217b1 Deleted: sha256:002de6d7e368d27e888f6bd22d4acf462adea15af88ed817552e50b6867be945 Deleted: sha256:0f4899be0ed0c2f23ad98b54b07166a3a3b1f20a574768605890fc4efadedea4 Deleted: sha256:cc3cd54efdb38220d114b504ac1d6d63954dc98f7fd0987418b68d77f576e6f3 Deleted: sha256:a13682893d3050fcc5194fd4fd6ce3d9a697b328679fb866762b0bb4a829940d Deleted: sha256:7c4bffefa1273e3467d6f7ef094b3fc992f89fa655f43d7aa00a6cabb0897787 Deleted: sha256:bd71d43aed5a0ddd46237668a7a3006f1b32f5d685ba69a4b19eedcc95c8d650 Deleted: sha256:255dbf96f035cbdf249781781119565e6a340d49852666f51480cc3435d674da Deleted: sha256:fd28a848b272cb12456b84ecd765d187a5365ca25c26819f4094913d0373a9c8 Deleted: sha256:a2799dbcfd8e8687970f2d73bebf343b7ce95a63b75cd96b44e96b8b72d2665c Deleted: sha256:46f90ac10ab2cabecf493ff7d30b191c061c662eb8e5dc811482a8060af293de Deleted: sha256:00221b1340a80a875fe4564d24ce38020466183a77603b5b236f768fb56ea95c Deleted: sha256:8a342b74bce5266bcc8ac324a37ced2d8c28756467b845d5858ba04bf6a9fd3b Untagged: docker-app-cli:jenkins-app-PR-506-2 Deleted: sha256:da064fbd6a50bcc4a0948ba22737585070948ce5603d584f68365ee68c2daf59 Deleted: sha256:7e7ff005649da24668cfa2de1db1105fcf2b5910ffeeec515398f2c0e31247e4 Deleted: sha256:ee57d1f9a69616582e5cd08ac65d153b5869ffa960c9dfd8f3ee548e67d85fc2 Deleted: sha256:b1fb6f20cc148fc4ef00a22f61dd7bebdb33c67c988ec4fba336d74cc9a93f20 Deleted: sha256:655f0cc868f03b73c32963935674af00ba81caf4123ae0fc7954321d73bb9f45 Deleted: sha256:c1ef8bb6efb2fdb66e849fe57b88e442981c11c96d48f48a31a2be63ba87271c Deleted: sha256:55fe9158ff5127cff91b03782e2074c3bdfa6cfd1017a3fe98a6756c186e336e Deleted: sha256:3b8642bc982527609cc9643cbae64f84c522c335cc88f6c00f2bd4995566b873 Deleted: sha256:8f5b5bf7a5216eab5f5b7389c35517a666a6e1233d2e1b6383025bd1028d6d70 Deleted: sha256:6deb528fab1ddb4a547405440ec7100f24287932f4ce8dc1b8d9a5e72914abc5 Deleted: sha256:eb0f3b9c6bafacbfadad0112e305f46d838630a94db3281c07bf7b6211a72f15 [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