Skip to content
Failed

Console Output

Skipping 211 KB.. Full Log
05:44:07 ✓  e2e/context (42ms)
05:44:07 ✓  e2e/global (60ms)
05:44:09 ✖  e2e/container (4.843s)
05:44:13 ✖  e2e/image (4.403s)
05:44:13 ∅  e2e/internal/fixtures
05:44:13 ✖  e2e/plugin (2.402s)
05:44:13 ∅  e2e/plugin/basic
05:44:13 ✓  e2e/system (55ms)
05:44:14 ✓  e2e/stack (608ms)
05:44:14 ✖  e2e/trust (505ms)
05:44:14 
05:44:14 === Skipped
05:44:14 === SKIP: e2e/cli-plugins TestCLIPluginDialStdio (0.00s)
05:44:14     dial_test.go:16: skipping plugin dial-stdio test since DOCKER_CLI_PLUGIN_USE_DIAL_STDIO is not set
05:44:14 
05:44:14 === SKIP: e2e/container TestRunWithCgroupNamespace (0.08s)
05:44:14     run_test.go:141: !cgroupNsFound: running against a daemon that doesn't support cgroup namespaces (security options: [name=apparmor name=seccomp,profile=default]
05:44:14         )
05:44:14 
05:44:14 === SKIP: e2e/image TestBuildIidFileSquash (0.05s)
05:44:14     build_test.go:112: !experimentalBuild: running against a non-experimental daemon
05:44:14 
05:44:14 === SKIP: e2e/stack TestDeployWithNamedResources/Kubernetes (0.00s)
05:44:14     --- SKIP: TestDeployWithNamedResources/Kubernetes (0.00s)
05:44:14         deploy_test.go:22: FIXME(chris-crone): currently does not work with compose for kubernetes.
05:44:14 
05:44:14 === SKIP: e2e/stack TestRemove/Kubernetes (0.00s)
05:44:14     --- SKIP: TestRemove/Kubernetes (0.00s)
05:44:14         remove_test.go:22: !environment.KubernetesEnabled()
05:44:14 
05:44:14 
05:44:14 === Failed
05:44:14 === FAIL: e2e/container TestCreateWithContentTrust (0.29s)
05:44:14     create_test.go:18: assertion failed: 
05:44:14         Command:  docker image push registry:5000/trust-create:latest
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   The push refers to repository [registry:5000/trust-create]
05:44:14         5bef08742407: Preparing
05:44:14         5bef08742407: Mounted from alpine
05:44:14         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
05:44:14         Signing and pushing trust metadata
05:44:14         
05:44:14         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         ExitCode was 1 expected 0
05:44:14         Expected no error
05:44:14 
05:44:14 === FAIL: e2e/container TestTrustedCreateFromUnreachableTrustServer (0.22s)
05:44:14     create_test.go:38: assertion failed: 
05:44:14         Command:  docker image push registry:5000/trust-create:latest
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   The push refers to repository [registry:5000/trust-create]
05:44:14         5bef08742407: Preparing
05:44:14         5bef08742407: Layer already exists
05:44:14         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
05:44:14         Signing and pushing trust metadata
05:44:14         
05:44:14         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         ExitCode was 1 expected 0
05:44:14         Expected no error
05:44:14 
05:44:14 === FAIL: e2e/container TestTrustedCreateFromBadTrustServer (0.23s)
05:44:14     create_test.go:66: assertion failed: 
05:44:14         Command:  docker image push registry:5000/evil-alpine:latest
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   The push refers to repository [registry:5000/evil-alpine]
05:44:14         5bef08742407: Preparing
05:44:14         5bef08742407: Mounted from trust-create
05:44:14         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
05:44:14         Signing and pushing trust metadata
05:44:14         
05:44:14         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         ExitCode was 1 expected 0
05:44:14         Expected no error
05:44:14 
05:44:14 === FAIL: e2e/container TestRunWithContentTrust (0.23s)
05:44:14     run_test.go:36: assertion failed: 
05:44:14         Command:  docker image push registry:5000/trust-run:latest
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   The push refers to repository [registry:5000/trust-run]
05:44:14         5bef08742407: Preparing
05:44:14         5bef08742407: Mounted from trust-create
05:44:14         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
05:44:14         Signing and pushing trust metadata
05:44:14         
05:44:14         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         ExitCode was 1 expected 0
05:44:14         Expected no error
05:44:14 
05:44:14 === FAIL: e2e/container TestUntrustedRun (0.22s)
05:44:14     run_test.go:70: assertion failed: 
05:44:14         Command:  docker run registry:5000/alpine:untrusted
05:44:14         ExitCode: 125
05:44:14         Error:    exit status 125
05:44:14         Stdout:   
05:44:14         Stderr:   docker: Error: error contacting notary server: x509: certificate has expired or is not yet valid.
05:44:14         See 'docker run --help'.
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         Expected stderr to contain "does not have trust data for"
05:44:14 
05:44:14 === FAIL: e2e/container TestTrustedRunFromBadTrustServer (0.14s)
05:44:14     run_test.go:90: assertion failed: 
05:44:14         Command:  docker image push registry:5000/evil-alpine:latest
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   The push refers to repository [registry:5000/evil-alpine]
05:44:14         5bef08742407: Preparing
05:44:14         5bef08742407: Layer already exists
05:44:14         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
05:44:14         Signing and pushing trust metadata
05:44:14         
05:44:14         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         ExitCode was 1 expected 0
05:44:14         Expected no error
05:44:14 
05:44:14 === FAIL: e2e/image TestTrustedBuild (0.31s)
05:44:14     build_test.go:56: assertion failed: 
05:44:14         Command:  docker image push registry:5000/trust-build1:latest
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   The push refers to repository [registry:5000/trust-build1]
05:44:14         5bef08742407: Preparing
05:44:14         5bef08742407: Mounted from trust-run
05:44:14         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
05:44:14         Signing and pushing trust metadata
05:44:14         
05:44:14         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         ExitCode was 1 expected 0
05:44:14         Expected no error
05:44:14 
05:44:14 === FAIL: e2e/image TestTrustedBuildUntrustedImage (0.12s)
05:44:14     build_test.go:105: assertion failed: 
05:44:14         Command:  docker build -t myimage .
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   Sending build context to Docker daemon 
05:44:14         
05:44:14         
05:44:14         Stderr:   error during connect: Post http://172.18.0.5: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
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         Expected stderr to contain "does not have trust data for"
05:44:14 
05:44:14 === FAIL: e2e/image TestPullWithContentTrust (0.34s)
05:44:14     pull_test.go:22: assertion failed: 
05:44:14         Command:  docker image push registry:5000/trust-pull:latest
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   The push refers to repository [registry:5000/trust-pull]
05:44:14         5bef08742407: Preparing
05:44:14         5bef08742407: Mounted from trust-build1
05:44:14         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
05:44:14         Signing and pushing trust metadata
05:44:14         
05:44:14         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         ExitCode was 1 expected 0
05:44:14         Expected no error
05:44:14 
05:44:14 === FAIL: e2e/image TestPullWithContentTrustUsesCacheWhenNotaryUnavailable (0.30s)
05:44:14     pull_test.go:49: assertion failed: 
05:44:14         Command:  docker image push registry:5000/trust-pull-unreachable:latest
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   The push refers to repository [registry:5000/trust-pull-unreachable]
05:44:14         5bef08742407: Preparing
05:44:14         5bef08742407: Mounted from trust-pull
05:44:14         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
05:44:14         Signing and pushing trust metadata
05:44:14         
05:44:14         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         ExitCode was 1 expected 0
05:44:14         Expected no error
05:44:14 
05:44:14 === FAIL: e2e/image TestPushWithContentTrust (0.30s)
05:44:14     push_test.go:64: assertion failed: 
05:44:14         Command:  docker push registry:5000/trust-push:latest
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   The push refers to repository [registry:5000/trust-push]
05:44:14         5bef08742407: Preparing
05:44:14         5bef08742407: Mounted from evil-alpine
05:44:14         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
05:44:14         Signing and pushing trust metadata
05:44:14         
05:44:14         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         ExitCode was 1 expected 0
05:44:14         Expected no error
05:44:14 
05:44:14 === FAIL: e2e/image TestPushWithContentTrustExistingTag (0.36s)
05:44:14     push_test.go:118: assertion failed: 
05:44:14         Command:  docker push registry:5000/trust-push-existing:latest
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   The push refers to repository [registry:5000/trust-push-existing]
05:44:14         5bef08742407: Preparing
05:44:14         5bef08742407: Layer already exists
05:44:14         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
05:44:14         Signing and pushing trust metadata
05:44:14         
05:44:14         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         ExitCode was 1 expected 0
05:44:14         Expected no error
05:44:14 
05:44:14 === FAIL: e2e/image TestPushWithContentTrustReleasesDelegationOnly (0.15s)
05:44:14     push_test.go:373: assertion failed: 
05:44:14         Command:  /usr/local/bin/notary -c /tmp/notary_test-211357451/client-config.json init registry:5000/trust-push-releases-delegation
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   
05:44:14         * fatal: client is offline
05:44:14         
05:44:14         Stderr:   time="2020-04-03T05:44: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"
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         ExitCode was 1 expected 0
05:44:14         Expected no error
05:44:14 
05:44:14 === FAIL: e2e/image TestPushWithContentTrustSignsAllFirstLevelRolesWeHaveKeysFor (0.12s)
05:44:14     push_test.go:373: assertion failed: 
05:44:14         Command:  /usr/local/bin/notary -c /tmp/notary_test-660452944/client-config.json init registry:5000/trust-push-releases-first-roles
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   
05:44:14         * fatal: client is offline
05:44:14         
05:44:14         Stderr:   time="2020-04-03T05:44: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"
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         ExitCode was 1 expected 0
05:44:14         Expected no error
05:44:14 
05:44:14 === FAIL: e2e/image TestPushWithContentTrustSignsForRolesWithKeysAndValidPaths (0.14s)
05:44:14     push_test.go:373: assertion failed: 
05:44:14         Command:  /usr/local/bin/notary -c /tmp/notary_test-208533881/client-config.json init registry:5000/trust-push-releases-keys-valid-paths
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   
05:44:14         * fatal: client is offline
05:44:14         
05:44:14         Stderr:   time="2020-04-03T05:44: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"
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         ExitCode was 1 expected 0
05:44:14         Expected no error
05:44:14 
05:44:14 === FAIL: e2e/plugin TestInstallWithContentTrust (2.23s)
05:44:14     trust_test.go:41: assertion failed: 
05:44:14         Command:  docker plugin push registry:5000/plugin-content-trust
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   The push refers to repository [registry:5000/plugin-content-trust]
05:44:14         eddc4eca2828: Preparing
05:44:14         eddc4eca2828: Pushed
05:44:14         latest: digest: sha256:9c41d519e413fcaf5419c3ae6c2536bc3dc95606a8774f62b15bc623293de2ae size: 518
05:44:14         Signing and pushing trust metadata
05:44:14         
05:44:14         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         ExitCode was 1 expected 0
05:44:14         Expected no error
05:44:14 
05:44:14 === FAIL: e2e/plugin TestInstallWithContentTrustUntrusted (0.17s)
05:44:14     trust_test.go:68: assertion failed: 
05:44:14         Command:  docker plugin install --grant-all-permissions tiborvass/sample-volume-plugin:latest
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   
05:44:14         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         Expected stderr to contain "Error: remote trust data does not exist"
05:44:14 
05:44:14 === FAIL: e2e/trust TestRevokeImage (0.12s)
05:44:14     revoke_test.go:55: assertion failed: 
05:44:14         Command:  docker -D trust sign registry:5000/revoke:v1
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   
05:44:14         Stderr:   time="2020-04-03T05:44:14Z" level=debug msg="reading certificate directory: /tmp/trust_test-550410658/tls/notary-server:4443"
05:44:14         time="2020-04-03T05:44: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"
05:44:14         time="2020-04-03T05:44:14Z" level=debug msg="Making dir path: /tmp/trust_test-550410658/trust/tuf/registry:5000/revoke/changelist"
05:44:14         Error: error contacting notary server: x509: certificate has expired or is not yet valid
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         ExitCode was 1 expected 0
05:44:14         Expected no error
05:44:14 
05:44:14 === FAIL: e2e/trust TestRevokeRepo (0.14s)
05:44:14     revoke_test.go:64: assertion failed: 
05:44:14         Command:  docker -D trust sign registry:5000/revokerepo:v1
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   
05:44:14         Stderr:   time="2020-04-03T05:44:14Z" level=debug msg="reading certificate directory: /tmp/trust_test-790100633/tls/notary-server:4443"
05:44:14         time="2020-04-03T05:44: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"
05:44:14         time="2020-04-03T05:44:14Z" level=debug msg="Making dir path: /tmp/trust_test-790100633/trust/tuf/registry:5000/revokerepo/changelist"
05:44:14         Error: error contacting notary server: x509: certificate has expired or is not yet valid
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         ExitCode was 1 expected 0
05:44:14         Expected no error
05:44:14 
05:44:14 === FAIL: e2e/trust TestSignLocalImage (0.12s)
05:44:14     sign_test.go:32: assertion failed: 
05:44:14         Command:  docker trust sign registry:5000/sign:v1
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   
05:44:14         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         ExitCode was 1 expected 0
05:44:14         Expected no error
05:44:14 
05:44:14 === FAIL: e2e/trust TestSignWithLocalFlag (0.12s)
05:44:14     sign_test.go:57: assertion failed: 
05:44:14         Command:  docker -D trust sign registry:5000/signlocal:v1
05:44:14         ExitCode: 1
05:44:14         Error:    exit status 1
05:44:14         Stdout:   
05:44:14         Stderr:   time="2020-04-03T05:44:14Z" level=debug msg="reading certificate directory: /tmp/trust_test-761915955/tls/notary-server:4443"
05:44:14         time="2020-04-03T05:44: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"
05:44:14         time="2020-04-03T05:44:14Z" level=debug msg="Making dir path: /tmp/trust_test-761915955/trust/tuf/registry:5000/signlocal/changelist"
05:44:14         Error: error contacting notary server: x509: certificate has expired or is not yet valid
05:44:14         
05:44:14         
05:44:14         Failures:
05:44:14         ExitCode was 1 expected 0
05:44:14         Expected no error
05:44:14 
05:44:14 
05:44:14 DONE 94 tests, 5 skipped, 21 failures in 29.092s
05:44:15 Stopping cliendtoendsuite_engine_1             ... 
05:44:15 Stopping cliendtoendsuite_evil-notary-server_1 ... 
05:44:15 Stopping cliendtoendsuite_notary-server_1      ... 
05:44:15 Stopping cliendtoendsuite_registry_1           ... 
05:44:17 
Stopping cliendtoendsuite_registry_1           ... done

Stopping cliendtoendsuite_notary-server_1      ... done

Stopping cliendtoendsuite_evil-notary-server_1 ... done

Stopping cliendtoendsuite_engine_1             ... done
Removing cliendtoendsuite_engine_1             ... 
05:44:17 Removing cliendtoendsuite_evil-notary-server_1 ... 
05:44:17 Removing cliendtoendsuite_notary-server_1      ... 
05:44:17 Removing cliendtoendsuite_registry_1           ... 
05:44:17 
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
05:44:17 Removing image cliendtoendsuite_notary-server
05:44:17 Removing image cliendtoendsuite_evil-notary-server
05:44:18 docker.Makefile:152: recipe for target 'test-e2e-non-experimental' failed
05:44:18 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