Skip to content
Failed

Console Output

Pull request #3197 updated
13:03:27 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from 685566dcd841f2a37518236cd38a6d2e32a98b31+62325a6abbefb8314a79b4c1c7b27129e5dfff56 (cfa1fadda67bd2145fcf411e57353ec592421814)
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-3197@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-087bb6aa75e07d891) in /home/ubuntu/workspace/cli_PR-3197
[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 62325a6abbefb8314a79b4c1c7b27129e5dfff56 into PR head commit 685566dcd841f2a37518236cd38a6d2e32a98b31
Merge succeeded, producing 685566dcd841f2a37518236cd38a6d2e32a98b31
Checking out Revision 685566dcd841f2a37518236cd38a6d2e32a98b31 (PR-3197)
Commit message: "update go-connections"
 > git rev-parse --resolve-git-dir /home/ubuntu/workspace/cli_PR-3197/.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/3197/head:refs/remotes/origin/PR-3197 +refs/heads/master:refs/remotes/origin/master # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 685566dcd841f2a37518236cd38a6d2e32a98b31 # 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 62325a6abbefb8314a79b4c1c7b27129e5dfff56 # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 685566dcd841f2a37518236cd38a6d2e32a98b31 # timeout=10
 > git rev-list --no-walk 118a8a1928764d47ac5c4a0200f8bd61845f089c # 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: 10
 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.487GiB
 Name: ip-10-100-112-222
 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=clie2e9 IMAGE_TAG=clie2e9 make -f docker.Makefile test-e2e-non-experimental
docker build -t docker-cli-e2eclie2e9 --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:daffe8e8a06801fb8db4cd0e0c7c725f70126fff8edffbea973d415bdbea2828
#1 transferring dockerfile: 1.67kB done
#1 DONE 0.0s

#2 [internal] load .dockerignore
#2 sha256:8884353c958bd0bcef76f69228fa4229b7ff940d48cd852498901b017ef7be95
#2 transferring context: 112B 0.0s done
#2 DONE 0.0s

#3 [internal] load metadata for docker.io/library/golang:1.16.6-buster
#3 sha256:d720b104ffb4d08cfe3071ebec3e70264008e18c25bbf51555e7bf1acb0818a7
#3 DONE 0.1s

#4 [ 1/11] FROM docker.io/library/golang:1.16.6-buster@sha256:777d13e40bc15456dceac9b37f926bd7b4c237645da9ff8e3c94d7a4916a909b
#4 sha256:8cfbb4990e790dc2e303f70f5b75dc0efc89842a225c994f84141b8eeb09f331
#4 DONE 0.0s

#10 [internal] load build context
#10 sha256:3eb60ce8531a5f8a6fc35e3b2b602d265d967ad5eff5957e3bad822a9931d59b
#10 transferring context: 83.66MB 1.5s done
#10 DONE 1.6s

#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:f30eba69ef7828c69f190be7ac8e09efc3761d8107b12261094015a06974ad04
#8 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:a7c03aafbb9a5c5913d9928c2a7e46320233f2ce2cfbd68d663af7a549721a5b
#5 CACHED

#11 [ 7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/notary.cert
#11 sha256:0a715ccdf1d240e1871ddcc1cb3e6f0864ae341b8352956c29860b686da008b9
#11 CACHED

#6 [ 3/11] RUN curl -fsSL https://github.com/docker/compose/releases/download/1.25.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose     && chmod +x /usr/local/bin/docker-compose
#6 sha256:ca762d9c998fa8504cb1faee7aeffd76a6e0d7f5699ca812e9afec32b717dc88
#6 CACHED

#7 [ 4/11] RUN curl -fsSL https://github.com/theupdateframework/notary/releases/download/v0.6.1/notary-Linux-amd64 -o /usr/local/bin/notary     && chmod +x /usr/local/bin/notary
#7 sha256:9e44bc4ac3b7bf2d3b142fe12b77dcc1819506b61fa515f70b910dc5d49041b6
#7 CACHED

#9 [ 6/11] WORKDIR /go/src/github.com/docker/cli
#9 sha256:f465be6637d8c905cb6f372be1c04c91852348af390c692ce5c5f64265862e5c
#9 CACHED

#12 [ 8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-certificates
#12 sha256:198973308e23c63c645986260ac5d2797752e3f48adb11493f95f4b755d18c2a
#12 CACHED

#13 [ 9/11] COPY . .
#13 sha256:cfe035d59fe10b7c31ec585c318d6a08a6613c63b6942a3a04b00429deb20875
#13 DONE 1.4s

#14 [10/11] RUN ./scripts/build/binary
#14 sha256:ac8d07c32df58e5e22b76bcd27512f9472fe08f3d1ac3254ed294c6f777f15b5
#14 0.421 Building static docker-linux-amd64
#14 DONE 74.4s

#15 [11/11] RUN ./scripts/build/plugins e2e/cli-plugins/plugins/*
#15 sha256:f3f75c7b373235e4012d7663aefe9caf59d3d9ea9be51334d3b1b89a32ffdbcf
#15 0.461 Building statically linked build/plugins-linux-amd64/docker-helloworld
#15 2.252 Building statically linked build/plugins-linux-amd64/docker-badmeta
#15 2.790 Building statically linked build/plugins-linux-amd64/docker-nopersistentprerun
#15 DONE 3.8s

#16 exporting to image
#16 sha256:e8c613e07b0b7ff33893b694f7759a10d42e180f2b4dc349fb57dc6b71dcab00
#16 exporting layers
#16 exporting layers 2.7s done
#16 writing image sha256:bccdf26db1cedc73c87977a9d453c6fa6cee1a2c59c7692dbb7a81b2857d0958 done
#16 naming to docker.io/library/docker-cli-e2eclie2e9 done
#16 DONE 2.7s
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-e2eclie2e9
Native build is an experimental feature and could change at any time
Creating network "cliendtoendsuite_default" with the default driver
Building notary-server
#1 [internal] load build definition from Dockerfile.notary-server
#1 transferring dockerfile: 140B done
#1 DONE 0.0s

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

#3 [internal] load metadata for docker.io/library/notary:server-0.5.0
#3 DONE 0.1s

#6 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447a9818e7f16d0a02ba1d9905de71e5354bc8ee0017304a244
#6 DONE 0.0s

#5 [internal] load build context
#5 transferring context: 5.70kB done
#5 DONE 0.0s

#4 [2/2] COPY ./notary/ /fixtures/
#4 CACHED

#7 exporting to image
#7 exporting layers done
#7 writing image sha256:4af5e0c360d8fbc562ed80f18e5634b4cbb8956e916067deb35cd39e5214124c done
#7 naming to docker.io/library/cliendtoendsuite_notary-server done
#7 DONE 0.0s
Successfully built 4af5e0c360d8fbc562ed80f18e5634b4cbb8956e916067deb35cd39e5214124c
Building evil-notary-server
#1 [internal] load build definition from Dockerfile.evil-notary-server
#1 transferring dockerfile: 150B done
#1 DONE 0.0s

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

#3 [internal] load metadata for docker.io/library/notary:server-0.5.0
#3 DONE 0.1s

#4 [1/2] FROM docker.io/library/notary:server-0.5.0@sha256:d59e4ecc20198447a9818e7f16d0a02ba1d9905de71e5354bc8ee0017304a244
#4 DONE 0.0s

#5 [internal] load build context
#5 transferring context: 5.73kB done
#5 DONE 0.0s

#6 [2/2] COPY ./notary-evil/ /fixtures/
#6 CACHED

#7 exporting to image
#7 exporting layers done
#7 writing image sha256:6f94887c45e0fd732363936386eded3f348604c8c4d66d18cfd96970121292a6 done
#7 naming to docker.io/library/cliendtoendsuite_evil-notary-server done
#7 DONE 0.0s
Successfully built 6f94887c45e0fd732363936386eded3f348604c8c4d66d18cfd96970121292a6
Creating cliendtoendsuite_evil-notary-server_1 ... 
Creating cliendtoendsuite_notary-server_1      ... 
Creating cliendtoendsuite_registry_1           ... 
Creating cliendtoendsuite_engine_1             ... 

Creating cliendtoendsuite_evil-notary-server_1 ... done

Creating cliendtoendsuite_registry_1           ... done

Creating cliendtoendsuite_engine_1             ... done

Creating cliendtoendsuite_notary-server_1      ... done
Waiting for docker daemon to become available at tcp://192.168.32.3:2375
Client:
 Version:           20.10.0-dev
 API version:       1.41
 Go version:        go1.16.6
 Git commit:        685566dcd
 Built:             Thu Jul 22 13:03:34 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
docker.io/library/alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d: Pulling from library/alpine
Digest: sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d
Status: Image is up to date for alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d
docker.io/library/alpine@sha256:f006ecbb824d87947d0b51ab8488634bf69fe4094959d935c0c103f4820a417d
The push refers to repository [registry:5000/alpine]
Get https://registry:5000/v2/: dial tcp: lookup registry: Temporary failure in name resolution
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