Pull request #3082 opened Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Loading trusted files from base branch master at cde06fbf1da2dd3d9ebeeeec3f38c5aa0f666d2b rather than 8aeb4911a8ae4498fcb9d2d26a647e5e215c4679 Obtained Jenkinsfile from cde06fbf1da2dd3d9ebeeeec3f38c5aa0f666d2b 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 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 The recommended git tool is: NONE using credential jps-reader Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/jps.git > git init /var/cloudbees-jenkins-distribution/workspace/cli_PR-3082@libs/jps # timeout=10 Fetching upstream changes from https://github.com/docker/jps.git > git --version # timeout=10 > git --version # 'git version 2.20.1' 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 > git config remote.origin.url https://github.com/docker/jps.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 Avoid second fetch Checking out Revision 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 # timeout=10 Commit message: "Merge pull request #25 from ingshtrom/in-2733-load-from-file" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.20.1' Excluding src/test/ from checkout of git https://github.com/docker/jps.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] node Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-00ef016a89ab30e57) in /home/ubuntu/workspace/cli_PR-3082 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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/cli.git > git init /home/ubuntu/workspace/cli_PR-3082 # timeout=10 Fetching upstream changes from https://github.com/docker/cli.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/cli.git +refs/pull/3082/head:refs/remotes/origin/PR-3082 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit cde06fbf1da2dd3d9ebeeeec3f38c5aa0f666d2b into PR head commit 8aeb4911a8ae4498fcb9d2d26a647e5e215c4679 > git config remote.origin.url https://github.com/docker/cli.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/3082/head:refs/remotes/origin/PR-3082 # 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/cli.git # timeout=10 Fetching upstream changes from https://github.com/docker/cli.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/cli.git +refs/pull/3082/head:refs/remotes/origin/PR-3082 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8aeb4911a8ae4498fcb9d2d26a647e5e215c4679 # timeout=10 Merge succeeded, producing 8aeb4911a8ae4498fcb9d2d26a647e5e215c4679 Checking out Revision 8aeb4911a8ae4498fcb9d2d26a647e5e215c4679 (PR-3082) Commit message: "Swap "LABEL maintainer" for the OCI pre-defined "org.opencontainers.image.authors"" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.17.1' fatal: bad object 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timeout Timeout set to expire in 1 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Docker info) [Pipeline] sh + docker version Client: Docker Engine - Community Version: 20.10.5 API version: 1.41 Go version: go1.13.15 Git commit: 55c4c88 Built: Tue Mar 2 20:18:05 2021 OS/Arch: linux/amd64 Context: default Experimental: true Server: Docker Engine - Community Engine: Version: 20.10.5 API version: 1.41 (minimum version 1.12) Go version: go1.13.15 Git commit: 363e9a8 Built: Tue Mar 2 20:16:00 2021 OS/Arch: linux/amd64 Experimental: true containerd: Version: 1.4.4 GitCommit: 05f951a3781f4f2c1911b05e61c160e9c30eaa8e runc: Version: 1.0.0-rc93 GitCommit: 12644e614e25b05da6fd08a38ffa0cfe1903fdec docker-init: Version: 0.19.0 GitCommit: de40ad0 [Pipeline] sh > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git merge cde06fbf1da2dd3d9ebeeeec3f38c5aa0f666d2b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8aeb4911a8ae4498fcb9d2d26a647e5e215c4679 # timeout=10 + docker info Client: Context: default Debug Mode: false Plugins: app: Docker App (Docker Inc., v0.9.1-beta3) buildx: Build with BuildKit (Docker Inc., v0.5.1-docker) Server: Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 14 Server Version: 20.10.5 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Native Overlay Diff: true Logging Driver: json-file Cgroup Driver: cgroupfs Cgroup Version: 1 Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog Swarm: inactive Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc Default Runtime: runc Init Binary: docker-init containerd version: 05f951a3781f4f2c1911b05e61c160e9c30eaa8e runc version: 12644e614e25b05da6fd08a38ffa0cfe1903fdec init version: de40ad0 Security Options: apparmor seccomp Profile: default Kernel Version: 5.4.0-1041-aws Operating System: Ubuntu 18.04.5 LTS OSType: linux Architecture: x86_64 CPUs: 2 Total Memory: 7.487GiB Name: ip-10-100-118-142 ID: CCOO:B2L2:53RH:M56T:HCH4:FPBZ:EMUZ:R22X:GVEU:CYRY:U2HB:5I2B Docker Root Dir: /var/lib/docker Debug Mode: false Registry: https://index.docker.io/v1/ Labels: Experimental: true Insecure Registries: 127.0.0.0/8 Live Restore Enabled: true WARNING: No swap limit support [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (e2e (non-experimental) - stable engine) [Pipeline] sh + E2E_UNIQUE_ID=clie2e1 IMAGE_TAG=clie2e1 make -f docker.Makefile test-e2e-non-experimental docker build -t docker-cli-e2eclie2e1 --build-arg=GO_VERSION --build-arg VERSION=20.10.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e . #1 [internal] load build definition from Dockerfile.e2e #1 sha256:cd7dd54ce59984a141355aaadb383376d4b7777224fdb93e2144a14826e82b11 #1 transferring dockerfile: 1.65kB done #1 DONE 0.0s #2 [internal] load .dockerignore #2 sha256:23f45bac182662b22fa7f9f2971d175f1bbe9b90ad7e100543656e9b0bb8e331 #2 transferring context: 112B done #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.13.15-buster #3 sha256:18002fdb0ebc16a609f25586e9ff8f370353d561700dc81af391aa52f6767bf7 #3 DONE 0.1s #4 [ 1/11] FROM docker.io/library/golang:1.13.15-buster@sha256:66a3f6817c129f48c9cc9b96816a1c0b6dcb399393196e3581d9367b55ab29f2 #4 sha256:4a66e7fcfac5fc92db618035154692356dd65f14be90935717f8c30085be66be #4 DONE 0.0s #10 [internal] load build context #10 sha256:675aa6b5889fa0dfaf7c83b9b4fd3d34193327ab0d7a64546494317b132d6015 #10 transferring context: 82.11MB 1.9s done #10 DONE 1.9s #7 [ 4/11] RUN curl -fsSL https://github.com/theupdateframework/notary/releases/download/v0.6.1/notary-Linux-amd64 -o /usr/local/bin/notary && chmod +x /usr/local/bin/notary #7 sha256:8d70ded02fb042d399041dbd9612fc6c8170eda4dac19c77df0e11cd08f6f6d9 #7 CACHED #11 [ 7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/notary.cert #11 sha256:9891da10f4ddb964ecce7f9566b73d266f46b10e9256f7a459fcdc48cc8571f8 #11 CACHED #8 [ 5/11] RUN curl -fsSL https://github.com/gotestyourself/gotestsum/releases/download/v0.4.0/gotestsum_0.4.0_linux_amd64.tar.gz -o gotestsum.tar.gz && tar -xf gotestsum.tar.gz gotestsum && mv gotestsum /usr/local/bin/gotestsum && rm gotestsum.tar.gz #8 sha256:72660202e2e1e4b926d09d2cefca7a7dac0a5183430a42a2ee35e416267ec6ee #8 CACHED #9 [ 6/11] WORKDIR /go/src/github.com/docker/cli #9 sha256:6bc099873bdac9481983be3ff105fa0fc5966629b1cff437b173b3be8d953791 #9 CACHED #5 [ 2/11] RUN apt-get update && apt-get install -y build-essential curl openssl openssh-client && rm -rf /var/lib/apt/lists/* #5 sha256:a6bbd9cc44cb223d0ea3aeac667b2b0ceffe3be129da6ee9a153c965a8a0a97a #5 CACHED #6 [ 3/11] RUN curl -fsSL https://github.com/docker/compose/releases/download/1.25.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose #6 sha256:7e921a9df9413d7086515a3b0c8dd67a280b4e5f272662afa7ad2014d49964a1 #6 CACHED #12 [ 8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-certificates #12 sha256:73abee5e63f825370f70a2389511d1935a5ecb7257b56c7d77eb6219a3a1f0a4 #12 CACHED #13 [ 9/11] COPY . . #13 sha256:cf3d8726e81c4b7d746db48dbc78ac42f34e6207ed66e38de6caff0718abfa81 #13 DONE 0.9s #14 [10/11] RUN ./scripts/build/binary #14 sha256:bf7c3395fff72d505664ec3cabd6e113bc5fa534de0917589c7d7260819a62ee #14 0.477 Building static docker-linux-amd64 #14 DONE 72.4s #15 [11/11] RUN ./scripts/build/plugins e2e/cli-plugins/plugins/* #15 sha256:14d24ffb25ab3bfabff585a77bfd9d2d8ea52603600b7e076944952c9ed6a67c #15 0.489 Building statically linked build/plugins-linux-amd64/docker-helloworld #15 1.693 Building statically linked build/plugins-linux-amd64/docker-badmeta #15 2.744 Building statically linked build/plugins-linux-amd64/docker-nopersistentprerun #15 DONE 4.0s #16 exporting to image #16 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00 #16 exporting layers #16 exporting layers 2.2s done #16 writing image sha256:3be95fd7ca4cee9368408ae0b676a3de2cd04835ae6c2aec80c7612d26fa1e0b done #16 naming to docker.io/library/docker-cli-e2eclie2e1 done #16 DONE 2.2s docker run --rm --mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock -e VERSION=20.10.0-dev -e GITCOMMIT -e PLATFORM -e TESTFLAGS -e TESTDIRS -e GOOS -e GOARCH -e GOARM -e TEST_ENGINE_VERSION= -e TEST_ENGINE_VERSION= docker-cli-e2eclie2e1 Native build is an experimental feature and could change at any time Creating network "cliendtoendsuite_default" with the default driver Building notary-server #1 [internal] load build definition from Dockerfile.notary-server #1 sha256:007bb67b800ca86544ae130cb978bab5fad9bb3e666afd4b4f19e41f13040863 #1 transferring dockerfile: 140B done #1 DONE 0.0s #2 [internal] load .dockerignore #2 sha256:1447f7d174dc6f1660f7a12a298b9776be74a909a31c5e2ebdc13ebbddb6b379 #2 transferring context: 2B done #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/notary:server-0.5.0 #3 sha256:a1da53cf05b63d7b254e8b6a3d96b994c4ae5f01cb10e10906db53f729e6903e #3 DONE 0.2s #4 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447a9818e7f16d0a02ba1d9905de71e5354bc8ee0017304a244 #4 sha256:cd52ec412b0b1cb53bf96e4160cee4046ce1447da482224a0d115d68a2468239 #4 DONE 0.0s #5 [internal] load build context #5 sha256:95a9fa14b9764576d98aaf8201dc028dfaabda804c16809b79bab72e3d9297d8 #5 transferring context: 5.70kB done #5 DONE 0.0s #6 [2/2] COPY ./notary/ /fixtures/ #6 sha256:34a8f1139e1d8469f95427c2aaff45885b09c0a99cd52d916e33a4ec0400fc9c #6 CACHED #7 exporting to image #7 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00 #7 exporting layers done #7 writing image sha256:113447869cedc8ee2962f5dfd49dd64abea3e252d3c7441bbef000e466d76870 done #7 naming to docker.io/library/cliendtoendsuite_notary-server done #7 DONE 0.0s Successfully built 113447869cedc8ee2962f5dfd49dd64abea3e252d3c7441bbef000e466d76870 Building evil-notary-server #1 [internal] load build definition from Dockerfile.evil-notary-server #1 sha256:a40beb3f3a80d858f11da3195d85b7e01d9fca6647d6e53ff5bcc7cbf2800cf5 #1 transferring dockerfile: 150B done #1 DONE 0.0s #2 [internal] load .dockerignore #2 sha256:e10265b26e8771f3b081fb7f1665d414a01c569de1bde080386e32f6d8487d1f #2 transferring context: 2B done #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/notary:server-0.5.0 #3 sha256:a1da53cf05b63d7b254e8b6a3d96b994c4ae5f01cb10e10906db53f729e6903e #3 DONE 0.1s #4 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447a9818e7f16d0a02ba1d9905de71e5354bc8ee0017304a244 #4 sha256:cd52ec412b0b1cb53bf96e4160cee4046ce1447da482224a0d115d68a2468239 #4 DONE 0.0s #5 [internal] load build context #5 sha256:5b67b9fb7d300d572f591b4aea3b19b8bbbabd3d4fc71288fd78c50fdbf179f3 #5 transferring context: 5.73kB done #5 DONE 0.0s #6 [2/2] COPY ./notary-evil/ /fixtures/ #6 sha256:e4388efb740bd8ae9755a63ee154a9176c010595411fc64b101a4432c6d9ae5b #6 CACHED #7 exporting to image #7 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00 #7 exporting layers done #7 writing image sha256:969af598be6c7a1e60073bbb0d344b384ceab91c9a9674027233e918a6e74c69 done #7 naming to docker.io/library/cliendtoendsuite_evil-notary-server done #7 DONE 0.0s Successfully built 969af598be6c7a1e60073bbb0d344b384ceab91c9a9674027233e918a6e74c69 Creating cliendtoendsuite_notary-server_1 ... Creating cliendtoendsuite_engine_1 ... Creating cliendtoendsuite_registry_1 ... Creating cliendtoendsuite_evil-notary-server_1 ...  Creating cliendtoendsuite_evil-notary-server_1 ... done  Creating cliendtoendsuite_registry_1 ... done  Creating cliendtoendsuite_notary-server_1 ... done  Creating cliendtoendsuite_engine_1 ... done Waiting for docker daemon to become available at tcp://172.22.0.4:2375 Cannot connect to the Docker daemon at tcp://172.22.0.4:2375. Is the docker daemon running? Client: Version: 20.10.0-dev API version: 1.40 Go version: go1.13.15 Git commit: 8aeb4911a Built: Tue May 4 16:47:10 2021 OS/Arch: linux/amd64 Context: default Experimental: true Server: Docker Engine - Community Engine: Version: 19.03.13 API version: 1.40 (minimum version 1.12) Go version: go1.13.15 Git commit: 4484c46 Built: Wed Sep 16 17:04:43 2020 OS/Arch: linux/amd64 Experimental: false containerd: Version: v1.3.7 GitCommit: 8fba4e9a7d01810a393d5d25a3621dc101981175 runc: Version: 1.0.0-rc10 GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd docker-init: Version: 0.18.0 GitCommit: fec3683 Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit docker.Makefile:135: recipe for target 'test-e2e-non-experimental' failed make: *** [test-e2e-non-experimental] Error 1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (e2e (non-experimental) - 18.09 engine) Stage "e2e (non-experimental) - 18.09 engine" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (e2e (experimental)) Stage "e2e (experimental)" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (e2e (ssh connhelper)) Stage "e2e (ssh connhelper)" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result ERROR: script returned exit code 2 Finished: FAILURE