Pull request #775 updated 12:14:25 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 489702b7e8b602b9d34cca210303a447679347e0 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 26028d2ce48352c9b2c3f496e963b79a4944a426 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 26028d2ce48352c9b2c3f496e963b79a4944a426 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 26028d2ce48352c9b2c3f496e963b79a4944a426 Commit message: "[TAR-1227] Run the sonar container as the current user (#17)" > git rev-list --no-walk 26028d2ce48352c9b2c3f496e963b79a4944a426 # 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-03be81bba05907d87) in /home/ubuntu/workspace/app_PR-775 [Pipeline] { Running on ubuntu-1804-overlay2 (i-032a25734ca39d956) in /home/ubuntu/workspace/app_PR-775 [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-775/src/github.com/docker/app [Pipeline] { [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-775/src/github.com/docker/app [Pipeline] { [Pipeline] checkout [Pipeline] script [Pipeline] { [Pipeline] checkout using credential docker-jenkins-github-credentials using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags 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-775/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/775/head:refs/remotes/origin/PR-775 Cloning repository https://github.com/docker/app.git > git init /home/ubuntu/workspace/app_PR-775/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/775/head:refs/remotes/origin/PR-775 Fetching without tags Checking out Revision 489702b7e8b602b9d34cca210303a447679347e0 (PR-775) Fetching without tags Checking out Revision 489702b7e8b602b9d34cca210303a447679347e0 (PR-775) Commit message: "Allow rm of multiple apps in one command" First time build. Skipping changelog. > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/775/head:refs/remotes/origin/PR-775 # 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/775/head:refs/remotes/origin/PR-775 > git config core.sparsecheckout # timeout=10 > git checkout -f 489702b7e8b602b9d34cca210303a447679347e0 > git rev-list --no-walk d046d0086e69e20360cc8a346499f22ee12cdd38 # timeout=10 > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/775/head:refs/remotes/origin/PR-775 # 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/775/head:refs/remotes/origin/PR-775 > git config core.sparsecheckout # timeout=10 > git checkout -f 489702b7e8b602b9d34cca210303a447679347e0 Commit message: "Allow rm of multiple apps in one command" [Pipeline] ansiColor [Pipeline] { [Pipeline] sh [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile lint Linting... docker build -t docker-app-lint:jenkins-app-PR-775-2 -f Dockerfile.lint . #2 [internal] load build definition from Dockerfile.lint #2 transferring dockerfile: 414B 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.12.9-alpine3.10 #3 DONE 0.1s + make -f docker.Makefile cli-cross cross e2e-cross tars docker build --build-arg TAG=jenkins-app-PR-775-2 --build-arg COMMIT=489702b7 --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=cli -t docker-app-cli:jenkins-app-PR-775-2 . #2 [internal] load .dockerignore #2 transferring context: 73B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 4.18kB done #1 DONE 0.0s #3 [internal] load metadata for docker.io/dockercore/golang-cross:1.12.9@sh... #4 [1/5] FROM docker.io/library/golang:1.12.9-alpine3.10@sha256:e0660b4f1e6... #4 DONE 0.0s #8 [internal] load build context #3 DONE 0.3s #4 [cli-build 1/8] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea... #4 resolve docker.io/dockercore/golang-cross:1.12.9@sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 done #4 sha256:4ae16bd4778367b46064f39554128dd2fda2803a5747fddeff74059f353391c9 0B / 50.38MB 0.1s #4 sha256:2ea1f7804402db2da64e84a26bd591f41667ad69cd7f2a2c6106d9bb04dde260 4.12MB / 9.98MB 0.1s #4 sha256:3ea9dcef4dd2c46d80445c0b22d6177817f4cfce22c523cc12a5a1091cb37705 2.63kB / 2.63kB done #4 sha256:518d5e4626aaef11e9ad8f78c5055efce60445a5dcbfe2ba3d99df5370902367 6.97kB / 6.97kB done #4 sha256:bbab4ec87ac4f89eaabdf68dddbd1dd930e3ad43bded38d761b89abf9389a893 0B / 7.80MB 0.1s #4 sha256:4ae16bd4778367b46064f39554128dd2fda2803a5747fddeff74059f353391c9 6.35MB / 50.38MB 0.2s #4 sha256:2ea1f7804402db2da64e84a26bd591f41667ad69cd7f2a2c6106d9bb04dde260 9.98MB / 9.98MB 0.2s #4 sha256:bbab4ec87ac4f89eaabdf68dddbd1dd930e3ad43bded38d761b89abf9389a893 2.92MB / 7.80MB 0.2s #4 sha256:4ae16bd4778367b46064f39554128dd2fda2803a5747fddeff74059f353391c9 19.43MB / 50.38MB 0.3s #4 sha256:bbab4ec87ac4f89eaabdf68dddbd1dd930e3ad43bded38d761b89abf9389a893 7.80MB / 7.80MB 0.3s #4 sha256:4ae16bd4778367b46064f39554128dd2fda2803a5747fddeff74059f353391c9 23.92MB / 50.38MB 0.5s #4 sha256:4ae16bd4778367b46064f39554128dd2fda2803a5747fddeff74059f353391c9 28.82MB / 50.38MB 0.6s #4 sha256:4ae16bd4778367b46064f39554128dd2fda2803a5747fddeff74059f353391c9 45.53MB / 50.38MB 0.9s #4 sha256:2ea1f7804402db2da64e84a26bd591f41667ad69cd7f2a2c6106d9bb04dde260 9.98MB / 9.98MB 0.7s done #4 sha256:bbab4ec87ac4f89eaabdf68dddbd1dd930e3ad43bded38d761b89abf9389a893 7.80MB / 7.80MB 0.7s done #4 sha256:96465440c20877524189ae75d361dd29e5d0df330a8dac9427f972b429fe0159 7.49MB / 51.77MB 0.9s #4 sha256:16a3d8aca6cd76595d0fa99f7dcaf6c388c021bc6f5020d794e8292b88e5aac3 9.11MB / 68.48MB 0.9s #4 sha256:4ae16bd4778367b46064f39554128dd2fda2803a5747fddeff74059f353391c9 50.38MB / 50.38MB 1.0s #4 sha256:96465440c20877524189ae75d361dd29e5d0df330a8dac9427f972b429fe0159 13.06MB / 51.77MB 1.0s #4 sha256:16a3d8aca6cd76595d0fa99f7dcaf6c388c021bc6f5020d794e8292b88e5aac3 17.72MB / 68.48MB 1.0s #8 transferring context: 73.95MB 1.5s done #8 DONE 1.6s #4 sha256:96465440c20877524189ae75d361dd29e5d0df330a8dac9427f972b429fe0159 25.99MB / 51.77MB 1.2s #4 sha256:16a3d8aca6cd76595d0fa99f7dcaf6c388c021bc6f5020d794e8292b88e5aac3 31.27MB / 68.48MB 1.2s #4 sha256:96465440c20877524189ae75d361dd29e5d0df330a8dac9427f972b429fe0159 37.99MB / 51.77MB 1.3s #4 sha256:16a3d8aca6cd76595d0fa99f7dcaf6c388c021bc6f5020d794e8292b88e5aac3 38.05MB / 68.48MB 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 . . #4 sha256:96465440c20877524189ae75d361dd29e5d0df330a8dac9427f972b429fe0159 42.97MB / 51.77MB 1.4s #4 sha256:16a3d8aca6cd76595d0fa99f7dcaf6c388c021bc6f5020d794e8292b88e5aac3 47.62MB / 68.48MB 1.4s #4 sha256:96465440c20877524189ae75d361dd29e5d0df330a8dac9427f972b429fe0159 51.77MB / 51.77MB 1.6s #4 sha256:16a3d8aca6cd76595d0fa99f7dcaf6c388c021bc6f5020d794e8292b88e5aac3 66.18MB / 68.48MB 1.6s #9 DONE 1.4s #10 exporting to image #10 exporting layers #4 sha256:4ae16bd4778367b46064f39554128dd2fda2803a5747fddeff74059f353391c9 50.38MB / 50.38MB 2.7s done #4 sha256:96465440c20877524189ae75d361dd29e5d0df330a8dac9427f972b429fe0159 51.77MB / 51.77MB 2.7s done #4 sha256:16a3d8aca6cd76595d0fa99f7dcaf6c388c021bc6f5020d794e8292b88e5aac3 68.48MB / 68.48MB 2.8s done #4 sha256:96d705baf026261543501205212451776c49ddaa48a0347afab3494275e0fc13 0B / 125B 2.8s #4 sha256:39007eb4600844b025a9527ab141ae020bb350982baf0df7dd96c80c4a0f312e 0B / 270B 2.8s #4 sha256:e0ec5610455ae43994616afca2caf7da592cb975d7474ed112baa42e5c616d17 0B / 127.97MB 2.8s #4 extracting sha256:4ae16bd4778367b46064f39554128dd2fda2803a5747fddeff74059f353391c9 #4 sha256:96d705baf026261543501205212451776c49ddaa48a0347afab3494275e0fc13 125B / 125B 2.8s done #4 sha256:39007eb4600844b025a9527ab141ae020bb350982baf0df7dd96c80c4a0f312e 270B / 270B 2.8s done #4 sha256:e0ec5610455ae43994616afca2caf7da592cb975d7474ed112baa42e5c616d17 8.60MB / 127.97MB 3.0s #4 sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f 3.55MB / 163.50MB 3.0s #4 sha256:c0058a8c71f2a8f493571a5456cfc99585ed21798b735f8fc54460904a3bd232 950B / 950B 2.9s done #4 sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 0B / 290.76MB 3.0s #4 sha256:e0ec5610455ae43994616afca2caf7da592cb975d7474ed112baa42e5c616d17 16.81MB / 127.97MB 3.2s #4 sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f 14.67MB / 163.50MB 3.2s #4 sha256:e0ec5610455ae43994616afca2caf7da592cb975d7474ed112baa42e5c616d17 23.48MB / 127.97MB 3.3s #4 sha256:e0ec5610455ae43994616afca2caf7da592cb975d7474ed112baa42e5c616d17 31.98MB / 127.97MB 3.5s #4 sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f 28.20MB / 163.50MB 3.5s #4 sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 23.79MB / 290.76MB 3.5s #4 sha256:e0ec5610455ae43994616afca2caf7da592cb975d7474ed112baa42e5c616d17 40.02MB / 127.97MB 3.7s #10 exporting layers 0.9s done #10 writing image sha256:a0abf2117c5bbfd66ae979323c9fcd9592c1a9e308012bd84430e061a9840e4b done #10 naming to docker.io/library/docker-app-lint:jenkins-app-PR-775-2 done #10 DONE 0.9s docker run --rm docker-app-lint:jenkins-app-PR-775-2 make lint #4 sha256:e0ec5610455ae43994616afca2caf7da592cb975d7474ed112baa42e5c616d17 46.71MB / 127.97MB 3.8s #4 sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f 40.84MB / 163.50MB 3.8s #4 sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 38.83MB / 290.76MB 3.8s #4 sha256:e0ec5610455ae43994616afca2caf7da592cb975d7474ed112baa42e5c616d17 59.64MB / 127.97MB 4.0s #4 sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f 51.75MB / 163.50MB 4.1s #4 sha256:e0ec5610455ae43994616afca2caf7da592cb975d7474ed112baa42e5c616d17 76.45MB / 127.97MB 4.3s #4 sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f 60.46MB / 163.50MB 4.3s #4 sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 58.69MB / 290.76MB 4.3s #4 sha256:e0ec5610455ae43994616afca2caf7da592cb975d7474ed112baa42e5c616d17 84.97MB / 127.97MB 4.5s #4 sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f 69.46MB / 163.50MB 4.5s Linting... #4 sha256:e0ec5610455ae43994616afca2caf7da592cb975d7474ed112baa42e5c616d17 93.86MB / 127.97MB 4.7s #4 sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 76.40MB / 290.76MB 4.7s #4 sha256:e0ec5610455ae43994616afca2caf7da592cb975d7474ed112baa42e5c616d17 104.15MB / 127.97MB 4.9s #4 sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f 85.85MB / 163.50MB 4.9s #4 sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 91.28MB / 290.76MB 4.9s #4 sha256:e0ec5610455ae43994616afca2caf7da592cb975d7474ed112baa42e5c616d17 113.34MB / 127.97MB 5.1s #4 sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f 95.71MB / 163.50MB 5.1s #4 sha256:e0ec5610455ae43994616afca2caf7da592cb975d7474ed112baa42e5c616d17 123.17MB / 127.97MB 5.3s #4 sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f 105.13MB / 163.50MB 5.3s #4 sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 106.83MB / 290.76MB 5.3s #4 sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f 113.74MB / 163.50MB 5.5s #4 sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f 127.13MB / 163.50MB 5.7s #4 sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 128.16MB / 290.76MB 5.7s #4 sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f 139.92MB / 163.50MB 5.9s #4 sha256:e0ec5610455ae43994616afca2caf7da592cb975d7474ed112baa42e5c616d17 127.97MB / 127.97MB 6.0s done #4 sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f 151.94MB / 163.50MB 6.1s #4 sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 151.42MB / 290.76MB 6.1s #4 sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f 160.73MB / 163.50MB 6.2s #4 sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 183.36MB / 290.76MB 6.5s #4 sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 200.12MB / 290.76MB 6.7s #4 sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f 163.50MB / 163.50MB 6.7s done #4 sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 230.20MB / 290.76MB 7.1s #4 sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 249.81MB / 290.76MB 7.3s #4 sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 278.82MB / 290.76MB 7.6s #4 extracting sha256:4ae16bd4778367b46064f39554128dd2fda2803a5747fddeff74059f353391c9 5.0s #4 sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 290.76MB / 290.76MB 8.4s done #4 extracting sha256:4ae16bd4778367b46064f39554128dd2fda2803a5747fddeff74059f353391c9 5.8s done #4 extracting sha256:bbab4ec87ac4f89eaabdf68dddbd1dd930e3ad43bded38d761b89abf9389a893 0.1s #4 extracting sha256:bbab4ec87ac4f89eaabdf68dddbd1dd930e3ad43bded38d761b89abf9389a893 0.3s done #4 extracting sha256:2ea1f7804402db2da64e84a26bd591f41667ad69cd7f2a2c6106d9bb04dde260 #4 extracting sha256:2ea1f7804402db2da64e84a26bd591f41667ad69cd7f2a2c6106d9bb04dde260 0.2s done #4 extracting sha256:96465440c20877524189ae75d361dd29e5d0df330a8dac9427f972b429fe0159 0.1s Still waiting to schedule task Waiting for next available executor on ‘ubuntu-1804&&x86_64&&overlay2’ #4 extracting sha256:96465440c20877524189ae75d361dd29e5d0df330a8dac9427f972b429fe0159 2.1s done #4 extracting sha256:16a3d8aca6cd76595d0fa99f7dcaf6c388c021bc6f5020d794e8292b88e5aac3 #4 extracting sha256:16a3d8aca6cd76595d0fa99f7dcaf6c388c021bc6f5020d794e8292b88e5aac3 2.0s done #4 extracting sha256:e0ec5610455ae43994616afca2caf7da592cb975d7474ed112baa42e5c616d17 #4 extracting sha256:e0ec5610455ae43994616afca2caf7da592cb975d7474ed112baa42e5c616d17 4.4s done e2e/commands_test.go:525:60: `assertAppLabels` - `containerName` always receives `"db"` (unparam) func assertAppLabels(t *testing.T, cmd *icmd.Cmd, appName, containerName string) { ^ #4 extracting sha256:96d705baf026261543501205212451776c49ddaa48a0347afab3494275e0fc13 #4 extracting sha256:96d705baf026261543501205212451776c49ddaa48a0347afab3494275e0fc13 done #4 extracting sha256:39007eb4600844b025a9527ab141ae020bb350982baf0df7dd96c80c4a0f312e done #4 extracting sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f #4 extracting sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f 5.1s #4 extracting sha256:4e549f0f5e64911cbbdc123a749d1ae352ad2be720fd1e2b259a802400fb412f 5.8s done #4 extracting sha256:c0058a8c71f2a8f493571a5456cfc99585ed21798b735f8fc54460904a3bd232 done #4 extracting sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 #4 extracting sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 5.2s #4 extracting sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 10.3s make: *** [Makefile:71: lint] Error 1 docker.Makefile:89: recipe for target 'lint' failed make: *** [lint] Error 2 [Pipeline] } [Pipeline] // ansiColor [Pipeline] } [Pipeline] // dir Post stage [Pipeline] deleteDir [Pipeline] } [Pipeline] // node Running on ubuntu-1804-overlay2 (i-03be81bba05907d87) in /home/ubuntu/workspace/app_PR-775 [Pipeline] } [Pipeline] { [Pipeline] // stage [Pipeline] } Failed in branch Validate [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-775/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-775/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/775/head:refs/remotes/origin/PR-775 Fetching without tags Checking out Revision 489702b7e8b602b9d34cca210303a447679347e0 (PR-775) Commit message: "Allow rm of multiple apps in one command" > git config remote.origin.url https://github.com/docker/app.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/775/head:refs/remotes/origin/PR-775 # 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/775/head:refs/remotes/origin/PR-775 > git config core.sparsecheckout # timeout=10 > git checkout -f 489702b7e8b602b9d34cca210303a447679347e0 [Pipeline] ansiColor [Pipeline] { [Pipeline] sh + make -f docker.Makefile save-invocation-image docker build -f Dockerfile.invocation-image --build-arg TAG=jenkins-app-PR-775-2 --build-arg COMMIT=489702b7 --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --target=invocation -t docker/cnab-app-base:jenkins-app-PR-775-2 . #2 [internal] load .dockerignore #2 transferring context: 73B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile.invocation-image #1 transferring dockerfile: 614B done #1 DONE 0.0s #4 [internal] load metadata for docker.io/library/golang:1.13.2 #4 DONE 0.3s #3 [internal] load metadata for docker.io/library/alpine:3.10.3 #3 DONE 0.4s #10 [internal] load build context #4 extracting sha256:2f8d98df0991fd5b02a9f791cb766f66d83016b1b831e1b5e58438a8cb6de207 15.2s done #4 DONE 42.5s #5 [cli-build 2/8] RUN apt-get install -y -q --no-install-recommends core... #5 0.642 Reading package lists... #5 1.242 Building dependency tree... #5 1.354 Reading state information... #5 1.494 coreutils is already the newest version (8.30-3). #5 1.494 coreutils set to manually installed. #5 1.494 util-linux is already the newest version (2.33.1-0.1). #5 1.494 util-linux set to manually installed. #5 1.494 The following NEW packages will be installed: #5 1.494 uuid-runtime #5 1.760 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. #5 1.760 Need to get 95.2 kB of archives. #5 1.760 After this operation, 211 kB of additional disk space will be used. #5 1.760 Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] #5 1.883 debconf: delaying package configuration, since apt-utils is not installed #5 1.907 Fetched 95.2 kB in 0s (370 kB/s) #5 1.935 Selecting previously unselected package uuid-runtime. #5 1.935 (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.) #5 1.946 Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... #5 1.950 Unpacking uuid-runtime (2.33.1-0.1) ... #5 1.998 Setting up uuid-runtime (2.33.1-0.1) ... #5 2.031 Adding group `uuidd' (GID 102) ... #5 2.045 Done. #5 2.077 Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory #5 2.078 Adding system user `uuidd' (UID 101) ... #5 2.078 Adding new user `uuidd' (UID 101) with group `uuidd' ... #5 2.118 Not creating home directory `/run/uuidd'. #5 2.127 invoke-rc.d: could not determine current runlevel #5 2.130 invoke-rc.d: policy-rc.d denied execution of start. #10 ... #5 [invocation 1/4] FROM docker.io/library/alpine:3.10.3@sha256:c19173c5ada... #5 resolve docker.io/library/alpine:3.10.3@sha256:c19173c5ada610a5989151111163d28a67368362762534d8a8121ce95cf2bd5a done #5 sha256:c19173c5ada610a5989151111163d28a67368362762534d8a8121ce95cf2bd5a 1.64kB / 1.64kB done #5 sha256:e4355b66995c96b4b468159fc5c7e3540fcef961189ca13fee877798649f531a 528B / 528B done #5 sha256:965ea09ff2ebd2b9eeec88cd822ce156f6674c7e99be082c7efac3c62f3ff652 1.51kB / 1.51kB done #5 sha256:89d9c30c1d48bac627e5c6cb0d1ed1eec28e7dbdfbcc04712e4c79c0f83faf17 2.79MB / 2.79MB 1.4s done #5 extracting sha256:89d9c30c1d48bac627e5c6cb0d1ed1eec28e7dbdfbcc04712e4c79c0f83faf17 0.7s done #5 DONE 2.4s #10 [internal] load build context #10 transferring context: 63.37MB 4.7s #10 transferring context: 73.95MB 5.0s done #10 DONE 5.0s #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #7 resolve docker.io/library/golang:1.13.2@sha256:b3086f21bfbe896973dd6147b46f2736a7deb2c04ed76219835befa0244a9562 done #7 sha256:e37698ff73511ad444a1a3547b81c3f1650f7b34bfc99bd46efccf1d90024db4 5.46kB / 5.46kB done #7 sha256:c7b7d16361e00faca0e9393f3f43923f25ceb1210face87839dfc5de988905c1 50.38MB / 50.38MB 1.1s done #7 sha256:b3086f21bfbe896973dd6147b46f2736a7deb2c04ed76219835befa0244a9562 2.16kB / 2.16kB done #7 sha256:36c384d8593f8989b7a50bebf9569c9f6a43a6881baa8a248a84251d2ca17ddb 1.79kB / 1.79kB done #7 sha256:b7a128769df1909f91b589d0a4a2e1c1671aebc047a9f46b4b30dfeb7308ea6a 7.81MB / 7.81MB 0.2s done #7 sha256:1128949d0793d2435bb1f0640a777f32feee88b71d4fe234121c3cfb345a80c4 10.00MB / 10.00MB 0.3s done #7 sha256:667692510b7038b74e221f92eb33610e4968b669c8a718378ecb1f78739c3713 51.77MB / 51.77MB 1.3s done #7 sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 68.52MB / 68.52MB 1.9s done #7 sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 120.05MB / 120.05MB 4.2s done #7 sha256:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c 126B / 126B 1.4s done #7 extracting sha256:c7b7d16361e00faca0e9393f3f43923f25ceb1210face87839dfc5de988905c1 3.7s #5 DONE 5.1s #6 [cli-build 3/8] WORKDIR /go/src/github.com/docker/cli #6 DONE 0.0s #7 [cli-build 4/8] RUN git clone https://github.com/docker/cli . && git che... #7 0.632 Cloning into '.'... #7 extracting sha256:c7b7d16361e00faca0e9393f3f43923f25ceb1210face87839dfc5de988905c1 5.2s done #7 ... #6 [invocation 2/4] RUN apk add --no-cache ca-certificates && adduser -S cn... #6 1.711 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/x86_64/APKINDEX.tar.gz #6 2.806 fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/x86_64/APKINDEX.tar.gz #6 2.921 (1/1) Installing ca-certificates (20190108-r0) #6 2.940 Executing busybox-1.30.1-r2.trigger #6 2.946 Executing ca-certificates-20190108-r0.trigger #6 3.004 OK: 6 MiB in 15 packages #6 DONE 4.6s #7 [build 1/5] FROM docker.io/library/golang:1.13.2@sha256:b3086f21bfbe8969... #7 extracting sha256:b7a128769df1909f91b589d0a4a2e1c1671aebc047a9f46b4b30dfeb7308ea6a #7 extracting sha256:b7a128769df1909f91b589d0a4a2e1c1671aebc047a9f46b4b30dfeb7308ea6a 0.5s done #7 extracting sha256:1128949d0793d2435bb1f0640a777f32feee88b71d4fe234121c3cfb345a80c4 #7 extracting sha256:1128949d0793d2435bb1f0640a777f32feee88b71d4fe234121c3cfb345a80c4 0.3s done #7 extracting sha256:667692510b7038b74e221f92eb33610e4968b669c8a718378ecb1f78739c3713 0.1s #7 extracting sha256:667692510b7038b74e221f92eb33610e4968b669c8a718378ecb1f78739c3713 2.2s done #7 extracting sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 #7 4.204 Note: checking out 'v19.03.4'. #7 4.204 #7 4.204 You are in 'detached HEAD' state. You can look around, make experimental #7 4.204 changes and commit them, and you can discard any commits you make in this #7 4.204 state without impacting any branches by performing another checkout. #7 4.204 #7 4.204 If you want to create a new branch to retain commits you create, you may #7 4.204 do so (now or later) by using -b with the checkout command again. Example: #7 4.204 #7 4.204 git checkout -b <new-branch-name> #7 4.204 #7 4.204 HEAD is now at 2355349d Merge pull request #2119 from thaJeztah/19.03_backport_bump_yaml.v2_2.2.3 #7 DONE 4.5s #8 [cli-build 5/8] RUN mkdir build #8 DONE 0.7s #9 [cli-build 6/8] RUN curl -fL https://download.docker.com/linux/static/st... #9 0.678 % Total % Received % Xferd Average Speed Time Time Time Current #9 0.679 Dload Upload Total Spent Left Speed #9 0.679 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0#7 extracting sha256:c70d80036479d598a6173d377ad1e726df898511a98ba73896f3798635e41f62 2.3s done #7 extracting sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 0.1s 48 60.3M 48 29.1M 0 0 23.4M 0 0:00:02 0:00:01 0:00:01 23.4M 100 60.3M 100 60.3M 0 0 27.5M 0 0:00:02 0:00:02 --:--:-- 27.5M 100 60.3M 100 60.3M 0 0 27.5M 0 0:00:02 0:00:02 --:--:-- 27.5M #9 DONE 3.1s #10 [cli-build 7/8] RUN curl -fL https://download.docker.com/mac/static/stab... #10 0.743 % Total % Received % Xferd Average Speed Time Time Time Current #10 0.743 Dload Upload Total Spent Left Speed #10 0.743 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 44 45.6M 44 20.2M 0 0 19.7M 0 0:00:02 0:00:01 0:00:01 19.7M 100 45.6M 100 45.6M 0 0 23.1M 0 0:00:01 0:00:01 --:--:-- 23.1M #7 extracting sha256:a8669f8c1a42cfd3644fcda9f2cc2ab189e823018abce1ad7c97cbd62c6190de 4.5s done #10 DONE 3.2s #11 [cli-build 8/8] RUN make binary-windows #7 extracting sha256:433331673060b0f68a5fc1217a3bd3ad4db5fe61193a145e1ac460d324fb2f9c done #7 DONE 17.5s #8 [build 2/5] RUN apt-get update -qq && apt-get install -y -q --no-install... #11 0.656 ./scripts/build/windows #11 0.687 Generating windows resources #11 0.731 Building build/docker-windows-amd64 #8 3.299 Reading package lists... #8 3.932 Building dependency tree... #8 4.049 Reading state information... #8 4.205 coreutils is already the newest version (8.30-3). #8 4.205 coreutils set to manually installed. #8 4.205 util-linux is already the newest version (2.33.1-0.1). #8 4.205 util-linux set to manually installed. #8 4.205 The following NEW packages will be installed: #8 4.205 uuid-runtime #8 4.472 0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded. #8 4.472 Need to get 95.2 kB of archives. #8 4.472 After this operation, 211 kB of additional disk space will be used. #8 4.472 Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] #8 4.598 debconf: delaying package configuration, since apt-utils is not installed #8 4.622 Fetched 95.2 kB in 0s (369 kB/s) #8 4.652 Selecting previously unselected package uuid-runtime. #8 4.652 (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.) #8 4.661 Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... #8 4.665 Unpacking uuid-runtime (2.33.1-0.1) ... #8 4.713 Setting up uuid-runtime (2.33.1-0.1) ... #8 4.778 Adding group `uuidd' (GID 102) ... #8 4.822 Done. #8 4.856 Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory #8 4.856 Adding system user `uuidd' (UID 101) ... #8 4.856 Adding new user `uuidd' (UID 101) with group `uuidd' ... #8 5.018 Not creating home directory `/run/uuidd'. #8 5.039 invoke-rc.d: could not determine current runlevel #8 5.046 invoke-rc.d: policy-rc.d denied execution of start. #8 DONE 6.7s #9 [build 3/5] WORKDIR /go/src/github.com/docker/app/ #9 DONE 0.1s #11 [build 4/5] COPY . . #11 DONE 0.8s #12 [build 5/5] RUN make BUILD_TAG=${BUILD_TAG} TAG=jenkins-app-PR-775-2 bin... #12 0.967 CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=489702b7 -X github.com/docker/app/internal.Version=jenkins-app-PR-775-2 -X github.com/docker/app/internal.BuildTime=2019-12-02T12:15:41Z" -o bin/cnab-run ./cmd/cnab-run #12 DONE 72.0s #13 [invocation 3/4] COPY --from=build /go/src/github.com/docker/app/bin/cna... #13 DONE 0.3s #14 [invocation 4/4] WORKDIR /cnab/app #14 DONE 0.0s #15 exporting to image #15 exporting layers #15 exporting layers 0.3s done #15 writing image sha256:aebad4163aaff9fe01a763eacf0369534fc77ec26fcba77ed908367bc0948efc done #15 naming to docker.io/docker/cnab-app-base:jenkins-app-PR-775-2 done #15 DONE 0.3s docker save docker/cnab-app-base:jenkins-app-PR-775-2 -o _build/invocation-image.tar [Pipeline] sh + make -f docker.Makefile INVOCATION_IMAGE_TAG=jenkins-app-PR-775-2-coverage OUTPUT=coverage-invocation-image.tar save-invocation-image-tag docker tag docker/cnab-app-base:jenkins-app-PR-775-2 docker/cnab-app-base:jenkins-app-PR-775-2-coverage docker save docker/cnab-app-base:jenkins-app-PR-775-2-coverage -o _build/coverage-invocation-image.tar [Pipeline] } [Pipeline] // ansiColor [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-775/src/github.com/docker/app/_build [Pipeline] { [Pipeline] stash #11 DONE 87.3s #12 [cli 1/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #12 DONE 0.3s #13 [cli 2/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #13 DONE 0.3s #14 [cli 3/3] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #14 DONE 0.3s #15 exporting to client #15 copying files 15.01MB 0.1s #15 copying files 184.16MB 1.2s done #15 DONE 2.1s docker build --build-arg TAG=jenkins-app-PR-775-2 --build-arg COMMIT=489702b7 --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=cross -t docker-app-cross:jenkins-app-PR-775-2 . #2 [internal] load .dockerignore #2 transferring context: 34B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 38B done #1 DONE 0.0s #4 [internal] load metadata for docker.io/dockercore/golang-cross:1.12.9@sh... #4 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.13.3 #3 DONE 0.2s #8 [cli-build 1/8] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea... #8 DONE 0.0s #14 [cli-build 7/8] RUN curl -fL https://download.docker.com/mac/static/stab... #14 CACHED #9 [cli-build 2/8] RUN apt-get install -y -q --no-install-recommends core... #9 CACHED #10 [cli-build 3/8] WORKDIR /go/src/github.com/docker/cli #10 CACHED #11 [cli-build 4/8] RUN git clone https://github.com/docker/cli . && git che... #11 CACHED #12 [cli-build 5/8] RUN mkdir build #12 CACHED #13 [cli-build 6/8] RUN curl -fL https://download.docker.com/linux/static/st... #13 CACHED #15 [cli-build 8/8] RUN make binary-windows #15 CACHED #5 [dev 1/9] FROM docker.io/library/golang:1.13.3@sha256:6a693fbaba7dd8d816... #5 resolve docker.io/library/golang:1.13.3@sha256:6a693fbaba7dd8d816f6afce049fb92b280c588e0a677c4c8db26645e613fc15 done #5 sha256:f332e1ccc3d895f13e9660c053e8bda16c4894c5179526cf7702ad014cd5fa88 138.79kB / 120.06MB 0.1s #5 sha256:07e0a3e016334dc43ddfb498264511edf2341c6a4c9ceea921f6100e70bae220 0B / 125B 0.1s #5 sha256:6a693fbaba7dd8d816f6afce049fb92b280c588e0a677c4c8db26645e613fc15 2.16kB / 2.16kB done #5 sha256:3d607e3e3a9dd7d1094b634e6d1f69ae65f5d9a2193d3b3b9fd46b780bd221fe 1.79kB / 1.79kB done #5 sha256:dc7582e06f8e0a61b450f02b8ab83484acc6b437a75b4e9959f11a964aea1169 5.46kB / 5.46kB done #5 sha256:f332e1ccc3d895f13e9660c053e8bda16c4894c5179526cf7702ad014cd5fa88 11.49MB / 120.06MB 0.2s #5 sha256:07e0a3e016334dc43ddfb498264511edf2341c6a4c9ceea921f6100e70bae220 125B / 125B 0.1s done #5 sha256:f332e1ccc3d895f13e9660c053e8bda16c4894c5179526cf7702ad014cd5fa88 22.78MB / 120.06MB 0.3s #5 sha256:f332e1ccc3d895f13e9660c053e8bda16c4894c5179526cf7702ad014cd5fa88 31.01MB / 120.06MB 0.4s #5 sha256:f332e1ccc3d895f13e9660c053e8bda16c4894c5179526cf7702ad014cd5fa88 51.73MB / 120.06MB 0.6s #5 sha256:f332e1ccc3d895f13e9660c053e8bda16c4894c5179526cf7702ad014cd5fa88 62.47MB / 120.06MB 0.7s #5 sha256:f332e1ccc3d895f13e9660c053e8bda16c4894c5179526cf7702ad014cd5fa88 82.80MB / 120.06MB 0.9s #5 sha256:f332e1ccc3d895f13e9660c053e8bda16c4894c5179526cf7702ad014cd5fa88 92.14MB / 120.06MB 1.0s #5 sha256:f332e1ccc3d895f13e9660c053e8bda16c4894c5179526cf7702ad014cd5fa88 103.66MB / 120.06MB 1.1s #5 sha256:f332e1ccc3d895f13e9660c053e8bda16c4894c5179526cf7702ad014cd5fa88 111.29MB / 120.06MB 1.2s #5 sha256:f332e1ccc3d895f13e9660c053e8bda16c4894c5179526cf7702ad014cd5fa88 120.06MB / 120.06MB 1.3s #5 sha256:f332e1ccc3d895f13e9660c053e8bda16c4894c5179526cf7702ad014cd5fa88 120.06MB / 120.06MB 2.1s done #5 extracting sha256:f332e1ccc3d895f13e9660c053e8bda16c4894c5179526cf7702ad014cd5fa88 #5 ... #21 [internal] load build context #21 transferring context: 73.96MB 3.0s done #21 DONE 3.1s #5 [dev 1/9] FROM docker.io/library/golang:1.13.3@sha256:6a693fbaba7dd8d816... #5 extracting sha256:f332e1ccc3d895f13e9660c053e8bda16c4894c5179526cf7702ad014cd5fa88 4.3s done #5 extracting sha256:07e0a3e016334dc43ddfb498264511edf2341c6a4c9ceea921f6100e70bae220 done Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-775/2/stashes/invocation-image.tgz [Pipeline] stash #5 DONE 6.9s #6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom... #6 0.993 Get:1 http://deb.debian.org/debian buster InRelease [122 kB] #6 0.993 Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] #6 1.003 Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB] #6 1.099 Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [159 kB] #6 1.211 Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7908 kB] #6 1.343 Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [5792 B] #6 2.494 Fetched 8309 kB in 2s (4747 kB/s) #6 2.494 Reading package lists... #6 3.108 Reading package lists... #6 3.708 Building dependency tree... #6 3.815 Reading state information... #6 3.958 coreutils is already the newest version (8.30-3). #6 3.958 coreutils set to manually installed. #6 3.958 util-linux is already the newest version (2.33.1-0.1). #6 3.958 util-linux set to manually installed. #6 3.958 The following NEW packages will be installed: #6 3.958 uuid-runtime #6 4.223 0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded. #6 4.223 Need to get 95.2 kB of archives. #6 4.223 After this operation, 211 kB of additional disk space will be used. #6 4.223 Get:1 http://deb.debian.org/debian buster/main amd64 uuid-runtime amd64 2.33.1-0.1 [95.2 kB] #6 4.402 debconf: delaying package configuration, since apt-utils is not installed #6 4.428 Fetched 95.2 kB in 0s (371 kB/s) #6 4.463 Selecting previously unselected package uuid-runtime. #6 4.463 (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.) #6 4.466 Preparing to unpack .../uuid-runtime_2.33.1-0.1_amd64.deb ... #6 4.471 Unpacking uuid-runtime (2.33.1-0.1) ... Stashed 1 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-775/2/stashes/coverage-invocation-image.tgz [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-775/src/github.com/docker/app [Pipeline] { [Pipeline] sh #6 4.538 Setting up uuid-runtime (2.33.1-0.1) ... #6 4.579 Adding group `uuidd' (GID 102) ... #6 4.730 Done. #6 4.755 Warning: The home dir /run/uuidd you specified can't be accessed: No such file or directory #6 4.755 Adding system user `uuidd' (UID 101) ... #6 4.755 Adding new user `uuidd' (UID 101) with group `uuidd' ... #6 4.815 Not creating home directory `/run/uuidd'. + docker rmi docker/cnab-app-base:jenkins-app-PR-775-2 Untagged: docker/cnab-app-base:jenkins-app-PR-775-2 [Pipeline] sh #6 4.839 invoke-rc.d: could not determine current runlevel #6 4.842 invoke-rc.d: policy-rc.d denied execution of start. + docker rmi docker/cnab-app-base:jenkins-app-PR-775-2-coverage Untagged: docker/cnab-app-base:jenkins-app-PR-775-2-coverage Deleted: sha256:aebad4163aaff9fe01a763eacf0369534fc77ec26fcba77ed908367bc0948efc [Pipeline] } [Pipeline] // dir [Pipeline] deleteDir [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } #6 DONE 7.4s #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 DONE 0.0s #16 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #16 DONE 0.3s #17 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #17 0.605 % Total % Received % Xferd Average Speed Time Time Time Current #17 0.607 Dload Upload Total Spent Left Speed #17 0.608 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 605 0 605 0 0 4840 0 --:--:-- --:--:-- --:--:-- 4840 #17 0.849 100 10.5M 100 10.5M 0 0 43.3M 0 --:--:-- --:--:-- --:--:-- 43.3M #17 DONE 0.9s #18 [dev 6/9] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #18 11.81 go: downloading gotest.tools v2.1.0+incompatible #18 11.85 go: extracting gotest.tools v2.1.0+incompatible #18 11.86 go: downloading github.com/fatih/color v1.6.0 #18 11.86 go: downloading github.com/spf13/pflag v1.0.1 #18 11.86 go: downloading github.com/sirupsen/logrus v1.0.5 #18 11.87 go: downloading github.com/pkg/errors v0.8.0 #18 11.88 go: downloading github.com/jonboulle/clockwork v0.1.0 #18 11.90 go: downloading golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f #18 11.98 go: extracting github.com/sirupsen/logrus v1.0.5 #18 11.98 go: extracting github.com/pkg/errors v0.8.0 #18 11.99 go: downloading golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e #18 12.00 go: downloading golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 #18 12.00 go: extracting github.com/spf13/pflag v1.0.1 #18 12.01 go: extracting github.com/jonboulle/clockwork v0.1.0 #18 12.01 go: extracting golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f #18 12.02 go: downloading golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc #18 12.27 go: extracting github.com/fatih/color v1.6.0 #18 12.28 go: downloading github.com/mattn/go-colorable v0.0.9 #18 12.28 go: downloading github.com/mattn/go-isatty v0.0.3 #18 12.32 go: extracting github.com/mattn/go-colorable v0.0.9 #18 12.33 go: extracting github.com/mattn/go-isatty v0.0.3 #18 13.02 go: extracting golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 #18 13.05 go: extracting golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc #18 13.26 go: extracting golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e #18 13.33 go: finding github.com/fatih/color v1.6.0 #18 13.33 go: finding github.com/pkg/errors v0.8.0 #18 13.34 go: finding github.com/sirupsen/logrus v1.0.5 #18 13.35 go: finding github.com/mattn/go-colorable v0.0.9 #18 13.35 go: finding github.com/spf13/pflag v1.0.1 #18 13.36 go: finding github.com/mattn/go-isatty v0.0.3 #18 13.37 go: finding golang.org/x/crypto v0.0.0-20180426230345-b49d69b5da94 #18 13.38 go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e #18 13.39 go: finding github.com/jonboulle/clockwork v0.1.0 #18 13.40 go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f #18 13.40 go: finding golang.org/x/net v0.0.0-20181102091132-c10e9556a7bc #18 DONE 35.5s #19 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #19 DONE 2.2s #20 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #20 7.878 golang.org/x/tools/internal/semver #20 7.894 github.com/pkg/errors #20 7.930 golang.org/x/tools/go/ast/astutil #20 7.952 golang.org/x/tools/go/internal/gcimporter #20 8.258 golang.org/x/tools/go/internal/packagesdriver #20 8.329 golang.org/x/tools/internal/fastwalk #20 8.392 golang.org/x/tools/internal/gopathwalk #20 8.458 golang.org/x/tools/internal/span #20 8.632 golang.org/x/tools/internal/module #20 8.717 golang.org/x/tools/go/gcexportdata #20 8.768 golang.org/x/tools/go/packages #20 9.011 golang.org/x/tools/internal/imports #20 9.408 golang.org/x/tools/imports #20 9.419 github.com/mjibson/esc/embed #20 9.461 github.com/mjibson/esc #20 DONE 10.4s #22 [dev 9/9] COPY . . #22 DONE 1.4s #23 [cross-build 1/1] RUN make TAG=jenkins-app-PR-775-2 cross #23 0.862 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=489702b7 -X github.com/docker/app/internal.Version=jenkins-app-PR-775-2 -X github.com/docker/app/internal.BuildTime=2019-12-02T12:18:10Z" -o bin/docker-app-linux ./cmd/docker-app #23 56.39 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=489702b7 -X github.com/docker/app/internal.Version=jenkins-app-PR-775-2 -X github.com/docker/app/internal.BuildTime=2019-12-02T12:18:10Z" -o bin/docker-app-darwin ./cmd/docker-app #23 114.8 GOOS=windows CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=489702b7 -X github.com/docker/app/internal.Version=jenkins-app-PR-775-2 -X github.com/docker/app/internal.BuildTime=2019-12-02T12:18:10Z" -o bin/docker-app-windows.exe ./cmd/docker-app #23 DONE 174.2s #24 [cross 1/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #24 DONE 0.3s #25 [cross 2/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #25 DONE 0.6s #26 [cross 3/3] COPY --from=cross-build /go/src/github.com/docker/app/bin/do... #26 DONE 0.2s #27 exporting to client #27 copying files 15.11MB 0.1s #27 copying files 124.74MB 0.8s done #27 DONE 1.4s docker build --build-arg TAG=jenkins-app-PR-775-2 --build-arg COMMIT=489702b7 --build-arg ALPINE_VERSION=3.10.3 --build-arg GOPROXY=direct --output type=local,dest=./bin/ --target=e2e-cross -t docker-app-e2e-cross:jenkins-app-PR-775-2 . #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.12.9@sh... #4 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.13.3 #3 DONE 0.1s #8 [cli-build 1/8] FROM docker.io/dockercore/golang-cross:1.12.9@sha256:3ea... #8 DONE 0.0s #5 [dev 1/9] FROM docker.io/library/golang:1.13.3@sha256:6a693fbaba7dd8d816... #5 DONE 0.0s #21 [internal] load build context #21 transferring context: 342.55kB 0.2s done #21 DONE 0.2s #10 [cli-build 3/8] WORKDIR /go/src/github.com/docker/cli #10 CACHED #18 [dev 6/9] RUN mkdir /go/src/gotest.tools && git clone -q https://githu... #18 CACHED #14 [cli-build 7/8] RUN curl -fL https://download.docker.com/mac/static/stab... #14 CACHED #16 [dev 4/9] COPY --from=cli-build /go/src/github.com/docker/cli/build/dock... #16 CACHED #9 [cli-build 2/8] RUN apt-get install -y -q --no-install-recommends core... #9 CACHED #17 [dev 5/9] RUN curl -o /usr/bin/dep -L https://github.com/golang/dep/rele... #17 CACHED #13 [cli-build 6/8] RUN curl -fL https://download.docker.com/linux/static/st... #13 CACHED #19 [dev 7/9] RUN GOOS=linux go build -o /usr/local/bin/test2json-linux ... #19 CACHED #15 [cli-build 8/8] RUN make binary-windows #15 CACHED #22 [dev 9/9] COPY . . #22 CACHED #7 [dev 3/9] WORKDIR /go/src/github.com/docker/app/ #7 CACHED #20 [dev 8/9] RUN go get -d gopkg.in/mjibson/esc.v0 && cd /go/src/github.c... #20 CACHED #12 [cli-build 5/8] RUN mkdir build #12 CACHED #6 [dev 2/9] RUN apt-get update && apt-get install -y -q --no-install-recom... #6 CACHED #11 [cli-build 4/8] RUN git clone https://github.com/docker/cli . && git che... #11 CACHED #23 [cross-build 1/1] RUN make TAG=jenkins-app-PR-775-2 cross #23 CACHED #24 [e2e-cross-build 1/1] RUN make TAG=jenkins-app-PR-775-2 e2e-cross #24 0.695 GOOS=linux CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=489702b7 -X github.com/docker/app/internal.Version=jenkins-app-PR-775-2 -X github.com/docker/app/internal.BuildTime=2019-12-02T12:21:08Z" -o bin/docker-app-linux ./cmd/docker-app #24 4.149 GOOS=linux CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=489702b7 -X github.com/docker/app/internal.Version=jenkins-app-PR-775-2 -X github.com/docker/app/internal.BuildTime=2019-12-02T12:21:08Z" -c -o bin/docker-app-e2e-linux ./e2e/ #24 26.15 GOOS=darwin CGO_ENABLED=0 go build -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=489702b7 -X github.com/docker/app/internal.Version=jenkins-app-PR-775-2 -X github.com/docker/app/internal.BuildTime=2019-12-02T12:21:08Z" -o bin/docker-app-darwin ./cmd/docker-app #24 29.86 GOOS=darwin CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=489702b7 -X github.com/docker/app/internal.Version=jenkins-app-PR-775-2 -X github.com/docker/app/internal.BuildTime=2019-12-02T12:21:08Z" -c -o bin/docker-app-e2e-darwin ./e2e/ #24 51.62 GOOS=windows CGO_ENABLED=0 go test -tags= -ldflags="-s -w -X github.com/docker/app/internal.GitCommit=489702b7 -X github.com/docker/app/internal.Version=jenkins-app-PR-775-2 -X github.com/docker/app/internal.BuildTime=2019-12-02T12:21:08Z" -c -o bin/docker-app-e2e-windows.exe ./e2e/ #24 DONE 74.1s #25 [e2e-cross 1/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #25 DONE 0.1s #26 [e2e-cross 2/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #26 DONE 0.2s #27 [e2e-cross 3/9] COPY --from=e2e-cross-build /go/src/github.com/docker/ap... #27 DONE 0.2s #28 [e2e-cross 4/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-lin... #28 DONE 0.1s #29 [e2e-cross 5/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-dar... #29 DONE 0.1s #30 [e2e-cross 6/9] COPY --from=e2e-cross-build /usr/local/bin/gotestsum-win... #30 DONE 0.1s #31 [e2e-cross 7/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-lin... #31 DONE 0.1s #32 [e2e-cross 8/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-dar... #32 DONE 0.1s #33 [e2e-cross 9/9] COPY --from=e2e-cross-build /usr/local/bin/test2json-win... #33 DONE 0.1s #34 exporting to client #34 copying files 15.28MB 0.1s #34 copying files 121.80MB 0.8s done #34 DONE 1.2s 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-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_PR-775/src/github.com/docker/app/bin [Pipeline] { [Pipeline] stash Stashed 21 file(s) to https://corp-us-east-1-jenkins-k8s-maste-jenkinsartifacts-1lzm7adht5e1j.s3.amazonaws.com/public/app/PR-775/2/stashes/binaries.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-775/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/PR-775/2/stashes/e2e.tgz [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/ubuntu/workspace/app_PR-775/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/PR-775/2/stashes/examples.tgz [Pipeline] } [Pipeline] // dir [Pipeline] sh + docker image ls --format={{.Repository}}:{{.Tag}} *jenkins-app-PR-775-2* + 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) Stage "Test" skipped due to earlier failure(s) [Pipeline] parallel [Pipeline] { (Branch: Coverage) [Pipeline] { (Branch: Test Linux) [Pipeline] stage [Pipeline] { (Coverage) [Pipeline] stage [Pipeline] { (Test Linux) Stage "Coverage" skipped due to earlier failure(s) [Pipeline] } Stage "Test Linux" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] } Failed in branch Coverage [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