Skip to content

Console Output

+ E2E_UNIQUE_ID=clie2e1 IMAGE_TAG=clie2e1 DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e-non-experimental
docker build -t docker-cli-e2eclie2e1 --build-arg=GO_VERSION --build-arg VERSION=19.03.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e .
#1 [internal] load build definition from Dockerfile.e2e
#1 transferring dockerfile: 1.58kB done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 transferring context: 100B done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/golang:1.13.15-buster
#3 DONE 0.3s

#4 [1/11] FROM docker.io/library/golang:1.13.15-buster@sha256:66a3f6817c129...
#4 resolve docker.io/library/golang:1.13.15-buster@sha256:66a3f6817c129f48c9cc9b96816a1c0b6dcb399393196e3581d9367b55ab29f2 done
#4 sha256:d6f3656320fe38f736f0ebae2556d09bf3bde9d663ffc69b153494558aec9a79 6.19kB / 6.19kB done
#4 sha256:16b5038bccc853e96f534bc85f4f737109ef37ad92d877b54f080a3c86b3cb3a 126B / 126B 0.1s done
#4 sha256:66a3f6817c129f48c9cc9b96816a1c0b6dcb399393196e3581d9367b55ab29f2 1.86kB / 1.86kB done
#4 sha256:24bd48a274920bf47ead96c5a2db8e6a3fbe26e8ae27557c2caa9aeae562a998 1.79kB / 1.79kB done
#4 sha256:799f41bb59c9731aba2de07a7b3d49d5bc5e3a57ac053779fc0e405d3aed0b9e 7.12MB / 120.17MB 0.2s
#4 sha256:799f41bb59c9731aba2de07a7b3d49d5bc5e3a57ac053779fc0e405d3aed0b9e 18.32MB / 120.17MB 0.3s
#4 sha256:799f41bb59c9731aba2de07a7b3d49d5bc5e3a57ac053779fc0e405d3aed0b9e 26.99MB / 120.17MB 0.4s
#4 sha256:799f41bb59c9731aba2de07a7b3d49d5bc5e3a57ac053779fc0e405d3aed0b9e 35.12MB / 120.17MB 0.5s
#4 sha256:799f41bb59c9731aba2de07a7b3d49d5bc5e3a57ac053779fc0e405d3aed0b9e 49.17MB / 120.17MB 0.6s
#4 sha256:799f41bb59c9731aba2de07a7b3d49d5bc5e3a57ac053779fc0e405d3aed0b9e 57.60MB / 120.17MB 0.7s
#4 sha256:799f41bb59c9731aba2de07a7b3d49d5bc5e3a57ac053779fc0e405d3aed0b9e 68.46MB / 120.17MB 0.8s
#4 sha256:799f41bb59c9731aba2de07a7b3d49d5bc5e3a57ac053779fc0e405d3aed0b9e 77.44MB / 120.17MB 0.9s
#4 sha256:799f41bb59c9731aba2de07a7b3d49d5bc5e3a57ac053779fc0e405d3aed0b9e 97.06MB / 120.17MB 1.1s
#4 sha256:799f41bb59c9731aba2de07a7b3d49d5bc5e3a57ac053779fc0e405d3aed0b9e 106.10MB / 120.17MB 1.2s
#4 sha256:799f41bb59c9731aba2de07a7b3d49d5bc5e3a57ac053779fc0e405d3aed0b9e 113.49MB / 120.17MB 1.4s
#4 sha256:799f41bb59c9731aba2de07a7b3d49d5bc5e3a57ac053779fc0e405d3aed0b9e 120.17MB / 120.17MB 1.5s
#4 sha256:799f41bb59c9731aba2de07a7b3d49d5bc5e3a57ac053779fc0e405d3aed0b9e 120.17MB / 120.17MB 1.6s done
#4 extracting sha256:799f41bb59c9731aba2de07a7b3d49d5bc5e3a57ac053779fc0e405d3aed0b9e 0.1s
#4 ...

#10 [internal] load build context
#10 transferring context: 41.81MB 2.3s done
#10 DONE 2.3s

#4 [1/11] FROM docker.io/library/golang:1.13.15-buster@sha256:66a3f6817c129...
#4 extracting sha256:799f41bb59c9731aba2de07a7b3d49d5bc5e3a57ac053779fc0e405d3aed0b9e 4.5s done
#4 extracting sha256:16b5038bccc853e96f534bc85f4f737109ef37ad92d877b54f080a3c86b3cb3a
#4 extracting sha256:16b5038bccc853e96f534bc85f4f737109ef37ad92d877b54f080a3c86b3cb3a done
#4 DONE 6.5s

