Push event to branch master Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from b87cf5e329d24d21814d4fae7f29b33ef022f149 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 241f6703d31895690d4cb6f158f753615abe74ac 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 --force --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 241f6703d31895690d4cb6f158f753615abe74ac (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 241f6703d31895690d4cb6f158f753615abe74ac # timeout=10 Commit message: "Merge pull request #21 from docker/use-multiarch-busybox" > git rev-list --no-walk 241f6703d31895690d4cb6f158f753615abe74ac # 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 EC2 (managed-agents) - ubuntu-1804-overlay2 (i-01c8011e4de84d603) in /home/ubuntu/workspace/app_master [Pipeline] { Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-04beb4ffe217f0582) in /home/ubuntu/workspace/app_master [Pipeline] { Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0419b949cb5d9669b) in /home/ubuntu/workspace/app_master [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_master/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_master/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] script [Pipeline] { using credential docker-jenkins-github-credentials [Pipeline] dir Running in /home/ubuntu/workspace/app_master/src/github.com/docker/app [Pipeline] { Cloning the remote Git repository Cloning with configured refspecs honoured and without tags [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 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_master/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/heads/master:refs/remotes/origin/master # timeout=10 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_master/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/heads/master:refs/remotes/origin/master # timeout=10 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_master/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/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Fetching without tags Checking out Revision b87cf5e329d24d21814d4fae7f29b33ef022f149 (master) Fetching without tags Checking out Revision b87cf5e329d24d21814d4fae7f29b33ef022f149 (master) Checking out Revision b87cf5e329d24d21814d4fae7f29b33ef022f149 (master) Commit message: "Merge pull request #803 from silvin-lubecki/fix-multi-arch-release" > git config remote.origin.url https://github.com/docker/app.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/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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b87cf5e329d24d21814d4fae7f29b33ef022f149 # timeout=10 > git rev-list --no-walk 1183b9893d19a3874ce29b0d39e83cc64f2172d0 # timeout=10 Commit message: "Merge pull request #803 from silvin-lubecki/fix-multi-arch-release" Commit message: "Merge pull request #803 from silvin-lubecki/fix-multi-arch-release" > git config remote.origin.url https://github.com/docker/app.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/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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b87cf5e329d24d21814d4fae7f29b33ef022f149 # timeout=10 > git config remote.origin.url https://github.com/docker/app.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/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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b87cf5e329d24d21814d4fae7f29b33ef022f149 # timeout=10 [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-master-154 -f Dockerfile.lint . #2 [internal] load build definition from Dockerfile.lint #2 transferring dockerfile: 432B done #2 DONE 0.0s #1 [internal] load .dockerignore #1 transferring context: 73B done #1 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.13.10-alpine3.11 #3 DONE 0.1s + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-master-154 --build-arg COMMIT=b87cf5e3 --build-arg ALPINE_VERSION=3.11.5 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=cli -t docker-app-cli:jenkins-app-master-154 . #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 4.75kB done #2 DONE 0.0s #1 [internal] load .dockerignore #1 transferring context: 73B done #1 DONE 0.0s #3 [internal] load metadata for docker.io/dockercore/golang-cross:1.13.10@s... #3 DONE 0.0s #4 [cli-build 1/10] FROM docker.io/dockercore/golang-cross:1.13.10@sha256:a... #4 DONE 0.0s #8 [cli-build 5/10] RUN mkdir build #8 CACHED #7 [cli-build 4/10] RUN git clone https://github.com/docker/cli . && git ch... #7 CACHED #6 [cli-build 3/10] WORKDIR /go/src/github.com/docker/cli #6 CACHED #12 [cli-build 9/10] RUN curl -fL https://download.docker.com/mac/static/sta... #12 CACHED #10 [cli-build 7/10] RUN curl -fL https://download.docker.com/linux/static/s... #10 CACHED #11 [cli-build 8/10] RUN curl -fL https://download.docker.com/linux/static/s... #11 CACHED #9 [cli-build 6/10] RUN curl -fL https://download.docker.com/linux/static/s... #9 CACHED #5 [cli-build 2/10] RUN apt-get update && apt-get install -y -q --no-instal... #5 CACHED #13 [cli-build 10/10] RUN make binary-windows #13 CACHED #14 [cli 1/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #14 DONE 0.1s + make -f docker.Makefile invocation-image save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-master-154 --build-arg COMMIT=b87cf5e3 --build-arg ALPINE_VERSION=3.11.5 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-master-154 -t docker/cnab-app-base:jenkins-app-master-154-amd64 --platform=amd64 . #2 [internal] load build definition from Dockerfile.invocation-image #2 transferring dockerfile: 615B done #2 DONE 0.0s #1 [internal] load .dockerignore #1 transferring context: 73B done #1 DONE 0.0s #4 [internal] load metadata for docker.io/library/golang:1.13.10 #4 DONE 0.1s #3 [internal] load metadata for docker.io/library/alpine:3.11.5 #4 [1/5] FROM docker.io/library/golang:1.13.10-alpine3.11@sha256:84a409b4c1... #4 DONE 0.0s #8 [internal] load build context #3 DONE 0.3s #7 [build 1/5] FROM docker.io/library/golang:1.13.10@sha256:81bd18af9605d1a... #7 CACHED #5 [invocation 1/4] FROM docker.io/library/alpine:3.11.5@sha256:b276d875eee... #5 resolve docker.io/library/alpine:3.11.5@sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 done #5 sha256:b276d875eeed9c7d3f1cfa7edb06b22ed22b14219a7d67c52c56612330348239 1.64kB / 1.64kB done #5 sha256:cb8a924afdf0229ef7515d9e5b3024e23b3eb03ddbba287f4a19c6ac90b8d221 528B / 528B done #5 sha256:a187dde48cd289ac374ad8539930628314bc581a481cdb41409c9289419ddb72 1.51kB / 1.51kB done #5 sha256:aad63a9339440e7c3e1fff2b988991b9bfb81280042fa7f39a5e327023056819 0B / 2.80MB 0.1s #5 sha256:aad63a9339440e7c3e1fff2b988991b9bfb81280042fa7f39a5e327023056819 2.80MB / 2.80MB 0.1s done #5 extracting sha256:aad63a9339440e7c3e1fff2b988991b9bfb81280042fa7f39a5e327023056819 #8 transferring context: 79.54MB 1.3s done #5 extracting sha256:aad63a9339440e7c3e1fff2b988991b9bfb81280042fa7f39a5e327023056819 0.4s done #5 DONE 0.8s #10 [internal] load build context #8 DONE 1.3s #5 [2/5] RUN apk add --no-cache curl git make coreutils ... #5 CACHED #6 [3/5] RUN GO111MODULE=on go get github.com/golangci/golangci-lint/cm... #6 CACHED #7 [4/5] WORKDIR /go/src/github.com/docker/app #7 CACHED #9 [5/5] COPY . . #15 [cli 2/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #15 DONE 0.2s #16 [cli 3/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #16 DONE 0.2s #17 exporting to client #17 copying files 12.82MB 0.1s #9 DONE 0.8s #10 exporting to image #10 exporting layers #17 copying files 180.57MB 1.1s done #10 exporting layers 0.8s done #10 writing image sha256:020377fdf0612a1618b8ae815598b233c86d57e7d229df3a8fa70023c82268e3 #10 writing image sha256:020377fdf0612a1618b8ae815598b233c86d57e7d229df3a8fa70023c82268e3 done #10 naming to docker.io/library/docker-app-lint:jenkins-app-master-154 done #10 DONE 0.8s docker run --rm docker-app-lint:jenkins-app-master-154 make lint #17 DONE 1.4s docker build --build-arg TAG=jenkins-app-master-154 --build-arg COMMIT=b87cf5e3 --build-arg ALPINE_VERSION=3.11.5 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=cross -t docker-app-cross:jenkins-app-master-154 . #2 [internal] load build definition from Dockerfile #10 transferring context: 79.54MB 2.6s done #10 DONE 2.6s #6 [invocation 2/4] RUN apk add --no-cache ca-certificates && adduser -S cn... #6 1.716 fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/x86_64/APKINDEX.tar.gz #2 transferring dockerfile: 38B done #2 DONE 0.0s #1 [internal] load .dockerignore #1 transferring context: 34B done #1 DONE 0.0s #4 [internal] load metadata for docker.io/dockercore/golang-cross:1.13.10@s... #4 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.13.10 #3 DONE 0.1s #8 [cli-build 1/10] FROM docker.io/dockercore/golang-cross:1.13.10@sha256:a... #8 DONE 0.0s #5 [dev 1/9] FROM docker.io/library/golang:1.13.10@sha256:81bd18af9605d1a47... #5 DONE 0.0s #23 [internal] load build context Linting... golangci-lint run --verbose --print-resources-usage --timeout 10m0s ./... level=info msg="[config_reader] Config search paths: [./ /go/src/github.com/docker/app /go/src/github.com/docker /go/src/github.com /go/src /go /]" level=info msg="[config_reader] Used config file .golangci.yml" level=info msg="[lintersdb] Active 20 linters: [deadcode errcheck gocyclo gofmt goimports golint gosimple govet ineffassign interfacer lll misspell nakedret staticcheck structcheck typecheck unconvert unparam unused varcheck]" level=info msg="[lintersdb] Active 20 linters: [deadcode errcheck gocyclo gofmt goimports golint gosimple govet ineffassign interfacer lll misspell nakedret staticcheck structcheck typecheck unconvert unparam unused varcheck]" #6 2.792 fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/APKINDEX.tar.gz #6 2.909 (1/1) Installing ca-certificates (20191127-r1) #6 2.928 Executing busybox-1.31.1-r9.trigger #6 2.932 Executing ca-certificates-20191127-r1.trigger #6 2.977 OK: 6 MiB in 15 packages #23 transferring context: 79.54MB 1.4s done #23 DONE 1.4s #14 [cli-build 7/10] RUN curl -fL https://download.docker.com/linux/static/s... #14 CACHED #19 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #19 CACHED #20 [dev 6/9] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #20 CACHED #11 [cli-build 4/10] RUN git clone https://github.com/docker/cli . && git ch... #11 CACHED #10 [cli-build 3/10] WORKDIR /go/src/github.com/docker/cli #10 CACHED #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 CACHED #13 [cli-build 6/10] RUN curl -fL https://download.docker.com/linux/static/s... #13 CACHED #21 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #21 CACHED #16 [cli-build 9/10] RUN curl -fL https://download.docker.com/mac/static/sta... #16 CACHED #15 [cli-build 8/10] RUN curl -fL https://download.docker.com/linux/static/s... #15 CACHED #17 [cli-build 10/10] RUN make binary-windows #17 CACHED #12 [cli-build 5/10] RUN mkdir build #12 CACHED #18 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #18 CACHED #6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom... #6 CACHED #9 [cli-build 2/10] RUN apt-get update && apt-get install -y -q --no-instal... #9 CACHED #22 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #22 CACHED #24 [dev 9/9] COPY . . #6 DONE 3.6s #8 [build 2/5] RUN apt-get update -qq && apt-get install -y -q --no-install... #8 4.438 Reading package lists... #8 5.012 Building dependency tree... #8 5.111 Reading state information...#24 DONE 0.9s #25 [cross-build 1/1] RUN make TAG=jenkins-app-master-154 cross #8 5.246 coreutils is already the newest version (8.30-3). #8 5.246 coreutils set to manually installed. #8 5.246 util-linux is already the newest version (2.33.1-0.1). #8 5.246 util-linux set to manually installed. #8 5.246 The following NEW packages will be installed: #8 5.246 uuid-runtime #8 5.510 0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded. #8 5.510 Need to get 95.2 kB of archives. #8 5.510 After this operation, 211 kB of additional disk space will be used. #8 5.510 Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] #8 5.619 debconf: delaying package configuration, since apt-utils is not installed #8 5.643 Fetched 95.2 kB in 0s (372 kB/s) #8 5.665 Selecting previously unselected package uuid-runtime. #8 5.665 (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 ... 15405 files and directories currently installed.) #8 5.674 Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... #8 5.676 Unpacking uuid-runtime (2.33.1-0.1) ... #8 5.719 Setting up uuid-runtime (2.33.1-0.1) ... #8 5.752 Adding group `uuidd' (GID 102) ... #8 5.765 Done. #8 5.789 Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory #8 5.790 Adding system user `uuidd' (UID 101) ... #8 5.790 Adding new user `uuidd' (UID 101) with group `uuidd' ... #8 5.824 Not creating home directory `/run/uuidd'. #8 5.833 invoke-rc.d: could not determine current runlevel #8 5.835 invoke-rc.d: policy-rc.d denied execution of start. #25 1.047 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=b87cf5e3 -X github.com/docker/app/internal.Version=jenkins-app-master-154" -o bin/docker-app-linux ./cmd/docker-app #8 DONE 6.1s #9 [build 3/5] WORKDIR /go/src/github.com/docker/app/ #9 DONE 0.0s #11 [build 4/5] COPY . . #11 DONE 0.6s #12 [build 5/5] RUN make BUILD_TAG=${BUILD_TAG} TAG=jenkins-app-master-154 b... #12 0.819 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=b87cf5e3 -X github.com/docker/app/internal.Version=jenkins-app-master-154" -o bin/cnab-run ./cmd/cnab-run #25 52.22 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=b87cf5e3 -X github.com/docker/app/internal.Version=jenkins-app-master-154" -o bin/docker-app-darwin ./cmd/docker-app #12 DONE 56.8s #13 [invocation 3/4] COPY --from=build /go/src/github.com/docker/app/bin/cna... #13 DONE 0.2s #14 [invocation 4/4] WORKDIR /cnab/app #14 DONE 0.0s #15 exporting to image #15 exporting layers #15 exporting layers 0.2s done #15 writing image sha256:21b94f51ef5778866e47bbde070e5a5fc70ac3098351143e30fe216c727e617e done #15 naming to docker.io/docker/cnab-app-base:jenkins-app-master-154 done #15 naming to docker.io/docker/cnab-app-base:jenkins-app-master-154-amd64 done #15 DONE 0.2s docker save docker/cnab-app-base:jenkins-app-master-154 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-master-154-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-master-154 docker/cnab-app-base:jenkins-app-master-154-coverage docker save docker/cnab-app-base:jenkins-app-master-154-coverage -o _build/coverage-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_master/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/master/154/stashes/invocation-image.tgz [Pipeline] stash level=info msg="[loader] Go packages loading at mode 575 (compiled_files|imports|types_sizes|deps|exports_file|files|name) took 1m5.423330048s" level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 21.932702ms" level=info msg="[runner/unused/goanalysis] analyzers took 2.874413843s with top 10 stages: buildssa: 2.634786371s, U1000: 239.627472ms" Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/master/154/stashes/coverage-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_master/src/github.com/docker/app [Pipeline] { [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-master-154 Untagged: docker/cnab-app-base:jenkins-app-master-154 [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-master-154-coverage Untagged: docker/cnab-app-base:jenkins-app-master-154-coverage [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } level=info msg="[runner/goanalysis_metalinter/goanalysis] analyzers took 53.689949825s with top 10 stages: buildssa: 45.118759095s, inspect: 1.631674856s, unconvert: 1.584297605s, fact_purity: 894.064263ms, ctrlflow: 873.028905ms, goimports: 806.199914ms, interfacer: 668.534471ms, fact_deprecated: 525.239392ms, unparam: 468.688251ms, gofmt: 218.856048ms" level=info msg="[runner] Issues before processing: 112, after processing: 0" level=info msg="[runner] Processors filtering stat (out/in): autogenerated_exclude: 101/112, nolint: 0/13, skip_files: 112/112, filename_unadjuster: 112/112, exclude: 13/101, cgo: 112/112, skip_dirs: 112/112, identifier_marker: 101/101, exclude-rules: 13/13, path_prettifier: 112/112" level=info msg="[runner] processing took 39.118672ms with stages: exclude: 18.937859ms, nolint: 13.888262ms, identifier_marker: 4.021722ms, path_prettifier: 1.293439ms, autogenerated_exclude: 572.515µs, skip_dirs: 333.835µs, cgo: 41.453µs, filename_unadjuster: 23.083µs, max_same_issues: 1.597µs, uniq_by_line: 1.23µs, exclude-rules: 671ns, skip_files: 642ns, max_from_linter: 598ns, diff: 560ns, source_code: 461ns, path_shortener: 408ns, max_per_file_from_linter: 337ns" level=info msg="[runner] linters took 34.748352836s with stages: goanalysis_metalinter: 31.587605643s, unused: 3.121220656s" level=info msg="File cache stats: 136 entries of total size 396.5KiB" level=info msg="Memory: 846 samples, avg is 227.3MB, max is 946.9MB" level=info msg="Execution took 1m40.258441976s" [Pipeline] sh + make -f docker.Makefile check-vendor docker build --build-arg TAG=jenkins-app-master-154 --build-arg COMMIT=b87cf5e3 --build-arg ALPINE_VERSION=3.11.5 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-master-154 . #2 [internal] load .dockerignore #2 transferring context: 34B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 4.75kB done #1 DONE 0.0s #4 [internal] load metadata for docker.io/dockercore/golang-cross:1.13.10@s... #4 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.13.10 #3 DONE 0.1s #8 [cli-build 1/10] FROM docker.io/dockercore/golang-cross:1.13.10@sha256:a... #8 DONE 0.0s #5 [dev 1/9] FROM docker.io/library/golang:1.13.10@sha256:81bd18af9605d1a47... #5 DONE 0.0s #23 [internal] load build context #23 transferring context: 337.53kB 0.2s done #23 DONE 0.2s #20 [dev 6/9] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #20 CACHED #11 [cli-build 4/10] RUN git clone https://github.com/docker/cli . && git ch... #11 CACHED #12 [cli-build 5/10] RUN mkdir build #12 CACHED #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 CACHED #16 [cli-build 9/10] RUN curl -fL https://download.docker.com/mac/static/sta... #16 CACHED #15 [cli-build 8/10] RUN curl -fL https://download.docker.com/linux/static/s... #15 CACHED #19 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #19 CACHED #17 [cli-build 10/10] RUN make binary-windows #17 CACHED #13 [cli-build 6/10] RUN curl -fL https://download.docker.com/linux/static/s... #13 CACHED #9 [cli-build 2/10] RUN apt-get update && apt-get install -y -q --no-instal... #9 CACHED #21 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #21 CACHED #10 [cli-build 3/10] WORKDIR /go/src/github.com/docker/cli #10 CACHED #14 [cli-build 7/10] RUN curl -fL https://download.docker.com/linux/static/s... #14 CACHED #6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom... #6 CACHED #18 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #18 CACHED #22 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #22 CACHED #24 [dev 9/9] COPY . . #24 DONE 0.5s #25 exporting to image #25 exporting layers #25 exporting layers 0.8s done #25 writing image sha256:fd950c1d6e2cfee0a44bbd8c37c510580461d41b22a0c4afd99d9b8fead05ea1 done #25 naming to docker.io/library/docker-app-dev:jenkins-app-master-154 done #25 DONE 0.8s Check Vendoring... docker run --rm docker-app-dev:jenkins-app-master-154 sh -c "make vendor && hack/check-git-diff vendor" rm -rf vendor 1>&1 dep ensure -v (1/102) Wrote github.com/Azure/go-ansiterm@master (2/102) Wrote github.com/beorn7/perks@v1.0.1 (3/102) Wrote github.com/containerd/ttrpc@master (4/102) Wrote vbom.ml/util@master (5/102) Wrote github.com/Microsoft/go-winio@v0.4.14 (6/102) Wrote github.com/agl/ed25519@master (7/102) Wrote github.com/davecgh/go-spew@v1.1.1 (8/102) Wrote github.com/containerd/console@master (9/102) Wrote github.com/Masterminds/semver@v3.0.3 (10/102) Wrote github.com/docker/buildx@709ef36b4f10a9389fd9a806657c48a969909d85 (11/102) Wrote github.com/containerd/continuity@master (12/102) Wrote github.com/docker/docker-credential-helpers@v0.6.3 (13/102) Wrote github.com/docker/go@v1.5.1-1 (14/102) Wrote github.com/deislabs/cnab-go@v0.7.1-beta1 (15/102) Wrote github.com/docker/cnab-to-oci@v0.3.0-beta2 (16/102) Wrote github.com/docker/go-events@master (17/102) Wrote github.com/docker/go-connections@v0.4.0 #25 105.8 GOOS=windows CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=b87cf5e3 -X github.com/docker/app/internal.Version=jenkins-app-master-154" -o bin/docker-app-windows.exe ./cmd/docker-app (18/102) Wrote github.com/docker/go-metrics@d466d4f6fd960e01820085bd7e1a24426ee7ef18 (19/102) Wrote github.com/docker/go-units@v0.4.0 (20/102) Wrote github.com/dustin/go-humanize@v1.0.0 (21/102) Wrote github.com/gofrs/flock@v0.7.1 (22/102) Wrote github.com/docker/compose-on-kubernetes@v0.4.24 (23/102) Wrote github.com/Microsoft/hcsshim@2226e083fc390003ae5aa8325c3c92789afa0e7a (24/102) Wrote github.com/gogo/googleapis@v1.3.1 (25/102) Wrote github.com/google/go-cmp@v0.2.0 (26/102) Wrote github.com/google/gofuzz@v1.0.0 (27/102) Wrote github.com/google/shlex@master (28/102) Wrote github.com/gorilla/mux@v1.7.3 (29/102) Wrote github.com/grpc-ecosystem/grpc-opentracing@master (30/102) Wrote github.com/hashicorp/errwrap@v1.0.0 (31/102) Wrote github.com/hashicorp/go-multierror@v1.0.0 (32/102) Wrote github.com/globalsign/mgo@master (33/102) Wrote github.com/hashicorp/golang-lru@v0.5.3 (34/102) Wrote github.com/imdario/mergo@master (35/102) Wrote github.com/golang/protobuf@v1.3.2 (36/102) Wrote github.com/docker/distribution@0d3efadf0154c2b8a4e7b6621fff9809655cc580 (37/102) Wrote github.com/inconshreveable/mousetrap@v1.0 (38/102) Wrote github.com/jackpal/gateway@5ceb358a720efa82a5692470f37874b1f48035ad (39/102) Wrote github.com/googleapis/gnostic@v0.3.1 (40/102) Wrote github.com/jaguilar/vt100 (from github.com/tonistiigi/vt100)@ad4c4a5743050fb7f88ce968dca9422f72a0e3f2 (41/102) Wrote github.com/konsorten/go-windows-terminal-sequences@v1.0.2 (42/102) Wrote github.com/json-iterator/go@v1.1.9 (43/102) Wrote github.com/mattn/go-shellwords@v1.0.6 (44/102) Wrote github.com/matttproud/golang_protobuf_extensions@v1.0.1 (45/102) Wrote github.com/miekg/pkcs11@v1.0.3 (46/102) Wrote github.com/mitchellh/mapstructure@v1.1.2 (47/102) Wrote github.com/modern-go/concurrent@1.0.3 (48/102) Wrote github.com/modern-go/reflect2@1.0.1 (49/102) Wrote github.com/morikuni/aec@v1.0.0 (50/102) Wrote github.com/oklog/ulid@v2.0.2 (51/102) Wrote github.com/opencontainers/go-digest@v1.0.0-rc1 (52/102) Wrote github.com/opencontainers/image-spec@v1.0.1 (53/102) Wrote github.com/opentracing/opentracing-go@v1.1.0 (54/102) Wrote github.com/pkg/errors@v0.8.1 (55/102) Wrote github.com/opencontainers/runtime-spec@29686dbc5559d93fb1ef402eeda3e35c38d75af4 (56/102) Wrote github.com/prometheus/client_model@v0.1.0 (57/102) Wrote github.com/prometheus/client_golang@v0.8.0 (58/102) Wrote github.com/qri-io/jsonpointer@v0.1.0 (59/102) Wrote github.com/prometheus/common@v0.7.0 (60/102) Wrote github.com/prometheus/procfs@v0.0.8 (61/102) Wrote github.com/qri-io/jsonschema@v0.1.1 (62/102) Wrote github.com/containerd/containerd@97712c8ad73dd302d5d226e0384b2d86e5de2989 (63/102) Wrote github.com/sirupsen/logrus@v1.4.2 (64/102) Wrote github.com/spf13/pflag@master (65/102) Wrote github.com/syndtr/gocapability@master (66/102) Wrote github.com/spf13/cobra@v0.0.5 (67/102) Wrote github.com/docker/swarmkit@18e7e58ea1a5ec016625a636d0d52500eea123bc (68/102) Wrote github.com/tonistiigi/units@master (69/102) Wrote github.com/wadey/gocovmerge@master (70/102) Wrote github.com/opencontainers/runc@v1.0.0-rc9 (71/102) Wrote github.com/xeipuuv/gojsonpointer@master (72/102) Wrote github.com/xeipuuv/gojsonreference@master (73/102) Wrote github.com/tonistiigi/fsutil@master (74/102) Wrote github.com/xeipuuv/gojsonschema@v1.2.0 (75/102) Wrote github.com/coreos/etcd@v3.4.3 (76/102) Wrote github.com/moby/buildkit@v0.6.2 (77/102) Wrote golang.org/x/oauth2@master (78/102) Wrote golang.org/x/sync@master (79/102) Wrote golang.org/x/crypto@master (80/102) Wrote golang.org/x/time@master (81/102) Wrote golang.org/x/net@master (82/102) Wrote gopkg.in/inf.v0@v0.9.1 (83/102) Wrote google.golang.org/appengine@v1.6.5 (84/102) Wrote gotest.tools@v2.3.0 (85/102) Wrote gopkg.in/yaml.v2@v2.2.7 (86/102) Wrote k8s.io/klog@v1.0.0 (87/102) Wrote sigs.k8s.io/yaml@v1.1.0 (88/102) Wrote k8s.io/apimachinery@kubernetes-1.14.1 (89/102) Wrote k8s.io/utils@master (90/102) Wrote golang.org/x/sys@master (91/102) Wrote google.golang.org/grpc@v1.26.0 #25 159.7 GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=b87cf5e3 -X github.com/docker/app/internal.Version=jenkins-app-master-154" -o bin/docker-app-linux-arm64 ./cmd/docker-app (92/102) Wrote github.com/theupdateframework/notary@v0.6.1 (93/102) Wrote golang.org/x/text@v0.3.2 (94/102) Wrote golang.org/x/tools@master (95/102) Wrote k8s.io/client-go@kubernetes-1.14.1 (96/102) Wrote github.com/gogo/protobuf@v1.3.1 (97/102) Wrote google.golang.org/genproto@master (98/102) Wrote cloud.google.com/go@v0.50.0 (99/102) Wrote k8s.io/api@kubernetes-1.14.1 (100/102) Wrote github.com/docker/cli@abafad3df202a691bc07332ea166af548a6cd9a0 (101/102) Wrote github.com/docker/docker@master #25 220.3 GOOS=linux GOARCH=arm CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=b87cf5e3 -X github.com/docker/app/internal.Version=jenkins-app-master-154" -o bin/docker-app-linux-arm ./cmd/docker-app (102/102) Wrote k8s.io/kubernetes@v1.14.1 vendor is correct [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } #25 DONE 281.2s #26 [cross 1/5] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #26 DONE 0.1s #27 [cross 2/5] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #27 DONE 0.2s #28 [cross 3/5] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #28 DONE 0.1s #29 [cross 4/5] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #29 DONE 0.1s #30 [cross 5/5] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #30 DONE 0.1s #31 exporting to client #31 copying files 13.34MB 0.1s #31 copying files 182.94MB 1.2s done #31 DONE 1.5s docker build --build-arg TAG=jenkins-app-master-154 --build-arg COMMIT=b87cf5e3 --build-arg ALPINE_VERSION=3.11.5 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-master-154 . #2 [internal] load .dockerignore #2 DONE 0.0s #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 38B done #1 DONE 0.0s #2 [internal] load .dockerignore #2 transferring context: 34B done #2 DONE 0.0s #4 [internal] load metadata for docker.io/dockercore/golang-cross:1.13.10@s... #4 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.13.10 #3 DONE 0.1s #8 [cli-build 1/10] FROM docker.io/dockercore/golang-cross:1.13.10@sha256:a... #8 DONE 0.0s #5 [dev 1/9] FROM docker.io/library/golang:1.13.10@sha256:81bd18af9605d1a47... #5 DONE 0.0s #23 [internal] load build context #23 transferring context: 337.53kB 0.2s done #23 DONE 0.2s #14 [cli-build 7/10] RUN curl -fL https://download.docker.com/linux/static/s... #14 CACHED #6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom... #6 CACHED #16 [cli-build 9/10] RUN curl -fL https://download.docker.com/mac/static/sta... #16 CACHED #12 [cli-build 5/10] RUN mkdir build #12 CACHED #22 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #22 CACHED #18 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #18 CACHED #11 [cli-build 4/10] RUN git clone https://github.com/docker/cli . && git ch... #11 CACHED #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 CACHED #13 [cli-build 6/10] RUN curl -fL https://download.docker.com/linux/static/s... #13 CACHED #17 [cli-build 10/10] RUN make binary-windows #17 CACHED #24 [dev 9/9] COPY . . #24 CACHED #19 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #19 CACHED #20 [dev 6/9] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #20 CACHED #15 [cli-build 8/10] RUN curl -fL https://download.docker.com/linux/static/s... #15 CACHED #21 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #21 CACHED #9 [cli-build 2/10] RUN apt-get update && apt-get install -y -q --no-instal... #9 CACHED #10 [cli-build 3/10] WORKDIR /go/src/github.com/docker/cli #10 CACHED #25 [cross-build 1/1] RUN make TAG=jenkins-app-master-154 cross #25 CACHED #26 [e2e-cross-build 1/1] RUN make TAG=jenkins-app-master-154 e2e-cross #26 0.797 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=b87cf5e3 -X github.com/docker/app/internal.Version=jenkins-app-master-154" -o bin/docker-app-linux ./cmd/docker-app #26 1.507 GOOS=linux CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=b87cf5e3 -X github.com/docker/app/internal.Version=jenkins-app-master-154" -c -o bin/docker-app-e2e-linux ./e2e/ #26 18.75 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=b87cf5e3 -X github.com/docker/app/internal.Version=jenkins-app-master-154" -o bin/docker-app-darwin ./cmd/docker-app #26 19.44 GOOS=darwin CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=b87cf5e3 -X github.com/docker/app/internal.Version=jenkins-app-master-154" -c -o bin/docker-app-e2e-darwin ./e2e/ #26 37.47 GOOS=windows CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=b87cf5e3 -X github.com/docker/app/internal.Version=jenkins-app-master-154" -c -o bin/docker-app-e2e-windows.exe ./e2e/ #26 DONE 55.8s #27 [e2e-cross 1/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #27 DONE 0.1s #28 [e2e-cross 2/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #28 DONE 0.2s #29 [e2e-cross 3/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #29 DONE 0.1s #30 [e2e-cross 4/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-lin... #30 DONE 0.1s #31 [e2e-cross 5/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-dar... #31 DONE 0.1s #32 [e2e-cross 6/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-win... #32 DONE 0.1s #33 [e2e-cross 7/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-lin... #33 DONE 0.1s #34 [e2e-cross 8/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-dar... #34 DONE 0.1s #35 [e2e-cross 9/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-win... #35 DONE 0.1s #36 exporting to client #36 copying files 43B #36 copying files 108.82MB 0.7s done #36 DONE 0.9s tar --transform='flags=r;s|docker-app-linux|docker-app-plugin-linux|' -czf bin/docker-app-linux.tar.gz -C bin docker-app-linux tar czf bin/docker-app-e2e-linux.tar.gz -C bin docker-app-e2e-linux tar --transform='flags=r;s|docker-app-linux-arm64|docker-app-plugin-linux-arm64|' -czf bin/docker-app-linux-arm64.tar.gz -C bin docker-app-linux-arm64 tar --transform='flags=r;s|docker-app-linux-arm|docker-app-plugin-linux-arm|' -czf bin/docker-app-linux-arm.tar.gz -C bin docker-app-linux-arm tar --transform='flags=r;s|docker-app-darwin|docker-app-plugin-darwin|' -czf bin/docker-app-darwin.tar.gz -C bin docker-app-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 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_master/src/github.com/docker/app/bin [Pipeline] { [Pipeline] stash Stashed 25 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/master/154/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_master/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] stash Stashed 83 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/master/154/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_master/src/github.com/docker/app/examples [Pipeline] { [Pipeline] stash Stashed 34 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/master/154/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] stash Stashed 5 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/master/154/stashes/artifacts.tgz [Pipeline] archiveArtifacts Archiving artifacts Uploaded 8 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/master/154/artifacts/ [Pipeline] sh + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-master-154* + xargs --no-run-if-empty docker image rm -f [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] parallel [Pipeline] { (Branch: Coverage) [Pipeline] { (Branch: Test Linux) [Pipeline] stage [Pipeline] { (Coverage) [Pipeline] stage [Pipeline] { (Test Linux) [Pipeline] node [Pipeline] node Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0419b949cb5d9669b) in /home/ubuntu/workspace/app_master Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-04beb4ffe217f0582) in /home/ubuntu/workspace/app_master [Pipeline] { [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_master/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] dir Running in /home/ubuntu/workspace/app_master/src/github.com/docker/app [Pipeline] { using credential docker-jenkins-github-credentials [Pipeline] checkout Cloning the remote Git repository Cloning with configured refspecs honoured and without tags using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_master/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/heads/master:refs/remotes/origin/master # timeout=10 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_master/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/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Checking out Revision b87cf5e329d24d21814d4fae7f29b33ef022f149 (master) Fetching without tags Checking out Revision b87cf5e329d24d21814d4fae7f29b33ef022f149 (master) Commit message: "Merge pull request #803 from silvin-lubecki/fix-multi-arch-release" Commit message: "Merge pull request #803 from silvin-lubecki/fix-multi-arch-release" > git config remote.origin.url https://github.com/docker/app.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/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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b87cf5e329d24d21814d4fae7f29b33ef022f149 # timeout=10 > git config remote.origin.url https://github.com/docker/app.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/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/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b87cf5e329d24d21814d4fae7f29b33ef022f149 # timeout=10 [Pipeline] dir Running in /home/ubuntu/workspace/app_master/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash [Pipeline] dir Running in /home/ubuntu/workspace/app_master/src/github.com/docker/app/_build [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/master/154/stashes/invocation-image.tgz [Pipeline] sh + docker load -i invocation-image.tar Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/master/154/stashes/coverage-invocation-image.tgz [Pipeline] sh + docker load -i coverage-invocation-image.tar Loaded image: docker/cnab-app-base:jenkins-app-master-154 [Pipeline] } [Pipeline] // dir [Pipeline] unstash Loaded image: docker/cnab-app-base:jenkins-app-master-154-coverage [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile TAG=jenkins-app-master-154-coverage coverage-run docker build --build-arg TAG=jenkins-app-master-154-coverage --build-arg COMMIT=b87cf5e3 --build-arg ALPINE_VERSION=3.11.5 --build-arg GOPROXY=direct --target=dev -t docker-app-dev:jenkins-app-master-154 . #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 4.75kB done #1 DONE 0.0s #2 [internal] load .dockerignore #2 transferring context: 73B done #2 DONE 0.0s #3 [internal] load metadata for docker.io/dockercore/golang-cross:1.13.10@s... #3 DONE 0.0s #4 [internal] load metadata for docker.io/library/golang:1.13.10 #4 DONE 0.1s #8 [cli-build 1/10] FROM docker.io/dockercore/golang-cross:1.13.10@sha256:a... #8 DONE 0.0s #5 [dev 1/9] FROM docker.io/library/golang:1.13.10@sha256:81bd18af9605d1a47... #5 DONE 0.0s #23 [internal] load build context #23 transferring context: 79.54MB 1.3s done #23 DONE 1.3s #15 [cli-build 8/10] RUN curl -fL https://download.docker.com/linux/static/s... #15 CACHED #21 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #21 CACHED #13 [cli-build 6/10] RUN curl -fL https://download.docker.com/linux/static/s... #13 CACHED #9 [cli-build 2/10] RUN apt-get update && apt-get install -y -q --no-instal... #9 CACHED #10 [cli-build 3/10] WORKDIR /go/src/github.com/docker/cli #10 CACHED #17 [cli-build 10/10] RUN make binary-windows #17 CACHED #20 [dev 6/9] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #20 CACHED #16 [cli-build 9/10] RUN curl -fL https://download.docker.com/mac/static/sta... #16 CACHED #18 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #18 CACHED #11 [cli-build 4/10] RUN git clone https://github.com/docker/cli . && git ch... #11 CACHED #12 [cli-build 5/10] RUN mkdir build #12 CACHED #6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom... #6 CACHED #14 [cli-build 7/10] RUN curl -fL https://download.docker.com/linux/static/s... #14 CACHED #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 CACHED #19 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #19 CACHED #22 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #22 CACHED #24 [dev 9/9] COPY . . #24 DONE 1.0s #25 exporting to image #25 exporting layers #25 exporting layers 4.0s done #25 writing image sha256:c090687d7c915f5e07709a6ab31f0a42c866972f5a7ec033d4b77ae9f455ccab done #25 naming to docker.io/library/docker-app-dev:jenkins-app-master-154 #25 naming to docker.io/library/docker-app-dev:jenkins-app-master-154 done #25 DONE 4.0s docker run -v /var/run:/var/run:ro --name docker-app-cov-jenkins-app-master-154-coverage --network="host" -t docker-app-dev:jenkins-app-master-154 make COMMIT=b87cf5e3 TAG=jenkins-app-master-154-coverage TEST_RESULTS_PREFIX= coverage Running unit tests (coverage)... CGO_ENABLED=0 gotestsum --junitfile _build/test-results/unit-coverage.xml -- -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=b87cf5e3 -X github.com/docker/app/internal.Version=jenkins-app-master-154-coverage" -cover -test.coverprofile=_build/cov/unit.out github.com/docker/app github.com/docker/app/cmd/cnab-run github.com/docker/app/cmd/docker-app github.com/docker/app/docs/yaml github.com/docker/app/internal github.com/docker/app/internal/bundle github.com/docker/app/internal/cliopts github.com/docker/app/internal/cnab github.com/docker/app/internal/commands github.com/docker/app/internal/commands/build github.com/docker/app/internal/commands/image github.com/docker/app/internal/compose github.com/docker/app/internal/formatter github.com/docker/app/internal/formatter/driver github.com/docker/app/internal/formatter/json github.com/docker/app/internal/formatter/yaml github.com/docker/app/internal/image github.com/docker/app/internal/inspect github.com/docker/app/internal/log github.com/docker/app/internal/packager github.com/docker/app/internal/slices github.com/docker/app/internal/store github.com/docker/app/internal/validator github.com/docker/app/internal/validator/rules github.com/docker/app/internal/yaml github.com/docker/app/loader github.com/docker/app/render github.com/docker/app/specification github.com/docker/app/types github.com/docker/app/types/metadata github.com/docker/app/types/parameters ∅ . Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/master/154/stashes/binaries.tgz [Pipeline] dir Running in /home/ubuntu/workspace/app_master/src/github.com/docker/app/examples [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/master/154/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_master/src/github.com/docker/app/e2e [Pipeline] { [Pipeline] unstash Unstashed file(s) from https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/master/154/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + ./gotestsum-linux --format short-verbose --junitfile e2e-linux.xml --raw-command -- ./test2json-linux -t -p e2e/linux ./docker-app-e2e-linux -test.v --e2e-path=e2e PASS e2e/linux.TestBuild (15.06s) PASS e2e/linux.TestBuildMultiTag (13.14s) PASS e2e/linux.TestQuietBuild (13.12s) PASS e2e/linux.TestBuildWithoutTag (13.25s) PASS e2e/linux.TestBuildWithArgs (13.44s) ∅ cmd/cnab-run PASS e2e/linux.TestBuildWithArgsDefinedTwice (12.39s) ∅ cmd/docker-app ∅ docs/yaml ✓ internal (33ms) (coverage: 28.4% of statements) ✓ internal/bundle (27ms) (coverage: 83.1% of statements) ∅ internal/cliopts PASS e2e/linux.TestCallCustomStatusAction/validCustomDockerStatusAction (2.88s) PASS e2e/linux.TestCallCustomStatusAction/validCustomStandardStatusAction (2.88s) PASS e2e/linux.TestCallCustomStatusAction/missingCustomStatusAction (2.98s) PASS e2e/linux.TestCallCustomStatusAction (8.74s) ✓ internal/cnab (27ms) (coverage: 14.6% of statements) PASS e2e/linux.TestCnabParameters (2.88s) PASS e2e/linux.TestExitErrorCode (0.06s) ✓ internal/commands (521ms) (coverage: 9.2% of statements) ✓ internal/commands/build (47ms) (coverage: 12.9% of statements) PASS e2e/linux.TestRender/envvariables/stdout (1.39s) PASS e2e/linux.TestRender/envvariables/file (1.37s) PASS e2e/linux.TestRender/envvariables (3.42s) PASS e2e/linux.TestRender (3.42s) PASS e2e/linux.TestRenderAppNotFound (0.16s) ✓ internal/compose (10ms) (coverage: 70.6% of statements) ✓ internal/formatter (4ms) (coverage: 100.0% of statements) ✓ internal/commands/image (28ms) (coverage: 35.9% of statements) ∅ internal/formatter/driver ∅ internal/formatter/json ∅ internal/formatter/yaml ∅ internal/image ✓ internal/inspect (132ms) (coverage: 93.2% of statements) ∅ internal/log ✓ internal/packager (45ms) (coverage: 54.2% of statements) ✓ internal/slices (3ms) (coverage: 100.0% of statements) ✓ internal/store (77ms) (coverage: 78.4% of statements) ✓ internal/validator/rules (9ms) (coverage: 95.6% of statements) ✓ internal/validator (34ms) (coverage: 65.2% of statements) ✓ internal/yaml (14ms) (coverage: 71.4% of statements) ✓ loader (24ms) (coverage: 71.4% of statements) ✓ render (69ms) (coverage: 86.7% of statements) ✓ specification (6ms) (coverage: 38.4% of statements) ✓ types (37ms) (coverage: 81.1% of statements) ✓ types/metadata (23ms) (coverage: 75.0% of statements) ✓ types/parameters (4ms) (coverage: 91.7% of statements) DONE 256 tests in 111.864s CGO_ENABLED=0 go test -tags=" testrunmain" -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=b87cf5e3 -X github.com/docker/app/internal.Version=jenkins-app-master-154-coverage" -coverpkg="./..." -c -o _build/docker-app.cov ./cmd/docker-app PASS e2e/linux.TestRenderFormatters (14.67s) PASS e2e/linux.TestInitWarningEnvFiles/initWarningSingleEnvFileTest (0.06s) PASS e2e/linux.TestInitWarningEnvFiles/initWarningMultipleEnvFilesTest (0.06s) PASS e2e/linux.TestInitWarningEnvFiles/initNoEnvFilesTest (0.06s) PASS e2e/linux.TestInitWarningEnvFiles (0.18s) PASS e2e/linux.TestInit (0.12s) PASS e2e/linux.TestInitWithInvalidCompose (0.06s) Running e2e tests (coverage)... DOCKERAPP_BINARY=../e2e/coverage-bin CGO_ENABLED=0 gotestsum --junitfile _build/test-results/e2e-coverage.xml -- -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=b87cf5e3 -X github.com/docker/app/internal.Version=jenkins-app-master-154-coverage" -v ./e2e PASS e2e/linux.TestInspectApp (13.82s) PASS e2e/linux.TestRunOnlyOne (0.12s) PASS e2e/linux.TestRunWithLabels (16.51s) PASS e2e/linux.TestDockerAppLifecycle (26.01s) PASS e2e/linux.TestDockerAppLifecycleMultiRm (28.48s) PASS e2e/linux.TestCredentials/missing (0.06s) PASS e2e/linux.TestCredentials/full (1.33s) PASS e2e/linux.TestCredentials/mixed-credstore (1.35s) PASS e2e/linux.TestCredentials/mixed-local-cred (1.34s) PASS e2e/linux.TestCredentials/overload (0.06s) PASS e2e/linux.TestCredentials (4.14s) PASS e2e/linux.TestBackwardsCompatibilityV1 (43.93s) PASS e2e/linux.TestRenderWithEnvFile (2.06s) PASS e2e/linux.TestExamplesAreValid (0.23s) PASS e2e/linux.TestImageList (13.77s) PASS e2e/linux.TestImageListQuiet (13.79s) PASS e2e/linux.TestImageListDigests (13.82s) PASS e2e/linux.TestImageRmForce (13.18s) PASS e2e/linux.TestImageRm (13.94s) PASS e2e/linux.TestImageTag (15.11s) PASS e2e/linux.TestInvokePluginFromCLI (0.17s) PASS e2e/linux.TestPushUnknown/push_unknown_reference (0.06s) PASS e2e/linux.TestPushUnknown/push_invalid_reference (0.05s) PASS e2e/linux.TestPushUnknown (0.11s) PASS e2e/linux.TestPushInsecureRegistry (24.97s) PASS e2e/linux.TestPushInstall (18.46s) PASS e2e/linux.TestPushPullInstall (18.70s) PASS e2e/linux.TestPushInstallBundle/push-bundle (5.46s) PASS e2e/linux.TestPushInstallBundle/push-ref (2.06s) PASS e2e/linux.TestPushInstallBundle/push-bundleref (2.40s) PASS e2e/linux.TestPushInstallBundle (23.67s) PASS e2e/linux.TestRelocationMapRun/with-relocation-map (2.23s) PASS e2e/linux.TestRelocationMapRun/without-relocation-map (0.10s) PASS e2e/linux.TestRelocationMapRun (28.46s) PASS e2e/linux.TestPushPulledApplication (24.06s) PASS e2e/linux.TestRelocationMapOnInspect (25.28s) PASS e2e/linux.TestRunTwice (20.92s) PASS e2e/linux.TestOrphanedParameter (0.06s) PASS e2e/linux DONE 62 tests in 514.492s time="2020-04-22T10:03:10Z" level=warning msg="failed to lookup go version for junit xml" error="exec: \"go\": executable file not found in $PATH" [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] archiveArtifacts Archiving artifacts Uploaded 1 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/master/154/artifacts/ [Pipeline] junit Recording test results [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-master-154 Untagged: docker/cnab-app-base:jenkins-app-master-154 [Pipeline] deleteDir [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } ✓ e2e (8m26.926s) DONE 62 tests in 509.604s Fixing coverage files... find _build/cov/ -type f -name "*.out" -print0 | xargs -0 sed -i '/^coverage/d' grep coverage _build/cov/*.out || true go install ./vendor/github.com/wadey/gocovmerge/ gocovmerge _build/cov/*.out > _build/cov/all.out go tool cover -func _build/cov/all.out github.com/docker/app/cmd/docker-app/main.go:15: main 81.8% github.com/docker/app/internal/bundle/parameters.go:29: WithFileParameters 85.7% github.com/docker/app/internal/bundle/parameters.go:42: WithCommandLineParameters 100.0% github.com/docker/app/internal/bundle/parameters.go:52: WithLabels 90.9% github.com/docker/app/internal/bundle/parameters.go:73: WithSendRegistryAuth 85.7% github.com/docker/app/internal/bundle/parameters.go:86: WithOrchestratorParameters 100.0% github.com/docker/app/internal/bundle/parameters.go:98: WithErrorWriter 100.0% github.com/docker/app/internal/bundle/parameters.go:106: MergeBundleParameters 92.3% github.com/docker/app/internal/bundle/parameters.go:131: matchAndMergeParametersDefinition 92.0% github.com/docker/app/internal/cliopts/installerContext.go:19: AddFlags 100.0% github.com/docker/app/internal/cliopts/installerContext.go:28: SetInstallerContext 14.3% github.com/docker/app/internal/cliopts/parameters.go:14: AddFlags 100.0% github.com/docker/app/internal/cnab/cnab.go:28: getAppNameKind 0.0% github.com/docker/app/internal/cnab/cnab.go:50: extractAndLoadAppBasedBundle 0.0% github.com/docker/app/internal/cnab/cnab.go:63: ResolveBundle 0.0% github.com/docker/app/internal/cnab/cnab.go:82: GetBundle 83.3% github.com/docker/app/internal/cnab/cnab.go:100: getBundleFromStore 77.8% github.com/docker/app/internal/cnab/cnab.go:115: PullBundle 70.0% github.com/docker/app/internal/cnab/driver.go:34: RequiredClaimBindMount 100.0% github.com/docker/app/internal/cnab/driver.go:45: RequiredBindMount 77.8% github.com/docker/app/internal/cnab/driver.go:77: socketPath 100.0% github.com/docker/app/internal/cnab/driver.go:85: isDockerHostLocal 100.0% github.com/docker/app/internal/cnab/driver.go:90: prepareDriver 94.4% github.com/docker/app/internal/cnab/driver.go:125: SetupDriver 75.0% github.com/docker/app/internal/cnab/driver.go:138: WithRelocationMap 80.0% github.com/docker/app/internal/cnab/driver.go:148: addRelocationMapToFiles 80.0% github.com/docker/app/internal/cnab/driver.go:158: relocateInvocationImage 100.0% github.com/docker/app/internal/commands/build/build.go:58: newBuildOptions 100.0% github.com/docker/app/internal/commands/build/build.go:65: Cmd 100.0% github.com/docker/app/internal/commands/build/build.go:95: NewFile 100.0% github.com/docker/app/internal/commands/build/build.go:99: Fd 100.0% github.com/docker/app/internal/commands/build/build.go:103: Name 0.0% github.com/docker/app/internal/commands/build/build.go:107: Read 0.0% github.com/docker/app/internal/commands/build/build.go:111: Write 100.0% github.com/docker/app/internal/commands/build/build.go:115: Close 0.0% github.com/docker/app/internal/commands/build/build.go:119: getOutputFile 83.3% github.com/docker/app/internal/commands/build/build.go:130: runBuild 70.4% github.com/docker/app/internal/commands/build/build.go:179: persistTags 84.6% github.com/docker/app/internal/commands/build/build.go:203: persistInImageStore 77.8% github.com/docker/app/internal/commands/build/build.go:219: buildImageUsingBuildx 74.2% github.com/docker/app/internal/commands/build/build.go:274: fixServiceImageReferences 77.8% github.com/docker/app/internal/commands/build/build.go:300: getAppFolder 76.9% github.com/docker/app/internal/commands/build/build.go:322: checkMinimalEngineVersion 66.7% github.com/docker/app/internal/commands/build/build.go:337: updateBundle 94.1% github.com/docker/app/internal/commands/build/build.go:361: createInvocationImageBuildOptions 75.0% github.com/docker/app/internal/commands/build/build.go:375: debugBuildOpts 20.0% github.com/docker/app/internal/commands/build/build.go:386: debugBundle 20.0% github.com/docker/app/internal/commands/build/build.go:397: debugSolveResponses 20.0% github.com/docker/app/internal/commands/build/build.go:408: checkBuildArgsUniqueness 85.7% github.com/docker/app/internal/commands/build/build.go:421: validateTag 75.0% github.com/docker/app/internal/commands/build/compose.go:16: parseCompose 94.1% github.com/docker/app/internal/commands/build/compose.go:53: buildArgsToMap 87.5% github.com/docker/app/internal/commands/build/compose.go:67: mergeArgs 83.3% github.com/docker/app/internal/commands/build/compose.go:80: flatten 87.5% github.com/docker/app/internal/commands/credentials.go:24: addNamedCredentialSets 75.0% github.com/docker/app/internal/commands/credentials.go:55: parseCommandlineCredential 100.0% github.com/docker/app/internal/commands/credentials.go:65: addCredentials 75.0% github.com/docker/app/internal/commands/credentials.go:82: addDockerCredentials 87.5% github.com/docker/app/internal/commands/credentials.go:97: addRegistryCredentials 85.0% github.com/docker/app/internal/commands/credentials.go:129: prepareCredentialSet 80.0% github.com/docker/app/internal/commands/image/command.go:10: Cmd 100.0% github.com/docker/app/internal/commands/image/formatter.go:20: NewImageFormat 100.0% github.com/docker/app/internal/commands/image/formatter.go:41: Write 100.0% github.com/docker/app/internal/commands/image/formatter.go:48: imageFormat 80.0% github.com/docker/app/internal/commands/image/formatter.go:66: newImageContext 100.0% github.com/docker/app/internal/commands/image/formatter.go:78: MarshalJSON 0.0% github.com/docker/app/internal/commands/image/formatter.go:82: ID 66.7% github.com/docker/app/internal/commands/image/formatter.go:89: Name 66.7% github.com/docker/app/internal/commands/image/formatter.go:96: Repository 100.0% github.com/docker/app/internal/commands/image/formatter.go:103: Tag 100.0% github.com/docker/app/internal/commands/image/formatter.go:110: Digest 100.0% github.com/docker/app/internal/commands/image/inspect.go:31: muteDockerCli 100.0% github.com/docker/app/internal/commands/image/inspect.go:40: inspectCmd 100.0% github.com/docker/app/internal/commands/image/inspect.go:56: runInspect 69.0% github.com/docker/app/internal/commands/image/list.go:20: listCmd 86.7% github.com/docker/app/internal/commands/image/list.go:49: runList 80.0% github.com/docker/app/internal/commands/image/list.go:63: getImageDescriptors 80.0% github.com/docker/app/internal/commands/image/list.go:80: getImageID 85.7% github.com/docker/app/internal/commands/image/list.go:100: getImageDesc 100.0% github.com/docker/app/internal/commands/image/render.go:29: renderCmd 100.0% github.com/docker/app/internal/commands/image/render.go:48: runRender 74.3% github.com/docker/app/internal/commands/image/rm.go:25: rmCmd 76.5% github.com/docker/app/internal/commands/image/rm.go:60: runRm 71.4% github.com/docker/app/internal/commands/image/tag.go:19: tagCmd 77.8% github.com/docker/app/internal/commands/image/tag.go:43: runTag 100.0% github.com/docker/app/internal/commands/image/tag.go:52: readBundle 88.9% github.com/docker/app/internal/commands/image/tag.go:71: storeBundle 100.0% github.com/docker/app/internal/commands/init.go:19: initCmd 87.5% github.com/docker/app/internal/commands/inspect.go:29: inspectCmd 100.0% github.com/docker/app/internal/commands/inspect.go:45: runInspect 52.8% github.com/docker/app/internal/commands/inspect.go:108: hasAction 100.0% github.com/docker/app/internal/commands/list.go:51: listCmd 100.0% github.com/docker/app/internal/commands/list.go:68: runList 58.6% github.com/docker/app/internal/commands/list.go:118: printHeaders 100.0% github.com/docker/app/internal/commands/list.go:126: printValues 100.0% github.com/docker/app/internal/commands/list.go:139: getInstallations 88.9% github.com/docker/app/internal/commands/list.go:191: getServices 80.0% github.com/docker/app/internal/commands/list.go:232: getRunningService 100.0% github.com/docker/app/internal/commands/list.go:242: printServices 100.0% github.com/docker/app/internal/commands/pull.go:18: pullCmd 100.0% github.com/docker/app/internal/commands/pull.go:31: runPull 70.6% github.com/docker/app/internal/commands/push.go:41: pushCmd 100.0% github.com/docker/app/internal/commands/push.go:54: runPush 73.3% github.com/docker/app/internal/commands/push.go:82: resolveReferenceAndBundle 66.7% github.com/docker/app/internal/commands/push.go:95: pushBundle 77.8% github.com/docker/app/internal/commands/push.go:127: withAppAnnotations 80.0% github.com/docker/app/internal/commands/push.go:146: onEvent 0.0% github.com/docker/app/internal/commands/push.go:166: imageIndex 0.0% github.com/docker/app/internal/commands/push.go:181: onProgress 0.0% github.com/docker/app/internal/commands/push.go:185: print 0.0% github.com/docker/app/internal/commands/push.go:200: printDescriptorProgress 0.0% github.com/docker/app/internal/commands/push.go:236: hasError 0.0% github.com/docker/app/internal/commands/push.go:252: onEvent 80.0% github.com/docker/app/internal/commands/remove.go:27: removeCmd 84.6% github.com/docker/app/internal/commands/remove.go:57: runRemove 52.9% github.com/docker/app/internal/commands/root.go:27: NewRootCmd 46.2% github.com/docker/app/internal/commands/root.go:55: addCommands 66.7% github.com/docker/app/internal/commands/root.go:75: removeExperimentalCmdsAndFlags 0.0% github.com/docker/app/internal/commands/root.go:99: muteDockerCli 100.0% github.com/docker/app/internal/commands/root.go:108: prepareStores 69.2% github.com/docker/app/internal/commands/root.go:128: prepareImageStore 71.4% github.com/docker/app/internal/commands/root.go:146: addFlags 100.0% github.com/docker/app/internal/commands/root.go:152: CredentialSetOpts 100.0% github.com/docker/app/internal/commands/root.go:161: IsInstallationFailed 100.0% github.com/docker/app/internal/commands/run.go:42: runCmd 88.9% github.com/docker/app/internal/commands/run.go:81: runCnab 75.0% github.com/docker/app/internal/commands/run.go:89: runDockerApp 71.4% github.com/docker/app/internal/commands/run.go:102: runBundle 74.4% github.com/docker/app/internal/commands/update.go:25: updateCmd 100.0% github.com/docker/app/internal/commands/update.go:43: runUpdate 63.2% github.com/docker/app/internal/commands/validate.go:22: validateCmd 100.0% github.com/docker/app/internal/commands/validate.go:38: runValidate 75.0% github.com/docker/app/internal/commands/validate.go:66: firstOrEmpty 66.7% github.com/docker/app/internal/compose/compose.go:29: Load 90.9% github.com/docker/app/internal/compose/compose.go:49: validateImagesInConfigFiles 89.5% github.com/docker/app/internal/compose/compose.go:85: ExtractVariables 75.0% github.com/docker/app/internal/dockerdesktop.go:21: defaultDockerDesktopHostProvider 66.7% github.com/docker/app/internal/dockerdesktop.go:37: rewrite 100.0% github.com/docker/app/internal/dockerdesktop.go:53: rewrite 91.7% github.com/docker/app/internal/dockerdesktop.go:78: makeLinuxkitIPProvider 0.0% github.com/docker/app/internal/dockerdesktop.go:108: rewriteContextIfDockerDesktop 66.7% github.com/docker/app/internal/dockerdesktop.go:135: List 0.0% github.com/docker/app/internal/dockerdesktop.go:147: GetMetadata 80.0% github.com/docker/app/internal/formatter/formatter.go:20: Register 100.0% github.com/docker/app/internal/formatter/formatter.go:34: Format 100.0% github.com/docker/app/internal/formatter/formatter.go:49: Drivers 100.0% github.com/docker/app/internal/formatter/json/driver.go:11: init 100.0% github.com/docker/app/internal/formatter/json/driver.go:19: Format 0.0% github.com/docker/app/internal/formatter/yaml/driver.go:10: init 100.0% github.com/docker/app/internal/formatter/yaml/driver.go:18: Format 0.0% github.com/docker/app/internal/image/image.go:26: FromBundle 100.0% github.com/docker/app/internal/image/image.go:34: FromFile 75.0% github.com/docker/app/internal/image/image.go:53: writeRelocationMap 75.0% github.com/docker/app/internal/image/image.go:62: Store 71.4% github.com/docker/app/internal/image/image.go:78: BundleJSON 71.4% github.com/docker/app/internal/image/image.go:90: RelocationMapJSON 80.0% github.com/docker/app/internal/image/image.go:107: RelocatedImages 0.0% github.com/docker/app/internal/inspect/inspect.go:73: Inspect 100.0% github.com/docker/app/internal/inspect/inspect.go:79: GetAppInfo 100.0% github.com/docker/app/internal/inspect/inspect.go:99: ImageInspect 75.0% github.com/docker/app/internal/inspect/inspect.go:116: ImageInspectCNAB 94.4% github.com/docker/app/internal/inspect/inspect.go:163: printAppInfo 75.0% github.com/docker/app/internal/inspect/inspect.go:174: printImageAppInfo 75.0% github.com/docker/app/internal/inspect/inspect.go:185: printJSON 80.0% github.com/docker/app/internal/inspect/inspect.go:194: printAppTable 100.0% github.com/docker/app/internal/inspect/inspect.go:215: printTable 100.0% github.com/docker/app/internal/inspect/inspect.go:272: printYAML 100.0% github.com/docker/app/internal/inspect/inspect.go:278: printSection 100.0% github.com/docker/app/internal/inspect/inspect.go:289: getOrchestrator 66.7% github.com/docker/app/internal/inspect/inspect.go:296: removeDockerAppParameters 100.0% github.com/docker/app/internal/inspect/inspect.go:306: getImageAppInfo 96.0% github.com/docker/app/internal/inspect/inspect.go:366: getReplicas 100.0% github.com/docker/app/internal/inspect/inspect.go:373: extractParameters 87.5% github.com/docker/app/internal/inspect/inspect.go:387: mergeAndFlattenParameters 71.4% github.com/docker/app/internal/inspect/ports.go:16: newPort 100.0% github.com/docker/app/internal/inspect/ports.go:20: add 100.0% github.com/docker/app/internal/inspect/ports.go:36: String 100.0% github.com/docker/app/internal/inspect/ports.go:47: getPorts 100.0% github.com/docker/app/internal/log/log.go:10: WithLogContext 100.0% github.com/docker/app/internal/names.go:91: AppNameFromDir 100.0% github.com/docker/app/internal/names.go:97: DirNameFromAppName 100.0% github.com/docker/app/internal/names.go:106: ValidateAppName 100.0% github.com/docker/app/internal/packager/bundle.go:24: MakeBundleFromApp 66.7% github.com/docker/app/internal/packager/bundle.go:60: MakeInvocationImageName 100.0% github.com/docker/app/internal/packager/bundle.go:67: MakeCNABImageName 100.0% github.com/docker/app/internal/packager/bundle.go:76: PersistInImageStore 71.4% github.com/docker/app/internal/packager/bundle.go:88: GetNamedTagged 77.8% github.com/docker/app/internal/packager/cnab.go:27: ToCNAB 90.0% github.com/docker/app/internal/packager/cnab.go:231: extractBundleImages 85.7% github.com/docker/app/internal/packager/custom.go:39: AppVersion 100.0% github.com/docker/app/internal/packager/custom.go:43: newCustomPayload 80.0% github.com/docker/app/internal/packager/custom.go:53: CheckAppVersion 90.9% github.com/docker/app/internal/packager/custom.go:73: CustomPayload 77.8% github.com/docker/app/internal/packager/custom.go:91: parseCustomPayload 80.0% github.com/docker/app/internal/packager/extract.go:18: findApp 0.0% github.com/docker/app/internal/packager/extract.go:45: Extract 44.4% github.com/docker/app/internal/packager/init.go:32: Init 66.7% github.com/docker/app/internal/packager/init.go:66: initFromScratch 0.0% github.com/docker/app/internal/packager/init.go:81: checkComposeFileVersion 100.0% github.com/docker/app/internal/packager/init.go:89: getEnvFiles 85.7% github.com/docker/app/internal/packager/init.go:105: checkEnvFiles 82.4% github.com/docker/app/internal/packager/init.go:134: getParamsFromDefaultEnvFile 94.4% github.com/docker/app/internal/packager/init.go:163: initFromComposeFile 77.4% github.com/docker/app/internal/packager/init.go:210: removeDefaultValuesFromCompose 100.0% github.com/docker/app/internal/packager/init.go:224: composeFileFromScratch 0.0% github.com/docker/app/internal/packager/init.go:244: writeMetadataFile 75.0% github.com/docker/app/internal/packager/init.go:257: newMetadata 100.0% github.com/docker/app/internal/packager/packing.go:24: tarAdd 75.0% github.com/docker/app/internal/packager/packing.go:32: tarAddBytes 83.3% github.com/docker/app/internal/packager/packing.go:48: PackInvocationImageContext 63.6% github.com/docker/app/internal/packager/packing.go:83: BaseInvocationImage 80.0% github.com/docker/app/internal/packager/packing.go:93: dockerFile 100.0% github.com/docker/app/internal/packager/parameter.go:18: ExtractCNABParameterMapping 100.0% github.com/docker/app/internal/packager/parameter.go:33: getKeys 100.0% github.com/docker/app/internal/packager/parameter.go:49: ExtractCNABParametersValues 100.0% github.com/docker/app/internal/registry.go:13: InsecureRegistriesFromEngine 88.9% github.com/docker/app/internal/slices/slices.go:4: ContainsString 100.0% github.com/docker/app/internal/store/app.go:35: NewApplicationStore 83.3% github.com/docker/app/internal/store/app.go:54: InstallationStore 75.0% github.com/docker/app/internal/store/app.go:63: CredentialStore 75.0% github.com/docker/app/internal/store/app.go:72: ImageStore 75.0% github.com/docker/app/internal/store/app.go:80: makeDigestedDirectory 100.0% github.com/docker/app/internal/store/credential.go:24: Read 100.0% github.com/docker/app/internal/store/credential.go:29: Store 71.4% github.com/docker/app/internal/store/digest.go:22: isShortID 100.0% github.com/docker/app/internal/store/digest.go:27: ComputeDigest 80.0% github.com/docker/app/internal/store/digest.go:37: StringToNamedRef 75.0% github.com/docker/app/internal/store/digest.go:45: FromString 100.0% github.com/docker/app/internal/store/digest.go:52: fromID 100.0% github.com/docker/app/internal/store/digest.go:57: FromAppImage 100.0% github.com/docker/app/internal/store/digest.go:65: String 100.0% github.com/docker/app/internal/store/digest.go:69: Digest 100.0% github.com/docker/app/internal/store/image.go:39: NewImageStore 75.0% github.com/docker/app/internal/store/image.go:66: Store 70.6% github.com/docker/app/internal/store/image.go:96: Read 75.0% github.com/docker/app/internal/store/image.go:116: List 85.7% github.com/docker/app/internal/store/image.go:141: listIDs 75.0% github.com/docker/app/internal/store/image.go:155: Remove 92.0% github.com/docker/app/internal/store/image.go:193: LookUp 88.9% github.com/docker/app/internal/store/image.go:221: matchShortID 84.6% github.com/docker/app/internal/store/image.go:242: referenceToID 80.0% github.com/docker/app/internal/store/image.go:251: storePath 100.0% github.com/docker/app/internal/store/image.go:255: appendRef 100.0% github.com/docker/app/internal/store/image.go:265: removeRef 100.0% github.com/docker/app/internal/store/image.go:279: containsRef 75.0% github.com/docker/app/internal/store/image.go:288: unknownReference 100.0% github.com/docker/app/internal/store/image.go:297: Error 100.0% github.com/docker/app/internal/store/image.go:302: NotFound 0.0% github.com/docker/app/internal/store/installation.go:31: NewInstallation 83.3% github.com/docker/app/internal/store/installation.go:48: SetParameter 100.0% github.com/docker/app/internal/store/installation.go:60: List 100.0% github.com/docker/app/internal/store/installation.go:64: Store 75.0% github.com/docker/app/internal/store/installation.go:72: Read 77.8% github.com/docker/app/internal/store/installation.go:88: Delete 100.0% github.com/docker/app/internal/validator/rules/externalsecrets.go:10: NewExternalSecretsRule 100.0% github.com/docker/app/internal/validator/rules/externalsecrets.go:14: Collect 0.0% github.com/docker/app/internal/validator/rules/externalsecrets.go:17: Accept 100.0% github.com/docker/app/internal/validator/rules/externalsecrets.go:21: Validate 100.0% github.com/docker/app/internal/validator/rules/relativepath.go:15: NewRelativePathRule 100.0% github.com/docker/app/internal/validator/rules/relativepath.go:21: Collect 100.0% github.com/docker/app/internal/validator/rules/relativepath.go:27: Accept 100.0% github.com/docker/app/internal/validator/rules/relativepath.go:34: Validate 100.0% github.com/docker/app/internal/validator/validator.go:24: Error 0.0% github.com/docker/app/internal/validator/validator.go:39: NewValidator 100.0% github.com/docker/app/internal/validator/validator.go:47: WithRelativePathRule 100.0% github.com/docker/app/internal/validator/validator.go:53: WithExternalSecretsRule 100.0% github.com/docker/app/internal/validator/validator.go:59: NewValidatorWithDefaults 100.0% github.com/docker/app/internal/validator/validator.go:69: Validate 72.7% github.com/docker/app/internal/validator/validator.go:92: collect 100.0% github.com/docker/app/internal/validator/validator.go:98: validate 80.0% github.com/docker/app/internal/validator/validator.go:109: visitAll 92.3% github.com/docker/app/internal/version.go:17: FullVersion 0.0% github.com/docker/app/internal/yaml/yaml.go:14: Unmarshal 80.0% github.com/docker/app/internal/yaml/yaml.go:28: Marshal 100.0% github.com/docker/app/internal/yaml/yaml.go:35: NewDecoder 100.0% github.com/docker/app/loader/loader.go:16: LoadFromDirectory 100.0% github.com/docker/app/loader/loader.go:26: LoadFromTar 100.0% github.com/docker/app/loader/loader.go:37: LoadFromTarReader 45.5% github.com/docker/app/render/render.go:43: Render 80.0% github.com/docker/app/render/render.go:68: substituteParams 100.0% github.com/docker/app/render/render.go:104: render 80.0% github.com/docker/app/render/render.go:132: processEnabled 91.7% github.com/docker/app/render/render.go:152: isEnabled 75.0% github.com/docker/app/specification/bindata.go:44: Open 0.0% github.com/docker/app/specification/bindata.go:52: prepare 82.4% github.com/docker/app/specification/bindata.go:77: Open 0.0% github.com/docker/app/specification/bindata.go:85: Open 0.0% github.com/docker/app/specification/bindata.go:89: File 0.0% github.com/docker/app/specification/bindata.go:100: Close 0.0% github.com/docker/app/specification/bindata.go:104: Readdir 0.0% github.com/docker/app/specification/bindata.go:125: Stat 0.0% github.com/docker/app/specification/bindata.go:129: Name 0.0% github.com/docker/app/specification/bindata.go:133: Size 0.0% github.com/docker/app/specification/bindata.go:137: Mode 0.0% github.com/docker/app/specification/bindata.go:141: ModTime 0.0% github.com/docker/app/specification/bindata.go:145: IsDir 0.0% github.com/docker/app/specification/bindata.go:149: Sys 0.0% github.com/docker/app/specification/bindata.go:155: _escFS 0.0% github.com/docker/app/specification/bindata.go:164: _escDir 0.0% github.com/docker/app/specification/bindata.go:173: _escFSByte 45.5% github.com/docker/app/specification/bindata.go:191: _escFSMustByte 0.0% github.com/docker/app/specification/bindata.go:200: _escFSString 0.0% github.com/docker/app/specification/bindata.go:206: _escFSMustString 0.0% github.com/docker/app/specification/schema.go:15: Validate 93.3% github.com/docker/app/types/init.go:17: NewInitialComposeFile 100.0% github.com/docker/app/types/metadata/load.go:14: Load 83.3% github.com/docker/app/types/metadata/load.go:25: validateRawMetadata 83.3% github.com/docker/app/types/metadata/metadata.go:19: String 100.0% github.com/docker/app/types/metadata/metadata.go:28: String 100.0% github.com/docker/app/types/metadata/metadata.go:45: FromBundle 0.0% github.com/docker/app/types/parameters/load.go:14: Load 95.0% github.com/docker/app/types/parameters/load.go:48: LoadMultiple 77.8% github.com/docker/app/types/parameters/load.go:64: LoadFile 75.0% github.com/docker/app/types/parameters/load.go:73: LoadFiles 77.8% github.com/docker/app/types/parameters/load.go:89: convertToStringKeysRecursive 96.0% github.com/docker/app/types/parameters/load.go:126: formatInvalidKeyError 100.0% github.com/docker/app/types/parameters/merge.go:9: Merge 100.0% github.com/docker/app/types/parameters/opts.go:9: WithPrefix 100.0% github.com/docker/app/types/parameters/parameters.go:18: Flatten 100.0% github.com/docker/app/types/parameters/parameters.go:22: flatten 100.0% github.com/docker/app/types/parameters/parameters.go:50: FromFlatten 88.9% github.com/docker/app/types/parameters/parameters.go:65: isSupposedSlice 100.0% github.com/docker/app/types/parameters/parameters.go:73: assignKey 92.3% github.com/docker/app/types/types.go:30: ShouldRunInsideDirectory 0.0% github.com/docker/app/types/types.go:57: Path 100.0% github.com/docker/app/types/types.go:62: Size 100.0% github.com/docker/app/types/types.go:67: Composes 100.0% github.com/docker/app/types/types.go:72: ParametersRaw 100.0% github.com/docker/app/types/types.go:77: Parameters 100.0% github.com/docker/app/types/types.go:82: MetadataRaw 100.0% github.com/docker/app/types/types.go:87: Metadata 100.0% github.com/docker/app/types/types.go:92: Attachments 100.0% github.com/docker/app/types/types.go:96: HasCRLF 0.0% github.com/docker/app/types/types.go:101: Extract 0.0% github.com/docker/app/types/types.go:114: noop 0.0% github.com/docker/app/types/types.go:117: NewApp 100.0% github.com/docker/app/types/types.go:139: NewAppFromDefaultFiles 100.0% github.com/docker/app/types/types.go:150: WithName 100.0% github.com/docker/app/types/types.go:158: WithPath 100.0% github.com/docker/app/types/types.go:166: WithCleanup 100.0% github.com/docker/app/types/types.go:174: WithSource 100.0% github.com/docker/app/types/types.go:182: WithParametersFiles 100.0% github.com/docker/app/types/types.go:187: WithAttachments 84.6% github.com/docker/app/types/types.go:219: WithParameters 100.0% github.com/docker/app/types/types.go:223: parametersLoader 100.0% github.com/docker/app/types/types.go:241: MetadataFile 100.0% github.com/docker/app/types/types.go:246: Metadata 100.0% github.com/docker/app/types/types.go:250: metadataLoader 100.0% github.com/docker/app/types/types.go:268: WithComposeFiles 100.0% github.com/docker/app/types/types.go:273: WithComposes 100.0% github.com/docker/app/types/types.go:277: composeLoader 100.0% github.com/docker/app/types/types.go:288: readReaders 77.8% github.com/docker/app/types/types.go:302: readFiles 100.0% github.com/docker/app/types/types.go:316: newErrGroup 100.0% total: (statements) 75.8% go tool cover -html _build/cov/all.out -o _build/cov/coverage.html [Pipeline] sh + make -f docker.Makefile TAG=jenkins-app-master-154-coverage coverage-results docker cp docker-app-cov-jenkins-app-master-154-coverage:/go/src/github.com/docker/app/_build/cov/ ./_build/ci-cov docker cp docker-app-cov-jenkins-app-master-154-coverage:/go/src/github.com/docker/app/_build/test-results/ ./_build/test-results docker rm docker-app-cov-jenkins-app-master-154-coverage docker-app-cov-jenkins-app-master-154-coverage [Pipeline] } [Pipeline] // ansiColor [Pipeline] archiveArtifacts Archiving artifacts Uploaded 1 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/master/154/artifacts/ [Pipeline] archiveArtifacts Archiving artifacts Uploaded 1 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/master/154/artifacts/ [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_master/src/github.com/docker/app/_build/test-results [Pipeline] { [Pipeline] sh + [ ! -e unit-coverage.xml ] + sed -i -E -e s,"github.com/docker/app","unit/basic",g; s,"github.com/docker/app/([^"]*)","unit/basic/\1",g unit-coverage.xml [Pipeline] sh + [ ! -e e2e-coverage.xml ] + sed -i -E -e s,"github.com/docker/app/e2e","e2e/basic",g e2e-coverage.xml [Pipeline] archiveArtifacts Archiving artifacts Uploaded 2 artifact(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/master/154/artifacts/ [Pipeline] junit Recording test results [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker rmi docker/cnab-app-base:jenkins-app-master-154-coverage Untagged: docker/cnab-app-base:jenkins-app-master-154-coverage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result Finished: SUCCESS