Skip to content
Failed

Console Output

Pull request #1940 updated
11:03:27 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Loading trusted files from base branch master at 4538b15038e54b3dfa2ed5f95d50de6f36d03453 rather than 7d0c25a6ef65c252ca34930c59faa3b906fbf3b7
Obtained Jenkinsfile from 4538b15038e54b3dfa2ed5f95d50de6f36d03453
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 26028d2ce48352c9b2c3f496e963b79a4944a426
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
using GIT_ASKPASS to set credentials GitHub credentials for docker/jps
 > git fetch --no-tags --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master
Checking out Revision 26028d2ce48352c9b2c3f496e963b79a4944a426 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 26028d2ce48352c9b2c3f496e963b79a4944a426
Commit message: "[TAR-1227] Run the sonar container as the current user (#17)"
 > git rev-list --no-walk 26028d2ce48352c9b2c3f496e963b79a4944a426 # timeout=10
[Pipeline] Start of Pipeline
[Pipeline] node
Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0ce8aa7b1f2e6a96d) in /home/ubuntu/workspace/cli_PR-1940
[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-1940@tmp/e65338d7-1cf0-40cc-b769-5dd56a811dd0/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:03:35 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
11:03:35 chowning workspace
[Pipeline] sh
11:03:35 + uname -m
[Pipeline] sh
11:03:36 + pwd
11:03:36 + id -u
11:03:36 + id -g
11:03:36 + docker run --rm -v /home/ubuntu/workspace/cli_PR-1940:/workspace busybox chown -R 1000:1000 /workspace
[Pipeline] echo
11:03:37 Removing all docker containers
[Pipeline] sh
11:03:37 + docker container ls -aq
[Pipeline] echo
11:03:37 Docker containers have been removed
[Pipeline] echo
11:03:37 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
11:03:37 cleanWorkspace: Workspace is clean.
[Pipeline] timeout
11:03:37 Timeout set to expire in 1 hr 0 min
[Pipeline] {
[Pipeline] stage
11:03:37 Using the ‘stage’ step without a block argument is deprecated
11:03:37 Entering stage Git Checkout
11:03:37 Proceeding
[Pipeline] checkout
11:03:37 using credential docker-jenkins-github-credentials
11:03:37 Cloning the remote Git repository
11:03:37 Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/docker/cli.git
 > git init /home/ubuntu/workspace/cli_PR-1940 # 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/1940/head:refs/remotes/origin/PR-1940 +refs/heads/master:refs/remotes/origin/master
11:03:40 Fetching without tags
11:03:40 Merging remotes/origin/master commit 4538b15038e54b3dfa2ed5f95d50de6f36d03453 into PR head commit 7d0c25a6ef65c252ca34930c59faa3b906fbf3b7
 > git config remote.origin.url https://github.com/docker/cli.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/1940/head:refs/remotes/origin/PR-1940 # 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/1940/head:refs/remotes/origin/PR-1940 +refs/heads/master:refs/remotes/origin/master
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 7d0c25a6ef65c252ca34930c59faa3b906fbf3b7
11:03:40 Merge succeeded, producing 7d0c25a6ef65c252ca34930c59faa3b906fbf3b7
11:03:40 Checking out Revision 7d0c25a6ef65c252ca34930c59faa3b906fbf3b7 (PR-1940)
11:03:41 Commit message: "Re-vendor Moby with oci/caps/defaults.go"
 > git merge 4538b15038e54b3dfa2ed5f95d50de6f36d03453 # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 7d0c25a6ef65c252ca34930c59faa3b906fbf3b7
 > git rev-list --no-walk ce5d7c51382dd3db71fa601173a7c772d9086c43 # timeout=10
[Pipeline] stage
11:03:42 Using the ‘stage’ step without a block argument is deprecated
11:03:42 Entering stage Run end-to-end test suite
11:03:42 Proceeding
[Pipeline] sh
11:03:42 + docker version
11:03:42 Client: Docker Engine - Community
11:03:42  Version:           19.03.5
11:03:42  API version:       1.40
11:03:42  Go version:        go1.12.12
11:03:42  Git commit:        633a0ea838
11:03:42  Built:             Wed Nov 13 07:29:52 2019
11:03:42  OS/Arch:           linux/amd64
11:03:42  Experimental:      false
11:03:42 
11:03:42 Server: Docker Engine - Community
11:03:42  Engine:
11:03:42   Version:          19.03.5
11:03:42   API version:      1.40 (minimum version 1.12)
11:03:42   Go version:       go1.12.12
11:03:42   Git commit:       633a0ea838
11:03:42   Built:            Wed Nov 13 07:28:22 2019
11:03:42   OS/Arch:          linux/amd64
11:03:42   Experimental:     true
11:03:42  containerd:
11:03:42   Version:          1.2.10
11:03:42   GitCommit:        b34a5c8af56e510852c35414db4c1f4fa6172339
11:03:42  runc:
11:03:42   Version:          1.0.0-rc8+dev
11:03:42   GitCommit:        3e425f80a8c931f88e6d94a8c831b9d5aa481657
11:03:42  docker-init:
11:03:42   Version:          0.18.0
11:03:42   GitCommit:        fec3683
[Pipeline] sh
11:03:42 + docker info
11:03:42 Client:
11:03:42  Debug Mode: false
11:03:42 
11:03:42 Server:
11:03:42  Containers: 0
11:03:42   Running: 0
11:03:42   Paused: 0
11:03:42   Stopped: 0
11:03:42  Images: 1
11:03:42  Server Version: 19.03.5
11:03:42  Storage Driver: overlay2
11:03:42   Backing Filesystem: extfs
11:03:42   Supports d_type: true
11:03:42   Native Overlay Diff: true
11:03:42  Logging Driver: json-file
11:03:42  Cgroup Driver: cgroupfs
11:03:42  Plugins:
11:03:42   Volume: local
11:03:42   Network: bridge host ipvlan macvlan null overlay
11:03:42   Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
11:03:42  Swarm: inactive
11:03:42  Runtimes: runc
11:03:42  Default Runtime: runc
11:03:42  Init Binary: docker-init
11:03:42  containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
11:03:42  runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
11:03:42  init version: fec3683
11:03:42  Security Options:
11:03:42   apparmor
11:03:42   seccomp
11:03:42    Profile: default
11:03:42  Kernel Version: 4.15.0-1058-aws
11:03:42  Operating System: Ubuntu 18.04.4 LTS
11:03:42  OSType: linux
11:03:42  Architecture: x86_64
11:03:42  CPUs: 2
11:03:42  Total Memory: 7.501GiB
11:03:42  Name: ip-10-100-45-11
11:03:42  ID: 4CEL:5RBS:HN5G:X27E:6LIB:NDG4:JTLL:Y3PR:KAD2:JK75:FX6D:PY32
11:03:42  Docker Root Dir: /var/lib/docker
11:03:42  Debug Mode: false
11:03:42  Username: dockerbuildbot
11:03:42  Registry: https://index.docker.io/v1/
11:03:42  Labels:
11:03:42  Experimental: true
11:03:42  Insecure Registries:
11:03:42   127.0.0.0/8
11:03:42  Live Restore Enabled: true
11:03:42 
11:03:42 WARNING: No swap limit support
[Pipeline] sh
11:03:42 + E2E_UNIQUE_ID=clie2e17 IMAGE_TAG=clie2e17 DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e
11:03:42 docker build -t docker-cli-e2eclie2e17 --build-arg=GO_VERSION --build-arg VERSION=19.09.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e .
11:03:42 #2 [internal] load .dockerignore
11:03:42 #2 transferring context: 100B done
11:03:42 #2 DONE 0.0s
11:03:42 
11:03:42 #1 [internal] load build definition from Dockerfile.e2e
11:03:42 #1 transferring dockerfile: 1.64kB done
11:03:42 #1 DONE 0.0s
11:03:42 
11:03:42 #3 [internal] load metadata for docker.io/library/golang:1.12.16
11:03:43 #3 DONE 0.1s
11:03:43 
11:03:43 #4 [1/11] FROM docker.io/library/golang:1.12.16@sha256:2af961eaeceeafc5853b...
11:03:43 #4 DONE 0.0s
11:03:43 
11:03:43 #10 [internal] load build context
11:03:44 #10 transferring context: 43.17MB 1.0s done
11:03:44 #10 DONE 1.1s
11:03:44 
11:03:44 #7 [4/11] RUN curl -Ls https://github.com/theupdateframework/notary/release...
11:03:44 #7 CACHED
11:03:44 
11:03:44 #8 [5/11] RUN curl -Ls https://github.com/gotestyourself/gotestsum/releases...
11:03:44 #8 CACHED
11:03:44 
11:03:44 #6 [3/11] RUN curl -L https://github.com/docker/compose/releases/download/1...
11:03:44 #6 CACHED
11:03:44 
11:03:44 #9 [6/11] WORKDIR /go/src/github.com/docker/cli
11:03:44 #9 CACHED
11:03:44 
11:03:44 #11 [7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/...
11:03:44 #11 CACHED
11:03:44 
11:03:44 #5 [2/11] RUN apt-get update && apt-get install -y     build-essential     ...
11:03:44 #5 CACHED
11:03:44 
11:03:44 #12 [8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-...
11:03:44 #12 CACHED
11:03:44 
11:03:44 #13 [9/11] COPY . .
11:03:45 #13 DONE 1.1s
11:03:45 
11:03:45 #14 [10/11] RUN ./scripts/build/binary
11:03:45 #14 0.588 Building statically linked build/docker-linux-amd64
11:05:07 #14 69.11 # github.com/docker/cli/cli/compose/convert
11:05:07 #14 69.11 cli/compose/convert/service.go:692:24: undefined: caps.TweakCapabilities
11:05:07 #14 ERROR: executor failed running [/bin/sh -c ./scripts/build/binary]: runc did not terminate sucessfully
11:05:07 ------
11:05:07  > [10/11] RUN ./scripts/build/binary:
11:05:07 ------
11:05:07 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
11:05:07 docker.Makefile:55: recipe for target 'build_e2e_image' failed
11:05:07 make: *** [build_e2e_image] 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