Skip to content
Failed

Console Output

Branch indexing
00:50:58 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Loading trusted files from base branch master at f2163dd6a7da19754d81e13665b95e38dd5abc69 rather than bb3820b26de5993cf96ba7721547380288e81fd7
Obtained Jenkinsfile from f2163dd6a7da19754d81e13665b95e38dd5abc69
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 ead69454b4062f17d1f8389642089a002b037213
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-1448@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 ead69454b4062f17d1f8389642089a002b037213 (master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ead69454b4062f17d1f8389642089a002b037213
Commit message: "Merge pull request #10 from russellcardullo/sonar-scan"
First time build. Skipping changelog.
[Pipeline] Start of Pipeline
[Pipeline] node
Still waiting to schedule task
Waiting for next available executor on ‘linux&&x86_64’
Running on ubuntu-1804-overlay2 (i-05aa069266971d88b) in /home/ubuntu/workspace/cli_PR-1448
[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-1448@tmp/b52e72a2-bba2-4fae-bb1a-6a2bf4246483/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
00:56:27 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
00:56:27 chowning workspace
[Pipeline] sh
00:56:28 + uname -m
[Pipeline] sh
00:56:28 + pwd
00:56:28 + id -u
00:56:28 + id -g
00:56:28 + docker run --rm -v /home/ubuntu/workspace/cli_PR-1448:/workspace busybox chown -R 1000:1000 /workspace
[Pipeline] echo
00:56:29 Removing all docker containers
[Pipeline] sh
00:56:30 + docker container ls -aq
[Pipeline] echo
00:56:30 Docker containers have been removed
[Pipeline] echo
00:56:30 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
00:56:30 cleanWorkspace: Workspace is clean.
[Pipeline] timeout
00:56:30 Timeout set to expire in 1 hr 0 min
[Pipeline] {
[Pipeline] stage
00:56:30 Using the ‘stage’ step without a block argument is deprecated
00:56:30 Entering stage Git Checkout
00:56:30 Proceeding
[Pipeline] checkout
00:56:30 using credential docker-jenkins-github-credentials
00:56:30 Cloning the remote Git repository
00:56:30 Cloning with configured refspecs honoured and without tags
Cloning repository https://github.com/docker/cli.git
 > git init /home/ubuntu/workspace/cli_PR-1448 # 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/1448/head:refs/remotes/origin/PR-1448 +refs/heads/master:refs/remotes/origin/master
00:56:32 Fetching without tags
00:56:33 Merging remotes/origin/master commit f2163dd6a7da19754d81e13665b95e38dd5abc69 into PR head commit bb3820b26de5993cf96ba7721547380288e81fd7
 > git config remote.origin.url https://github.com/docker/cli.git # timeout=10
 > git config --add remote.origin.fetch +refs/pull/1448/head:refs/remotes/origin/PR-1448 # 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/1448/head:refs/remotes/origin/PR-1448 +refs/heads/master:refs/remotes/origin/master
 > git config core.sparsecheckout # timeout=10
 > git checkout -f bb3820b26de5993cf96ba7721547380288e81fd7
 > git merge f2163dd6a7da19754d81e13665b95e38dd5abc69 # timeout=10
00:56:34 Merge succeeded, producing ddbd93ce4d6730218ecdc3a50decd1340e27aae3
00:56:34 Checking out Revision ddbd93ce4d6730218ecdc3a50decd1340e27aae3 (PR-1448)
00:56:34 Commit message: "Merge commit 'f2163dd6a7da19754d81e13665b95e38dd5abc69' into HEAD"
00:56:34 First time build. Skipping changelog.
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f ddbd93ce4d6730218ecdc3a50decd1340e27aae3
[Pipeline] stage
00:56:35 Using the ‘stage’ step without a block argument is deprecated
00:56:35 Entering stage Run end-to-end test suite
00:56:35 Proceeding
[Pipeline] sh
00:56:35 + docker version
00:56:35 Client: Docker Engine - Community
00:56:35  Version:           19.03.1
00:56:35  API version:       1.40
00:56:35  Go version:        go1.12.5
00:56:35  Git commit:        74b1e89
00:56:35  Built:             Thu Jul 25 21:21:05 2019
00:56:35  OS/Arch:           linux/amd64
00:56:35  Experimental:      false
00:56:35 
00:56:35 Server: Docker Engine - Community
00:56:35  Engine:
00:56:35   Version:          19.03.1
00:56:35   API version:      1.40 (minimum version 1.12)
00:56:35   Go version:       go1.12.5
00:56:35   Git commit:       74b1e89
00:56:35   Built:            Thu Jul 25 21:19:41 2019
00:56:35   OS/Arch:          linux/amd64
00:56:35   Experimental:     true
00:56:35  containerd:
00:56:35   Version:          1.2.6
00:56:35   GitCommit:        894b81a4b802e4eb2a91d1ce216b8817763c29fb
00:56:35  runc:
00:56:35   Version:          1.0.0-rc8
00:56:35   GitCommit:        425e105d5a03fabd737a126ad93d62a9eeede87f
00:56:35  docker-init:
00:56:35   Version:          0.18.0
00:56:35   GitCommit:        fec3683
[Pipeline] sh
fatal: bad object ead69454b4062f17d1f8389642089a002b037213
00:56:35 + docker info
00:56:35 Client:
00:56:35  Debug Mode: false
00:56:35 
00:56:35 Server:
00:56:35  Containers: 0
00:56:35   Running: 0
00:56:35   Paused: 0
00:56:35   Stopped: 0
00:56:35  Images: 11
00:56:35  Server Version: 19.03.1
00:56:35  Storage Driver: overlay2
00:56:35   Backing Filesystem: extfs
00:56:35   Supports d_type: true
00:56:35   Native Overlay Diff: true
00:56:35  Logging Driver: json-file
00:56:35  Cgroup Driver: cgroupfs
00:56:35  Plugins:
00:56:35   Volume: local
00:56:35   Network: bridge host ipvlan macvlan null overlay
00:56:35   Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
00:56:35  Swarm: inactive
00:56:35  Runtimes: runc
00:56:35  Default Runtime: runc
00:56:35  Init Binary: docker-init
00:56:35  containerd version: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
00:56:35  runc version: 425e105d5a03fabd737a126ad93d62a9eeede87f
00:56:35  init version: fec3683
00:56:35  Security Options:
00:56:35   apparmor
00:56:35   seccomp
00:56:35    Profile: default
00:56:35  Kernel Version: 4.15.0-1045-aws
00:56:35  Operating System: Ubuntu 18.04.3 LTS
00:56:35  OSType: linux
00:56:35  Architecture: x86_64
00:56:35  CPUs: 2
00:56:35  Total Memory: 7.501GiB
00:56:35  Name: ip-10-100-54-23
00:56:35  ID: Q5BR:4XSA:4VGI:HCQ4:NCXQ:W6V2:NU5B:4PS4:IJFG:GRAK:RFRC:V5LS
00:56:35  Docker Root Dir: /var/lib/docker
00:56:35  Debug Mode: false
00:56:35  Username: dockerbuildbot
00:56:35  Registry: https://index.docker.io/v1/
00:56:35  Labels:
00:56:35  Experimental: true
00:56:35  Insecure Registries:
00:56:35   127.0.0.0/8
00:56:35  Live Restore Enabled: true
00:56:35 
00:56:35 WARNING: No swap limit support
[Pipeline] sh
00:56:36 + E2E_UNIQUE_ID=clie2e1 IMAGE_TAG=clie2e1 DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e
00:56:36 docker build -t docker-cli-e2eclie2e1 --build-arg=GO_VERSION --build-arg VERSION=19.09.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e .
00:56:36 #2 [internal] load .dockerignore
00:56:36 #2 transferring context: 100B done
00:56:36 #2 DONE 0.0s
00:56:36 
00:56:36 #1 [internal] load build definition from Dockerfile.e2e
00:56:36 #1 transferring dockerfile: 1.58kB done
00:56:36 #1 DONE 0.0s
00:56:36 
00:56:36 #3 [internal] load metadata for docker.io/library/golang:1.12.8
00:56:36 #3 DONE 0.2s
00:56:36 
00:56:36 #4 [1/11] FROM docker.io/library/golang:1.12.8@sha256:2a5dc837ac980ba4576dc...
00:56:36 #4 DONE 0.0s
00:56:36 
00:56:36 #10 [internal] load build context
00:56:37 #10 transferring context: 42.27MB 1.0s done
00:56:37 #10 DONE 1.0s
00:56:37 
00:56:37 #6 [3/11] RUN curl -L https://github.com/docker/compose/releases/download/1...
00:56:37 #6 CACHED
00:56:37 
00:56:37 #7 [4/11] RUN curl -Ls https://github.com/theupdateframework/notary/release...
00:56:37 #7 CACHED
00:56:37 
00:56:37 #8 [5/11] RUN curl -Ls https://github.com/gotestyourself/gotestsum/releases...
00:56:37 #8 CACHED
00:56:37 
00:56:37 #9 [6/11] WORKDIR /go/src/github.com/docker/cli
00:56:37 #9 CACHED
00:56:37 
00:56:37 #5 [2/11] RUN apt-get update && apt-get install -y     build-essential     ...
00:56:37 #5 CACHED
00:56:37 
00:56:37 #11 [7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/...
00:56:37 #11 CACHED
00:56:37 
00:56:37 #12 [8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-...
00:56:37 #12 CACHED
00:56:37 
00:56:37 #13 [9/11] COPY . .
00:56:39 #13 DONE 1.6s
00:56:39 
00:56:39 #14 [10/11] RUN ./scripts/build/binary
00:56:39 #14 0.793 Building statically linked build/docker-linux-amd64
00:57:11 #14 32.67 # github.com/docker/cli/cli/command/container
00:57:11 #14 32.67 cli/command/container/run.go:287:16: undefined: regexp
00:57:50 #14 ERROR: executor failed running [/bin/sh -c ./scripts/build/binary]: exit code: 2
00:57:50 ------
00:57:50  > [10/11] RUN ./scripts/build/binary:
00:57:50 ------
00:57:50 executor failed running [/bin/sh -c ./scripts/build/binary]: exit code: 2
00:57:50 docker.Makefile:55: recipe for target 'build_e2e_image' failed
00:57:50 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