Pull request #2503 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 072754fe2feb4435beb96a0a9d78672bad0458b9+8f14db8df2fc9ee5f015df2fa3a3fd1e1d8e0b71 (db4cff281ef37a002ffa6c186d84b291bd24eeda) 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 ad1b00369dd78a15c273e17e363f91bced3f6e18 using credential jps-reader > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/docker/jps.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/docker/jps.git > git --version # timeout=10 using GIT_ASKPASS to set credentials GitHub credentials for docker/jps > git fetch --no-tags --force --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision ad1b00369dd78a15c273e17e363f91bced3f6e18 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f ad1b00369dd78a15c273e17e363f91bced3f6e18 # timeout=10 Commit message: "Merge pull request #22 from docker/add-getOnlineNodeNamesByPrefix" > git rev-list --no-walk ad1b00369dd78a15c273e17e363f91bced3f6e18 # timeout=10 [Pipeline] Start of Pipeline [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘linux&&x86_64’ Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-07a08cc4fb14fe524) in /home/ubuntu/workspace/cli_PR-2503 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [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/cli.git > git init /home/ubuntu/workspace/cli_PR-2503 # timeout=10 Fetching upstream changes from https://github.com/docker/cli.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/cli.git +refs/pull/2503/head:refs/remotes/origin/PR-2503 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 8f14db8df2fc9ee5f015df2fa3a3fd1e1d8e0b71 into PR head commit 072754fe2feb4435beb96a0a9d78672bad0458b9 Merge succeeded, producing 072754fe2feb4435beb96a0a9d78672bad0458b9 Checking out Revision 072754fe2feb4435beb96a0a9d78672bad0458b9 (PR-2503) Commit message: "Rename --pids-limit to --limit-pids to match other limit opts" First time build. Skipping changelog. > git config remote.origin.url https://github.com/docker/cli.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2503/head:refs/remotes/origin/PR-2503 # 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/2503/head:refs/remotes/origin/PR-2503 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 072754fe2feb4435beb96a0a9d78672bad0458b9 # timeout=10 > git merge 8f14db8df2fc9ee5f015df2fa3a3fd1e1d8e0b71 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 072754fe2feb4435beb96a0a9d78672bad0458b9 # timeout=10 > git rev-list --no-walk 29601046283d0f877d41689b9e4f6c9e75979eda # 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: 19.03.11 API version: 1.40 Go version: go1.13.10 Git commit: 42e35e61f3 Built: Mon Jun 1 09:12:22 2020 OS/Arch: linux/amd64 Experimental: false Server: Docker Engine - Community Engine: Version: 19.03.11 API version: 1.40 (minimum version 1.12) Go version: go1.13.10 Git commit: 42e35e61f3 Built: Mon Jun 1 09:10:54 2020 OS/Arch: linux/amd64 Experimental: true containerd: Version: 1.2.13 GitCommit: 7ad184331fa3e55e52b890ea95e65ba581ae3429 runc: Version: 1.0.0-rc10 GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd docker-init: Version: 0.18.0 GitCommit: fec3683 [Pipeline] sh + docker info Client: Debug Mode: false Server: Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 2 Server Version: 19.03.11 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Native Overlay Diff: true Logging Driver: json-file Cgroup Driver: cgroupfs 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 Default Runtime: runc Init Binary: docker-init containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd init version: fec3683 Security Options: apparmor seccomp Profile: default Kernel Version: 5.3.0-1019-aws Operating System: Ubuntu 18.04.4 LTS OSType: linux Architecture: x86_64 CPUs: 2 Total Memory: 7.487GiB Name: ip-10-100-87-175 ID: RJGB:XJSM:YPFK:6UIS:CSGX:C6BF:NQJS:VSMW:NSQY:EJZQ:Q7XQ:4GIL 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=clie2e6 IMAGE_TAG=clie2e6 DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e-non-experimental docker build -t docker-cli-e2eclie2e6 --build-arg=GO_VERSION --build-arg VERSION=20.03.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e . #2 [internal] load build definition from Dockerfile.e2e #2 transferring dockerfile: 1.65kB done #2 DONE 0.0s #1 [internal] load .dockerignore #1 transferring context: 100B done #1 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.13.11-buster #3 DONE 0.2s #4 [1/11] FROM docker.io/library/golang:1.13.11-buster@sha256:5a5bd60a7f22c... #4 resolve docker.io/library/golang:1.13.11-buster@sha256:5a5bd60a7f22cdd0b7e91bcaa131f794337908469a97fa68c86ea08bbdd9f84a done #4 sha256:220a25a4299672d8acdd5a458c92bdf7c4781edfadde0befa392165fc1ca5323 0B / 120.15MB 0.1s #4 sha256:b3616653c78b13171365e69680baad5a061880f155cb8c9190079de2f67871dc 0B / 126B 0.1s #4 sha256:5a5bd60a7f22cdd0b7e91bcaa131f794337908469a97fa68c86ea08bbdd9f84a 1.42kB / 1.42kB done #4 sha256:a95dbe6aaba57fd2b8199869226fa7b9addf06cb816fc15a8a51f3d91ce422c4 1.79kB / 1.79kB done #4 sha256:6a67120df3f4e629a89085f7b78bc8c1ed10da376ebc6b191dd87e2d81d28040 5.46kB / 5.46kB done #4 sha256:b3616653c78b13171365e69680baad5a061880f155cb8c9190079de2f67871dc 126B / 126B 0.1s done #4 sha256:220a25a4299672d8acdd5a458c92bdf7c4781edfadde0befa392165fc1ca5323 7.87MB / 120.15MB 0.3s #4 sha256:220a25a4299672d8acdd5a458c92bdf7c4781edfadde0befa392165fc1ca5323 19.62MB / 120.15MB 0.4s #4 sha256:220a25a4299672d8acdd5a458c92bdf7c4781edfadde0befa392165fc1ca5323 28.83MB / 120.15MB 0.5s #4 sha256:220a25a4299672d8acdd5a458c92bdf7c4781edfadde0befa392165fc1ca5323 55.19MB / 120.15MB 0.7s #4 sha256:220a25a4299672d8acdd5a458c92bdf7c4781edfadde0befa392165fc1ca5323 67.10MB / 120.15MB 0.8s #4 sha256:220a25a4299672d8acdd5a458c92bdf7c4781edfadde0befa392165fc1ca5323 83.89MB / 120.15MB 1.0s #4 sha256:220a25a4299672d8acdd5a458c92bdf7c4781edfadde0befa392165fc1ca5323 96.28MB / 120.15MB 1.2s #4 sha256:220a25a4299672d8acdd5a458c92bdf7c4781edfadde0befa392165fc1ca5323 114.28MB / 120.15MB 1.4s #4 sha256:220a25a4299672d8acdd5a458c92bdf7c4781edfadde0befa392165fc1ca5323 120.15MB / 120.15MB 1.6s done #4 extracting sha256:220a25a4299672d8acdd5a458c92bdf7c4781edfadde0befa392165fc1ca5323 #4 ... #10 [internal] load build context #10 transferring context: 40.46MB 2.4s done #10 DONE 2.4s #4 [1/11] FROM docker.io/library/golang:1.13.11-buster@sha256:5a5bd60a7f22c... #4 extracting sha256:220a25a4299672d8acdd5a458c92bdf7c4781edfadde0befa392165fc1ca5323 4.3s done #4 extracting sha256:b3616653c78b13171365e69680baad5a061880f155cb8c9190079de2f67871dc #4 extracting sha256:b3616653c78b13171365e69680baad5a061880f155cb8c9190079de2f67871dc done #4 DONE 6.3s #5 [2/11] RUN apt-get update && apt-get install -y build-essential ... #5 0.868 Get:1 http://deb.debian.org/debian buster InRelease [121 kB] #5 0.872 Get:2 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] #5 0.883 Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB] #5 1.015 Get:4 http://deb.debian.org/debian buster/main amd64 Packages [7905 kB] #5 1.152 Get:5 http://deb.debian.org/debian buster-updates/main amd64 Packages [7592 B] #5 1.263 Get:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [201 kB] #5 2.325 Fetched 8353 kB in 2s (4900 kB/s) #5 2.325 Reading package lists... #5 2.880 Reading package lists... #5 3.430 Building dependency tree... #5 3.529 Reading state information... #5 3.625 curl is already the newest version (7.64.0-4+deb10u1). #5 3.625 openssh-client is already the newest version (1:7.9p1-10+deb10u2). #5 3.625 openssl is already the newest version (1.1.1d-0+deb10u3). #5 3.625 openssl set to manually installed. #5 3.625 The following additional packages will be installed: #5 3.626 bzip2 dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl #5 3.626 libalgorithm-merge-perl libfakeroot patch xz-utils #5 3.627 Suggested packages: #5 3.627 bzip2-doc debian-keyring ed diffutils-doc #5 3.693 The following NEW packages will be installed: #5 3.694 build-essential bzip2 dpkg-dev fakeroot libalgorithm-diff-perl #5 3.694 libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot patch xz-utils #5 4.070 0 upgraded, 10 newly installed, 0 to remove and 2 not upgraded. #5 4.070 Need to get 2342 kB of archives. #5 4.070 After this operation, 3601 kB of additional disk space will be used. #5 4.070 Get:1 http://deb.debian.org/debian buster/main amd64 bzip2 amd64 1.0.6-9.2~deb10u1 [48.4 kB] #5 4.073 Get:2 http://deb.debian.org/debian buster/main amd64 xz-utils amd64 5.2.4-1 [183 kB] #5 4.076 Get:3 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB] #5 4.079 Get:4 http://deb.debian.org/debian buster/main amd64 dpkg-dev all 1.19.7 [1773 kB] #5 4.098 Get:5 http://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B] #5 4.099 Get:6 http://deb.debian.org/debian buster/main amd64 libfakeroot amd64 1.23-1 [45.9 kB] #5 4.100 Get:7 http://deb.debian.org/debian buster/main amd64 fakeroot amd64 1.23-1 [85.8 kB] #5 4.102 Get:8 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-perl all 1.19.03-2 [47.9 kB] #5 4.102 Get:9 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5+b1 [11.8 kB] #5 4.103 Get:10 http://deb.debian.org/debian buster/main amd64 libalgorithm-merge-perl all 0.08-3 [12.7 kB] #5 4.307 debconf: delaying package configuration, since apt-utils is not installed #5 4.334 Fetched 2342 kB in 0s (5881 kB/s) #5 4.364 Selecting previously unselected package bzip2. #5 4.364 (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 ... 15412 files and directories currently installed.) #5 4.446 Preparing to unpack .../0-bzip2_1.0.6-9.2~deb10u1_amd64.deb ... #5 4.449 Unpacking bzip2 (1.0.6-9.2~deb10u1) ... #5 4.492 Selecting previously unselected package xz-utils. #5 4.492 Preparing to unpack .../1-xz-utils_5.2.4-1_amd64.deb ... #5 4.495 Unpacking xz-utils (5.2.4-1) ... #5 4.553 Selecting previously unselected package patch. #5 4.554 Preparing to unpack .../2-patch_2.7.6-3+deb10u1_amd64.deb ... #5 4.557 Unpacking patch (2.7.6-3+deb10u1) ... #5 4.591 Selecting previously unselected package dpkg-dev. #5 4.591 Preparing to unpack .../3-dpkg-dev_1.19.7_all.deb ... #5 4.594 Unpacking dpkg-dev (1.19.7) ... #5 4.694 Selecting previously unselected package build-essential. #5 4.694 Preparing to unpack .../4-build-essential_12.6_amd64.deb ... #5 4.697 Unpacking build-essential (12.6) ... #5 4.724 Selecting previously unselected package libfakeroot:amd64. #5 4.724 Preparing to unpack .../5-libfakeroot_1.23-1_amd64.deb ... #5 4.730 Unpacking libfakeroot:amd64 (1.23-1) ... #5 4.758 Selecting previously unselected package fakeroot. #5 4.758 Preparing to unpack .../6-fakeroot_1.23-1_amd64.deb ... #5 4.761 Unpacking fakeroot (1.23-1) ... #5 4.791 Selecting previously unselected package libalgorithm-diff-perl. #5 4.791 Preparing to unpack .../7-libalgorithm-diff-perl_1.19.03-2_all.deb ... #5 4.794 Unpacking libalgorithm-diff-perl (1.19.03-2) ... #5 4.821 Selecting previously unselected package libalgorithm-diff-xs-perl. #5 4.821 Preparing to unpack .../8-libalgorithm-diff-xs-perl_0.04-5+b1_amd64.deb ... #5 4.824 Unpacking libalgorithm-diff-xs-perl (0.04-5+b1) ... #5 4.844 Selecting previously unselected package libalgorithm-merge-perl. #5 4.846 Preparing to unpack .../9-libalgorithm-merge-perl_0.08-3_all.deb ... #5 4.849 Unpacking libalgorithm-merge-perl (0.08-3) ... #5 4.879 Setting up libalgorithm-diff-perl (1.19.03-2) ... #5 4.888 Setting up bzip2 (1.0.6-9.2~deb10u1) ... #5 4.895 Setting up libfakeroot:amd64 (1.23-1) ... #5 4.905 Setting up fakeroot (1.23-1) ... #5 4.925 update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode #5 4.935 Setting up xz-utils (5.2.4-1) ... #5 4.942 update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode #5 4.948 Setting up patch (2.7.6-3+deb10u1) ... #5 4.955 Setting up libalgorithm-diff-xs-perl (0.04-5+b1) ... #5 4.963 Setting up libalgorithm-merge-perl (0.08-3) ... #5 4.972 Setting up dpkg-dev (1.19.7) ... #5 4.987 Setting up build-essential (12.6) ... #5 4.995 Processing triggers for libc-bin (2.28-10) ... #5 DONE 6.1s #6 [3/11] RUN curl -fsSL https://github.com/docker/compose/releases/downloa... #6 DONE 1.2s #7 [4/11] RUN curl -fsSL https://github.com/theupdateframework/notary/relea... #7 DONE 0.9s #8 [5/11] RUN curl -fsSL https://github.com/gotestyourself/gotestsum/releas... #8 DONE 0.7s #9 [6/11] WORKDIR /go/src/github.com/docker/cli #9 DONE 0.0s #11 [7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/... #11 DONE 0.0s #12 [8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-... #12 0.532 Updating certificates in /etc/ssl/certs... #12 1.021 1 added, 0 removed; done. #12 1.022 Running hooks in /etc/ca-certificates/update.d... #12 1.023 done. #12 DONE 1.1s #13 [9/11] COPY . . #13 DONE 0.6s #14 [10/11] RUN ./scripts/build/binary #14 0.529 Building statically linked build/docker-linux-amd64 #14 26.83 # github.com/docker/cli/cli/compose/schema #14 26.83 cli/compose/schema/bindata.go:586:1: syntax error: unexpected <<, expecting expression #14 26.83 cli/compose/schema/bindata.go:633:81: exponent has no digits #14 26.83 cli/compose/schema/bindata.go:666:11: exponent has no digits #14 26.83 cli/compose/schema/bindata.go:672:15: string not terminated #14 44.42 # github.com/docker/cli/cli/command/service #14 44.42 cli/command/service/formatter.go:505:55: ctx.Service.Spec.TaskTemplate.Resources.Limits.PidsLimit undefined (type *swarm.Limit has no field or method PidsLimit) #14 44.42 cli/command/service/opts.go:241:12: undefined: swarm.ResourceLimit #14 44.42 cli/command/service/update.go:321:29: undefined: swarm.ResourceLimit #14 44.42 cli/command/service/update.go:352:52: task.Resources.Limits.PidsLimit undefined (type *swarm.Limit has no field or method PidsLimit) #14 ERROR: executor failed running [/bin/sh -c ./scripts/build/binary]: runc did not terminate sucessfully ------ > [10/11] RUN ./scripts/build/binary: ------ failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c ./scripts/build/binary]: runc did not terminate sucessfully docker.Makefile:56: 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