Skip to content
Failed

Console Output

Pull request #3197 updated
16:58:45 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from 02cb88a2022d366c18cccb6ab5b527ba48d899d5+e879f1aea711dff5413fb10deadce8a4d5604b4b (740a83cbe28dd1889c879ab82574d32fcd3e79f5)
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-3197@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-0836a3d42302836c7) in /home/ubuntu/workspace/cli_PR-3197
[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 e879f1aea711dff5413fb10deadce8a4d5604b4b into PR head commit 02cb88a2022d366c18cccb6ab5b527ba48d899d5
Merge succeeded, producing 02cb88a2022d366c18cccb6ab5b527ba48d899d5
Checking out Revision 02cb88a2022d366c18cccb6ab5b527ba48d899d5 (PR-3197)
Commit message: "update go-connections"
 > git rev-parse --resolve-git-dir /home/ubuntu/workspace/cli_PR-3197/.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/3197/head:refs/remotes/origin/PR-3197 +refs/heads/master:refs/remotes/origin/master # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 02cb88a2022d366c18cccb6ab5b527ba48d899d5 # 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 e879f1aea711dff5413fb10deadce8a4d5604b4b # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 02cb88a2022d366c18cccb6ab5b527ba48d899d5 # timeout=10
 > git rev-list --no-walk 52be33460d22bc7eedb30fd23b61d7a6a76184a2 # 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: 6
 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.runc.v2 io.containerd.runtime.v1.linux runc
 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-118-38
 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=clie2e22 IMAGE_TAG=clie2e22 make -f docker.Makefile test-e2e-non-experimental
docker build -t docker-cli-e2eclie2e22 --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:75a9c529053319dabe19a851bdf442684cbadcff70b0f3ac0f2199f455dc23a9
#1 transferring dockerfile: 1.64kB done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 sha256:f113d9be33f9745a82a9d22a3495a894250888dde7f161f78828cbdf22fc2c3a
#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 CACHED

#10 [internal] load build context
#10 sha256:a85c89dd90daa42d95b39c871c2b915b4ffa3490dd24b854ba3c84040adcaf20
#10 transferring context: 40.62MB 0.9s done
#10 DONE 0.9s

#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 1.153 Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
#5 1.158 Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
#5 1.164 Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
#5 1.255 Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [297 kB]
#5 1.372 Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB]
#5 1.623 Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [15.2 kB]
#5 2.734 Fetched 8458 kB in 2s (4613 kB/s)
#5 2.734 Reading package lists...
#5 3.304 Reading package lists...
#5 3.873 Building dependency tree...
#5 3.990 Reading state information...
#5 4.087 curl is already the newest version (7.64.0-4+deb10u2).
#5 4.087 openssh-client is already the newest version (1:7.9p1-10+deb10u2).
#5 4.087 openssl is already the newest version (1.1.1d-0+deb10u6).
#5 4.087 openssl set to manually installed.
#5 4.087 The following additional packages will be installed:
#5 4.087   bzip2 dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl
#5 4.087   libalgorithm-merge-perl libfakeroot patch xz-utils
#5 4.088 Suggested packages:
#5 4.088   bzip2-doc debian-keyring ed diffutils-doc
#5 4.159 The following NEW packages will be installed:
#5 4.159   build-essential bzip2 dpkg-dev fakeroot libalgorithm-diff-perl
#5 4.160   libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot patch xz-utils
#5 4.424 0 upgraded, 10 newly installed, 0 to remove and 4 not upgraded.
#5 4.424 Need to get 2342 kB of archives.
#5 4.424 After this operation, 3601 kB of additional disk space will be used.
#5 4.424 Get:1 http://deb.debian.org/debian buster/main amd64 bzip2 amd64 1.0.6-9.2~deb10u1 [48.4 kB]
#5 4.426 Get:2 http://deb.debian.org/debian buster/main amd64 xz-utils amd64 5.2.4-1 [183 kB]
#5 4.429 Get:3 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB]
#5 4.430 Get:4 http://deb.debian.org/debian buster/main amd64 dpkg-dev all 1.19.7 [1773 kB]
#5 4.448 Get:5 http://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B]
#5 4.448 Get:6 http://deb.debian.org/debian buster/main amd64 libfakeroot amd64 1.23-1 [45.9 kB]
#5 4.471 Get:7 http://deb.debian.org/debian buster/main amd64 fakeroot amd64 1.23-1 [85.8 kB]
#5 4.472 Get:8 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-perl all 1.19.03-2 [47.9 kB]
#5 4.473 Get:9 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5+b1 [11.8 kB]
#5 4.473 Get:10 http://deb.debian.org/debian buster/main amd64 libalgorithm-merge-perl all 0.08-3 [12.7 kB]
#5 4.643 debconf: delaying package configuration, since apt-utils is not installed
#5 4.668 Fetched 2342 kB in 0s (7720 kB/s)
#5 4.686 Selecting previously unselected package bzip2.
#5 4.686 (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 ... 15421 files and directories currently installed.)
#5 4.696 Preparing to unpack .../0-bzip2_1.0.6-9.2~deb10u1_amd64.deb ...
#5 4.700 Unpacking bzip2 (1.0.6-9.2~deb10u1) ...
#5 4.737 Selecting previously unselected package xz-utils.
#5 4.739 Preparing to unpack .../1-xz-utils_5.2.4-1_amd64.deb ...
#5 4.743 Unpacking xz-utils (5.2.4-1) ...
#5 4.787 Selecting previously unselected package patch.
#5 4.789 Preparing to unpack .../2-patch_2.7.6-3+deb10u1_amd64.deb ...
#5 4.794 Unpacking patch (2.7.6-3+deb10u1) ...
#5 4.834 Selecting previously unselected package dpkg-dev.
#5 4.835 Preparing to unpack .../3-dpkg-dev_1.19.7_all.deb ...
#5 4.840 Unpacking dpkg-dev (1.19.7) ...
#5 4.945 Selecting previously unselected package build-essential.
#5 4.947 Preparing to unpack .../4-build-essential_12.6_amd64.deb ...
#5 4.952 Unpacking build-essential (12.6) ...
#5 4.986 Selecting previously unselected package libfakeroot:amd64.
#5 4.988 Preparing to unpack .../5-libfakeroot_1.23-1_amd64.deb ...
#5 4.997 Unpacking libfakeroot:amd64 (1.23-1) ...
#5 5.032 Selecting previously unselected package fakeroot.
#5 5.034 Preparing to unpack .../6-fakeroot_1.23-1_amd64.deb ...
#5 5.038 Unpacking fakeroot (1.23-1) ...
#5 5.071 Selecting previously unselected package libalgorithm-diff-perl.
#5 5.073 Preparing to unpack .../7-libalgorithm-diff-perl_1.19.03-2_all.deb ...
#5 5.077 Unpacking libalgorithm-diff-perl (1.19.03-2) ...
#5 5.108 Selecting previously unselected package libalgorithm-diff-xs-perl.
#5 5.110 Preparing to unpack .../8-libalgorithm-diff-xs-perl_0.04-5+b1_amd64.deb ...
#5 5.113 Unpacking libalgorithm-diff-xs-perl (0.04-5+b1) ...
#5 5.138 Selecting previously unselected package libalgorithm-merge-perl.
#5 5.140 Preparing to unpack .../9-libalgorithm-merge-perl_0.08-3_all.deb ...
#5 5.144 Unpacking libalgorithm-merge-perl (0.08-3) ...
#5 5.184 Setting up libalgorithm-diff-perl (1.19.03-2) ...
#5 5.194 Setting up bzip2 (1.0.6-9.2~deb10u1) ...
#5 5.205 Setting up libfakeroot:amd64 (1.23-1) ...
#5 5.221 Setting up fakeroot (1.23-1) ...
#5 5.234 update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
#5 5.246 Setting up xz-utils (5.2.4-1) ...
#5 5.256 update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
#5 5.266 Setting up patch (2.7.6-3+deb10u1) ...
#5 5.280 Setting up libalgorithm-diff-xs-perl (0.04-5+b1) ...
#5 5.294 Setting up libalgorithm-merge-perl (0.08-3) ...
#5 5.307 Setting up dpkg-dev (1.19.7) ...
#5 5.328 Setting up build-essential (12.6) ...
#5 5.340 Processing triggers for libc-bin (2.28-10) ...
#5 DONE 5.9s

#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 DONE 0.8s

#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 DONE 0.9s

#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:a44deb9089f1cf4cb9c257b5e3032a72d48aa142d34098ac53d09a97eb0a91ac
#8 DONE 0.7s

#9 [ 6/11] WORKDIR /go/src/github.com/docker/cli
#9 sha256:02e932cb10bca4140ef9d94e1740bff4a606fc9e0480f412298e7e37d8443145
#9 DONE 0.1s

#11 [ 7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/notary.cert
#11 sha256:922cc6e077ffb5cb55f53a0560fbbed15939e6efd56890ebaf8887fab896e024
#11 DONE 0.0s

#12 [ 8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-certificates
#12 sha256:f809a075dc21bc2b8a5988f4a1d05004a25a7e8479fa6f8196d9b6cc2fe94e8b
#12 0.465 Updating certificates in /etc/ssl/certs...
#12 1.003 1 added, 0 removed; done.
#12 1.004 Running hooks in /etc/ca-certificates/update.d...
#12 1.005 done.
#12 DONE 1.1s

#13 [ 9/11] COPY . .
#13 sha256:9273201030fd9dbbedb65300f2afedaf2a66deaf5cca9710c227cde3d91a2170
#13 DONE 0.8s

#14 [10/11] RUN ./scripts/build/binary
#14 sha256:3c3df3fd5b7dcec0042a8dd7147c18746ec0d3cd8319cfc3f95875f6eaff0eee
#14 0.442 Building static docker-linux-amd64
#14 0.445 build flag -mod=vendor only valid when using modules
#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:53: 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