#5 [2/11] RUN apt-get update && apt-get install -y     build-essential     ...
#5 0.759 Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB]
#5 0.761 Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
#5 0.771 Get:3 http://deb.debian.org/debian buster-updates InRelease [51.9 kB]
#5 0.901 Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [218 kB]
#5 1.012 Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7906 kB]
#5 1.154 Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [7868 B]
#5 2.404 Fetched 8372 kB in 2s (4406 kB/s)
#5 2.404 Reading package lists...
#5 3.152 Reading package lists...
#5 3.738 Building dependency tree...
#5 3.853 Reading state information...
#5 3.957 curl is already the newest version (7.64.0-4+deb10u1).
#5 3.957 openssh-client is already the newest version (1:7.9p1-10+deb10u2).
#5 3.957 openssl is already the newest version (1.1.1d-0+deb10u3).
#5 3.957 openssl set to manually installed.
#5 3.957 The following additional packages will be installed:
#5 3.958   bzip2 dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl
#5 3.958   libalgorithm-merge-perl libfakeroot patch xz-utils
#5 3.959 Suggested packages:
#5 3.959   bzip2-doc debian-keyring ed diffutils-doc
#5 4.028 The following NEW packages will be installed:
#5 4.028   build-essential bzip2 dpkg-dev fakeroot libalgorithm-diff-perl
#5 4.029   libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot patch xz-utils
#5 4.296 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
#5 4.296 Need to get 2342 kB of archives.
#5 4.296 After this operation, 3601 kB of additional disk space will be used.
#5 4.296 Get:1 http://deb.debian.org/debian buster/main amd64 bzip2 amd64 1.0.6-9.2~deb10u1 [48.4 kB]
#5 4.300 Get:2 http://deb.debian.org/debian buster/main amd64 xz-utils amd64 5.2.4-1 [183 kB]
#5 4.306 Get:3 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB]
#5 4.309 Get:4 http://deb.debian.org/debian buster/main amd64 dpkg-dev all 1.19.7 [1773 kB]
#5 4.339 Get:5 http://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B]
#5 4.340 Get:6 http://deb.debian.org/debian buster/main amd64 libfakeroot amd64 1.23-1 [45.9 kB]
#5 4.342 Get:7 http://deb.debian.org/debian buster/main amd64 fakeroot amd64 1.23-1 [85.8 kB]
#5 4.344 Get:8 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-perl all 1.19.03-2 [47.9 kB]
#5 4.344 Get:9 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5+b1 [11.8 kB]
#5 4.344 Get:10 http://deb.debian.org/debian buster/main amd64 libalgorithm-merge-perl all 0.08-3 [12.7 kB]
#5 4.547 debconf: delaying package configuration, since apt-utils is not installed
#5 4.573 Fetched 2342 kB in 0s (7693 kB/s)
#5 4.601 Selecting previously unselected package bzip2.
#5 4.601 (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 15410 files and directories currently installed.)
#5 4.709 Preparing to unpack .../0-bzip2_1.0.6-9.2~deb10u1_amd64.deb ...
#5 4.716 Unpacking bzip2 (1.0.6-9.2~deb10u1) ...
#5 4.766 Selecting previously unselected package xz-utils.
#5 4.768 Preparing to unpack .../1-xz-utils_5.2.4-1_amd64.deb ...
#5 4.772 Unpacking xz-utils (5.2.4-1) ...
#5 4.817 Selecting previously unselected package patch.
#5 4.819 Preparing to unpack .../2-patch_2.7.6-3+deb10u1_amd64.deb ...
#5 4.823 Unpacking patch (2.7.6-3+deb10u1) ...
#5 4.858 Selecting previously unselected package dpkg-dev.
#5 4.860 Preparing to unpack .../3-dpkg-dev_1.19.7_all.deb ...
#5 4.864 Unpacking dpkg-dev (1.19.7) ...
#5 4.966 Selecting previously unselected package build-essential.
#5 4.968 Preparing to unpack .../4-build-essential_12.6_amd64.deb ...
#5 4.971 Unpacking build-essential (12.6) ...
#5 5.000 Selecting previously unselected package libfakeroot:amd64.
#5 5.002 Preparing to unpack .../5-libfakeroot_1.23-1_amd64.deb ...
#5 5.009 Unpacking libfakeroot:amd64 (1.23-1) ...
#5 5.042 Selecting previously unselected package fakeroot.
#5 5.044 Preparing to unpack .../6-fakeroot_1.23-1_amd64.deb ...
#5 5.047 Unpacking fakeroot (1.23-1) ...
#5 5.081 Selecting previously unselected package libalgorithm-diff-perl.
#5 5.081 Preparing to unpack .../7-libalgorithm-diff-perl_1.19.03-2_all.deb ...
#5 5.085 Unpacking libalgorithm-diff-perl (1.19.03-2) ...
#5 5.115 Selecting previously unselected package libalgorithm-diff-xs-perl.
#5 5.118 Preparing to unpack .../8-libalgorithm-diff-xs-perl_0.04-5+b1_amd64.deb ...
#5 5.122 Unpacking libalgorithm-diff-xs-perl (0.04-5+b1) ...
#5 5.151 Selecting previously unselected package libalgorithm-merge-perl.
#5 5.153 Preparing to unpack .../9-libalgorithm-merge-perl_0.08-3_all.deb ...
#5 5.157 Unpacking libalgorithm-merge-perl (0.08-3) ...
#5 5.192 Setting up libalgorithm-diff-perl (1.19.03-2) ...
#5 5.202 Setting up bzip2 (1.0.6-9.2~deb10u1) ...
#5 5.212 Setting up libfakeroot:amd64 (1.23-1) ...
#5 5.226 Setting up fakeroot (1.23-1) ...
#5 5.245 update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
#5 5.255 Setting up xz-utils (5.2.4-1) ...
#5 5.264 update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
#5 5.271 Setting up patch (2.7.6-3+deb10u1) ...
#5 5.282 Setting up libalgorithm-diff-xs-perl (0.04-5+b1) ...
#5 5.293 Setting up libalgorithm-merge-perl (0.08-3) ...
#5 5.303 Setting up dpkg-dev (1.19.7) ...
#5 5.319 Setting up build-essential (12.6) ...
#5 5.329 Processing triggers for libc-bin (2.28-10) ...
#5 DONE 6.5s

