Pull request #2095 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from f98de1ccbb0e23d09e38700dfbae9192d45d3d5c+8aeaf60b3a6eb49ad3ee7bea63ae61f2817c7a7f (3b19b8f7d381e88a856ff6d7cd1440bee22f0f3a) 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 26028d2ce48352c9b2c3f496e963b79a4944a426 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 --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master Checking out Revision 26028d2ce48352c9b2c3f496e963b79a4944a426 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 26028d2ce48352c9b2c3f496e963b79a4944a426 Commit message: "[TAR-1227] Run the sonar container as the current user (#17)" > git rev-list --no-walk 26028d2ce48352c9b2c3f496e963b79a4944a426 # timeout=10 [Pipeline] Start of Pipeline [Pipeline] node Running on ubuntu-1804-overlay2 (i-0b885d95133e67e6c) in /home/ubuntu/workspace/cli_PR-2095 [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/cli_PR-2095@tmp/e44d2d59-5b51-455d-bb28-e8d6b69d5b53/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] echo cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo chowning workspace [Pipeline] sh + uname -m [Pipeline] sh + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/cli_PR-2095:/workspace busybox chown -R 1000:1000 /workspace Unable to find image 'busybox:latest' locally latest: Pulling from library/busybox 0f8c40e1270f: Pulling fs layer 0f8c40e1270f: Verifying Checksum 0f8c40e1270f: Download complete 0f8c40e1270f: Pull complete Digest: sha256:1303dbf110c57f3edf68d9f5a16c082ec06c4cf7604831669faf2c712260b5a0 Status: Downloaded newer image for busybox:latest [Pipeline] echo Removing all docker containers [Pipeline] sh + docker container ls -aq [Pipeline] echo Docker containers have been removed [Pipeline] echo cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo cleanWorkspace: Workspace is clean. [Pipeline] timeout Timeout set to expire in 1 hr 0 min [Pipeline] { [Pipeline] stage Using the ‘stage’ step without a block argument is deprecated Entering stage Git Checkout Proceeding [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-2095 # 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/2095/head:refs/remotes/origin/PR-2095 +refs/heads/master:refs/remotes/origin/master Fetching without tags Merging remotes/origin/master commit 8aeaf60b3a6eb49ad3ee7bea63ae61f2817c7a7f into PR head commit f98de1ccbb0e23d09e38700dfbae9192d45d3d5c > git config remote.origin.url https://github.com/docker/cli.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2095/head:refs/remotes/origin/PR-2095 # 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/2095/head:refs/remotes/origin/PR-2095 +refs/heads/master:refs/remotes/origin/master > git config core.sparsecheckout # timeout=10 > git checkout -f f98de1ccbb0e23d09e38700dfbae9192d45d3d5c Merge succeeded, producing 23de096ba2fe9ae805fcdfd7518c26d84474e63d Checking out Revision 23de096ba2fe9ae805fcdfd7518c26d84474e63d (PR-2095) > git merge 8aeaf60b3a6eb49ad3ee7bea63ae61f2817c7a7f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 23de096ba2fe9ae805fcdfd7518c26d84474e63d Commit message: "Merge commit '8aeaf60b3a6eb49ad3ee7bea63ae61f2817c7a7f' into HEAD" First time build. Skipping changelog. [Pipeline] stage Using the ‘stage’ step without a block argument is deprecated Entering stage Run end-to-end test suite Proceeding [Pipeline] sh + docker version Client: Docker Engine - Community Version: 19.03.2 API version: 1.40 Go version: go1.12.8 Git commit: 6a30dfc Built: Thu Aug 29 05:29:11 2019 OS/Arch: linux/amd64 Experimental: false Server: Docker Engine - Community Engine: Version: 19.03.2 API version: 1.40 (minimum version 1.12) Go version: go1.12.8 Git commit: 6a30dfc Built: Thu Aug 29 05:27:45 2019 OS/Arch: linux/amd64 Experimental: true containerd: Version: 1.2.6 GitCommit: 894b81a4b802e4eb2a91d1ce216b8817763c29fb runc: Version: 1.0.0-rc8 GitCommit: 425e105d5a03fabd737a126ad93d62a9eeede87f docker-init: Version: 0.18.0 GitCommit: fec3683 [Pipeline] sh > git rev-list --no-walk 41d2a2bed25db75778be98396abbd1ebd0e9c43a # timeout=10 + docker info Client: Debug Mode: false Server: Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 39 Server Version: 19.03.2 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: 894b81a4b802e4eb2a91d1ce216b8817763c29fb runc version: 425e105d5a03fabd737a126ad93d62a9eeede87f init version: fec3683 Security Options: apparmor seccomp Profile: default Kernel Version: 4.15.0-1048-aws Operating System: Ubuntu 18.04.3 LTS OSType: linux Architecture: x86_64 CPUs: 2 Total Memory: 7.501GiB Name: ip-10-100-109-134 ID: O7UF:J7PM:BBOA:MCJH:BMAQ:O5XU:4D4U:YHPF:2JNI:LSPI:7LJ3:3UMG Docker Root Dir: /var/lib/docker Debug Mode: false Username: dockerbuildbot 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] sh + E2E_UNIQUE_ID=clie2e10 IMAGE_TAG=clie2e10 DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e docker build -t docker-cli-e2eclie2e10 --build-arg=GO_VERSION --build-arg VERSION=19.09.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e . #1 [internal] load .dockerignore #1 transferring context: 100B done #1 DONE 0.0s #2 [internal] load build definition from Dockerfile.e2e #2 transferring dockerfile: 1.58kB done #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.12.12 #3 DONE 0.3s #10 [internal] load build context #10 transferring context: 43.99MB 1.8s done #10 DONE 1.9s #4 [1/11] FROM docker.io/library/golang:1.12.12@sha256:f80dfc88ee2af04de5e4... #4 resolve docker.io/library/golang:1.12.12@sha256:f80dfc88ee2af04de5e4a64a6d764e4e61c84b50504d13d706b700234198ab09 done #4 sha256:f80dfc88ee2af04de5e4a64a6d764e4e61c84b50504d13d706b700234198ab09 2.16kB / 2.16kB done #4 sha256:25f57e47afcef7f2b494780f429b793cd623b7f2538f09118702bead841abf4d 5.46kB / 5.46kB done #4 sha256:1de3250885d90578dd2fd9b544f59a5133881b070f9c590454ff4b9e9f565e92 127.97MB / 127.97MB 1.8s #4 sha256:5edd1231cc1301ccda40312ceb4cf20bd168b798a37da8c0b8a56082f64cea05 126B / 126B 0.1s done #4 sha256:a3126e9d643947fe3ccf278540cb2372741cb4060e9af73d670981b9b1fd82c3 1.79kB / 1.79kB done #4 sha256:1de3250885d90578dd2fd9b544f59a5133881b070f9c590454ff4b9e9f565e92 127.97MB / 127.97MB 1.9s done #4 extracting sha256:1de3250885d90578dd2fd9b544f59a5133881b070f9c590454ff4b9e9f565e92 #4 extracting sha256:1de3250885d90578dd2fd9b544f59a5133881b070f9c590454ff4b9e9f565e92 4.2s done #4 extracting sha256:5edd1231cc1301ccda40312ceb4cf20bd168b798a37da8c0b8a56082f64cea05 done #4 DONE 6.5s #5 [2/11] RUN apt-get update && apt-get install -y build-essential ... #5 1.070 Get:1 http://deb.debian.org/debian buster InRelease [122 kB] #5 1.070 Get:2 http://security.debian.org/debian-security buster/updates InRelease [39.1 kB] #5 1.080 Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB] #5 1.167 Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [113 kB] #5 1.269 Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7899 kB] #5 1.399 Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [5792 B] #5 2.511 Fetched 8227 kB in 2s (4863 kB/s) #5 2.511 Reading package lists... #5 3.117 Reading package lists... #5 3.699 Building dependency tree... #5 3.815 Reading state information... #5 3.918 curl is already the newest version (7.64.0-4). #5 3.918 openssh-client is already the newest version (1:7.9p1-10+deb10u1). #5 3.918 openssl is already the newest version (1.1.1d-0+deb10u2). #5 3.918 openssl set to manually installed. #5 3.918 The following additional packages will be installed: #5 3.918 bzip2 dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl #5 3.919 libalgorithm-merge-perl libfakeroot patch xz-utils #5 3.919 Suggested packages: #5 3.919 bzip2-doc debian-keyring ed diffutils-doc #5 3.989 The following NEW packages will be installed: #5 3.989 build-essential bzip2 dpkg-dev fakeroot libalgorithm-diff-perl #5 3.990 libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot patch xz-utils #5 4.256 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. #5 4.256 Need to get 2342 kB of archives. #5 4.256 After this operation, 3601 kB of additional disk space will be used. #5 4.256 Get:1 http://deb.debian.org/debian buster/main amd64 bzip2 amd64 1.0.6-9.2~deb10u1 [48.4 kB] #5 4.259 Get:2 http://deb.debian.org/debian buster/main amd64 xz-utils amd64 5.2.4-1 [183 kB] #5 4.264 Get:3 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB] #5 4.264 Get:4 http://deb.debian.org/debian buster/main amd64 dpkg-dev all 1.19.7 [1773 kB] #5 4.280 Get:5 http://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B] #5 4.281 Get:6 http://deb.debian.org/debian buster/main amd64 libfakeroot amd64 1.23-1 [45.9 kB] #5 4.284 Get:7 http://deb.debian.org/debian buster/main amd64 fakeroot amd64 1.23-1 [85.8 kB] #5 4.285 Get:8 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-perl all 1.19.03-2 [47.9 kB] #5 4.285 Get:9 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5+b1 [11.8 kB] #5 4.286 Get:10 http://deb.debian.org/debian buster/main amd64 libalgorithm-merge-perl all 0.08-3 [12.7 kB] #5 4.401 debconf: delaying package configuration, since apt-utils is not installed #5 4.424 Fetched 2342 kB in 0s (8234 kB/s) #5 4.442 Selecting previously unselected package bzip2. #5 4.442 (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 ... 15394 files and directories currently installed.) #5 4.451 Preparing to unpack .../0-bzip2_1.0.6-9.2~deb10u1_amd64.deb ... #5 4.455 Unpacking bzip2 (1.0.6-9.2~deb10u1) ... #5 4.487 Selecting previously unselected package xz-utils. #5 4.489 Preparing to unpack .../1-xz-utils_5.2.4-1_amd64.deb ... #5 4.492 Unpacking xz-utils (5.2.4-1) ... #5 4.534 Selecting previously unselected package patch. #5 4.535 Preparing to unpack .../2-patch_2.7.6-3+deb10u1_amd64.deb ... #5 4.539 Unpacking patch (2.7.6-3+deb10u1) ... #5 4.578 Selecting previously unselected package dpkg-dev. #5 4.579 Preparing to unpack .../3-dpkg-dev_1.19.7_all.deb ... #5 4.585 Unpacking dpkg-dev (1.19.7) ... #5 4.700 Selecting previously unselected package build-essential. #5 4.702 Preparing to unpack .../4-build-essential_12.6_amd64.deb ... #5 4.706 Unpacking build-essential (12.6) ... #5 4.740 Selecting previously unselected package libfakeroot:amd64. #5 4.742 Preparing to unpack .../5-libfakeroot_1.23-1_amd64.deb ... #5 4.749 Unpacking libfakeroot:amd64 (1.23-1) ... #5 4.784 Selecting previously unselected package fakeroot. #5 4.786 Preparing to unpack .../6-fakeroot_1.23-1_amd64.deb ... #5 4.789 Unpacking fakeroot (1.23-1) ... #5 4.821 Selecting previously unselected package libalgorithm-diff-perl. #5 4.823 Preparing to unpack .../7-libalgorithm-diff-perl_1.19.03-2_all.deb ... #5 4.827 Unpacking libalgorithm-diff-perl (1.19.03-2) ... #5 4.855 Selecting previously unselected package libalgorithm-diff-xs-perl. #5 4.857 Preparing to unpack .../8-libalgorithm-diff-xs-perl_0.04-5+b1_amd64.deb ... #5 4.860 Unpacking libalgorithm-diff-xs-perl (0.04-5+b1) ... #5 4.885 Selecting previously unselected package libalgorithm-merge-perl. #5 4.887 Preparing to unpack .../9-libalgorithm-merge-perl_0.08-3_all.deb ... #5 4.890 Unpacking libalgorithm-merge-perl (0.08-3) ... #5 4.926 Setting up libalgorithm-diff-perl (1.19.03-2) ... #5 4.937 Setting up bzip2 (1.0.6-9.2~deb10u1) ... #5 4.946 Setting up libfakeroot:amd64 (1.23-1) ... #5 4.959 Setting up fakeroot (1.23-1) ... #5 4.978 update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode #5 4.988 Setting up xz-utils (5.2.4-1) ... #5 4.997 update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode #5 5.004 Setting up patch (2.7.6-3+deb10u1) ... #5 5.018 Setting up libalgorithm-diff-xs-perl (0.04-5+b1) ... #5 5.031 Setting up libalgorithm-merge-perl (0.08-3) ... #5 5.042 Setting up dpkg-dev (1.19.7) ... #5 5.060 Setting up build-essential (12.6) ... #5 5.071 Processing triggers for libc-bin (2.28-10) ... #5 DONE 7.1s #6 [3/11] RUN curl -L https://github.com/docker/compose/releases/download/1... #6 0.887 % Total % Received % Xferd Average Speed Time Time Time Current #6 0.887 Dload Upload Total Spent Left Speed #6 0.887 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 617 0 617 0 0 5558 0 --:--:-- --:--:-- --:--:-- 5558 #6 1.133 100 10.3M 100 10.3M 0 0 42.2M 0 --:--:-- --:--:-- --:--:-- 42.2M #6 DONE 1.3s #7 [4/11] RUN curl -Ls https://github.com/theupdateframework/notary/release... #7 DONE 1.1s #8 [5/11] RUN curl -Ls https://github.com/gotestyourself/gotestsum/releases... #8 DONE 1.2s #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.1s #12 [8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-... #12 0.875 Updating certificates in /etc/ssl/certs... #12 1.410 1 added, 0 removed; done. #12 1.410 Running hooks in /etc/ca-certificates/update.d... #12 1.412 done. #12 DONE 1.5s #13 [9/11] COPY . . #13 DONE 0.9s #14 [10/11] RUN ./scripts/build/binary #14 0.830 Building statically linked build/docker-linux-amd64 #14 25.45 # github.com/docker/cli/cli/command #14 25.45 cli/command/cli.go:175:1: missing return at end of function #14 ERROR: executor failed running [/bin/sh -c ./scripts/build/binary]: exit code: 2 ------ > [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]: exit code: 2 docker.Makefile:55: recipe for target 'build_e2e_image' failed make: *** [build_e2e_image] Error 1 [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [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