Pull request #3077 opened Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 219af0903843d52e01e3b36e8c39c346d2ade77d+9c18c7deda25a1415750a7e8e5033093d629ab39 (4c1ddcfceaafaac8e29e9f1b5ad0f06f209a0348) 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-3077@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-041d3960754e71b3e) in /home/ubuntu/workspace/cli_PR-3077 [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-3077 # 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/3077/head:refs/remotes/origin/PR-3077 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 9c18c7deda25a1415750a7e8e5033093d629ab39 into PR head commit 219af0903843d52e01e3b36e8c39c346d2ade77d > git config remote.origin.url https://github.com/docker/cli.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/3077/head:refs/remotes/origin/PR-3077 # 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/3077/head:refs/remotes/origin/PR-3077 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 219af0903843d52e01e3b36e8c39c346d2ade77d # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git merge 9c18c7deda25a1415750a7e8e5033093d629ab39 # timeout=10 Merge succeeded, producing 406d114addfd4211e40b256eb57bd124e7f8f9c0 Checking out Revision 406d114addfd4211e40b256eb57bd124e7f8f9c0 (PR-3077) Commit message: "Merge commit '9c18c7deda25a1415750a7e8e5033093d629ab39' into HEAD" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.17.1' fatal: bad object 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 406d114addfd4211e40b256eb57bd124e7f8f9c0 # timeout=10 [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 + 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: 5 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.569GiB Name: ip-10-100-39-27 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:f2a47e6a1df7e32989f52f9965d461fd3e4357951e556e35f53ae18607b80b43 #1 transferring dockerfile: 1.65kB done #1 DONE 0.0s #2 [internal] load .dockerignore #2 sha256:9e505a09f1331353e2897f2afccc9a1ccac982f6f4b02ed51148ddd57ca64b6f #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 CACHED #10 [internal] load build context #10 sha256:baea57099115f6fd9c5b5591f5e3f4c8170babf4d50e20c935255e5266b7aec5 #10 transferring context: 82.09MB 2.3s done #10 DONE 2.4s #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 1.222 Get:1 http://deb.debian.org/debian buster InRelease [121 kB] #5 1.229 Get:2 http://deb.debian.org/debian buster-updates InRelease [51.9 kB] #5 1.458 Get:3 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] #5 1.563 Get:4 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB] #5 2.075 Get:5 http://deb.debian.org/debian buster-updates/main amd64 Packages [10.9 kB] #5 2.463 Get:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [285 kB] #5 3.324 Fetched 8441 kB in 2s (3991 kB/s) #5 3.324 Reading package lists... #5 3.926 Reading package lists... #5 4.508 Building dependency tree... #5 4.621 Reading state information... #5 4.721 openssh-client is already the newest version (1:7.9p1-10+deb10u2). #5 4.721 The following additional packages will be installed: #5 4.721 bzip2 dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl #5 4.722 libalgorithm-merge-perl libcurl4 libfakeroot patch xz-utils #5 4.722 Suggested packages: #5 4.722 bzip2-doc debian-keyring ed diffutils-doc #5 4.796 The following NEW packages will be installed: #5 4.797 build-essential bzip2 dpkg-dev fakeroot libalgorithm-diff-perl #5 4.797 libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot patch xz-utils #5 4.798 The following packages will be upgraded: #5 4.799 curl libcurl4 openssl #5 5.072 3 upgraded, 10 newly installed, 0 to remove and 26 not upgraded. #5 5.072 Need to get 3783 kB of archives. #5 5.072 After this operation, 3603 kB of additional disk space will be used. #5 5.072 Get:1 http://deb.debian.org/debian buster/main amd64 bzip2 amd64 1.0.6-9.2~deb10u1 [48.4 kB] #5 5.072 Get:2 http://security.debian.org/debian-security buster/updates/main amd64 curl amd64 7.64.0-4+deb10u2 [265 kB] #5 5.074 Get:3 http://deb.debian.org/debian buster/main amd64 xz-utils amd64 5.2.4-1 [183 kB] #5 5.078 Get:4 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB] #5 5.086 Get:5 http://deb.debian.org/debian buster/main amd64 dpkg-dev all 1.19.7 [1773 kB] #5 5.086 Get:6 http://security.debian.org/debian-security buster/updates/main amd64 libcurl4 amd64 7.64.0-4+deb10u2 [332 kB] #5 5.086 Get:7 http://security.debian.org/debian-security buster/updates/main amd64 openssl amd64 1.1.1d-0+deb10u6 [844 kB] #5 5.106 Get:8 http://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B] #5 5.107 Get:9 http://deb.debian.org/debian buster/main amd64 libfakeroot amd64 1.23-1 [45.9 kB] #5 5.108 Get:10 http://deb.debian.org/debian buster/main amd64 fakeroot amd64 1.23-1 [85.8 kB] #5 5.109 Get:11 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-perl all 1.19.03-2 [47.9 kB] #5 5.110 Get:12 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5+b1 [11.8 kB] #5 5.110 Get:13 http://deb.debian.org/debian buster/main amd64 libalgorithm-merge-perl all 0.08-3 [12.7 kB] #5 5.301 debconf: delaying package configuration, since apt-utils is not installed #5 5.330 Fetched 3783 kB in 0s (12.8 MB/s) #5 5.365 Selecting previously unselected package bzip2. #5 5.365 (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 ... 15410 files and directories currently installed.) #5 5.519 Preparing to unpack .../00-bzip2_1.0.6-9.2~deb10u1_amd64.deb ... #5 5.523 Unpacking bzip2 (1.0.6-9.2~deb10u1) ... #5 5.573 Selecting previously unselected package xz-utils. #5 5.574 Preparing to unpack .../01-xz-utils_5.2.4-1_amd64.deb ... #5 5.579 Unpacking xz-utils (5.2.4-1) ... #5 5.665 Selecting previously unselected package patch. #5 5.665 Preparing to unpack .../02-patch_2.7.6-3+deb10u1_amd64.deb ... #5 5.670 Unpacking patch (2.7.6-3+deb10u1) ... #5 5.710 Selecting previously unselected package dpkg-dev. #5 5.712 Preparing to unpack .../03-dpkg-dev_1.19.7_all.deb ... #5 5.716 Unpacking dpkg-dev (1.19.7) ... #5 5.832 Selecting previously unselected package build-essential. #5 5.834 Preparing to unpack .../04-build-essential_12.6_amd64.deb ... #5 5.838 Unpacking build-essential (12.6) ... #5 5.867 Preparing to unpack .../05-curl_7.64.0-4+deb10u2_amd64.deb ... #5 5.879 Unpacking curl (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... #5 5.960 Preparing to unpack .../06-libcurl4_7.64.0-4+deb10u2_amd64.deb ... #5 5.979 Unpacking libcurl4:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... #5 6.072 Selecting previously unselected package libfakeroot:amd64. #5 6.073 Preparing to unpack .../07-libfakeroot_1.23-1_amd64.deb ... #5 6.078 Unpacking libfakeroot:amd64 (1.23-1) ... #5 6.119 Selecting previously unselected package fakeroot. #5 6.121 Preparing to unpack .../08-fakeroot_1.23-1_amd64.deb ... #5 6.127 Unpacking fakeroot (1.23-1) ... #5 6.169 Selecting previously unselected package libalgorithm-diff-perl. #5 6.171 Preparing to unpack .../09-libalgorithm-diff-perl_1.19.03-2_all.deb ... #5 6.175 Unpacking libalgorithm-diff-perl (1.19.03-2) ... #5 6.208 Selecting previously unselected package libalgorithm-diff-xs-perl. #5 6.210 Preparing to unpack .../10-libalgorithm-diff-xs-perl_0.04-5+b1_amd64.deb ... #5 6.216 Unpacking libalgorithm-diff-xs-perl (0.04-5+b1) ... #5 6.247 Selecting previously unselected package libalgorithm-merge-perl. #5 6.249 Preparing to unpack .../11-libalgorithm-merge-perl_0.08-3_all.deb ... #5 6.253 Unpacking libalgorithm-merge-perl (0.08-3) ... #5 6.287 Preparing to unpack .../12-openssl_1.1.1d-0+deb10u6_amd64.deb ... #5 6.301 Unpacking openssl (1.1.1d-0+deb10u6) over (1.1.1d-0+deb10u3) ... #5 6.723 Setting up libalgorithm-diff-perl (1.19.03-2) ... #5 6.735 Setting up bzip2 (1.0.6-9.2~deb10u1) ... #5 6.747 Setting up libfakeroot:amd64 (1.23-1) ... #5 6.766 Setting up fakeroot (1.23-1) ... #5 6.794 update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode #5 6.805 Setting up xz-utils (5.2.4-1) ... #5 6.815 update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode #5 6.823 Setting up patch (2.7.6-3+deb10u1) ... #5 6.837 Setting up libcurl4:amd64 (7.64.0-4+deb10u2) ... #5 6.850 Setting up curl (7.64.0-4+deb10u2) ... #5 6.862 Setting up openssl (1.1.1d-0+deb10u6) ... #5 6.881 Setting up libalgorithm-diff-xs-perl (0.04-5+b1) ... #5 6.893 Setting up libalgorithm-merge-perl (0.08-3) ... #5 6.905 Setting up dpkg-dev (1.19.7) ... #5 6.927 Setting up build-essential (12.6) ... #5 6.940 Processing triggers for libc-bin (2.28-10) ... #5 DONE 7.6s #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 DONE 0.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 DONE 0.8s #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 DONE 0.8s #9 [ 6/11] WORKDIR /go/src/github.com/docker/cli #9 sha256:6bc099873bdac9481983be3ff105fa0fc5966629b1cff437b173b3be8d953791 #9 DONE 0.0s #11 [ 7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/notary.cert #11 sha256:e9f0bf1d8e0ccc06e919428885665080464f5f1bcc58da4fafb7578621a37569 #11 DONE 0.0s #12 [ 8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-certificates #12 sha256:afa342d29e13ce6d8401425b29ca45aca061705ca73f1c9a2f068e9501b37104 #12 0.524 Updating certificates in /etc/ssl/certs... #12 1.030 1 added, 0 removed; done. #12 1.030 Running hooks in /etc/ca-certificates/update.d... #12 1.031 done. #12 DONE 1.1s #13 [ 9/11] COPY . . #13 sha256:c4df63a368cf93aebf3f385fad5d96d10a8c67bdf2edd2ac9100d9787caeea42 #13 DONE 0.7s #14 [10/11] RUN ./scripts/build/binary #14 sha256:7ccc3de2ae696221c9d8bae7668e1031faf65e5a7f51c1ca5a6c362ebc0d2055 #14 0.447 Building static docker-linux-amd64 #14 68.37 # github.com/docker/cli/cli/command/system #14 68.37 cli/command/system/info.go:405:29: undefined: v #14 ERROR: executor failed running [/bin/sh -c ./scripts/build/binary]: exit code: 2 ------ > [10/11] RUN ./scripts/build/binary: ------ executor failed running [/bin/sh -c ./scripts/build/binary]: exit code: 2 docker.Makefile:53: recipe for target 'build_e2e_image' failed make: *** [build_e2e_image] 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