Pull request #2415 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Loading trusted files from base branch master at 6e98ebc89a683e751b253508c8ab9f4ca7c647be rather than e4ac9b1b58afdedda15c4ec1a077b70e2d2098e1 Obtained Jenkinsfile from 6e98ebc89a683e751b253508c8ab9f4ca7c647be Running in Durability level: PERFORMANCE_OPTIMIZED Loading library jps@master Examining docker/jps Attempting to resolve master as a branch Resolved master as branch master at revision 241f6703d31895690d4cb6f158f753615abe74ac using credential jps-reader > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/docker/jps.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/docker/jps.git > git --version # timeout=10 using GIT_ASKPASS to set credentials GitHub credentials for docker/jps > git fetch --no-tags --force --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 241f6703d31895690d4cb6f158f753615abe74ac (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 241f6703d31895690d4cb6f158f753615abe74ac # timeout=10 Commit message: "Merge pull request #21 from docker/use-multiarch-busybox" > git rev-list --no-walk 241f6703d31895690d4cb6f158f753615abe74ac # timeout=10 [Pipeline] Start of Pipeline [Pipeline] node Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-078b1ce26045f0756) in /home/ubuntu/workspace/cli_PR-2415 [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-2415@tmp/7080ce33-a402-488d-943b-fde02c9fe476/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-2415:/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-2415 # 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/2415/head:refs/remotes/origin/PR-2415 +refs/heads/master:refs/remotes/origin/master # timeout=10 Fetching without tags Merging remotes/origin/master commit 6e98ebc89a683e751b253508c8ab9f4ca7c647be into PR head commit e4ac9b1b58afdedda15c4ec1a077b70e2d2098e1 > git config remote.origin.url https://github.com/docker/cli.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2415/head:refs/remotes/origin/PR-2415 # 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/2415/head:refs/remotes/origin/PR-2415 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merge succeeded, producing e4ac9b1b58afdedda15c4ec1a077b70e2d2098e1 Checking out Revision e4ac9b1b58afdedda15c4ec1a077b70e2d2098e1 (PR-2415) Commit message: "calculateMemUsageUnixNoCache: subtract total_inactive_file, not cache" First time build. Skipping changelog. > git config core.sparsecheckout # timeout=10 > git checkout -f e4ac9b1b58afdedda15c4ec1a077b70e2d2098e1 # timeout=10 > git merge 6e98ebc89a683e751b253508c8ab9f4ca7c647be # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e4ac9b1b58afdedda15c4ec1a077b70e2d2098e1 # timeout=10 > git rev-list --no-walk 4e0b583cfe6eb11f273b39d500d344b23858d64f # timeout=10 [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:29:52 2019 OS/Arch: linux/amd64 Experimental: false Server: Docker Engine - Community Engine: Version: 19.03.5 API version: 1.40 (minimum version 1.12) Go version: go1.12.12 Git commit: 633a0ea838 Built: Wed Nov 13 07:28:22 2019 OS/Arch: linux/amd64 Experimental: true containerd: Version: 1.2.10 GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339 runc: Version: 1.0.0-rc8+dev GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657 docker-init: Version: 0.18.0 GitCommit: fec3683 [Pipeline] sh + docker info Client: Debug Mode: false Server: Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 7 Server Version: 19.03.5 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Native Overlay Diff: true Logging Driver: json-file Cgroup Driver: cgroupfs Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog Swarm: inactive Runtimes: runc Default Runtime: runc Init Binary: docker-init containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657 init version: fec3683 Security Options: apparmor seccomp Profile: default Kernel Version: 4.15.0-1058-aws Operating System: Ubuntu 18.04.4 LTS OSType: linux Architecture: x86_64 CPUs: 2 Total Memory: 7.501GiB Name: ip-10-100-91-27 ID: 4CEL:5RBS:HN5G:X27E:6LIB:NDG4:JTLL:Y3PR:KAD2:JK75:FX6D:PY32 Docker Root Dir: /var/lib/docker Debug Mode: false Username: dockerbuildbot Registry: https://index.docker.io/v1/ Labels: Experimental: true Insecure Registries: 127.0.0.0/8 Live Restore Enabled: true WARNING: No swap limit support [Pipeline] sh + E2E_UNIQUE_ID=clie2e5 IMAGE_TAG=clie2e5 DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e docker build -t docker-cli-e2eclie2e5 --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.8-buster #3 DONE 0.1s #4 [1/11] FROM docker.io/library/golang:1.13.8-buster@sha256:1da34145a757a5... #4 DONE 0.0s #10 [internal] load build context #10 transferring context: 42.23MB 0.9s done #10 DONE 0.9s #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 #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 #12 [8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-... #12 CACHED #13 [9/11] COPY . . #13 DONE 1.0s #14 [10/11] RUN ./scripts/build/binary #14 0.591 Building statically linked build/docker-linux-amd64 #14 DONE 68.8s #15 [11/11] RUN ./scripts/build/plugins e2e/cli-plugins/plugins/* #15 0.623 Building statically linked build/plugins-linux-amd64/docker-helloworld #15 1.779 Building statically linked build/plugins-linux-amd64/docker-badmeta #15 2.746 Building statically linked build/plugins-linux-amd64/docker-nopersistentprerun #15 DONE 3.9s #16 exporting to image #16 exporting layers #16 exporting layers 1.9s done #16 writing image sha256:f3c4962a0260c3cc5245ecd385b8b0188501b04a767a2dda6a7ee55670b6c2e1 done #16 naming to docker.io/library/docker-cli-e2eclie2e5 done #16 DONE 1.9s 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-e2eclie2e5 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 transferring context: 2B done #2 DONE 0.0s #1 [internal] load build definition from Dockerfile.notary-server #1 transferring dockerfile: 140B 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.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:ada54f0db1f7ed5afcc16bd7878ae1d00f749c0d506a50a33d6e339f5da3864b done #7 naming to docker.io/library/cliendtoendsuite_notary-server done #7 DONE 0.0s Successfully built ada54f0db1f7ed5afcc16bd7878ae1d00f749c0d506a50a33d6e339f5da3864b 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 #6 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447... #6 DONE 0.0s #5 [internal] load build context #5 transferring context: 8.29kB done #5 DONE 0.0s #4 [2/2] COPY ./notary-evil/ /fixtures/ #4 CACHED #7 exporting to image #7 exporting layers done #7 writing image sha256:bd5269b206e05a776176817d0ddd7a4db81a9b93da4c75778611cf731a41ee28 done #7 naming to docker.io/library/cliendtoendsuite_evil-notary-server done #7 DONE 0.0s Successfully built bd5269b206e05a776176817d0ddd7a4db81a9b93da4c75778611cf731a41ee28 Creating cliendtoendsuite_evil-notary-server_1 ... Creating cliendtoendsuite_notary-server_1 ... Creating cliendtoendsuite_registry_1 ... Creating cliendtoendsuite_engine_1 ...  Creating cliendtoendsuite_engine_1 ... done  Creating cliendtoendsuite_registry_1 ... done  Creating cliendtoendsuite_notary-server_1 ... done  Creating cliendtoendsuite_evil-notary-server_1 ... done Waiting for docker daemon to become available at tcp://172.19.0.2:2375 Client: Version: 20.03.0-dev API version: 1.40 (downgraded from 1.41) Go version: go1.13.8 Git commit: Built: Fri Apr 3 21:07:03 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: 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 (uuj7ndjr3u41b5fta43iydl8w) is now a manager. To add a worker to this swarm, run the following command: docker swarm join --token SWMTKN-1-57emhe8e59med9gbybqmbwyqcwrw6d7wyzfa4c6wm9k736piu6-1946t6x6vok520wtimi91k6i2 172.19.0.2:2377 To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions. ✓ e2e/cli-plugins (2.395s) ∅ e2e/cli-plugins/plugins/badmeta ∅ e2e/cli-plugins/plugins/nopersistentprerun ✓ e2e/context (26ms) ✓ e2e/global (133ms) ✖ e2e/container (4.624s) ✖ e2e/image (4.371s) ∅ e2e/internal/fixtures ✖ e2e/plugin (2.405s) ∅ e2e/plugin/basic ✓ e2e/system (66ms) ✓ e2e/stack (674ms) ✖ e2e/trust (480ms) === 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.08s) 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.05s) 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.26s) create_test.go:18: assertion failed: Command: docker image push registry:5000/trust-create:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-create] 5bef08742407: Preparing 5bef08742407: Mounted from alpine latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/container TestTrustedCreateFromUnreachableTrustServer (0.23s) create_test.go:38: assertion failed: Command: docker image push registry:5000/trust-create:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-create] 5bef08742407: Preparing 5bef08742407: Layer already exists latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/container TestTrustedCreateFromBadTrustServer (0.23s) 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.24s) 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.14s) 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.13s) 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.34s) 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.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 Failures: Expected stderr to contain "does not have trust data for" === FAIL: e2e/image TestPullWithContentTrust (0.33s) pull_test.go:22: assertion failed: Command: docker image push registry:5000/trust-pull:latest ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/trust-pull] 5bef08742407: Preparing 5bef08742407: Mounted from trust-build1 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestPullWithContentTrustUsesCacheWhenNotaryUnavailable (0.25s) 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.32s) 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.32s) 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.15s) push_test.go:373: assertion failed: Command: /usr/local/bin/notary -c /tmp/notary_test-017575269/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-03T21:08:47Z" level=error msg="could not reach https://notary-server:4443: Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestPushWithContentTrustSignsAllFirstLevelRolesWeHaveKeysFor (0.14s) push_test.go:373: assertion failed: Command: /usr/local/bin/notary -c /tmp/notary_test-080335538/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-03T21:08:48Z" 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-537365123/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-03T21:08:48Z" level=error msg="could not reach https://notary-server:4443: Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/plugin TestInstallWithContentTrust (2.22s) trust_test.go:41: assertion failed: Command: docker plugin push registry:5000/plugin-content-trust ExitCode: 1 Error: exit status 1 Stdout: The push refers to repository [registry:5000/plugin-content-trust] 3f93396b045e: Preparing 3f93396b045e: Pushed latest: digest: sha256:7bf3f26429db71788a761769b72f7f01f3ce223ab2720448f081dfcca6a1ab0c size: 518 Signing and pushing trust metadata Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/plugin TestInstallWithContentTrustUntrusted (0.17s) trust_test.go:68: assertion failed: Command: docker plugin install --grant-all-permissions tiborvass/sample-volume-plugin:latest ExitCode: 1 Error: exit status 1 Stdout: Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: Expected stderr to contain "Error: remote trust data does not exist" === FAIL: e2e/trust TestRevokeImage (0.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-03T21:08:49Z" level=debug msg="reading certificate directory: /tmp/trust_test-658097488/tls/notary-server:4443" time="2020-04-03T21:08:49Z" 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-03T21:08:49Z" level=debug msg="Making dir path: /tmp/trust_test-658097488/trust/tuf/registry:5000/revoke/changelist" Error: error contacting notary server: x509: certificate has expired or is not yet valid Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/trust TestRevokeRepo (0.12s) revoke_test.go:64: assertion failed: Command: docker -D trust sign registry:5000/revokerepo:v1 ExitCode: 1 Error: exit status 1 Stdout: Stderr: time="2020-04-03T21:08:50Z" level=debug msg="reading certificate directory: /tmp/trust_test-585208431/tls/notary-server:4443" time="2020-04-03T21:08: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" time="2020-04-03T21:08:50Z" level=debug msg="Making dir path: /tmp/trust_test-585208431/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-03T21:08:50Z" level=debug msg="reading certificate directory: /tmp/trust_test-313753209/tls/notary-server:4443" time="2020-04-03T21:08: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" time="2020-04-03T21:08:50Z" level=debug msg="Making dir path: /tmp/trust_test-313753209/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.626s Stopping cliendtoendsuite_registry_1 ... Stopping cliendtoendsuite_engine_1 ... Stopping cliendtoendsuite_notary-server_1 ... Stopping cliendtoendsuite_evil-notary-server_1 ...  Stopping cliendtoendsuite_registry_1 ... done  Stopping cliendtoendsuite_evil-notary-server_1 ... done  Stopping cliendtoendsuite_notary-server_1 ... done  Stopping cliendtoendsuite_engine_1 ... done Removing cliendtoendsuite_registry_1 ... Removing cliendtoendsuite_engine_1 ... Removing cliendtoendsuite_notary-server_1 ... Removing cliendtoendsuite_evil-notary-server_1 ...  Removing cliendtoendsuite_evil-notary-server_1 ... done  Removing cliendtoendsuite_notary-server_1 ... done  Removing cliendtoendsuite_engine_1 ... done  Removing cliendtoendsuite_registry_1 ... done Removing network cliendtoendsuite_default Removing image cliendtoendsuite_notary-server Removing image cliendtoendsuite_evil-notary-server docker.Makefile: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