Skip to content
Failed

Console Output

Skipping 171 KB.. Full Log
00:29:50 ✖  e2e/trust (693ms)
00:29:51 ✖  e2e/plugin (1.747s)
00:29:51 ✓  e2e/cli-plugins (1.997s)
00:29:51 ∅  e2e/cli-plugins/plugins/badmeta
00:29:51 ∅  e2e/cli-plugins/plugins/nopersistentprerun
00:29:53 ✖  e2e/image (3.401s)
00:29:53 ✖  e2e/container (4.528s)
00:29:53 ∅  e2e/internal/fixtures
00:29:53 ∅  e2e/plugin/basic
00:29:53 
00:29:53 === Skipped
00:29:53 === SKIP: e2e/cli-plugins TestCLIPluginDialStdio (0.00s)
00:29:53     dial_test.go:16: skipping plugin dial-stdio test since DOCKER_CLI_PLUGIN_USE_DIAL_STDIO is not set
00:29:53 
00:29:53 === SKIP: e2e/container TestRunWithCgroupNamespace (0.05s)
00:29:53     run_test.go:141: !cgroupNsFound: running against a daemon that doesn't support cgroup namespaces (security options: [name=apparmor name=seccomp,profile=default]
00:29:53         )
00:29:53 
00:29:53 === SKIP: e2e/image TestBuildIidFileSquash (0.04s)
00:29:53     build_test.go:112: !experimentalBuild: running against a non-experimental daemon
00:29:53 
00:29:53 === SKIP: e2e/stack TestDeployWithNamedResources/Kubernetes (0.00s)
00:29:53     --- SKIP: TestDeployWithNamedResources/Kubernetes (0.00s)
00:29:53         deploy_test.go:22: FIXME(chris-crone): currently does not work with compose for kubernetes.
00:29:53 
00:29:53 === SKIP: e2e/stack TestRemove/Kubernetes (0.00s)
00:29:53     --- SKIP: TestRemove/Kubernetes (0.00s)
00:29:53         remove_test.go:22: !environment.KubernetesEnabled()
00:29:53 
00:29:53 
00:29:53 === Failed
00:29:53 === FAIL: e2e/container TestCreateWithContentTrust (0.24s)
00:29:53     create_test.go:18: assertion failed: 
00:29:53         Command:  docker image push registry:5000/trust-create:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/trust-create]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Mounted from alpine
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/container TestTrustedCreateFromUnreachableTrustServer (0.16s)
00:29:53     create_test.go:38: assertion failed: 
00:29:53         Command:  docker image push registry:5000/trust-create:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/trust-create]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Layer already exists
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/container TestTrustedCreateFromBadTrustServer (0.17s)
00:29:53     create_test.go:66: assertion failed: 
00:29:53         Command:  docker image push registry:5000/evil-alpine:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/evil-alpine]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Mounted from trust-create
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/container TestRunWithContentTrust (0.15s)
00:29:53     run_test.go:36: assertion failed: 
00:29:53         Command:  docker image push registry:5000/trust-run:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/trust-run]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Mounted from trust-push-existing
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/container TestUntrustedRun (0.10s)
00:29:53     run_test.go:70: assertion failed: 
00:29:53         Command:  docker run registry:5000/alpine:untrusted
00:29:53         ExitCode: 125
00:29:53         Error:    exit status 125
00:29:53         Stdout:   
00:29:53         Stderr:   docker: Error: error contacting notary server: x509: certificate has expired or is not yet valid.
00:29:53         See 'docker run --help'.
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         Expected stderr to contain "does not have trust data for"
00:29:53 
00:29:53 === FAIL: e2e/container TestTrustedRunFromBadTrustServer (0.10s)
00:29:53     run_test.go:90: assertion failed: 
00:29:53         Command:  docker image push registry:5000/evil-alpine:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/evil-alpine]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Layer already exists
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/image TestTrustedBuild (0.18s)
00:29:53     build_test.go:56: assertion failed: 
00:29:53         Command:  docker image push registry:5000/trust-build1:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/trust-build1]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Mounted from trust-create
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/image TestTrustedBuildUntrustedImage (0.08s)
00:29:53     build_test.go:105: assertion failed: 
00:29:53         Command:  docker build -t myimage .
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   Sending build context to Docker daemon 
00:29:53         
00:29:53         
00:29:53         Stderr:   error during connect: Post http://172.18.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
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         Expected stderr to contain "does not have trust data for"
00:29:53 
00:29:53 === FAIL: e2e/image TestPullWithContentTrust (0.18s)
00:29:53     pull_test.go:22: assertion failed: 
00:29:53         Command:  docker image push registry:5000/trust-pull:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/trust-pull]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Mounted from trust-build1
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/image TestPullWithContentTrustUsesCacheWhenNotaryUnavailable (0.16s)
00:29:53     pull_test.go:49: assertion failed: 
00:29:53         Command:  docker image push registry:5000/trust-pull-unreachable:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/trust-pull-unreachable]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Mounted from trust-pull
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/image TestPushWithContentTrust (0.16s)
00:29:53     push_test.go:64: assertion failed: 
00:29:53         Command:  docker push registry:5000/trust-push:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/trust-push]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Mounted from evil-alpine
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/image TestPushWithContentTrustExistingTag (0.20s)
00:29:53     push_test.go:118: assertion failed: 
00:29:53         Command:  docker push registry:5000/trust-push-existing:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/trust-push-existing]
00:29:53         5bef08742407: Preparing
00:29:53         5bef08742407: Layer already exists
00:29:53         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/image TestPushWithContentTrustReleasesDelegationOnly (0.07s)
00:29:53     push_test.go:373: assertion failed: 
00:29:53         Command:  /usr/local/bin/notary -c /tmp/notary_test-688820440/client-config.json init registry:5000/trust-push-releases-delegation
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   
00:29:53         * fatal: client is offline
00:29:53         
00:29:53         Stderr:   time="2020-04-04T00:29:52Z" 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"
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/image TestPushWithContentTrustSignsAllFirstLevelRolesWeHaveKeysFor (0.08s)
00:29:53     push_test.go:373: assertion failed: 
00:29:53         Command:  /usr/local/bin/notary -c /tmp/notary_test-049080993/client-config.json init registry:5000/trust-push-releases-first-roles
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   
00:29:53         * fatal: client is offline
00:29:53         
00:29:53         Stderr:   time="2020-04-04T00:29:52Z" 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"
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/image TestPushWithContentTrustSignsForRolesWithKeysAndValidPaths (0.07s)
00:29:53     push_test.go:373: assertion failed: 
00:29:53         Command:  /usr/local/bin/notary -c /tmp/notary_test-348152478/client-config.json init registry:5000/trust-push-releases-keys-valid-paths
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   
00:29:53         * fatal: client is offline
00:29:53         
00:29:53         Stderr:   time="2020-04-04T00:29:52Z" 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"
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/plugin TestInstallWithContentTrust (1.66s)
00:29:53     trust_test.go:41: assertion failed: 
00:29:53         Command:  docker plugin push registry:5000/plugin-content-trust
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   The push refers to repository [registry:5000/plugin-content-trust]
00:29:53         e361ab880468: Preparing
00:29:53         e361ab880468: Pushed
00:29:53         latest: digest: sha256:8b15eefbba9b3c59e766cc9ac1f8f25faf16e1a408c08e4d397277b449ebd522 size: 518
00:29:53         Signing and pushing trust metadata
00:29:53         
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/plugin TestInstallWithContentTrustUntrusted (0.08s)
00:29:53     trust_test.go:68: assertion failed: 
00:29:53         Command:  docker plugin install --grant-all-permissions tiborvass/sample-volume-plugin:latest
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         Expected stderr to contain "Error: remote trust data does not exist"
00:29:53 
00:29:53 === FAIL: e2e/trust TestRevokeImage (0.19s)
00:29:53     revoke_test.go:55: assertion failed: 
00:29:53         Command:  docker -D trust sign registry:5000/revoke:v1
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   
00:29:53         Stderr:   time="2020-04-04T00:29:50Z" level=debug msg="reading certificate directory: /tmp/trust_test-701282227/tls/notary-server:4443"
00:29:53         time="2020-04-04T00:29: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"
00:29:53         time="2020-04-04T00:29:50Z" level=debug msg="Making dir path: /tmp/trust_test-701282227/trust/tuf/registry:5000/revoke/changelist"
00:29:53         Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/trust TestRevokeRepo (0.18s)
00:29:53     revoke_test.go:64: assertion failed: 
00:29:53         Command:  docker -D trust sign registry:5000/revokerepo:v1
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   
00:29:53         Stderr:   time="2020-04-04T00:29:50Z" level=debug msg="reading certificate directory: /tmp/trust_test-255725942/tls/notary-server:4443"
00:29:53         time="2020-04-04T00:29: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"
00:29:53         time="2020-04-04T00:29:50Z" level=debug msg="Making dir path: /tmp/trust_test-255725942/trust/tuf/registry:5000/revokerepo/changelist"
00:29:53         Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/trust TestSignLocalImage (0.16s)
00:29:53     sign_test.go:32: assertion failed: 
00:29:53         Command:  docker trust sign registry:5000/sign:v1
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   
00:29:53         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 === FAIL: e2e/trust TestSignWithLocalFlag (0.16s)
00:29:53     sign_test.go:57: assertion failed: 
00:29:53         Command:  docker -D trust sign registry:5000/signlocal:v1
00:29:53         ExitCode: 1
00:29:53         Error:    exit status 1
00:29:53         Stdout:   
00:29:53         Stderr:   time="2020-04-04T00:29:50Z" level=debug msg="reading certificate directory: /tmp/trust_test-992440856/tls/notary-server:4443"
00:29:53         time="2020-04-04T00:29: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"
00:29:53         time="2020-04-04T00:29:50Z" level=debug msg="Making dir path: /tmp/trust_test-992440856/trust/tuf/registry:5000/signlocal/changelist"
00:29:53         Error: error contacting notary server: x509: certificate has expired or is not yet valid
00:29:53         
00:29:53         
00:29:53         Failures:
00:29:53         ExitCode was 1 expected 0
00:29:53         Expected no error
00:29:53 
00:29:53 
00:29:53 DONE 94 tests, 5 skipped, 21 failures in 8.542s
00:29:54 Stopping cliendtoendsuite_notary-server_1      ... 
00:29:54 Stopping cliendtoendsuite_registry_1           ... 
00:29:54 Stopping cliendtoendsuite_engine_1             ... 
00:29:54 Stopping cliendtoendsuite_evil-notary-server_1 ... 
00:29:56 
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_notary-server_1      ... 
00:29:56 Removing cliendtoendsuite_registry_1           ... 
00:29:56 Removing cliendtoendsuite_engine_1             ... 
00:29:56 Removing cliendtoendsuite_evil-notary-server_1 ... 
00:29:56 
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
00:29:56 Removing image cliendtoendsuite_notary-server
00:29:56 Removing image cliendtoendsuite_evil-notary-server
00:29:57 docker.Makefile:152: recipe for target 'test-e2e-non-experimental' failed
00:29:57 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