Skip to content
Failed

Console Output

Pull request #2695 updated
14:01:11 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from 2c7f226b6011fcb8f499211cb3d2257d38e8e868+80fd48bcb7e7cc525078d2cd11cf3cb20ca5bb32 (6a1eb9208519fb06a261c87e51f2e069d827289d)
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
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
 > 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-0bb896c5cb5023aab) in /home/ubuntu/workspace/cli_PR-2695
[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-2695 # 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/2695/head:refs/remotes/origin/PR-2695 +refs/heads/19.03:refs/remotes/origin/19.03 # timeout=10
Fetching without tags
Merging remotes/origin/19.03 commit 80fd48bcb7e7cc525078d2cd11cf3cb20ca5bb32 into PR head commit 2c7f226b6011fcb8f499211cb3d2257d38e8e868
 > git config remote.origin.url https://github.com/docker/cli.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/2695/head:refs/remotes/origin/PR-2695 # timeout=10
 > git config --add remote.origin.fetch +refs/heads/19.03:refs/remotes/origin/19.03 # 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/2695/head:refs/remotes/origin/PR-2695 +refs/heads/19.03:refs/remotes/origin/19.03 # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2c7f226b6011fcb8f499211cb3d2257d38e8e868 # timeout=10
Merge succeeded, producing 2c7f226b6011fcb8f499211cb3d2257d38e8e868
Checking out Revision 2c7f226b6011fcb8f499211cb3d2257d38e8e868 (PR-2695)
Commit message: "Replace vbom.ml/util with fvbommel/sortorder"
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
 > git remote # timeout=10
 > git config --get remote.origin.url # timeout=10
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git merge 80fd48bcb7e7cc525078d2cd11cf3cb20ca5bb32 # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2c7f226b6011fcb8f499211cb3d2257d38e8e868 # timeout=10
 > git rev-list --no-walk 5f8026fae390541a4c55f67434cf9237a84af7df # timeout=10
+ docker version
Client: Docker Engine - Community
 Version:           19.03.12
 API version:       1.40
 Go version:        go1.13.10
 Git commit:        48a66213fe
 Built:             Mon Jun 22 15:45:36 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.12
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.10
  Git commit:       48a66213fe
  Built:            Mon Jun 22 15:44:07 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: 5
 Server Version: 19.03.12
 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-1030-aws
 Operating System: Ubuntu 18.04.4 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 2
 Total Memory: 7.487GiB
 Name: ip-10-100-109-252
 ID: TFWN:GZLY:T5PB:COH3:REM2:HVJX:YXUV:UT7N:56FA:ZQAG:WP4M:HEIO
 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=clie2e3 IMAGE_TAG=clie2e3 DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e-non-experimental
docker build -t docker-cli-e2eclie2e3 --build-arg=GO_VERSION --build-arg VERSION=19.03.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e .
#2 [internal] load build definition from Dockerfile.e2e
#2 transferring dockerfile: 1.58kB 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.14-buster
#3 DONE 0.8s

#4 [1/11] FROM docker.io/library/golang:1.13.14-buster@sha256:def37bf2c26e8...
#4 resolve docker.io/library/golang:1.13.14-buster@sha256:def37bf2c26e8c91eae9036b24e942cd1866e177f4bed0386bc73ca90e386210 done
#4 sha256:def37bf2c26e8c91eae9036b24e942cd1866e177f4bed0386bc73ca90e386210 1.86kB / 1.86kB done
#4 sha256:e97eae18b0aa1ae34e6bce322e3dd5d00e923e57ae28fa4d6ec4beb6d6ed5094 1.79kB / 1.79kB done
#4 sha256:74c98a328644d0ee4f75a3a143b5de5fcb8a9c1dac214875a1a111e3eff945f0 0B / 120.18MB 0.1s
#4 sha256:bd7875c6cd465351857e18c75e8841346ec3bba4e07750ca32239fd6a8f41058 6.19kB / 6.19kB done
#4 sha256:d5323669af91aeb72c29ecf41caa93a92d1ee1d228baca4d017005cebd17122b 0B / 126B 0.1s
#4 sha256:74c98a328644d0ee4f75a3a143b5de5fcb8a9c1dac214875a1a111e3eff945f0 7.64MB / 120.18MB 0.3s
#4 sha256:d5323669af91aeb72c29ecf41caa93a92d1ee1d228baca4d017005cebd17122b 126B / 126B 0.2s done
#4 sha256:74c98a328644d0ee4f75a3a143b5de5fcb8a9c1dac214875a1a111e3eff945f0 23.85MB / 120.18MB 0.5s
#4 sha256:74c98a328644d0ee4f75a3a143b5de5fcb8a9c1dac214875a1a111e3eff945f0 30.31MB / 120.18MB 0.6s
#4 sha256:74c98a328644d0ee4f75a3a143b5de5fcb8a9c1dac214875a1a111e3eff945f0 38.21MB / 120.18MB 0.7s
#4 sha256:74c98a328644d0ee4f75a3a143b5de5fcb8a9c1dac214875a1a111e3eff945f0 47.70MB / 120.18MB 1.0s
#4 sha256:74c98a328644d0ee4f75a3a143b5de5fcb8a9c1dac214875a1a111e3eff945f0 61.61MB / 120.18MB 1.2s
#4 sha256:74c98a328644d0ee4f75a3a143b5de5fcb8a9c1dac214875a1a111e3eff945f0 69.25MB / 120.18MB 1.3s
#4 ...

#10 [internal] load build context
#10 transferring context: 41.81MB 1.6s done
#10 DONE 1.6s

#4 [1/11] FROM docker.io/library/golang:1.13.14-buster@sha256:def37bf2c26e8...
#4 sha256:74c98a328644d0ee4f75a3a143b5de5fcb8a9c1dac214875a1a111e3eff945f0 93.47MB / 120.18MB 1.6s
#4 sha256:74c98a328644d0ee4f75a3a143b5de5fcb8a9c1dac214875a1a111e3eff945f0 100.48MB / 120.18MB 1.7s
#4 sha256:74c98a328644d0ee4f75a3a143b5de5fcb8a9c1dac214875a1a111e3eff945f0 110.17MB / 120.18MB 1.9s
#4 sha256:74c98a328644d0ee4f75a3a143b5de5fcb8a9c1dac214875a1a111e3eff945f0 118.44MB / 120.18MB 2.0s
#4 sha256:74c98a328644d0ee4f75a3a143b5de5fcb8a9c1dac214875a1a111e3eff945f0 120.18MB / 120.18MB 2.1s done
#4 extracting sha256:74c98a328644d0ee4f75a3a143b5de5fcb8a9c1dac214875a1a111e3eff945f0
#4 extracting sha256:74c98a328644d0ee4f75a3a143b5de5fcb8a9c1dac214875a1a111e3eff945f0 4.0s done
#4 extracting sha256:d5323669af91aeb72c29ecf41caa93a92d1ee1d228baca4d017005cebd17122b
#4 extracting sha256:d5323669af91aeb72c29ecf41caa93a92d1ee1d228baca4d017005cebd17122b done
#4 DONE 6.5s

#5 [2/11] RUN apt-get update && apt-get install -y     build-essential     ...
#5 0.660 Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
#5 0.660 Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
#5 0.668 Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
#5 0.757 Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [221 kB]
#5 0.875 Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7906 kB]
#5 1.024 Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [7868 B]
#5 2.126 Fetched 8375 kB in 2s (4886 kB/s)
#5 2.126 Reading package lists...
#5 2.682 Reading package lists...
#5 3.228 Building dependency tree...
#5 3.332 Reading state information...
#5 3.429 curl is already the newest version (7.64.0-4+deb10u1).
#5 3.429 openssh-client is already the newest version (1:7.9p1-10+deb10u2).
#5 3.429 openssl is already the newest version (1.1.1d-0+deb10u3).
#5 3.429 openssl set to manually installed.
#5 3.429 The following additional packages will be installed:
#5 3.429   bzip2 dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl
#5 3.429   libalgorithm-merge-perl libfakeroot patch xz-utils
#5 3.430 Suggested packages:
#5 3.430   bzip2-doc debian-keyring ed diffutils-doc
#5 3.497 The following NEW packages will be installed:
#5 3.498   build-essential bzip2 dpkg-dev fakeroot libalgorithm-diff-perl
#5 3.498   libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot patch xz-utils
#5 3.763 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
#5 3.763 Need to get 2342 kB of archives.
#5 3.763 After this operation, 3601 kB of additional disk space will be used.
#5 3.763 Get:1 http://deb.debian.org/debian buster/main amd64 bzip2 amd64 1.0.6-9.2~deb10u1 [48.4 kB]
#5 3.765 Get:2 http://deb.debian.org/debian buster/main amd64 xz-utils amd64 5.2.4-1 [183 kB]
#5 3.767 Get:3 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB]
#5 3.769 Get:4 http://deb.debian.org/debian buster/main amd64 dpkg-dev all 1.19.7 [1773 kB]
#5 3.787 Get:5 http://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B]
#5 3.788 Get:6 http://deb.debian.org/debian buster/main amd64 libfakeroot amd64 1.23-1 [45.9 kB]
#5 3.790 Get:7 http://deb.debian.org/debian buster/main amd64 fakeroot amd64 1.23-1 [85.8 kB]
#5 3.791 Get:8 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-perl all 1.19.03-2 [47.9 kB]
#5 3.791 Get:9 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5+b1 [11.8 kB]
#5 3.792 Get:10 http://deb.debian.org/debian buster/main amd64 libalgorithm-merge-perl all 0.08-3 [12.7 kB]
#5 3.899 debconf: delaying package configuration, since apt-utils is not installed
#5 3.922 Fetched 2342 kB in 0s (8269 kB/s)
#5 3.939 Selecting previously unselected package bzip2.
#5 3.939 (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 ... 15410 files and directories currently installed.)
#5 3.948 Preparing to unpack .../0-bzip2_1.0.6-9.2~deb10u1_amd64.deb ...
#5 3.950 Unpacking bzip2 (1.0.6-9.2~deb10u1) ...
#5 3.983 Selecting previously unselected package xz-utils.
#5 3.984 Preparing to unpack .../1-xz-utils_5.2.4-1_amd64.deb ...
#5 3.988 Unpacking xz-utils (5.2.4-1) ...
#5 4.027 Selecting previously unselected package patch.
#5 4.029 Preparing to unpack .../2-patch_2.7.6-3+deb10u1_amd64.deb ...
#5 4.033 Unpacking patch (2.7.6-3+deb10u1) ...
#5 4.067 Selecting previously unselected package dpkg-dev.
#5 4.068 Preparing to unpack .../3-dpkg-dev_1.19.7_all.deb ...
#5 4.071 Unpacking dpkg-dev (1.19.7) ...
#5 4.173 Selecting previously unselected package build-essential.
#5 4.173 Preparing to unpack .../4-build-essential_12.6_amd64.deb ...
#5 4.176 Unpacking build-essential (12.6) ...
#5 4.202 Selecting previously unselected package libfakeroot:amd64.
#5 4.202 Preparing to unpack .../5-libfakeroot_1.23-1_amd64.deb ...
#5 4.208 Unpacking libfakeroot:amd64 (1.23-1) ...
#5 4.239 Selecting previously unselected package fakeroot.
#5 4.240 Preparing to unpack .../6-fakeroot_1.23-1_amd64.deb ...
#5 4.243 Unpacking fakeroot (1.23-1) ...
#5 4.271 Selecting previously unselected package libalgorithm-diff-perl.
#5 4.273 Preparing to unpack .../7-libalgorithm-diff-perl_1.19.03-2_all.deb ...
#5 4.276 Unpacking libalgorithm-diff-perl (1.19.03-2) ...
#5 4.299 Selecting previously unselected package libalgorithm-diff-xs-perl.
#5 4.301 Preparing to unpack .../8-libalgorithm-diff-xs-perl_0.04-5+b1_amd64.deb ...
#5 4.304 Unpacking libalgorithm-diff-xs-perl (0.04-5+b1) ...
#5 4.327 Selecting previously unselected package libalgorithm-merge-perl.
#5 4.328 Preparing to unpack .../9-libalgorithm-merge-perl_0.08-3_all.deb ...
#5 4.331 Unpacking libalgorithm-merge-perl (0.08-3) ...
#5 4.363 Setting up libalgorithm-diff-perl (1.19.03-2) ...
#5 4.371 Setting up bzip2 (1.0.6-9.2~deb10u1) ...
#5 4.380 Setting up libfakeroot:amd64 (1.23-1) ...
#5 4.392 Setting up fakeroot (1.23-1) ...
#5 4.401 update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
#5 4.411 Setting up xz-utils (5.2.4-1) ...
#5 4.418 update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
#5 4.424 Setting up patch (2.7.6-3+deb10u1) ...
#5 4.433 Setting up libalgorithm-diff-xs-perl (0.04-5+b1) ...
#5 4.443 Setting up libalgorithm-merge-perl (0.08-3) ...
#5 4.453 Setting up dpkg-dev (1.19.7) ...
#5 4.467 Setting up build-essential (12.6) ...
#5 4.477 Processing triggers for libc-bin (2.28-10) ...
#5 DONE 5.9s

#6 [3/11] RUN curl -L https://github.com/docker/compose/releases/download/1...
#6 0.414   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
#6 0.414                                  Dload  Upload   Total   Spent    Left  Speed
#6 0.414 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   651  100   651    0     0  40687      0 --:--:-- --:--:-- --:--:-- 40687
#6 0.600 
100 10.3M  100 10.3M    0     0  55.0M      0 --:--:-- --:--:-- --:--:-- 55.0M
#6 DONE 0.8s

#7 [4/11] RUN curl -Ls https://github.com/theupdateframework/notary/release...
#7 DONE 0.9s

#8 [5/11] RUN curl -Ls https://github.com/gotestyourself/gotestsum/releases...
#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.415 Updating certificates in /etc/ssl/certs...
#12 0.900 1 added, 0 removed; done.
#12 0.900 Running hooks in /etc/ca-certificates/update.d...
#12 0.902 done.
#12 DONE 0.9s

#13 [9/11] COPY . .
#13 DONE 0.5s

#14 [10/11] RUN ./scripts/build/binary
#14 0.364 Building statically linked build/docker-linux-amd64
#14 24.04 # github.com/docker/cli/cli-plugins/manager
#14 24.04 cli-plugins/manager/manager.go:13:2: imported and not used: "github.com/docker/cli/vendor/github.com/fvbommel/sortorder"
#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