Skip to content
Failed

Console Output

Skipping 177 KB.. Full Log
20:06:17 sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d: Pulling from library/alpine
20:06:17 88286f41530e: Pulling fs layer
20:06:17 88286f41530e: Verifying Checksum
20:06:17 88286f41530e: Download complete
20:06:17 88286f41530e: Pull complete
20:06:17 Digest: sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d
20:06:17 Status: Downloaded newer image for alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d
20:06:17 docker.io/library/alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d
20:06:17 The push refers to repository [registry:5000/alpine]
20:06:17 5bef08742407: Preparing
20:06:18 5bef08742407: Pushed
20:06:18 3.6: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
20:06:18 sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7: Pulling from library/busybox
20:06:18 03b1be98f3f9: Pulling fs layer
20:06:18 03b1be98f3f9: Verifying Checksum
20:06:18 03b1be98f3f9: Download complete
20:06:18 03b1be98f3f9: Pull complete
20:06:18 Digest: sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7
20:06:18 Status: Downloaded newer image for busybox@sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7
20:06:18 docker.io/library/busybox@sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7
20:06:18 The push refers to repository [registry:5000/busybox]
20:06:18 6a749002dd6a: Preparing
20:06:19 6a749002dd6a: Pushed
20:06:19 1.27.2: digest: sha256:030fcb92e1487b18c974784dcc110a93147c9fc402188370fbfd17efabffc6af size: 527
20:06:19 Swarm initialized: current node (4ryoy3mrpi7iw8p3dcciah6he) is now a manager.
20:06:19 
20:06:19 To add a worker to this swarm, run the following command:
20:06:19 
20:06:19     docker swarm join --token SWMTKN-1-53wbjednd92ojz9ff4sc1z7jd88wmp741wb7ouvgm10oitr0wl-522je1d7sc5ktz9c0dytqv6zt 172.18.0.5:2377
20:06:19 
20:06:19 To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.
20:06:19 
20:06:51 ✓  e2e/cli-plugins (2.836s)
20:06:51 ∅  e2e/cli-plugins/plugins/badmeta
20:06:51 ∅  e2e/cli-plugins/plugins/nopersistentprerun
20:06:52 ✓  e2e/context (46ms)
20:06:53 ✖  e2e/container (4.368s)
20:06:57 ✖  e2e/image (3.984s)
20:06:57 ∅  e2e/internal/fixtures
20:06:57 ✖  e2e/plugin (2.405s)
20:06:57 ∅  e2e/plugin/basic
20:06:58 ✓  e2e/stack (660ms)
20:06:58 ✓  e2e/system (66ms)
20:06:59 ✖  e2e/trust (518ms)
20:06:59 
20:06:59 === Skipped
20:06:59 === SKIP: e2e/cli-plugins TestCLIPluginDialStdio (0.00s)
20:06:59     dial_test.go:16: skipping plugin dial-stdio test since DOCKER_CLI_PLUGIN_USE_DIAL_STDIO is not set
20:06:59 
20:06:59 === SKIP: e2e/image TestBuildIidFileSquash (0.05s)
20:06:59     build_test.go:112: !experimentalBuild: running against a non-experimental daemon
20:06:59 
20:06:59 === SKIP: e2e/stack TestDeployWithNamedResources/Kubernetes (0.00s)
20:06:59     --- SKIP: TestDeployWithNamedResources/Kubernetes (0.00s)
20:06:59         deploy_test.go:22: FIXME(chris-crone): currently does not work with compose for kubernetes.
20:06:59 
20:06:59 === SKIP: e2e/stack TestRemove/Kubernetes (0.00s)
20:06:59     --- SKIP: TestRemove/Kubernetes (0.00s)
20:06:59         remove_test.go:22: !environment.KubernetesEnabled()
20:06:59 
20:06:59 
20:06:59 === Failed
20:06:59 === FAIL: e2e/container TestCreateWithContentTrust (0.32s)
20:06:59     create_test.go:18: assertion failed: 
20:06:59         Command:  docker image push registry:5000/trust-create:latest
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   The push refers to repository [registry:5000/trust-create]
20:06:59         5bef08742407: Preparing
20:06:59         5bef08742407: Mounted from alpine
20:06:59         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
20:06:59         Signing and pushing trust metadata
20:06:59         
20:06:59         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         ExitCode was 1 expected 0
20:06:59         Expected no error
20:06:59 
20:06:59 === FAIL: e2e/container TestTrustedCreateFromUnreachableTrustServer (0.24s)
20:06:59     create_test.go:38: assertion failed: 
20:06:59         Command:  docker image push registry:5000/trust-create:latest
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   The push refers to repository [registry:5000/trust-create]
20:06:59         5bef08742407: Preparing
20:06:59         5bef08742407: Layer already exists
20:06:59         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
20:06:59         Signing and pushing trust metadata
20:06:59         
20:06:59         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         ExitCode was 1 expected 0
20:06:59         Expected no error
20:06:59 
20:06:59 === FAIL: e2e/container TestTrustedCreateFromBadTrustServer (0.22s)
20:06:59     create_test.go:66: assertion failed: 
20:06:59         Command:  docker image push registry:5000/evil-alpine:latest
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   The push refers to repository [registry:5000/evil-alpine]
20:06:59         5bef08742407: Preparing
20:06:59         5bef08742407: Mounted from trust-create
20:06:59         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
20:06:59         Signing and pushing trust metadata
20:06:59         
20:06:59         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         ExitCode was 1 expected 0
20:06:59         Expected no error
20:06:59 
20:06:59 === FAIL: e2e/container TestRunWithContentTrust (0.22s)
20:06:59     run_test.go:36: assertion failed: 
20:06:59         Command:  docker image push registry:5000/trust-run:latest
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   The push refers to repository [registry:5000/trust-run]
20:06:59         5bef08742407: Preparing
20:06:59         5bef08742407: Mounted from trust-create
20:06:59         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
20:06:59         Signing and pushing trust metadata
20:06:59         
20:06:59         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         ExitCode was 1 expected 0
20:06:59         Expected no error
20:06:59 
20:06:59 === FAIL: e2e/image TestTrustedBuild (0.31s)
20:06:59     build_test.go:56: assertion failed: 
20:06:59         Command:  docker image push registry:5000/trust-build1:latest
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   The push refers to repository [registry:5000/trust-build1]
20:06:59         5bef08742407: Preparing
20:06:59         5bef08742407: Mounted from trust-run
20:06:59         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
20:06:59         Signing and pushing trust metadata
20:06:59         
20:06:59         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         ExitCode was 1 expected 0
20:06:59         Expected no error
20:06:59 
20:06:59 === FAIL: e2e/image TestTrustedBuildUntrustedImage (0.14s)
20:06:59     build_test.go:105: assertion failed: 
20:06:59         Command:  docker build -t myimage .
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   Sending build context to Docker daemon 
20:06:59         
20:06:59         
20:06:59         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
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         Expected stderr to contain "does not have trust data for"
20:06:59 
20:06:59 === FAIL: e2e/image TestPullWithContentTrust (0.36s)
20:06:59     pull_test.go:22: assertion failed: 
20:06:59         Command:  docker image push registry:5000/trust-pull:latest
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   The push refers to repository [registry:5000/trust-pull]
20:06:59         5bef08742407: Preparing
20:06:59         5bef08742407: Mounted from trust-build1
20:06:59         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
20:06:59         Signing and pushing trust metadata
20:06:59         
20:06:59         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         ExitCode was 1 expected 0
20:06:59         Expected no error
20:06:59 
20:06:59 === FAIL: e2e/image TestPullWithContentTrustUsesCacheWhenNotaryUnavailable (0.32s)
20:06:59     pull_test.go:49: assertion failed: 
20:06:59         Command:  docker image push registry:5000/trust-pull-unreachable:latest
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   The push refers to repository [registry:5000/trust-pull-unreachable]
20:06:59         5bef08742407: Preparing
20:06:59         5bef08742407: Mounted from trust-pull
20:06:59         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
20:06:59         Signing and pushing trust metadata
20:06:59         
20:06:59         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         ExitCode was 1 expected 0
20:06:59         Expected no error
20:06:59 
20:06:59 === FAIL: e2e/image TestPushWithContentTrust (0.31s)
20:06:59     push_test.go:46: assertion failed: 
20:06:59         Command:  docker push registry:5000/trust-push:latest
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   The push refers to repository [registry:5000/trust-push]
20:06:59         5bef08742407: Preparing
20:06:59         5bef08742407: Mounted from evil-alpine
20:06:59         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
20:06:59         Signing and pushing trust metadata
20:06:59         
20:06:59         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         ExitCode was 1 expected 0
20:06:59         Expected no error
20:06:59 
20:06:59 === FAIL: e2e/image TestPushWithContentTrustExistingTag (0.41s)
20:06:59     push_test.go:92: assertion failed: 
20:06:59         Command:  docker push registry:5000/trust-push-existing:latest
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   The push refers to repository [registry:5000/trust-push-existing]
20:06:59         5bef08742407: Preparing
20:06:59         5bef08742407: Layer already exists
20:06:59         latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
20:06:59         Signing and pushing trust metadata
20:06:59         
20:06:59         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         ExitCode was 1 expected 0
20:06:59         Expected no error
20:06:59 
20:06:59 === FAIL: e2e/image TestPushWithContentTrustReleasesDelegationOnly (0.15s)
20:06:59     push_test.go:344: assertion failed: 
20:06:59         Command:  /usr/local/bin/notary -c /tmp/notary_test-115165786/client-config.json init registry:5000/trust-push-releases-delegation
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   
20:06:59         * fatal: client is offline
20:06:59         
20:06:59         Stderr:   time="2020-04-10T20:06: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"
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         ExitCode was 1 expected 0
20:06:59         Expected no error
20:06:59 
20:06:59 === FAIL: e2e/image TestPushWithContentTrustSignsAllFirstLevelRolesWeHaveKeysFor (0.14s)
20:06:59     push_test.go:344: assertion failed: 
20:06:59         Command:  /usr/local/bin/notary -c /tmp/notary_test-709986123/client-config.json init registry:5000/trust-push-releases-first-roles
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   
20:06:59         * fatal: client is offline
20:06:59         
20:06:59         Stderr:   time="2020-04-10T20:06: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"
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         ExitCode was 1 expected 0
20:06:59         Expected no error
20:06:59 
20:06:59 === FAIL: e2e/image TestPushWithContentTrustSignsForRolesWithKeysAndValidPaths (0.15s)
20:06:59     push_test.go:344: assertion failed: 
20:06:59         Command:  /usr/local/bin/notary -c /tmp/notary_test-162121104/client-config.json init registry:5000/trust-push-releases-keys-valid-paths
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   
20:06:59         * fatal: client is offline
20:06:59         
20:06:59         Stderr:   time="2020-04-10T20:06: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"
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         ExitCode was 1 expected 0
20:06:59         Expected no error
20:06:59 
20:06:59 === FAIL: e2e/plugin TestInstallWithContentTrust (2.22s)
20:06:59     trust_test.go:41: assertion failed: 
20:06:59         Command:  docker plugin push registry:5000/plugin-content-trust
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   The push refers to repository [registry:5000/plugin-content-trust]
20:06:59         8d10bf164a7a: Preparing
20:06:59         8d10bf164a7a: Pushed
20:06:59         latest: digest: sha256:e592b2148bc47f771b9e9adce14330d1067c8687c5f874195fe90fa5c7e646fa size: 518
20:06:59         Signing and pushing trust metadata
20:06:59         
20:06:59         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         ExitCode was 1 expected 0
20:06:59         Expected no error
20:06:59 
20:06:59 === FAIL: e2e/plugin TestInstallWithContentTrustUntrusted (0.18s)
20:06:59     trust_test.go:68: assertion failed: 
20:06:59         Command:  docker plugin install --grant-all-permissions tiborvass/sample-volume-plugin:latest
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   
20:06:59         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         Expected stderr to contain "Error: remote trust data does not exist"
20:06:59 
20:06:59 === FAIL: e2e/trust TestRevokeImage (0.13s)
20:06:59     revoke_test.go:55: assertion failed: 
20:06:59         Command:  docker -D trust sign registry:5000/revoke:v1
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   
20:06:59         Stderr:   time="2020-04-10T20:06:58Z" level=debug msg="reading certificate directory: /tmp/trust_test-426135930/tls/notary-server:4443"
20:06:59         time="2020-04-10T20:06: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"
20:06:59         time="2020-04-10T20:06:58Z" level=debug msg="Making dir path: /tmp/trust_test-426135930/trust/tuf/registry:5000/revoke/changelist"
20:06:59         Error: error contacting notary server: x509: certificate has expired or is not yet valid
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         ExitCode was 1 expected 0
20:06:59         Expected no error
20:06:59 
20:06:59 === FAIL: e2e/trust TestRevokeRepo (0.13s)
20:06:59     revoke_test.go:64: assertion failed: 
20:06:59         Command:  docker -D trust sign registry:5000/revokerepo:v1
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   
20:06:59         Stderr:   time="2020-04-10T20:06:58Z" level=debug msg="reading certificate directory: /tmp/trust_test-282387601/tls/notary-server:4443"
20:06:59         time="2020-04-10T20:06: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"
20:06:59         time="2020-04-10T20:06:58Z" level=debug msg="Making dir path: /tmp/trust_test-282387601/trust/tuf/registry:5000/revokerepo/changelist"
20:06:59         Error: error contacting notary server: x509: certificate has expired or is not yet valid
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         ExitCode was 1 expected 0
20:06:59         Expected no error
20:06:59 
20:06:59 === FAIL: e2e/trust TestSignLocalImage (0.13s)
20:06:59     sign_test.go:32: assertion failed: 
20:06:59         Command:  docker trust sign registry:5000/sign:v1
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   
20:06:59         Stderr:   Error: error contacting notary server: x509: certificate has expired or is not yet valid
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         ExitCode was 1 expected 0
20:06:59         Expected no error
20:06:59 
20:06:59 === FAIL: e2e/trust TestSignWithLocalFlag (0.13s)
20:06:59     sign_test.go:57: assertion failed: 
20:06:59         Command:  docker -D trust sign registry:5000/signlocal:v1
20:06:59         ExitCode: 1
20:06:59         Error:    exit status 1
20:06:59         Stdout:   
20:06:59         Stderr:   time="2020-04-10T20:06:58Z" level=debug msg="reading certificate directory: /tmp/trust_test-078320363/tls/notary-server:4443"
20:06:59         time="2020-04-10T20:06: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"
20:06:59         time="2020-04-10T20:06:58Z" level=debug msg="Making dir path: /tmp/trust_test-078320363/trust/tuf/registry:5000/signlocal/changelist"
20:06:59         Error: error contacting notary server: x509: certificate has expired or is not yet valid
20:06:59         
20:06:59         
20:06:59         Failures:
20:06:59         ExitCode was 1 expected 0
20:06:59         Expected no error
20:06:59 
20:06:59 
20:06:59 DONE 88 tests, 4 skipped, 19 failures in 39.115s
20:06:59 Stopping cliendtoendsuite_evil-notary-server_1 ... 
20:06:59 Stopping cliendtoendsuite_notary-server_1      ... 
20:06:59 Stopping cliendtoendsuite_engine_1             ... 
20:06:59 Stopping cliendtoendsuite_registry_1           ... 
20:07:02 
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_evil-notary-server_1 ... 
20:07:02 Removing cliendtoendsuite_notary-server_1      ... 
20:07:02 Removing cliendtoendsuite_engine_1             ... 
20:07:02 Removing cliendtoendsuite_registry_1           ... 
20:07:02 
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
20:07:02 Removing image cliendtoendsuite_notary-server
20:07:02 Removing image cliendtoendsuite_evil-notary-server
20:07:02 docker.Makefile:148: recipe for target 'test-e2e-non-experimental' failed
20:07: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