Pull request #4440 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 9ec4ff65f619b5ee40f68f9fa52098cc81564673+4abd25eff188e1be42a9a13ff018cafb17dd9b1e (e92c9b44d01525cba12cf84ddc24ed3fcb220fab) 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 4f8fd6a86e521290dafaf7c28eced2a9b21b220a The recommended git tool is: NONE using credential jps-reader > git rev-parse --resolve-git-dir /var/cloudbees-jenkins-distribution/workspace/cli_PR-4440@libs/jps/.git # 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 > 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 Checking out Revision 4f8fd6a86e521290dafaf7c28eced2a9b21b220a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 4f8fd6a86e521290dafaf7c28eced2a9b21b220a # timeout=10 Commit message: "Merge pull request #26 from docker/add-retry-to-vpn-image-pull" > git rev-list --no-walk 4f8fd6a86e521290dafaf7c28eced2a9b21b220a # timeout=10 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 Still waiting to schedule task Waiting for next available executor on ‘EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-0830d6f0ef2375b66)’ Running on EC2 (managed-agents) - ubuntu-2004-cgroup1 (i-0830d6f0ef2375b66) in /home/ubuntu/workspace/cli_PR-4440 [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-4440 # timeout=10 Fetching upstream changes from https://github.com/docker/cli.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --force --progress -- https://github.com/docker/cli.git +refs/pull/4440/head:refs/remotes/origin/PR-4440 +refs/heads/20.10:refs/remotes/origin/20.10 # timeout=10 Fetching without tags Merging remotes/origin/20.10 commit 4abd25eff188e1be42a9a13ff018cafb17dd9b1e into PR head commit 9ec4ff65f619b5ee40f68f9fa52098cc81564673 Merge succeeded, producing 9ec4ff65f619b5ee40f68f9fa52098cc81564673 Checking out Revision 9ec4ff65f619b5ee40f68f9fa52098cc81564673 (PR-4440) > git config remote.origin.url https://github.com/docker/cli.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/4440/head:refs/remotes/origin/PR-4440 # timeout=10 > git config --add remote.origin.fetch +refs/heads/20.10:refs/remotes/origin/20.10 # 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 --force --progress -- https://github.com/docker/cli.git +refs/pull/4440/head:refs/remotes/origin/PR-4440 +refs/heads/20.10:refs/remotes/origin/20.10 # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ec4ff65f619b5ee40f68f9fa52098cc81564673 # 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 4abd25eff188e1be42a9a13ff018cafb17dd9b1e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9ec4ff65f619b5ee40f68f9fa52098cc81564673 # timeout=10 Commit message: "[20.10] update go to go1.19.11" First time build. Skipping changelog. [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: 24.0.2 API version: 1.43 Go version: go1.20.4 Git commit: cb74dfc Built: Thu May 25 21:52:22 2023 OS/Arch: linux/amd64 Context: default Server: Docker Engine - Community Engine: Version: 24.0.2 API version: 1.43 (minimum version 1.12) Go version: go1.20.4 Git commit: 659604f Built: Thu May 25 21:52:22 2023 OS/Arch: linux/amd64 Experimental: true containerd: Version: 1.6.21 GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8 runc: Version: 1.1.7 GitCommit: v1.1.7-0-g860f061 docker-init: Version: 0.19.0 GitCommit: de40ad0 [Pipeline] sh + docker info Client: Docker Engine - Community Version: 24.0.2 Context: default Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc.) Version: v0.11.0 Path: /usr/libexec/docker/cli-plugins/docker-buildx compose: Docker Compose (Docker Inc.) Version: v2.19.1 Path: /usr/libexec/docker/cli-plugins/docker-compose Server: Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 8 Server Version: 24.0.2 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Using metacopy: false Native Overlay Diff: true userxattr: false 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: runc io.containerd.runc.v2 Default Runtime: runc Init Binary: docker-init containerd version: 3dce8eb055cbb6872793272b4f20ed16117344f8 runc version: v1.1.7-0-g860f061 init version: de40ad0 Security Options: apparmor seccomp Profile: builtin Kernel Version: 5.15.0-1039-aws Operating System: Ubuntu 20.04.6 LTS OSType: linux Architecture: x86_64 CPUs: 8 Total Memory: 30.89GiB Name: ip-10-100-61-28 ID: d0c2daed-e4e3-4393-8304-c6aff8162828 Docker Root Dir: /var/lib/docker Debug Mode: false Experimental: true Insecure Registries: 127.0.0.0/8 Live Restore Enabled: true [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (e2e (non-experimental) - stable engine) [Pipeline] sh + E2E_UNIQUE_ID=clie2e2 IMAGE_TAG=clie2e2 make -f docker.Makefile test-e2e-non-experimental docker build -t docker-cli-e2eclie2e2 --build-arg=GO_VERSION --build-arg VERSION=20.10.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e . #0 building with "default" instance using docker driver #1 [internal] load build definition from Dockerfile.e2e #1 transferring dockerfile: 1.61kB done #1 DONE 0.0s #2 [internal] load .dockerignore #2 transferring context: 112B done #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.19.11-bullseye #3 DONE 0.2s #4 [ 1/11] FROM docker.io/library/golang:1.19.11-bullseye@sha256:da4f269c69781a9801582c73d2bb123c928af3256918d1d96f8fec41eaf69a72 #4 CACHED #5 [internal] load build context #5 transferring context: 83.95MB 0.9s done #5 DONE 0.9s #6 [ 2/11] RUN apt-get update && apt-get install -y build-essential curl openssl openssh-client && rm -rf /var/lib/apt/lists/* #6 0.522 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB] #6 0.534 Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB] #6 0.534 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] #6 0.652 Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB] #6 0.767 Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [252 kB] #6 0.871 Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.8 kB] #6 1.787 Fetched 8658 kB in 2s (5668 kB/s) #6 1.787 Reading package lists... #6 2.282 Reading package lists... #6 2.767 Building dependency tree... #6 2.866 Reading state information... #6 2.978 curl is already the newest version (7.74.0-1.3+deb11u7). #6 2.978 openssh-client is already the newest version (1:8.4p1-5+deb11u1). #6 2.978 openssl is already the newest version (1.1.1n-0+deb11u5). #6 2.978 openssl set to manually installed. #6 2.978 The following additional packages will be installed: #6 2.978 bzip2 dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl #6 2.979 libalgorithm-merge-perl libfakeroot patch xz-utils #6 2.980 Suggested packages: #6 2.980 bzip2-doc debian-keyring ed diffutils-doc #6 3.046 The following NEW packages will be installed: #6 3.046 build-essential bzip2 dpkg-dev fakeroot libalgorithm-diff-perl #6 3.047 libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot patch xz-utils #6 3.314 0 upgraded, 10 newly installed, 0 to remove and 1 not upgraded. #6 3.314 Need to get 2919 kB of archives. #6 3.314 After this operation, 4327 kB of additional disk space will be used. #6 3.314 Get:1 http://deb.debian.org/debian bullseye/main amd64 bzip2 amd64 1.0.8-4 [49.3 kB] #6 3.318 Get:2 http://deb.debian.org/debian bullseye/main amd64 xz-utils amd64 5.2.5-2.1~deb11u1 [220 kB] #6 3.321 Get:3 http://deb.debian.org/debian bullseye/main amd64 patch amd64 2.7.6-7 [128 kB] #6 3.322 Get:4 http://deb.debian.org/debian bullseye/main amd64 dpkg-dev all 1.20.12 [2312 kB] #6 3.338 Get:5 http://deb.debian.org/debian bullseye/main amd64 build-essential amd64 12.9 [7704 B] #6 3.338 Get:6 http://deb.debian.org/debian bullseye/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] #6 3.339 Get:7 http://deb.debian.org/debian bullseye/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] #6 3.340 Get:8 http://deb.debian.org/debian bullseye/main amd64 libalgorithm-diff-perl all 1.201-1 [43.3 kB] #6 3.340 Get:9 http://deb.debian.org/debian bullseye/main amd64 libalgorithm-diff-xs-perl amd64 0.04-6+b1 [12.0 kB] #6 3.340 Get:10 http://deb.debian.org/debian bullseye/main amd64 libalgorithm-merge-perl all 0.08-3 [12.7 kB] #6 3.450 debconf: delaying package configuration, since apt-utils is not installed #6 3.480 Fetched 2919 kB in 0s (10.1 MB/s) #6 3.494 Selecting previously unselected package bzip2. #6 3.494 (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 ... 15722 files and directories currently installed.) #6 3.503 Preparing to unpack .../0-bzip2_1.0.8-4_amd64.deb ... #6 3.506 Unpacking bzip2 (1.0.8-4) ... #6 3.536 Selecting previously unselected package xz-utils. #6 3.537 Preparing to unpack .../1-xz-utils_5.2.5-2.1~deb11u1_amd64.deb ... #6 3.540 Unpacking xz-utils (5.2.5-2.1~deb11u1) ... #6 3.577 Selecting previously unselected package patch. #6 3.578 Preparing to unpack .../2-patch_2.7.6-7_amd64.deb ... #6 3.581 Unpacking patch (2.7.6-7) ... #6 3.614 Selecting previously unselected package dpkg-dev. #6 3.615 Preparing to unpack .../3-dpkg-dev_1.20.12_all.deb ... #6 3.618 Unpacking dpkg-dev (1.20.12) ... #6 3.743 Selecting previously unselected package build-essential. #6 3.745 Preparing to unpack .../4-build-essential_12.9_amd64.deb ... #6 3.748 Unpacking build-essential (12.9) ... #6 3.779 Selecting previously unselected package libfakeroot:amd64. #6 3.780 Preparing to unpack .../5-libfakeroot_1.25.3-1.1_amd64.deb ... #6 3.786 Unpacking libfakeroot:amd64 (1.25.3-1.1) ... #6 3.816 Selecting previously unselected package fakeroot. #6 3.818 Preparing to unpack .../6-fakeroot_1.25.3-1.1_amd64.deb ... #6 3.821 Unpacking fakeroot (1.25.3-1.1) ... #6 3.851 Selecting previously unselected package libalgorithm-diff-perl. #6 3.853 Preparing to unpack .../7-libalgorithm-diff-perl_1.201-1_all.deb ... #6 3.856 Unpacking libalgorithm-diff-perl (1.201-1) ... #6 3.882 Selecting previously unselected package libalgorithm-diff-xs-perl. #6 3.884 Preparing to unpack .../8-libalgorithm-diff-xs-perl_0.04-6+b1_amd64.deb ... #6 3.887 Unpacking libalgorithm-diff-xs-perl (0.04-6+b1) ... #6 3.909 Selecting previously unselected package libalgorithm-merge-perl. #6 3.911 Preparing to unpack .../9-libalgorithm-merge-perl_0.08-3_all.deb ... #6 3.914 Unpacking libalgorithm-merge-perl (0.08-3) ... #6 3.946 Setting up libalgorithm-diff-perl (1.201-1) ... #6 3.956 Setting up bzip2 (1.0.8-4) ... #6 3.965 Setting up libfakeroot:amd64 (1.25.3-1.1) ... #6 3.977 Setting up fakeroot (1.25.3-1.1) ... #6 3.987 update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode #6 3.997 Setting up xz-utils (5.2.5-2.1~deb11u1) ... #6 4.004 update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode #6 4.011 Setting up patch (2.7.6-7) ... #6 4.019 Setting up libalgorithm-diff-xs-perl (0.04-6+b1) ... #6 4.027 Setting up libalgorithm-merge-perl (0.08-3) ... #6 4.036 Setting up dpkg-dev (1.20.12) ... #6 4.051 Setting up build-essential (12.9) ... #6 4.059 Processing triggers for libc-bin (2.31-13+deb11u6) ... #6 DONE 4.4s #7 [ 3/11] RUN curl -fsSL https://github.com/docker/compose/releases/download/1.29.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose #7 DONE 0.5s #8 [ 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 #8 DONE 0.7s #9 [ 5/11] RUN curl -fsSL https://github.com/gotestyourself/gotestsum/releases/download/v1.8.2/gotestsum_1.8.2_linux_amd64.tar.gz -o gotestsum.tar.gz && tar -xf gotestsum.tar.gz gotestsum && mv gotestsum /usr/local/bin/gotestsum && rm gotestsum.tar.gz #9 DONE 0.5s #10 [ 6/11] WORKDIR /go/src/github.com/docker/cli #10 DONE 0.0s #11 [ 7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/notary.cert #11 DONE 0.0s #12 [ 8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-certificates #12 0.308 Updating certificates in /etc/ssl/certs... #12 0.795 1 added, 0 removed; done. #12 0.795 Running hooks in /etc/ca-certificates/update.d... #12 0.796 done. #12 DONE 0.8s #13 [ 9/11] COPY . . #13 DONE 0.7s #14 [10/11] RUN ./scripts/build/binary #14 0.205 Building static docker-linux-amd64 #14 DONE 26.5s #15 [11/11] RUN ./scripts/build/plugins e2e/cli-plugins/plugins/* #15 0.334 Building statically linked build/plugins-linux-amd64/docker-helloworld #15 0.929 Building statically linked build/plugins-linux-amd64/docker-badmeta #15 1.352 Building statically linked build/plugins-linux-amd64/docker-nopersistentprerun #15 DONE 2.0s #16 exporting to image #16 exporting layers #16 exporting layers 1.7s done #16 writing image sha256:6da35ca75d0383da311ac47d2b0573d65d5fa094b1a1dbf4ccc099158c8ce263 done #16 naming to docker.io/library/docker-cli-e2eclie2e2 done #16 DONE 1.7s 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-e2eclie2e2 Creating network "cliendtoendsuite_default" with the default driver Building notary-server #1 [internal] load .dockerignore #1 sha256:75807cc4aa23f3af6776de0191f0fcc6b1361640df5780da23f4809f5b6acf5a #1 CANCELED #2 [internal] load build definition from Dockerfile.notary-server #2 sha256:d044de6458cf79e89b1819286dbd6164ec48f2cc9464ef3f2ee1468a429b2089 #2 CANCELED failed to dial gRPC: http: invalid Host header Service 'notary-server' failed to build : Build failed make: *** [docker.Makefile:135: test-e2e-non-experimental] Error 1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (e2e (non-experimental) - 19.03 engine) Stage "e2e (non-experimental) - 19.03 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