Skip to content
Failed

Console Output

Pull request #1940 updated
17:36:04 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials)
Loading trusted files from base branch master at 6c12a82f330675d4e2cfff4f8b89a353bcb1fecd rather than 26791a9493cb7773159696bc4fff5de0261480f8
Obtained Jenkinsfile from 6c12a82f330675d4e2cfff4f8b89a353bcb1fecd
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 ubuntu-1804-overlay2 (i-02e134ad49529f2e4) 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/e11fbf84-c1b0-49f8-8471-5a99b5384bc3/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
17:36:07 cleanWorkspace: Ensuring workspace is owned by ubuntu
[Pipeline] echo
17:36:07 chowning workspace
[Pipeline] sh
17:36:08 + uname -m
[Pipeline] sh
17:36:08 + pwd
17:36:08 + id -u
17:36:08 + id -g
17:36:08 + docker run --rm -v /home/ubuntu/workspace/cli_PR-1940:/workspace busybox chown -R 1000:1000 /workspace
[Pipeline] echo
17:36:09 Removing all docker containers
[Pipeline] sh
17:36:10 + docker container ls -aq
[Pipeline] echo
17:36:10 Docker containers have been removed
[Pipeline] echo
17:36:10 cleanWorkspace: Removing existing workspace
[Pipeline] deleteDir
[Pipeline] echo
17:36:10 cleanWorkspace: Workspace is clean.
[Pipeline] timeout
17:36:10 Timeout set to expire in 1 hr 0 min
[Pipeline] {
[Pipeline] stage
17:36:10 Using the ‘stage’ step without a block argument is deprecated
17:36:10 Entering stage Git Checkout
17:36:10 Proceeding
[Pipeline] checkout
17:36:10 using credential docker-jenkins-github-credentials
17:36:10 Cloning the remote Git repository
17:36:10 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
17:36:13 Fetching without tags
17:36:13 Merging remotes/origin/master commit 6c12a82f330675d4e2cfff4f8b89a353bcb1fecd into PR head commit 26791a9493cb7773159696bc4fff5de0261480f8
 > 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 26791a9493cb7773159696bc4fff5de0261480f8
17:36:13 Merge succeeded, producing 26791a9493cb7773159696bc4fff5de0261480f8
17:36:13 Checking out Revision 26791a9493cb7773159696bc4fff5de0261480f8 (PR-1940)
 > git merge 6c12a82f330675d4e2cfff4f8b89a353bcb1fecd # timeout=10
 > git rev-parse HEAD^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 26791a9493cb7773159696bc4fff5de0261480f8
17:36:14 Commit message: "Re-vendor docker/docker and opencontainers/runc"
17:36:14 First time build. Skipping changelog.
 > git rev-list --no-walk 28f46bf7281d7e4efc406e56e32665bc73c8c0f6 # timeout=10
[Pipeline] stage
17:36:14 Using the ‘stage’ step without a block argument is deprecated
17:36:14 Entering stage Run end-to-end test suite
17:36:14 Proceeding
[Pipeline] sh
17:36:15 + docker version
17:36:15 Client: Docker Engine - Community
17:36:15  Version:           19.03.2
17:36:15  API version:       1.40
17:36:15  Go version:        go1.12.8
17:36:15  Git commit:        6a30dfc
17:36:15  Built:             Thu Aug 29 05:29:11 2019
17:36:15  OS/Arch:           linux/amd64
17:36:15  Experimental:      false
17:36:15 
17:36:15 Server: Docker Engine - Community
17:36:15  Engine:
17:36:15   Version:          19.03.2
17:36:15   API version:      1.40 (minimum version 1.12)
17:36:15   Go version:       go1.12.8
17:36:15   Git commit:       6a30dfc
17:36:15   Built:            Thu Aug 29 05:27:45 2019
17:36:15   OS/Arch:          linux/amd64
17:36:15   Experimental:     true
17:36:15  containerd:
17:36:15   Version:          1.2.6
17:36:15   GitCommit:        894b81a4b802e4eb2a91d1ce216b8817763c29fb
17:36:15  runc:
17:36:15   Version:          1.0.0-rc8
17:36:15   GitCommit:        425e105d5a03fabd737a126ad93d62a9eeede87f
17:36:15  docker-init:
17:36:15   Version:          0.18.0
17:36:15   GitCommit:        fec3683
[Pipeline] sh
17:36:15 + docker info
17:36:15 Client:
17:36:15  Debug Mode: false
17:36:15 
17:36:15 Server:
17:36:15  Containers: 0
17:36:15   Running: 0
17:36:15   Paused: 0
17:36:15   Stopped: 0
17:36:15  Images: 69
17:36:15  Server Version: 19.03.2
17:36:15  Storage Driver: overlay2
17:36:15   Backing Filesystem: extfs
17:36:15   Supports d_type: true
17:36:15   Native Overlay Diff: true
17:36:15  Logging Driver: json-file
17:36:15  Cgroup Driver: cgroupfs
17:36:15  Plugins:
17:36:15   Volume: local
17:36:15   Network: bridge host ipvlan macvlan null overlay
17:36:15   Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
17:36:15  Swarm: inactive
17:36:15  Runtimes: runc
17:36:15  Default Runtime: runc
17:36:15  Init Binary: docker-init
17:36:15  containerd version: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
17:36:15  runc version: 425e105d5a03fabd737a126ad93d62a9eeede87f
17:36:15  init version: fec3683
17:36:15  Security Options:
17:36:15   apparmor
17:36:15   seccomp
17:36:15    Profile: default
17:36:15  Kernel Version: 4.15.0-1048-aws
17:36:15  Operating System: Ubuntu 18.04.3 LTS
17:36:15  OSType: linux
17:36:15  Architecture: x86_64
17:36:15  CPUs: 2
17:36:15  Total Memory: 7.501GiB
17:36:15  Name: ip-10-100-42-142
17:36:15  ID: O7UF:J7PM:BBOA:MCJH:BMAQ:O5XU:4D4U:YHPF:2JNI:LSPI:7LJ3:3UMG
17:36:15  Docker Root Dir: /var/lib/docker
17:36:15  Debug Mode: false
17:36:15  Username: dockerbuildbot
17:36:15  Registry: https://index.docker.io/v1/
17:36:15  Labels:
17:36:15  Experimental: true
17:36:15  Insecure Registries:
17:36:15   127.0.0.0/8
17:36:15  Live Restore Enabled: true
17:36:15 
17:36:15 WARNING: No swap limit support
[Pipeline] sh
17:36:15 + E2E_UNIQUE_ID=clie2e9 IMAGE_TAG=clie2e9 DOCKER_BUILDKIT=1 make -f docker.Makefile test-e2e
17:36:15 docker build -t docker-cli-e2eclie2e9 --build-arg=GO_VERSION --build-arg VERSION=19.09.0-dev --build-arg GITCOMMIT= -f ./dockerfiles/Dockerfile.e2e .
17:36:15 #2 [internal] load .dockerignore
17:36:15 #2 transferring context: 100B done
17:36:15 #2 DONE 0.0s
17:36:15 
17:36:15 #1 [internal] load build definition from Dockerfile.e2e
17:36:15 #1 transferring dockerfile: 1.58kB done
17:36:15 #1 DONE 0.0s
17:36:15 
17:36:15 #3 [internal] load metadata for docker.io/library/golang:1.12.12
17:36:16 #3 DONE 0.1s
17:36:16 
17:36:16 #4 [1/11] FROM docker.io/library/golang:1.12.12@sha256:f80dfc88ee2af04de5e4...
17:36:16 #4 DONE 0.0s
17:36:16 
17:36:16 #10 [internal] load build context
17:36:17 #10 transferring context: 44.05MB 1.1s done
17:36:17 #10 DONE 1.1s
17:36:17 
17:36:17 #11 [7/11] COPY e2e/testdata/notary/root-ca.cert /usr/share/ca-certificates/...
17:36:17 #11 CACHED
17:36:17 
17:36:17 #5 [2/11] RUN apt-get update && apt-get install -y     build-essential     ...
17:36:17 #5 CACHED
17:36:17 
17:36:17 #6 [3/11] RUN curl -L https://github.com/docker/compose/releases/download/1...
17:36:17 #6 CACHED
17:36:17 
17:36:17 #7 [4/11] RUN curl -Ls https://github.com/theupdateframework/notary/release...
17:36:17 #7 CACHED
17:36:17 
17:36:17 #8 [5/11] RUN curl -Ls https://github.com/gotestyourself/gotestsum/releases...
17:36:17 #8 CACHED
17:36:17 
17:36:17 #9 [6/11] WORKDIR /go/src/github.com/docker/cli
17:36:17 #9 CACHED
17:36:17 
17:36:17 #12 [8/11] RUN echo 'notary.cert' >> /etc/ca-certificates.conf && update-ca-...
17:36:17 #12 CACHED
17:36:17 
17:36:17 #13 [9/11] COPY . .
17:36:18 #13 DONE 1.2s
17:36:18 
17:36:18 #14 [10/11] RUN ./scripts/build/binary
17:36:19 #14 0.827 Building statically linked build/docker-linux-amd64
17:37:40 #14 75.18 # github.com/docker/cli/cli/compose/convert
17:37:40 #14 75.18 cli/compose/convert/service.go:688:46: cannot refer to unexported name oci.defaultCapabilities
17:37:40 #14 75.18 cli/compose/convert/service.go:688:46: undefined: oci.defaultCapabilities
17:37:40 #14 ERROR: executor failed running [/bin/sh -c ./scripts/build/binary]: exit code: 2
17:37:40 ------
17:37:40  > [10/11] RUN ./scripts/build/binary:
17:37:40 ------
17:37:40 failed to solve with frontend dockerfile.v0: failed to build LLB: executor failed running [/bin/sh -c ./scripts/build/binary]: exit code: 2
17:37:40 docker.Makefile:55: recipe for target 'build_e2e_image' failed
17:37:40 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