Pull request #2427 opened 11:42:31 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Obtained Jenkinsfile from 650c7175802662747f7e34653fb380ca37b11665+2f494e1181ab4582c250192d264376c56193585c (738f2da58274b917908a9ed37aacd247e3e6898f) 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 241f6703d31895690d4cb6f158f753615abe74ac using credential jps-reader Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/jps.git > git init /var/cloudbees-jenkins-distribution/workspace/cli_PR-2427@libs/jps # timeout=10 Fetching upstream changes from https://github.com/docker/jps.git > git --version # timeout=10 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 > git config remote.origin.url https://github.com/docker/jps.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # timeout=10 > 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 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 241f6703d31895690d4cb6f158f753615abe74ac (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 241f6703d31895690d4cb6f158f753615abe74ac # timeout=10 Commit message: "Merge pull request #21 from docker/use-multiarch-busybox" First time build. Skipping changelog. > git --version # timeout=10 [Pipeline] Start of Pipeline [Pipeline] node Running on EC2 (managed-agents) - ubuntu-1804-overlay2-mem (i-029793edcd95a5bf6) in /home/ubuntu/workspace/cli_PR-2427 [Pipeline] { [Pipeline] withDockerRegistry $ docker login -u dockerbuildbot -p ******** https://index.docker.io/v1/ WARNING! Using --password via the CLI is insecure. Use --password-stdin. WARNING! Your password will be stored unencrypted in /home/ubuntu/workspace/cli_PR-2427@tmp/ecc5f254-1e6f-41d7-848d-80a84abef1a0/config.json. Configure a credential helper to remove this warning. See https://docs.docker.com/engine/reference/commandline/login/#credentials-store Login Succeeded [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] wrap [Pipeline] { [Pipeline] echo 11:42:40 cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo 11:42:40 chowning workspace [Pipeline] sh 11:42:41 + pwd 11:42:41 + id -u 11:42:41 + id -g 11:42:41 + docker run --rm -v /home/ubuntu/workspace/cli_PR-2427:/workspace busybox chown -R 1000:1000 /workspace 11:42:41 Unable to find image 'busybox:latest' locally 11:42:41 latest: Pulling from library/busybox 11:42:41 0669b0daf1fb: Pulling fs layer 11:42:41 0669b0daf1fb: Download complete 11:42:41 0669b0daf1fb: Pull complete 11:42:41 Digest: sha256:b26cd013274a657b86e706210ddd5cc1f82f50155791199d29b9e86e935ce135 11:42:41 Status: Downloaded newer image for busybox:latest [Pipeline] echo 11:42:42 Removing all docker containers [Pipeline] sh 11:42:42 + docker container ls -aq [Pipeline] echo 11:42:42 Docker containers have been removed [Pipeline] echo 11:42:42 cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo 11:42:42 cleanWorkspace: Workspace is clean. [Pipeline] timeout 11:42:42 Timeout set to expire in 1 hr 0 min [Pipeline] { [Pipeline] stage 11:42:43 Using the ‘stage’ step without a block argument is deprecated 11:42:43 Entering stage Git Checkout 11:42:43 Proceeding [Pipeline] checkout 11:42:44 using credential docker-jenkins-github-credentials 11:42:44 Cloning the remote Git repository 11:42:44 Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/cli.git > git init /home/ubuntu/workspace/cli_PR-2427 # timeout=10 Fetching upstream changes from https://github.com/docker/cli.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/cli.git +refs/pull/2427/head:refs/remotes/origin/PR-2427 +refs/heads/master:refs/remotes/origin/master # timeout=10 11:42:48 Fetching without tags 11:42:48 Merging remotes/origin/master commit 2f494e1181ab4582c250192d264376c56193585c into PR head commit 650c7175802662747f7e34653fb380ca37b11665 > git config remote.origin.url https://github.com/docker/cli.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2427/head:refs/remotes/origin/PR-2427 # timeout=10 > git config --add remote.origin.fetch +refs/heads/master:refs/remotes/origin/master # 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 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/cli.git +refs/pull/2427/head:refs/remotes/origin/PR-2427 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 650c7175802662747f7e34653fb380ca37b11665 # timeout=10 11:42:48 Merge succeeded, producing 650c7175802662747f7e34653fb380ca37b11665 11:42:48 Checking out Revision 650c7175802662747f7e34653fb380ca37b11665 (PR-2427) > git merge 2f494e1181ab4582c250192d264376c56193585c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 650c7175802662747f7e34653fb380ca37b11665 # timeout=10 11:42:52 Commit message: "TestHistoryContext_CreatedSince: skip on non-UTC environments" 11:42:52 First time build. Skipping changelog. [Pipeline] stage 11:42:53 Using the ‘stage’ step without a block argument is deprecated 11:42:53 Entering stage Run end-to-end test suite 11:42:53 Proceeding [Pipeline] sh 11:42:53 + docker version 11:42:53 Client: Docker Engine - Community 11:42:53 Version: 19.03.5 11:42:53 API version: 1.40 11:42:53 Go version: go1.12.12 11:42:53 Git commit: 633a0ea838 11:42:53 Built: Wed Nov 13 07:29:52 2019 11:42:53 OS/Arch: linux/amd64 11:42:53 Experimental: false 11:42:53 11:42:53 Server: Docker Engine - Community 11:42:53 Engine: 11:42:53 Version: 19.03.5 11:42:53 API version: 1.40 (minimum version 1.12) 11:42:53 Go version: go1.12.12 11:42:53 Git commit: 633a0ea838 11:42:53 Built: Wed Nov 13 07:28:22 2019 11:42:53 OS/Arch: linux/amd64 11:42:53 Experimental: true 11:42:53 containerd: 11:42:53 Version: 1.2.10 11:42:53 GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339 11:42:53 runc: 11:42:53 Version: 1.0.0-rc8+dev 11:42:53 GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657 11:42:53 docker-init: 11:42:53 Version: 0.18.0 11:42:53 GitCommit: fec3683 [Pipeline] sh > git --version # timeout=10 fatal: bad object 241f6703d31895690d4cb6f158f753615abe74ac 11:42:54 + docker info 11:43:02 Client: 11:43:02 Debug Mode: false 11:43:02 11:43:02 Server: 11:43:02 Containers: 0 11:43:02 Running: 0 11:43:02 Paused: 0 11:43:02 Stopped: 0 11:43:02 Images: 1 11:43:02 Server Version: 19.03.5 11:43:02 Storage Driver: overlay2 11:43:02 Backing Filesystem: extfs 11:43:02 Supports d_type: true 11:43:02 Native Overlay Diff: true 11:43:02 Logging Driver: json-file 11:43:02 Cgroup Driver: cgroupfs 11:43:02 Plugins: 11:43:02 Volume: local 11:43:02 Network: bridge host ipvlan macvlan null overlay 11:43:02 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog 11:43:02 Swarm: inactive 11:43:02 Runtimes: runc 11:43:02 Default Runtime: runc 11:43:02 Init Binary: docker-init 11:43:02 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339 11:43:02 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657 11:43:02 init version: fec3683 11:43:02 Security Options: 11:43:02 apparmor 11:43:02 seccomp 11:43:02 Profile: default 11:43:02 Kernel Version: 4.15.0-1058-aws 11:43:02 Operating System: Ubuntu 18.04.4 LTS 11:43:02 OSType: linux 11:43:02 Architecture: x86_64 11:43:02 CPUs: 2 11:43:02 Total Memory: 15.38GiB 11:43:02 Name: ip-10-100-38-67 11:43:02 ID: 4CEL:5RBS:HN5G:X27E:6LIB:NDG4:JTLL:Y3PR:KAD2:JK75:FX6D:PY32 11:43:02 Docker Root Dir: /var/lib/docker 11:43:02 Debug Mode: false 11:43:02 Username: dockerbuildbot 11:43:02 Registry: https://index.docker.io/v1/ 11:43:02 Labels: 11:43:02 Experimental: true 11:43:02 Insecure Registries: 11:43:02 127.0.0.0/8 11:43:02 Live Restore Enabled: true 11:43:02 11:43:02 WARNING: No swap limit support [Pipeline] sh 11:43:02 + E2E_UNIQUE_ID=clie2e1 IMAGE_TAG=clie2e1 DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e 11:43:02 docker build -t docker-cli-e2eclie2e1 --build-arg=GO_VERSION --build-arg VERSION=20.03.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e . 11:43:02 #1 [internal] load .dockerignore 11:43:02 #1 transferring context: 100B done 11:43:02 #1 DONE 0.0s 11:43:02 11:43:02 #2 [internal] load build definition from Dockerfile.e2e 11:43:02 #2 transferring dockerfile: 1.65kB done 11:43:02 #2 DONE 0.0s 11:43:02 11:43:02 #3 [internal] load metadata for docker.io/library/golang:1.13.9-buster 11:43:02 #3 DONE 0.3s 11:43:02 11:43:02 #4 [1/11] FROM docker.io/library/golang:1.13.9-buster@sha256:a6dee8d27e0c9c... 11:43:02 #4 resolve docker.io/library/golang:1.13.9-buster@sha256:a6dee8d27e0c9c6f95b42577f6ff9f267b70634ca885da661a0bb6ca60a119c8 done 11:43:02 #4 sha256:f15005b0235fa8bd31cc6988c4f2758016fe412d696e81aecf73e52be079f19e 5.95MB / 50.38MB 0.2s 11:43:02 #4 sha256:b998346ba308e3362a85c7bf7faed28d0277c68203696134192fe812f809abb2 1.11MB / 10.00MB 0.2s 11:43:02 #4 sha256:a6dee8d27e0c9c6f95b42577f6ff9f267b70634ca885da661a0bb6ca60a119c8 1.42kB / 1.42kB done 11:43:02 #4 sha256:009f7cc109619687ea1a9be03fb3bd93377fba59ff178475e034a157ec76a192 1.79kB / 1.79kB done 11:43:02 #4 sha256:ea7439326d7d81dd232126ad84a1bc20178ca118ce5433071b06dbc4a52dd14a 5.45kB / 5.45kB done 11:43:02 #4 sha256:41ebfd3d2fd0de99b1c63aa36a507bf5555481d06e571d84ed84440d30671494 7.81MB / 7.81MB 0.2s 11:43:03 #4 sha256:f15005b0235fa8bd31cc6988c4f2758016fe412d696e81aecf73e52be079f19e 21.48MB / 50.38MB 0.4s 11:43:03 #4 sha256:b998346ba308e3362a85c7bf7faed28d0277c68203696134192fe812f809abb2 10.00MB / 10.00MB 0.3s done 11:43:03 #4 sha256:41ebfd3d2fd0de99b1c63aa36a507bf5555481d06e571d84ed84440d30671494 7.81MB / 7.81MB 0.2s done 11:43:03 #4 sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 10.36MB / 51.79MB 0.4s 11:43:03 #4 sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 0B / 68.60MB 0.4s 11:43:03 #4 sha256:f15005b0235fa8bd31cc6988c4f2758016fe412d696e81aecf73e52be079f19e 32.55MB / 50.38MB 0.6s 11:43:03 #4 sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 24.48MB / 51.79MB 0.6s 11:43:03 #4 sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 9.19MB / 68.60MB 0.6s 11:43:03 #4 sha256:f15005b0235fa8bd31cc6988c4f2758016fe412d696e81aecf73e52be079f19e 38.63MB / 50.38MB 0.7s 11:43:03 #4 sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 31.01MB / 51.79MB 0.7s 11:43:03 #4 sha256:f15005b0235fa8bd31cc6988c4f2758016fe412d696e81aecf73e52be079f19e 46.27MB / 50.38MB 0.8s 11:43:03 #4 sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 37.08MB / 51.79MB 0.8s 11:43:03 #4 sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 16.53MB / 68.60MB 0.8s 11:43:03 #4 sha256:f15005b0235fa8bd31cc6988c4f2758016fe412d696e81aecf73e52be079f19e 50.38MB / 50.38MB 0.9s done 11:43:03 #4 sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 48.38MB / 51.79MB 1.0s 11:43:03 #4 sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 33.01MB / 68.60MB 1.0s 11:43:03 #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 0B / 120.14MB 1.0s 11:43:03 #4 sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 51.79MB / 51.79MB 1.1s 11:43:03 #4 sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 39.05MB / 68.60MB 1.1s 11:43:03 #4 sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 51.79MB / 51.79MB 1.1s done 11:43:03 #4 sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 46.75MB / 68.60MB 1.2s 11:43:03 #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 7.83MB / 120.14MB 1.2s 11:43:03 #4 sha256:c9f73938539c05ec12492dbe6ed0414a0bc190cbda94c380a94334fbfc78b224 0B / 124B 1.2s 11:43:03 #4 extracting sha256:f15005b0235fa8bd31cc6988c4f2758016fe412d696e81aecf73e52be079f19e 11:43:04 #4 sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 54.78MB / 68.60MB 1.3s 11:43:04 #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 16.55MB / 120.14MB 1.3s 11:43:04 #4 sha256:c9f73938539c05ec12492dbe6ed0414a0bc190cbda94c380a94334fbfc78b224 124B / 124B 1.2s done 11:43:04 #4 sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 66.33MB / 68.60MB 1.5s 11:43:04 #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 33.33MB / 120.14MB 1.5s 11:43:04 #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 43.78MB / 120.14MB 1.6s 11:43:04 #4 sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 68.60MB / 68.60MB 1.6s done 11:43:04 #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 50.49MB / 120.14MB 1.7s 11:43:04 #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 65.40MB / 120.14MB 1.9s 11:43:05 #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 74.38MB / 120.14MB 2.1s 11:43:05 #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 83.64MB / 120.14MB 2.2s 11:43:05 #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 99.29MB / 120.14MB 2.4s 11:43:05 #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 106.54MB / 120.14MB 2.5s 11:43:05 #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 114.53MB / 120.14MB 2.6s 11:43:05 #4 sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 120.14MB / 120.14MB 2.8s done 11:43:06 #4 ... 11:43:06 11:43:06 #10 [internal] load build context 11:43:06 #10 transferring context: 42.23MB 3.6s done 11:43:06 #10 DONE 3.6s 11:43:06 11:43:06 #4 [1/11] FROM docker.io/library/golang:1.13.9-buster@sha256:a6dee8d27e0c9c... 11:43:07 #4 extracting sha256:f15005b0235fa8bd31cc6988c4f2758016fe412d696e81aecf73e52be079f19e 3.4s done 11:43:07 #4 extracting sha256:41ebfd3d2fd0de99b1c63aa36a507bf5555481d06e571d84ed84440d30671494 11:43:07 #4 extracting sha256:41ebfd3d2fd0de99b1c63aa36a507bf5555481d06e571d84ed84440d30671494 0.3s done 11:43:07 #4 extracting sha256:b998346ba308e3362a85c7bf7faed28d0277c68203696134192fe812f809abb2 0.1s 11:43:08 #4 extracting sha256:b998346ba308e3362a85c7bf7faed28d0277c68203696134192fe812f809abb2 0.3s done 11:43:08 #4 extracting sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 11:43:10 #4 extracting sha256:f01ec562c947a8ca1b168415da6a4a8f8920808f9b5d6f420ef8fa9af249b1f1 1.9s done 11:43:10 #4 extracting sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 11:43:12 #4 extracting sha256:c5e092b8639b2b26d0a0604afc0365727825677987fcb3bcab945a793ae99e0e 2.1s done 11:43:12 #4 extracting sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 11:43:16 #4 extracting sha256:89f17a5c26fc557bf6d36077d948272e3bb1a7e2ed7cec3589feed8467d6aeb9 4.0s done 11:43:16 #4 extracting sha256:c9f73938539c05ec12492dbe6ed0414a0bc190cbda94c380a94334fbfc78b224 done 11:43:16 #4 DONE 14.1s 11:43:16 11:43:16 #5 [2/11] RUN apt-get update && apt-get install -y build-essential ... 11:43:17 #5 0.886 Get:1 http://security.debian.org/debian-security buster/updates InRelease [65.4 kB] 11:43:17 #5 0.897 Get:2 http://deb.debian.org/debian buster InRelease [122 kB] 11:43:17 #5 0.897 Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB] 11:43:17 #5 0.982 Get:4 http://security.debian.org/debian-security buster/updates/main amd64 Packages [187 kB] 11:43:17 #5 1.084 Get:5 http://deb.debian.org/debian buster/main amd64 Packages [7907 kB] 11:43:18 #5 1.215 Get:6 http://deb.debian.org/debian buster-updates/main amd64 Packages [7380 B] 11:43:19 #5 2.313 Fetched 8337 kB in 2s (4967 kB/s) 11:43:19 #5 2.313 Reading package lists... 11:43:20 #5 2.871 Reading package lists... 11:43:20 #5 3.426 Building dependency tree... 11:43:20 #5 3.524 Reading state information... 11:43:20 #5 3.623 openssh-client is already the newest version (1:7.9p1-10+deb10u2). 11:43:20 #5 3.623 openssl is already the newest version (1.1.1d-0+deb10u2). 11:43:20 #5 3.623 openssl set to manually installed. 11:43:20 #5 3.623 curl is already the newest version (7.64.0-4+deb10u1). 11:43:20 #5 3.623 The following additional packages will be installed: 11:43:20 #5 3.623 bzip2 dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl 11:43:20 #5 3.624 libalgorithm-merge-perl libfakeroot patch xz-utils 11:43:20 #5 3.624 Suggested packages: 11:43:20 #5 3.624 bzip2-doc debian-keyring ed diffutils-doc 11:43:20 #5 3.693 The following NEW packages will be installed: 11:43:20 #5 3.693 build-essential bzip2 dpkg-dev fakeroot libalgorithm-diff-perl 11:43:20 #5 3.694 libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot patch xz-utils 11:43:20 #5 3.960 0 upgraded, 10 newly installed, 0 to remove and 1 not upgraded. 11:43:20 #5 3.960 Need to get 2342 kB of archives. 11:43:20 #5 3.960 After this operation, 3601 kB of additional disk space will be used. 11:43:20 #5 3.960 Get:1 http://deb.debian.org/debian buster/main amd64 bzip2 amd64 1.0.6-9.2~deb10u1 [48.4 kB] 11:43:20 #5 3.964 Get:2 http://deb.debian.org/debian buster/main amd64 xz-utils amd64 5.2.4-1 [183 kB] 11:43:20 #5 3.978 Get:3 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB] 11:43:20 #5 3.982 Get:4 http://deb.debian.org/debian buster/main amd64 dpkg-dev all 1.19.7 [1773 kB] 11:43:20 #5 4.015 Get:5 http://deb.debian.org/debian buster/main amd64 build-essential amd64 12.6 [7576 B] 11:43:20 #5 4.016 Get:6 http://deb.debian.org/debian buster/main amd64 libfakeroot amd64 1.23-1 [45.9 kB] 11:43:20 #5 4.017 Get:7 http://deb.debian.org/debian buster/main amd64 fakeroot amd64 1.23-1 [85.8 kB] 11:43:20 #5 4.018 Get:8 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-perl all 1.19.03-2 [47.9 kB] 11:43:20 #5 4.019 Get:9 http://deb.debian.org/debian buster/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5+b1 [11.8 kB] 11:43:20 #5 4.020 Get:10 http://deb.debian.org/debian buster/main amd64 libalgorithm-merge-perl all 0.08-3 [12.7 kB] 11:43:21 #5 4.124 debconf: delaying package configuration, since apt-utils is not installed 11:43:21 #5 4.148 Fetched 2342 kB in 0s (7421 kB/s) 11:43:21 #5 4.165 Selecting previously unselected package bzip2. 11:43:21 #5 4.165 (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 ... 15401 files and directories currently installed.) 11:43:21 #5 4.174 Preparing to unpack .../0-bzip2_1.0.6-9.2~deb10u1_amd64.deb ... 11:43:21 #5 4.178 Unpacking bzip2 (1.0.6-9.2~deb10u1) ... 11:43:21 #5 4.206 Selecting previously unselected package xz-utils. 11:43:21 #5 4.208 Preparing to unpack .../1-xz-utils_5.2.4-1_amd64.deb ... 11:43:21 #5 4.211 Unpacking xz-utils (5.2.4-1) ... 11:43:21 #5 4.251 Selecting previously unselected package patch. 11:43:21 #5 4.254 Preparing to unpack .../2-patch_2.7.6-3+deb10u1_amd64.deb ... 11:43:21 #5 4.258 Unpacking patch (2.7.6-3+deb10u1) ... 11:43:21 #5 4.291 Selecting previously unselected package dpkg-dev. 11:43:21 #5 4.294 Preparing to unpack .../3-dpkg-dev_1.19.7_all.deb ... 11:43:21 #5 4.297 Unpacking dpkg-dev (1.19.7) ... 11:43:21 #5 4.396 Selecting previously unselected package build-essential. 11:43:21 #5 4.399 Preparing to unpack .../4-build-essential_12.6_amd64.deb ... 11:43:21 #5 4.403 Unpacking build-essential (12.6) ... 11:43:21 #5 4.434 Selecting previously unselected package libfakeroot:amd64. 11:43:21 #5 4.434 Preparing to unpack .../5-libfakeroot_1.23-1_amd64.deb ... 11:43:21 #5 4.439 Unpacking libfakeroot:amd64 (1.23-1) ... 11:43:21 #5 4.471 Selecting previously unselected package fakeroot. 11:43:21 #5 4.471 Preparing to unpack .../6-fakeroot_1.23-1_amd64.deb ... 11:43:21 #5 4.474 Unpacking fakeroot (1.23-1) ... 11:43:21 #5 4.504 Selecting previously unselected package libalgorithm-diff-perl. 11:43:21 #5 4.507 Preparing to unpack .../7-libalgorithm-diff-perl_1.19.03-2_all.deb ... 11:43:21 #5 4.509 Unpacking libalgorithm-diff-perl (1.19.03-2) ... 11:43:21 #5 4.535 Selecting previously unselected package libalgorithm-diff-xs-perl. 11:43:21 #5 4.535 Preparing to unpack .../8-libalgorithm-diff-xs-perl_0.04-5+b1_amd64.deb ... 11:43:21 #5 4.539 Unpacking libalgorithm-diff-xs-perl (0.04-5+b1) ... 11:43:21 #5 4.562 Selecting previously unselected package libalgorithm-merge-perl. 11:43:21 #5 4.565 Preparing to unpack .../9-libalgorithm-merge-perl_0.08-3_all.deb ... 11:43:21 #5 4.568 Unpacking libalgorithm-merge-perl (0.08-3) ... 11:43:21 #5 4.597 Setting up libalgorithm-diff-perl (1.19.03-2) ... 11:43:21 #5 4.607 Setting up bzip2 (1.0.6-9.2~deb10u1) ... 11:43:21 #5 4.616 Setting up libfakeroot:amd64 (1.23-1) ... 11:43:21 #5 4.629 Setting up fakeroot (1.23-1) ... 11:43:21 #5 4.637 update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode 11:43:21 #5 4.645 Setting up xz-utils (5.2.4-1) ... 11:43:21 #5 4.653 update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode 11:43:21 #5 4.660 Setting up patch (2.7.6-3+deb10u1) ... 11:43:21 #5 4.669 Setting up libalgorithm-diff-xs-perl (0.04-5+b1) ... 11:43:21 #5 4.678 Setting up libalgorithm-merge-perl (0.08-3) ... 11:43:21 #5 4.686 Setting up dpkg-dev (1.19.7) ... 11:43:21 #5 4.700 Setting up build-essential (12.6) ... 11:43:21 #5 4.710 Processing triggers for libc-bin (2.28-10) ... 11:43:24 #5 DONE 7.7s 11:43:24 11:43:24 #6 [3/11] RUN curl -fsSL https://github.com/docker/compose/releases/downloa... 11:43:25 #6 DONE 1.1s 11:43:25 11:43:25 #7 [4/11] RUN curl -fsSL https://github.com/theupdateframework/notary/relea... 11:43:26 #7 DONE 1.0s 11:43:26 11:43:26 #8 [5/11] RUN curl -fsSL https://github.com/gotestyourself/gotestsum/releas... 11:43:27 #8 DONE 0.8s 11:43:27 11:43:27 #9 [6/11] WORKDIR /go/src/github.com/docker/cli 11:43:27 #9 DONE 0.0s 11:43:27 11:43:27 #11 [7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/... 11:43:27 #11 DONE 0.1s 11:43:27 11:43:27 #12 [8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-... 11:43:28 #12 0.630 Updating certificates in /etc/ssl/certs... 11:43:28 #12 1.091 1 added, 0 removed; done. 11:43:28 #12 1.091 Running hooks in /etc/ca-certificates/update.d... 11:43:28 #12 1.092 done. 11:43:28 #12 DONE 1.2s 11:43:28 11:43:28 #13 [9/11] COPY . . 11:43:29 #13 DONE 0.6s 11:43:29 11:43:29 #14 [10/11] RUN ./scripts/build/binary 11:43:29 #14 0.563 Building statically linked build/docker-linux-amd64 11:44:51 #14 DONE 68.6s 11:44:51 11:44:51 #15 [11/11] RUN ./scripts/build/plugins e2e/cli-plugins/plugins/* 11:44:51 #15 0.630 Building statically linked build/plugins-linux-amd64/docker-helloworld 11:44:51 #15 1.750 Building statically linked build/plugins-linux-amd64/docker-badmeta 11:44:51 #15 2.727 Building statically linked build/plugins-linux-amd64/docker-nopersistentprerun 11:44:51 #15 DONE 3.9s 11:44:51 11:44:51 #16 exporting to image 11:44:51 #16 exporting layers 11:44:51 #16 exporting layers 2.2s done 11:44:51 #16 writing image sha256:03c73b36f14382c3102af5228cf5d0775e08365379a62cacfd91a47027b96234 done 11:44:51 #16 naming to docker.io/library/docker-cli-e2eclie2e1 done 11:44:51 #16 DONE 2.2s 11:44:51 docker run --rm -v /var/run/docker.sock:/var/run/docker.sock -e VERSION=20.03.0-dev -e GITCOMMIT -e PLATFORM -e TESTFLAGS -e TESTDIRS -e GOOS -e GOARCH -e GOARM docker-cli-e2eclie2e1 11:44:51 Native build is an experimental feature and could change at any time 11:44:51 Creating network "cliendtoendsuite_default" with the default driver 11:44:51 Pulling registry (registry:2)... 11:44:51 2: Pulling from library/registry 11:44:51 Digest: sha256:7d081088e4bfd632a88e3f3bcd9e007ef44a796fddfe3261407a3f9f04abe1e7 11:44:51 Status: Downloaded newer image for registry:2 11:44:51 Pulling engine (docker:stable-dind)... 11:44:51 stable-dind: Pulling from library/docker 11:44:51 Digest: sha256:ba51388db2907f0f0d33b365f039f89b48bfe9e3a408c2211addd5357268f33a 11:44:51 Status: Downloaded newer image for docker:stable-dind 11:44:51 Building notary-server 11:44:51 #1 [internal] load build definition from Dockerfile.notary-server 11:44:51 #1 transferring dockerfile: 140B done 11:44:51 #1 DONE 0.0s 11:44:51 11:44:51 #2 [internal] load .dockerignore 11:44:51 #2 transferring context: 2B done 11:44:51 #2 DONE 0.0s 11:44:51 11:44:51 #3 [internal] load metadata for docker.io/library/notary:server-0.5.0 11:44:51 #3 DONE 0.3s 11:44:51 11:44:51 #5 [internal] load build context 11:44:51 #5 transferring context: 8.26kB done 11:44:51 #5 DONE 0.0s 11:44:51 11:44:51 #4 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447... 11:44:51 #4 resolve docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447a9818e7f16d0a02ba1d9905de71e5354bc8ee0017304a244 done 11:44:51 #4 sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde 0B / 2.21MB 0.1s 11:44:51 #4 sha256:176147d1183da92e05482a5560407bfc56af52bc61b1cb5bdb323d4c7d6a8867 411B / 411B 0.1s done 11:44:51 #4 sha256:9504875b8162730788ff7df926b72bcbb2bae4690f5195b6d62ec961ffc12056 0B / 4.03MB 0.1s 11:44:51 #4 sha256:070baad58e0d2d397143ab9f03defb8b016fc8d57eab900d496727c0e2e00292 0B / 377B 0.1s 11:44:51 #4 sha256:d59e4ecc20198447a9818e7f16d0a02ba1d9905de71e5354bc8ee0017304a244 434B / 434B done 11:44:51 #4 sha256:88bddb53072ae1b018b3b09ac1974be903800e3595ec31401fc3c73ffb66affd 1.36kB / 1.36kB done 11:44:51 #4 sha256:16b632e954ca01326ecc36ff0c7bb651baf9dcf92366b322b112f697193eb3d5 3.40kB / 3.40kB done 11:44:51 #4 sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde 2.21MB / 2.21MB 0.2s 11:44:51 #4 sha256:9504875b8162730788ff7df926b72bcbb2bae4690f5195b6d62ec961ffc12056 4.03MB / 4.03MB 0.2s 11:44:51 #4 sha256:070baad58e0d2d397143ab9f03defb8b016fc8d57eab900d496727c0e2e00292 377B / 377B 0.1s done 11:44:51 #4 sha256:b9ff31535c882e16ca7c737f9b9852e6b03e10cd1cd3fdf653beecdedf3dffff 1.19kB / 1.19kB 0.2s 11:44:51 #4 extracting sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde 11:44:51 #4 sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde 2.21MB / 2.21MB 0.2s done 11:44:51 #4 sha256:9504875b8162730788ff7df926b72bcbb2bae4690f5195b6d62ec961ffc12056 4.03MB / 4.03MB 0.2s done 11:44:51 #4 sha256:b9ff31535c882e16ca7c737f9b9852e6b03e10cd1cd3fdf653beecdedf3dffff 1.19kB / 1.19kB 0.2s done 11:44:51 #4 extracting sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde 0.1s done 11:44:51 #4 extracting sha256:176147d1183da92e05482a5560407bfc56af52bc61b1cb5bdb323d4c7d6a8867 done 11:44:51 #4 extracting sha256:9504875b8162730788ff7df926b72bcbb2bae4690f5195b6d62ec961ffc12056 11:44:51 #4 extracting sha256:9504875b8162730788ff7df926b72bcbb2bae4690f5195b6d62ec961ffc12056 0.2s done 11:44:51 #4 extracting sha256:070baad58e0d2d397143ab9f03defb8b016fc8d57eab900d496727c0e2e00292 done 11:44:51 #4 extracting sha256:b9ff31535c882e16ca7c737f9b9852e6b03e10cd1cd3fdf653beecdedf3dffff done 11:44:51 #4 DONE 0.9s 11:44:51 11:44:51 #6 [2/2] COPY ./notary/ /fixtures/ 11:44:51 #6 DONE 0.4s 11:44:51 11:44:51 #7 exporting to image 11:44:51 #7 exporting layers 0.0s done 11:44:51 #7 writing image sha256:c55fc994f5b9c634b94ee5d087727aea80249f81bd04e62cb3cf53cbc1822064 done 11:44:51 #7 naming to docker.io/library/cliendtoendsuite_notary-server done 11:44:51 #7 DONE 0.0s 11:44:51 Successfully built c55fc994f5b9c634b94ee5d087727aea80249f81bd04e62cb3cf53cbc1822064 11:44:51 Building evil-notary-server 11:44:51 #2 [internal] load .dockerignore 11:44:51 #2 transferring context: 2B done 11:44:51 #2 DONE 0.0s 11:44:51 11:44:51 #1 [internal] load build definition from Dockerfile.evil-notary-server 11:44:51 #1 transferring dockerfile: 150B done 11:44:51 #1 DONE 0.0s 11:44:51 11:44:51 #3 [internal] load metadata for docker.io/library/notary:server-0.5.0 11:44:51 #3 DONE 0.1s 11:44:51 11:44:51 #4 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447... 11:44:51 #4 CACHED 11:44:51 11:44:51 #5 [internal] load build context 11:44:51 #5 transferring context: 8.29kB done 11:44:51 #5 DONE 0.0s 11:44:51 11:44:51 #6 [2/2] COPY ./notary-evil/ /fixtures/ 11:44:51 #6 DONE 0.1s 11:44:51 11:44:51 #7 exporting to image 11:44:51 #7 exporting layers 0.0s done 11:44:51 #7 writing image sha256:c0aaef7d285d99ff9e9d2ce5480e477dbc6c7ccd43ad3ebcf3afc9db105033db done 11:44:51 #7 naming to docker.io/library/cliendtoendsuite_evil-notary-server done 11:44:51 #7 DONE 0.0s 11:44:51 Successfully built c0aaef7d285d99ff9e9d2ce5480e477dbc6c7ccd43ad3ebcf3afc9db105033db 11:44:51 Creating cliendtoendsuite_evil-notary-server_1 ... 11:44:51 Creating cliendtoendsuite_engine_1 ... 11:44:51 Creating cliendtoendsuite_registry_1 ... 11:44:51 Creating cliendtoendsuite_notary-server_1 ... 11:44:55  Creating cliendtoendsuite_engine_1 ... done  Creating cliendtoendsuite_registry_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 11:44:55 Client: 11:44:55 Version: 20.03.0-dev 11:44:55 API version: 1.40 (downgraded from 1.41) 11:44:55 Go version: go1.13.9 11:44:55 Git commit: 11:44:55 Built: Thu Apr 9 11:43:29 2020 11:44:55 OS/Arch: linux/amd64 11:44:55 Experimental: false 11:44:55 11:44:55 Server: Docker Engine - Community 11:44:55 Engine: 11:44:55 Version: 19.03.8 11:44:55 API version: 1.40 (minimum version 1.12) 11:44:55 Go version: go1.12.17 11:44:55 Git commit: afacb8b7f0 11:44:55 Built: Wed Mar 11 01:30:32 2020 11:44:55 OS/Arch: linux/amd64 11:44:55 Experimental: false 11:44:55 containerd: 11:44:55 Version: v1.2.13 11:44:55 GitCommit: 7ad184331fa3e55e52b890ea95e65ba581ae3429 11:44:55 runc: 11:44:55 Version: 1.0.0-rc10 11:44:55 GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd 11:44:55 docker-init: 11:44:55 Version: 0.18.0 11:44:55 GitCommit: fec3683 11:44:56 sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d: Pulling from library/alpine 11:44:56 88286f41530e: Pulling fs layer 11:44:56 88286f41530e: Download complete 11:44:56 88286f41530e: Pull complete 11:44:56 Digest: sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d 11:44:56 Status: Downloaded newer image for alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d 11:44:56 docker.io/library/alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d 11:44:56 The push refers to repository [registry:5000/alpine] 11:44:56 5bef08742407: Preparing 11:44:56 5bef08742407: Pushed 11:44:56 3.6: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 11:44:56 sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7: Pulling from library/busybox 11:44:56 03b1be98f3f9: Pulling fs layer 11:44:57 03b1be98f3f9: Verifying Checksum 11:44:57 03b1be98f3f9: Download complete 11:44:57 03b1be98f3f9: Pull complete 11:44:57 Digest: sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7 11:44:57 Status: Downloaded newer image for busybox@sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7 11:44:57 docker.io/library/busybox@sha256:3e8fa85ddfef1af9ca85a5cfb714148956984e02f00bec3f7f49d3925a91e0e7 11:44:57 The push refers to repository [registry:5000/busybox] 11:44:57 6a749002dd6a: Preparing 11:44:57 6a749002dd6a: Pushed 11:44:57 1.27.2: digest: sha256:030fcb92e1487b18c974784dcc110a93147c9fc402188370fbfd17efabffc6af size: 527 11:44:58 Swarm initialized: current node (y315ahi52sxz4cuy6s0x6b552) is now a manager. 11:44:58 11:44:58 To add a worker to this swarm, run the following command: 11:44:58 11:44:58 docker swarm join --token SWMTKN-1-5gab4p6f74p2glv7gi2girth3g63ap9m2l8s753boc058u4962-d4z8aje8k7g46le883sxap1lo 172.18.0.3:2377 11:44:58 11:44:58 To add a manager to this swarm, run 'docker swarm join-token manager' and follow the instructions. 11:44:58 11:45:16 ✓ e2e/cli-plugins (2.572s) 11:45:16 ∅ e2e/cli-plugins/plugins/badmeta 11:45:16 ∅ e2e/cli-plugins/plugins/nopersistentprerun 11:45:16 ✓ e2e/context (61ms) 11:45:16 ✓ e2e/global (110ms) 11:45:17 ✖ e2e/container (4.757s) 11:45:20 ✖ e2e/image (4.258s) 11:45:20 ∅ e2e/internal/fixtures 11:45:20 ✖ e2e/plugin (2.355s) 11:45:20 ∅ e2e/plugin/basic 11:45:20 ✓ e2e/stack (592ms) 11:45:21 ✓ e2e/system (61ms) 11:45:22 ✖ e2e/trust (494ms) 11:45:22 11:45:22 === Skipped 11:45:22 === SKIP: e2e/cli-plugins TestCLIPluginDialStdio (0.00s) 11:45:22 dial_test.go:16: skipping plugin dial-stdio test since DOCKER_CLI_PLUGIN_USE_DIAL_STDIO is not set 11:45:22 11:45:22 === SKIP: e2e/container TestRunWithCgroupNamespace (0.07s) 11:45:22 run_test.go:141: !cgroupNsFound: running against a daemon that doesn't support cgroup namespaces (security options: [name=apparmor name=seccomp,profile=default] 11:45:22 ) 11:45:22 11:45:22 === SKIP: e2e/image TestBuildIidFileSquash (0.06s) 11:45:22 build_test.go:112: !experimentalBuild: running against a non-experimental daemon 11:45:22 11:45:22 === SKIP: e2e/stack TestDeployWithNamedResources/Kubernetes (0.00s) 11:45:22 --- SKIP: TestDeployWithNamedResources/Kubernetes (0.00s) 11:45:22 deploy_test.go:22: FIXME(chris-crone): currently does not work with compose for kubernetes. 11:45:22 11:45:22 === SKIP: e2e/stack TestRemove/Kubernetes (0.00s) 11:45:22 --- SKIP: TestRemove/Kubernetes (0.00s) 11:45:22 remove_test.go:22: !environment.KubernetesEnabled() 11:45:22 11:45:22 11:45:22 === Failed 11:45:22 === FAIL: e2e/container TestCreateWithContentTrust (0.29s) 11:45:22 create_test.go:18: assertion failed: 11:45:22 Command: docker image push registry:5000/trust-create:latest 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: The push refers to repository [registry:5000/trust-create] 11:45:22 5bef08742407: Preparing 11:45:22 5bef08742407: Mounted from alpine 11:45:22 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 11:45:22 Signing and pushing trust metadata 11:45:22 11:45:22 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 ExitCode was 1 expected 0 11:45:22 Expected no error 11:45:22 11:45:22 === FAIL: e2e/container TestTrustedCreateFromUnreachableTrustServer (0.22s) 11:45:22 create_test.go:38: assertion failed: 11:45:22 Command: docker image push registry:5000/trust-create:latest 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: The push refers to repository [registry:5000/trust-create] 11:45:22 5bef08742407: Preparing 11:45:22 5bef08742407: Layer already exists 11:45:22 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 11:45:22 Signing and pushing trust metadata 11:45:22 11:45:22 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 ExitCode was 1 expected 0 11:45:22 Expected no error 11:45:22 11:45:22 === FAIL: e2e/container TestTrustedCreateFromBadTrustServer (0.22s) 11:45:22 create_test.go:66: assertion failed: 11:45:22 Command: docker image push registry:5000/evil-alpine:latest 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: The push refers to repository [registry:5000/evil-alpine] 11:45:22 5bef08742407: Preparing 11:45:22 5bef08742407: Mounted from trust-create 11:45:22 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 11:45:22 Signing and pushing trust metadata 11:45:22 11:45:22 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 ExitCode was 1 expected 0 11:45:22 Expected no error 11:45:22 11:45:22 === FAIL: e2e/container TestRunWithContentTrust (0.25s) 11:45:22 run_test.go:36: assertion failed: 11:45:22 Command: docker image push registry:5000/trust-run:latest 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: The push refers to repository [registry:5000/trust-run] 11:45:22 5bef08742407: Preparing 11:45:22 5bef08742407: Mounted from trust-create 11:45:22 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 11:45:22 Signing and pushing trust metadata 11:45:22 11:45:22 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 ExitCode was 1 expected 0 11:45:22 Expected no error 11:45:22 11:45:22 === FAIL: e2e/container TestUntrustedRun (0.15s) 11:45:22 run_test.go:70: assertion failed: 11:45:22 Command: docker run registry:5000/alpine:untrusted 11:45:22 ExitCode: 125 11:45:22 Error: exit status 125 11:45:22 Stdout: 11:45:22 Stderr: docker: Error: error contacting notary server: x509: certificate has expired or is not yet valid. 11:45:22 See 'docker run --help'. 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 Expected stderr to contain "does not have trust data for" 11:45:22 11:45:22 === FAIL: e2e/container TestTrustedRunFromBadTrustServer (0.14s) 11:45:22 run_test.go:90: assertion failed: 11:45:22 Command: docker image push registry:5000/evil-alpine:latest 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: The push refers to repository [registry:5000/evil-alpine] 11:45:22 5bef08742407: Preparing 11:45:22 5bef08742407: Layer already exists 11:45:22 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 11:45:22 Signing and pushing trust metadata 11:45:22 11:45:22 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 ExitCode was 1 expected 0 11:45:22 Expected no error 11:45:22 11:45:22 === FAIL: e2e/image TestTrustedBuild (0.31s) 11:45:22 build_test.go:56: assertion failed: 11:45:22 Command: docker image push registry:5000/trust-build1:latest 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: The push refers to repository [registry:5000/trust-build1] 11:45:22 5bef08742407: Preparing 11:45:22 5bef08742407: Mounted from trust-run 11:45:22 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 11:45:22 Signing and pushing trust metadata 11:45:22 11:45:22 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 ExitCode was 1 expected 0 11:45:22 Expected no error 11:45:22 11:45:22 === FAIL: e2e/image TestTrustedBuildUntrustedImage (0.16s) 11:45:22 build_test.go:105: assertion failed: 11:45:22 Command: docker build -t myimage . 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: Sending build context to Docker daemon 11:45:22 11:45:22 11:45:22 Stderr: error during connect: Post http://172.18.0.3:2375/v1.40/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=myimage&target=&ulimits=null&version=1: Error: error contacting notary server: x509: certificate has expired or is not yet valid 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 Expected stderr to contain "does not have trust data for" 11:45:22 11:45:22 === FAIL: e2e/image TestPullWithContentTrust (0.29s) 11:45:22 pull_test.go:22: assertion failed: 11:45:22 Command: docker image push registry:5000/trust-pull:latest 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: The push refers to repository [registry:5000/trust-pull] 11:45:22 5bef08742407: Preparing 11:45:22 5bef08742407: Mounted from trust-build1 11:45:22 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 11:45:22 Signing and pushing trust metadata 11:45:22 11:45:22 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 ExitCode was 1 expected 0 11:45:22 Expected no error 11:45:22 11:45:22 === FAIL: e2e/image TestPullWithContentTrustUsesCacheWhenNotaryUnavailable (0.27s) 11:45:22 pull_test.go:49: assertion failed: 11:45:22 Command: docker image push registry:5000/trust-pull-unreachable:latest 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: The push refers to repository [registry:5000/trust-pull-unreachable] 11:45:22 5bef08742407: Preparing 11:45:22 5bef08742407: Mounted from trust-pull 11:45:22 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 11:45:22 Signing and pushing trust metadata 11:45:22 11:45:22 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 ExitCode was 1 expected 0 11:45:22 Expected no error 11:45:22 11:45:22 === FAIL: e2e/image TestPushWithContentTrust (0.32s) 11:45:22 push_test.go:64: assertion failed: 11:45:22 Command: docker push registry:5000/trust-push:latest 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: The push refers to repository [registry:5000/trust-push] 11:45:22 5bef08742407: Preparing 11:45:22 5bef08742407: Mounted from evil-alpine 11:45:22 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 11:45:22 Signing and pushing trust metadata 11:45:22 11:45:22 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 ExitCode was 1 expected 0 11:45:22 Expected no error 11:45:22 11:45:22 === FAIL: e2e/image TestPushWithContentTrustExistingTag (0.35s) 11:45:22 push_test.go:118: assertion failed: 11:45:22 Command: docker push registry:5000/trust-push-existing:latest 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: The push refers to repository [registry:5000/trust-push-existing] 11:45:22 5bef08742407: Preparing 11:45:22 5bef08742407: Layer already exists 11:45:22 latest: digest: sha256:641b95ddb2ea9dc2af1a0113b6b348ebc20872ba615204fbe12148e98fd6f23d size: 528 11:45:22 Signing and pushing trust metadata 11:45:22 11:45:22 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 ExitCode was 1 expected 0 11:45:22 Expected no error 11:45:22 11:45:22 === FAIL: e2e/image TestPushWithContentTrustReleasesDelegationOnly (0.14s) 11:45:22 push_test.go:373: assertion failed: 11:45:22 Command: /usr/local/bin/notary -c /tmp/notary_test-983067879/client-config.json init registry:5000/trust-push-releases-delegation 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: 11:45:22 * fatal: client is offline 11:45:22 11:45:22 Stderr: time="2020-04-09T11:45:19Z" level=error msg="could not reach https://notary-server:4443: Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 ExitCode was 1 expected 0 11:45:22 Expected no error 11:45:22 11:45:22 === FAIL: e2e/image TestPushWithContentTrustSignsAllFirstLevelRolesWeHaveKeysFor (0.14s) 11:45:22 push_test.go:373: assertion failed: 11:45:22 Command: /usr/local/bin/notary -c /tmp/notary_test-241561436/client-config.json init registry:5000/trust-push-releases-first-roles 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: 11:45:22 * fatal: client is offline 11:45:22 11:45:22 Stderr: time="2020-04-09T11:45:19Z" level=error msg="could not reach https://notary-server:4443: Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 ExitCode was 1 expected 0 11:45:22 Expected no error 11:45:22 11:45:22 === FAIL: e2e/image TestPushWithContentTrustSignsForRolesWithKeysAndValidPaths (0.14s) 11:45:22 push_test.go:373: assertion failed: 11:45:22 Command: /usr/local/bin/notary -c /tmp/notary_test-028181365/client-config.json init registry:5000/trust-push-releases-keys-valid-paths 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: 11:45:22 * fatal: client is offline 11:45:22 11:45:22 Stderr: time="2020-04-09T11:45:19Z" level=error msg="could not reach https://notary-server:4443: Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 ExitCode was 1 expected 0 11:45:22 Expected no error 11:45:22 11:45:22 === FAIL: e2e/plugin TestInstallWithContentTrust (2.19s) 11:45:22 trust_test.go:41: assertion failed: 11:45:22 Command: docker plugin push registry:5000/plugin-content-trust 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: The push refers to repository [registry:5000/plugin-content-trust] 11:45:22 faf3cb2e0415: Preparing 11:45:22 faf3cb2e0415: Pushed 11:45:22 latest: digest: sha256:190daeefc998e5d7b700ac0eb9b477ddf275de5c0a5b50040b0c9dc9407ec754 size: 518 11:45:22 Signing and pushing trust metadata 11:45:22 11:45:22 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 ExitCode was 1 expected 0 11:45:22 Expected no error 11:45:22 11:45:22 === FAIL: e2e/plugin TestInstallWithContentTrustUntrusted (0.16s) 11:45:22 trust_test.go:68: assertion failed: 11:45:22 Command: docker plugin install --grant-all-permissions tiborvass/sample-volume-plugin:latest 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: 11:45:22 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 Expected stderr to contain "Error: remote trust data does not exist" 11:45:22 11:45:22 === FAIL: e2e/trust TestRevokeImage (0.12s) 11:45:22 revoke_test.go:55: assertion failed: 11:45:22 Command: docker -D trust sign registry:5000/revoke:v1 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: 11:45:22 Stderr: time="2020-04-09T11:45:21Z" level=debug msg="reading certificate directory: /tmp/trust_test-159057041/tls/notary-server:4443" 11:45:22 time="2020-04-09T11:45:21Z" level=debug msg="Error pinging notary server \"https://notary-server:4443/v2/\": Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" 11:45:22 time="2020-04-09T11:45:21Z" level=debug msg="Making dir path: /tmp/trust_test-159057041/trust/tuf/registry:5000/revoke/changelist" 11:45:22 Error: error contacting notary server: x509: certificate has expired or is not yet valid 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 ExitCode was 1 expected 0 11:45:22 Expected no error 11:45:22 11:45:22 === FAIL: e2e/trust TestRevokeRepo (0.13s) 11:45:22 revoke_test.go:64: assertion failed: 11:45:22 Command: docker -D trust sign registry:5000/revokerepo:v1 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: 11:45:22 Stderr: time="2020-04-09T11:45:21Z" level=debug msg="reading certificate directory: /tmp/trust_test-766047420/tls/notary-server:4443" 11:45:22 time="2020-04-09T11:45:21Z" level=debug msg="Error pinging notary server \"https://notary-server:4443/v2/\": Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" 11:45:22 time="2020-04-09T11:45:21Z" level=debug msg="Making dir path: /tmp/trust_test-766047420/trust/tuf/registry:5000/revokerepo/changelist" 11:45:22 Error: error contacting notary server: x509: certificate has expired or is not yet valid 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 ExitCode was 1 expected 0 11:45:22 Expected no error 11:45:22 11:45:22 === FAIL: e2e/trust TestSignLocalImage (0.12s) 11:45:22 sign_test.go:32: assertion failed: 11:45:22 Command: docker trust sign registry:5000/sign:v1 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: 11:45:22 Stderr: Error: error contacting notary server: x509: certificate has expired or is not yet valid 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 ExitCode was 1 expected 0 11:45:22 Expected no error 11:45:22 11:45:22 === FAIL: e2e/trust TestSignWithLocalFlag (0.12s) 11:45:22 sign_test.go:57: assertion failed: 11:45:22 Command: docker -D trust sign registry:5000/signlocal:v1 11:45:22 ExitCode: 1 11:45:22 Error: exit status 1 11:45:22 Stdout: 11:45:22 Stderr: time="2020-04-09T11:45:21Z" level=debug msg="reading certificate directory: /tmp/trust_test-431469902/tls/notary-server:4443" 11:45:22 time="2020-04-09T11:45:21Z" level=debug msg="Error pinging notary server \"https://notary-server:4443/v2/\": Get https://notary-server:4443/v2/: x509: certificate has expired or is not yet valid" 11:45:22 time="2020-04-09T11:45:21Z" level=debug msg="Making dir path: /tmp/trust_test-431469902/trust/tuf/registry:5000/signlocal/changelist" 11:45:22 Error: error contacting notary server: x509: certificate has expired or is not yet valid 11:45:22 11:45:22 11:45:22 Failures: 11:45:22 ExitCode was 1 expected 0 11:45:22 Expected no error 11:45:22 11:45:22 11:45:22 DONE 94 tests, 5 skipped, 21 failures in 23.809s 11:45:22 Stopping cliendtoendsuite_notary-server_1 ... 11:45:22 Stopping cliendtoendsuite_registry_1 ... 11:45:22 Stopping cliendtoendsuite_engine_1 ... 11:45:22 Stopping cliendtoendsuite_evil-notary-server_1 ... 11:45:23  Stopping cliendtoendsuite_registry_1 ... done  Stopping cliendtoendsuite_evil-notary-server_1 ... done  Stopping cliendtoendsuite_notary-server_1 ... done  Stopping cliendtoendsuite_engine_1 ... done Removing cliendtoendsuite_notary-server_1 ... 11:45:23 Removing cliendtoendsuite_registry_1 ... 11:45:23 Removing cliendtoendsuite_engine_1 ... 11:45:23 Removing cliendtoendsuite_evil-notary-server_1 ... 11:45:23  Removing cliendtoendsuite_notary-server_1 ... done  Removing cliendtoendsuite_evil-notary-server_1 ... done  Removing cliendtoendsuite_registry_1 ... done  Removing cliendtoendsuite_engine_1 ... done Removing network cliendtoendsuite_default 11:45:23 Removing image cliendtoendsuite_notary-server 11:45:23 Removing image cliendtoendsuite_evil-notary-server 11:45:24 docker.Makefile:152: recipe for target 'test-e2e-non-experimental' failed 11:45:24 make: *** [test-e2e-non-experimental] Error 1 [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline GitHub has been notified of this commit’s build result ERROR: script returned exit code 2 Finished: FAILURE