Pull request #3237 updated 16:28:55 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from e4ba580a36381a1cffdf37ee362c87e9bdf66eb7+aa949f2ad50b58300951e633f31fbb9b08363f7d (8b333b3b50f57981fc30600ed1e9ed94f604172f) 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 > git rev-parse --resolve-git-dir /var/cloudbees-jenkins-distribution/workspace/cli_PR-3237@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 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" > git rev-list --no-walk 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 # 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 Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0c3ae626815decaac) in /home/ubuntu/workspace/cli_PR-3237 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential docker-jenkins-github-credentials Fetching changes from the remote Git repository Fetching without tags Merging remotes/origin/master commit aa949f2ad50b58300951e633f31fbb9b08363f7d into PR head commit e4ba580a36381a1cffdf37ee362c87e9bdf66eb7 Merge succeeded, producing 37cc2e0c40e5dd70438e69c533c1c8d6249693f3 Checking out Revision 37cc2e0c40e5dd70438e69c533c1c8d6249693f3 (PR-3237) Commit message: "Merge commit 'aa949f2ad50b58300951e633f31fbb9b08363f7d' into HEAD" > git rev-parse --resolve-git-dir /home/ubuntu/workspace/cli_PR-3237/.git # 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 > 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/3237/head:refs/remotes/origin/PR-3237 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4ba580a36381a1cffdf37ee362c87e9bdf66eb7 # 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 aa949f2ad50b58300951e633f31fbb9b08363f7d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 37cc2e0c40e5dd70438e69c533c1c8d6249693f3 # timeout=10 > git rev-list --no-walk 07c9a1e3cf3c625d6c702370366dfc235d56c299 # 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.6 API version: 1.41 Go version: go1.13.15 Git commit: 370c289 Built: Fri Apr 9 22:46:01 2021 OS/Arch: linux/amd64 Context: default Experimental: true Server: Docker Engine - Community Engine: Version: 20.10.6 API version: 1.41 (minimum version 1.12) Go version: go1.13.15 Git commit: 8728dd2 Built: Fri Apr 9 22:44:13 2021 OS/Arch: linux/amd64 Experimental: true containerd: Version: 1.4.6 GitCommit: d71fcd7d8303cbf684402823e425e9dd2e99285d runc: Version: 1.0.0-rc95 GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7 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) scan: Docker Scan (Docker Inc., v0.7.0) Server: Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 3 Server Version: 20.10.6 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true 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: io.containerd.runtime.v1.linux runc io.containerd.runc.v2 Default Runtime: runc Init Binary: docker-init containerd version: d71fcd7d8303cbf684402823e425e9dd2e99285d runc version: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7 init version: de40ad0 Security Options: apparmor seccomp Profile: default Kernel Version: 5.4.0-1048-aws Operating System: Ubuntu 18.04.5 LTS OSType: linux Architecture: x86_64 CPUs: 2 Total Memory: 7.569GiB Name: ip-10-100-66-162 ID: KG52:ONVY:U5MS:VBR3:3V2I:UMRB:NEG5:YUDM:PLPH:2QKQ:N3BG:QG3A 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 make -f docker.Makefile test-e2e-non-experimental docker build -t docker-cli-e2eclie2e6 --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:39fd466d77c706e9a9437ced2d93817790e942d88fa178579873f1e562cb22d9 #1 transferring dockerfile: 42B done #1 DONE 0.0s #2 [internal] load .dockerignore #2 sha256:e5b0901acc78beeec5599d1e0392d7d83850d9962d41de114c4a605dcc96325b #2 transferring context: 34B done #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.16.6-buster #3 sha256:d720b104ffb4d08cfe3071ebec3e70264008e18c25bbf51555e7bf1acb0818a7 #3 DONE 0.1s #4 [ 1/11] FROM docker.io/library/golang:1.16.6-buster@sha256:f3923dc5a92a237db0f07a924a238a8a4a711e3b77a7b5bdb1b526e107dcb9d4 #4 sha256:a84e5b3218051872d0fdc0dec652f39d424441ec39ad868ed01f6cb71fda87bf #4 DONE 0.0s #10 [internal] load build context #10 sha256:673c2d3373176e8d7dd6fbd28724152af40a5ae5c11946a1dfa399305caaa3eb #10 transferring context: 41.39MB 0.5s done #10 DONE 0.5s #9 [ 6/11] WORKDIR /go/src/github.com/docker/cli #9 sha256:f4299ddb87a3d8e9fc1ba09e5b1070f30da987030c77b94307fca8c887906cf5 #9 CACHED #11 [ 7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/notary.cert #11 sha256:4549a7343ccafabf76b8aa1256d58c4c89661c199db4cbf788f454d03c7cdad9 #11 CACHED #8 [ 5/11] RUN curl -fsSL https://github.com/gotestyourself/gotestsum/releases/download/v1.7.0/gotestsum_1.7.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:d7ab5e73ad0ef459888228b6230548c7203effc3d50ecd0de522c7d77abcdbec #8 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:248bad2141ad3c78be168aad4304bf681c299a072ebdfe1d4df83497db3c5a2f #5 CACHED #6 [ 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 #6 sha256:c4dc4ad34a58c8007d9111e39f1863e149e7ad8b4aa0f4a1088a96048f9fb4ab #6 CACHED #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:03485b4a7dddc2efbe5c20106c5a73e2fa9a71084647c7b0f6b721c6902773c3 #7 CACHED #12 [ 8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-certificates #12 sha256:33d44bca7f365448b70872fc2f43f532bf29b14eb8688f33e9690007ee8d2bd9 #12 CACHED #13 [ 9/11] COPY . . #13 sha256:42237346d5e7b7b015809d3fe50c9d2392dfa1a3cb455df7305278897fcf4ac4 #13 DONE 1.4s #14 [10/11] RUN ./scripts/build/binary #14 sha256:e43b3db17571f8dda8b45b64c685f11bd4619629c3b6fd8895ee7749ca4c0628 #14 0.428 Building static docker-linux-amd64 #14 0.898 vendor/google.golang.org/genproto/protobuf/field_mask/field_mask.go:19:8: cannot find package "google.golang.org/protobuf/types/known/fieldmaskpb" in any of: #14 0.898 /go/src/github.com/docker/cli/vendor/google.golang.org/protobuf/types/known/fieldmaskpb (vendor tree) #14 0.898 /usr/local/go/src/google.golang.org/protobuf/types/known/fieldmaskpb (from $GOROOT) #14 0.898 /go/src/google.golang.org/protobuf/types/known/fieldmaskpb (from $GOPATH) #14 ERROR: executor failed running [/bin/sh -c ./scripts/build/binary]: exit code: 1 ------ > [10/11] RUN ./scripts/build/binary: ------ executor failed running [/bin/sh -c ./scripts/build/binary]: exit code: 1 docker.Makefile:40: recipe for target 'build_e2e_image' failed make: *** [build_e2e_image] 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