Skip to content
Failed

Console Output

Pull request #2410 updated
12:07:08 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Loading trusted files from base branch master at 22acbbcc4b3fb5020492b1ed9e72186191bfedc0 rather than eb05ded0a43441a6c6aef4cbc9311a86cccd778d
Obtained Jenkinsfile from 22acbbcc4b3fb5020492b1ed9e72186191bfedc0
Running in Durability level: PERFORMANCE_OPTIMIZED
Loading library jps@master
Examining docker/jps
Attempting to resolve master as a branch
Resolved master as branch master at revision 241f6703d31895690d4cb6f158f753615abe74ac
using credential jps-reader
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/docker/jps.git # timeout=10
Fetching without tags
Fetching upstream changes from https://github.com/docker/jps.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials GitHub credentials for docker/jps
 > git fetch --no-tags --force --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master # timeout=10
Checking out Revision 241f6703d31895690d4cb6f158f753615abe74ac (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 241f6703d31895690d4cb6f158f753615abe74ac # timeout=10
Commit message: "Merge pull request #21 from docker/use-multiarch-busybox"
 > git rev-list --no-walk 241f6703d31895690d4cb6f158f753615abe74ac # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] node
Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-066d2b5cd95dfd9aa) in /home/ubuntu/workspace/cli_PR-2410
[Pipeline] {
[Pipeline] withDockerRegistry
$ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/cli_PR-2410@tmp/0b392784-c372-4566-a9c2-7c9c9ec2a123/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
12:07:16 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
12:07:16 chowning workspace
[Pipeline] sh
12:07:16 + pwd
12:07:16 + id -u
12:07:16 + id -g
12:07:16 + docker run --rm -v /home/ubuntu/workspace/cli_PR-2410:/workspace busybox chown -R 1000:1000 /workspace
[Pipeline] echo
12:07:18 Removing all docker containers
[Pipeline] sh
12:07:18 + docker container ls -aq
[Pipeline] echo
12:07:18 Docker containers have been removed
[Pipeline] echo
12:07:18 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
12:07:18 cleanWorkspace: Workspace is clean.
[Pipeline] timeout
12:07:18 Timeout set to expire in 1 hr 0 min
[Pipeline] {
[Pipeline] stage
12:07:18 Using the ‘stage’ step without a block argument is deprecated
12:07:18 Entering stage Git Checkout
12:07:18 Proceeding
[Pipeline] checkout
12:07:18 using credential docker-jenkins-github-credentials
12:07:18 Cloning the remote Git repository
12:07:18 Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/docker/cli.git
 > git init /home/ubuntu/workspace/cli_PR-2410 # timeout=10
Fetching upstream changes from https://github.com/docker/cli.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress -- https://github.com/docker/cli.git +refs/pull/2410/head:refs/remotes/origin/PR-2410 +refs/heads/master:refs/remotes/origin/master # timeout=10
12:07:21 Fetching without tags
12:07:21 Merging remotes/origin/master commit 22acbbcc4b3fb5020492b1ed9e72186191bfedc0 into PR head commit eb05ded0a43441a6c6aef4cbc9311a86cccd778d
 > git config remote.origin.url https://github.com/docker/cli.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/2410/head:refs/remotes/origin/PR-2410 # timeout=10
 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10
 > git config remote.origin.url https://github.com/docker/cli.git # timeout=10
Fetching upstream changes from https://github.com/docker/cli.git
using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials
 > git fetch --no-tags --progress -- https://github.com/docker/cli.git +refs/pull/2410/head:refs/remotes/origin/PR-2410 +refs/heads/master:refs/remotes/origin/master # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f eb05ded0a43441a6c6aef4cbc9311a86cccd778d # timeout=10
12:07:22 Merge succeeded, producing eb05ded0a43441a6c6aef4cbc9311a86cccd778d
12:07:22 Checking out Revision eb05ded0a43441a6c6aef4cbc9311a86cccd778d (PR-2410)
12:07:22 Commit message: "Adding missing title in builder.md"
12:07:22 First time build. Skipping changelog.
[Pipeline] stage
12:07:23 Using the ‘stage’ step without a block argument is deprecated
12:07:23 Entering stage Run end-to-end test suite
12:07:23 Proceeding
[Pipeline] sh
 > git merge 22acbbcc4b3fb5020492b1ed9e72186191bfedc0 # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f eb05ded0a43441a6c6aef4cbc9311a86cccd778d # timeout=10
 > git rev-list --no-walk ee9a382cd06358fdee9b1a60b69c60a77108edb5 # timeout=10
12:07:23 + docker version
12:07:23 Client: Docker Engine - Community
12:07:23  Version:           19.03.5
12:07:23  API version:       1.40
12:07:23  Go version:        go1.12.12
12:07:23  Git commit:        633a0ea838
12:07:23  Built:             Wed Nov 13 07:29:52 2019
12:07:23  OS/Arch:           linux/amd64
12:07:23  Experimental:      false
12:07:23 
12:07:23 Server: Docker Engine - Community
12:07:23  Engine:
12:07:23   Version:          19.03.5
12:07:23   API version:      1.40 (minimum version 1.12)
12:07:23   Go version:       go1.12.12
12:07:23   Git commit:       633a0ea838
12:07:23   Built:            Wed Nov 13 07:28:22 2019
12:07:23   OS/Arch:          linux/amd64
12:07:23   Experimental:     true
12:07:23  containerd:
12:07:23   Version:          1.2.10
12:07:23   GitCommit:        b34a5c8af56e510852c35414db4c1f4fa6172339
12:07:23  runc:
12:07:23   Version:          1.0.0-rc8+dev
12:07:23   GitCommit:        3e425f80a8c931f88e6d94a8c831b9d5aa481657
12:07:23  docker-init:
12:07:23   Version:          0.18.0
12:07:23   GitCommit:        fec3683
[Pipeline] sh
12:07:23 + docker info
12:07:23 Client:
12:07:23  Debug Mode: false
12:07:23 
12:07:23 Server:
12:07:23  Containers: 0
12:07:23   Running: 0
12:07:23   Paused: 0
12:07:23   Stopped: 0
12:07:23  Images: 4
12:07:23  Server Version: 19.03.5
12:07:23  Storage Driver: overlay2
12:07:23   Backing Filesystem: extfs
12:07:23   Supports d_type: true
12:07:23   Native Overlay Diff: true
12:07:23  Logging Driver: json-file
12:07:23  Cgroup Driver: cgroupfs
12:07:23  Plugins:
12:07:23   Volume: local
12:07:23   Network: bridge host ipvlan macvlan null overlay
12:07:23   Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
12:07:23  Swarm: inactive
12:07:23  Runtimes: runc
12:07:23  Default Runtime: runc
12:07:23  Init Binary: docker-init
12:07:23  containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
12:07:23  runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
12:07:23  init version: fec3683
12:07:23  Security Options:
12:07:23   apparmor
12:07:23   seccomp
12:07:23    Profile: default
12:07:23  Kernel Version: 4.15.0-1058-aws
12:07:23  Operating System: Ubuntu 18.04.4 LTS
12:07:23  OSType: linux
12:07:23  Architecture: x86_64
12:07:23  CPUs: 2
12:07:23  Total Memory: 7.501GiB
12:07:23  Name: ip-10-100-58-94
12:07:23  ID: 4CEL:5RBS:HN5G:X27E:6LIB:NDG4:JTLL:Y3PR:KAD2:JK75:FX6D:PY32
12:07:23  Docker Root Dir: /var/lib/docker
12:07:23  Debug Mode: false
12:07:23  Username: dockerbuildbot
12:07:23  Registry: https://index.docker.io/v1/
12:07:23  Labels:
12:07:23  Experimental: true
12:07:23  Insecure Registries:
12:07:23   127.0.0.0/8
12:07:23  Live Restore Enabled: true
12:07:23 
12:07:23 WARNING: No swap limit support
[Pipeline] sh
12:07:24 + E2E_UNIQUE_ID=clie2e4 IMAGE_TAG=clie2e4 DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e
12:07:24 docker build -t docker-cli-e2eclie2e4 --build-arg=GO_VERSION --build-arg VERSION=20.03.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e .
12:07:24 #2 [internal] load .dockerignore
12:07:24 #2 transferring context: 100B done
12:07:24 #2 DONE 0.0s
12:07:24 
12:07:24 #1 [internal] load build definition from Dockerfile.e2e
12:07:24 #1 transferring dockerfile: 1.65kB done
12:07:24 #1 DONE 0.0s
12:07:24 
12:07:24 #3 [internal] load metadata for docker.io/library/golang:1.13.8-buster
12:07:24 #3 DONE 0.1s
12:07:24 
12:07:24 #4 [1/11] FROM docker.io/library/golang:1.13.8-buster@sha256:1da34145a757a5...
12:07:24 #4 DONE 0.0s
12:07:24 
12:07:24 #10 [internal] load build context
12:07:25 #10 transferring context: 42.23MB 1.0s done
12:07:25 #10 DONE 1.0s
12:07:25 
12:07:25 #6 [3/11] RUN curl -fsSL https://github.com/docker/compose/releases/downloa...
12:07:25 #6 CACHED
12:07:25 
12:07:25 #8 [5/11] RUN curl -fsSL https://github.com/gotestyourself/gotestsum/releas...
12:07:25 #8 CACHED
12:07:25 
12:07:25 #13 [9/11] COPY . .
12:07:25 #13 CACHED
12:07:25 
12:07:25 #5 [2/11] RUN apt-get update && apt-get install -y     build-essential     ...
12:07:25 #5 CACHED
12:07:25 
12:07:25 #11 [7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/...
12:07:25 #11 CACHED
12:07:25 
12:07:25 #7 [4/11] RUN curl -fsSL https://github.com/theupdateframework/notary/relea...
12:07:25 #7 CACHED
12:07:25 
12:07:25 #9 [6/11] WORKDIR /go/src/github.com/docker/cli
12:07:25 #9 CACHED
12:07:25 
12:07:25 #12 [8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-...
12:07:25 #12 CACHED
12:07:25 
12:07:25 #14 [10/11] RUN ./scripts/build/binary
12:07:25 #14 CACHED
12:07:25 
12:07:25 #15 [11/11] RUN ./scripts/build/plugins e2e/cli-plugins/plugins/*
12:07:25 #15 CACHED
12:07:25 
12:07:25 #16 exporting to image
12:07:25 #16 exporting layers done
12:07:25 #16 writing image sha256:7e71c81dca7fe183d8b213119640ecddb6dccc1b88ad78fb021f4430eebacef7 done
12:07:25 #16 naming to docker.io/library/docker-cli-e2eclie2e4 done
12:07:25 #16 DONE 0.0s
12:07:25 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
12:07:27 Native build is an experimental feature and could change at any time
12:07:27 Creating network "cliendtoendsuite_default" with the default driver
12:07:27 Building notary-server
12:07:27 #2 [internal] load .dockerignore
12:07:27 #2 transferring context: 2B done
12:07:27 #2 DONE 0.0s
12:07:27 
12:07:27 #1 [internal] load build definition from Dockerfile.notary-server
12:07:27 #1 transferring dockerfile: 140B done
12:07:27 #1 DONE 0.0s
12:07:27 
12:07:27 #3 [internal] load metadata for docker.io/library/notary:server-0.5.0
12:07:27 #3 DONE 0.1s
12:07:27 
12:07:27 #4 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447...
12:07:27 #4 DONE 0.0s
12:07:27 
12:07:27 #5 [internal] load build context
12:07:27 #5 transferring context: 8.26kB done
12:07:27 #5 DONE 0.0s
12:07:27 
12:07:27 #6 [2/2] COPY ./notary/ /fixtures/
12:07:27 #6 CACHED
12:07:27 
12:07:27 #7 exporting to image
12:07:27 #7 exporting layers done
12:07:27 #7 writing image sha256:3126a0030a340c7930723a2327346b80a1808cf60bc50c1f38b89ec97cd615dc done
12:07:27 #7 naming to docker.io/library/cliendtoendsuite_notary-server done
12:07:27 #7 DONE 0.0s
12:07:27 Successfully built 3126a0030a340c7930723a2327346b80a1808cf60bc50c1f38b89ec97cd615dc
12:07:27 Building evil-notary-server
12:07:27 #2 [internal] load .dockerignore
12:07:27 #2 transferring context: 2B done
12:07:27 #2 DONE 0.0s
12:07:27 
12:07:27 #1 [internal] load build definition from Dockerfile.evil-notary-server
12:07:27 #1 transferring dockerfile: 150B done
12:07:27 #1 DONE 0.0s
12:07:27 
12:07:27 #3 [internal] load metadata for docker.io/library/notary:server-0.5.0
12:07:27 #3 DONE 0.1s
12:07:27 
12:07:27 #4 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447...
12:07:27 #4 DONE 0.0s
12:07:27 
12:07:27 #5 [internal] load build context
12:07:27 #5 transferring context: 8.29kB done
12:07:27 #5 DONE 0.0s
12:07:27 
12:07:27 #6 [2/2] COPY ./notary-evil/ /fixtures/
12:07:27 #6 CACHED
12:07:27 
12:07:27 #7 exporting to image
12:07:27 #7 exporting layers done
12:07:27 #7 writing image sha256:edb1cbb39945bafb1605df55717aa6022964080a90b3a3913300f8332b43d4b9 done
12:07:27 #7 naming to docker.io/library/cliendtoendsuite_evil-notary-server done
12:07:27 #7 DONE 0.0s
12:07:27 Successfully built edb1cbb39945bafb1605df55717aa6022964080a90b3a3913300f8332b43d4b9
12:07:27 Creating cliendtoendsuite_registry_1 ... 
12:07:27 Creating cliendtoendsuite_evil-notary-server_1 ... 
12:07:27 Creating cliendtoendsuite_engine_1             ... 
12:07:27 Creating cliendtoendsuite_notary-server_1      ... 
12:07:32 
Creating cliendtoendsuite_notary-server_1      ... done

Creating cliendtoendsuite_evil-notary-server_1 ... done

Creating cliendtoendsuite_registry_1           ... done

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