Skip to content
Failed

Console Output

Pull request #2410 updated
14:15:08 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Loading trusted files from base branch master at 22acbbcc4b3fb5020492b1ed9e72186191bfedc0 rather than 7557c138d70a0bba083a1086064f6206415b6dcb
Obtained Jenkinsfile from 22acbbcc4b3fb5020492b1ed9e72186191bfedc0
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 241f6703d31895690d4cb6f158f753615abe74ac # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] node
Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0b349147368bdc9fd) in /home/ubuntu/workspace/cli_PR-2410
[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-2410@tmp/22a33602-7740-4469-be3b-7063a9d85cf3/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
14:15:19 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
14:15:19 chowning workspace
[Pipeline] sh
14:15:19 + pwd
14:15:19 + id -u
14:15:19 + id -g
14:15:19 + docker run --rm -v /home/ubuntu/workspace/cli_PR-2410:/workspace busybox chown -R 1000:1000 /workspace
[Pipeline] echo
14:15:23 Removing all docker containers
[Pipeline] sh
14:15:23 + docker container ls -aq
[Pipeline] echo
14:15:23 Docker containers have been removed
[Pipeline] echo
14:15:23 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
14:15:23 cleanWorkspace: Workspace is clean.
[Pipeline] timeout
14:15:23 Timeout set to expire in 1 hr 0 min
[Pipeline] {
[Pipeline] stage
14:15:23 Using the ‘stage’ step without a block argument is deprecated
14:15:23 Entering stage Git Checkout
14:15:23 Proceeding
[Pipeline] checkout
14:15:23 using credential docker-jenkins-github-credentials
14:15:23 Cloning the remote Git repository
14:15:23 Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/docker/cli.git
 > git init /home/ubuntu/workspace/cli_PR-2410 # 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/2410/head:refs/remotes/origin/PR-2410 +refs/heads/master:refs/remotes/origin/master # timeout=10
14:15:28 Fetching without tags
14:15:28 Merging remotes/origin/master commit 22acbbcc4b3fb5020492b1ed9e72186191bfedc0 into PR head commit 7557c138d70a0bba083a1086064f6206415b6dcb
14:15:28 Merge succeeded, producing 7557c138d70a0bba083a1086064f6206415b6dcb
14:15:28 Checking out Revision 7557c138d70a0bba083a1086064f6206415b6dcb (PR-2410)
 > git config remote.origin.url https://github.com/docker/cli.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/2410/head:refs/remotes/origin/PR-2410 # 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/2410/head:refs/remotes/origin/PR-2410 +refs/heads/master:refs/remotes/origin/master # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 7557c138d70a0bba083a1086064f6206415b6dcb # timeout=10
 > git merge 22acbbcc4b3fb5020492b1ed9e72186191bfedc0 # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 7557c138d70a0bba083a1086064f6206415b6dcb # timeout=10
14:15:33 Commit message: "Adding missing title in builder.md"
14:15:33 First time build. Skipping changelog.
[Pipeline] stage
14:15:33 Using the ‘stage’ step without a block argument is deprecated
14:15:33 Entering stage Run end-to-end test suite
14:15:33 Proceeding
[Pipeline] sh
14:15:34 + docker version
14:15:34 Client: Docker Engine - Community
14:15:34  Version:           19.03.5
14:15:34  API version:       1.40
14:15:34  Go version:        go1.12.12
14:15:34  Git commit:        633a0ea838
14:15:34  Built:             Wed Nov 13 07:29:52 2019
14:15:34  OS/Arch:           linux/amd64
14:15:34  Experimental:      false
14:15:34 
14:15:34 Server: Docker Engine - Community
14:15:34  Engine:
14:15:34   Version:          19.03.5
14:15:34   API version:      1.40 (minimum version 1.12)
14:15:34   Go version:       go1.12.12
14:15:34   Git commit:       633a0ea838
14:15:34   Built:            Wed Nov 13 07:28:22 2019
14:15:34   OS/Arch:          linux/amd64
14:15:34   Experimental:     true
14:15:34  containerd:
14:15:34   Version:          1.2.10
14:15:34   GitCommit:        b34a5c8af56e510852c35414db4c1f4fa6172339
14:15:34  runc:
14:15:34   Version:          1.0.0-rc8+dev
14:15:34   GitCommit:        3e425f80a8c931f88e6d94a8c831b9d5aa481657
14:15:34  docker-init:
14:15:34   Version:          0.18.0
14:15:34   GitCommit:        fec3683
[Pipeline] sh
 > git rev-list --no-walk eb05ded0a43441a6c6aef4cbc9311a86cccd778d # timeout=10
14:15:34 + docker info
14:15:44 Client:
14:15:44  Debug Mode: false
14:15:44 
14:15:44 Server:
14:15:44  Containers: 0
14:15:44   Running: 0
14:15:44   Paused: 0
14:15:44   Stopped: 0
14:15:44  Images: 1
14:15:44  Server Version: 19.03.5
14:15:44  Storage Driver: overlay2
14:15:44   Backing Filesystem: extfs
14:15:44   Supports d_type: true
14:15:44   Native Overlay Diff: true
14:15:44  Logging Driver: json-file
14:15:44  Cgroup Driver: cgroupfs
14:15:44  Plugins:
14:15:44   Volume: local
14:15:44   Network: bridge host ipvlan macvlan null overlay
14:15:44   Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
14:15:44  Swarm: inactive
14:15:44  Runtimes: runc
14:15:44  Default Runtime: runc
14:15:44  Init Binary: docker-init
14:15:44  containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
14:15:44  runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
14:15:44  init version: fec3683
14:15:44  Security Options:
14:15:44   apparmor
14:15:44   seccomp
14:15:44    Profile: default
14:15:44  Kernel Version: 4.15.0-1058-aws
14:15:44  Operating System: Ubuntu 18.04.4 LTS
14:15:44  OSType: linux
14:15:44  Architecture: x86_64
14:15:44  CPUs: 2
14:15:44  Total Memory: 7.501GiB
14:15:44  Name: ip-10-100-106-18
14:15:44  ID: 4CEL:5RBS:HN5G:X27E:6LIB:NDG4:JTLL:Y3PR:KAD2:JK75:FX6D:PY32
14:15:44  Docker Root Dir: /var/lib/docker
14:15:44  Debug Mode: false
14:15:44  Username: dockerbuildbot
14:15:44  Registry: https://index.docker.io/v1/
14:15:44  Labels:
14:15:44  Experimental: true
14:15:44  Insecure Registries:
14:15:44   127.0.0.0/8
14:15:44  Live Restore Enabled: true
14:15:44 
14:15:44 WARNING: No swap limit support
[Pipeline] sh
14:15:44 + E2E_UNIQUE_ID=clie2e6 IMAGE_TAG=clie2e6 DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e
14:15:44 docker build -t docker-cli-e2eclie2e6 --build-arg=GO_VERSION --build-arg VERSION=20.03.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e .
14:15:45 #1 [internal] load build definition from Dockerfile.e2e
14:15:45 #1 transferring dockerfile:
14:15:45 #1 transferring dockerfile: 1.65kB done
14:15:45 #1 DONE 0.2s
14:15:45 
14:15:45 #2 [internal] load .dockerignore
14:15:45 #2 transferring context: 100B done
14:15:45 #2 DONE 0.2s
14:15:45 
14:15:45 #3 [internal] load metadata for docker.io/library/golang:1.13.8-buster
14:15:45 #3 DONE 0.3s
14:15:45 
14:15:45 #10 [internal] load build context
14:15:50 #10 transferring context: 33.11MB 4.6s
14:15:50 #10 transferring context: 42.23MB 5.2s done
14:15:50 #10 DONE 5.3s
14:15:50 
14:15:50 #4 [1/11] FROM docker.io/library/golang:1.13.8-buster@sha256:1da34145a757a5...
14:15:50 #4 resolve docker.io/library/golang:1.13.8-buster@sha256:1da34145a757a5b9959111d0150d257c1a1f456b5fc3ec72101093e01977d8ca done
14:15:50 #4 sha256:be37fd7a30b94a720a45ba5dcc0cf386d043acc5f4f61db7c6736fd10ee621bd 1.79kB / 1.79kB done
14:15:50 #4 sha256:dd8c6d374ea51e3dd671f71b28d025a7794ebea181b00838987d0b4d8a51372f 7.81MB / 7.81MB 0.6s done
14:15:50 #4 sha256:c85513200d847a64a6e8f2cb714e2169f559b24b7736c586ff7b9aaedf71f410 10.00MB / 10.00MB 0.5s done
14:15:50 #4 sha256:1da34145a757a5b9959111d0150d257c1a1f456b5fc3ec72101093e01977d8ca 1.42kB / 1.42kB done
14:15:50 #4 sha256:3a7408f53f79a230e184ec6b8666a1203cf6120174eb17a428ad4b80958b2652 5.46kB / 5.46kB done
14:15:50 #4 sha256:50e431f790939a2f924af65084cc9d39c3d3fb9ad2d57d183b7eadf86ea46992 50.38MB / 50.38MB 2.6s done
14:15:50 #4 sha256:55769680e8277a4ff083d05f0993d1483b3d26b93a8814cf3c6f04fe5975ffa0 51.79MB / 51.79MB 3.4s done
14:15:50 #4 sha256:15357f5e50c4cd5b4c1a4997a342d96d0dff37f4b08362094825bb0596da12cf 68.60MB / 68.60MB 3.3s done
14:15:50 #4 sha256:e2d9b328fba500f73aec151d1e5fde87b7ee5a54e697e4fbba7afcb036a5e51f 75.09MB / 120.07MB 5.3s
14:15:50 #4 extracting sha256:50e431f790939a2f924af65084cc9d39c3d3fb9ad2d57d183b7eadf86ea46992 2.2s
14:15:50 #4 sha256:f8e0159fc85284002056acd2e8ec645d3b160ec7f14ef4b938ebb6e29ac2f1c3 126B / 126B 3.4s done
14:15:51 #4 sha256:e2d9b328fba500f73aec151d1e5fde87b7ee5a54e697e4fbba7afcb036a5e51f 83.17MB / 120.07MB 5.6s
14:15:51 #4 sha256:e2d9b328fba500f73aec151d1e5fde87b7ee5a54e697e4fbba7afcb036a5e51f 92.46MB / 120.07MB 5.9s
14:15:51 #4 sha256:e2d9b328fba500f73aec151d1e5fde87b7ee5a54e697e4fbba7afcb036a5e51f 100.12MB / 120.07MB 6.1s
14:15:51 #4 sha256:e2d9b328fba500f73aec151d1e5fde87b7ee5a54e697e4fbba7afcb036a5e51f 107.03MB / 120.07MB 6.4s
14:15:52 #4 sha256:e2d9b328fba500f73aec151d1e5fde87b7ee5a54e697e4fbba7afcb036a5e51f 114.24MB / 120.07MB 6.7s
14:15:52 #4 sha256:e2d9b328fba500f73aec151d1e5fde87b7ee5a54e697e4fbba7afcb036a5e51f 120.07MB / 120.07MB 7.2s done
14:15:54 #4 extracting sha256:50e431f790939a2f924af65084cc9d39c3d3fb9ad2d57d183b7eadf86ea46992 5.6s done
14:15:54 #4 extracting sha256:dd8c6d374ea51e3dd671f71b28d025a7794ebea181b00838987d0b4d8a51372f
14:15:54 #4 extracting sha256:dd8c6d374ea51e3dd671f71b28d025a7794ebea181b00838987d0b4d8a51372f 0.6s done
14:15:55 #4 extracting sha256:c85513200d847a64a6e8f2cb714e2169f559b24b7736c586ff7b9aaedf71f410 0.1s
14:15:55 #4 extracting sha256:c85513200d847a64a6e8f2cb714e2169f559b24b7736c586ff7b9aaedf71f410 0.4s done
14:15:56 #4 extracting sha256:55769680e8277a4ff083d05f0993d1483b3d26b93a8814cf3c6f04fe5975ffa0
14:16:00 #4 extracting sha256:55769680e8277a4ff083d05f0993d1483b3d26b93a8814cf3c6f04fe5975ffa0 3.7s done
14:16:00 #4 extracting sha256:15357f5e50c4cd5b4c1a4997a342d96d0dff37f4b08362094825bb0596da12cf
14:16:04 #4 extracting sha256:15357f5e50c4cd5b4c1a4997a342d96d0dff37f4b08362094825bb0596da12cf 3.8s done
14:16:04 #4 extracting sha256:e2d9b328fba500f73aec151d1e5fde87b7ee5a54e697e4fbba7afcb036a5e51f
14:16:09 #4 extracting sha256:e2d9b328fba500f73aec151d1e5fde87b7ee5a54e697e4fbba7afcb036a5e51f 5.3s
14:16:12 #4 extracting sha256:e2d9b328fba500f73aec151d1e5fde87b7ee5a54e697e4fbba7afcb036a5e51f 7.8s done
14:16:12 #4 extracting sha256:f8e0159fc85284002056acd2e8ec645d3b160ec7f14ef4b938ebb6e29ac2f1c3
14:16:12 #4 extracting sha256:f8e0159fc85284002056acd2e8ec645d3b160ec7f14ef4b938ebb6e29ac2f1c3 done
14:16:12 #4 DONE 26.7s
14:16:12 
14:16:12 #5 [2/11] RUN apt-get update && apt-get install -y     build-essential     ...
14:16:13 #5 1.117 Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
14:16:13 #5 1.133 Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
14:16:13 #5 1.133 Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
14:16:13 #5 1.252 Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [185 kB]
14:16:13 #5 1.413 Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB]
14:16:14 #5 1.835 Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [7380 B]
14:16:15 #5 3.187 Fetched 8336 kB in 2s (3584 kB/s)
14:16:16 #5 3.187 Reading package lists...
14:16:17 #5 4.108 Reading package lists...
14:16:17 #5 5.022 Building dependency tree...
14:16:17 #5 5.223 Reading state information...
14:16:17 #5 5.404 openssh-client is already the newest version (1:7.9p1-10+deb10u2).
14:16:17 #5 5.404 openssl is already the newest version (1.1.1d-0+deb10u2).
14:16:17 #5 5.404 openssl set to manually installed.
14:16:17 #5 5.404 curl is already the newest version (7.64.0-4+deb10u1).
14:16:17 #5 5.404 The following additional packages will be installed:
14:16:17 #5 5.404   bzip2 dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl
14:16:17 #5 5.405   libalgorithm-merge-perl libfakeroot patch xz-utils
14:16:17 #5 5.406 Suggested packages:
14:16:17 #5 5.406   bzip2-doc debian-keyring ed diffutils-doc
14:16:17 #5 5.505 The following NEW packages will be installed:
14:16:17 #5 5.505   build-essential bzip2 dpkg-dev fakeroot libalgorithm-diff-perl
14:16:17 #5 5.507   libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot patch xz-utils
14:16:18 #5 5.781 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
14:16:18 #5 5.781 Need to get 2342 kB of archives.
14:16:18 #5 5.781 After this operation, 3601 kB of additional disk space will be used.
14:16:18 #5 5.781 Get:1 http://deb.debian.org/debian buster/main amd64 bzip2 amd64 1.0.6-9.2~deb10u1 [48.4 kB]
14:16:18 #5 5.784 Get:2 http://deb.debian.org/debian buster/main amd64 xz-utils amd64 5.2.4-1 [183 kB]
14:16:18 #5 5.798 Get:3 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB]
14:16:18 #5 5.798 Get:4 http://deb.debian.org/debian buster/main amd64 dpkg-dev all 1.19.7 [1773 kB]
14:16:18 #5 5.819 Get:5 http://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B]
14:16:18 #5 5.820 Get:6 http://deb.debian.org/debian buster/main amd64 libfakeroot amd64 1.23-1 [45.9 kB]
14:16:18 #5 5.821 Get:7 http://deb.debian.org/debian buster/main amd64 fakeroot amd64 1.23-1 [85.8 kB]
14:16:18 #5 5.824 Get:8 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-perl all 1.19.03-2 [47.9 kB]
14:16:18 #5 5.825 Get:9 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5+b1 [11.8 kB]
14:16:18 #5 5.826 Get:10 http://deb.debian.org/debian buster/main amd64 libalgorithm-merge-perl all 0.08-3 [12.7 kB]
14:16:18 #5 5.989 debconf: delaying package configuration, since apt-utils is not installed
14:16:18 #5 6.028 Fetched 2342 kB in 0s (7805 kB/s)
14:16:18 #5 6.051 Selecting previously unselected package bzip2.
14:16:18 #5 6.052 (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.)
14:16:18 #5 6.069 Preparing to unpack .../0-bzip2_1.0.6-9.2~deb10u1_amd64.deb ...
14:16:18 #5 6.072 Unpacking bzip2 (1.0.6-9.2~deb10u1) ...
14:16:18 #5 6.113 Selecting previously unselected package xz-utils.
14:16:18 #5 6.116 Preparing to unpack .../1-xz-utils_5.2.4-1_amd64.deb ...
14:16:18 #5 6.122 Unpacking xz-utils (5.2.4-1) ...
14:16:18 #5 6.173 Selecting previously unselected package patch.
14:16:18 #5 6.178 Preparing to unpack .../2-patch_2.7.6-3+deb10u1_amd64.deb ...
14:16:18 #5 6.182 Unpacking patch (2.7.6-3+deb10u1) ...
14:16:18 #5 6.255 Selecting previously unselected package dpkg-dev.
14:16:18 #5 6.259 Preparing to unpack .../3-dpkg-dev_1.19.7_all.deb ...
14:16:18 #5 6.264 Unpacking dpkg-dev (1.19.7) ...
14:16:18 #5 6.421 Selecting previously unselected package build-essential.
14:16:18 #5 6.425 Preparing to unpack .../4-build-essential_12.6_amd64.deb ...
14:16:18 #5 6.430 Unpacking build-essential (12.6) ...
14:16:18 #5 6.467 Selecting previously unselected package libfakeroot:amd64.
14:16:18 #5 6.470 Preparing to unpack .../5-libfakeroot_1.23-1_amd64.deb ...
14:16:18 #5 6.481 Unpacking libfakeroot:amd64 (1.23-1) ...
14:16:18 #5 6.531 Selecting previously unselected package fakeroot.
14:16:18 #5 6.535 Preparing to unpack .../6-fakeroot_1.23-1_amd64.deb ...
14:16:18 #5 6.540 Unpacking fakeroot (1.23-1) ...
14:16:18 #5 6.607 Selecting previously unselected package libalgorithm-diff-perl.
14:16:18 #5 6.609 Preparing to unpack .../7-libalgorithm-diff-perl_1.19.03-2_all.deb ...
14:16:18 #5 6.614 Unpacking libalgorithm-diff-perl (1.19.03-2) ...
14:16:18 #5 6.655 Selecting previously unselected package libalgorithm-diff-xs-perl.
14:16:18 #5 6.655 Preparing to unpack .../8-libalgorithm-diff-xs-perl_0.04-5+b1_amd64.deb ...
14:16:18 #5 6.659 Unpacking libalgorithm-diff-xs-perl (0.04-5+b1) ...
14:16:18 #5 6.692 Selecting previously unselected package libalgorithm-merge-perl.
14:16:18 #5 6.694 Preparing to unpack .../9-libalgorithm-merge-perl_0.08-3_all.deb ...
14:16:18 #5 6.700 Unpacking libalgorithm-merge-perl (0.08-3) ...
14:16:18 #5 6.742 Setting up libalgorithm-diff-perl (1.19.03-2) ...
14:16:18 #5 6.754 Setting up bzip2 (1.0.6-9.2~deb10u1) ...
14:16:18 #5 6.774 Setting up libfakeroot:amd64 (1.23-1) ...
14:16:19 #5 6.790 Setting up fakeroot (1.23-1) ...
14:16:19 #5 6.805 update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
14:16:19 #5 6.820 Setting up xz-utils (5.2.4-1) ...
14:16:19 #5 6.830 update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
14:16:19 #5 6.840 Setting up patch (2.7.6-3+deb10u1) ...
14:16:19 #5 6.852 Setting up libalgorithm-diff-xs-perl (0.04-5+b1) ...
14:16:19 #5 6.864 Setting up libalgorithm-merge-perl (0.08-3) ...
14:16:19 #5 6.875 Setting up dpkg-dev (1.19.7) ...
14:16:19 #5 6.894 Setting up build-essential (12.6) ...
14:16:19 #5 6.909 Processing triggers for libc-bin (2.28-10) ...
14:16:19 #5 DONE 7.6s
14:16:19 
14:16:19 #6 [3/11] RUN curl -fsSL https://github.com/docker/compose/releases/downloa...
14:16:21 #6 DONE 1.4s
14:16:21 
14:16:21 #7 [4/11] RUN curl -fsSL https://github.com/theupdateframework/notary/relea...
14:16:22 #7 DONE 1.4s
14:16:22 
14:16:22 #8 [5/11] RUN curl -fsSL https://github.com/gotestyourself/gotestsum/releas...
14:16:24 #8 DONE 1.5s
14:16:24 
14:16:24 #9 [6/11] WORKDIR /go/src/github.com/docker/cli
14:16:24 #9 DONE 0.1s
14:16:24 
14:16:24 #11 [7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/...
14:16:24 #11 DONE 0.1s
14:16:24 
14:16:24 #12 [8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-...
14:16:25 #12 0.910 Updating certificates in /etc/ssl/certs...
14:16:25 #12 1.587 1 added, 0 removed; done.
14:16:25 #12 1.588 Running hooks in /etc/ca-certificates/update.d...
14:16:25 #12 1.589 done.
14:16:25 #12 DONE 1.7s
14:16:26 
14:16:26 #13 [9/11] COPY . .
14:16:26 #13 DONE 0.9s
14:16:26 
14:16:26 #14 [10/11] RUN ./scripts/build/binary
14:16:27 #14 0.787 Building statically linked build/docker-linux-amd64
14:18:18 #14 DONE 110.1s
14:18:18 
14:18:18 #15 [11/11] RUN ./scripts/build/plugins e2e/cli-plugins/plugins/*
14:18:18 #15 0.923 Building statically linked build/plugins-linux-amd64/docker-helloworld
14:18:19 #15 2.688 Building statically linked build/plugins-linux-amd64/docker-badmeta
14:18:21 #15 4.575 Building statically linked build/plugins-linux-amd64/docker-nopersistentprerun
14:18:23 #15 DONE 7.0s
14:18:23 
14:18:23 #16 exporting to image
14:18:23 #16 exporting layers
14:18:27 #16 exporting layers 3.4s done
14:18:27 #16 writing image sha256:ab285695907c1abb8d451566e3affe175000c1448a26790bfc61604057f70eff
14:18:27 #16 writing image sha256:ab285695907c1abb8d451566e3affe175000c1448a26790bfc61604057f70eff done
14:18:27 #16 naming to docker.io/library/docker-cli-e2eclie2e6 done
14:18:27 #16 DONE 3.4s
14:18:27 docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -e VERSION=20.03.0-dev -e GITCOMMIT -e PLATFORM -e TESTFLAGS -e TESTDIRS -e GOOS -e GOARCH -e GOARM docker-cli-e2eclie2e6
14:18:29 Native build is an experimental feature and could change at any time
14:18:29 Creating network "cliendtoendsuite_default" with the default driver
14:18:29 Pulling registry (registry:2)...
14:18:29 2: Pulling from library/registry
14:18:30 Digest: sha256:7d081088e4bfd632a88e3f3bcd9e007ef44a796fddfe3261407a3f9f04abe1e7
14:18:30 Status: Downloaded newer image for registry:2
14:18:30 Pulling engine (docker:stable-dind)...
14:18:30 stable-dind: Pulling from library/docker
14:18:37 Digest: sha256:ba51388db2907f0f0d33b365f039f89b48bfe9e3a408c2211addd5357268f33a
14:18:37 Status: Downloaded newer image for docker:stable-dind
14:18:37 Building notary-server
14:18:37 #2 [internal] load .dockerignore
14:18:37 #2 transferring context: 2B done
14:18:37 #2 DONE 0.0s
14:18:37 
14:18:37 #1 [internal] load build definition from Dockerfile.notary-server
14:18:37 #1 transferring dockerfile: 140B done
14:18:37 #1 DONE 0.0s
14:18:37 
14:18:37 #3 [internal] load metadata for docker.io/library/notary:server-0.5.0
14:18:42 #3 DONE 5.3s
14:18:42 
14:18:42 #4 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447...
14:18:42 #4 DONE 0.0s
14:18:42 
14:18:42 #5 [internal] load build context
14:18:42 #5 transferring context: 8.26kB 0.0s done
14:18:42 #5 DONE 0.0s
14:18:42 
14:18:42 #4 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447...
14:18:42 #4 resolve docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447a9818e7f16d0a02ba1d9905de71e5354bc8ee0017304a244 done
14:18:42 #4 sha256:d59e4ecc20198447a9818e7f16d0a02ba1d9905de71e5354bc8ee0017304a244 434B / 434B done
14:18:42 #4 sha256:88bddb53072ae1b018b3b09ac1974be903800e3595ec31401fc3c73ffb66affd 1.36kB / 1.36kB done
14:18:42 #4 sha256:16b632e954ca01326ecc36ff0c7bb651baf9dcf92366b322b112f697193eb3d5 3.40kB / 3.40kB done
14:18:42 #4 sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde 0B / 2.21MB 0.0s
14:18:42 #4 sha256:176147d1183da92e05482a5560407bfc56af52bc61b1cb5bdb323d4c7d6a8867 0B / 411B 0.0s
14:18:42 #4 sha256:9504875b8162730788ff7df926b72bcbb2bae4690f5195b6d62ec961ffc12056 0B / 4.03MB 0.0s
14:18:42 #4 sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde 2.21MB / 2.21MB 0.1s done
14:18:42 #4 extracting sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde
14:18:42 #4 sha256:070baad58e0d2d397143ab9f03defb8b016fc8d57eab900d496727c0e2e00292 0B / 377B 0.1s
14:18:42 #4 sha256:176147d1183da92e05482a5560407bfc56af52bc61b1cb5bdb323d4c7d6a8867 411B / 411B 0.2s done
14:18:42 #4 sha256:9504875b8162730788ff7df926b72bcbb2bae4690f5195b6d62ec961ffc12056 2.18MB / 4.03MB 0.2s
14:18:42 #4 sha256:070baad58e0d2d397143ab9f03defb8b016fc8d57eab900d496727c0e2e00292 377B / 377B 0.2s done
14:18:42 #4 sha256:b9ff31535c882e16ca7c737f9b9852e6b03e10cd1cd3fdf653beecdedf3dffff 0B / 1.19kB 0.2s
14:18:43 #4 sha256:9504875b8162730788ff7df926b72bcbb2bae4690f5195b6d62ec961ffc12056 4.03MB / 4.03MB 0.3s done
14:18:43 #4 extracting sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde 0.2s done
14:18:43 #4 sha256:b9ff31535c882e16ca7c737f9b9852e6b03e10cd1cd3fdf653beecdedf3dffff 1.19kB / 1.19kB 0.3s done
14:18:43 #4 extracting sha256:176147d1183da92e05482a5560407bfc56af52bc61b1cb5bdb323d4c7d6a8867 done
14:18:43 #4 extracting sha256:9504875b8162730788ff7df926b72bcbb2bae4690f5195b6d62ec961ffc12056
14:18:43 #4 extracting sha256:9504875b8162730788ff7df926b72bcbb2bae4690f5195b6d62ec961ffc12056 0.3s done
14:18:43 #4 extracting sha256:070baad58e0d2d397143ab9f03defb8b016fc8d57eab900d496727c0e2e00292
14:18:43 #4 extracting sha256:070baad58e0d2d397143ab9f03defb8b016fc8d57eab900d496727c0e2e00292 done
14:18:43 #4 extracting sha256:b9ff31535c882e16ca7c737f9b9852e6b03e10cd1cd3fdf653beecdedf3dffff
14:18:43 #4 extracting sha256:b9ff31535c882e16ca7c737f9b9852e6b03e10cd1cd3fdf653beecdedf3dffff done
14:18:43 #4 DONE 1.4s
14:18:44 
14:18:44 #6 [2/2] COPY ./notary/ /fixtures/
14:18:45 #6 DONE 1.6s
14:18:45 
14:18:45 #7 exporting to image
14:18:45 #7 exporting layers 0.0s done
14:18:45 #7 writing image sha256:5899b54474950cf155fff4ae1c0bdfa2e75b6d37729b7befc199abbf50f2829d done
14:18:45 #7 naming to docker.io/library/cliendtoendsuite_notary-server done
14:18:45 #7 DONE 0.1s
14:18:45 Successfully built 5899b54474950cf155fff4ae1c0bdfa2e75b6d37729b7befc199abbf50f2829d
14:18:45 Building evil-notary-server
14:18:45 #2 [internal] load .dockerignore
14:18:45 #2 transferring context: 2B done
14:18:45 #2 DONE 0.0s
14:18:45 
14:18:45 #1 [internal] load build definition from Dockerfile.evil-notary-server
14:18:45 #1 transferring dockerfile: 150B done
14:18:45 #1 DONE 0.0s
14:18:45 
14:18:45 #3 [internal] load metadata for docker.io/library/notary:server-0.5.0
14:18:46 #3 DONE 0.1s
14:18:46 
14:18:46 #4 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447...
14:18:46 #4 CACHED
14:18:46 
14:18:46 #5 [internal] load build context
14:18:46 #5 transferring context: 8.29kB done
14:18:46 #5 DONE 0.0s
14:18:46 
14:18:46 #6 [2/2] COPY ./notary-evil/ /fixtures/
14:18:46 #6 DONE 0.1s
14:18:46 
14:18:46 #7 exporting to image
14:18:46 #7 exporting layers 0.0s done
14:18:46 #7 writing image sha256:f98eafabe208c28bb58934d736a942da459630244225f7c2fecfa7c67c03613c done
14:18:46 #7 naming to docker.io/library/cliendtoendsuite_evil-notary-server done
14:18:46 #7 DONE 0.0s
14:18:46 Successfully built f98eafabe208c28bb58934d736a942da459630244225f7c2fecfa7c67c03613c
14:18:46 Creating cliendtoendsuite_engine_1 ... 
14:18:46 Creating cliendtoendsuite_notary-server_1 ... 
14:18:46 Creating cliendtoendsuite_evil-notary-server_1 ... 
14:18:46 Creating cliendtoendsuite_registry_1           ... 
14:18:49 
Creating cliendtoendsuite_registry_1           ... done

Creating cliendtoendsuite_evil-notary-server_1 ... done

Creating cliendtoendsuite_engine_1             ... done

Creating cliendtoendsuite_notary-server_1      ... done
Waiting for docker daemon to become available at tcp://172.18.0.4:2375
14:18:49 Client:
14:18:49  Version:           20.03.0-dev
14:18:49  API version:       1.40 (downgraded from 1.41)
14:18:49  Go version:        go1.13.8
14:18:49  Git commit:        
14:18:49  Built:             Tue Mar 31 14:16:27 2020
14:18:49  OS/Arch:           linux/amd64
14:18:49  Experimental:      false
14:18:49 
14:18:49 Server: Docker Engine - Community
14:18:49  Engine:
14:18:49   Version:          19.03.8
14:18:49   API version:      1.40 (minimum version 1.12)
14:18:49   Go version:       go1.12.17
14:18:49   Git commit:       afacb8b7f0
14:18:49   Built:            Wed Mar 11 01:30:32 2020
14:18:49   OS/Arch:          linux/amd64
14:18:49   Experimental:     false
14:18:49  containerd:
14:18:49   Version:          v1.2.13
14:18:49   GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
14:18:49  runc:
14:18:49   Version:          1.0.0-rc10
14:18:49   GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
14:18:49  docker-init:
14:18:49   Version:          0.18.0
14:18:49   GitCommit:        fec3683
14:18:50 sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d: Pulling from library/alpine
14:18:50 88286f41530e: Pulling fs layer
14:18:50 88286f41530e: Verifying Checksum
14:18:50 88286f41530e: Download complete
14:18:50 88286f41530e: Pull complete
14:18:50 Digest: sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d
14:18:50 Status: Downloaded newer image for alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d
14:18:50 docker.io/library/alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d
14:18:50 The push refers to repository [registry:5000/alpine]
14:18:50 5bef08742407: Preparing
14:18:50 5bef08742407: Pushed
14:18:51 3.6: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
14:18:51 sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7: Pulling from library/busybox
14:18:51 03b1be98f3f9: Pulling fs layer
14:18:51 03b1be98f3f9: Verifying Checksum
14:18:51 03b1be98f3f9: Download complete
14:18:51 03b1be98f3f9: Pull complete
14:18:51 Digest: sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7
14:18:51 Status: Downloaded newer image for busybox@sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7
14:18:51 docker.io/library/busybox@sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7
14:18:51 The push refers to repository [registry:5000/busybox]
14:18:51 6a749002dd6a: Preparing
14:18:52 6a749002dd6a: Pushed
14:18:52 1.27.2: digest: sha256:030fcb92e1487b18c974784dcc110a93147c9fc402188370fbfd17efabffc6af size: 527
14:18:52 Swarm initialized: current node (8jy962pt48nb79aa1s2iqrjt1) is now a manager.
14:18:52 
14:18:52 To add a worker to this swarm, run the following command:
14:18:52 
14:18:52     docker swarm join --token SWMTKN-1-1k3b92a3lghke6mphfip92wdubtxvru18eipgi5lrezctvzoza-0bsyrm1dxjdo5afq0iauxoggw 172.18.0.4:2377
14:18:52 
14:18:52 To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.
14:18:52 
14:19:19 ✓  e2e/cli-plugins (2.364s)
14:19:19 ∅  e2e/cli-plugins/plugins/badmeta
14:19:19 ∅  e2e/cli-plugins/plugins/nopersistentprerun
14:19:19 ✓  e2e/context (56ms)
14:19:19 ✓  e2e/global (114ms)
14:19:19 ✖  e2e/container (5.059s)
14:19:21 ✖  e2e/image (4.476s)
14:19:21 ∅  e2e/internal/fixtures
14:19:22 ✖  e2e/plugin (2.394s)
14:19:22 ∅  e2e/plugin/basic
14:19:23 ✓  e2e/stack (622ms)
14:19:23 ✓  e2e/system (79ms)
14:19:24 ✖  e2e/trust (505ms)
14:19:24 
14:19:24 === Skipped
14:19:24 === SKIP: e2e/cli-plugins TestCLIPluginDialStdio (0.00s)
14:19:24     dial_test.go:16: skipping plugin dial-stdio test since DOCKER_CLI_PLUGIN_USE_DIAL_STDIO is not set
14:19:24 
14:19:24 === SKIP: e2e/container TestRunWithCgroupNamespace (0.09s)
14:19:24     run_test.go:141: !cgroupNsFound: running against a daemon that doesn't support cgroup namespaces (security options: [name=apparmor name=seccomp,profile=default]
14:19:24         )
14:19:24 
14:19:24 === SKIP: e2e/image TestBuildIidFileSquash (0.05s)
14:19:24     build_test.go:112: !experimentalBuild: running against a non-experimental daemon
14:19:24 
14:19:24 === SKIP: e2e/stack TestDeployWithNamedResources/Kubernetes (0.00s)
14:19:24     --- SKIP: TestDeployWithNamedResources/Kubernetes (0.00s)
14:19:24         deploy_test.go:22: FIXME(chris-crone): currently does not work with compose for kubernetes.
14:19:24 
14:19:24 === SKIP: e2e/stack TestRemove/Kubernetes (0.00s)
14:19:24     --- SKIP: TestRemove/Kubernetes (0.00s)
14:19:24         remove_test.go:22: !environment.KubernetesEnabled()
14:19:24 
14:19:24 
14:19:24 === Failed
14:19:24 === FAIL: e2e/container TestCreateWithContentTrust (0.31s)
14:19:24     create_test.go:18: assertion failed: 
14:19:24         Command:  docker image push registry:5000/trust-create:latest
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   The push refers to repository [registry:5000/trust-create]
14:19:24         5bef08742407: Preparing
14:19:24         5bef08742407: Mounted from alpine
14:19:24         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
14:19:24         Signing and pushing trust metadata
14:19:24         
14:19:24         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         ExitCode was 1 expected 0
14:19:24         Expected no error
14:19:24 
14:19:24 === FAIL: e2e/container TestTrustedCreateFromUnreachableTrustServer (0.26s)
14:19:24     create_test.go:38: assertion failed: 
14:19:24         Command:  docker image push registry:5000/trust-create:latest
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   The push refers to repository [registry:5000/trust-create]
14:19:24         5bef08742407: Preparing
14:19:24         5bef08742407: Layer already exists
14:19:24         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
14:19:24         Signing and pushing trust metadata
14:19:24         
14:19:24         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         ExitCode was 1 expected 0
14:19:24         Expected no error
14:19:24 
14:19:24 === FAIL: e2e/container TestTrustedCreateFromBadTrustServer (0.23s)
14:19:24     create_test.go:66: assertion failed: 
14:19:24         Command:  docker image push registry:5000/evil-alpine:latest
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   The push refers to repository [registry:5000/evil-alpine]
14:19:24         5bef08742407: Preparing
14:19:24         5bef08742407: Mounted from trust-create
14:19:24         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
14:19:24         Signing and pushing trust metadata
14:19:24         
14:19:24         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         ExitCode was 1 expected 0
14:19:24         Expected no error
14:19:24 
14:19:24 === FAIL: e2e/container TestRunWithContentTrust (0.25s)
14:19:24     run_test.go:36: assertion failed: 
14:19:24         Command:  docker image push registry:5000/trust-run:latest
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   The push refers to repository [registry:5000/trust-run]
14:19:24         5bef08742407: Preparing
14:19:24         5bef08742407: Mounted from trust-create
14:19:24         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
14:19:24         Signing and pushing trust metadata
14:19:24         
14:19:24         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         ExitCode was 1 expected 0
14:19:24         Expected no error
14:19:24 
14:19:24 === FAIL: e2e/container TestUntrustedRun (0.18s)
14:19:24     run_test.go:70: assertion failed: 
14:19:24         Command:  docker run registry:5000/alpine:untrusted
14:19:24         ExitCode: 125
14:19:24         Error:    exit status 125
14:19:24         Stdout:   
14:19:24         Stderr:   docker: Error: error contacting notary server: x509: certificate has expired or is not yet valid.
14:19:24         See 'docker run --help'.
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         Expected stderr to contain "does not have trust data for"
14:19:24 
14:19:24 === FAIL: e2e/container TestTrustedRunFromBadTrustServer (0.21s)
14:19:24     run_test.go:90: assertion failed: 
14:19:24         Command:  docker image push registry:5000/evil-alpine:latest
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   The push refers to repository [registry:5000/evil-alpine]
14:19:24         5bef08742407: Preparing
14:19:24         5bef08742407: Layer already exists
14:19:24         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
14:19:24         Signing and pushing trust metadata
14:19:24         
14:19:24         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         ExitCode was 1 expected 0
14:19:24         Expected no error
14:19:24 
14:19:24 === FAIL: e2e/image TestTrustedBuild (0.33s)
14:19:24     build_test.go:56: assertion failed: 
14:19:24         Command:  docker image push registry:5000/trust-build1:latest
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   The push refers to repository [registry:5000/trust-build1]
14:19:24         5bef08742407: Preparing
14:19:24         5bef08742407: Mounted from trust-run
14:19:24         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
14:19:24         Signing and pushing trust metadata
14:19:24         
14:19:24         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         ExitCode was 1 expected 0
14:19:24         Expected no error
14:19:24 
14:19:24 === FAIL: e2e/image TestTrustedBuildUntrustedImage (0.12s)
14:19:24     build_test.go:105: assertion failed: 
14:19:24         Command:  docker build -t myimage .
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   Sending build context to Docker daemon 
14:19:24         
14:19:24         
14:19:24         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
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         Expected stderr to contain "does not have trust data for"
14:19:24 
14:19:24 === FAIL: e2e/image TestPullWithContentTrust (0.34s)
14:19:24     pull_test.go:22: assertion failed: 
14:19:24         Command:  docker image push registry:5000/trust-pull:latest
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   The push refers to repository [registry:5000/trust-pull]
14:19:24         5bef08742407: Preparing
14:19:24         5bef08742407: Mounted from trust-build1
14:19:24         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
14:19:24         Signing and pushing trust metadata
14:19:24         
14:19:24         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         ExitCode was 1 expected 0
14:19:24         Expected no error
14:19:24 
14:19:24 === FAIL: e2e/image TestPullWithContentTrustUsesCacheWhenNotaryUnavailable (0.33s)
14:19:24     pull_test.go:49: assertion failed: 
14:19:24         Command:  docker image push registry:5000/trust-pull-unreachable:latest
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   The push refers to repository [registry:5000/trust-pull-unreachable]
14:19:24         5bef08742407: Preparing
14:19:24         5bef08742407: Mounted from trust-pull
14:19:24         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
14:19:24         Signing and pushing trust metadata
14:19:24         
14:19:24         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         ExitCode was 1 expected 0
14:19:24         Expected no error
14:19:24 
14:19:24 === FAIL: e2e/image TestPushWithContentTrust (0.28s)
14:19:24     push_test.go:64: assertion failed: 
14:19:24         Command:  docker push registry:5000/trust-push:latest
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   The push refers to repository [registry:5000/trust-push]
14:19:24         5bef08742407: Preparing
14:19:24         5bef08742407: Mounted from evil-alpine
14:19:24         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
14:19:24         Signing and pushing trust metadata
14:19:24         
14:19:24         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         ExitCode was 1 expected 0
14:19:24         Expected no error
14:19:24 
14:19:24 === FAIL: e2e/image TestPushWithContentTrustExistingTag (0.40s)
14:19:24     push_test.go:118: assertion failed: 
14:19:24         Command:  docker push registry:5000/trust-push-existing:latest
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   The push refers to repository [registry:5000/trust-push-existing]
14:19:24         5bef08742407: Preparing
14:19:24         5bef08742407: Layer already exists
14:19:24         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
14:19:24         Signing and pushing trust metadata
14:19:24         
14:19:24         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         ExitCode was 1 expected 0
14:19:24         Expected no error
14:19:24 
14:19:24 === FAIL: e2e/image TestPushWithContentTrustReleasesDelegationOnly (0.17s)
14:19:24     push_test.go:373: assertion failed: 
14:19:24         Command:  /usr/local/bin/notary -c /tmp/notary_test-528152075/client-config.json init registry:5000/trust-push-releases-delegation
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   
14:19:24         * fatal: client is offline
14:19:24         
14:19:24         Stderr:   time="2020-03-31T14:19:21Z" 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"
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         ExitCode was 1 expected 0
14:19:24         Expected no error
14:19:24 
14:19:24 === FAIL: e2e/image TestPushWithContentTrustSignsAllFirstLevelRolesWeHaveKeysFor (0.12s)
14:19:24     push_test.go:373: assertion failed: 
14:19:24         Command:  /usr/local/bin/notary -c /tmp/notary_test-309982032/client-config.json init registry:5000/trust-push-releases-first-roles
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   
14:19:24         * fatal: client is offline
14:19:24         
14:19:24         Stderr:   time="2020-03-31T14:19:21Z" 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"
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         ExitCode was 1 expected 0
14:19:24         Expected no error
14:19:24 
14:19:24 === FAIL: e2e/image TestPushWithContentTrustSignsForRolesWithKeysAndValidPaths (0.15s)
14:19:24     push_test.go:373: assertion failed: 
14:19:24         Command:  /usr/local/bin/notary -c /tmp/notary_test-205777017/client-config.json init registry:5000/trust-push-releases-keys-valid-paths
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   
14:19:24         * fatal: client is offline
14:19:24         
14:19:24         Stderr:   time="2020-03-31T14:19:21Z" 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"
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         ExitCode was 1 expected 0
14:19:24         Expected no error
14:19:24 
14:19:24 === FAIL: e2e/plugin TestInstallWithContentTrust (2.21s)
14:19:24     trust_test.go:41: assertion failed: 
14:19:24         Command:  docker plugin push registry:5000/plugin-content-trust
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   The push refers to repository [registry:5000/plugin-content-trust]
14:19:24         a0c16cf40b37: Preparing
14:19:24         a0c16cf40b37: Pushed
14:19:24         latest: digest: sha256:3bc2fef23f94b173034c0419d2625f78584ccaf778bf32192bb54f2fc24e3d17 size: 518
14:19:24         Signing and pushing trust metadata
14:19:24         
14:19:24         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         ExitCode was 1 expected 0
14:19:24         Expected no error
14:19:24 
14:19:24 === FAIL: e2e/plugin TestInstallWithContentTrustUntrusted (0.17s)
14:19:24     trust_test.go:68: assertion failed: 
14:19:24         Command:  docker plugin install --grant-all-permissions tiborvass/sample-volume-plugin:latest
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   
14:19:24         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         Expected stderr to contain "Error: remote trust data does not exist"
14:19:24 
14:19:24 === FAIL: e2e/trust TestRevokeImage (0.13s)
14:19:24     revoke_test.go:55: assertion failed: 
14:19:24         Command:  docker -D trust sign registry:5000/revoke:v1
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   
14:19:24         Stderr:   time="2020-03-31T14:19:23Z" level=debug msg="reading certificate directory: /tmp/trust_test-829319764/tls/notary-server:4443"
14:19:24         time="2020-03-31T14:19:23Z" 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"
14:19:24         time="2020-03-31T14:19:23Z" level=debug msg="Making dir path: /tmp/trust_test-829319764/trust/tuf/registry:5000/revoke/changelist"
14:19:24         Error: error contacting notary server: x509: certificate has expired or is not yet valid
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         ExitCode was 1 expected 0
14:19:24         Expected no error
14:19:24 
14:19:24 === FAIL: e2e/trust TestRevokeRepo (0.12s)
14:19:24     revoke_test.go:64: assertion failed: 
14:19:24         Command:  docker -D trust sign registry:5000/revokerepo:v1
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   
14:19:24         Stderr:   time="2020-03-31T14:19:23Z" level=debug msg="reading certificate directory: /tmp/trust_test-364806051/tls/notary-server:4443"
14:19:24         time="2020-03-31T14:19:23Z" 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"
14:19:24         time="2020-03-31T14:19:23Z" level=debug msg="Making dir path: /tmp/trust_test-364806051/trust/tuf/registry:5000/revokerepo/changelist"
14:19:24         Error: error contacting notary server: x509: certificate has expired or is not yet valid
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         ExitCode was 1 expected 0
14:19:24         Expected no error
14:19:24 
14:19:24 === FAIL: e2e/trust TestSignLocalImage (0.12s)
14:19:24     sign_test.go:32: assertion failed: 
14:19:24         Command:  docker trust sign registry:5000/sign:v1
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   
14:19:24         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         ExitCode was 1 expected 0
14:19:24         Expected no error
14:19:24 
14:19:24 === FAIL: e2e/trust TestSignWithLocalFlag (0.13s)
14:19:24     sign_test.go:57: assertion failed: 
14:19:24         Command:  docker -D trust sign registry:5000/signlocal:v1
14:19:24         ExitCode: 1
14:19:24         Error:    exit status 1
14:19:24         Stdout:   
14:19:24         Stderr:   time="2020-03-31T14:19:23Z" level=debug msg="reading certificate directory: /tmp/trust_test-230460365/tls/notary-server:4443"
14:19:24         time="2020-03-31T14:19:23Z" 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"
14:19:24         time="2020-03-31T14:19:23Z" level=debug msg="Making dir path: /tmp/trust_test-230460365/trust/tuf/registry:5000/signlocal/changelist"
14:19:24         Error: error contacting notary server: x509: certificate has expired or is not yet valid
14:19:24         
14:19:24         
14:19:24         Failures:
14:19:24         ExitCode was 1 expected 0
14:19:24         Expected no error
14:19:24 
14:19:24 
14:19:24 DONE 94 tests, 5 skipped, 21 failures in 31.252s
14:19:24 Stopping cliendtoendsuite_evil-notary-server_1 ... 
14:19:24 Stopping cliendtoendsuite_registry_1           ... 
14:19:24 Stopping cliendtoendsuite_notary-server_1      ... 
14:19:24 Stopping cliendtoendsuite_engine_1             ... 
14:19:27 
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 ... 
14:19:27 Removing cliendtoendsuite_registry_1           ... 
14:19:27 Removing cliendtoendsuite_notary-server_1      ... 
14:19:27 Removing cliendtoendsuite_engine_1             ... 
14:19:27 
Removing cliendtoendsuite_evil-notary-server_1 ... done

Removing cliendtoendsuite_notary-server_1      ... done

Removing cliendtoendsuite_registry_1           ... done

Removing cliendtoendsuite_engine_1             ... done
Removing network cliendtoendsuite_default
14:19:27 Removing image cliendtoendsuite_notary-server
14:19:27 Removing image cliendtoendsuite_evil-notary-server
14:19:27 docker.Makefile:152: recipe for target 'test-e2e-non-experimental' failed
14:19:27 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