Pull request #3128 updated Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 5d94f105ddc53fdf0c290c2461aa8d60ca8616ae+2ebf5d92aaffb4c336414b218eccf2a4ff22e098 (d89c40a9c203c3b48518bd46edb0248c54075215) 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 5d94f105ddc53fdf0c290c2461aa8d60ca8616ae Merge succeeded, producing 5d94f105ddc53fdf0c290c2461aa8d60ca8616ae Checking out Revision 5d94f105ddc53fdf0c290c2461aa8d60ca8616ae (PR-3128) Commit message: "OK OK, got it" > 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 5d94f105ddc53fdf0c290c2461aa8d60ca8616ae # 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 5d94f105ddc53fdf0c290c2461aa8d60ca8616ae # timeout=10 > git rev-list --no-walk 91d1e1d37d26156c49d436ca5c95cb17eeaefb4b # 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: 14 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=clie2e18 IMAGE_TAG=clie2e18 make -f docker.Makefile test-e2e-non-experimental docker build -t docker-cli-e2eclie2e18 --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:3f1c1c99a654cce262cfec3e5e101a53902d141c059e1c20d15db785596b8a7c #1 transferring dockerfile: 42B done #1 DONE 0.0s #2 [internal] load .dockerignore #2 sha256:463e3689b94521c7f677b2d71afc6c0a53ea6074865d89e4efadcf4dfc69ef4f #2 transferring context: 34B 0.0s 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:d19f3d7bf4b8b7744aa20b6a921aaeef8576a3cfd41f1c0ff7faf734b8cd1e35 #10 transferring context: 1.02MB 0.5s done #10 DONE 0.5s #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 #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 #9 [ 6/11] WORKDIR /go/src/github.com/docker/cli #9 sha256:f2df43820ebbe43c3a9ad0d4c783b06c0f9f134830af73c66e226353d39541f8 #9 CACHED #11 [ 7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/notary.cert #11 sha256:320f109b9462d871075d000c44e3a6691f570790021d8db613f2e98ebd0e605d #11 CACHED #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 #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 #12 [ 8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-certificates #12 sha256:636ad295b85264e3aabf91e26e9473404d190c5ae5845dc54a81e1414fae4353 #12 CACHED #13 [ 9/11] COPY . . #13 sha256:09b933dce36c1aab034f13af3ba2fce0674b6808b1211661807e013c9ccc99a9 #13 DONE 0.7s #14 [10/11] RUN ./scripts/build/binary #14 sha256:b6a2b98bd588427999cc76e65e9203577b3d7753e0311454d3a7e5fd18a6ed81 #14 0.454 Building static docker-linux-amd64 #14 DONE 73.0s #15 [11/11] RUN ./scripts/build/plugins e2e/cli-plugins/plugins/* #15 sha256:013c9eb61ab2a19bd20059378af24037710f910e13994a938fd2204097a6466f #15 0.523 Building statically linked build/plugins-linux-amd64/docker-helloworld #15 1.860 Building statically linked build/plugins-linux-amd64/docker-badmeta #15 2.942 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.3s done #16 writing image sha256:f066b63c675824ae79d492ad32f3b09927e15e6a546ea65ad900c3ebdb3ff15a done #16 naming to docker.io/library/docker-cli-e2eclie2e18 done #16 DONE 2.3s 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-e2eclie2e18 Creating network "cliendtoendsuite_default" with the default driver Building notary-server DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker #1 [internal] load build definition from Dockerfile.notary-server #1 sha256:e74e13bd906d12ad6febd472432cd5c4aeea0c30871440b28455ae9dc15d868a #1 transferring dockerfile: 140B done #1 DONE 0.0s #2 [internal] load .dockerignore #2 sha256:87a75b9e1b43dee21178fa23f5dfd5a1f6c3791ceb234537bed3e9856b34535e #2 transferring context: 2B done #2 DONE 0.1s #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:6584cbdc3a3e0f9df48f0f139d7db7eaf86953e8f4f1e14b601c49fd09927985 #5 transferring context: 5.70kB done #5 DONE 0.0s #6 [2/2] COPY ./notary/ /fixtures/ #6 sha256:8f4a2af12a6380bba7047bcd836402aebc1a0b35bd419c8c299a9a41aaf24505 #6 CACHED #7 exporting to image #7 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00 #7 exporting layers done #7 writing image sha256:eb0a2cfef1bd23f6e56fefec121b582922d7289895fad2be74651ca9f702006c #7 writing image sha256:eb0a2cfef1bd23f6e56fefec121b582922d7289895fad2be74651ca9f702006c done #7 naming to docker.io/library/cliendtoendsuite_notary-server done #7 DONE 0.0s Building evil-notary-server DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker #1 [internal] load build definition from Dockerfile.evil-notary-server #1 sha256:545c3159cd388b156d9e085987397c0153560ab4e049ee37b8f4b6a261810bb4 #1 transferring dockerfile: 150B done #1 DONE 0.0s #2 [internal] load .dockerignore #2 sha256:f60d5d4254ed6ba00f88287f08a7ac24391ef1d31b2378b30418e9d371411bd7 #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 #6 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447a9818e7f16d0a02ba1d9905de71e5354bc8ee0017304a244 #6 sha256:cd52ec412b0b1cb53bf96e4160cee4046ce1447da482224a0d115d68a2468239 #6 DONE 0.0s #5 [internal] load build context #5 sha256:a4ff4e0dcf51f4ccb960baecff322f17dfaa89481f073070297b0eef29dc4c97 #5 transferring context: 5.73kB done #5 DONE 0.0s #4 [2/2] COPY ./notary-evil/ /fixtures/ #4 sha256:9ec7aec0cae4c612fc8d0a836baa03bb26756624f3d8277034c084e2309401b0 #4 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_notary-server_1 ... Creating cliendtoendsuite_registry_1 ... Creating cliendtoendsuite_engine_1 ... Creating cliendtoendsuite_evil-notary-server_1 ... Creating cliendtoendsuite_engine_1 ... done Creating cliendtoendsuite_registry_1 ... done Creating cliendtoendsuite_notary-server_1 ... done Creating cliendtoendsuite_evil-notary-server_1 ... done DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Waiting for docker daemon to become available at tcp://172.24.0.2:2375 DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Client: Version: 20.10.0-dev API version: 1.41 Go version: go1.13.15 Git commit: 5d94f105d Built: Fri Jun 11 11:53:14 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 DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker docker.io/library/alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d: Pulling from library/alpine 88286f41530e: Pulling fs layer 88286f41530e: Verifying Checksum 88286f41530e: Download complete 88286f41530e: Pull complete Digest: sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d Status: Downloaded newer image for alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d docker.io/library/alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker The push refers to repository [registry:5000/alpine] 5bef08742407: Preparing 5bef08742407: Pushed 3.6: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker 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 DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker The push refers to repository [registry:5000/busybox] 6a749002dd6a: Preparing 6a749002dd6a: Pushed 1.27.2: digest: sha256:030fcb92e1487b18c974784dcc110a93147c9fc402188370fbfd17efabffc6af size: 527 DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Swarm initialized: current node (lpfkr95k8k9tm4uaze5kht2ii) is now a manager. To add a worker to this swarm, run the following command: docker swarm join --token SWMTKN-1-5wl1u2ly12s6z9d4qteja70ns2iwv5y5tsl8fvyr4yh14dttfx-4et3b1c49g7e0bihml28gg8s9 172.24.0.2:2377 To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions. ✖ e2e/cli-plugins (2.444s) ∅ e2e/cli-plugins/plugins/badmeta ∅ e2e/cli-plugins/plugins/nopersistentprerun ✖ e2e/context (207ms) ✓ e2e/global (129ms) ✖ e2e/container (11.345s) ✖ e2e/plugin (2.735s) ✖ e2e/stack (1m14.043s) ✖ e2e/image (1m25.681s) ∅ e2e/internal/fixtures ∅ e2e/plugin/basic ✖ e2e/system (8.673s) ✖ e2e/trust (36.253s) === Skipped === SKIP: 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 === SKIP: 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. === SKIP: e2e/stack TestRemove/Kubernetes (0.00s) --- SKIP: TestRemove/Kubernetes (0.00s) remove_test.go:22: !environment.KubernetesEnabled() === Failed === FAIL: e2e/cli-plugins TestClashWithGlobalArgs/short-with-val (0.08s) --- FAIL: TestClashWithGlobalArgs/short-with-val (0.08s) flags_test.go:61: assertion failed: Command: docker --config /tmp/plugin-test-086159832 helloworld -c Christmas ExitCode: 0 Stdout: Merry Christmas! Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/cli-plugins TestClashWithGlobalArgs/short-with-val#01 (0.10s) --- FAIL: TestClashWithGlobalArgs/short-with-val#01 (0.10s) flags_test.go:61: assertion failed: Command: docker --config /tmp/plugin-test-086159832 helloworld --context Christmas ExitCode: 0 Stdout: Merry Christmas! Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/cli-plugins TestClashWithGlobalArgs (0.32s) === FAIL: e2e/cli-plugins TestGlobalArgsOnlyParsedOnce/builtin (0.07s) --- FAIL: TestGlobalArgsOnlyParsedOnce/builtin (0.07s) flags_test.go:115: assertion failed: Command: docker --config /tmp/plugin-test-703351127 -H tcp://172.24.0.2:2375 version -f {{.Client.Version}} ExitCode: 0 Stdout: 20.10.0-dev Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/cli-plugins TestGlobalArgsOnlyParsedOnce/plugin (0.08s) --- FAIL: TestGlobalArgsOnlyParsedOnce/plugin (0.08s) flags_test.go:115: assertion failed: Command: docker --config /tmp/plugin-test-703351127 -H tcp://172.24.0.2:2375 helloworld apiversion ExitCode: 0 Stdout: 1.41 Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/cli-plugins TestGlobalArgsOnlyParsedOnce (0.21s) === FAIL: e2e/cli-plugins TestCliPluginsVersion/global-version (0.05s) --- FAIL: TestCliPluginsVersion/global-version (0.05s) flags_test.go:251: assertion failed: Command: docker --config /tmp/plugin-test-833016737 version ExitCode: 0 Stdout: Client: Version: 20.10.0-dev API version: 1.41 Go version: go1.13.15 Git commit: 5d94f105d Built: Fri Jun 11 11:53:14 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 Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/cli-plugins TestCliPluginsVersion/global-version-flag (0.05s) --- FAIL: TestCliPluginsVersion/global-version-flag (0.05s) flags_test.go:251: assertion failed: Command: docker --config /tmp/plugin-test-833016737 --version ExitCode: 0 Stdout: Docker version 20.10.0-dev, build 5d94f105d Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/cli-plugins TestCliPluginsVersion/global-short-version-flag (0.04s) --- FAIL: TestCliPluginsVersion/global-short-version-flag (0.04s) flags_test.go:251: assertion failed: Command: docker --config /tmp/plugin-test-833016737 -v ExitCode: 0 Stdout: Docker version 20.10.0-dev, build 5d94f105d Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/cli-plugins TestCliPluginsVersion/global-version-flag-with-unknown-arg (0.03s) --- FAIL: TestCliPluginsVersion/global-version-flag-with-unknown-arg (0.03s) flags_test.go:251: assertion failed: Command: docker --config /tmp/plugin-test-833016737 --version foo ExitCode: 0 Stdout: Docker version 20.10.0-dev, build 5d94f105d Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/cli-plugins TestCliPluginsVersion/global-short-version-flag-with-unknown-arg (0.03s) --- FAIL: TestCliPluginsVersion/global-short-version-flag-with-unknown-arg (0.03s) flags_test.go:251: assertion failed: Command: docker --config /tmp/plugin-test-833016737 -v foo ExitCode: 0 Stdout: Docker version 20.10.0-dev, build 5d94f105d Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/cli-plugins TestCliPluginsVersion/plugin-with-version (0.06s) --- FAIL: TestCliPluginsVersion/plugin-with-version (0.06s) flags_test.go:251: assertion failed: Command: docker --config /tmp/plugin-test-833016737 helloworld version ExitCode: 0 Stdout: Hello World! Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/cli-plugins TestCliPluginsVersion (0.60s) === FAIL: e2e/cli-plugins TestGlobalHelp (0.06s) help_test.go:23: assertion failed: --- ← +++ → @@ -1,3 +1 @@ -DOCKER_CONFIG: -USING FALLBACK TO DEFAULT: /root/.docker === FAIL: e2e/cli-plugins TestRunNonexisting (0.04s) run_test.go:24: assertion failed: --- expected +++ actual @@ -1,2 +1,4 @@ +DOCKER_CONFIG: +USING FALLBACK TO DEFAULT: /root/.docker docker: 'nonexistent' is not a docker command. See 'docker --help' You can run 'go test . -test.update-golden' to automatically update testdata/docker-nonexistent-err.golden to the new expected value.' === FAIL: e2e/cli-plugins TestHelpNonexisting (0.04s) run_test.go:37: assertion failed: --- expected +++ actual @@ -1,2 +1,4 @@ +DOCKER_CONFIG: +USING FALLBACK TO DEFAULT: /root/.docker unknown help topic: nonexistent You can run 'go test . -test.update-golden' to automatically update testdata/docker-help-nonexistent-err.golden to the new expected value.' === FAIL: e2e/cli-plugins TestNonexistingHelp (0.06s) run_test.go:47: assertion failed: Command: docker --config /tmp/plugin-test-193812581 nonexistent --help ExitCode: 0 Stdout: Usage: docker [OPTIONS] COMMAND A self-sufficient runtime for containers Options: --config string Location of client config files (default "/root/.docker") -c, --context string Name of the context to use to connect to the daemon (overrides DOCKER_HOST env var and default context set with "docker context use") -D, --debug Enable debug mode -H, --host list Daemon socket(s) to connect to -l, --log-level string Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info") --tls Use TLS; implied by --tlsverify --tlscacert string Trust certs signed only by this CA (default "/root/.docker/ca.pem") --tlscert string Path to TLS certificate file (default "/root/.docker/cert.pem") --tlskey string Path to TLS key file (default "/root/.docker/key.pem") --tlsverify Use TLS and verify the remote -v, --version Print version information and quit Management Commands: builder Manage builds config Manage Docker configs container Manage containers context Manage contexts helloworld* A basic Hello World plugin for tests (Docker Inc., testing) image Manage images manifest Manage Docker image manifests and manifest lists network Manage networks node Manage Swarm nodes nopersistentprerun*Testing without PersistentPreRun hooks (Docker Inc., testing) plugin Manage plugins secret Manage Docker secrets service Manage services stack Manage Docker stacks swarm Manage Swarm system Manage Docker trust Manage trust on Docker images volume Manage volumes Commands: attach Attach local standard input, output, and error streams to a running container build Build an image from a Dockerfile commit Create a new image from a container's changes cp Copy files/folders between a container and the local filesystem create Create a new container diff Inspect changes to files or directories on a container's filesystem events Get real time events from the server exec Run a command in a running container export Export a container's filesystem as a tar archive history Show the history of an image images List images import Import the contents from a tarball to create a filesystem image info Display system-wide information inspect Return low-level information on Docker objects kill Kill one or more running containers load Load an image from a tar archive or STDIN login Log in to a Docker registry logout Log out from a Docker registry logs Fetch the logs of a container pause Pause all processes within one or more containers port List port mappings or a specific mapping for the container ps List containers pull Pull an image or a repository from a registry push Push an image or a repository to a registry rename Rename a container restart Restart one or more containers rm Remove one or more containers rmi Remove one or more images run Run a command in a new container save Save one or more images to a tar archive (streamed to STDOUT by default) search Search the Docker Hub for images start Start one or more stopped containers stats Display a live stream of container(s) resource usage statistics stop Stop one or more running containers tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE top Display the running processes of a container unpause Unpause all processes within one or more containers update Update configuration of one or more containers version Show the Docker version information wait Block until one or more containers stop, then print their exit codes Invalid Plugins: badmeta invalid metadata: invalid character 'i' looking for beginning of object key string Run 'docker COMMAND --help' for more information on a command. To get more help with docker, check out our guides at https://docs.docker.com/go/guides/ Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/cli-plugins TestRunBad (0.05s) run_test.go:76: assertion failed: --- expected +++ actual @@ -1,2 +1,4 @@ +DOCKER_CONFIG: +USING FALLBACK TO DEFAULT: /root/.docker docker: 'badmeta' is not a docker command. See 'docker --help' You can run 'go test . -test.update-golden' to automatically update testdata/docker-badmeta-err.golden to the new expected value.' === FAIL: e2e/cli-plugins TestHelpBad (0.05s) run_test.go:89: assertion failed: --- expected +++ actual @@ -1,2 +1,4 @@ +DOCKER_CONFIG: +USING FALLBACK TO DEFAULT: /root/.docker unknown help topic: badmeta You can run 'go test . -test.update-golden' to automatically update testdata/docker-help-badmeta-err.golden to the new expected value.' === FAIL: e2e/cli-plugins TestBadHelp (0.08s) run_test.go:99: assertion failed: Command: docker --config /tmp/plugin-test-430589874 badmeta --help ExitCode: 0 Stdout: Usage: docker [OPTIONS] COMMAND A self-sufficient runtime for containers Options: --config string Location of client config files (default "/root/.docker") -c, --context string Name of the context to use to connect to the daemon (overrides DOCKER_HOST env var and default context set with "docker context use") -D, --debug Enable debug mode -H, --host list Daemon socket(s) to connect to -l, --log-level string Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info") --tls Use TLS; implied by --tlsverify --tlscacert string Trust certs signed only by this CA (default "/root/.docker/ca.pem") --tlscert string Path to TLS certificate file (default "/root/.docker/cert.pem") --tlskey string Path to TLS key file (default "/root/.docker/key.pem") --tlsverify Use TLS and verify the remote -v, --version Print version information and quit Management Commands: builder Manage builds config Manage Docker configs container Manage containers context Manage contexts helloworld* A basic Hello World plugin for tests (Docker Inc., testing) image Manage images manifest Manage Docker image manifests and manifest lists network Manage networks node Manage Swarm nodes nopersistentprerun*Testing without PersistentPreRun hooks (Docker Inc., testing) plugin Manage plugins secret Manage Docker secrets service Manage services stack Manage Docker stacks swarm Manage Swarm system Manage Docker trust Manage trust on Docker images volume Manage volumes Commands: attach Attach local standard input, output, and error streams to a running container build Build an image from a Dockerfile commit Create a new image from a container's changes cp Copy files/folders between a container and the local filesystem create Create a new container diff Inspect changes to files or directories on a container's filesystem events Get real time events from the server exec Run a command in a running container export Export a container's filesystem as a tar archive history Show the history of an image images List images import Import the contents from a tarball to create a filesystem image info Display system-wide information inspect Return low-level information on Docker objects kill Kill one or more running containers load Load an image from a tar archive or STDIN login Log in to a Docker registry logout Log out from a Docker registry logs Fetch the logs of a container pause Pause all processes within one or more containers port List port mappings or a specific mapping for the container ps List containers pull Pull an image or a repository from a registry push Push an image or a repository to a registry rename Rename a container restart Restart one or more containers rm Remove one or more containers rmi Remove one or more images run Run a command in a new container save Save one or more images to a tar archive (streamed to STDOUT by default) search Search the Docker Hub for images start Start one or more stopped containers stats Display a live stream of container(s) resource usage statistics stop Stop one or more running containers tag Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE top Display the running processes of a container unpause Unpause all processes within one or more containers update Update configuration of one or more containers version Show the Docker version information wait Block until one or more containers stop, then print their exit codes Invalid Plugins: badmeta invalid metadata: invalid character 'i' looking for beginning of object key string Run 'docker COMMAND --help' for more information on a command. To get more help with docker, check out our guides at https://docs.docker.com/go/guides/ Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/cli-plugins TestRunGood (0.05s) run_test.go:124: assertion failed: Command: docker --config /tmp/plugin-test-495937385 helloworld ExitCode: 0 Stdout: Hello World! Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/cli-plugins TestHelpGood (0.06s) run_test.go:139: assertion failed: Command: docker --config /tmp/plugin-test-093980084 -l info help helloworld ExitCode: 0 Stdout: Usage: docker helloworld [OPTIONS] COMMAND A basic Hello World plugin for tests Options: -c, --context string Is it Christmas? -D, --debug Enable debug --pre-run Log from prerun hook --who string Who are we addressing? Commands: apiversion Print the API version of the server exitstatus2 Exit with status 2 goodbye Say Goodbye instead of Hello Run 'docker helloworld COMMAND --help' for more information on a command. Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/cli-plugins TestGoodHelp (0.05s) run_test.go:154: assertion failed: Command: docker --config /tmp/plugin-test-748870019 -l info helloworld --help ExitCode: 0 Stdout: Usage: docker helloworld [OPTIONS] COMMAND A basic Hello World plugin for tests Options: -c, --context string Is it Christmas? -D, --debug Enable debug --pre-run Log from prerun hook --who string Who are we addressing? Commands: apiversion Print the API version of the server exitstatus2 Exit with status 2 goodbye Say Goodbye instead of Hello Run 'docker helloworld COMMAND --help' for more information on a command. Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/cli-plugins TestRunGoodSubcommand (0.06s) run_test.go:177: assertion failed: Command: docker --config /tmp/plugin-test-912365830 helloworld goodbye ExitCode: 0 Stdout: Goodbye World! Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/cli-plugins TestHelpGoodSubcommand (0.04s) run_test.go:192: assertion failed: Command: docker --config /tmp/plugin-test-469426861 -l info help helloworld goodbye ExitCode: 0 Stdout: Usage: docker helloworld goodbye Say Goodbye instead of Hello Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/cli-plugins TestGoodSubcommandHelp (0.06s) run_test.go:207: assertion failed: Command: docker --config /tmp/plugin-test-244450856 -l info helloworld goodbye --help ExitCode: 0 Stdout: Usage: docker helloworld goodbye Say Goodbye instead of Hello Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/cli-plugins TestCliInitialized/withhook (0.07s) --- FAIL: TestCliInitialized/withhook (0.07s) run_test.go:227: assertion failed: --- ← +++ → @@ -1,5 +1 @@ -DOCKER_CONFIG: -USING FALLBACK TO DEFAULT: /root/.docker -DOCKER_CONFIG: -USING FALLBACK TO DEFAULT: /root/.docker Plugin PersistentPreRunE called === FAIL: e2e/cli-plugins TestCliInitialized (0.13s) === FAIL: e2e/container TestRunAttachedFromRemoteImageAndRemove (1.16s) run_test.go:28: assertion failed: --- expected +++ actual @@ -1,2 +1,4 @@ +DOCKER_CONFIG: +USING FALLBACK TO DEFAULT: /root/.docker Unable to find image 'registry:5000/alpine:test-run-pulls' locally test-run-pulls: Pulling from alpine You can run 'go test . -test.update-golden' to automatically update testdata/run-attached-from-remote-and-remove.golden to the new expected value.' === FAIL: e2e/container TestRunWithCgroupNamespace (0.05s) run_test.go:140: assertion failed: Command: docker info --format {{.OSType}} ExitCode: 0 Stdout: linux Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/context TestContextList (0.07s) context_test.go:19: assertion failed: Command: docker context ls ExitCode: 0 Stdout: NAME DESCRIPTION DOCKER ENDPOINT KUBERNETES ENDPOINT ORCHESTRATOR default * Current DOCKER_HOST based configuration unix:///var/run/docker.sock https://someserver (zoinx) swarm remote my remote cluster ssh://someserver https://someserver (default) kubernetes Stderr: DOCKER_CONFIG: ./testdata/test-dockerconfig Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/image TestBuildFromContextDirectoryWithTag (1.53s) build_test.go:37: assertion failed: Command: docker build -t myimage . ExitCode: 0 Stdout: Sending build context to Docker daemon 4.608kB Step 1/4 : FROM registry:5000/alpine:3.6 ---> 76da55c8019d Step 2/4 : COPY run /usr/bin/run ---> ae6a7e4781bd Step 3/4 : RUN run ---> Running in ae3a740822d0 running Removing intermediate container ae3a740822d0 ---> 301642685d27 Step 4/4 : COPY data /data ---> 3a57dcc56a1b Successfully built 3a57dcc56a1b Successfully tagged myimage:latest Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/image TestBuildIidFileSquash (0.04s) build_test.go:112: assertion failed: Command: docker info --format {{.ExperimentalBuild}} ExitCode: 0 Stdout: false Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Failures: Expected stderr to contain "[NOTHING]" === FAIL: e2e/image TestPullWithContentTrust (1.54s) ENV VARS: DOCKER_CLI_E2E_PLUGINS_EXTRA_DIRS=/go/src/github.com/docker/cli/build/plugins-linux-amd64 DOCKER_CONFIG=/tmp/trust_test-109598889 DOCKER_HOST=tcp://172.24.0.2:2375 GOPATH=/go HOME=/root PATH=/go/src/github.com/docker/cli/build/:/usr/bin:/usr/local/bin:/usr/local/go/bin PWD=/go/src/github.com/docker/cli/e2e/image TEST_DOCKER_CERT_PATH= TEST_DOCKER_HOST=tcp://172.24.0.2:2375 TEST_KUBECONFIG= TEST_REMOTE_DAEMON= TEST_SKIP_PLUGIN_TESTS= CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 47839bdb7b49 busybox:latest "sh" Less than a second ago Created foobar 5da71c18695d 76da55c8019d "/bin/sh" 2 seconds ago Exited (0) Less than a second ago quizzical_leavitt 35f910a190db registry:5000/alpine:3.6 "top" 6 seconds ago Exited (143) 4 seconds ago jovial_colden 67a71ad78119 registry:5000/evil-alpine "/bin/sh" 6 seconds ago Created hungry_sanderson 35fa2f0cddf2 76da55c8019d "/bin/sh" 8 seconds ago Created trusting_villani DOCKER_CONFIG: /tmp/trust_test-109598889 WARNING: Error loading config file: /tmp/trust_test-109598889/config.json: json: cannot unmarshal string into Go struct field ConfigFile.auths of type types.AuthConfig ENV VARS: DOCKER_CLI_E2E_PLUGINS_EXTRA_DIRS=/go/src/github.com/docker/cli/build/plugins-linux-amd64 DOCKER_CONFIG=/tmp/trust_test-109598889 DOCKER_CONTENT_TRUST=1 DOCKER_CONTENT_TRUST_SERVER=https://notary-server:4443 DOCKER_HOST=tcp://172.24.0.2:2375 GOPATH=/go HOME=/root PATH=/go/src/github.com/docker/cli/build/:/usr/bin:/usr/local/bin:/usr/local/go/bin PWD=/go/src/github.com/docker/cli/e2e/image TEST_DOCKER_CERT_PATH= TEST_DOCKER_HOST=tcp://172.24.0.2:2375 TEST_KUBECONFIG= TEST_REMOTE_DAEMON= TEST_SKIP_PLUGIN_TESTS= ENV [DOCKER_CLI_E2E_PLUGINS_EXTRA_DIRS=/go/src/github.com/docker/cli/build/plugins-linux-amd64 DOCKER_CONFIG=/tmp/trust_test-109598889 DOCKER_CONTENT_TRUST=1 DOCKER_CONTENT_TRUST_SERVER=https://notary-server:4443 DOCKER_HOST=tcp://172.24.0.2:2375 GOPATH=/go HOME=/root PATH=/go/src/github.com/docker/cli/build/:/usr/bin:/usr/local/bin:/usr/local/go/bin PWD=/go/src/github.com/docker/cli/e2e/image TEST_DOCKER_CERT_PATH= TEST_DOCKER_HOST=tcp://172.24.0.2:2375 TEST_KUBECONFIG= TEST_REMOTE_DAEMON= TEST_SKIP_PLUGIN_TESTS=] PATH /go/src/github.com/docker/cli/build/docker DIR ARGS [docker pull registry:5000/trust-pull:latest] pull_test.go:50: assertion failed: --- expected +++ actual @@ -1,2 +1,4 @@ +DOCKER_CONFIG: /tmp/trust_test-109598889 +WARNING: Error loading config file: /tmp/trust_test-109598889/config.json: json: cannot unmarshal string into Go struct field ConfigFile.auths of type types.AuthConfig Tagging registry:5000/trust-pull@sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d as registry:5000/trust-pull:latest You can run 'go test . -test.update-golden' to automatically update testdata/pull-with-content-trust-err.golden to the new expected value.' === FAIL: e2e/image TestPullQuiet (0.06s) pull_test.go:66: assertion failed: --- ← +++ → @@ -1,3 +1 @@ -DOCKER_CONFIG: -USING FALLBACK TO DEFAULT: /root/.docker === FAIL: e2e/image TestPushAllTags (0.41s) push_test.go:40: assertion failed: --- expected +++ actual @@ -1 +1,3 @@ +DOCKER_CONFIG: +USING FALLBACK TO DEFAULT: /root/.docker You can run 'go test . -test.update-golden' to automatically update testdata/push-with-content-trust-err.golden to the new expected value.' === FAIL: e2e/image TestPushWithContentTrust (0.47s) push_test.go:65: assertion failed: --- expected +++ actual @@ -1 +1,3 @@ +DOCKER_CONFIG: /tmp/trust_test-527726275 +WARNING: Error loading config file: /tmp/trust_test-527726275/config.json: json: cannot unmarshal string into Go struct field ConfigFile.auths of type types.AuthConfig You can run 'go test . -test.update-golden' to automatically update testdata/push-with-content-trust-err.golden to the new expected value.' === FAIL: e2e/image TestPushWithContentTrustSignsAllFirstLevelRolesWeHaveKeysFor (66.52s) push_test.go:216: assertion failed: Command: docker pull registry:5000/alpine:3.6 ExitCode: 1 Error: exit status 1 Stdout: Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Cannot connect to the Docker daemon at tcp://172.24.0.2:2375. Is the docker daemon running? Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/image TestPushWithContentTrustSignsForRolesWithKeysAndValidPaths (8.58s) push_test.go:283: assertion failed: Command: docker pull registry:5000/alpine:3.6 ExitCode: 1 Error: exit status 1 Stdout: Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker error during connect: Post http://172.24.0.2:2375/v1.24/images/create?fromImage=registry%3A5000%2Falpine&tag=3.6: dial tcp 172.24.0.2:2375: connect: no route to host Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/plugin TestInstallWithContentTrust (2.52s) 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: DOCKER_CONFIG: /tmp/trust_test-641992404 WARNING: Error loading config file: /tmp/trust_test-641992404/config.json: json: cannot unmarshal string into Go struct field ConfigFile.auths of type types.AuthConfig Cannot connect to the Docker daemon at tcp://172.24.0.2: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 === FAIL: e2e/stack TestDeployWithNamedResources/Swarm (61.75s) --- FAIL: TestDeployWithNamedResources/Swarm (61.75s) 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: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker error during connect: Get http://172.24.0.2:2375/v1.24/info: dial tcp 172.24.0.2:2375: connect: no route to host Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/stack TestDeployWithNamedResources (61.75s) === FAIL: e2e/stack TestRemove/Swarm (8.25s) --- FAIL: TestRemove/Swarm (8.25s) 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: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker error during connect: Get http://172.24.0.2:2375/v1.24/info: dial tcp 172.24.0.2:2375: connect: no route to host Failures: ExitCode was 1 expected 0 Expected no error === FAIL: e2e/stack TestRemove (8.25s) === FAIL: e2e/system TestInspectInvalidReference (8.67s) inspect_test.go:13: assertion failed: Command: docker inspect FooBar ExitCode: 1 Error: exit status 1 Stdout: [] Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker error during connect: Get http://172.24.0.2:2375/v1.24/containers/FooBar/json: dial tcp 172.24.0.2:2375: connect: no route to host Failures: Expected stderr to contain "Error: No such object: FooBar" === FAIL: e2e/trust TestRevokeImage (8.60s) revoke_test.go:50: assertion failed: Command: docker pull registry:5000/alpine:3.6 ExitCode: 1 Error: exit status 1 Stdout: Stderr: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker error during connect: Post http://172.24.0.2:2375/v1.24/images/create?fromImage=registry%3A5000%2Falpine&tag=3.6: dial tcp 172.24.0.2:2375: connect: no route to host Failures: ExitCode was 1 expected 0 Expected no error === FAIL: 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: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker error during connect: Post http://172.24.0.2:2375/v1.24/images/create?fromImage=registry%3A5000%2Falpine&tag=3.6: dial tcp 172.24.0.2:2375: connect: no route to host Failures: ExitCode was 1 expected 0 Expected no error === FAIL: 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: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker error during connect: Post http://172.24.0.2:2375/v1.24/images/create?fromImage=registry%3A5000%2Falpine&tag=3.6: dial tcp 172.24.0.2:2375: connect: no route to host Failures: ExitCode was 1 expected 0 Expected no error === FAIL: 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: DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker error during connect: Post http://172.24.0.2:2375/v1.24/images/create?fromImage=registry%3A5000%2Falpine&tag=3.6: dial tcp 172.24.0.2:2375: connect: no route to host Failures: ExitCode was 1 expected 0 Expected no error DONE 93 tests, 3 skipped, 49 failures in 142.232s DOCKER_CONFIG: USING FALLBACK TO DEFAULT: /root/.docker Stopping cliendtoendsuite_evil-notary-server_1 ... Stopping cliendtoendsuite_registry_1 ... Stopping cliendtoendsuite_notary-server_1 ... Stopping cliendtoendsuite_evil-notary-server_1 ... done Stopping cliendtoendsuite_notary-server_1 ... done Stopping cliendtoendsuite_registry_1 ... done Removing cliendtoendsuite_evil-notary-server_1 ... Removing cliendtoendsuite_registry_1 ... Removing cliendtoendsuite_engine_1 ... Removing cliendtoendsuite_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