Skip to content
Failed

Console Output

Pull request #2418 opened
00:28:44 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from 3a1738fd3b63908c3526a9a9f0c058655061d38b+6e98ebc89a683e751b253508c8ab9f4ca7c647be (2aa324594302169a5d9d4b211c54cdc610864983)
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
Cloning the remote Git repository
Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/docker/jps.git
 > git init /var/cloudbees-jenkins-distribution/workspace/cli_PR-2418@libs/jps # timeout=10
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
 > git config remote.origin.url https://github.com/docker/jps.git # 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/jps.git # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/docker/jps.git
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"
First time build. Skipping changelog.
 > git --version # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] node
Running on EC2 (managed-agents) - ubuntu-1804-overlay2-big (i-0a5ca3c3daedc30ac) in /home/ubuntu/workspace/cli_PR-2418
[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-2418@tmp/1bb28857-4b9e-4678-863f-da126157bb7a/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
00:28:47 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
00:28:47 chowning workspace
[Pipeline] sh
00:28:47 + pwd
00:28:47 + id -u
00:28:47 + id -g
00:28:47 + docker run --rm -v /home/ubuntu/workspace/cli_PR-2418:/workspace busybox chown -R 1000:1000 /workspace
[Pipeline] echo
00:28:48 Removing all docker containers
[Pipeline] sh
00:28:48 + docker container ls -aq
[Pipeline] echo
00:28:48 Docker containers have been removed
[Pipeline] echo
00:28:48 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
00:28:48 cleanWorkspace: Workspace is clean.
[Pipeline] timeout
00:28:48 Timeout set to expire in 1 hr 0 min
[Pipeline] {
[Pipeline] stage
00:28:48 Using the ‘stage’ step without a block argument is deprecated
00:28:48 Entering stage Git Checkout
00:28:48 Proceeding
[Pipeline] checkout
00:28:48 using credential docker-jenkins-github-credentials
00:28:48 Cloning the remote Git repository
00:28:48 Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/docker/cli.git
 > git init /home/ubuntu/workspace/cli_PR-2418 # 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/2418/head:refs/remotes/origin/PR-2418 +refs/heads/master:refs/remotes/origin/master # timeout=10
00:28:50 Fetching without tags
 > git config remote.origin.url https://github.com/docker/cli.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/2418/head:refs/remotes/origin/PR-2418 # 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/2418/head:refs/remotes/origin/PR-2418 +refs/heads/master:refs/remotes/origin/master # timeout=10
00:28:50 Merging remotes/origin/master commit 6e98ebc89a683e751b253508c8ab9f4ca7c647be into PR head commit 3a1738fd3b63908c3526a9a9f0c058655061d38b
00:28:51 Merge succeeded, producing 3a1738fd3b63908c3526a9a9f0c058655061d38b
00:28:51 Checking out Revision 3a1738fd3b63908c3526a9a9f0c058655061d38b (PR-2418)
00:28:51 Commit message: "vendor: update go-events to fix alignment for 32bit systems"
00:28:51 First time build. Skipping changelog.
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3a1738fd3b63908c3526a9a9f0c058655061d38b # timeout=10
 > git merge 6e98ebc89a683e751b253508c8ab9f4ca7c647be # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3a1738fd3b63908c3526a9a9f0c058655061d38b # timeout=10
[Pipeline] stage
00:28:52 Using the ‘stage’ step without a block argument is deprecated
00:28:52 Entering stage Run end-to-end test suite
00:28:52 Proceeding
[Pipeline] sh
00:28:52 + docker version
00:28:52 Client: Docker Engine - Community
00:28:52  Version:           19.03.5
00:28:52  API version:       1.40
00:28:52  Go version:        go1.12.12
00:28:52  Git commit:        633a0ea838
00:28:52  Built:             Wed Nov 13 07:29:52 2019
00:28:52  OS/Arch:           linux/amd64
00:28:52  Experimental:      false
00:28:52 
00:28:52 Server: Docker Engine - Community
00:28:52  Engine:
00:28:52   Version:          19.03.5
00:28:52   API version:      1.40 (minimum version 1.12)
00:28:52   Go version:       go1.12.12
00:28:52   Git commit:       633a0ea838
00:28:52   Built:            Wed Nov 13 07:28:22 2019
00:28:52   OS/Arch:          linux/amd64
00:28:52   Experimental:     true
00:28:52  containerd:
00:28:52   Version:          1.2.10
00:28:52   GitCommit:        b34a5c8af56e510852c35414db4c1f4fa6172339
00:28:52  runc:
00:28:52   Version:          1.0.0-rc8+dev
00:28:52   GitCommit:        3e425f80a8c931f88e6d94a8c831b9d5aa481657
00:28:52  docker-init:
00:28:52   Version:          0.18.0
00:28:52   GitCommit:        fec3683
[Pipeline] sh
 > git --version # timeout=10
fatal: bad object 241f6703d31895690d4cb6f158f753615abe74ac
00:28:52 + docker info
00:28:52 Client:
00:28:52  Debug Mode: false
00:28:52 
00:28:52 Server:
00:28:52  Containers: 0
00:28:52   Running: 0
00:28:52   Paused: 0
00:28:52   Stopped: 0
00:28:52  Images: 4
00:28:52  Server Version: 19.03.5
00:28:52  Storage Driver: overlay2
00:28:52   Backing Filesystem: extfs
00:28:52   Supports d_type: true
00:28:52   Native Overlay Diff: true
00:28:52  Logging Driver: json-file
00:28:52  Cgroup Driver: cgroupfs
00:28:52  Plugins:
00:28:52   Volume: local
00:28:52   Network: bridge host ipvlan macvlan null overlay
00:28:52   Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
00:28:52  Swarm: inactive
00:28:52  Runtimes: runc
00:28:52  Default Runtime: runc
00:28:52  Init Binary: docker-init
00:28:52  containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
00:28:52  runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
00:28:52  init version: fec3683
00:28:52  Security Options:
00:28:52   apparmor
00:28:52   seccomp
00:28:52    Profile: default
00:28:52  Kernel Version: 4.15.0-1058-aws
00:28:52  Operating System: Ubuntu 18.04.4 LTS
00:28:52  OSType: linux
00:28:52  Architecture: x86_64
00:28:52  CPUs: 8
00:28:52  Total Memory: 30.63GiB
00:28:52  Name: ip-10-100-47-179
00:28:52  ID: 4CEL:5RBS:HN5G:X27E:6LIB:NDG4:JTLL:Y3PR:KAD2:JK75:FX6D:PY32
00:28:52  Docker Root Dir: /var/lib/docker
00:28:52  Debug Mode: false
00:28:52  Username: dockerbuildbot
00:28:52  Registry: https://index.docker.io/v1/
00:28:52  Labels:
00:28:52  Experimental: true
00:28:52  Insecure Registries:
00:28:52   127.0.0.0/8
00:28:52  Live Restore Enabled: true
00:28:52 
00:28:52 WARNING: No swap limit support
[Pipeline] sh
00:28:52 + E2E_UNIQUE_ID=clie2e1 IMAGE_TAG=clie2e1 DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e
00:28:52 docker build -t docker-cli-e2eclie2e1 --build-arg=GO_VERSION --build-arg VERSION=20.03.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e .
00:28:52 #1 [internal] load .dockerignore
00:28:52 #1 transferring context: 100B done
00:28:52 #1 DONE 0.0s
00:28:52 
00:28:52 #2 [internal] load build definition from Dockerfile.e2e
00:28:52 #2 transferring dockerfile: 1.65kB done
00:28:52 #2 DONE 0.0s
00:28:52 
00:28:52 #3 [internal] load metadata for docker.io/library/golang:1.13.8-buster
00:28:53 #3 DONE 0.1s
00:28:53 
00:28:53 #4 [1/11] FROM docker.io/library/golang:1.13.8-buster@sha256:1da34145a757a5...
00:28:53 #4 CACHED
00:28:53 
00:28:53 #10 [internal] load build context
00:28:53 #10 transferring context: 42.23MB 0.5s done
00:28:53 #10 DONE 0.6s
00:28:53 
00:28:53 #5 [2/11] RUN apt-get update && apt-get install -y     build-essential     ...
00:28:54 #5 0.928 Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
00:28:54 #5 0.939 Get:2 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
00:28:54 #5 1.032 Get:3 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB]
00:28:54 #5 1.058 Get:4 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
00:28:54 #5 1.155 Get:5 http://deb.debian.org/debian buster-updates/main amd64 Packages [7380 B]
00:28:54 #5 1.214 Get:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [186 kB]
00:28:55 #5 2.287 Fetched 8336 kB in 2s (5190 kB/s)
00:28:55 #5 2.287 Reading package lists...
00:28:56 #5 2.865 Reading package lists...
00:28:56 #5 3.435 Building dependency tree...
00:28:56 #5 3.549 Reading state information...
00:28:56 #5 3.652 openssh-client is already the newest version (1:7.9p1-10+deb10u2).
00:28:56 #5 3.652 openssl is already the newest version (1.1.1d-0+deb10u2).
00:28:56 #5 3.652 openssl set to manually installed.
00:28:56 #5 3.652 curl is already the newest version (7.64.0-4+deb10u1).
00:28:56 #5 3.652 The following additional packages will be installed:
00:28:56 #5 3.652   bzip2 dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl
00:28:56 #5 3.653   libalgorithm-merge-perl libfakeroot patch xz-utils
00:28:56 #5 3.653 Suggested packages:
00:28:56 #5 3.653   bzip2-doc debian-keyring ed diffutils-doc
00:28:56 #5 3.721 The following NEW packages will be installed:
00:28:56 #5 3.722   build-essential bzip2 dpkg-dev fakeroot libalgorithm-diff-perl
00:28:56 #5 3.722   libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot patch xz-utils
00:28:56 #5 3.990 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
00:28:56 #5 3.990 Need to get 2342 kB of archives.
00:28:56 #5 3.990 After this operation, 3601 kB of additional disk space will be used.
00:28:56 #5 3.990 Get:1 http://deb.debian.org/debian buster/main amd64 bzip2 amd64 1.0.6-9.2~deb10u1 [48.4 kB]
00:28:56 #5 3.994 Get:2 http://deb.debian.org/debian buster/main amd64 xz-utils amd64 5.2.4-1 [183 kB]
00:28:56 #5 4.000 Get:3 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB]
00:28:56 #5 4.004 Get:4 http://deb.debian.org/debian buster/main amd64 dpkg-dev all 1.19.7 [1773 kB]
00:28:56 #5 4.030 Get:5 http://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B]
00:28:56 #5 4.031 Get:6 http://deb.debian.org/debian buster/main amd64 libfakeroot amd64 1.23-1 [45.9 kB]
00:28:56 #5 4.032 Get:7 http://deb.debian.org/debian buster/main amd64 fakeroot amd64 1.23-1 [85.8 kB]
00:28:56 #5 4.033 Get:8 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-perl all 1.19.03-2 [47.9 kB]
00:28:56 #5 4.034 Get:9 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5+b1 [11.8 kB]
00:28:56 #5 4.034 Get:10 http://deb.debian.org/debian buster/main amd64 libalgorithm-merge-perl all 0.08-3 [12.7 kB]
00:28:57 #5 4.150 debconf: delaying package configuration, since apt-utils is not installed
00:28:57 #5 4.173 Fetched 2342 kB in 0s (7774 kB/s)
00:28:57 #5 4.189 Selecting previously unselected package bzip2.
00:28:57 #5 4.189 (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.)
00:28:57 #5 4.196 Preparing to unpack .../0-bzip2_1.0.6-9.2~deb10u1_amd64.deb ...
00:28:57 #5 4.199 Unpacking bzip2 (1.0.6-9.2~deb10u1) ...
00:28:57 #5 4.228 Selecting previously unselected package xz-utils.
00:28:57 #5 4.230 Preparing to unpack .../1-xz-utils_5.2.4-1_amd64.deb ...
00:28:57 #5 4.233 Unpacking xz-utils (5.2.4-1) ...
00:28:57 #5 4.267 Selecting previously unselected package patch.
00:28:57 #5 4.268 Preparing to unpack .../2-patch_2.7.6-3+deb10u1_amd64.deb ...
00:28:57 #5 4.271 Unpacking patch (2.7.6-3+deb10u1) ...
00:28:57 #5 4.305 Selecting previously unselected package dpkg-dev.
00:28:57 #5 4.307 Preparing to unpack .../3-dpkg-dev_1.19.7_all.deb ...
00:28:57 #5 4.309 Unpacking dpkg-dev (1.19.7) ...
00:28:57 #5 4.403 Selecting previously unselected package build-essential.
00:28:57 #5 4.405 Preparing to unpack .../4-build-essential_12.6_amd64.deb ...
00:28:57 #5 4.408 Unpacking build-essential (12.6) ...
00:28:57 #5 4.433 Selecting previously unselected package libfakeroot:amd64.
00:28:57 #5 4.435 Preparing to unpack .../5-libfakeroot_1.23-1_amd64.deb ...
00:28:57 #5 4.440 Unpacking libfakeroot:amd64 (1.23-1) ...
00:28:57 #5 4.467 Selecting previously unselected package fakeroot.
00:28:57 #5 4.468 Preparing to unpack .../6-fakeroot_1.23-1_amd64.deb ...
00:28:57 #5 4.471 Unpacking fakeroot (1.23-1) ...
00:28:57 #5 4.501 Selecting previously unselected package libalgorithm-diff-perl.
00:28:57 #5 4.503 Preparing to unpack .../7-libalgorithm-diff-perl_1.19.03-2_all.deb ...
00:28:57 #5 4.505 Unpacking libalgorithm-diff-perl (1.19.03-2) ...
00:28:57 #5 4.529 Selecting previously unselected package libalgorithm-diff-xs-perl.
00:28:57 #5 4.531 Preparing to unpack .../8-libalgorithm-diff-xs-perl_0.04-5+b1_amd64.deb ...
00:28:57 #5 4.534 Unpacking libalgorithm-diff-xs-perl (0.04-5+b1) ...
00:28:57 #5 4.556 Selecting previously unselected package libalgorithm-merge-perl.
00:28:57 #5 4.557 Preparing to unpack .../9-libalgorithm-merge-perl_0.08-3_all.deb ...
00:28:57 #5 4.560 Unpacking libalgorithm-merge-perl (0.08-3) ...
00:28:57 #5 4.589 Setting up libalgorithm-diff-perl (1.19.03-2) ...
00:28:57 #5 4.597 Setting up bzip2 (1.0.6-9.2~deb10u1) ...
00:28:57 #5 4.605 Setting up libfakeroot:amd64 (1.23-1) ...
00:28:57 #5 4.616 Setting up fakeroot (1.23-1) ...
00:28:57 #5 4.626 update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
00:28:57 #5 4.634 Setting up xz-utils (5.2.4-1) ...
00:28:57 #5 4.641 update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
00:28:57 #5 4.647 Setting up patch (2.7.6-3+deb10u1) ...
00:28:57 #5 4.655 Setting up libalgorithm-diff-xs-perl (0.04-5+b1) ...
00:28:57 #5 4.663 Setting up libalgorithm-merge-perl (0.08-3) ...
00:28:57 #5 4.670 Setting up dpkg-dev (1.19.7) ...
00:28:57 #5 4.683 Setting up build-essential (12.6) ...
00:28:57 #5 4.691 Processing triggers for libc-bin (2.28-10) ...
00:28:58 #5 DONE 5.1s
00:28:58 
00:28:58 #6 [3/11] RUN curl -fsSL https://github.com/docker/compose/releases/downloa...
00:28:59 #6 DONE 1.4s
00:28:59 
00:28:59 #7 [4/11] RUN curl -fsSL https://github.com/theupdateframework/notary/relea...
00:29:00 #7 DONE 1.0s
00:29:00 
00:29:00 #8 [5/11] RUN curl -fsSL https://github.com/gotestyourself/gotestsum/releas...
00:29:01 #8 DONE 1.0s
00:29:01 
00:29:01 #9 [6/11] WORKDIR /go/src/github.com/docker/cli
00:29:01 #9 DONE 0.0s
00:29:01 
00:29:01 #11 [7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/...
00:29:01 #11 DONE 0.1s
00:29:01 
00:29:01 #12 [8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-...
00:29:02 #12 0.654 Updating certificates in /etc/ssl/certs...
00:29:02 #12 1.121 1 added, 0 removed; done.
00:29:02 #12 1.121 Running hooks in /etc/ca-certificates/update.d...
00:29:02 #12 1.122 done.
00:29:02 #12 DONE 1.2s
00:29:02 
00:29:02 #13 [9/11] COPY . .
00:29:03 #13 DONE 0.6s
00:29:03 
00:29:03 #14 [10/11] RUN ./scripts/build/binary
00:29:04 #14 0.597 Building statically linked build/docker-linux-amd64
00:29:26 #14 DONE 22.8s
00:29:26 
00:29:26 #15 [11/11] RUN ./scripts/build/plugins e2e/cli-plugins/plugins/*
00:29:26 #15 0.678 Building statically linked build/plugins-linux-amd64/docker-helloworld
00:29:27 #15 1.553 Building statically linked build/plugins-linux-amd64/docker-badmeta
00:29:28 #15 2.263 Building statically linked build/plugins-linux-amd64/docker-nopersistentprerun
00:29:29 #15 DONE 3.2s
00:29:29 
00:29:29 #16 exporting to image
00:29:29 #16 exporting layers
00:29:31 #16 exporting layers 1.4s done
00:29:31 #16 writing image sha256:a11b2881dd34ab151c7cb832b288cd012ff70613bc6db5cd6357a628397f4e98 done
00:29:31 #16 naming to docker.io/library/docker-cli-e2eclie2e1 done
00:29:31 #16 DONE 1.4s
00:29:31 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-e2eclie2e1
00:29:32 Native build is an experimental feature and could change at any time
00:29:32 Creating network "cliendtoendsuite_default" with the default driver
00:29:32 Pulling registry (registry:2)...
00:29:32 2: Pulling from library/registry
00:29:32 Digest: sha256:7d081088e4bfd632a88e3f3bcd9e007ef44a796fddfe3261407a3f9f04abe1e7
00:29:32 Status: Downloaded newer image for registry:2
00:29:33 Pulling engine (docker:stable-dind)...
00:29:33 stable-dind: Pulling from library/docker
00:29:36 Digest: sha256:ba51388db2907f0f0d33b365f039f89b48bfe9e3a408c2211addd5357268f33a
00:29:36 Status: Downloaded newer image for docker:stable-dind
00:29:36 Building notary-server
00:29:36 #1 [internal] load .dockerignore
00:29:36 #1 transferring context: 2B done
00:29:36 #1 DONE 0.0s
00:29:36 
00:29:36 #2 [internal] load build definition from Dockerfile.notary-server
00:29:36 #2 transferring dockerfile: 140B done
00:29:36 #2 DONE 0.0s
00:29:36 
00:29:36 #3 [internal] load metadata for docker.io/library/notary:server-0.5.0
00:29:36 #3 DONE 0.3s
00:29:36 
00:29:36 #5 [internal] load build context
00:29:36 #5 transferring context: 8.26kB done
00:29:36 #5 DONE 0.0s
00:29:36 
00:29:36 #4 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447...
00:29:36 #4 resolve docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447a9818e7f16d0a02ba1d9905de71e5354bc8ee0017304a244 done
00:29:36 #4 extracting sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde
00:29:36 #4 sha256:88bddb53072ae1b018b3b09ac1974be903800e3595ec31401fc3c73ffb66affd 1.36kB / 1.36kB done
00:29:36 #4 sha256:16b632e954ca01326ecc36ff0c7bb651baf9dcf92366b322b112f697193eb3d5 3.40kB / 3.40kB done
00:29:36 #4 sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde 2.21MB / 2.21MB 0.1s done
00:29:36 #4 sha256:176147d1183da92e05482a5560407bfc56af52bc61b1cb5bdb323d4c7d6a8867 0B / 411B 0.1s
00:29:36 #4 sha256:9504875b8162730788ff7df926b72bcbb2bae4690f5195b6d62ec961ffc12056 0B / 4.03MB 0.1s
00:29:36 #4 sha256:070baad58e0d2d397143ab9f03defb8b016fc8d57eab900d496727c0e2e00292 0B / 377B 0.1s
00:29:36 #4 sha256:d59e4ecc20198447a9818e7f16d0a02ba1d9905de71e5354bc8ee0017304a244 434B / 434B done
00:29:36 #4 extracting sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde 0.1s done
00:29:36 #4 sha256:176147d1183da92e05482a5560407bfc56af52bc61b1cb5bdb323d4c7d6a8867 411B / 411B 0.1s done
00:29:36 #4 sha256:9504875b8162730788ff7df926b72bcbb2bae4690f5195b6d62ec961ffc12056 4.03MB / 4.03MB 0.2s done
00:29:36 #4 sha256:070baad58e0d2d397143ab9f03defb8b016fc8d57eab900d496727c0e2e00292 377B / 377B 0.1s done
00:29:36 #4 sha256:b9ff31535c882e16ca7c737f9b9852e6b03e10cd1cd3fdf653beecdedf3dffff 1.19kB / 1.19kB 0.2s done
00:29:36 #4 extracting sha256:176147d1183da92e05482a5560407bfc56af52bc61b1cb5bdb323d4c7d6a8867 done
00:29:36 #4 extracting sha256:9504875b8162730788ff7df926b72bcbb2bae4690f5195b6d62ec961ffc12056
00:29:37 #4 extracting sha256:9504875b8162730788ff7df926b72bcbb2bae4690f5195b6d62ec961ffc12056 0.1s done
00:29:37 #4 extracting sha256:070baad58e0d2d397143ab9f03defb8b016fc8d57eab900d496727c0e2e00292 done
00:29:37 #4 extracting sha256:b9ff31535c882e16ca7c737f9b9852e6b03e10cd1cd3fdf653beecdedf3dffff
00:29:37 #4 extracting sha256:b9ff31535c882e16ca7c737f9b9852e6b03e10cd1cd3fdf653beecdedf3dffff done
00:29:37 #4 DONE 0.8s
00:29:37 
00:29:37 #6 [2/2] COPY ./notary/ /fixtures/
00:29:37 #6 DONE 0.6s
00:29:37 
00:29:37 #7 exporting to image
00:29:37 #7 exporting layers 0.0s done
00:29:37 #7 writing image sha256:725cef0c4735e3b939a9f807c55307ac7a20fe449bfd73a2c907b7fc541ff24e done
00:29:37 #7 naming to docker.io/library/cliendtoendsuite_notary-server done
00:29:37 #7 DONE 0.0s
00:29:37 Successfully built 725cef0c4735e3b939a9f807c55307ac7a20fe449bfd73a2c907b7fc541ff24e
00:29:37 Building evil-notary-server
00:29:37 #2 [internal] load .dockerignore
00:29:37 #2 transferring context: 2B done
00:29:37 #2 DONE 0.0s
00:29:37 
00:29:37 #1 [internal] load build definition from Dockerfile.evil-notary-server
00:29:37 #1 transferring dockerfile: 150B done
00:29:37 #1 DONE 0.0s
00:29:37 
00:29:37 #3 [internal] load metadata for docker.io/library/notary:server-0.5.0
00:29:38 #3 DONE 0.1s
00:29:38 
00:29:38 #4 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447...
00:29:38 #4 CACHED
00:29:38 
00:29:38 #5 [internal] load build context
00:29:38 #5 transferring context: 8.29kB done
00:29:38 #5 DONE 0.0s
00:29:38 
00:29:38 #6 [2/2] COPY ./notary-evil/ /fixtures/
00:29:38 #6 DONE 0.1s
00:29:38 
00:29:38 #7 exporting to image
00:29:38 #7 exporting layers 0.0s done
00:29:38 #7 writing image sha256:ccd30c307437775dfd5a3a4685d1d48afd7a2cd08e8f952d5c0653f6a0fb0ec5 done
00:29:38 #7 naming to docker.io/library/cliendtoendsuite_evil-notary-server done
00:29:38 #7 DONE 0.0s
00:29:38 Successfully built ccd30c307437775dfd5a3a4685d1d48afd7a2cd08e8f952d5c0653f6a0fb0ec5
00:29:38 Creating cliendtoendsuite_evil-notary-server_1 ... 
00:29:38 Creating cliendtoendsuite_engine_1             ... 
00:29:38 Creating cliendtoendsuite_notary-server_1      ... 
00:29:38 Creating cliendtoendsuite_registry_1           ... 
00:29:43 
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.2:2375
00:29:43 Client:
00:29:43  Version:           20.03.0-dev
00:29:43  API version:       1.40 (downgraded from 1.41)
00:29:43  Go version:        go1.13.8
00:29:43  Git commit:        
00:29:43  Built:             Sat Apr  4 00:29:03 2020
00:29:43  OS/Arch:           linux/amd64
00:29:43  Experimental:      false
00:29:43 
00:29:43 Server: Docker Engine - Community
00:29:43  Engine:
00:29:43   Version:          19.03.8
00:29:43   API version:      1.40 (minimum version 1.12)
00:29:43   Go version:       go1.12.17
00:29:43   Git commit:       afacb8b7f0
00:29:43   Built:            Wed Mar 11 01:30:32 2020
00:29:43   OS/Arch:          linux/amd64
00:29:43   Experimental:     false
00:29:43  containerd:
00:29:43   Version:          v1.2.13
00:29:43   GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
00:29:43  runc:
00:29:43   Version:          1.0.0-rc10
00:29:43   GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
00:29:43  docker-init:
00:29:43   Version:          0.18.0
00:29:43   GitCommit:        fec3683
00:29:43 sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d: Pulling from library/alpine
00:29:43 88286f41530e: Pulling fs layer
00:29:43 88286f41530e: Verifying Checksum
00:29:43 88286f41530e: Download complete
00:29:43 88286f41530e: Pull complete
00:29:43 Digest: sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d
00:29:43 Status: Downloaded newer image for alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d
00:29:43 docker.io/library/alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d
00:29:43 The push refers to repository [registry:5000/alpine]
00:29:43 5bef08742407: Preparing
00:29:44 5bef08742407: Pushed
00:29:44 3.6: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:44 sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7: Pulling from library/busybox
00:29:44 03b1be98f3f9: Pulling fs layer
00:29:44 03b1be98f3f9: Verifying Checksum
00:29:44 03b1be98f3f9: Download complete
00:29:44 03b1be98f3f9: Pull complete
00:29:44 Digest: sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7
00:29:44 Status: Downloaded newer image for busybox@sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7
00:29:44 docker.io/library/busybox@sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7
00:29:44 The push refers to repository [registry:5000/busybox]
00:29:44 6a749002dd6a: Preparing
00:29:44 6a749002dd6a: Pushed
00:29:44 1.27.2: digest: sha256:030fcb92e1487b18c974784dcc110a93147c9fc402188370fbfd17efabffc6af size: 527
00:29:45 Swarm initialized: current node (ydnfiod4v5esumrvqp6tcel1f) is now a manager.
00:29:45 
00:29:45 To add a worker to this swarm, run the following command:
00:29:45 
00:29:45     docker swarm join --token SWMTKN-1-0atdx6f7q91c1xtomte587a0azk1tn5y76952klto5aftx15xh-ea48tza45fdqy9fc1xze00rap 172.18.0.2:2377
00:29:45 
00:29:45 To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.
00:29:45 
00:29:49 ✓  e2e/context (156ms)
00:29:49 ✓  e2e/global (201ms)
00:29:50 ✓  e2e/system (81ms)
00:29:50 ✓  e2e/stack (554ms)
00:29:50 ✖  e2e/trust (693ms)
00:29:51 ✖  e2e/plugin (1.747s)
00:29:51 ✓  e2e/cli-plugins (1.997s)
00:29:51 ∅  e2e/cli-plugins/plugins/badmeta
00:29:51 ∅  e2e/cli-plugins/plugins/nopersistentprerun
00:29:53 ✖  e2e/image (3.401s)
00:29:53 ✖  e2e/container (4.528s)
00:29:53 ∅  e2e/internal/fixtures
00:29:53 ∅  e2e/plugin/basic
00:29:53 
00:29:53 === Skipped
00:29:53 === SKIP: e2e/cli-plugins TestCLIPluginDialStdio (0.00s)
00:29:53     dial_test.go:16: skipping plugin dial-stdio test since DOCKER_CLI_PLUGIN_USE_DIAL_STDIO is not set
00:29:53 
00:29:53 === SKIP: e2e/container TestRunWithCgroupNamespace (0.05s)
00:29:53     run_test.go:141: !cgroupNsFound: running against a daemon that doesn't support cgroup namespaces (security options: [name=apparmor name=seccomp,profile=default]
00:29:53         )
00:29:53 
00:29:53 === SKIP: e2e/image TestBuildIidFileSquash (0.04s)
00:29:53     build_test.go:112: !experimentalBuild: running against a non-experimental daemon
00:29:53 
00:29:53 === SKIP: e2e/stack TestDeployWithNamedResources/Kubernetes (0.00s)
00:29:53     --- SKIP: TestDeployWithNamedResources/Kubernetes (0.00s)
00:29:53         deploy_test.go:22: FIXME(chris-crone): currently does not work with compose for kubernetes.
00:29:53 
00:29:53 === SKIP: e2e/stack TestRemove/Kubernetes (0.00s)
00:29:53     --- SKIP: TestRemove/Kubernetes (0.00s)
00:29:53         remove_test.go:22: !environment.KubernetesEnabled()
00:29:53 
00:29:53 
00:29:53 === Failed
00:29:53 === FAIL: e2e/container TestCreateWithContentTrust (0.24s)
00:29:53     create_test.go:18: assertion failed: 
00:29:53         Command:  docker image push registry:5000/trust-create:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/trust-create]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Mounted from alpine
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/container TestTrustedCreateFromUnreachableTrustServer (0.16s)
00:29:53     create_test.go:38: assertion failed: 
00:29:53         Command:  docker image push registry:5000/trust-create:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/trust-create]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Layer already exists
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/container TestTrustedCreateFromBadTrustServer (0.17s)
00:29:53     create_test.go:66: assertion failed: 
00:29:53         Command:  docker image push registry:5000/evil-alpine:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/evil-alpine]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Mounted from trust-create
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/container TestRunWithContentTrust (0.15s)
00:29:53     run_test.go:36: assertion failed: 
00:29:53         Command:  docker image push registry:5000/trust-run:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/trust-run]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Mounted from trust-push-existing
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/container TestUntrustedRun (0.10s)
00:29:53     run_test.go:70: assertion failed: 
00:29:53         Command:  docker run registry:5000/alpine:untrusted
00:29:53         ExitCode: 125
00:29:53         Error:    exit status 125
00:29:53         Stdout:   
00:29:53         Stderr:   docker: Error: error contacting notary server: x509: certificate has expired or is not yet valid.
00:29:53         See 'docker run --help'.
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         Expected stderr to contain "does not have trust data for"
00:29:53 
00:29:53 === FAIL: e2e/container TestTrustedRunFromBadTrustServer (0.10s)
00:29:53     run_test.go:90: assertion failed: 
00:29:53         Command:  docker image push registry:5000/evil-alpine:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/evil-alpine]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Layer already exists
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/image TestTrustedBuild (0.18s)
00:29:53     build_test.go:56: assertion failed: 
00:29:53         Command:  docker image push registry:5000/trust-build1:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/trust-build1]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Mounted from trust-create
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/image TestTrustedBuildUntrustedImage (0.08s)
00:29:53     build_test.go:105: assertion failed: 
00:29:53         Command:  docker build -t myimage .
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   Sending build context to Docker daemon 
00:29:53         
00:29:53         
00:29:53         Stderr:   error during connect: Post http://172.18.0.2: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
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         Expected stderr to contain "does not have trust data for"
00:29:53 
00:29:53 === FAIL: e2e/image TestPullWithContentTrust (0.18s)
00:29:53     pull_test.go:22: assertion failed: 
00:29:53         Command:  docker image push registry:5000/trust-pull:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/trust-pull]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Mounted from trust-build1
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/image TestPullWithContentTrustUsesCacheWhenNotaryUnavailable (0.16s)
00:29:53     pull_test.go:49: assertion failed: 
00:29:53         Command:  docker image push registry:5000/trust-pull-unreachable:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/trust-pull-unreachable]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Mounted from trust-pull
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/image TestPushWithContentTrust (0.16s)
00:29:53     push_test.go:64: assertion failed: 
00:29:53         Command:  docker push registry:5000/trust-push:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/trust-push]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Mounted from evil-alpine
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/image TestPushWithContentTrustExistingTag (0.20s)
00:29:53     push_test.go:118: assertion failed: 
00:29:53         Command:  docker push registry:5000/trust-push-existing:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/trust-push-existing]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Layer already exists
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/image TestPushWithContentTrustReleasesDelegationOnly (0.07s)
00:29:53     push_test.go:373: assertion failed: 
00:29:53         Command:  /usr/local/bin/notary -c /tmp/notary_test-688820440/client-config.json init registry:5000/trust-push-releases-delegation
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   
00:29:53         * fatal: client is offline
00:29:53         
00:29:53         Stderr:   time="2020-04-04T00:29:52Z" 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"
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/image TestPushWithContentTrustSignsAllFirstLevelRolesWeHaveKeysFor (0.08s)
00:29:53     push_test.go:373: assertion failed: 
00:29:53         Command:  /usr/local/bin/notary -c /tmp/notary_test-049080993/client-config.json init registry:5000/trust-push-releases-first-roles
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   
00:29:53         * fatal: client is offline
00:29:53         
00:29:53         Stderr:   time="2020-04-04T00:29:52Z" 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"
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/image TestPushWithContentTrustSignsForRolesWithKeysAndValidPaths (0.07s)
00:29:53     push_test.go:373: assertion failed: 
00:29:53         Command:  /usr/local/bin/notary -c /tmp/notary_test-348152478/client-config.json init registry:5000/trust-push-releases-keys-valid-paths
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   
00:29:53         * fatal: client is offline
00:29:53         
00:29:53         Stderr:   time="2020-04-04T00:29:52Z" 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"
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/plugin TestInstallWithContentTrust (1.66s)
00:29:53     trust_test.go:41: assertion failed: 
00:29:53         Command:  docker plugin push registry:5000/plugin-content-trust
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/plugin-content-trust]
00:29:53         e361ab880468: Preparing
00:29:53         e361ab880468: Pushed
00:29:53         latest: digest: sha256:8b15eefbba9b3c59e766cc9ac1f8f25faf16e1a408c08e4d397277b449ebd522 size: 518
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/plugin TestInstallWithContentTrustUntrusted (0.08s)
00:29:53     trust_test.go:68: assertion failed: 
00:29:53         Command:  docker plugin install --grant-all-permissions tiborvass/sample-volume-plugin:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         Expected stderr to contain "Error: remote trust data does not exist"
00:29:53 
00:29:53 === FAIL: e2e/trust TestRevokeImage (0.19s)
00:29:53     revoke_test.go:55: assertion failed: 
00:29:53         Command:  docker -D trust sign registry:5000/revoke:v1
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   
00:29:53         Stderr:   time="2020-04-04T00:29:50Z" level=debug msg="reading certificate directory: /tmp/trust_test-701282227/tls/notary-server:4443"
00:29:53         time="2020-04-04T00:29:50Z" 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"
00:29:53         time="2020-04-04T00:29:50Z" level=debug msg="Making dir path: /tmp/trust_test-701282227/trust/tuf/registry:5000/revoke/changelist"
00:29:53         Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/trust TestRevokeRepo (0.18s)
00:29:53     revoke_test.go:64: assertion failed: 
00:29:53         Command:  docker -D trust sign registry:5000/revokerepo:v1
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   
00:29:53         Stderr:   time="2020-04-04T00:29:50Z" level=debug msg="reading certificate directory: /tmp/trust_test-255725942/tls/notary-server:4443"
00:29:53         time="2020-04-04T00:29:50Z" 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"
00:29:53         time="2020-04-04T00:29:50Z" level=debug msg="Making dir path: /tmp/trust_test-255725942/trust/tuf/registry:5000/revokerepo/changelist"
00:29:53         Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/trust TestSignLocalImage (0.16s)
00:29:53     sign_test.go:32: assertion failed: 
00:29:53         Command:  docker trust sign registry:5000/sign:v1
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/trust TestSignWithLocalFlag (0.16s)
00:29:53     sign_test.go:57: assertion failed: 
00:29:53         Command:  docker -D trust sign registry:5000/signlocal:v1
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   
00:29:53         Stderr:   time="2020-04-04T00:29:50Z" level=debug msg="reading certificate directory: /tmp/trust_test-992440856/tls/notary-server:4443"
00:29:53         time="2020-04-04T00:29:50Z" 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"
00:29:53         time="2020-04-04T00:29:50Z" level=debug msg="Making dir path: /tmp/trust_test-992440856/trust/tuf/registry:5000/signlocal/changelist"
00:29:53         Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 
00:29:53 DONE 94 tests, 5 skipped, 21 failures in 8.542s
00:29:54 Stopping cliendtoendsuite_notary-server_1      ... 
00:29:54 Stopping cliendtoendsuite_registry_1           ... 
00:29:54 Stopping cliendtoendsuite_engine_1             ... 
00:29:54 Stopping cliendtoendsuite_evil-notary-server_1 ... 
00:29:56 
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_notary-server_1      ... 
00:29:56 Removing cliendtoendsuite_registry_1           ... 
00:29:56 Removing cliendtoendsuite_engine_1             ... 
00:29:56 Removing cliendtoendsuite_evil-notary-server_1 ... 
00:29:56 
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
00:29:56 Removing image cliendtoendsuite_notary-server
00:29:56 Removing image cliendtoendsuite_evil-notary-server
00:29:57 docker.Makefile:152: recipe for target 'test-e2e-non-experimental' failed
00:29:57 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