Pull request #632 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 3e55ed7e90c064168592ba2f3ac008a6336abf04 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 > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > 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 > 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 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" > git rev-list --no-walk ead69454b4062f17d1f8389642089a002b037213 # timeout=10 [Pipeline] Start of Pipeline [Pipeline] withEnv [Pipeline] { [Pipeline] timeout Timeout set to expire in 1 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: Validate) [Pipeline] { (Branch: Binaries) [Pipeline] { (Branch: Build Invocation image) [Pipeline] stage [Pipeline] { (Validate) [Pipeline] stage [Pipeline] { (Binaries) [Pipeline] stage [Pipeline] { (Build Invocation image) [Pipeline] node [Pipeline] node [Pipeline] node Running on ubuntu-1804-overlay2 (i-0c57d3472992a3a9b) in /home/ubuntu/workspace/app_PR-632 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-632/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 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-632/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/632/head:refs/remotes/origin/PR-632 Running on ubuntu-1804-overlay2 (i-062bcf9c9f54cc6ee) in /home/ubuntu/workspace/app_PR-632 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-632/src/github.com/docker/app [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Fetching without tags Checking out Revision 3e55ed7e90c064168592ba2f3ac008a6336abf04 (PR-632) Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-632/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/632/head:refs/remotes/origin/PR-632 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/632/head:refs/remotes/origin/PR-632 # 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/632/head:refs/remotes/origin/PR-632 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e55ed7e90c064168592ba2f3ac008a6336abf04 Commit message: "Don't rely on BUILD_TAG to tag docker images" First time build. Skipping changelog. > git rev-list --no-walk 314966feed85ae066f919022ce9b6f80ad99f7a5 # timeout=10 [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:3e55ed7e90 -f Dockerfile.lint . Still waiting to schedule task Waiting for next available executor on ‘ubuntu-1804&&x86_64&&overlay2’ Fetching without tags Checking out Revision 3e55ed7e90c064168592ba2f3ac008a6336abf04 (PR-632) > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/632/head:refs/remotes/origin/PR-632 # 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/632/head:refs/remotes/origin/PR-632 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e55ed7e90c064168592ba2f3ac008a6336abf04 Commit message: "Don't rely on BUILD_TAG to tag docker images" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=build -t docker-app-cli:3e55ed7e90 . Running on ubuntu-1804-overlay2 (i-061959c7d546bf368) in /home/ubuntu/workspace/app_PR-632 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-632/src/github.com/docker/app [Pipeline] { [Pipeline] checkout using credential docker-jenkins-github-credentials Fetching changes from the remote Git repository Fetching without tags Checking out Revision 3e55ed7e90c064168592ba2f3ac008a6336abf04 (PR-632) > git rev-parse --is-inside-work-tree # 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 > 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/632/head:refs/remotes/origin/PR-632 > git config core.sparsecheckout # timeout=10 > git checkout -f 3e55ed7e90c064168592ba2f3ac008a6336abf04 Sending build context to Docker daemon 75.47MB Step 1/8 : ARG ALPINE_VERSION=3.10 Step 2/8 : ARG GO_VERSION=1.12.9 Step 3/8 : FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} 1.12.9-alpine3.10: Pulling from library/golang 9d48c3bd43c5: Pulling fs layer 7f94eaf8af20: Pulling fs layer 9fe9984849c1: Pulling fs layer cf0db633a67d: Pulling fs layer 0f7136d71739: Pulling fs layer cf0db633a67d: Waiting 0f7136d71739: Waiting 9fe9984849c1: Verifying Checksum 9fe9984849c1: Download complete 7f94eaf8af20: Verifying Checksum 7f94eaf8af20: Download complete 9d48c3bd43c5: Verifying Checksum 9d48c3bd43c5: Download complete 0f7136d71739: Verifying Checksum 0f7136d71739: Download complete 9d48c3bd43c5: Pull complete 7f94eaf8af20: Pull complete 9fe9984849c1: Pull complete Commit message: "Don't rely on BUILD_TAG to tag docker images" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=invocation -t docker/cnab-app-base:jenkins-app-PR-632-2 . cf0db633a67d: Verifying Checksum cf0db633a67d: Download complete Sending build context to Docker daemon 75.47MB Step 1/8 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705: Pulling from dockercore/golang-cross 4ae16bd47783: Pulling fs layer bbab4ec87ac4: Pulling fs layer 2ea1f7804402: Pulling fs layer 96465440c208: Pulling fs layer 16a3d8aca6cd: Pulling fs layer e0ec5610455a: Pulling fs layer 96d705baf026: Pulling fs layer 39007eb46008: Pulling fs layer 4e549f0f5e64: Pulling fs layer c0058a8c71f2: Pulling fs layer 2f8d98df0991: Pulling fs layer 96465440c208: Waiting 16a3d8aca6cd: Waiting e0ec5610455a: Waiting 96d705baf026: Waiting 39007eb46008: Waiting 4e549f0f5e64: Waiting c0058a8c71f2: Waiting 2f8d98df0991: Waiting bbab4ec87ac4: Verifying Checksum bbab4ec87ac4: Download complete 2ea1f7804402: Verifying Checksum 2ea1f7804402: Download complete 4ae16bd47783: Verifying Checksum 4ae16bd47783: Download complete 96465440c208: Verifying Checksum 96465440c208: Download complete 16a3d8aca6cd: Verifying Checksum 16a3d8aca6cd: Download complete 96d705baf026: Verifying Checksum 96d705baf026: Download complete Sending build context to Docker daemon 75.47MB Step 1/14 : ARG ALPINE_VERSION=3.10.1 Step 2/14 : FROM golang:1.13.0 AS build 1.13.0: Pulling from library/golang 4a56a430b2ba: Pulling fs layer 4b5cacb629f5: Pulling fs layer 14408c8d4f9a: Pulling fs layer ea67eaa7dd42: Pulling fs layer a2a2197e145e: Pulling fs layer 36ac8c11a11f: Pulling fs layer ecd7d9a67e26: Pulling fs layer a2a2197e145e: Waiting 36ac8c11a11f: Waiting ecd7d9a67e26: Waiting ea67eaa7dd42: Waiting 39007eb46008: Verifying Checksum 39007eb46008: Download complete 4b5cacb629f5: Verifying Checksum 4b5cacb629f5: Download complete 14408c8d4f9a: Verifying Checksum 14408c8d4f9a: Download complete c0058a8c71f2: Verifying Checksum c0058a8c71f2: Download complete 4a56a430b2ba: Verifying Checksum 4a56a430b2ba: Download complete ea67eaa7dd42: Verifying Checksum ea67eaa7dd42: Download complete ecd7d9a67e26: Verifying Checksum ecd7d9a67e26: Download complete a2a2197e145e: Verifying Checksum a2a2197e145e: Download complete e0ec5610455a: Verifying Checksum e0ec5610455a: Download complete 4e549f0f5e64: Verifying Checksum 4e549f0f5e64: Download complete 36ac8c11a11f: Verifying Checksum 36ac8c11a11f: Download complete cf0db633a67d: Pull complete 0f7136d71739: Pull complete Digest: sha256:e0660b4f1e68e0d408420acb874b396fc6dd25e7c1d03ad36e7d6d1155a4dff6 Status: Downloaded newer image for golang:1.12.9-alpine3.10 ---> e0d646523991 Step 4/8 : RUN apk add --no-cache curl git make coreutils 4a56a430b2ba: Pull complete 4b5cacb629f5: Pull complete ---> Running in 7144c9c87614 14408c8d4f9a: Pull complete fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz 2f8d98df0991: Verifying Checksum 2f8d98df0991: Download complete fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz 4ae16bd47783: Pull complete (1/10) Installing libacl (2.2.52-r6) (2/10) Installing libattr (2.4.48-r0) (3/10) Installing coreutils (8.31-r0) (4/10) Installing nghttp2-libs (1.39.2-r0) (5/10) Installing libcurl (7.66.0-r0) (6/10) Installing curl (7.66.0-r0) (7/10) Installing expat (2.2.8-r0) (8/10) Installing pcre2 (10.33-r0) (9/10) Installing git (2.22.0-r0) (10/10) Installing make (4.2.1-r2) Executing busybox-1.30.1-r2.trigger OK: 22 MiB in 25 packages bbab4ec87ac4: Pull complete 2ea1f7804402: Pull complete ea67eaa7dd42: Pull complete Removing intermediate container 7144c9c87614 ---> 8f82e946ace0 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 69c798903409 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/mattn/go-isatty v0.0.3 go: finding github.com/go-ole/go-ole v1.2.1 go: finding github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca go: finding github.com/golangci/errcheck v0.0.0-20181003203344-ef45e06d44b6 go: finding github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0 go: finding github.com/golangci/gosec v0.0.0-20180901114220-66fb7fc33547 go: finding github.com/golang/mock v1.1.1 go: finding github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613 96465440c208: Pull complete go: finding github.com/pkg/errors v0.8.0 go: finding github.com/golangci/lint-1 v0.0.0-20180610141402-4bf9709227d1 go: finding github.com/fatih/color v1.6.0 go: finding github.com/kisielk/gotool v1.0.0 go: finding github.com/shirou/gopsutil v0.0.0-20180427012116-c95755e4bcd7 go: finding github.com/inconshreveable/mousetrap v1.0.0 go: finding github.com/gobwas/glob v0.2.3 go: finding github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770 go: finding golang.org/x/tools v0.0.0-20190314010720-f0bfdbff1f9c go: finding mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c go: finding gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7 go: finding gopkg.in/yaml.v2 v2.2.1 a2a2197e145e: Pull complete go: finding mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34 go: finding github.com/nbutton23/zxcvbn-go v0.0.0-20171102151520-eafdab6b0663 go: finding github.com/davecgh/go-spew v1.1.1 go: finding golang.org/x/tools v0.0.0-20170915040203-e531a2a1c15f go: finding github.com/spf13/afero v1.1.0 go: finding golang.org/x/sys v0.0.0-20190312061237-fead79001313 go: finding github.com/pelletier/go-toml v1.1.0 go: finding github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238 go: finding github.com/spf13/jwalterweatherman v0.0.0-20180109140146-7c0cea34c8ec go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/mitchellh/go-ps v0.0.0-20170309133038-4fdf99ab2936 go: finding github.com/go-lintpack/lintpack v0.5.2 go: finding golang.org/x/net v0.0.0-20170915142106-8351a756f30f go: finding github.com/golangci/ineffassign v0.0.0-20180808204949-2ee8f2867dde go: finding github.com/rogpeppe/go-internal v1.1.0 go: finding golang.org/x/crypto v0.0.0-20190313024323-a1f597ede03a go: finding github.com/spf13/cobra v0.0.2 go: finding github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce go: finding github.com/nbutton23/zxcvbn-go v0.0.0-20160627004424-a22cb81b2ecd go: finding gopkg.in/errgo.v2 v2.1.0 go: finding golang.org/x/text v0.0.0-20170915090833-1cbadb444a80 go: finding github.com/go-toolsmith/astequal v0.0.0-20180903214952-dcb477bfacd6 go: finding mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b go: finding github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6 go: finding golang.org/x/tools v0.0.0-20181117154741-2ddaf7f79a09 16a3d8aca6cd: Pull complete go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding github.com/magiconair/properties v1.7.6 go: finding sourcegraph.com/sourcegraph/go-diff v0.5.1-0.20190210232911-dee78e514455 go: finding github.com/kr/pretty v0.1.0 go: finding github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding github.com/go-toolsmith/astfmt v0.0.0-20180903215011-8f8ee99c3086 go: finding github.com/go-toolsmith/pkgload v0.0.0-20181119091011-e9e65178eee8 go: finding github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041 go: finding github.com/golangci/gofmt v0.0.0-20181105071733-0b8337e80d98 go: finding github.com/go-toolsmith/astp v0.0.0-20180903215135-0af7e3c24f30 go: finding github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding golang.org/x/tools v0.0.0-20190121143147-24cd39ecf745 go: finding gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 36ac8c11a11f: Pull complete ecd7d9a67e26: Pull complete Digest: sha256:90d554b5ae59cb63d2bf42bdfcd60aa1feb4794d9e3a9cbb9d2deb477c088be0 Status: Downloaded newer image for golang:1.13.0 ---> c4d6fdf2260a Step 3/14 : RUN apt-get update -qq && apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime go: finding github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e go: finding github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 go: finding github.com/mitchellh/go-homedir v1.0.0 go: finding github.com/spf13/cast v1.2.0 go: finding github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2  ---> Running in 79a15fb9c3e4 go: finding github.com/stretchr/testify v1.2.2 go: finding github.com/OpenPeeDeeP/depguard v0.0.0-20180806142446-a69c782687b2 go: finding sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4 go: finding github.com/spf13/viper v1.0.2 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/ryanuber/go-glob v0.0.0-20170128012129-256dc444b735 go: finding github.com/golang/protobuf v1.2.0 go: finding github.com/kr/text v0.1.0 go: finding github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3 go: finding github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 go: finding golang.org/x/net v0.0.0-20190313220215-9f648a60d977 go: finding github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21 e0ec5610455a: Pull complete 96d705baf026: Pull complete 39007eb46008: Pull complete go: finding github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4 go: finding github.com/BurntSushi/toml v0.3.1 go: finding github.com/kisielk/gotool v0.0.0-20161130080628-0de1eaf82fa3 go: finding github.com/go-critic/go-critic v0.0.0-20181204210945-ee9bf5809ead go: finding github.com/google/go-cmp v0.2.0 go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a go: finding golang.org/x/sys v0.0.0-20171026204733-164713f0dfce go: finding github.com/gogo/protobuf v1.1.1 go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2 go: finding github.com/mozilla/tls-observatory v0.0.0-20180409132520-8791a200eb40 go: finding golang.org/x/tools v0.0.0-20180221164845-07fd8470d635 go: finding golang.org/x/text v0.3.0 go: finding github.com/kr/pty v1.1.1 go: finding golang.org/x/tools v0.0.0-20181205014116-22934f0fdb62 go: finding github.com/go-toolsmith/astcast v0.0.0-20181028201508-b7a89ed70af1 go: finding golang.org/x/net v0.0.0-20190311183353-d8887717615a go: finding github.com/go-toolsmith/strparse v0.0.0-20180903215201-830b6daa1241 go: finding github.com/go-toolsmith/astcopy v0.0.0-20180903214859-79b422d080c4 go: finding github.com/onsi/gomega v1.4.2 go: finding github.com/mattn/goveralls v0.0.2 go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/go-toolsmith/typep v0.0.0-20181030061450-d63dc7650676 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding github.com/onsi/ginkgo v1.6.0 go: finding github.com/hpcloud/tail v1.0.0 go: finding github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee Reading package lists... Building dependency tree... Reading state information... go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd coreutils is already the newest version (8.30-3). coreutils set to manually installed. util-linux is already the newest version (2.33.1-0.1). util-linux set to manually installed. The following NEW packages will be installed: uuid-runtime 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. Need to get 95.2 kB of archives. After this operation, 211 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 95.2 kB in 0s (370 kB/s) Selecting previously unselected package uuid-runtime. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 15394 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... Unpacking uuid-runtime (2.33.1-0.1) ... Setting up uuid-runtime (2.33.1-0.1) ... Adding group `uuidd' (GID 102) ... Done. Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory Adding system user `uuidd' (UID 101) ... Adding new user `uuidd' (UID 101) with group `uuidd' ... Not creating home directory `/run/uuidd'. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. go: downloading github.com/spf13/viper v1.0.2 go: downloading github.com/fatih/color v1.6.0 go: downloading golang.org/x/tools v0.0.0-20190314010720-f0bfdbff1f9c go: downloading github.com/spf13/pflag v1.0.1 go: downloading github.com/spf13/cobra v0.0.2 go: extracting github.com/spf13/viper v1.0.2 go: downloading github.com/magiconair/properties v1.7.6 go: downloading github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 go: downloading github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 go: downloading github.com/golangci/gosec v0.0.0-20180901114220-66fb7fc33547 go: extracting github.com/magiconair/properties v1.7.6 go: downloading sourcegraph.com/sourcegraph/go-diff v0.5.1-0.20190210232911-dee78e514455 go: extracting github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4 go: downloading github.com/OpenPeeDeeP/depguard v0.0.0-20180806142446-a69c782687b2 go: extracting github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2 go: extracting github.com/spf13/cobra v0.0.2 go: extracting github.com/spf13/pflag v1.0.1 go: extracting github.com/OpenPeeDeeP/depguard v0.0.0-20180806142446-a69c782687b2 go: downloading github.com/go-lintpack/lintpack v0.5.2 go: downloading github.com/spf13/afero v1.1.0 go: extracting github.com/golangci/gosec v0.0.0-20180901114220-66fb7fc33547 go: extracting sourcegraph.com/sourcegraph/go-diff v0.5.1-0.20190210232911-dee78e514455 go: extracting github.com/go-lintpack/lintpack v0.5.2 go: downloading github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0 go: extracting github.com/spf13/afero v1.1.0 go: extracting github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0 go: downloading github.com/golangci/go-tools v0.0.0-20180109140146-af6baa5dc196 go: extracting github.com/fatih/color v1.6.0 go: extracting github.com/golangci/go-tools v0.0.0-20180109140146-af6baa5dc196 Removing intermediate container 79a15fb9c3e4 ---> 20d1c15bdebd Step 4/14 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 4ae0953efdc5 Removing intermediate container 4ae0953efdc5 ---> cb071941fb2c Step 5/14 : COPY . . go: extracting golang.org/x/tools v0.0.0-20190314010720-f0bfdbff1f9c go: downloading github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3 go: downloading github.com/nbutton23/zxcvbn-go v0.0.0-20171102151520-eafdab6b0663 go: downloading golang.org/x/text v0.3.0 go: extracting github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3 go: downloading github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21 go: downloading github.com/gogo/protobuf v1.1.1 go: downloading github.com/golangci/lint-1 v0.0.0-20180610141402-4bf9709227d1 go: downloading github.com/gobwas/glob v0.2.3 go: downloading github.com/golangci/ineffassign v0.0.0-20180808204949-2ee8f2867dde go: downloading github.com/spf13/jwalterweatherman v0.0.0-20180109140146-7c0cea34c8ec go: downloading github.com/go-toolsmith/astfmt v0.0.0-20180903215011-8f8ee99c3086 go: downloading mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34 go: extracting github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21 go: downloading github.com/kisielk/gotool v1.0.0 go: extracting github.com/spf13/jwalterweatherman v0.0.0-20180109140146-7c0cea34c8ec go: extracting github.com/golangci/ineffassign v0.0.0-20180808204949-2ee8f2867dde go: downloading github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613 go: downloading github.com/golang/mock v1.1.1 go: extracting github.com/golangci/lint-1 v0.0.0-20180610141402-4bf9709227d1 go: extracting github.com/kisielk/gotool v1.0.0 go: downloading github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee go: downloading github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770 go: extracting github.com/gobwas/glob v0.2.3 go: extracting mvdan.cc/unparam v0.0.0-20190124213536-fbb59629db34 go: downloading github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce go: downloading github.com/golangci/errcheck v0.0.0-20181003203344-ef45e06d44b6 go: extracting github.com/golang/mock v1.1.1 go: downloading github.com/sirupsen/logrus v1.0.5 go: extracting github.com/go-toolsmith/astfmt v0.0.0-20180903215011-8f8ee99c3086 go: downloading github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a go: extracting github.com/golangci/errcheck v0.0.0-20181003203344-ef45e06d44b6 go: extracting github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee go: downloading github.com/pkg/errors v0.8.0 go: extracting github.com/pkg/errors v0.8.0 go: extracting github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a go: downloading github.com/pelletier/go-toml v1.1.0 go: extracting github.com/sirupsen/logrus v1.0.5 go: downloading github.com/golangci/gofmt v0.0.0-20181105071733-0b8337e80d98 go: extracting github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613 go: extracting github.com/hashicorp/hcl v0.0.0-20180404174102-ef8a98b0bbce go: downloading github.com/mattn/go-isatty v0.0.3 go: downloading golang.org/x/crypto v0.0.0-20190313024323-a1f597ede03a go: extracting github.com/mattn/go-isatty v0.0.3 go: downloading github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca go: extracting github.com/pelletier/go-toml v1.1.0 go: extracting github.com/golangci/gofmt v0.0.0-20181105071733-0b8337e80d98 go: extracting github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca go: downloading golang.org/x/net v0.0.0-20190313220215-9f648a60d977 go: downloading golang.org/x/sys v0.0.0-20190312061237-fead79001313 go: extracting github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770 go: downloading gopkg.in/yaml.v2 v2.2.1 go: downloading github.com/fsnotify/fsnotify v1.4.7 go: extracting gopkg.in/yaml.v2 v2.2.1 go: downloading github.com/BurntSushi/toml v0.3.1 go: extracting github.com/fsnotify/fsnotify v1.4.7 go: downloading github.com/mattn/go-colorable v0.0.9 go: extracting github.com/BurntSushi/toml v0.3.1 go: downloading github.com/spf13/cast v1.2.0 go: extracting github.com/mattn/go-colorable v0.0.9 go: downloading github.com/mitchellh/go-homedir v1.0.0 go: extracting github.com/spf13/cast v1.2.0 go: extracting github.com/mitchellh/go-homedir v1.0.0 go: downloading github.com/go-critic/go-critic v0.0.0-20181204210945-ee9bf5809ead go: downloading sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4 go: extracting sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4 go: downloading github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238 go: extracting github.com/mitchellh/mapstructure v0.0.0-20180220230111-00c29f56e238 go: downloading mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed 4e549f0f5e64: Pull complete c0058a8c71f2: Pull complete go: extracting mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed go: downloading mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b go: extracting github.com/go-critic/go-critic v0.0.0-20181204210945-ee9bf5809ead go: extracting mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b go: downloading github.com/go-toolsmith/astequal v0.0.0-20180903214952-dcb477bfacd6 go: downloading github.com/go-toolsmith/astcopy v0.0.0-20180903214859-79b422d080c4 go: extracting github.com/go-toolsmith/astequal v0.0.0-20180903214952-dcb477bfacd6 go: downloading github.com/go-toolsmith/typep v0.0.0-20181030061450-d63dc7650676 go: extracting github.com/go-toolsmith/astcopy v0.0.0-20180903214859-79b422d080c4 go: downloading github.com/go-toolsmith/strparse v0.0.0-20180903215201-830b6daa1241 go: extracting github.com/go-toolsmith/typep v0.0.0-20181030061450-d63dc7650676 go: downloading github.com/go-toolsmith/astcast v0.0.0-20181028201508-b7a89ed70af1 go: extracting github.com/go-toolsmith/strparse v0.0.0-20180903215201-830b6daa1241 go: downloading github.com/go-toolsmith/astp v0.0.0-20180903215135-0af7e3c24f30 go: extracting github.com/go-toolsmith/astcast v0.0.0-20181028201508-b7a89ed70af1 go: extracting github.com/go-toolsmith/astp v0.0.0-20180903215135-0af7e3c24f30 go: extracting github.com/nbutton23/zxcvbn-go v0.0.0-20171102151520-eafdab6b0663  ---> 75bcb5224359 Step 6/14 : ARG EXPERIMENTAL="off" ---> Running in 5d746bb60584 Removing intermediate container 5d746bb60584 ---> 4bd57b5a5111 Step 7/14 : ARG TAG="unknown" ---> Running in 4be22cda3182 Removing intermediate container 4be22cda3182 ---> 5ba29f966f0f Step 8/14 : RUN make EXPERIMENTAL=${EXPERIMENTAL} IMAGE_TAG=${IMAGE_TAG} TAG=${TAG} bin/cnab-run ---> Running in 22712b81c81e 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 CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=3e55ed7e -X github.com/docker/app/internal.Version=jenkins-app-PR-632-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-24T07:39:15Z" -o bin/cnab-run ./cmd/cnab-run go: extracting github.com/gogo/protobuf v1.1.1 go: extracting golang.org/x/text v0.3.0 2f8d98df0991: Pull complete Digest: sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 Status: Downloaded newer image for dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 ---> 518d5e4626aa Step 2/8 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Running in 488f2f2385fc Removing intermediate container 488f2f2385fc ---> 1965c5a6a04e Step 3/8 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Running in fb5808b6c149 Reading package lists... Building dependency tree... Reading state information... coreutils is already the newest version (8.30-3). coreutils set to manually installed. util-linux is already the newest version (2.33.1-0.1). util-linux set to manually installed. The following NEW packages will be installed: uuid-runtime 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 95.2 kB of archives. After this operation, 211 kB of additional disk space will be used. Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 95.2 kB in 0s (345 kB/s) Selecting previously unselected package uuid-runtime. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 25419 files and directories currently installed.) Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... Unpacking uuid-runtime (2.33.1-0.1) ... Setting up uuid-runtime (2.33.1-0.1) ... Adding group `uuidd' (GID 102) ... Done. Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory Adding system user `uuidd' (UID 101) ... Adding new user `uuidd' (UID 101) with group `uuidd' ... Not creating home directory `/run/uuidd'. invoke-rc.d: could not determine current runlevel invoke-rc.d: policy-rc.d denied execution of start. Removing intermediate container fb5808b6c149 ---> ba5c1949d314 Step 4/8 : WORKDIR /go/src/github.com/docker/cli ---> Running in f760e4fed770 Removing intermediate container f760e4fed770 ---> a890f262475c Step 5/8 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Running in b90dfbd560d1 Cloning into '.'... Removing intermediate container 69c798903409 ---> d902f006f39d Step 6/8 : WORKDIR /go/src/github.com/docker/app ---> Running in 8d92d0cd7daf Removing intermediate container 8d92d0cd7daf ---> 5cdc0f9f873e Step 7/8 : ENV CGO_ENABLED=0 ---> Running in 979fc9c4cb70 Removing intermediate container 979fc9c4cb70 ---> 658d223d3685 Step 8/8 : COPY . . Note: checking out 'a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -b with the checkout command again. Example: git checkout -b HEAD is now at a1b83ffd Merge pull request #1894 from thaJeztah/19.03_backport_reduce_vendoring_impact  ---> 576db6e25060 Successfully built 576db6e25060 Successfully tagged docker-app-lint:3e55ed7e90 docker run --rm docker-app-lint:3e55ed7e90 make lint Removing intermediate container b90dfbd560d1 ---> e3e262e06750 Step 6/8 : ARG GOPROXY ---> Running in 98dbddec0990 Removing intermediate container 98dbddec0990 ---> d257689a8bf7 Step 7/8 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Running in b6c7f464af58 ./scripts/build/osx Building build/docker-darwin-amd64 Linting... level=warning msg="[runner/megacheck] Can't run megacheck because of compilation errors in packages [github.com/docker/app/internal/commands [github.com/docker/app/internal/commands.test]]: internal/commands/build.go:135: expected declaration, found _CREDS and 3 more errors: run `golangci-lint run --no-config --disable-all -E typecheck` to see all errors" level=warning msg="[runner/govet] govet error: asmdecl: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: asmdecl: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: assign: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: assign: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: assign: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: atomicalign: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: atomicalign: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: atomicalign: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: bools: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: bools: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: bools: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: buildtag: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: buildtag: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: buildtag: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: httpresponse: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: httpresponse: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: httpresponse: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: loopclosure: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: loopclosure: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: loopclosure: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: ctrlflow: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: ctrlflow: failed prerequisites: ctrlflow@github.com/docker/app/internal/commands" level=warning msg="[runner/govet] govet error: lostcancel: failed prerequisites: ctrlflow@github.com/docker/app/cmd/docker-app" level=warning msg="[runner/govet] govet error: ctrlflow: failed prerequisites: ctrlflow@github.com/docker/app/internal/commands" level=warning msg="[runner/govet] govet error: lostcancel: failed prerequisites: ctrlflow@github.com/docker/app/cmd/docker-app-standalone" level=warning msg="[runner/govet] govet error: ctrlflow: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: lostcancel: failed prerequisites: ctrlflow@github.com/docker/app/internal/commands [github.com/docker/app/internal/commands.test]" level=warning msg="[runner/govet] govet error: nilfunc: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: nilfunc: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: nilfunc: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: printf: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: printf: failed prerequisites: printf@github.com/docker/app/internal/commands" level=warning msg="[runner/govet] govet error: printf: failed prerequisites: printf@github.com/docker/app/internal/commands" level=warning msg="[runner/govet] govet error: printf: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: shift: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: shift: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: shift: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: stdmethods: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: stdmethods: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: stdmethods: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: tests: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: tests: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: tests: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unmarshal: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unmarshal: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unmarshal: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unsafeptr: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unsafeptr: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unsafeptr: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unusedresult: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unusedresult: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: unusedresult: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: buildssa: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: nilness: failed prerequisites: buildssa@github.com/docker/app/cmd/docker-app" level=warning msg="[runner/govet] govet error: buildssa: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: nilness: failed prerequisites: buildssa@github.com/docker/app/cmd/docker-app-standalone" level=warning msg="[runner/govet] govet error: buildssa: analysis skipped due to errors in package" level=warning msg="[runner/govet] govet error: nilness: failed prerequisites: buildssa@github.com/docker/app/internal/commands [github.com/docker/app/internal/commands.test]" level=warning msg="[runner] Can't run linter govet: asmdecl: analysis skipped due to errors in package" level=warning msg="[runner] Can't run linter goimports: /go/src/github.com/docker/app/internal/commands/build.go:135:1: expected declaration, found _CREDS (and 1 more errors)" level=warning msg="[runner] Can't run linter gofmt: /go/src/github.com/docker/app/internal/commands/build.go:135:1: expected declaration, found _CREDS (and 1 more errors)" internal/commands/build.go:135:1: expected declaration, found _CREDS (typecheck) _CREDS"}}},"schemaVersion":"v1.0.0-WD","version":"0.1.0"} ^ internal/commands/build.go:98:55: cannot use dockerAPI(dockerCli) (value of type *api) as build.DockerAPI value in argument to build.Build: missing method DockerAPI (typecheck) resp, err := build.Build(ctx, driverInfo, buildopts, dockerAPI(dockerCli), dockerCli.ConfigFile(), pw) ^ internal/commands/build.go:19:2: "github.com/docker/app/vendor/github.com/docker/docker/client" imported but not used as dockerclient (typecheck) dockerclient "github.com/docker/docker/client" ^ make: *** [Makefile:81: lint] Error 1 docker.Makefile:120: recipe for target 'lint' failed make: *** [lint] Error 2 [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Validate Removing intermediate container 22712b81c81e ---> b798f9530012 Step 9/14 : FROM alpine:${ALPINE_VERSION} as invocation 3.10.1: Pulling from library/alpine 050382585609: Pulling fs layer 050382585609: Verifying Checksum 050382585609: Download complete 050382585609: Pull complete Digest: sha256:6a92cd1fcdc8d8cdec60f33dda4db2cb1fcdcacf3410a8e05b3741f44a9b5998 Status: Downloaded newer image for alpine:3.10.1 ---> b7b28af77ffe Step 10/14 : RUN apk add --no-cache ca-certificates && adduser -S cnab ---> Running in 97e4c287d2ba fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz (1/1) Installing ca-certificates (20190108-r0) Executing busybox-1.30.1-r2.trigger Executing ca-certificates-20190108-r0.trigger OK: 6 MiB in 15 packages Removing intermediate container 97e4c287d2ba ---> c4575abc6971 Step 11/14 : USER cnab ---> Running in e5e3d17a9f75 Removing intermediate container e5e3d17a9f75 ---> f0e3d6a64855 Step 12/14 : COPY --from=build /go/src/github.com/docker/app/bin/cnab-run /cnab/app/run ---> dc82b6b2cad8 Step 13/14 : WORKDIR /cnab/app ---> Running in 17233f546552 Removing intermediate container 17233f546552 ---> 6b6cdb086c2a Step 14/14 : CMD /cnab/app/run ---> Running in 4a4f8035ba68 Removing intermediate container 4a4f8035ba68 ---> 0fdf3537e48a [Warning] One or more build-args [COMMIT GOPROXY] were not consumed Successfully built 0fdf3537e48a Successfully tagged docker/cnab-app-base:jenkins-app-PR-632-2 docker save docker/cnab-app-base:jenkins-app-PR-632-2 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-632-2-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-632-2 docker/cnab-app-base:jenkins-app-PR-632-2-coverage docker save docker/cnab-app-base:jenkins-app-PR-632-2-coverage -o _build/coverage-invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-632-2-coverage-experimental OUTPUT=coverage-experimental-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-632-2 docker/cnab-app-base:jenkins-app-PR-632-2-coverage-experimental docker save docker/cnab-app-base:jenkins-app-PR-632-2-coverage-experimental -o _build/coverage-experimental-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-632/src/github.com/docker/app/_build [Pipeline] { [Pipeline] stash Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-632/2/stashes/invocation-image.tgz [Pipeline] stash Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-632/2/stashes/coverage-invocation-image.tgz [Pipeline] stash Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-632/2/stashes/coverage-experimental-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-632/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-632-2 Untagged: docker/cnab-app-base:jenkins-app-PR-632-2 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-632-2-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-632-2-coverage [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-PR-632-2-coverage-experimental Untagged: docker/cnab-app-base:jenkins-app-PR-632-2-coverage-experimental Deleted: sha256:0fdf3537e48a2bcec5be7ec15d1ccf0fa0a121bafade50bb365cdf0b04288238 Deleted: sha256:6b6cdb086c2aefa3efc288bd299270853e0da184a4736d37c1c63a42addc2f64 Deleted: sha256:dc82b6b2cad861a7703d3379100ee49d998392ac87c7aa6265683d37fb893049 Deleted: sha256:be97b3d2861b5e9bcdf371cb41d319e1f3bd58539c2500f6cf785d6d2c6e066c Deleted: sha256:f0e3d6a64855edd1477327b4cd0d0046b6adfc5e5057bf47749a240b1ed244f2 Deleted: sha256:c4575abc6971a1cc07aaf0d86db19535d59d996e638cd708788436b4de3e50ad Deleted: sha256:ba07e5ae429443a0287ea7c09497c067f1aa865d83c95f3d7ff6bed9922fa1cf [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } ./scripts/build/windows Generating windows resources Building build/docker-windows-amd64 WARNING: binary creates a Linux executable. Use cross for macOS or Windows. ./scripts/build/binary Building statically linked build/docker-linux-amd64 Removing intermediate container b6c7f464af58 ---> 9be4857dea3e Step 8/8 : WORKDIR /go/src/github.com/docker/app/ ---> Running in 73e3de8f72b1 Removing intermediate container 73e3de8f72b1 ---> dc3ef532e50b [Warning] One or more build-args [ALPINE_VERSION COMMIT EXPERIMENTAL TAG] were not consumed Successfully built dc3ef532e50b Successfully tagged docker-app-cli:3e55ed7e90 docker create --name docker-app-cli-jenkins-app-PR-632-2 docker-app-cli:3e55ed7e90 noop 41ad2cd1298d3b2289314f10956423ebb4339b336e03c705fd9595ca8af2ba40 docker cp docker-app-cli-jenkins-app-PR-632-2:/go/src/github.com/docker/cli/build/docker-linux-amd64 bin/docker-linux docker cp docker-app-cli-jenkins-app-PR-632-2:/go/src/github.com/docker/cli/build/docker-darwin-amd64 bin/docker-darwin docker cp docker-app-cli-jenkins-app-PR-632-2:/go/src/github.com/docker/cli/build/docker-windows-amd64 bin/docker-windows.exe docker rm docker-app-cli-jenkins-app-PR-632-2 docker-app-cli-jenkins-app-PR-632-2 docker build --build-arg=EXPERIMENTAL --build-arg=TAG --build-arg=COMMIT --build-arg=ALPINE_VERSION --build-arg=GOPROXY --target=cross -t docker-app-cross:3e55ed7e90 . Sending build context to Docker daemon 75.47MB Step 1/22 : FROM dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 AS build ---> 518d5e4626aa Step 2/22 : ENV DISABLE_WARN_OUTSIDE_CONTAINER=1 ---> Using cache ---> 1965c5a6a04e Step 3/22 : RUN apt-get install -y -q --no-install-recommends coreutils util-linux uuid-runtime ---> Using cache ---> ba5c1949d314 Step 4/22 : WORKDIR /go/src/github.com/docker/cli ---> Using cache ---> a890f262475c Step 5/22 : RUN git clone https://github.com/docker/cli . && git checkout a1b83ffd2cbeefc0752e5aa7a543d49c1ddfd2cb ---> Using cache ---> e3e262e06750 Step 6/22 : ARG GOPROXY ---> Using cache ---> d257689a8bf7 Step 7/22 : RUN make binary-osx binary-windows binary && cp build/docker-linux-amd64 /usr/bin/docker ---> Using cache ---> 9be4857dea3e Step 8/22 : WORKDIR /go/src/github.com/docker/app/ ---> Using cache ---> dc3ef532e50b Step 9/22 : FROM build AS dev ---> dc3ef532e50b Step 10/22 : ENV PATH=${PATH}:/go/src/github.com/docker/app/bin/ ---> Running in c0c7c656edfa Removing intermediate container c0c7c656edfa ---> 6ad67497f31f Step 11/22 : ARG DEP_VERSION=v0.5.1 ---> Running in 63245f61d1d8 Removing intermediate container 63245f61d1d8 ---> 901f58108150 Step 12/22 : RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/releases/download/${DEP_VERSION}/dep-linux-amd64 && chmod +x /usr/bin/dep ---> Running in f80c79c9c6de  % 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 6797 0 --:--:-- --:--:-- --:--:-- 6797  0 10.5M 0  0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10.5M 100 10.5M 0 0 49.7M 0 --:--:-- --:--:-- --:--:-- 117M Removing intermediate container f80c79c9c6de ---> cc742835c435 Step 13/22 : ARG GOTESTSUM_VERSION=v0.3.4 ---> Running in d805cd6187ff Removing intermediate container d805cd6187ff ---> f712e71f94e0 Step 14/22 : ARG GOPROXY ---> Running in 5614281f1050 Removing intermediate container 5614281f1050 ---> 5d593a1667f5 Step 15/22 : RUN mkdir $GOPATH/src/gotest.tools && git clone -q https://github.com/gotestyourself/gotestsum $GOPATH/src/gotest.tools/gotestsum && cd $GOPATH/src/gotest.tools/gotestsum && git -C $GOPATH/src/gotest.tools/gotestsum checkout -q $GOTESTSUM_VERSION && GO111MODULE=on GOOS=linux go build -o /usr/local/bin/gotestsum-linux gotest.tools/gotestsum && GO111MODULE=on GOOS=darwin go build -o /usr/local/bin/gotestsum-darwin gotest.tools/gotestsum && GO111MODULE=on GOOS=windows go build -o /usr/local/bin/gotestsum-windows.exe gotest.tools/gotestsum && ln -s gotestsum-linux /usr/local/bin/gotestsum ---> Running in ef7ed920dcbe go: finding github.com/mattn/go-colorable v0.0.9 go: finding github.com/sirupsen/logrus v1.0.5 go: finding github.com/onsi/ginkgo v1.8.0 go: finding github.com/google/go-cmp v0.2.0 go: finding github.com/spf13/pflag v1.0.1 go: finding github.com/fatih/color v1.6.0 go: finding github.com/onsi/gomega v1.4.3 go: finding github.com/pkg/errors v0.8.0 go: finding gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2 go: finding gotest.tools v2.1.0+incompatible go: finding gopkg.in/airbrake/gobrake.v2 v2.0.9 go: finding github.com/mattn/go-isatty v0.0.3 go: finding github.com/hpcloud/tail v1.0.0 go: finding github.com/fsnotify/fsnotify v1.4.7 go: finding github.com/jonboulle/clockwork v0.1.0 go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 go: finding golang.org/x/text v0.3.0 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc go: finding gopkg.in/yaml.v2 v2.2.1 go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd go: finding github.com/onsi/ginkgo v1.6.0 go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f go: finding gopkg.in/fsnotify.v1 v1.4.7 go: finding github.com/golang/protobuf v1.2.0 go: finding github.com/stretchr/testify v1.3.0 go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 go: finding github.com/davecgh/go-spew v1.1.0 go: finding github.com/pmezard/go-difflib v1.0.0 go: finding github.com/stretchr/objx v0.1.0 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/fatih/color v1.6.0 go: downloading github.com/sirupsen/logrus v1.0.5 go: downloading github.com/jonboulle/clockwork v0.1.0 go: downloading github.com/pkg/errors v0.8.0 go: extracting 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/sirupsen/logrus v1.0.5 go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: extracting github.com/spf13/pflag v1.0.1 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/fatih/color v1.6.0 go: downloading github.com/mattn/go-isatty v0.0.3 go: downloading github.com/mattn/go-colorable v0.0.9 go: extracting github.com/mattn/go-colorable v0.0.9 go: extracting github.com/mattn/go-isatty v0.0.3 go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc Removing intermediate container ef7ed920dcbe ---> f3bbf0b87632 Step 16/22 : RUN GOOS=linux go build -o /usr/local/bin/test2json-linux cmd/test2json && GOOS=darwin go build -o /usr/local/bin/test2json-darwin cmd/test2json && GOOS=windows go build -o /usr/local/bin/test2json-windows.exe cmd/test2json ---> Running in 206bac1b27d8 Removing intermediate container 206bac1b27d8 ---> a16e123cbb02 Step 17/22 : RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.com/mjibson/esc && go build -v -o /usr/bin/esc . && rm -rf /go/src/* /go/pkg/* /go/bin/* ---> Running in 1e510f3349c1 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 1e510f3349c1 ---> d8f5a9c01418 Step 18/22 : COPY . . ---> 958684f0712c Step 19/22 : FROM dev AS cross ---> 958684f0712c Step 20/22 : ARG EXPERIMENTAL="off" ---> Running in fb0255101e62 Removing intermediate container fb0255101e62 ---> b4f65ecb95a2 Step 21/22 : ARG TAG="unknown" ---> Running in 0c21e8f23eb1 Removing intermediate container 0c21e8f23eb1 ---> 859f0929ce0a Step 22/22 : RUN make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross ---> Running in 9ba352bcdeef GOOS=linux CGO_ENABLED=0 go build -tags="" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=3e55ed7e -X github.com/docker/app/internal.Version=jenkins-app-PR-632-2 -X github.com/docker/app/internal.Experimental=off -X github.com/docker/app/internal.BuildTime=2019-09-24T07:44:15Z" -o bin/docker-app-linux ./cmd/docker-app # github.com/docker/app/internal/commands internal/commands/build.go:135:1: syntax error: non-declaration statement outside function body internal/commands/build.go:135:58: newline in string make: *** [Makefile:70: bin/docker-app-linux] Error 2 The command '/bin/sh -c make EXPERIMENTAL=${EXPERIMENTAL} TAG=${TAG} cross' returned a non-zero code: 2 docker.Makefile:40: recipe for target 'cross' failed make: *** [cross] Error 2 [Pipeline] } [Pipeline] // ansiColor [Pipeline] sh + make -f docker.Makefile clean_images make: *** No rule to make target 'clean_images'. Stop. [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Binaries [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: Test Linux) [Pipeline] stage [Pipeline] { (Coverage) [Pipeline] stage [Pipeline] { (Coverage (experimental)) [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 "Test Linux" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] // stage [Pipeline] } Failed in branch Coverage [Pipeline] } Failed in branch Coverage (experimental) [Pipeline] } Failed in branch Test Linux [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result ERROR: script returned exit code 2 Finished: FAILURE