#6 [3/11] RUN curl -L https://github.com/docker/compose/releases/download/1...
#6 0.455   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
#6 0.455                                  Dload  Upload   Total   Spent    Left  Speed
#6 0.455 
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   638  100   638    0     0  29000      0 --:--:-- --:--:-- --:--:-- 29000
#6 0.593 
100 10.3M  100 10.3M    0     0  73.9M      0 --:--:-- --:--:-- --:--:-- 73.9M
#6 DONE 0.7s

#7 [4/11] RUN curl -Ls https://github.com/theupdateframework/notary/release...
#7 DONE 0.8s

#8 [5/11] RUN curl -Ls https://github.com/gotestyourself/gotestsum/releases...
#8 DONE 0.8s

#9 [6/11] WORKDIR /go/src/github.com/docker/cli
#9 DONE 0.0s

#11 [7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/...
#11 DONE 0.0s

#12 [8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-...
#12 0.399 Updating certificates in /etc/ssl/certs...
#12 0.910 1 added, 0 removed; done.
#12 0.910 Running hooks in /etc/ca-certificates/update.d...
#12 0.911 done.
#12 DONE 1.0s

#13 [9/11] COPY . .
#13 DONE 0.7s

#14 [10/11] RUN ./scripts/build/binary
#14 0.624 Building statically linked build/docker-linux-amd64
#14 DONE 68.0s

#15 [11/11] RUN ./scripts/build/plugins e2e/cli-plugins/plugins/*
#15 0.438 Building statically linked build/plugins-linux-amd64/docker-helloworld
#15 2.283 Building statically linked build/plugins-linux-amd64/docker-badmeta
#15 3.935 Building statically linked build/plugins-linux-amd64/docker-nopersistentprerun
#15 DONE 5.8s

#16 exporting to image
#16 exporting layers
#16 exporting layers 2.2s done
#16 writing image sha256:b5974cbdcdb193c68dea075c0b2da45850ab569ed03213f62111eb8a736871b8 done
#16 naming to docker.io/library/docker-cli-e2eclie2e1 done
#16 DONE 2.2s
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -e VERSION=19.03.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-e2eclie2e1
Creating network "cliendtoendsuite_default" with the default driver
Pulling registry (registry:2)...
2: Pulling from library/registry
Digest: sha256:8be26f81ffea54106bae012c6f349df70f4d5e7e2ec01b143c46e2c03b9e551d
Status: Downloaded newer image for registry:2
Pulling engine (docker:stable-dind)...
stable-dind: Pulling from library/docker
Digest: sha256:a8ea5b6b4b7472a3804d22f619097e983cc939344608aa3774e73d24291007d6
Status: Downloaded newer image for docker:stable-dind
Building notary-server
Step 1/3 : ARG NOTARY_VERSION=0.5.0
Step 2/3 : FROM notary:server-${NOTARY_VERSION}
server-0.5.0: Pulling from library/notary
Digest: sha256:d59e4ecc20198447a9818e7f16d0a02ba1d9905de71e5354bc8ee0017304a244
Status: Downloaded newer image for notary:server-0.5.0
 ---> 16b632e954ca
