Pull request #2337 opened
14:31:49 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Obtained Jenkinsfile from ee0af9dc7054906e88374a8abe4a58fb912585b0+88cb93b0636d9ee1010161bae1c6246d406dfe59 (23357ad1db401aeba935b78f372a1d8f8cf2d87f)
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
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-2337@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 --progress -- https://github.com/docker/jps.git +refs/heads/master:refs/remotes/origin/master
> 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 --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)"
First time build. Skipping changelog.
[Pipeline] Start of Pipeline
[Pipeline] node
Running on EC2 (managed-agents) - ubuntu-1804-overlay2 (i-0f6e3bc24eed286f2) in /home/ubuntu/workspace/cli_PR-2337
[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-2337@tmp/d03c03b0-2ccf-4721-b21f-a25d964e2eff/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
14:31:53 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
14:31:53 chowning workspace
[Pipeline] sh
14:31:53 + uname -m
[Pipeline] sh
14:31:53 + pwd
14:31:53 + id -u
14:31:53 + id -g
14:31:53 + docker run --rm -v /home/ubuntu/workspace/cli_PR-2337:/workspace busybox chown -R 1000:1000 /workspace
[Pipeline] echo
14:31:54 Removing all docker containers
[Pipeline] sh
14:31:55 + docker container ls -aq
[Pipeline] echo
14:31:55 Docker containers have been removed
[Pipeline] echo
14:31:55 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
14:31:55 cleanWorkspace: Workspace is clean.
[Pipeline] timeout
14:31:55 Timeout set to expire in 1 hr 0 min
[Pipeline] {
[Pipeline] stage
14:31:55 Using the ‘stage’ step without a block argument is deprecated
14:31:55 Entering stage Git Checkout
14:31:55 Proceeding
[Pipeline] checkout
14:31:55 using credential docker-jenkins-github-credentials
14:31:55 Cloning the remote Git repository
14:31:55 Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/docker/cli.git
> git init /home/ubuntu/workspace/cli_PR-2337 # 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/2337/head:refs/remotes/origin/PR-2337 +refs/heads/master:refs/remotes/origin/master
14:31:57 Fetching without tags
14:31:58 Merging remotes/origin/master commit 88cb93b0636d9ee1010161bae1c6246d406dfe59 into PR head commit ee0af9dc7054906e88374a8abe4a58fb912585b0
> git config remote.origin.url https://github.com/docker/cli.git # timeout=10
> git config --add remote.origin.fetch +refs/pull/2337/head:refs/remotes/origin/PR-2337 # 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/2337/head:refs/remotes/origin/PR-2337 +refs/heads/master:refs/remotes/origin/master
> git config core.sparsecheckout # timeout=10
> git checkout -f ee0af9dc7054906e88374a8abe4a58fb912585b0
14:31:58 Merge succeeded, producing ad860e4f1d47c85c44c63937a77b51cdd50530f1
14:31:58 Checking out Revision ad860e4f1d47c85c44c63937a77b51cdd50530f1 (PR-2337)
> git merge 88cb93b0636d9ee1010161bae1c6246d406dfe59 # timeout=10
> git rev-parse HEAD^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f ad860e4f1d47c85c44c63937a77b51cdd50530f1
14:32:00 Commit message: "Merge commit '88cb93b0636d9ee1010161bae1c6246d406dfe59' into HEAD"
14:32:00 First time build. Skipping changelog.
fatal: bad object 26028d2ce48352c9b2c3f496e963b79a4944a426
[Pipeline] stage
14:32:01 Using the ‘stage’ step without a block argument is deprecated
14:32:01 Entering stage Run end-to-end test suite
14:32:01 Proceeding
[Pipeline] sh
14:32:01 + docker version
14:32:01 Client: Docker Engine - Community
14:32:01 Version: 19.03.5
14:32:01 API version: 1.40
14:32:01 Go version: go1.12.12
14:32:01 Git commit: 633a0ea838
14:32:01 Built: Wed Nov 13 07:29:52 2019
14:32:01 OS/Arch: linux/amd64
14:32:01 Experimental: false
14:32:01
14:32:01 Server: Docker Engine - Community
14:32:01 Engine:
14:32:01 Version: 19.03.5
14:32:01 API version: 1.40 (minimum version 1.12)
14:32:01 Go version: go1.12.12
14:32:01 Git commit: 633a0ea838
14:32:01 Built: Wed Nov 13 07:28:22 2019
14:32:01 OS/Arch: linux/amd64
14:32:01 Experimental: true
14:32:01 containerd:
14:32:01 Version: 1.2.10
14:32:01 GitCommit: b34a5c8af56e510852c35414db4c1f4fa6172339
14:32:01 runc:
14:32:01 Version: 1.0.0-rc8+dev
14:32:01 GitCommit: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
14:32:01 docker-init:
14:32:01 Version: 0.18.0
14:32:01 GitCommit: fec3683
[Pipeline] sh
14:32:01 + docker info
14:32:01 Client:
14:32:01 Debug Mode: false
14:32:01
14:32:01 Server:
14:32:01 Containers: 0
14:32:01 Running: 0
14:32:01 Paused: 0
14:32:01 Stopped: 0
14:32:01 Images: 5
14:32:01 Server Version: 19.03.5
14:32:01 Storage Driver: overlay2
14:32:01 Backing Filesystem: extfs
14:32:01 Supports d_type: true
14:32:01 Native Overlay Diff: true
14:32:01 Logging Driver: json-file
14:32:01 Cgroup Driver: cgroupfs
14:32:01 Plugins:
14:32:01 Volume: local
14:32:01 Network: bridge host ipvlan macvlan null overlay
14:32:01 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
14:32:01 Swarm: inactive
14:32:01 Runtimes: runc
14:32:01 Default Runtime: runc
14:32:01 Init Binary: docker-init
14:32:01 containerd version: b34a5c8af56e510852c35414db4c1f4fa6172339
14:32:01 runc version: 3e425f80a8c931f88e6d94a8c831b9d5aa481657
14:32:01 init version: fec3683
14:32:01 Security Options:
14:32:01 apparmor
14:32:01 seccomp
14:32:01 Profile: default
14:32:01 Kernel Version: 4.15.0-1058-aws
14:32:01 Operating System: Ubuntu 18.04.4 LTS
14:32:01 OSType: linux
14:32:01 Architecture: x86_64
14:32:01 CPUs: 2
14:32:01 Total Memory: 7.501GiB
14:32:01 Name: ip-10-100-115-45
14:32:01 ID: 4CEL:5RBS:HN5G:X27E:6LIB:NDG4:JTLL:Y3PR:KAD2:JK75:FX6D:PY32
14:32:01 Docker Root Dir: /var/lib/docker
14:32:01 Debug Mode: false
14:32:01 Username: dockerbuildbot
14:32:01 Registry: https://index.docker.io/v1/
14:32:01 Labels:
14:32:01 Experimental: true
14:32:01 Insecure Registries:
14:32:01 127.0.0.0/8
14:32:01 Live Restore Enabled: true
14:32:01
14:32:01 WARNING: No swap limit support
[Pipeline] sh
14:32:01 + E2E_UNIQUE_ID=clie2e1 IMAGE_TAG=clie2e1 DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e
14:32:01 docker build -t docker-cli-e2eclie2e1 --build-arg=GO_VERSION --build-arg VERSION=19.09.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e .
14:32:01 #2 [internal] load .dockerignore
14:32:01 #2 transferring context: 100B done
14:32:01 #2 DONE 0.0s
14:32:01
14:32:01 #1 [internal] load build definition from Dockerfile.e2e
14:32:01 #1 transferring dockerfile: 1.64kB done
14:32:01 #1 DONE 0.0s
14:32:01
14:32:01 #3 [internal] load metadata for docker.io/library/golang:1.12.16
14:32:02 #3 DONE 0.2s
14:32:02
14:32:02 #4 [1/11] FROM docker.io/library/golang:1.12.16@sha256:2af961eaeceeafc5853b...
14:32:02 #4 DONE 0.0s
14:32:02
14:32:02 #10 [internal] load build context
14:32:03 #10 transferring context: 43.21MB 1.0s done
14:32:03 #10 DONE 1.1s
14:32:03
14:32:03 #6 [3/11] RUN curl -L https://github.com/docker/compose/releases/download/1...
14:32:03 #6 CACHED
14:32:03
14:32:03 #5 [2/11] RUN apt-get update && apt-get install -y build-essential ...
14:32:03 #5 CACHED
14:32:03
14:32:03 #8 [5/11] RUN curl -Ls https://github.com/gotestyourself/gotestsum/releases...
14:32:03 #8 CACHED
14:32:03
14:32:03 #11 [7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/...
14:32:03 #11 CACHED
14:32:03
14:32:03 #7 [4/11] RUN curl -Ls https://github.com/theupdateframework/notary/release...
14:32:03 #7 CACHED
14:32:03
14:32:03 #9 [6/11] WORKDIR /go/src/github.com/docker/cli
14:32:03 #9 CACHED
14:32:03
14:32:03 #12 [8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-...
14:32:03 #12 CACHED
14:32:03
14:32:03 #13 [9/11] COPY . .
14:32:04 #13 DONE 1.1s
14:32:04
14:32:04 #14 [10/11] RUN ./scripts/build/binary
14:32:04 #14 0.579 Building statically linked build/docker-linux-amd64
14:32:05 #14 1.048 vendor/github.com/docker/docker/pkg/sysinfo/sysinfo_linux.go:10:2: cannot find package "github.com/opencontainers/runc/libcontainer/cgroups" in any of:
14:32:05 #14 1.048 /go/src/github.com/docker/cli/vendor/github.com/opencontainers/runc/libcontainer/cgroups (vendor tree)
14:32:05 #14 1.048 /usr/local/go/src/github.com/opencontainers/runc/libcontainer/cgroups (from $GOROOT)
14:32:05 #14 1.048 /go/src/github.com/opencontainers/runc/libcontainer/cgroups (from $GOPATH)
14:32:05 #14 ERROR: executor failed running [/bin/sh -c ./scripts/build/binary]: runc did not terminate sucessfully
14:32:05 ------
14:32:05 > [10/11] RUN ./scripts/build/binary:
14:32:05 ------
14:32:05 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
14:32:05 docker.Makefile:55: recipe for target 'build_e2e_image' failed
14:32:05 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