Pull request #2151 opened
06:31:17 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Loading trusted files from base branch master at 3afe327a6d228ec4610371a41a9652a664cd7321 rather than 82f0c7a10616b6a9b44d7f8b967fbd6bd78f884f
Obtained Jenkinsfile from 3afe327a6d228ec4610371a41a9652a664cd7321
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-2151@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 ubuntu-1804-overlay2 (i-0583cc17ce1a5ce1b) in /home/ubuntu/workspace/cli_PR-2151
[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-2151@tmp/466663ed-7482-4c64-82df-ba4ef6d10fc6/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
06:31:20 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
06:31:20 chowning workspace
[Pipeline] sh
06:31:21 + uname -m
[Pipeline] sh
06:31:21 + pwd
06:31:21 + id -u
06:31:21 + id -g
06:31:21 + docker run --rm -v /home/ubuntu/workspace/cli_PR-2151:/workspace busybox chown -R 1000:1000 /workspace
[Pipeline] echo
06:31:22 Removing all docker containers
[Pipeline] sh
06:31:22 + docker container ls -aq
[Pipeline] echo
06:31:22 Docker containers have been removed
[Pipeline] echo
06:31:22 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
06:31:22 cleanWorkspace: Workspace is clean.
[Pipeline] timeout
06:31:22 Timeout set to expire in 1 hr 0 min
[Pipeline] {
[Pipeline] stage
06:31:22 Using the ‘stage’ step without a block argument is deprecated
06:31:22 Entering stage Git Checkout
06:31:22 Proceeding
[Pipeline] checkout
06:31:22 using credential docker-jenkins-github-credentials
06:31:22 Cloning the remote Git repository
06:31:22 Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/docker/cli.git
> git init /home/ubuntu/workspace/cli_PR-2151 # 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/2151/head:refs/remotes/origin/PR-2151 +refs/heads/master:refs/remotes/origin/master
06:31:25 Fetching without tags
06:31:25 Merging remotes/origin/master commit 3afe327a6d228ec4610371a41a9652a664cd7321 into PR head commit 82f0c7a10616b6a9b44d7f8b967fbd6bd78f884f
> git config remote.origin.url https://github.com/docker/cli.git # timeout=10
> git config --add remote.origin.fetch +refs/pull/2151/head:refs/remotes/origin/PR-2151 # 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/2151/head:refs/remotes/origin/PR-2151 +refs/heads/master:refs/remotes/origin/master
> git config core.sparsecheckout # timeout=10
> git checkout -f 82f0c7a10616b6a9b44d7f8b967fbd6bd78f884f
06:31:26 Merge succeeded, producing e31ac78843c84a21be10b37ab5a2f86763e500c4
06:31:26 Checking out Revision e31ac78843c84a21be10b37ab5a2f86763e500c4 (PR-2151)
06:31:26 Commit message: "Merge commit '3afe327a6d228ec4610371a41a9652a664cd7321' into HEAD"
06:31:26 First time build. Skipping changelog.
> git merge 3afe327a6d228ec4610371a41a9652a664cd7321 # timeout=10
> git rev-parse HEAD^{commit} # timeout=10
> git config core.sparsecheckout # timeout=10
> git checkout -f e31ac78843c84a21be10b37ab5a2f86763e500c4
[Pipeline] stage
06:31:27 Using the ‘stage’ step without a block argument is deprecated
06:31:27 Entering stage Run end-to-end test suite
06:31:27 Proceeding
[Pipeline] sh
fatal: bad object 26028d2ce48352c9b2c3f496e963b79a4944a426
06:31:27 + docker version
06:31:27 Client: Docker Engine - Community
06:31:27 Version: 19.03.2
06:31:27 API version: 1.40
06:31:27 Go version: go1.12.8
06:31:27 Git commit: 6a30dfc
06:31:27 Built: Thu Aug 29 05:29:11 2019
06:31:27 OS/Arch: linux/amd64
06:31:27 Experimental: false
06:31:27
06:31:27 Server: Docker Engine - Community
06:31:27 Engine:
06:31:27 Version: 19.03.2
06:31:27 API version: 1.40 (minimum version 1.12)
06:31:27 Go version: go1.12.8
06:31:27 Git commit: 6a30dfc
06:31:27 Built: Thu Aug 29 05:27:45 2019
06:31:27 OS/Arch: linux/amd64
06:31:27 Experimental: true
06:31:27 containerd:
06:31:27 Version: 1.2.6
06:31:27 GitCommit: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
06:31:27 runc:
06:31:27 Version: 1.0.0-rc8
06:31:27 GitCommit: 425e105d5a03fabd737a126ad93d62a9eeede87f
06:31:27 docker-init:
06:31:27 Version: 0.18.0
06:31:27 GitCommit: fec3683
[Pipeline] sh
06:31:28 + docker info
06:31:28 Client:
06:31:28 Debug Mode: false
06:31:28
06:31:28 Server:
06:31:28 Containers: 0
06:31:28 Running: 0
06:31:28 Paused: 0
06:31:28 Stopped: 0
06:31:28 Images: 1
06:31:28 Server Version: 19.03.2
06:31:28 Storage Driver: overlay2
06:31:28 Backing Filesystem: extfs
06:31:28 Supports d_type: true
06:31:28 Native Overlay Diff: true
06:31:28 Logging Driver: json-file
06:31:28 Cgroup Driver: cgroupfs
06:31:28 Plugins:
06:31:28 Volume: local
06:31:28 Network: bridge host ipvlan macvlan null overlay
06:31:28 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
06:31:28 Swarm: inactive
06:31:28 Runtimes: runc
06:31:28 Default Runtime: runc
06:31:28 Init Binary: docker-init
06:31:28 containerd version: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
06:31:28 runc version: 425e105d5a03fabd737a126ad93d62a9eeede87f
06:31:28 init version: fec3683
06:31:28 Security Options:
06:31:28 apparmor
06:31:28 seccomp
06:31:28 Profile: default
06:31:28 Kernel Version: 4.15.0-1048-aws
06:31:28 Operating System: Ubuntu 18.04.3 LTS
06:31:28 OSType: linux
06:31:28 Architecture: x86_64
06:31:28 CPUs: 2
06:31:28 Total Memory: 7.501GiB
06:31:28 Name: ip-10-100-81-220
06:31:28 ID: O7UF:J7PM:BBOA:MCJH:BMAQ:O5XU:4D4U:YHPF:2JNI:LSPI:7LJ3:3UMG
06:31:28 Docker Root Dir: /var/lib/docker
06:31:28 Debug Mode: false
06:31:28 Username: dockerbuildbot
06:31:28 Registry: https://index.docker.io/v1/
06:31:28 Labels:
06:31:28 Experimental: true
06:31:28 Insecure Registries:
06:31:28 127.0.0.0/8
06:31:28 Live Restore Enabled: true
06:31:28
06:31:28 WARNING: No swap limit support
[Pipeline] sh
06:31:29 + E2E_UNIQUE_ID=clie2e1 IMAGE_TAG=clie2e1 DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e
06:31:29 docker build -t docker-cli-e2eclie2e1 --build-arg=GO_VERSION --build-arg VERSION=19.09.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e .
06:31:29 #2 [internal] load .dockerignore
06:31:29 #2 DONE 0.0s
06:31:29
06:31:29 #1 [internal] load build definition from Dockerfile.e2e
06:31:29 #1 transferring dockerfile: 1.58kB done
06:31:29 #1 DONE 0.0s
06:31:29
06:31:29 #2 [internal] load .dockerignore
06:31:29 #2 transferring context: 100B done
06:31:29 #2 DONE 0.0s
06:31:29
06:31:29 #3 [internal] load metadata for docker.io/library/golang:1.12.10
06:31:29 #3 DONE 0.1s
06:31:29
06:31:29 #4 [1/11] FROM docker.io/library/golang:1.12.10@sha256:c2f4fdb24e20b6fdd8f1...
06:31:29 #4 DONE 0.0s
06:31:29
06:31:29 #10 [internal] load build context
06:31:30 #10 transferring context: 42.42MB 1.0s done
06:31:30 #10 DONE 1.0s
06:31:30
06:31:30 #8 [5/11] RUN curl -Ls https://github.com/gotestyourself/gotestsum/releases...
06:31:30 #8 CACHED
06:31:30
06:31:30 #5 [2/11] RUN apt-get update && apt-get install -y build-essential ...
06:31:30 #5 CACHED
06:31:30
06:31:30 #6 [3/11] RUN curl -L https://github.com/docker/compose/releases/download/1...
06:31:30 #6 CACHED
06:31:30
06:31:30 #7 [4/11] RUN curl -Ls https://github.com/theupdateframework/notary/release...
06:31:30 #7 CACHED
06:31:30
06:31:30 #9 [6/11] WORKDIR /go/src/github.com/docker/cli
06:31:30 #9 CACHED
06:31:30
06:31:30 #11 [7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/...
06:31:30 #11 CACHED
06:31:30
06:31:30 #12 [8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-...
06:31:30 #12 CACHED
06:31:30
06:31:30 #13 [9/11] COPY . .
06:31:30 #13 CACHED
06:31:30
06:31:30 #14 [10/11] RUN ./scripts/build/binary
06:31:31 #14 0.775 Building statically linked build/docker-linux-amd64
06:32:09 #14 34.86 # github.com/docker/cli/cli/command/container
06:32:09 #14 34.86 cli/command/container/opts.go:386:3: undefined: publishOptList
06:32:09 #14 34.86 cli/command/container/opts.go:388:4: undefined: publishOptList
06:32:09 #14 34.86 cli/command/container/opts.go:393:36: undefined: publishOptList
06:32:41 #14 ERROR: executor failed running [/bin/sh -c ./scripts/build/binary]: exit code: 2
06:32:41 ------
06:32:41 > [10/11] RUN ./scripts/build/binary:
06:32:41 ------
06:32:41 failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c ./scripts/build/binary]: exit code: 2
06:32:41 docker.Makefile:55: recipe for target 'build_e2e_image' failed
06:32:41 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