Pull request #3128 updated 15:10:45 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from ca391dd5cf2a99e274de6e347bbc12ced0c39986+2ebf5d92aaffb4c336414b218eccf2a4ff22e098 (2b01bd6dbf768bbd4a2779b9e56d53693aef9cbf) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library jps@master Examining docker/jps Attempting to resolve master as a branch Resolved master as branch master at revision 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 The recommended git tool is: NONE using credential jps-reader > git rev-parse --resolve-git-dir /var/cloudbees-jenkins-distribution/workspace/cli_PR-3128@libs/jps/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/docker/jps.git # timeout=10 Fetching without tags Fetching upstream changes from https://github.com/docker/jps.git > git --version # timeout=10 > git --version # 'git version 2.20.1' using GIT_ASKPASS to set credentials GitHub credentials for docker/jps > git fetch --no-tags --force --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master # timeout=10 Checking out Revision 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 # timeout=10 Commit message: "Merge pull request #25 from ingshtrom/in-2733-load-from-file" > git rev-list --no-walk 5d8b74fd03a1c7cc00e1c1f32d100ed97a17f4f0 # timeout=10 Excluding src/test/ from checkout of git https://github.com/docker/jps.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] node Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-03b541c1ff7cbbea6) in /home/ubuntu/workspace/cli_PR-3128 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential docker-jenkins-github-credentials Fetching changes from the remote Git repository Fetching without tags Merging remotes/origin/master commit 2ebf5d92aaffb4c336414b218eccf2a4ff22e098 into PR head commit ca391dd5cf2a99e274de6e347bbc12ced0c39986 Merge succeeded, producing ca391dd5cf2a99e274de6e347bbc12ced0c39986 Checking out Revision ca391dd5cf2a99e274de6e347bbc12ced0c39986 (PR-3128) Commit message: "fail test to view output" > git rev-parse --resolve-git-dir /home/ubuntu/workspace/cli_PR-3128/.git # timeout=10 > git config remote.origin.url https://github.com/docker/cli.git # timeout=10 Fetching upstream changes from https://github.com/docker/cli.git > git --version # timeout=10 > git --version # 'git version 2.17.1' using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/cli.git +refs/pull/3128/head:refs/remotes/origin/PR-3128 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca391dd5cf2a99e274de6e347bbc12ced0c39986 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git merge 2ebf5d92aaffb4c336414b218eccf2a4ff22e098 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca391dd5cf2a99e274de6e347bbc12ced0c39986 # timeout=10 > git rev-list --no-walk 50cbffca6ee3ac96526fb6bb2722c0c1e14769f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timeout Timeout set to expire in 1 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Docker info) [Pipeline] sh + docker version Client: Docker Engine - Community Version: 20.10.6 API version: 1.41 Go version: go1.13.15 Git commit: 370c289 Built: Fri Apr 9 22:46:01 2021 OS/Arch: linux/amd64 Context: default Experimental: true Server: Docker Engine - Community Engine: Version: 20.10.6 API version: 1.41 (minimum version 1.12) Go version: go1.13.15 Git commit: 8728dd2 Built: Fri Apr 9 22:44:13 2021 OS/Arch: linux/amd64 Experimental: true containerd: Version: 1.4.6 GitCommit: d71fcd7d8303cbf684402823e425e9dd2e99285d runc: Version: 1.0.0-rc95 GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7 docker-init: Version: 0.19.0 GitCommit: de40ad0 [Pipeline] sh + docker info Client: Context: default Debug Mode: false Plugins: app: Docker App (Docker Inc., v0.9.1-beta3) buildx: Build with BuildKit (Docker Inc., v0.5.1-docker) scan: Docker Scan (Docker Inc., v0.7.0) Server: Containers: 0 Running: 0 Paused: 0 Stopped: 0 Images: 31 Server Version: 20.10.6 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Native Overlay Diff: true userxattr: false Logging Driver: json-file Cgroup Driver: cgroupfs Cgroup Version: 1 Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog Swarm: inactive Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc Default Runtime: runc Init Binary: docker-init containerd version: d71fcd7d8303cbf684402823e425e9dd2e99285d runc version: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7 init version: de40ad0 Security Options: apparmor seccomp Profile: default Kernel Version: 5.4.0-1048-aws Operating System: Ubuntu 18.04.5 LTS OSType: linux Architecture: x86_64 CPUs: 2 Total Memory: 7.569GiB Name: ip-10-100-42-50 ID: KG52:ONVY:U5MS:VBR3:3V2I:UMRB:NEG5:YUDM:PLPH:2QKQ:N3BG:QG3A Docker Root Dir: /var/lib/docker Debug Mode: false Registry: https://index.docker.io/v1/ Labels: Experimental: true Insecure Registries: 127.0.0.0/8 Live Restore Enabled: true WARNING: No swap limit support [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (e2e (non-experimental) - stable engine) [Pipeline] sh + E2E_UNIQUE_ID=clie2e30 IMAGE_TAG=clie2e30 make -f docker.Makefile test-e2e-non-experimental docker build -t docker-cli-e2eclie2e30 --build-arg=GO_VERSION --build-arg VERSION=20.10.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e . #1 [internal] load build definition from Dockerfile.e2e #1 sha256:4920fd16a8eb26093b3730a4ab09bd286756418d31f0b9769554f4c02d6b42da #1 transferring dockerfile: 42B done #1 DONE 0.0s #2 [internal] load .dockerignore #2 sha256:ab60ce6d60e1842a69fddfd3d4057bc60bf56874d13a4f2bf9c9734c28534ee0 #2 transferring context: 34B done #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/golang:1.13.15-buster #3 sha256:18002fdb0ebc16a609f25586e9ff8f370353d561700dc81af391aa52f6767bf7 #3 DONE 0.1s #4 [ 1/11] FROM docker.io/library/golang:1.13.15-buster@sha256:66a3f6817c129f48c9cc9b96816a1c0b6dcb399393196e3581d9367b55ab29f2 #4 sha256:4a66e7fcfac5fc92db618035154692356dd65f14be90935717f8c30085be66be #4 DONE 0.0s #10 [internal] load build context #10 sha256:52572563f3d57d1cb812312d643c001f04d0b56b48cfb6c9f3b9b16b84f0251b #10 transferring context: 1.03MB 0.2s done #10 DONE 0.2s #5 [ 2/11] RUN apt-get update && apt-get install -y build-essential curl openssl openssh-client && rm -rf /var/lib/apt/lists/* #5 sha256:a6bbd9cc44cb223d0ea3aeac667b2b0ceffe3be129da6ee9a153c965a8a0a97a #5 CACHED #8 [ 5/11] RUN curl -fsSL https://github.com/gotestyourself/gotestsum/releases/download/v0.4.0/gotestsum_0.4.0_linux_amd64.tar.gz -o gotestsum.tar.gz && tar -xf gotestsum.tar.gz gotestsum && mv gotestsum /usr/local/bin/gotestsum && rm gotestsum.tar.gz #8 sha256:5cb77809e0d1ef1bba623b0e7835aef46fc2944d60bce46b18a257dfd47da7fa #8 CACHED #11 [ 7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/notary.cert #11 sha256:f492ea0c0bb7af05d9c608e6797c3c60a65a2b885040a0f55a5cfe31ceadbc2e #11 CACHED #6 [ 3/11] RUN curl -fsSL https://github.com/docker/compose/releases/download/1.29.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose && chmod +x /usr/local/bin/docker-compose #6 sha256:101b536042953adc58810355461070976332f4f63bcf4cca9f0a562c24d7ffd7 #6 CACHED #9 [ 6/11] WORKDIR /go/src/github.com/docker/cli #9 sha256:f2df43820ebbe43c3a9ad0d4c783b06c0f9f134830af73c66e226353d39541f8 #9 CACHED #7 [ 4/11] RUN curl -fsSL https://github.com/theupdateframework/notary/releases/download/v0.6.1/notary-Linux-amd64 -o /usr/local/bin/notary && chmod +x /usr/local/bin/notary #7 sha256:97df1e2dc88bfbceec2b7a3cd39ccfe33089be3f6984a678ac399cd8e5189f9a #7 CACHED #12 [ 8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-certificates #12 sha256:3923c644fb7e998e4beed6ddf7b383cdeb4a075517282599d7031e823d5cc3db #12 CACHED #13 [ 9/11] COPY . . #13 sha256:33180e52b081c9a7d387341ea6fad3446de482e51a441c36e30008e1b411c580 #13 DONE 0.7s #14 [10/11] RUN ./scripts/build/binary #14 sha256:e9409915dec8f9a3f473b4d80906765ab0ba9d0670810d8675a162e4e582e920 #14 0.447 Building static docker-linux-amd64 #14 DONE 73.4s #15 [11/11] RUN ./scripts/build/plugins e2e/cli-plugins/plugins/* #15 sha256:4cf92f7b0c78c30995683637f65ffc16223bf0f68ed9b5c36366789117cf09ce #15 0.555 Building statically linked build/plugins-linux-amd64/docker-helloworld #15 1.842 Building statically linked build/plugins-linux-amd64/docker-badmeta #15 2.949 Building statically linked build/plugins-linux-amd64/docker-nopersistentprerun #15 DONE 4.2s #16 exporting to image #16 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00 #16 exporting layers #16 exporting layers 2.2s done #16 writing image sha256:c6be54f6ed201ae724f4472065687b1e0344a08c6809ada72f8b61e034299cc5 done #16 naming to docker.io/library/docker-cli-e2eclie2e30 done #16 DONE 2.2s docker run --rm --mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock -e VERSION=20.10.0-dev -e GITCOMMIT -e PLATFORM -e TESTFLAGS -e TESTDIRS -e GOOS -e GOARCH -e GOARM -e TEST_ENGINE_VERSION= -e TEST_ENGINE_VERSION= docker-cli-e2eclie2e30 Creating network "cliendtoendsuite_default" with the default driver Building notary-server #1 [internal] load build definition from Dockerfile.notary-server #1 sha256:2e8bccfba041c9d5aa64e7ff2b67d0e40b97939a848c204a5686dc4f7c4d503a #1 transferring dockerfile: 140B done #1 DONE 0.0s #2 [internal] load .dockerignore #2 sha256:4757fbfb45ae4199a2ea3fffdb957573848ecd9840f7d39867b16ea7a6bb924a #2 transferring context: 2B done #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/notary:server-0.5.0 #3 sha256:a1da53cf05b63d7b254e8b6a3d96b994c4ae5f01cb10e10906db53f729e6903e #3 DONE 0.2s #4 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447a9818e7f16d0a02ba1d9905de71e5354bc8ee0017304a244 #4 sha256:cd52ec412b0b1cb53bf96e4160cee4046ce1447da482224a0d115d68a2468239 #4 DONE 0.0s #5 [internal] load build context #5 sha256:b50e5270a746405d4270d9c3629745656c76ce3ec5ab599b37d12e7bed4dfea5 #5 transferring context: 5.70kB done #5 DONE 0.0s #6 [2/2] COPY ./notary/ /fixtures/ #6 sha256:4fab66a86d85d1202dccf81ce6e9cc29903b734afa495a785a41e93b7b14fc0b #6 CACHED #7 exporting to image #7 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00 #7 exporting layers done #7 writing image sha256:eb0a2cfef1bd23f6e56fefec121b582922d7289895fad2be74651ca9f702006c done #7 naming to docker.io/library/cliendtoendsuite_notary-server done #7 DONE 0.0s Building evil-notary-server #1 [internal] load build definition from Dockerfile.evil-notary-server #1 sha256:720120b0aa88ee8e0ba73f957b665d2b54884ec6f776f0234f515d88655a9f38 #1 transferring dockerfile: 150B done #1 DONE 0.0s #2 [internal] load .dockerignore #2 sha256:d08fe5688685c992397b726bf744d05efbe9d24a2245def53f3d8a8dd39892b3 #2 transferring context: 2B done #2 DONE 0.0s #3 [internal] load metadata for docker.io/library/notary:server-0.5.0 #3 sha256:a1da53cf05b63d7b254e8b6a3d96b994c4ae5f01cb10e10906db53f729e6903e #3 DONE 0.1s #4 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447a9818e7f16d0a02ba1d9905de71e5354bc8ee0017304a244 #4 sha256:cd52ec412b0b1cb53bf96e4160cee4046ce1447da482224a0d115d68a2468239 #4 DONE 0.0s #5 [internal] load build context #5 sha256:f4e086bb1f57d272fefbcb148685b9dfd00f748c00a95a3e849ed92017dbfbb2 #5 transferring context: 5.73kB done #5 DONE 0.0s #6 [2/2] COPY ./notary-evil/ /fixtures/ #6 sha256:10dd3c8cc7145d80dad5dcf9c8250b40e92b9e3044c112afec7f5a8caab6b391 #6 CACHED #7 exporting to image #7 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00 #7 exporting layers done #7 writing image sha256:4fb55f3479170378ad1a603ec21c09254589f6c2becca8752e8ded519eac4256 done #7 naming to docker.io/library/cliendtoendsuite_evil-notary-server done #7 DONE 0.0s Creating cliendtoendsuite_evil-notary-server_1 ... Creating cliendtoendsuite_engine_1 ... Creating cliendtoendsuite_notary-server_1 ... Creating cliendtoendsuite_registry_1 ... Creating cliendtoendsuite_notary-server_1 ... done Creating cliendtoendsuite_registry_1 ... done Creating cliendtoendsuite_evil-notary-server_1 ... done Creating cliendtoendsuite_engine_1 ... done Waiting for docker daemon to become available at tcp://192.168.64.5:2375 Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Client: Version: 20.10.0-dev API version: 1.41 Go version: go1.13.15 Git commit: ca391dd5c Built: Fri Jun 11 15:10:50 2021 OS/Arch: linux/amd64 Context: default Experimental: true Server: Docker Engine - Community Engine: Version: 20.10.7 API version: 1.41 (minimum version 1.12) Go version: go1.13.15 Git commit: b0f5bc3 Built: Wed Jun 2 11:55:29 2021 OS/Arch: linux/amd64 Experimental: false containerd: Version: v1.4.6 GitCommit: d71fcd7d8303cbf684402823e425e9dd2e99285d runc: Version: 1.0.0-rc95 GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7 docker-init: Version: 0.19.0 GitCommit: de40ad0 image is: alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d opts.untrusted is: true isCanonical: true docker.io/library/alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d: Pulling from library/alpine 88286f41530e: Pulling fs layer 88286f41530e: Download complete 88286f41530e: Pull complete Digest: sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d Status: Downloaded newer image for alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d docker.io/library/alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d The push refers to repository [registry:5000/alpine] 5bef08742407: Preparing 5bef08742407: Pushed 3.6: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 image is: busybox@sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7 opts.untrusted is: true isCanonical: true docker.io/library/busybox@sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7: Pulling from library/busybox 03b1be98f3f9: Pulling fs layer 03b1be98f3f9: Verifying Checksum 03b1be98f3f9: Download complete 03b1be98f3f9: Pull complete Digest: sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7 Status: Downloaded newer image for busybox@sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7 docker.io/library/busybox@sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7 The push refers to repository [registry:5000/busybox] 6a749002dd6a: Preparing 6a749002dd6a: Pushed 1.27.2: digest: sha256:030fcb92e1487b18c974784dcc110a93147c9fc402188370fbfd17efabffc6af size: 527 Swarm initialized: current node (j2cbivjmcjeo9r2flmstzvdhw) is now a manager. To add a worker to this swarm, run the following command: docker swarm join --token SWMTKN-1-2goxd7nxifz6q4dj9vlkavz7iqykse8m0jtz3rf0rbzpfr4b00-4u2dpxqvo8bz2c2nvxkik1lsr 192.168.64.5:2377 To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions. [32m✓[0m e2e/cli-plugins (2.796s) [33m∅[0m e2e/cli-plugins/plugins/badmeta [33m∅[0m e2e/cli-plugins/plugins/nopersistentprerun [32m✓[0m e2e/context (203ms) [32m✓[0m e2e/global (104ms) [32m✓[0m e2e/container (11.444s) [31m✖[0m e2e/plugin (2.79s) [31m✖[0m e2e/image (1m11.242s) [33m∅[0m e2e/internal/fixtures [33m∅[0m e2e/plugin/basic [31m✖[0m e2e/stack (1m5.89s) [31m✖[0m e2e/system (8.869s) [31m✖[0m e2e/trust (36.479s) === [33mSkipped[0m === [33mSKIP[0m: e2e/cli-plugins TestCLIPluginDialStdio (0.00s) dial_test.go:16: skipping plugin dial-stdio test since DOCKER_CLI_PLUGIN_USE_DIAL_STDIO is not set === [33mSKIP[0m: e2e/container TestRunWithCgroupNamespace (0.10s) run_test.go:141: !cgroupNsFound: running against a daemon that doesn't support cgroup namespaces (security options: [name=apparmor name=seccomp,profile=default] ) === [33mSKIP[0m: e2e/image TestBuildIidFileSquash (0.04s) build_test.go:112: !experimentalBuild: running against a non-experimental daemon === [33mSKIP[0m: e2e/stack TestDeployWithNamedResources/Kubernetes (0.00s) --- SKIP: TestDeployWithNamedResources/Kubernetes (0.00s) deploy_test.go:22: FIXME(chris-crone): currently does not work with compose for kubernetes. === [33mSKIP[0m: e2e/stack TestRemove/Kubernetes (0.00s) --- SKIP: TestRemove/Kubernetes (0.00s) remove_test.go:22: !environment.KubernetesEnabled() === [31mFailed[0m === [31mFAIL[0m: e2e/image TestPullWithContentTrust (0.96s) ENV [TEST_DOCKER_HOST=tcp://192.168.64.5:2375 TEST_DOCKER_CERT_PATH= TEST_KUBECONFIG= TEST_REMOTE_DAEMON= TEST_SKIP_PLUGIN_TESTS= GOPATH=/go PATH=/go/src/github.com/docker/cli/build/:/usr/bin:/usr/local/bin:/usr/local/go/bin HOME=/root DOCKER_CLI_E2E_PLUGINS_EXTRA_DIRS=/go/src/github.com/docker/cli/build/plugins-linux-amd64 PWD=/go/src/github.com/docker/cli/e2e/image DOCKER_HOST=tcp://192.168.64.5:2375 DOCKER_CONFIG=/tmp/trust_test-370747375 DOCKER_CONTENT_TRUST=1 DOCKER_CONTENT_TRUST_SERVER=https://notary-server:4443] PATH /go/src/github.com/docker/cli/build/docker DIR ARGS [docker pull registry:5000/trust-pull:latest] OUTPUT: Pull (1 of 1): registry:5000/trust-pull:latest@sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d registry:5000/trust-pull@sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d: Pulling from trust-pull Digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d Status: Downloaded newer image for registry:5000/trust-pull@sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d registry:5000/trust-pull:latest image is: registry:5000/trust-pull:latest opts.untrusted is: false isCanonical: false DOING TRUSTED PULL: {registry:5000/trust-pull:latest 0xc00014f490 {{registry:5000 trust-pull} latest} 0xc0005a0750 latest }, {registry:5000/trust-pull:latest false false false} Tagging registry:5000/trust-pull@sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d as registry:5000/trust-pull:latest pull_test.go:41: assertion failed: --- expected +++ actual @@ -1,4 +1,4 @@ Pull (1 of 1): registry:5000/trust-pull:latest@sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d -sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d: Pulling from trust-pull +registry:5000/trust-pull@sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d: Pulling from trust-pull Digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d Status: Downloaded newer image for registry:5000/trust-pull@sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d You can run 'go test . -test.update-golden' to automatically update testdata/pull-with-content-trust.golden to the new expected value.' === [31mFAIL[0m: e2e/image TestPullQuiet (0.05s) pull_test.go:49: assertion failed: --- ← +++ → @@ -1,4 +1 @@ -image is: registry:5000/alpine:3.6 -opts.untrusted is: true -isCanonical: false === [31mFAIL[0m: e2e/image TestPushWithContentTrustSignsAllFirstLevelRolesWeHaveKeysFor (51.57s) push_test.go:216: assertion failed: Command: docker pull registry:5000/alpine:3.6 ExitCode: 1 Error: exit status 1 Stdout: Stderr: image is: registry:5000/alpine:3.6 opts.untrusted is: true isCanonical: false error during connect: Post http://192.168.64.5:2375/v1.24/images/create?fromImage=registry%3A5000%2Falpine&tag=3.6: dial tcp 192.168.64.5:2375: connect: no route to host Failures: ExitCode was 1 expected 0 Expected no error === [31mFAIL[0m: e2e/image TestPushWithContentTrustSignsForRolesWithKeysAndValidPaths (9.22s) push_test.go:283: assertion failed: Command: docker pull registry:5000/alpine:3.6 ExitCode: 1 Error: exit status 1 Stdout: Stderr: image is: registry:5000/alpine:3.6 opts.untrusted is: true isCanonical: false error during connect: Post http://192.168.64.5:2375/v1.24/images/create?fromImage=registry%3A5000%2Falpine&tag=3.6: dial tcp 192.168.64.5:2375: connect: no route to host Failures: ExitCode was 1 expected 0 Expected no error === [31mFAIL[0m: e2e/plugin TestInstallWithContentTrust (2.57s) trust_test.go:52: assertion failed: Command: docker plugin install --grant-all-permissions registry:5000/plugin-content-trust ExitCode: 1 Error: exit status 1 Stdout: Stderr: Cannot connect to the Docker daemon at tcp://192.168.64.5:2375. Is the docker daemon running? Failures: ExitCode was 1 expected 0 Expected stdout to contain "Status: Downloaded newer image for registry:5000/plugin-content-trust@sha" Expected no error === [31mFAIL[0m: e2e/stack TestDeployWithNamedResources/Swarm (53.60s) --- FAIL: TestDeployWithNamedResources/Swarm (53.60s) deploy_test.go:38: assertion failed: Command: docker stack deploy -c testdata/stack-with-named-resources.yml test-stack-deploy-with-names-swarm --orchestrator swarm ExitCode: 1 Error: exit status 1 Stdout: Stderr: error during connect: Get http://192.168.64.5:2375/v1.24/info: dial tcp 192.168.64.5:2375: connect: no route to host Failures: ExitCode was 1 expected 0 Expected no error === [31mFAIL[0m: e2e/stack TestDeployWithNamedResources (53.60s) === [31mFAIL[0m: e2e/stack TestRemove/Swarm (8.24s) --- FAIL: TestRemove/Swarm (8.24s) remove_test.go:43: assertion failed: Command: docker stack deploy --compose-file=./testdata/full-stack.yml test-stack-remove-swarm --orchestrator swarm ExitCode: 1 Error: exit status 1 Stdout: Stderr: error during connect: Get http://192.168.64.5:2375/v1.24/info: dial tcp 192.168.64.5:2375: connect: no route to host Failures: ExitCode was 1 expected 0 Expected no error === [31mFAIL[0m: e2e/stack TestRemove (8.25s) === [31mFAIL[0m: e2e/system TestInspectInvalidReference (8.87s) inspect_test.go:13: assertion failed: Command: docker inspect FooBar ExitCode: 1 Error: exit status 1 Stdout: [] Stderr: error during connect: Get http://192.168.64.5:2375/v1.24/containers/FooBar/json: dial tcp 192.168.64.5:2375: connect: no route to host Failures: Expected stderr to contain "Error: No such object: FooBar" === [31mFAIL[0m: e2e/trust TestRevokeImage (8.83s) revoke_test.go:50: assertion failed: Command: docker pull registry:5000/alpine:3.6 ExitCode: 1 Error: exit status 1 Stdout: Stderr: image is: registry:5000/alpine:3.6 opts.untrusted is: true isCanonical: false error during connect: Post http://192.168.64.5:2375/v1.24/images/create?fromImage=registry%3A5000%2Falpine&tag=3.6: dial tcp 192.168.64.5:2375: connect: no route to host Failures: ExitCode was 1 expected 0 Expected no error === [31mFAIL[0m: e2e/trust TestRevokeRepo (9.22s) revoke_test.go:59: assertion failed: Command: docker pull registry:5000/alpine:3.6 ExitCode: 1 Error: exit status 1 Stdout: Stderr: image is: registry:5000/alpine:3.6 opts.untrusted is: true isCanonical: false error during connect: Post http://192.168.64.5:2375/v1.24/images/create?fromImage=registry%3A5000%2Falpine&tag=3.6: dial tcp 192.168.64.5:2375: connect: no route to host Failures: ExitCode was 1 expected 0 Expected no error === [31mFAIL[0m: e2e/trust TestSignLocalImage (9.22s) sign_test.go:26: assertion failed: Command: docker pull registry:5000/alpine:3.6 ExitCode: 1 Error: exit status 1 Stdout: Stderr: image is: registry:5000/alpine:3.6 opts.untrusted is: true isCanonical: false error during connect: Post http://192.168.64.5:2375/v1.24/images/create?fromImage=registry%3A5000%2Falpine&tag=3.6: dial tcp 192.168.64.5:2375: connect: no route to host Failures: ExitCode was 1 expected 0 Expected no error === [31mFAIL[0m: e2e/trust TestSignWithLocalFlag (9.22s) sign_test.go:51: assertion failed: Command: docker pull registry:5000/alpine:3.6 ExitCode: 1 Error: exit status 1 Stdout: Stderr: image is: registry:5000/alpine:3.6 opts.untrusted is: true isCanonical: false error during connect: Post http://192.168.64.5:2375/v1.24/images/create?fromImage=registry%3A5000%2Falpine&tag=3.6: dial tcp 192.168.64.5:2375: connect: no route to host Failures: ExitCode was 1 expected 0 Expected no error DONE 96 tests, 5 skipped, 14 failures in 133.557s Stopping cliendtoendsuite_registry_1 ... Stopping cliendtoendsuite_notary-server_1 ... Stopping cliendtoendsuite_evil-notary-server_1 ... Stopping cliendtoendsuite_evil-notary-server_1 ... done Stopping cliendtoendsuite_registry_1 ... done Stopping cliendtoendsuite_notary-server_1 ... done Removing cliendtoendsuite_registry_1 ... Removing cliendtoendsuite_engine_1 ... Removing cliendtoendsuite_notary-server_1 ... Removing cliendtoendsuite_evil-notary-server_1 ... 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 Removing image cliendtoendsuite_notary-server Removing image cliendtoendsuite_evil-notary-server docker.Makefile:135: recipe for target 'test-e2e-non-experimental' failed make: *** [test-e2e-non-experimental] Error 1 [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (e2e (non-experimental) - 19.03 engine) Stage "e2e (non-experimental) - 19.03 engine" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (e2e (experimental)) Stage "e2e (experimental)" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (e2e (ssh connhelper)) Stage "e2e (ssh connhelper)" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [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