Skip to content
Failed

Console Output

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