Pull request #2476 opened 22:42:30 Connecting to https://api.github.com using docker-jenkins/****** (docker-jenkins GitHub credentials) Loading trusted files from base branch master at a0b9c3d0b38abd4af1880ca3dde2845556dd2f70 rather than 901f8572191755f05a2b3ad5d07e0c875f1221cc Obtained Jenkinsfile from a0b9c3d0b38abd4af1880ca3dde2845556dd2f70 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/docker-py_PR-2476@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 Still waiting to schedule task Waiting for next available executor on ‘ubuntu&&!zfs&&amd64’ Running on ubuntu-1804-overlay2 (i-0dc085ed0ca4bb1a2) in /home/ubuntu/workspace/docker-py_PR-2476 [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/docker-py_PR-2476@tmp/b0ae06b6-bbb0-4cb6-8799-abea69401e52/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:44:05 cleanWorkspace: Ensuring workspace is owned by ubuntu [Pipeline] echo 22:44:05 chowning workspace [Pipeline] sh 22:44:06 + uname -m [Pipeline] sh 22:44:07 + pwd 22:44:07 + id -u 22:44:07 + id -g 22:44:07 + docker run --rm -v /home/ubuntu/workspace/docker-py_PR-2476:/workspace busybox chown -R 1000:1000 /workspace 22:44:07 Unable to find image 'busybox:latest' locally 22:44:07 latest: Pulling from library/busybox 22:44:07 322973677ef5: Pulling fs layer 22:44:07 322973677ef5: Verifying Checksum 22:44:07 322973677ef5: Download complete 22:44:08 322973677ef5: Pull complete 22:44:08 Digest: sha256:1828edd60c5efd34b2bf5dd3282ec0cc04d47b2ff9caa0b6d4f07a21d1c08084 22:44:08 Status: Downloaded newer image for busybox:latest [Pipeline] echo 22:44:11 Removing all docker containers [Pipeline] sh 22:44:11 + docker container ls -aq [Pipeline] echo 22:44:11 Docker containers have been removed [Pipeline] echo 22:44:11 cleanWorkspace: Removing existing workspace [Pipeline] deleteDir [Pipeline] echo 22:44:11 cleanWorkspace: Workspace is clean. [Pipeline] stage [Pipeline] { (build image) [Pipeline] checkout 22:44:14 using credential docker-jenkins-github-credentials 22:44:14 Cloning the remote Git repository 22:44:14 Cloning with configured refspecs honoured and without tags Cloning repository https://github.com/docker/docker-py.git > git init /home/ubuntu/workspace/docker-py_PR-2476 # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git > git --version # timeout=10 using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/docker-py.git +refs/pull/2476/head:refs/remotes/origin/PR-2476 +refs/heads/master:refs/remotes/origin/master 22:44:16 Fetching without tags 22:44:17 Merging remotes/origin/master commit a0b9c3d0b38abd4af1880ca3dde2845556dd2f70 into PR head commit 901f8572191755f05a2b3ad5d07e0c875f1221cc [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // wrap [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline > git config remote.origin.url https://github.com/docker/docker-py.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/2476/head:refs/remotes/origin/PR-2476 # 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/docker-py.git # timeout=10 Fetching upstream changes from https://github.com/docker/docker-py.git using GIT_ASKPASS to set credentials docker-jenkins GitHub credentials > git fetch --no-tags --progress -- https://github.com/docker/docker-py.git +refs/pull/2476/head:refs/remotes/origin/PR-2476 +refs/heads/master:refs/remotes/origin/master > git config core.sparsecheckout # timeout=10 > git checkout -f 901f8572191755f05a2b3ad5d07e0c875f1221cc GitHub has been notified of this commit’s build result hudson.plugins.git.GitException: Command "git checkout -f 901f8572191755f05a2b3ad5d07e0c875f1221cc" returned status code 128: stdout: stderr: fatal: reference is not a tree: 901f8572191755f05a2b3ad5d07e0c875f1221cc at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2104) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$1000(CliGitAPIImpl.java:72) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:2403) Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to ubuntu-1804-overlay2 (i-0dc085ed0ca4bb1a2) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743) at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357) at hudson.remoting.Channel.call(Channel.java:957) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146) at sun.reflect.GeneratedMethodAccessor613.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132) at com.sun.proxy.$Proxy472.execute(Unknown Source) at jenkins.plugins.git.MergeWithGitSCMExtension.checkout(MergeWithGitSCMExtension.java:146) at jenkins.plugins.git.MergeWithGitSCMExtension.decorateRevisionToBuild(MergeWithGitSCMExtension.java:112) at hudson.plugins.git.GitSCM.determineRevisionToBuild(GitSCM.java:1100) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1193) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:124) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:93) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:80) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused: hudson.plugins.git.GitException: Could not checkout 901f8572191755f05a2b3ad5d07e0c875f1221cc at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:2427) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153) at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146) at hudson.remoting.UserRequest.perform(UserRequest.java:212) at hudson.remoting.UserRequest.perform(UserRequest.java:54) at hudson.remoting.Request$2.run(Request.java:369) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.lang.Thread.run(Thread.java:834) Finished: FAILURE