Skip to content
Failed

Console Output

Skipping 120 KB.. Full Log
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