Skipping 201 KB..
Full LogTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTestTest
11:43:16 [32m✓[0m e2e/context (64ms)
11:43:16 [32m✓[0m e2e/global (87ms)
11:43:16 [31m✖[0m e2e/container (4.223s)
11:43:19 [31m✖[0m e2e/image (4.37s)
11:43:19 [33m∅[0m e2e/internal/fixtures
11:43:19 [31m✖[0m e2e/plugin (2.426s)
11:43:19 [33m∅[0m e2e/plugin/basic
11:43:20 [32m✓[0m e2e/stack (594ms)
11:43:20 [32m✓[0m e2e/system (78ms)
11:43:21 [31m✖[0m e2e/trust (463ms)
11:43:21
11:43:21 === [33mSkipped[0m
11:43:21 === [33mSKIP[0m: e2e/cli-plugins TestCLIPluginDialStdio (0.00s)
11:43:21 dial_test.go:16: skipping plugin dial-stdio test since DOCKER_CLI_PLUGIN_USE_DIAL_STDIO is not set
11:43:21
11:43:21 === [33mSKIP[0m: e2e/container TestRunWithCgroupNamespace (0.07s)
11:43:21 run_test.go:141: !cgroupNsFound: running against a daemon that doesn't support cgroup namespaces (security options: [name=apparmor name=seccomp,profile=default]
11:43:21 )
11:43:21
11:43:21 === [33mSKIP[0m: e2e/image TestBuildIidFileSquash (0.04s)
11:43:21 build_test.go:112: !experimentalBuild: running against a non-experimental daemon
11:43:21
11:43:21 === [33mSKIP[0m: e2e/stack TestDeployWithNamedResources/Kubernetes (0.00s)
11:43:21 --- SKIP: TestDeployWithNamedResources/Kubernetes (0.00s)
11:43:21 deploy_test.go:22: FIXME(chris-crone): currently does not work with compose for kubernetes.
11:43:21
11:43:21 === [33mSKIP[0m: e2e/stack TestRemove/Kubernetes (0.00s)
11:43:21 --- SKIP: TestRemove/Kubernetes (0.00s)
11:43:21 remove_test.go:22: !environment.KubernetesEnabled()
11:43:21
11:43:21
11:43:21 === [31mFailed[0m
11:43:21 === [31mFAIL[0m: e2e/container TestCreateWithContentTrust (0.27s)
11:43:21 create_test.go:18: assertion failed:
11:43:21 Command: docker image push registry:5000/trust-create:latest
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout: The push refers to repository [registry:5000/trust-create]
11:43:21 5bef08742407: Preparing
11:43:21 5bef08742407: Mounted from alpine
11:43:21 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
11:43:21 Signing and pushing trust metadata
11:43:21
11:43:21 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 ExitCode was 1 expected 0
11:43:21 Expected no error
11:43:21
11:43:21 === [31mFAIL[0m: e2e/container TestTrustedCreateFromUnreachableTrustServer (0.21s)
11:43:21 create_test.go:38: assertion failed:
11:43:21 Command: docker image push registry:5000/trust-create:latest
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout: The push refers to repository [registry:5000/trust-create]
11:43:21 5bef08742407: Preparing
11:43:21 5bef08742407: Layer already exists
11:43:21 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
11:43:21 Signing and pushing trust metadata
11:43:21
11:43:21 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 ExitCode was 1 expected 0
11:43:21 Expected no error
11:43:21
11:43:21 === [31mFAIL[0m: e2e/container TestTrustedCreateFromBadTrustServer (0.20s)
11:43:21 create_test.go:66: assertion failed:
11:43:21 Command: docker image push registry:5000/evil-alpine:latest
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout: The push refers to repository [registry:5000/evil-alpine]
11:43:21 5bef08742407: Preparing
11:43:21 5bef08742407: Mounted from trust-create
11:43:21 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
11:43:21 Signing and pushing trust metadata
11:43:21
11:43:21 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 ExitCode was 1 expected 0
11:43:21 Expected no error
11:43:21
11:43:21 === [31mFAIL[0m: e2e/container TestRunWithContentTrust (0.21s)
11:43:21 run_test.go:36: assertion failed:
11:43:21 Command: docker image push registry:5000/trust-run:latest
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout: The push refers to repository [registry:5000/trust-run]
11:43:21 5bef08742407: Preparing
11:43:21 5bef08742407: Mounted from trust-create
11:43:21 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
11:43:21 Signing and pushing trust metadata
11:43:21
11:43:21 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 ExitCode was 1 expected 0
11:43:21 Expected no error
11:43:21
11:43:21 === [31mFAIL[0m: e2e/container TestUntrustedRun (0.17s)
11:43:21 run_test.go:70: assertion failed:
11:43:21 Command: docker run registry:5000/alpine:untrusted
11:43:21 ExitCode: 125
11:43:21 Error: exit status 125
11:43:21 Stdout:
11:43:21 Stderr: docker: Error: error contacting notary server: x509: certificate has expired or is not yet valid.
11:43:21 See 'docker run --help'.
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 Expected stderr to contain "does not have trust data for"
11:43:21
11:43:21 === [31mFAIL[0m: e2e/container TestTrustedRunFromBadTrustServer (0.15s)
11:43:21 run_test.go:90: assertion failed:
11:43:21 Command: docker image push registry:5000/evil-alpine:latest
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout: The push refers to repository [registry:5000/evil-alpine]
11:43:21 5bef08742407: Preparing
11:43:21 5bef08742407: Layer already exists
11:43:21 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
11:43:21 Signing and pushing trust metadata
11:43:21
11:43:21 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 ExitCode was 1 expected 0
11:43:21 Expected no error
11:43:21
11:43:21 === [31mFAIL[0m: e2e/image TestTrustedBuild (0.28s)
11:43:21 build_test.go:56: assertion failed:
11:43:21 Command: docker image push registry:5000/trust-build1:latest
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout: The push refers to repository [registry:5000/trust-build1]
11:43:21 5bef08742407: Preparing
11:43:21 5bef08742407: Mounted from trust-run
11:43:21 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
11:43:21 Signing and pushing trust metadata
11:43:21
11:43:21 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 ExitCode was 1 expected 0
11:43:21 Expected no error
11:43:21
11:43:21 === [31mFAIL[0m: e2e/image TestTrustedBuildUntrustedImage (0.12s)
11:43:21 build_test.go:105: assertion failed:
11:43:21 Command: docker build -t myimage .
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout: Sending build context to Docker daemon
11:43:21
11:43:21
11:43:21 Stderr: error during connect: Post http://172.18.0.3: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
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 Expected stderr to contain "does not have trust data for"
11:43:21
11:43:21 === [31mFAIL[0m: e2e/image TestPullWithContentTrust (0.31s)
11:43:21 pull_test.go:22: assertion failed:
11:43:21 Command: docker image push registry:5000/trust-pull:latest
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout: The push refers to repository [registry:5000/trust-pull]
11:43:21 5bef08742407: Preparing
11:43:21 5bef08742407: Mounted from trust-build1
11:43:21 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
11:43:21 Signing and pushing trust metadata
11:43:21
11:43:21 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 ExitCode was 1 expected 0
11:43:21 Expected no error
11:43:21
11:43:21 === [31mFAIL[0m: e2e/image TestPullWithContentTrustUsesCacheWhenNotaryUnavailable (0.51s)
11:43:21 pull_test.go:49: assertion failed:
11:43:21 Command: docker image push registry:5000/trust-pull-unreachable:latest
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout: The push refers to repository [registry:5000/trust-pull-unreachable]
11:43:21 5bef08742407: Preparing
11:43:21 5bef08742407: Mounted from trust-pull
11:43:21 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
11:43:21 Signing and pushing trust metadata
11:43:21
11:43:21 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 ExitCode was 1 expected 0
11:43:21 Expected no error
11:43:21
11:43:21 === [31mFAIL[0m: e2e/image TestPushWithContentTrust (0.31s)
11:43:21 push_test.go:64: assertion failed:
11:43:21 Command: docker push registry:5000/trust-push:latest
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout: The push refers to repository [registry:5000/trust-push]
11:43:21 5bef08742407: Preparing
11:43:21 5bef08742407: Mounted from evil-alpine
11:43:21 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
11:43:21 Signing and pushing trust metadata
11:43:21
11:43:21 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 ExitCode was 1 expected 0
11:43:21 Expected no error
11:43:21
11:43:21 === [31mFAIL[0m: e2e/image TestPushWithContentTrustExistingTag (0.37s)
11:43:21 push_test.go:118: assertion failed:
11:43:21 Command: docker push registry:5000/trust-push-existing:latest
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout: The push refers to repository [registry:5000/trust-push-existing]
11:43:21 5bef08742407: Preparing
11:43:21 5bef08742407: Layer already exists
11:43:21 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
11:43:21 Signing and pushing trust metadata
11:43:21
11:43:21 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 ExitCode was 1 expected 0
11:43:21 Expected no error
11:43:21
11:43:21 === [31mFAIL[0m: e2e/image TestPushWithContentTrustReleasesDelegationOnly (0.14s)
11:43:21 push_test.go:373: assertion failed:
11:43:21 Command: /usr/local/bin/notary -c /tmp/notary_test-341243046/client-config.json init registry:5000/trust-push-releases-delegation
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout:
11:43:21 * fatal: client is offline
11:43:21
11:43:21 Stderr: time="2020-04-09T11:43:18Z" 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"
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 ExitCode was 1 expected 0
11:43:21 Expected no error
11:43:21
11:43:21 === [31mFAIL[0m: e2e/image TestPushWithContentTrustSignsAllFirstLevelRolesWeHaveKeysFor (0.14s)
11:43:21 push_test.go:373: assertion failed:
11:43:21 Command: /usr/local/bin/notary -c /tmp/notary_test-346407815/client-config.json init registry:5000/trust-push-releases-first-roles
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout:
11:43:21 * fatal: client is offline
11:43:21
11:43:21 Stderr: time="2020-04-09T11:43:18Z" 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"
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 ExitCode was 1 expected 0
11:43:21 Expected no error
11:43:21
11:43:21 === [31mFAIL[0m: e2e/image TestPushWithContentTrustSignsForRolesWithKeysAndValidPaths (0.14s)
11:43:21 push_test.go:373: assertion failed:
11:43:21 Command: /usr/local/bin/notary -c /tmp/notary_test-976226428/client-config.json init registry:5000/trust-push-releases-keys-valid-paths
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout:
11:43:21 * fatal: client is offline
11:43:21
11:43:21 Stderr: time="2020-04-09T11:43:19Z" 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"
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 ExitCode was 1 expected 0
11:43:21 Expected no error
11:43:21
11:43:21 === [31mFAIL[0m: e2e/plugin TestInstallWithContentTrust (2.28s)
11:43:21 trust_test.go:41: assertion failed:
11:43:21 Command: docker plugin push registry:5000/plugin-content-trust
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout: The push refers to repository [registry:5000/plugin-content-trust]
11:43:21 7f8b2e71b119: Preparing
11:43:21 7f8b2e71b119: Pushed
11:43:21 latest: digest: sha256:cfd1546f0e440b7478ebaeba56a2ef5b647e3b1b0923b5109ee22545edef7b15 size: 518
11:43:21 Signing and pushing trust metadata
11:43:21
11:43:21 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 ExitCode was 1 expected 0
11:43:21 Expected no error
11:43:21
11:43:21 === [31mFAIL[0m: e2e/plugin TestInstallWithContentTrustUntrusted (0.14s)
11:43:21 trust_test.go:68: assertion failed:
11:43:21 Command: docker plugin install --grant-all-permissions tiborvass/sample-volume-plugin:latest
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout:
11:43:21 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 Expected stderr to contain "Error: remote trust data does not exist"
11:43:21
11:43:21 === [31mFAIL[0m: e2e/trust TestRevokeImage (0.12s)
11:43:21 revoke_test.go:55: assertion failed:
11:43:21 Command: docker -D trust sign registry:5000/revoke:v1
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout:
11:43:21 Stderr: time="2020-04-09T11:43:20Z" level=debug msg="reading certificate directory: /tmp/trust_test-422736409/tls/notary-server:4443"
11:43:21 time="2020-04-09T11:43:20Z" 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"
11:43:21 time="2020-04-09T11:43:20Z" level=debug msg="Making dir path: /tmp/trust_test-422736409/trust/tuf/registry:5000/revoke/changelist"
11:43:21 Error: error contacting notary server: x509: certificate has expired or is not yet valid
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 ExitCode was 1 expected 0
11:43:21 Expected no error
11:43:21
11:43:21 === [31mFAIL[0m: e2e/trust TestRevokeRepo (0.11s)
11:43:21 revoke_test.go:64: assertion failed:
11:43:21 Command: docker -D trust sign registry:5000/revokerepo:v1
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout:
11:43:21 Stderr: time="2020-04-09T11:43:20Z" level=debug msg="reading certificate directory: /tmp/trust_test-253056676/tls/notary-server:4443"
11:43:21 time="2020-04-09T11:43:20Z" 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"
11:43:21 time="2020-04-09T11:43:20Z" level=debug msg="Making dir path: /tmp/trust_test-253056676/trust/tuf/registry:5000/revokerepo/changelist"
11:43:21 Error: error contacting notary server: x509: certificate has expired or is not yet valid
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 ExitCode was 1 expected 0
11:43:21 Expected no error
11:43:21
11:43:21 === [31mFAIL[0m: e2e/trust TestSignLocalImage (0.11s)
11:43:21 sign_test.go:32: assertion failed:
11:43:21 Command: docker trust sign registry:5000/sign:v1
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout:
11:43:21 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 ExitCode was 1 expected 0
11:43:21 Expected no error
11:43:21
11:43:21 === [31mFAIL[0m: e2e/trust TestSignWithLocalFlag (0.11s)
11:43:21 sign_test.go:57: assertion failed:
11:43:21 Command: docker -D trust sign registry:5000/signlocal:v1
11:43:21 ExitCode: 1
11:43:21 Error: exit status 1
11:43:21 Stdout:
11:43:21 Stderr: time="2020-04-09T11:43:21Z" level=debug msg="reading certificate directory: /tmp/trust_test-348084598/tls/notary-server:4443"
11:43:21 time="2020-04-09T11:43:21Z" 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"
11:43:21 time="2020-04-09T11:43:21Z" level=debug msg="Making dir path: /tmp/trust_test-348084598/trust/tuf/registry:5000/signlocal/changelist"
11:43:21 Error: error contacting notary server: x509: certificate has expired or is not yet valid
11:43:21
11:43:21
11:43:21 Failures:
11:43:21 ExitCode was 1 expected 0
11:43:21 Expected no error
11:43:21
11:43:21
11:43:21 DONE 94 tests, 5 skipped, 21 failures in 23.232s
11:43:21 Stopping cliendtoendsuite_registry_1 ...
11:43:21 Stopping cliendtoendsuite_engine_1 ...
11:43:21 Stopping cliendtoendsuite_notary-server_1 ...
11:43:21 Stopping cliendtoendsuite_evil-notary-server_1 ...
11:43:23 [4A[2K
Stopping cliendtoendsuite_registry_1 ... [32mdone[0m
[4B[1A[2K
Stopping cliendtoendsuite_evil-notary-server_1 ... [32mdone[0m
[1B[2A[2K
Stopping cliendtoendsuite_notary-server_1 ... [32mdone[0m
[2B[3A[2K
Stopping cliendtoendsuite_engine_1 ... [32mdone[0m
[3BRemoving cliendtoendsuite_registry_1 ...
11:43:23 Removing cliendtoendsuite_engine_1 ...
11:43:23 Removing cliendtoendsuite_notary-server_1 ...
11:43:23 Removing cliendtoendsuite_evil-notary-server_1 ...
11:43:24 [1A[2K
Removing cliendtoendsuite_evil-notary-server_1 ... [32mdone[0m
[1B[2A[2K
Removing cliendtoendsuite_notary-server_1 ... [32mdone[0m
[2B[3A[2K
Removing cliendtoendsuite_engine_1 ... [32mdone[0m
[3B[4A[2K
Removing cliendtoendsuite_registry_1 ... [32mdone[0m
[4BRemoving network cliendtoendsuite_default
11:43:24 Removing image cliendtoendsuite_notary-server
11:43:24 Removing image cliendtoendsuite_evil-notary-server
11:43:24 docker.Makefile:152: recipe for target 'test-e2e-non-experimental' failed
11:43:24 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