Push event to branch 19.03 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from d7f5f70c39f4b52a8be2625ae85e6b9d2a8e5166 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 241f6703d31895690d4cb6f158f753615abe74ac 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 241f6703d31895690d4cb6f158f753615abe74ac (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 241f6703d31895690d4cb6f158f753615abe74ac # timeout=10 Commit message: "Merge pull request #21 from docker/use-multiarch-busybox" > git rev-list --no-walk fde6a898bccdd14efd5ffef81d7086dace269d15 # timeout=10 [Pipeline] Start of Pipeline [Pipeline] node Running on EC2 (managed-agents) - ubuntu-1804-overlay2-mem (i-062594250becd4f6d) in /home/ubuntu/workspace/cli_19.03 [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_19.03@tmp/11edfdca-6253-4954-87bc-c88fe1632116/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 + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/cli_19.03:/workspace busybox chown -R 1000:1000 /workspace Unable to find image 'busybox:latest' locally latest: Pulling from library/busybox 0669b0daf1fb: Pulling fs layer 0669b0daf1fb: Verifying Checksum 0669b0daf1fb: Download complete 0669b0daf1fb: Pull complete Digest: sha256:b26cd013274a657b86e706210ddd5cc1f82f50155791199d29b9e86e935ce135 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_19.03 # 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/heads/19.03:refs/remotes/origin/19.03 # timeout=10 Fetching without tags Checking out Revision d7f5f70c39f4b52a8be2625ae85e6b9d2a8e5166 (19.03) > git config remote.origin.url https://github.com/docker/cli.git # 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/heads/19.03:refs/remotes/origin/19.03 # timeout=10 > git config core.sparsecheckout # timeout=10 Commit message: "Merge pull request #2419 from thaJeztah/19.03_backport_bump_golang_1.13.9" [Pipeline] stage Using the ‘stage’ step without a block argument is deprecated Entering stage Run end-to-end test suite Proceeding [Pipeline] sh > git checkout -f d7f5f70c39f4b52a8be2625ae85e6b9d2a8e5166 # timeout=10 > git rev-list --no-walk 7d48500057cf3435b517eaaa8f5f26faf3afd90b # timeout=10 + docker version Client: Docker Engine - Community Version: 19.03.5 API version: 1.40 Go version: go1.12.12 Git commit: 633a0ea838 Built: Wed Nov 13 07:29:52 2019 OS/Arch: linux/amd64 Experimental: false Server: Docker Engine - Community Engine: Version: 19.03.5 API version: 1.40 (minimum version 1.12) Go version: go1.12.12 Git commit: 633a0ea838 Built: Wed Nov 13 07:28:22 2019 OS/Arch: linux/amd64 Experimental: true containerd: Version: 1.2.10 GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339 runc: Version: 1.0.0-rc8+dev GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657 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: 3 Server Version: 19.03.5 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: b34a5c8af56e510852c35414db4c1f4fa6172339 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657 init version: fec3683 Security Options: apparmor seccomp Profile: default Kernel Version: 4.15.0-1058-aws Operating System: Ubuntu 18.04.4 LTS OSType: linux Architecture: x86_64 CPUs: 2 Total Memory: 15.38GiB Name: ip-10-100-93-116 ID: 4CEL:5RBS:HN5G:X27E:6LIB:NDG4:JTLL:Y3PR:KAD2:JK75:FX6D:PY32 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=clie2e41 IMAGE_TAG=clie2e41 DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e docker build -t docker-cli-e2eclie2e41 --build-arg=GO_VERSION --build-arg VERSION=19.03.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e . #1 [internal] load build definition from Dockerfile.e2e #1 transferring dockerfile: 1.58kB done #1 DONE 0.0s #2 [internal] load .dockerignore #2 transferring context: 100B done #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.13.9-buster #3 DONE 0.4s #4 [1/11] FROM docker.io/library/golang:1.13.9-buster@sha256:a6dee8d27e0c9c... #4 resolve docker.io/library/golang:1.13.9-buster@sha256:a6dee8d27e0c9c6f95b42577f6ff9f267b70634ca885da661a0bb6ca60a119c8 done #4 sha256:a6dee8d27e0c9c6f95b42577f6ff9f267b70634ca885da661a0bb6ca60a119c8 1.42kB / 1.42kB done #4 sha256:009f7cc109619687ea1a9be03fb3bd93377fba59ff178475e034a157ec76a192 1.79kB / 1.79kB done #4 sha256:41ebfd3d2fd0de99b1c63aa36a507bf5555481d06e571d84ed84440d30671494 3.53MB / 7.81MB 0.2s #4 sha256:ea7439326d7d81dd232126ad84a1bc20178ca118ce5433071b06dbc4a52dd14a 5.45kB / 5.45kB done #4 sha256:f15005b0235fa8bd31cc6988c4f2758016fe412d696e81aecf73e52be079f19e 9.35MB / 50.38MB 0.2s #4 sha256:b998346ba308e3362a85c7bf7faed28d0277c68203696134192fe812f809abb2 103.98kB / 10.00MB 0.2s #4 sha256:41ebfd3d2fd0de99b1c63aa36a507bf5555481d06e571d84ed84440d30671494 7.81MB / 7.81MB 0.3s #4 sha256:b998346ba308e3362a85c7bf7faed28d0277c68203696134192fe812f809abb2 4.53MB / 10.00MB 0.3s #4 sha256:41ebfd3d2fd0de99b1c63aa36a507bf5555481d06e571d84ed84440d30671494 7.81MB / 7.81MB 0.3s done #4 sha256:f15005b0235fa8bd31cc6988c4f2758016fe412d696e81aecf73e52be079f19e 19.74MB / 50.38MB 0.4s #4 sha256:b998346ba308e3362a85c7bf7faed28d0277c68203696134192fe812f809abb2 8.69MB / 10.00MB 0.4s #4 sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 3.40MB / 51.79MB 0.4s #4 sha256:f15005b0235fa8bd31cc6988c4f2758016fe412d696e81aecf73e52be079f19e 29.96MB / 50.38MB 0.6s #4 sha256:b998346ba308e3362a85c7bf7faed28d0277c68203696134192fe812f809abb2 10.00MB / 10.00MB 0.5s done #4 sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 13.30MB / 51.79MB 0.6s #4 sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 2.63MB / 68.60MB 0.6s #4 sha256:f15005b0235fa8bd31cc6988c4f2758016fe412d696e81aecf73e52be079f19e 37.22MB / 50.38MB 0.7s #4 sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 19.11MB / 51.79MB 0.7s #4 sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 7.44MB / 68.60MB 0.7s #4 sha256:f15005b0235fa8bd31cc6988c4f2758016fe412d696e81aecf73e52be079f19e 50.38MB / 50.38MB 1.0s #4 sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 36.78MB / 51.79MB 1.0s #4 sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 22.09MB / 68.60MB 1.0s #4 sha256:f15005b0235fa8bd31cc6988c4f2758016fe412d696e81aecf73e52be079f19e 50.38MB / 50.38MB 1.0s done #4 sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 41.76MB / 51.79MB 1.1s #4 sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 27.46MB / 68.60MB 1.1s #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 2.51MB / 120.14MB 1.1s #4 sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 46.79MB / 51.79MB 1.2s #4 sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 51.79MB / 51.79MB 1.3s done #4 sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 39.48MB / 68.60MB 1.4s #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 15.76MB / 120.14MB 1.4s #4 extracting sha256:f15005b0235fa8bd31cc6988c4f2758016fe412d696e81aecf73e52be079f19e #4 sha256:c9f73938539c05ec12492dbe6ed0414a0bc190cbda94c380a94334fbfc78b224 0B / 124B 1.4s #4 sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 46.62MB / 68.60MB 1.5s #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 25.33MB / 120.14MB 1.5s #4 sha256:c9f73938539c05ec12492dbe6ed0414a0bc190cbda94c380a94334fbfc78b224 124B / 124B 1.4s done #4 sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 62.92MB / 68.60MB 1.7s #4 sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 68.60MB / 68.60MB 1.8s #4 sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 68.60MB / 68.60MB 1.8s done #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 37.24MB / 120.14MB 1.9s #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 51.00MB / 120.14MB 2.1s #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 68.60MB / 120.14MB 2.3s #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 88.41MB / 120.14MB 2.6s #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 95.52MB / 120.14MB 2.7s #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 108.35MB / 120.14MB 2.9s #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 117.08MB / 120.14MB 3.0s #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 120.14MB / 120.14MB 3.2s done #4 ... #10 [internal] load build context #10 transferring context: 40.51MB 3.6s done #10 DONE 3.6s #4 [1/11] FROM docker.io/library/golang:1.13.9-buster@sha256:a6dee8d27e0c9c... #4 extracting sha256:f15005b0235fa8bd31cc6988c4f2758016fe412d696e81aecf73e52be079f19e 3.5s done #4 extracting sha256:41ebfd3d2fd0de99b1c63aa36a507bf5555481d06e571d84ed84440d30671494 0.1s #4 extracting sha256:41ebfd3d2fd0de99b1c63aa36a507bf5555481d06e571d84ed84440d30671494 0.3s done #4 extracting sha256:b998346ba308e3362a85c7bf7faed28d0277c68203696134192fe812f809abb2 0.1s #4 extracting sha256:b998346ba308e3362a85c7bf7faed28d0277c68203696134192fe812f809abb2 0.2s done #4 extracting sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 0.1s #4 extracting sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 2.2s done #4 extracting sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e #4 extracting sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 2.3s done #4 extracting sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 #4 extracting sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 3.9s done #4 extracting sha256:c9f73938539c05ec12492dbe6ed0414a0bc190cbda94c380a94334fbfc78b224 #4 extracting sha256:c9f73938539c05ec12492dbe6ed0414a0bc190cbda94c380a94334fbfc78b224 done #4 DONE 14.8s #5 [2/11] RUN apt-get update && apt-get install -y build-essential ... #5 1.001 Get:1 http://deb.debian.org/debian buster InRelease [122 kB] #5 1.012 Get:2 http://deb.debian.org/debian buster-updates InRelease [49.3 kB] #5 1.102 Get:3 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB] #5 1.212 Get:4 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] #5 1.246 Get:5 http://deb.debian.org/debian buster-updates/main amd64 Packages [7380 B] #5 1.356 Get:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [187 kB] #5 2.428 Fetched 8337 kB in 2s (4937 kB/s) #5 2.428 Reading package lists... #5 3.031 Reading package lists... #5 3.637 Building dependency tree... #5 3.749 Reading state information... #5 3.848 openssh-client is already the newest version (1:7.9p1-10+deb10u2). #5 3.848 openssl is already the newest version (1.1.1d-0+deb10u2). #5 3.848 openssl set to manually installed. #5 3.848 curl is already the newest version (7.64.0-4+deb10u1). #5 3.848 The following additional packages will be installed: #5 3.848 bzip2 dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl #5 3.848 libalgorithm-merge-perl libfakeroot patch xz-utils #5 3.849 Suggested packages: #5 3.849 bzip2-doc debian-keyring ed diffutils-doc #5 3.917 The following NEW packages will be installed: #5 3.918 build-essential bzip2 dpkg-dev fakeroot libalgorithm-diff-perl #5 3.919 libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot patch xz-utils #5 4.184 0 upgraded, 10 newly installed, 0 to remove and 1 not upgraded. #5 4.184 Need to get 2342 kB of archives. #5 4.184 After this operation, 3601 kB of additional disk space will be used. #5 4.184 Get:1 http://deb.debian.org/debian buster/main amd64 bzip2 amd64 1.0.6-9.2~deb10u1 [48.4 kB] #5 4.187 Get:2 http://deb.debian.org/debian buster/main amd64 xz-utils amd64 5.2.4-1 [183 kB] #5 4.190 Get:3 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB] #5 4.192 Get:4 http://deb.debian.org/debian buster/main amd64 dpkg-dev all 1.19.7 [1773 kB] #5 4.212 Get:5 http://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B] #5 4.212 Get:6 http://deb.debian.org/debian buster/main amd64 libfakeroot amd64 1.23-1 [45.9 kB] #5 4.215 Get:7 http://deb.debian.org/debian buster/main amd64 fakeroot amd64 1.23-1 [85.8 kB] #5 4.217 Get:8 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-perl all 1.19.03-2 [47.9 kB] #5 4.217 Get:9 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5+b1 [11.8 kB] #5 4.218 Get:10 http://deb.debian.org/debian buster/main amd64 libalgorithm-merge-perl all 0.08-3 [12.7 kB] #5 4.331 debconf: delaying package configuration, since apt-utils is not installed #5 4.354 Fetched 2342 kB in 0s (8122 kB/s) #5 4.372 Selecting previously unselected package bzip2. #5 4.372 (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 ... 15401 files and directories currently installed.) #5 4.382 Preparing to unpack .../0-bzip2_1.0.6-9.2~deb10u1_amd64.deb ... #5 4.385 Unpacking bzip2 (1.0.6-9.2~deb10u1) ... #5 4.416 Selecting previously unselected package xz-utils. #5 4.419 Preparing to unpack .../1-xz-utils_5.2.4-1_amd64.deb ... #5 4.423 Unpacking xz-utils (5.2.4-1) ... #5 4.464 Selecting previously unselected package patch. #5 4.467 Preparing to unpack .../2-patch_2.7.6-3+deb10u1_amd64.deb ... #5 4.470 Unpacking patch (2.7.6-3+deb10u1) ... #5 4.504 Selecting previously unselected package dpkg-dev. #5 4.507 Preparing to unpack .../3-dpkg-dev_1.19.7_all.deb ... #5 4.510 Unpacking dpkg-dev (1.19.7) ... #5 4.616 Selecting previously unselected package build-essential. #5 4.620 Preparing to unpack .../4-build-essential_12.6_amd64.deb ... #5 4.623 Unpacking build-essential (12.6) ... #5 4.654 Selecting previously unselected package libfakeroot:amd64. #5 4.657 Preparing to unpack .../5-libfakeroot_1.23-1_amd64.deb ... #5 4.664 Unpacking libfakeroot:amd64 (1.23-1) ... #5 4.695 Selecting previously unselected package fakeroot. #5 4.698 Preparing to unpack .../6-fakeroot_1.23-1_amd64.deb ... #5 4.701 Unpacking fakeroot (1.23-1) ... #5 4.731 Selecting previously unselected package libalgorithm-diff-perl. #5 4.734 Preparing to unpack .../7-libalgorithm-diff-perl_1.19.03-2_all.deb ... #5 4.737 Unpacking libalgorithm-diff-perl (1.19.03-2) ... #5 4.767 Selecting previously unselected package libalgorithm-diff-xs-perl. #5 4.770 Preparing to unpack .../8-libalgorithm-diff-xs-perl_0.04-5+b1_amd64.deb ... #5 4.773 Unpacking libalgorithm-diff-xs-perl (0.04-5+b1) ... #5 4.794 Selecting previously unselected package libalgorithm-merge-perl. #5 4.797 Preparing to unpack .../9-libalgorithm-merge-perl_0.08-3_all.deb ... #5 4.800 Unpacking libalgorithm-merge-perl (0.08-3) ... #5 4.832 Setting up libalgorithm-diff-perl (1.19.03-2) ... #5 4.842 Setting up bzip2 (1.0.6-9.2~deb10u1) ... #5 4.850 Setting up libfakeroot:amd64 (1.23-1) ... #5 4.861 Setting up fakeroot (1.23-1) ... #5 4.870 update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode #5 4.880 Setting up xz-utils (5.2.4-1) ... #5 4.887 update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode #5 4.893 Setting up patch (2.7.6-3+deb10u1) ... #5 4.901 Setting up libalgorithm-diff-xs-perl (0.04-5+b1) ... #5 4.909 Setting up libalgorithm-merge-perl (0.08-3) ... #5 4.919 Setting up dpkg-dev (1.19.7) ... #5 4.933 Setting up build-essential (12.6) ... #5 4.942 Processing triggers for libc-bin (2.28-10) ... #5 DONE 8.0s #6 [3/11] RUN curl -L https://github.com/docker/compose/releases/download/1... #6 0.625 % Total % Received % Xferd Average Speed Time Time Time Current #6 0.627 Dload Upload Total Spent Left Speed #6 0.629 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 617 100 617 0 0 4284 0 --:--:-- --:--:-- --:--:-- 4284 #6 0.884 100 10.3M 100 10.3M 0 0 39.9M 0 --:--:-- --:--:-- --:--:-- 39.9M #6 DONE 1.0s #7 [4/11] RUN curl -Ls https://github.com/theupdateframework/notary/release... #7 DONE 1.4s #8 [5/11] RUN curl -Ls https://github.com/gotestyourself/gotestsum/releases... #8 DONE 1.0s #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.621 Updating certificates in /etc/ssl/certs... #12 1.093 1 added, 0 removed; done. #12 1.094 Running hooks in /etc/ca-certificates/update.d... #12 1.094 done. #12 DONE 1.2s #13 [9/11] COPY . . #13 DONE 0.6s #14 [10/11] RUN ./scripts/build/binary #14 0.578 Building statically linked build/docker-linux-amd64 #14 DONE 67.4s #15 [11/11] RUN ./scripts/build/plugins e2e/cli-plugins/plugins/* #15 0.629 Building statically linked build/plugins-linux-amd64/docker-helloworld #15 2.412 Building statically linked build/plugins-linux-amd64/docker-badmeta #15 3.976 Building statically linked build/plugins-linux-amd64/docker-nopersistentprerun #15 DONE 5.8s #16 exporting to image #16 exporting layers #16 exporting layers 2.6s done #16 writing image sha256:e147ecca458031843c0a612bc63c701e300e037a184f21306f14b1a3bf5e49d6 #16 writing image sha256:e147ecca458031843c0a612bc63c701e300e037a184f21306f14b1a3bf5e49d6 done #16 naming to docker.io/library/docker-cli-e2eclie2e41 done #16 DONE 2.7s docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -e VERSION=19.03.0-dev -e GITCOMMIT -e PLATFORM -e TESTFLAGS -e TESTDIRS -e GOOS -e GOARCH -e GOARM docker-cli-e2eclie2e41 Creating network "cliendtoendsuite_default" with the default driver Pulling registry (registry:2)... 2: Pulling from library/registry Digest: sha256:7d081088e4bfd632a88e3f3bcd9e007ef44a796fddfe3261407a3f9f04abe1e7 Status: Downloaded newer image for registry:2 Pulling engine (docker:stable-dind)... stable-dind: Pulling from library/docker Digest: sha256:ba51388db2907f0f0d33b365f039f89b48bfe9e3a408c2211addd5357268f33a Status: Downloaded newer image for docker:stable-dind Building notary-server Step 1/3 : ARG NOTARY_VERSION=0.5.0 Step 2/3 : FROM notary:server-${NOTARY_VERSION} server-0.5.0: Pulling from library/notary Digest: sha256:d59e4ecc20198447a9818e7f16d0a02ba1d9905de71e5354bc8ee0017304a244 Status: Downloaded newer image for notary:server-0.5.0 ---> 16b632e954ca Step 3/3 : COPY ./notary/ /fixtures/ ---> c2bb4915156a Successfully built c2bb4915156a Successfully tagged cliendtoendsuite_notary-server:latest Building evil-notary-server Step 1/3 : ARG NOTARY_VERSION=0.5.0 Step 2/3 : FROM notary:server-${NOTARY_VERSION} ---> 16b632e954ca Step 3/3 : COPY ./notary-evil/ /fixtures/ ---> 096e1dc7b669 Successfully built 096e1dc7b669 Successfully tagged cliendtoendsuite_evil-notary-server:latest Creating cliendtoendsuite_registry_1 ... Creating cliendtoendsuite_notary-server_1 ... Creating cliendtoendsuite_evil-notary-server_1 ... Creating cliendtoendsuite_engine_1 ...  Creating cliendtoendsuite_engine_1 ... done  Creating cliendtoendsuite_registry_1 ... done  Creating cliendtoendsuite_notary-server_1 ... done  Creating cliendtoendsuite_evil-notary-server_1 ... done Waiting for docker daemon to become available at tcp://172.18.0.4:2375 Client: Version: 19.03.0-dev API version: 1.40 Go version: go1.13.9 Git commit: Built: Mon Apr 6 14:21:13 2020 OS/Arch: linux/amd64 Experimental: false Server: Docker Engine - Community Engine: Version: 19.03.8 API version: 1.40 (minimum version 1.12) Go version: go1.12.17 Git commit: afacb8b7f0 Built: Wed Mar 11 01:30:32 2020 OS/Arch: linux/amd64 Experimental: false containerd: Version: v1.2.13 GitCommit: 7ad184331fa3e55e52b890ea95e65ba581ae3429 runc: Version: 1.0.0-rc10 GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd docker-init: Version: 0.18.0 GitCommit: fec3683 sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d: Pulling from library/alpine 88286f41530e: Pulling fs layer 88286f41530e: Verifying Checksum 88286f41530e: Download complete 88286f41530e: Pull complete Digest: sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d Status: Downloaded newer image for alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d docker.io/library/alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d The push refers to repository [registry:5000/alpine] 5bef08742407: Preparing 5bef08742407: Pushed 3.6: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7: Pulling from library/busybox 03b1be98f3f9: Pulling fs layer 03b1be98f3f9: Verifying Checksum 03b1be98f3f9: Download complete 03b1be98f3f9: Pull complete Digest: sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7 Status: Downloaded newer image for busybox@sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7 docker.io/library/busybox@sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7 The push refers to repository [registry:5000/busybox] 6a749002dd6a: Preparing 6a749002dd6a: Pushed 1.27.2: digest: sha256:030fcb92e1487b18c974784dcc110a93147c9fc402188370fbfd17efabffc6af size: 527 Swarm initialized: current node (xcn204c6qbeonvhrww5w924dd) is now a manager. To add a worker to this swarm, run the following command: docker swarm join --token SWMTKN-1-1fux5x7p594lvzhkjtsvcb1me18kv8vo8ei6a2cg5r1k0wxpx4-ee43qp3c1uxw0tbyl5lc98hv0 172.18.0.4:2377 To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions. ✓ e2e/cli-plugins (2.812s) ∅ e2e/cli-plugins/plugins/badmeta ∅ e2e/cli-plugins/plugins/nopersistentprerun ✓ e2e/context (70ms) ✖ e2e/container (4.445s) ✖ e2e/image (4.042s) ∅ e2e/internal/fixtures ✖ e2e/plugin (2.398s) ∅ e2e/plugin/basic ✓ e2e/stack (601ms) ✓ e2e/system (67ms) ✖ e2e/trust (513ms) === Skipped === SKIP: e2e/cli-plugins TestCLIPluginDialStdio (0.00s) dial_test.go:16: skipping plugin dial-stdio test since DOCKER_CLI_PLUGIN_USE_DIAL_STDIO is not set === SKIP: e2e/image TestBuildIidFileSquash (0.08s) build_test.go:112: !experimentalBuild: running against a non-experimental daemon === SKIP: e2e/stack TestDeployWithNamedResources/Kubernetes (0.00s) --- SKIP: TestDeployWithNamedResources/Kubernetes (0.00s) deploy_test.go:22: FIXME(chris-crone): currently does not work with compose for kubernetes. === SKIP: e2e/stack TestRemove/Kubernetes (0.00s) --- SKIP: TestRemove/Kubernetes (0.00s) remove_test.go:22: !environment.KubernetesEnabled() === Failed === FAIL: e2e/container TestCreateWithContentTrust (0.31s) create_test.go:18: assertion failed: Command: docker image push registry:5000/trust-create:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-create] 5bef08742407: Preparing 5bef08742407: Mounted from alpine latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/container TestTrustedCreateFromUnreachableTrustServer (0.23s) create_test.go:38: assertion failed: Command: docker image push registry:5000/trust-create:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-create] 5bef08742407: Preparing 5bef08742407: Layer already exists latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/container TestTrustedCreateFromBadTrustServer (0.21s) create_test.go:66: assertion failed: Command: docker image push registry:5000/evil-alpine:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/evil-alpine] 5bef08742407: Preparing 5bef08742407: Mounted from trust-create latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/container TestRunWithContentTrust (0.26s) run_test.go:36: assertion failed: Command: docker image push registry:5000/trust-run:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-run] 5bef08742407: Preparing 5bef08742407: Mounted from trust-create latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestTrustedBuild (0.31s) build_test.go:56: assertion failed: Command: docker image push registry:5000/trust-build1:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-build1] 5bef08742407: Preparing 5bef08742407: Mounted from trust-run latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestTrustedBuildUntrustedImage (0.19s) build_test.go:105: assertion failed: Command: docker build -t myimage . ExitCode: 1 Error: exit status 1 Stdout: Sending build context to Docker daemon Stderr: error during connect: Post http://172.18.0.4:2375/v1.40/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=myimage&target=&ulimits=null&version=1: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: Expected stderr to contain "does not have trust data for" === FAIL: e2e/image TestPullWithContentTrust (0.33s) pull_test.go:22: assertion failed: Command: docker image push registry:5000/trust-pull:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-pull] 5bef08742407: Preparing 5bef08742407: Mounted from trust-build1 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestPullWithContentTrustUsesCacheWhenNotaryUnavailable (0.32s) pull_test.go:49: assertion failed: Command: docker image push registry:5000/trust-pull-unreachable:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-pull-unreachable] 5bef08742407: Preparing 5bef08742407: Mounted from trust-pull latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestPushWithContentTrust (0.34s) push_test.go:46: assertion failed: Command: docker push registry:5000/trust-push:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-push] 5bef08742407: Preparing 5bef08742407: Mounted from evil-alpine latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestPushWithContentTrustExistingTag (0.35s) push_test.go:92: assertion failed: Command: docker push registry:5000/trust-push-existing:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-push-existing] 5bef08742407: Preparing 5bef08742407: Layer already exists latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestPushWithContentTrustReleasesDelegationOnly (0.15s) push_test.go:344: assertion failed: Command: /usr/local/bin/notary -c /tmp/notary_test-476304022/client-config.json init registry:5000/trust-push-releases-delegation ExitCode: 1 Error: exit status 1 Stdout: * fatal: client is offline Stderr: time="2020-04-06T14:23:13Z" level=error msg="could not reach https://notary-server:4443: Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestPushWithContentTrustSignsAllFirstLevelRolesWeHaveKeysFor (0.14s) push_test.go:344: assertion failed: Command: /usr/local/bin/notary -c /tmp/notary_test-654883895/client-config.json init registry:5000/trust-push-releases-first-roles ExitCode: 1 Error: exit status 1 Stdout: * fatal: client is offline Stderr: time="2020-04-06T14:23:13Z" level=error msg="could not reach https://notary-server:4443: Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestPushWithContentTrustSignsForRolesWithKeysAndValidPaths (0.14s) push_test.go:344: assertion failed: Command: /usr/local/bin/notary -c /tmp/notary_test-719216364/client-config.json init registry:5000/trust-push-releases-keys-valid-paths ExitCode: 1 Error: exit status 1 Stdout: * fatal: client is offline Stderr: time="2020-04-06T14:23:14Z" level=error msg="could not reach https://notary-server:4443: Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/plugin TestInstallWithContentTrust (2.22s) trust_test.go:41: assertion failed: Command: docker plugin push registry:5000/plugin-content-trust ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/plugin-content-trust] 85e37c201337: Preparing 85e37c201337: Pushed latest: digest: sha256:18eae736d7ec88b84a49191f269b7422caf496dc398ed01d0a9dfd447c926761 size: 518 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/plugin TestInstallWithContentTrustUntrusted (0.17s) trust_test.go:68: assertion failed: Command: docker plugin install --grant-all-permissions tiborvass/sample-volume-plugin:latest ExitCode: 1 Error: exit status 1 Stdout: Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: Expected stderr to contain "Error: remote trust data does not exist" === FAIL: e2e/trust TestRevokeImage (0.13s) revoke_test.go:55: assertion failed: Command: docker -D trust sign registry:5000/revoke:v1 ExitCode: 1 Error: exit status 1 Stdout: Stderr: time="2020-04-06T14:23:15Z" level=debug msg="reading certificate directory: /tmp/trust_test-373212613/tls/notary-server:4443" time="2020-04-06T14:23:15Z" level=debug msg="Error pinging notary server \"https://notary-server:4443/v2/\": Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" time="2020-04-06T14:23:15Z" level=debug msg="Making dir path: /tmp/trust_test-373212613/trust/tuf/registry:5000/revoke/changelist" Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/trust TestRevokeRepo (0.12s) revoke_test.go:64: assertion failed: Command: docker -D trust sign registry:5000/revokerepo:v1 ExitCode: 1 Error: exit status 1 Stdout: Stderr: time="2020-04-06T14:23:15Z" level=debug msg="reading certificate directory: /tmp/trust_test-172366432/tls/notary-server:4443" time="2020-04-06T14:23:15Z" level=debug msg="Error pinging notary server \"https://notary-server:4443/v2/\": Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" time="2020-04-06T14:23:15Z" level=debug msg="Making dir path: /tmp/trust_test-172366432/trust/tuf/registry:5000/revokerepo/changelist" Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/trust TestSignLocalImage (0.13s) sign_test.go:32: assertion failed: Command: docker trust sign registry:5000/sign:v1 ExitCode: 1 Error: exit status 1 Stdout: Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/trust TestSignWithLocalFlag (0.13s) sign_test.go:57: assertion failed: Command: docker -D trust sign registry:5000/signlocal:v1 ExitCode: 1 Error: exit status 1 Stdout: Stderr: time="2020-04-06T14:23:16Z" level=debug msg="reading certificate directory: /tmp/trust_test-294957202/tls/notary-server:4443" time="2020-04-06T14:23:16Z" level=debug msg="Error pinging notary server \"https://notary-server:4443/v2/\": Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" time="2020-04-06T14:23:16Z" level=debug msg="Making dir path: /tmp/trust_test-294957202/trust/tuf/registry:5000/signlocal/changelist" Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error DONE 88 tests, 4 skipped, 19 failures in 32.139s Stopping cliendtoendsuite_evil-notary-server_1 ... Stopping cliendtoendsuite_engine_1 ... Stopping cliendtoendsuite_registry_1 ... Stopping cliendtoendsuite_notary-server_1 ...  Stopping cliendtoendsuite_registry_1 ... done  Stopping cliendtoendsuite_notary-server_1 ... done  Stopping cliendtoendsuite_evil-notary-server_1 ... done  Stopping cliendtoendsuite_engine_1 ... done Removing cliendtoendsuite_evil-notary-server_1 ... Removing cliendtoendsuite_engine_1 ... Removing cliendtoendsuite_registry_1 ... Removing cliendtoendsuite_notary-server_1 ...  Removing cliendtoendsuite_evil-notary-server_1 ... done  Removing cliendtoendsuite_notary-server_1 ... done  Removing cliendtoendsuite_engine_1 ... done  Removing cliendtoendsuite_registry_1 ... done Removing network cliendtoendsuite_default Removing image cliendtoendsuite_notary-server Removing image cliendtoendsuite_evil-notary-server docker.Makefile:148: recipe for target 'test-e2e-non-experimental' failed make: *** [test-e2e-non-experimental] 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