Step 3/3 : COPY ./notary/ /fixtures/
 ---> 299f4af6b7c2
Successfully built 299f4af6b7c2
Successfully tagged cliendtoendsuite_notary-server:latest
Building evil-notary-server
Step 1/3 : ARG NOTARY_VERSION=0.5.0
Step 2/3 : FROM notary:server-${NOTARY_VERSION}
 ---> 16b632e954ca
Step 3/3 : COPY ./notary-evil/ /fixtures/
 ---> d9d410e1ffb3
Successfully built d9d410e1ffb3
Successfully tagged cliendtoendsuite_evil-notary-server:latest
Creating cliendtoendsuite_evil-notary-server_1 ... 
Creating cliendtoendsuite_registry_1           ... 
Creating cliendtoendsuite_engine_1             ... 
Creating cliendtoendsuite_notary-server_1      ... 

Creating cliendtoendsuite_registry_1           ... done

Creating cliendtoendsuite_engine_1             ... done

Creating cliendtoendsuite_notary-server_1      ... done

Creating cliendtoendsuite_evil-notary-server_1 ... done
Waiting for docker daemon to become available at tcp://172.18.0.3:2375
Client:
 Version:           19.03.0-dev
 API version:       1.40
 Go version:        go1.13.15
 Git commit:        
 Built:             Mon Aug 10 15:28:13 2020
 OS/Arch:           linux/amd64
 Experimental:      false

Server: Docker Engine - Community
 Engine:
  Version:          19.03.12
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.13.10
  Git commit:       48a66213fe
  Built:            Mon Jun 22 15:49:35 2020
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683
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
The push refers to repository [registry:5000/alpine]
5bef08742407: Preparing
5bef08742407: Pushed
3.6: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528
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 (itff7c40ov5di9dx5sl8cdap9) is now a manager.

To add a worker to this swarm, run the following command:

    docker swarm join --token SWMTKN-1-48y1l7vlo2qpjtc2qksos6qw4nfjr2kos4olbaudxmazikq7x8-0i4mcp066becfvj8qhyuc5cki 172.18.0.3:2377

To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions.

✓  e2e/cli-plugins (3.187s)
∅  e2e/cli-plugins/plugins/badmeta
∅  e2e/cli-plugins/plugins/nopersistentprerun
✓  e2e/context (71ms)
✓  e2e/container (7.45s)
✓  e2e/plugin (3.652s)
✓  e2e/stack (680ms)
✓  e2e/system (70ms)
✓  e2e/image (11.503s)
∅  e2e/internal/fixtures
∅  e2e/plugin/basic
✓  e2e/trust (2.407s)

=== 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/image TestBuildIidFileSquash (0.07s)
    build_test.go:112: !experimentalBuild: running against a non-experimental daemon

=== 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()


DONE 88 tests, 4 skipped in 40.945s
Stopping cliendtoendsuite_notary-server_1      ... 
Stopping cliendtoendsuite_engine_1             ... 
Stopping cliendtoendsuite_evil-notary-server_1 ... 
Stopping cliendtoendsuite_registry_1           ... 

Stopping cliendtoendsuite_evil-notary-server_1 ... done

Stopping cliendtoendsuite_registry_1           ... done

Stopping cliendtoendsuite_notary-server_1      ... done

Stopping cliendtoendsuite_engine_1             ... done
Removing cliendtoendsuite_notary-server_1      ... 
Removing cliendtoendsuite_engine_1             ... 
Removing cliendtoendsuite_evil-notary-server_1 ... 
Removing cliendtoendsuite_registry_1           ... 

Removing cliendtoendsuite_evil-notary-server_1 ... done

Removing cliendtoendsuite_registry_1           ... done

Removing cliendtoendsuite_notary-server_1      ... done

Removing cliendtoendsuite_engine_1             ... done
Removing network cliendtoendsuite_default
Removing image cliendtoendsuite_notary-server
Removing image cliendtoendsuite_evil-notary-server