Skip to content
Failed

Console Output

Pull request #2424 opened
23:27:47 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from 4ccc019f12c2f4222ceaf107fa2378a598ab5b81+2f494e1181ab4582c250192d264376c56193585c (b62e894dddf7b0ad1e0e521a37fdec0658af212b)
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-2424@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 (i-0541f9597415ad9f6) in /home/ubuntu/workspace/cli_PR-2424
[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-2424@tmp/3ed3300e-d566-4d6f-8c3c-0549f5e5a4cc/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
23:27:55 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
23:27:55 chowning workspace
[Pipeline] sh
23:27:56 + pwd
23:27:56 + id -u
23:27:56 + id -g
23:27:56 + docker run --rm -v /home/ubuntu/workspace/cli_PR-2424:/workspace busybox chown -R 1000:1000 /workspace
[Pipeline] echo
23:27:57 Removing all docker containers
[Pipeline] sh
23:27:57 + docker container ls -aq
[Pipeline] echo
23:27:57 Docker containers have been removed
[Pipeline] echo
23:27:57 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
23:27:57 cleanWorkspace: Workspace is clean.
[Pipeline] timeout
23:27:57 Timeout set to expire in 1 hr 0 min
[Pipeline] {
[Pipeline] stage
23:27:57 Using the ‘stage’ step without a block argument is deprecated
23:27:57 Entering stage Git Checkout
23:27:57 Proceeding
[Pipeline] checkout
23:27:57 using credential docker-jenkins-github-credentials
23:27:57 Cloning the remote Git repository
23:27:57 Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/docker/cli.git
 > git init /home/ubuntu/workspace/cli_PR-2424 # 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/2424/head:refs/remotes/origin/PR-2424 +refs/heads/master:refs/remotes/origin/master # timeout=10
23:28:01 Fetching without tags
23:28:01 Merging remotes/origin/master commit 2f494e1181ab4582c250192d264376c56193585c into PR head commit 4ccc019f12c2f4222ceaf107fa2378a598ab5b81
23:28:01 Merge succeeded, producing 4ccc019f12c2f4222ceaf107fa2378a598ab5b81
23:28:01 Checking out Revision 4ccc019f12c2f4222ceaf107fa2378a598ab5b81 (PR-2424)
23:28:02 Commit message: "cli: perform feature detection lazily"
23:28:02 First time build. Skipping changelog.
 > git config remote.origin.url https://github.com/docker/cli.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/2424/head:refs/remotes/origin/PR-2424 # 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/2424/head:refs/remotes/origin/PR-2424 +refs/heads/master:refs/remotes/origin/master # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4ccc019f12c2f4222ceaf107fa2378a598ab5b81 # timeout=10
 > git merge 2f494e1181ab4582c250192d264376c56193585c # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4ccc019f12c2f4222ceaf107fa2378a598ab5b81 # timeout=10
[Pipeline] stage
23:28:02 Using the ‘stage’ step without a block argument is deprecated
23:28:02 Entering stage Run end-to-end test suite
23:28:02 Proceeding
[Pipeline] sh
23:28:03 + docker version
23:28:03 Client: Docker Engine - Community
23:28:03  Version:           19.03.5
23:28:03  API version:       1.40
23:28:03  Go version:        go1.12.12
23:28:03  Git commit:        633a0ea838
23:28:03  Built:             Wed Nov 13 07:29:52 2019
23:28:03  OS/Arch:           linux/amd64
23:28:03  Experimental:      false
23:28:03 
23:28:03 Server: Docker Engine - Community
23:28:03  Engine:
23:28:03   Version:          19.03.5
23:28:03   API version:      1.40 (minimum version 1.12)
23:28:03   Go version:       go1.12.12
23:28:03   Git commit:       633a0ea838
23:28:03   Built:            Wed Nov 13 07:28:22 2019
23:28:03   OS/Arch:          linux/amd64
23:28:03   Experimental:     true
23:28:03  containerd:
23:28:03   Version:          1.2.10
23:28:03   GitCommit:        b34a5c8af56e510852c35414db4c1f4fa6172339
23:28:03  runc:
23:28:03   Version:          1.0.0-rc8+dev
23:28:03   GitCommit:        3e425f80a8c931f88e6d94a8c831b9d5aa481657
23:28:03  docker-init:
23:28:03   Version:          0.18.0
23:28:03   GitCommit:        fec3683
[Pipeline] sh
 > git --version # timeout=10
fatal: bad object 241f6703d31895690d4cb6f158f753615abe74ac
23:28:03 + docker info
23:28:03 Client:
23:28:03  Debug Mode: false
23:28:03 
23:28:03 Server:
23:28:03  Containers: 0
23:28:03   Running: 0
23:28:03   Paused: 0
23:28:03   Stopped: 0
23:28:03  Images: 2
23:28:03  Server Version: 19.03.5
23:28:03  Storage Driver: overlay2
23:28:03   Backing Filesystem: extfs
23:28:03   Supports d_type: true
23:28:03   Native Overlay Diff: true
23:28:03  Logging Driver: json-file
23:28:03  Cgroup Driver: cgroupfs
23:28:03  Plugins:
23:28:03   Volume: local
23:28:03   Network: bridge host ipvlan macvlan null overlay
23:28:03   Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
23:28:03  Swarm: inactive
23:28:03  Runtimes: runc
23:28:03  Default Runtime: runc
23:28:03  Init Binary: docker-init
23:28:03  containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
23:28:03  runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
23:28:03  init version: fec3683
23:28:03  Security Options:
23:28:03   apparmor
23:28:03   seccomp
23:28:03    Profile: default
23:28:03  Kernel Version: 4.15.0-1058-aws
23:28:03  Operating System: Ubuntu 18.04.4 LTS
23:28:03  OSType: linux
23:28:03  Architecture: x86_64
23:28:03  CPUs: 2
23:28:03  Total Memory: 7.501GiB
23:28:03  Name: ip-10-100-99-163
23:28:03  ID: 4CEL:5RBS:HN5G:X27E:6LIB:NDG4:JTLL:Y3PR:KAD2:JK75:FX6D:PY32
23:28:03  Docker Root Dir: /var/lib/docker
23:28:03  Debug Mode: false
23:28:03  Username: dockerbuildbot
23:28:03  Registry: https://index.docker.io/v1/
23:28:03  Labels:
23:28:03  Experimental: true
23:28:03  Insecure Registries:
23:28:03   127.0.0.0/8
23:28:03  Live Restore Enabled: true
23:28:03 
23:28:03 WARNING: No swap limit support
[Pipeline] sh
23:28:04 + E2E_UNIQUE_ID=clie2e1 IMAGE_TAG=clie2e1 DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e
23:28:04 docker build -t docker-cli-e2eclie2e1 --build-arg=GO_VERSION --build-arg VERSION=20.03.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e .
23:28:04 #1 [internal] load build definition from Dockerfile.e2e
23:28:04 #1 DONE 0.0s
23:28:04 
23:28:04 #2 [internal] load .dockerignore
23:28:04 #2 DONE 0.0s
23:28:04 
23:28:04 #2 [internal] load .dockerignore
23:28:04 #2 transferring context: 100B done
23:28:04 #2 DONE 0.0s
23:28:04 
23:28:04 #1 [internal] load build definition from Dockerfile.e2e
23:28:04 #1 transferring dockerfile: 1.65kB done
23:28:04 #1 DONE 0.0s
23:28:04 
23:28:04 #3 [internal] load metadata for docker.io/library/golang:1.13.9-buster
23:28:04 #3 DONE 0.1s
23:28:04 
23:28:04 #4 [1/11] FROM docker.io/library/golang:1.13.9-buster@sha256:a6dee8d27e0c9c...
23:28:04 #4 CACHED
23:28:04 
23:28:04 #10 [internal] load build context
23:28:05 #10 transferring context: 42.23MB 1.2s done
23:28:05 #10 DONE 1.3s
23:28:05 
23:28:05 #5 [2/11] RUN apt-get update && apt-get install -y     build-essential     ...
23:28:06 #5 1.607 Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
23:28:06 #5 1.618 Get:2 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
23:28:06 #5 1.713 Get:3 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
23:28:06 #5 1.731 Get:4 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB]
23:28:06 #5 1.883 Get:5 http://deb.debian.org/debian buster-updates/main amd64 Packages [7380 B]
23:28:06 #5 1.975 Get:6 http://security.debian.org/debian-security buster/updates/main amd64 Packages [187 kB]
23:28:07 #5 3.053 Fetched 8337 kB in 2s (4928 kB/s)
23:28:07 #5 3.053 Reading package lists...
23:28:08 #5 3.619 Reading package lists...
23:28:08 #5 4.179 Building dependency tree...
23:28:08 #5 4.287 Reading state information...
23:28:08 #5 4.388 openssh-client is already the newest version (1:7.9p1-10+deb10u2).
23:28:08 #5 4.388 openssl is already the newest version (1.1.1d-0+deb10u2).
23:28:08 #5 4.388 openssl set to manually installed.
23:28:08 #5 4.388 curl is already the newest version (7.64.0-4+deb10u1).
23:28:08 #5 4.388 The following additional packages will be installed:
23:28:08 #5 4.388   bzip2 dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl
23:28:08 #5 4.389   libalgorithm-merge-perl libfakeroot patch xz-utils
23:28:08 #5 4.390 Suggested packages:
23:28:08 #5 4.390   bzip2-doc debian-keyring ed diffutils-doc
23:28:08 #5 4.457 The following NEW packages will be installed:
23:28:08 #5 4.458   build-essential bzip2 dpkg-dev fakeroot libalgorithm-diff-perl
23:28:08 #5 4.459   libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot patch xz-utils
23:28:09 #5 4.729 0 upgraded, 10 newly installed, 0 to remove and 1 not upgraded.
23:28:09 #5 4.729 Need to get 2342 kB of archives.
23:28:09 #5 4.729 After this operation, 3601 kB of additional disk space will be used.
23:28:09 #5 4.729 Get:1 http://deb.debian.org/debian buster/main amd64 bzip2 amd64 1.0.6-9.2~deb10u1 [48.4 kB]
23:28:09 #5 4.731 Get:2 http://deb.debian.org/debian buster/main amd64 xz-utils amd64 5.2.4-1 [183 kB]
23:28:09 #5 4.735 Get:3 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB]
23:28:09 #5 4.737 Get:4 http://deb.debian.org/debian buster/main amd64 dpkg-dev all 1.19.7 [1773 kB]
23:28:09 #5 4.759 Get:5 http://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B]
23:28:09 #5 4.759 Get:6 http://deb.debian.org/debian buster/main amd64 libfakeroot amd64 1.23-1 [45.9 kB]
23:28:09 #5 4.761 Get:7 http://deb.debian.org/debian buster/main amd64 fakeroot amd64 1.23-1 [85.8 kB]
23:28:09 #5 4.762 Get:8 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-perl all 1.19.03-2 [47.9 kB]
23:28:09 #5 4.763 Get:9 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5+b1 [11.8 kB]
23:28:09 #5 4.763 Get:10 http://deb.debian.org/debian buster/main amd64 libalgorithm-merge-perl all 0.08-3 [12.7 kB]
23:28:09 #5 4.907 debconf: delaying package configuration, since apt-utils is not installed
23:28:09 #5 4.933 Fetched 2342 kB in 0s (7966 kB/s)
23:28:09 #5 4.958 Selecting previously unselected package bzip2.
23:28:09 #5 4.958 (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.)
23:28:09 #5 5.035 Preparing to unpack .../0-bzip2_1.0.6-9.2~deb10u1_amd64.deb ...
23:28:09 #5 5.039 Unpacking bzip2 (1.0.6-9.2~deb10u1) ...
23:28:09 #5 5.079 Selecting previously unselected package xz-utils.
23:28:09 #5 5.081 Preparing to unpack .../1-xz-utils_5.2.4-1_amd64.deb ...
23:28:09 #5 5.085 Unpacking xz-utils (5.2.4-1) ...
23:28:09 #5 5.145 Selecting previously unselected package patch.
23:28:09 #5 5.147 Preparing to unpack .../2-patch_2.7.6-3+deb10u1_amd64.deb ...
23:28:09 #5 5.151 Unpacking patch (2.7.6-3+deb10u1) ...
23:28:09 #5 5.188 Selecting previously unselected package dpkg-dev.
23:28:09 #5 5.190 Preparing to unpack .../3-dpkg-dev_1.19.7_all.deb ...
23:28:09 #5 5.193 Unpacking dpkg-dev (1.19.7) ...
23:28:09 #5 5.297 Selecting previously unselected package build-essential.
23:28:09 #5 5.299 Preparing to unpack .../4-build-essential_12.6_amd64.deb ...
23:28:09 #5 5.302 Unpacking build-essential (12.6) ...
23:28:09 #5 5.333 Selecting previously unselected package libfakeroot:amd64.
23:28:09 #5 5.334 Preparing to unpack .../5-libfakeroot_1.23-1_amd64.deb ...
23:28:09 #5 5.341 Unpacking libfakeroot:amd64 (1.23-1) ...
23:28:09 #5 5.373 Selecting previously unselected package fakeroot.
23:28:09 #5 5.375 Preparing to unpack .../6-fakeroot_1.23-1_amd64.deb ...
23:28:09 #5 5.378 Unpacking fakeroot (1.23-1) ...
23:28:09 #5 5.414 Selecting previously unselected package libalgorithm-diff-perl.
23:28:09 #5 5.414 Preparing to unpack .../7-libalgorithm-diff-perl_1.19.03-2_all.deb ...
23:28:09 #5 5.417 Unpacking libalgorithm-diff-perl (1.19.03-2) ...
23:28:09 #5 5.445 Selecting previously unselected package libalgorithm-diff-xs-perl.
23:28:09 #5 5.447 Preparing to unpack .../8-libalgorithm-diff-xs-perl_0.04-5+b1_amd64.deb ...
23:28:09 #5 5.451 Unpacking libalgorithm-diff-xs-perl (0.04-5+b1) ...
23:28:09 #5 5.476 Selecting previously unselected package libalgorithm-merge-perl.
23:28:09 #5 5.478 Preparing to unpack .../9-libalgorithm-merge-perl_0.08-3_all.deb ...
23:28:09 #5 5.482 Unpacking libalgorithm-merge-perl (0.08-3) ...
23:28:09 #5 5.519 Setting up libalgorithm-diff-perl (1.19.03-2) ...
23:28:09 #5 5.530 Setting up bzip2 (1.0.6-9.2~deb10u1) ...
23:28:09 #5 5.540 Setting up libfakeroot:amd64 (1.23-1) ...
23:28:09 #5 5.556 Setting up fakeroot (1.23-1) ...
23:28:09 #5 5.575 update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
23:28:09 #5 5.585 Setting up xz-utils (5.2.4-1) ...
23:28:09 #5 5.594 update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
23:28:09 #5 5.601 Setting up patch (2.7.6-3+deb10u1) ...
23:28:09 #5 5.612 Setting up libalgorithm-diff-xs-perl (0.04-5+b1) ...
23:28:09 #5 5.623 Setting up libalgorithm-merge-perl (0.08-3) ...
23:28:10 #5 5.633 Setting up dpkg-dev (1.19.7) ...
23:28:10 #5 5.650 Setting up build-essential (12.6) ...
23:28:10 #5 5.662 Processing triggers for libc-bin (2.28-10) ...
23:28:10 #5 DONE 6.2s
23:28:10 
23:28:10 #6 [3/11] RUN curl -fsSL https://github.com/docker/compose/releases/downloa...
23:28:11 #6 DONE 1.2s
23:28:11 
23:28:11 #7 [4/11] RUN curl -fsSL https://github.com/theupdateframework/notary/relea...
23:28:12 #7 DONE 1.1s
23:28:12 
23:28:12 #8 [5/11] RUN curl -fsSL https://github.com/gotestyourself/gotestsum/releas...
23:28:13 #8 DONE 1.0s
23:28:13 
23:28:13 #9 [6/11] WORKDIR /go/src/github.com/docker/cli
23:28:13 #9 DONE 0.0s
23:28:13 
23:28:13 #11 [7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/...
23:28:13 #11 DONE 0.1s
23:28:13 
23:28:13 #12 [8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-...
23:28:14 #12 0.859 Updating certificates in /etc/ssl/certs...
23:28:15 #12 1.347 1 added, 0 removed; done.
23:28:15 #12 1.347 Running hooks in /etc/ca-certificates/update.d...
23:28:15 #12 1.348 done.
23:28:15 #12 DONE 1.4s
23:28:15 
23:28:15 #13 [9/11] COPY . .
23:28:15 #13 DONE 0.6s
23:28:15 
23:28:15 #14 [10/11] RUN ./scripts/build/binary
23:28:16 #14 0.785 Building statically linked build/docker-linux-amd64
23:29:38 #14 DONE 70.6s
23:29:38 
23:29:38 #15 [11/11] RUN ./scripts/build/plugins e2e/cli-plugins/plugins/*
23:29:38 #15 0.659 Building statically linked build/plugins-linux-amd64/docker-helloworld
23:29:38 #15 1.791 Building statically linked build/plugins-linux-amd64/docker-badmeta
23:29:38 #15 2.778 Building statically linked build/plugins-linux-amd64/docker-nopersistentprerun
23:29:38 #15 DONE 4.0s
23:29:38 
23:29:38 #16 exporting to image
23:29:38 #16 exporting layers
23:29:38 #16 exporting layers 2.2s done
23:29:38 #16 writing image sha256:f98a56a737e6271fcd457c8e635f048c72611b4ef056f22b45dfc312951cec8b done
23:29:38 #16 naming to docker.io/library/docker-cli-e2eclie2e1 done
23:29:38 #16 DONE 2.2s
23:29:38 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
23:29:38 Native build is an experimental feature and could change at any time
23:29:38 Creating network "cliendtoendsuite_default" with the default driver
23:29:38 Pulling registry (registry:2)...
23:29:38 2: Pulling from library/registry
23:29:38 Digest: sha256:7d081088e4bfd632a88e3f3bcd9e007ef44a796fddfe3261407a3f9f04abe1e7
23:29:38 Status: Downloaded newer image for registry:2
23:29:38 Pulling engine (docker:stable-dind)...
23:29:38 stable-dind: Pulling from library/docker
23:29:38 Digest: sha256:ba51388db2907f0f0d33b365f039f89b48bfe9e3a408c2211addd5357268f33a
23:29:38 Status: Downloaded newer image for docker:stable-dind
23:29:38 Building notary-server
23:29:39 #2 [internal] load .dockerignore
23:29:39 #2 transferring context: 2B done
23:29:39 #2 DONE 0.0s
23:29:39 
23:29:39 #1 [internal] load build definition from Dockerfile.notary-server
23:29:39 #1 transferring dockerfile: 140B done
23:29:39 #1 DONE 0.0s
23:29:39 
23:29:39 #3 [internal] load metadata for docker.io/library/notary:server-0.5.0
23:29:39 #3 DONE 0.6s
23:29:39 
23:29:39 #5 [internal] load build context
23:29:39 #5 transferring context: 8.26kB done
23:29:39 #5 DONE 0.0s
23:29:39 
23:29:39 #4 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447...
23:29:39 #4 resolve docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447a9818e7f16d0a02ba1d9905de71e5354bc8ee0017304a244 done
23:29:39 #4 sha256:88bddb53072ae1b018b3b09ac1974be903800e3595ec31401fc3c73ffb66affd 1.36kB / 1.36kB done
23:29:39 #4 sha256:16b632e954ca01326ecc36ff0c7bb651baf9dcf92366b322b112f697193eb3d5 3.40kB / 3.40kB done
23:29:39 #4 sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde 0B / 2.21MB 0.0s
23:29:39 #4 sha256:176147d1183da92e05482a5560407bfc56af52bc61b1cb5bdb323d4c7d6a8867 0B / 411B 0.0s
23:29:39 #4 sha256:9504875b8162730788ff7df926b72bcbb2bae4690f5195b6d62ec961ffc12056 0B / 4.03MB 0.0s
23:29:39 #4 sha256:d59e4ecc20198447a9818e7f16d0a02ba1d9905de71e5354bc8ee0017304a244 434B / 434B done
23:29:39 #4 extracting sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde
23:29:39 #4 sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde 2.21MB / 2.21MB 0.1s done
23:29:39 #4 sha256:176147d1183da92e05482a5560407bfc56af52bc61b1cb5bdb323d4c7d6a8867 411B / 411B 0.1s done
23:29:39 #4 sha256:9504875b8162730788ff7df926b72bcbb2bae4690f5195b6d62ec961ffc12056 4.03MB / 4.03MB 0.2s done
23:29:39 #4 extracting sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde 0.1s done
23:29:39 #4 sha256:070baad58e0d2d397143ab9f03defb8b016fc8d57eab900d496727c0e2e00292 377B / 377B 0.2s done
23:29:39 #4 sha256:b9ff31535c882e16ca7c737f9b9852e6b03e10cd1cd3fdf653beecdedf3dffff 1.19kB / 1.19kB 0.2s done
23:29:39 #4 extracting sha256:176147d1183da92e05482a5560407bfc56af52bc61b1cb5bdb323d4c7d6a8867
23:29:40 #4 extracting sha256:176147d1183da92e05482a5560407bfc56af52bc61b1cb5bdb323d4c7d6a8867 done
23:29:40 #4 extracting sha256:9504875b8162730788ff7df926b72bcbb2bae4690f5195b6d62ec961ffc12056
23:29:40 #4 extracting sha256:9504875b8162730788ff7df926b72bcbb2bae4690f5195b6d62ec961ffc12056 0.2s done
23:29:40 #4 extracting sha256:070baad58e0d2d397143ab9f03defb8b016fc8d57eab900d496727c0e2e00292
23:29:40 #4 extracting sha256:070baad58e0d2d397143ab9f03defb8b016fc8d57eab900d496727c0e2e00292 done
23:29:40 #4 extracting sha256:b9ff31535c882e16ca7c737f9b9852e6b03e10cd1cd3fdf653beecdedf3dffff
23:29:40 #4 extracting sha256:b9ff31535c882e16ca7c737f9b9852e6b03e10cd1cd3fdf653beecdedf3dffff done
23:29:40 #4 DONE 0.8s
23:29:40 
23:29:40 #6 [2/2] COPY ./notary/ /fixtures/
23:29:40 #6 DONE 0.6s
23:29:41 
23:29:41 #7 exporting to image
23:29:41 #7 exporting layers 0.0s done
23:29:41 #7 writing image sha256:f06e6c07983c33e1e841c144b32dc76703fb8370bb9b1e8de906c6201e01821c done
23:29:41 #7 naming to docker.io/library/cliendtoendsuite_notary-server done
23:29:41 #7 DONE 0.0s
23:29:41 Successfully built f06e6c07983c33e1e841c144b32dc76703fb8370bb9b1e8de906c6201e01821c
23:29:41 Building evil-notary-server
23:29:41 #2 [internal] load .dockerignore
23:29:41 #2 transferring context: 2B done
23:29:41 #2 DONE 0.0s
23:29:41 
23:29:41 #1 [internal] load build definition from Dockerfile.evil-notary-server
23:29:41 #1 transferring dockerfile: 150B done
23:29:41 #1 DONE 0.0s
23:29:41 
23:29:41 #3 [internal] load metadata for docker.io/library/notary:server-0.5.0
23:29:41 #3 DONE 0.1s
23:29:41 
23:29:41 #4 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447...
23:29:41 #4 CACHED
23:29:41 
23:29:41 #5 [internal] load build context
23:29:41 #5 transferring context: 8.29kB done
23:29:41 #5 DONE 0.0s
23:29:41 
23:29:41 #6 [2/2] COPY ./notary-evil/ /fixtures/
23:29:41 #6 DONE 0.0s
23:29:41 
23:29:41 #7 exporting to image
23:29:41 #7 exporting layers 0.0s done
23:29:41 #7 writing image sha256:59b5b828807f8aee737db0ccf62c1ddd87d5989f5bf5fb5ddab9e1fb2a374f1c done
23:29:41 #7 naming to docker.io/library/cliendtoendsuite_evil-notary-server
23:29:41 #7 naming to docker.io/library/cliendtoendsuite_evil-notary-server done
23:29:41 #7 DONE 0.0s
23:29:41 Successfully built 59b5b828807f8aee737db0ccf62c1ddd87d5989f5bf5fb5ddab9e1fb2a374f1c
23:29:41 Creating cliendtoendsuite_evil-notary-server_1 ... 
23:29:41 Creating cliendtoendsuite_registry_1           ... 
23:29:41 Creating cliendtoendsuite_notary-server_1      ... 
23:29:41 Creating cliendtoendsuite_engine_1             ... 
23:29:45 
Creating cliendtoendsuite_registry_1           ... done

Creating cliendtoendsuite_notary-server_1      ... done

Creating cliendtoendsuite_engine_1             ... done

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

Removing cliendtoendsuite_notary-server_1      ... done

Removing cliendtoendsuite_engine_1             ... done

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