Skip to content
Failed

Console Output

Pull request #2708 updated
00:22:15 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Loading trusted files from base branch master at 75598aa92a3260f74dbe04b7c3cd307c1781c528 rather than fd1e963dad954f07d5e19f56f5205346ab951a9e
Obtained Jenkinsfile from 75598aa92a3260f74dbe04b7c3cd307c1781c528
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
using credential jps-reader
 > git rev-parse --is-inside-work-tree # 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-020976aab6c76f5a2) in /home/ubuntu/workspace/cli_PR-2708
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
using credential docker-jenkins-github-credentials
Fetching changes from the remote Git repository
Fetching without tags
 > git rev-parse --is-inside-work-tree # 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/2708/head:refs/remotes/origin/PR-2708 +refs/heads/master:refs/remotes/origin/master # timeout=10
Merging remotes/origin/master commit 75598aa92a3260f74dbe04b7c3cd307c1781c528 into PR head commit fd1e963dad954f07d5e19f56f5205346ab951a9e
Merge succeeded, producing fd1e963dad954f07d5e19f56f5205346ab951a9e
Checking out Revision fd1e963dad954f07d5e19f56f5205346ab951a9e (PR-2708)
Commit message: "Adjust error return"
 > git config core.sparsecheckout # timeout=10
 > git checkout -f fd1e963dad954f07d5e19f56f5205346ab951a9e # 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 75598aa92a3260f74dbe04b7c3cd307c1781c528 # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f fd1e963dad954f07d5e19f56f5205346ab951a9e # timeout=10
 > git rev-list --no-walk 187d78dd3813ef4a8b9484300b0c59a1f0e39887 # 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:           19.03.12
 API version:       1.40
 Go version:        go1.13.10
 Git commit:        48a66213fe
 Built:             Mon Jun 22 15:45:36 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:44:07 2020
  OS/Arch:          linux/amd64
  Experimental:     true
 containerd:
  Version:          1.2.13
  GitCommit:        7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc:
  Version:          1.0.0-rc10
  GitCommit:        dc9208a3303feef5b3839f4323d9beb36df0a9dd
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683
[Pipeline] sh
+ docker info
Client:
 Debug Mode: false

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 8
 Server Version: 19.03.12
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 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: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 5.3.0-1035-aws
 Operating System: Ubuntu 18.04.5 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 2
 Total Memory: 7.487GiB
 Name: ip-10-100-80-185
 ID: VHCT:TLUC:R2VO:YIWO:QRPS:LVDE:GNIX:P4Z4:AVYF:EKOW:UMYI:VEID
 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=clie2e11 IMAGE_TAG=clie2e11 DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e-non-experimental
docker build -t docker-cli-e2eclie2e11 --build-arg=GO_VERSION --build-arg VERSION=20.03.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e .
#2 [internal] load .dockerignore
#2 transferring context: 34B done
#2 DONE 0.0s

#1 [internal] load build definition from Dockerfile.e2e
#1 transferring dockerfile: 42B done
#1 DONE 0.0s

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

#4 [1/11] FROM docker.io/library/golang:1.13.15-buster@sha256:66a3f6817c129...
#4 DONE 0.0s

#10 [internal] load build context
#10 transferring context: 405.16kB 0.2s done
#10 DONE 0.2s

#5 [2/11] RUN apt-get update && apt-get install -y     build-essential     ...
#5 CACHED

#8 [5/11] RUN curl -fsSL https://github.com/gotestyourself/gotestsum/releas...
#8 CACHED

#7 [4/11] RUN curl -fsSL https://github.com/theupdateframework/notary/relea...
#7 CACHED

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

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

#6 [3/11] RUN curl -fsSL https://github.com/docker/compose/releases/downloa...
#6 CACHED

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

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

#14 [10/11] RUN ./scripts/build/binary
#14 0.389 Building statically linked build/docker-linux-amd64
#14 29.92 # github.com/docker/cli/cli/command/container
#14 29.92 cli/command/container/cp.go:279:5: syntax error: unexpected return, expecting expression
#14 29.92 cli/command/container/cp.go:283:5: syntax error: unexpected return, expecting expression
#14 29.92 cli/command/container/cp.go:344:6: syntax error: unexpected splitCpArg, expecting (
#14 29.92 cli/command/container/cp.go:361:6: syntax error: unexpected getDirectorySize, expecting (
#14 29.92 cli/command/container/cp.go:375:6: syntax error: unexpected getFileSize, expecting (
#14 ERROR: executor failed running [/bin/sh -c ./scripts/build/binary]: runc did not terminate sucessfully
------
 > [10/11] RUN ./scripts/build/binary:
------
failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c ./scripts/build/binary]: runc did not terminate sucessfully
docker.Makefile:55: recipe for target 'build_e2e_image' failed
make: *** [build_e2e_image] Error 1
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (e2e (non-experimental) - 18.09 engine)
Stage "e2e (non-experimental) - 18.09 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