Pull request #2424 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 8abec909751c2cd96672931627457ae788a0dbee+2f494e1181ab4582c250192d264376c56193585c (9b48d1c746df8bf392806ac39917183e5070190e) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library jps@master Examining docker/jps Attempting to resolve master as a branch Resolved master as branch master at revision 241f6703d31895690d4cb6f158f753615abe74ac using credential jps-reader > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/docker/jps.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/docker/jps.git > git --version # timeout=10 using GIT_ASKPASS to set credentials GitHub credentials for docker/jps > git fetch --no-tags --force --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 241f6703d31895690d4cb6f158f753615abe74ac (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 241f6703d31895690d4cb6f158f753615abe74ac # timeout=10 Commit message: "Merge pull request #21 from docker/use-multiarch-busybox" > git rev-list --no-walk 241f6703d31895690d4cb6f158f753615abe74ac # timeout=10 [Pipeline] Start of Pipeline [Pipeline] node Running on EC2 (managed-agents) - ubuntu-1604-aufs (i-0668c9a631a53b194) 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/1e8fcb1b-6976-49dc-bb62-0b2d051dede1/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] echo cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo chowning workspace [Pipeline] sh + pwd + id -u + id -g + docker run --rm -v /home/ubuntu/workspace/cli_PR-2424:/workspace busybox chown -R 1000:1000 /workspace [Pipeline] echo Removing all docker containers [Pipeline] sh + docker container ls -aq [Pipeline] echo Docker containers have been removed [Pipeline] echo cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo cleanWorkspace: Workspace is clean. [Pipeline] timeout Timeout set to expire in 1 hr 0 min [Pipeline] { [Pipeline] stage Using the ‘stage’ step without a block argument is deprecated Entering stage Git Checkout Proceeding [Pipeline] checkout using credential docker-jenkins-github-credentials Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/cli.git > git init /home/ubuntu/workspace/cli_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 Fetching without tags Merging remotes/origin/master commit 2f494e1181ab4582c250192d264376c56193585c into PR head commit 8abec909751c2cd96672931627457ae788a0dbee Merge succeeded, producing 8abec909751c2cd96672931627457ae788a0dbee Checking out Revision 8abec909751c2cd96672931627457ae788a0dbee (PR-2424) > 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 8abec909751c2cd96672931627457ae788a0dbee # timeout=10 > git merge 2f494e1181ab4582c250192d264376c56193585c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8abec909751c2cd96672931627457ae788a0dbee # timeout=10 Commit message: "fix golint" [Pipeline] stage Using the ‘stage’ step without a block argument is deprecated Entering stage Run end-to-end test suite Proceeding [Pipeline] sh + docker version Client: Docker Engine - Community Version: 19.03.5 API version: 1.40 Go version: go1.12.12 Git commit: 633a0ea838 Built: Wed Nov 13 07:50:12 2019 OS/Arch: linux/amd64 Experimental: false Server: Docker Engine - Community Engine: Version: 19.03.5 API version: 1.40 (minimum version 1.12) Go version: go1.12.12 Git commit: 633a0ea838 Built: Wed Nov 13 07:48:43 2019 OS/Arch: linux/amd64 Experimental: true containerd: Version: 1.2.10 GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339 runc: Version: 1.0.0-rc8+dev GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657 docker-init: Version: 0.18.0 GitCommit: fec3683 [Pipeline] sh > git rev-list --no-walk db31e42d40eea931e902d5c97f06f709a3621634 # timeout=10 + docker info Client: Debug Mode: false Server: Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 4 Server Version: 19.03.5 Storage Driver: aufs Root Dir: /var/lib/docker/aufs Backing Filesystem: extfs Dirs: 47 Dirperm1 Supported: true Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog Swarm: inactive Runtimes: runc Default Runtime: runc Init Binary: docker-init containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657 init version: fec3683 Security Options: apparmor seccomp Profile: default Kernel Version: 4.4.0-1100-aws Operating System: Ubuntu 16.04.6 LTS OSType: linux Architecture: x86_64 CPUs: 2 Total Memory: 7.508GiB Name: ip-10-100-59-7 ID: PR5N:OTL7:3NC5:YMSE:VHUQ:U4VF:BIKC:V4FB:RTMD:T6NH:HLH6:K5DK Docker Root Dir: /var/lib/docker Debug Mode: false Username: dockerbuildbot Registry: https://index.docker.io/v1/ Labels: Experimental: true Insecure Registries: 127.0.0.0/8 Live Restore Enabled: true WARNING: No swap limit support WARNING: the aufs storage-driver is deprecated, and will be removed in a future release. [Pipeline] sh + E2E_UNIQUE_ID=clie2e4 IMAGE_TAG=clie2e4 DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e docker build -t docker-cli-e2eclie2e4 --build-arg=GO_VERSION --build-arg VERSION=20.03.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e . #2 [internal] load build definition from Dockerfile.e2e #2 transferring dockerfile: 1.65kB done #2 DONE 0.0s #1 [internal] load .dockerignore #1 transferring context: 100B done #1 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.13.9-buster #3 DONE 0.1s #4 [1/11] FROM docker.io/library/golang:1.13.9-buster@sha256:a6dee8d27e0c9c... #4 DONE 0.0s #10 [internal] load build context #10 transferring context: 42.23MB 0.9s done #10 DONE 0.9s #7 [4/11] RUN curl -fsSL https://github.com/theupdateframework/notary/relea... #7 CACHED #8 [5/11] RUN curl -fsSL https://github.com/gotestyourself/gotestsum/releas... #8 CACHED #9 [6/11] WORKDIR /go/src/github.com/docker/cli #9 CACHED #11 [7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/... #11 CACHED #5 [2/11] RUN apt-get update && apt-get install -y build-essential ... #5 CACHED #6 [3/11] RUN curl -fsSL https://github.com/docker/compose/releases/downloa... #6 CACHED #12 [8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-... #12 CACHED #13 [9/11] COPY . . #13 DONE 0.5s #14 [10/11] RUN ./scripts/build/binary #14 0.502 Building statically linked build/docker-linux-amd64 #14 DONE 67.9s #15 [11/11] RUN ./scripts/build/plugins e2e/cli-plugins/plugins/* #15 0.550 Building statically linked build/plugins-linux-amd64/docker-helloworld #15 1.705 Building statically linked build/plugins-linux-amd64/docker-badmeta #15 2.733 Building statically linked build/plugins-linux-amd64/docker-nopersistentprerun #15 DONE 3.9s #16 exporting to image #16 exporting layers #16 exporting layers 2.0s done #16 writing image sha256:9b1f50bf40350eb8163d0f6793c90aa840d6265b80856ee11053644b50711208 done #16 naming to docker.io/library/docker-cli-e2eclie2e4 done #16 DONE 2.0s 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-e2eclie2e4 Native build is an experimental feature and could change at any time Creating network "cliendtoendsuite_default" with the default driver Building notary-server #2 [internal] load .dockerignore #2 DONE 0.0s #1 [internal] load build definition from Dockerfile.notary-server #1 transferring dockerfile: 140B done #1 DONE 0.0s #2 [internal] load .dockerignore #2 transferring context: 2B done #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/notary:server-0.5.0 #3 DONE 0.1s #4 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447... #4 DONE 0.0s #5 [internal] load build context #5 transferring context: 8.26kB done #5 DONE 0.0s #6 [2/2] COPY ./notary/ /fixtures/ #6 CACHED #7 exporting to image #7 exporting layers done #7 writing image sha256:00e472f41455d833fcafdca4f05030a8650a8f2575b4243b6b61ba8fe8784bdd done #7 naming to docker.io/library/cliendtoendsuite_notary-server done #7 DONE 0.0s Successfully built 00e472f41455d833fcafdca4f05030a8650a8f2575b4243b6b61ba8fe8784bdd Building evil-notary-server #2 [internal] load .dockerignore #2 transferring context: 2B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile.evil-notary-server #1 transferring dockerfile: 150B done #1 DONE 0.0s #3 [internal] load metadata for docker.io/library/notary:server-0.5.0 #3 DONE 0.1s #4 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447... #4 DONE 0.0s #5 [internal] load build context #5 transferring context: 8.29kB done #5 DONE 0.0s #6 [2/2] COPY ./notary-evil/ /fixtures/ #6 CACHED #7 exporting to image #7 exporting layers done #7 writing image sha256:c7f1a341a506b8ded6d5760852c3b3967589e76248e3f252e9d3ffe15bae0383 done #7 naming to docker.io/library/cliendtoendsuite_evil-notary-server done #7 DONE 0.0s Successfully built c7f1a341a506b8ded6d5760852c3b3967589e76248e3f252e9d3ffe15bae0383 Creating cliendtoendsuite_evil-notary-server_1 ... Creating cliendtoendsuite_notary-server_1 ... Creating cliendtoendsuite_registry_1 ... Creating cliendtoendsuite_engine_1 ...  Creating cliendtoendsuite_notary-server_1 ... done  Creating cliendtoendsuite_engine_1 ... done  Creating cliendtoendsuite_registry_1 ... done  Creating cliendtoendsuite_evil-notary-server_1 ... done Waiting for docker daemon to become available at tcp://172.19.0.4:2375 Client: Version: 20.03.0-dev API version: 1.41 Go version: go1.13.9 Git commit: Built: Thu Apr 9 11:26:31 2020 OS/Arch: linux/amd64 Experimental: false Server: Docker Engine - Community Engine: Version: 19.03.8 API version: 1.40 (minimum version 1.12) Go version: go1.12.17 Git commit: afacb8b7f0 Built: Wed Mar 11 01:30:32 2020 OS/Arch: linux/amd64 Experimental: false containerd: Version: v1.2.13 GitCommit: 7ad184331fa3e55e52b890ea95e65ba581ae3429 runc: Version: 1.0.0-rc10 GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd docker-init: Version: 0.18.0 GitCommit: fec3683 sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d: Pulling from library/alpine 88286f41530e: Pulling fs layer 88286f41530e: Verifying Checksum 88286f41530e: Download complete 88286f41530e: Pull complete Digest: sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d Status: Downloaded newer image for alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d docker.io/library/alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d The push refers to repository [registry:5000/alpine] 5bef08742407: Preparing 5bef08742407: Pushed 3.6: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7: Pulling from library/busybox 03b1be98f3f9: Pulling fs layer 03b1be98f3f9: Verifying Checksum 03b1be98f3f9: Download complete 03b1be98f3f9: Pull complete Digest: sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7 Status: Downloaded newer image for busybox@sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7 docker.io/library/busybox@sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7 The push refers to repository [registry:5000/busybox] 6a749002dd6a: Preparing 6a749002dd6a: Pushed 1.27.2: digest: sha256:030fcb92e1487b18c974784dcc110a93147c9fc402188370fbfd17efabffc6af size: 527 Swarm initialized: current node (ld63751gitr7e2slop5260mhd) is now a manager. To add a worker to this swarm, run the following command: docker swarm join --token SWMTKN-1-590qk9fnc86qky2tsa4h6at3wuactld3c6rfdzrrpuwlr7d7s4-3m14ate1ly48r5zapaindjmk1 172.19.0.4:2377 To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions. ✓ e2e/cli-plugins (2.264s) ∅ e2e/cli-plugins/plugins/badmeta ∅ e2e/cli-plugins/plugins/nopersistentprerun ✓ e2e/context (29ms) ✓ e2e/global (83ms) ✖ e2e/container (4.24s) ✖ e2e/image (4.075s) ∅ e2e/internal/fixtures ✖ e2e/plugin (2.359s) ∅ e2e/plugin/basic ✓ e2e/system (55ms) ✓ e2e/stack (606ms) ✖ e2e/trust (473ms) === Skipped === SKIP: e2e/cli-plugins TestCLIPluginDialStdio (0.00s) dial_test.go:16: skipping plugin dial-stdio test since DOCKER_CLI_PLUGIN_USE_DIAL_STDIO is not set === SKIP: e2e/container TestRunWithCgroupNamespace (0.07s) run_test.go:141: !cgroupNsFound: running against a daemon that doesn't support cgroup namespaces (security options: [name=apparmor name=seccomp,profile=default] ) === SKIP: e2e/image TestBuildIidFileSquash (0.06s) build_test.go:112: !experimentalBuild: running against a non-experimental daemon === SKIP: e2e/stack TestDeployWithNamedResources/Kubernetes (0.00s) --- SKIP: TestDeployWithNamedResources/Kubernetes (0.00s) deploy_test.go:22: FIXME(chris-crone): currently does not work with compose for kubernetes. === SKIP: e2e/stack TestRemove/Kubernetes (0.00s) --- SKIP: TestRemove/Kubernetes (0.00s) remove_test.go:22: !environment.KubernetesEnabled() === Failed === FAIL: e2e/container TestCreateWithContentTrust (0.32s) create_test.go:18: assertion failed: Command: docker image push registry:5000/trust-create:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-create] 5bef08742407: Preparing 5bef08742407: Mounted from alpine latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/container TestTrustedCreateFromUnreachableTrustServer (0.22s) create_test.go:38: assertion failed: Command: docker image push registry:5000/trust-create:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-create] 5bef08742407: Preparing 5bef08742407: Layer already exists latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/container TestTrustedCreateFromBadTrustServer (0.21s) create_test.go:66: assertion failed: Command: docker image push registry:5000/evil-alpine:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/evil-alpine] 5bef08742407: Preparing 5bef08742407: Mounted from trust-create latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/container TestRunWithContentTrust (0.22s) run_test.go:36: assertion failed: Command: docker image push registry:5000/trust-run:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-run] 5bef08742407: Preparing 5bef08742407: Mounted from trust-create latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/container TestUntrustedRun (0.15s) run_test.go:70: assertion failed: Command: docker run registry:5000/alpine:untrusted ExitCode: 125 Error: exit status 125 Stdout: Stderr: docker: Error: error contacting notary server: x509: certificate has expired or is not yet valid. See 'docker run --help'. Failures: Expected stderr to contain "does not have trust data for" === FAIL: e2e/container TestTrustedRunFromBadTrustServer (0.15s) run_test.go:90: assertion failed: Command: docker image push registry:5000/evil-alpine:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/evil-alpine] 5bef08742407: Preparing 5bef08742407: Layer already exists latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestTrustedBuild (0.28s) build_test.go:56: assertion failed: Command: docker image push registry:5000/trust-build1:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-build1] 5bef08742407: Preparing 5bef08742407: Mounted from trust-run latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestTrustedBuildUntrustedImage (0.12s) build_test.go:105: assertion failed: Command: docker build -t myimage . ExitCode: 1 Error: exit status 1 Stdout: Sending build context to Docker daemon Stderr: error during connect: Post http://172.19.0.4:2375/v1.40/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=myimage&target=&ulimits=null&version=1: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: Expected stderr to contain "does not have trust data for" === FAIL: e2e/image TestPullWithContentTrust (0.32s) pull_test.go:22: assertion failed: Command: docker image push registry:5000/trust-pull:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-pull] 5bef08742407: Preparing 5bef08742407: Mounted from trust-build1 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestPullWithContentTrustUsesCacheWhenNotaryUnavailable (0.29s) pull_test.go:49: assertion failed: Command: docker image push registry:5000/trust-pull-unreachable:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-pull-unreachable] 5bef08742407: Preparing 5bef08742407: Mounted from trust-pull latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestPushWithContentTrust (0.30s) push_test.go:64: assertion failed: Command: docker push registry:5000/trust-push:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-push] 5bef08742407: Preparing 5bef08742407: Mounted from evil-alpine latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestPushWithContentTrustExistingTag (0.37s) push_test.go:118: assertion failed: Command: docker push registry:5000/trust-push-existing:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-push-existing] 5bef08742407: Preparing 5bef08742407: Layer already exists latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestPushWithContentTrustReleasesDelegationOnly (0.17s) push_test.go:373: assertion failed: Command: /usr/local/bin/notary -c /tmp/notary_test-220070293/client-config.json init registry:5000/trust-push-releases-delegation ExitCode: 1 Error: exit status 1 Stdout: * fatal: client is offline Stderr: time="2020-04-09T11:28:12Z" level=error msg="could not reach https://notary-server:4443: Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestPushWithContentTrustSignsAllFirstLevelRolesWeHaveKeysFor (0.15s) push_test.go:373: assertion failed: Command: /usr/local/bin/notary -c /tmp/notary_test-254030498/client-config.json init registry:5000/trust-push-releases-first-roles ExitCode: 1 Error: exit status 1 Stdout: * fatal: client is offline Stderr: time="2020-04-09T11:28:12Z" level=error msg="could not reach https://notary-server:4443: Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestPushWithContentTrustSignsForRolesWithKeysAndValidPaths (0.14s) push_test.go:373: assertion failed: Command: /usr/local/bin/notary -c /tmp/notary_test-433111347/client-config.json init registry:5000/trust-push-releases-keys-valid-paths ExitCode: 1 Error: exit status 1 Stdout: * fatal: client is offline Stderr: time="2020-04-09T11:28:12Z" level=error msg="could not reach https://notary-server:4443: Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/plugin TestInstallWithContentTrust (2.19s) trust_test.go:41: assertion failed: Command: docker plugin push registry:5000/plugin-content-trust ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/plugin-content-trust] c067007138ee: Preparing c067007138ee: Pushed latest: digest: sha256:8ef168103bae0c17ee755144c5a6b4c95dca304f1728571be38d8ea7f33518fe size: 518 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/plugin TestInstallWithContentTrustUntrusted (0.15s) trust_test.go:68: assertion failed: Command: docker plugin install --grant-all-permissions tiborvass/sample-volume-plugin:latest ExitCode: 1 Error: exit status 1 Stdout: Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: Expected stderr to contain "Error: remote trust data does not exist" === FAIL: e2e/trust TestRevokeImage (0.12s) revoke_test.go:55: assertion failed: Command: docker -D trust sign registry:5000/revoke:v1 ExitCode: 1 Error: exit status 1 Stdout: Stderr: time="2020-04-09T11:28:14Z" level=debug msg="reading certificate directory: /tmp/trust_test-954103707/tls/notary-server:4443" time="2020-04-09T11:28:14Z" level=debug msg="Error pinging notary server \"https://notary-server:4443/v2/\": Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" time="2020-04-09T11:28:14Z" level=debug msg="Making dir path: /tmp/trust_test-954103707/trust/tuf/registry:5000/revoke/changelist" Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/trust TestRevokeRepo (0.11s) revoke_test.go:64: assertion failed: Command: docker -D trust sign registry:5000/revokerepo:v1 ExitCode: 1 Error: exit status 1 Stdout: Stderr: time="2020-04-09T11:28:14Z" level=debug msg="reading certificate directory: /tmp/trust_test-278626878/tls/notary-server:4443" time="2020-04-09T11:28:14Z" level=debug msg="Error pinging notary server \"https://notary-server:4443/v2/\": Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" time="2020-04-09T11:28:14Z" level=debug msg="Making dir path: /tmp/trust_test-278626878/trust/tuf/registry:5000/revokerepo/changelist" Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/trust TestSignLocalImage (0.12s) sign_test.go:32: assertion failed: Command: docker trust sign registry:5000/sign:v1 ExitCode: 1 Error: exit status 1 Stdout: Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/trust TestSignWithLocalFlag (0.12s) sign_test.go:57: assertion failed: Command: docker -D trust sign registry:5000/signlocal:v1 ExitCode: 1 Error: exit status 1 Stdout: Stderr: time="2020-04-09T11:28:14Z" level=debug msg="reading certificate directory: /tmp/trust_test-511966240/tls/notary-server:4443" time="2020-04-09T11:28:14Z" level=debug msg="Error pinging notary server \"https://notary-server:4443/v2/\": Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" time="2020-04-09T11:28:14Z" level=debug msg="Making dir path: /tmp/trust_test-511966240/trust/tuf/registry:5000/signlocal/changelist" Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error DONE 94 tests, 5 skipped, 21 failures in 23.340s Stopping cliendtoendsuite_engine_1 ... Stopping cliendtoendsuite_registry_1 ... Stopping cliendtoendsuite_evil-notary-server_1 ... Stopping cliendtoendsuite_notary-server_1 ...  Stopping cliendtoendsuite_notary-server_1 ... done  Stopping cliendtoendsuite_registry_1 ... done  Stopping cliendtoendsuite_evil-notary-server_1 ... done  Stopping cliendtoendsuite_engine_1 ... done Removing cliendtoendsuite_engine_1 ... Removing cliendtoendsuite_registry_1 ... Removing cliendtoendsuite_evil-notary-server_1 ... Removing cliendtoendsuite_notary-server_1 ...  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 Removing image cliendtoendsuite_notary-server Removing image cliendtoendsuite_evil-notary-server docker.Makefile:152: recipe for target 'test-e2e-non-experimental' failed make: *** [test-e2e-non-experimental] Error 1 [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result ERROR: script returned exit code 2 Finished: FAILURE