hudson.plugins.git.GitException: Could not checkout null with start point 79c8eb3d846d09ecedf3b331942d8904cdedf515

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I have been getting the following exception when trying to get an existing sha passed from an upstream job: Started by upstream project "fptools_gcc-25x_test" build number 558 originally caused by: Started by upstream project "fptools_gcc-25x" build number 630 originally caused by: Started by an SCM change [EnvInject] - Loading node environment variables. Building on master in workspace <http://jenkins-cam-04.cam.broadcom.com/job/fptools_gcc-25x_test/archs=fp4014/ws/> Fetching changes from the remote Git repository Fetching upstream changes from dsl-git@eng-cbga-2.cam.broadcom.com:tools/fp_gcc Checking out Revision 79c8eb3d846d09ecedf3b331942d8904cdedf515 (origin/FP_GCC_2_5_X_BRANCH) ERROR: Timeout after 10 minutes FATAL: Could not checkout null with start point 79c8eb3d846d09ecedf3b331942d8904cdedf515 hudson.plugins.git.GitException: Could not checkout null with start point 79c8eb3d846d09ecedf3b331942d8904cdedf515 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:1309) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:888) at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561) at hudson.model.Run.execute(Run.java:1665) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) Caused by: hudson.plugins.git.GitException: Command "git checkout -f 79c8eb3d846d09ecedf3b331942d8904cdedf515" returned status code 143: stdout: stderr: at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1183) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1160) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1156) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:972) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:982) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkout(CliGitAPIImpl.java:1283) at hudson.plugins.git.GitAPI.checkout(GitAPI.java:208) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:1293) ... 9 more
    via by Paulo Matos,
  • I have been getting the following exception when trying to get an existing sha passed from an upstream job: Started by upstream project "fptools_gcc-25x_test" build number 558 originally caused by: Started by upstream project "fptools_gcc-25x" build number 630 originally caused by: Started by an SCM change [EnvInject] - Loading node environment variables. Building on master in workspace <http://jenkins-cam-04.cam.broadcom.com/job/fptools_gcc-25x_test/archs=fp4014/ws/> Fetching changes from the remote Git repository Fetching upstream changes from dsl-git@eng-cbga-2.cam.broadcom.com:tools/fp_gcc Checking out Revision 79c8eb3d846d09ecedf3b331942d8904cdedf515 (origin/FP_GCC_2_5_X_BRANCH) ERROR: Timeout after 10 minutes FATAL: Could not checkout null with start point 79c8eb3d846d09ecedf3b331942d8904cdedf515 hudson.plugins.git.GitException: Could not checkout null with start point 79c8eb3d846d09ecedf3b331942d8904cdedf515 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:1309) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:888) at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561) at hudson.model.Run.execute(Run.java:1665) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) Caused by: hudson.plugins.git.GitException: Command "git checkout -f 79c8eb3d846d09ecedf3b331942d8904cdedf515" returned status code 143: stdout: stderr: at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1183) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1160) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1156) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:972) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:982) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkout(CliGitAPIImpl.java:1283) at hudson.plugins.git.GitAPI.checkout(GitAPI.java:208) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:1293) ... 9 more
    via by Paulo Matos,
  • Build failed in Jenkins: CmdStan tests #6
    via by Unknown author,
  • I am using the Envinject plugin to set some pre-scm variables. When I specify the local branch to merge to as a parameter, the first build is able to check out (then fails for other reasons). On the second build, the build will fail with the stack trace that follows. If I replace the variable with the name it resolves to, it works fine. --- 12:56:03 FATAL: Command "/usr/local/git/bin/git checkout -b ${DATA_DEPLOY_BRANCH} e60ebf368ec03b4e4dd449427d50115203049218" returned status code 128: 12:56:03 stdout: 12:56:03 stderr: fatal: A branch named 'mybranch' already exists. 12:56:03 12:56:03 hudson.plugins.git.GitException: Command "/usr/local/git/bin/git checkout -b ${DATA_DEPLOY_BRANCH} e60ebf368ec03b4e4dd449427d50115203049218" returned status code 128: 12:56:03 stdout: 12:56:03 stderr: fatal: A branch named 'mybranch' already exists. 12:56:03 12:56:03 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:772) 12:56:03 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:738) 12:56:03 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:748) 12:56:03 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkout(CliGitAPIImpl.java:845) 12:56:03 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1283) 12:56:03 at hudson.plugins.git.GitSCM.access$1100(GitSCM.java:57) 12:56:03 at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1232) 12:56:03 at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1208) 12:56:03 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) 12:56:03 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 12:56:03 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 12:56:03 at hudson.remoting.Request$2.run(Request.java:326) 12:56:03 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 12:56:03 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 12:56:03 at java.util.concurrent.FutureTask.run(FutureTask.java:166) 12:56:03 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 12:56:03 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 12:56:03 at hudson.remoting.Engine$1$1.run(Engine.java:58) 12:56:03 at java.lang.Thread.run(Thread.java:722)
    via by b2jrock,
  • I am using the Envinject plugin to set some pre-scm variables. When I specify the local branch to merge to as a parameter, the first build is able to check out (then fails for other reasons). On the second build, the build will fail with the stack trace that follows. If I replace the variable with the name it resolves to, it works fine. --- 12:56:03 FATAL: Command "/usr/local/git/bin/git checkout -b ${DATA_DEPLOY_BRANCH} e60ebf368ec03b4e4dd449427d50115203049218" returned status code 128: 12:56:03 stdout: 12:56:03 stderr: fatal: A branch named 'mybranch' already exists. 12:56:03 12:56:03 hudson.plugins.git.GitException: Command "/usr/local/git/bin/git checkout -b ${DATA_DEPLOY_BRANCH} e60ebf368ec03b4e4dd449427d50115203049218" returned status code 128: 12:56:03 stdout: 12:56:03 stderr: fatal: A branch named 'mybranch' already exists. 12:56:03 12:56:03 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:772) 12:56:03 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:738) 12:56:03 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:748) 12:56:03 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkout(CliGitAPIImpl.java:845) 12:56:03 at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1283) 12:56:03 at hudson.plugins.git.GitSCM.access$1100(GitSCM.java:57) 12:56:03 at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1232) 12:56:03 at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1208) 12:56:03 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2348) 12:56:03 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 12:56:03 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 12:56:03 at hudson.remoting.Request$2.run(Request.java:326) 12:56:03 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 12:56:03 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 12:56:03 at java.util.concurrent.FutureTask.run(FutureTask.java:166) 12:56:03 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 12:56:03 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 12:56:03 at hudson.remoting.Engine$1$1.run(Engine.java:58) 12:56:03 at java.lang.Thread.run(Thread.java:722)
    via by b2jrock,
  • FlightGear - Flight Simulator / Mailing Lists
    via by Unknown author,
  • Used to work on git 2.2.1. After upgrading to 2.2.7, it cannot work on Linux slave. But can work on windows slave. Errors from polling log: Started on Oct 21, 2014 10:31:00 PM Polling SCM changes on VM-Platuypus-Build-10.110.61.85-PDK Using strategy: Default [poll] Last Built Revision: Revision cd2cd96d9ff5f3ca90ead6178f299a873978a44c (origin/master) > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repositories > git config remote.origin.url ssh://bmcdiags@10.110.61.117:30000/platypus.git # timeout=10 Fetching upstream changes from ssh://bmcdiags@10.110.61.117:30000/platypus.git > git --version # timeout=10 > git fetch --tags ssh://bmcdiags@10.110.61.117:30000/platypus.git +refs/heads/*:refs/remotes/origin/* # timeout=20 FATAL: hudson.plugins.git.GitException: Failed to fetch from ssh://bmcdiags@10.110.61.117:30000/platypus.git hudson.util.IOException2: hudson.plugins.git.GitException: Failed to fetch from ssh://bmcdiags@10.110.61.117:30000/platypus.git at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:475) at hudson.scm.SCM._compareRemoteRevisionWith(SCM.java:357) at hudson.scm.SCM.poll(SCM.java:374) at hudson.model.AbstractProject.pollWithWorkspace(AbstractProject.java:1449) at hudson.model.AbstractProject._poll(AbstractProject.java:1420) at hudson.model.AbstractProject.poll(AbstractProject.java:1331) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:477) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:506) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: hudson.plugins.git.GitException: Failed to fetch from ssh://bmcdiags@10.110.61.117:30000/platypus.git at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:647) at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:554) at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:473) ... 13 more Caused by: hudson.plugins.git.GitException: Command "git fetch --tags ssh://bmcdiags@10.110.61.117:30000/platypus.git +refs/heads/*:refs/remotes/origin/*" returned status code 128: stdout: stderr: error: cannot run ssh: No such file or directory fatal: unable to fork at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1435) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1223) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:85) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:280) 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:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) Done. Took 0.15 sec No changes
    via by sharon xia,
    • hudson.plugins.git.GitException: Could not checkout null with start point 79c8eb3d846d09ecedf3b331942d8904cdedf515 at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:1309) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:888) at hudson.model.AbstractProject.checkout(AbstractProject.java:1411) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:561) at hudson.model.Run.execute(Run.java:1665) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:246) Caused by: hudson.plugins.git.GitException: Command "git checkout -f 79c8eb3d846d09ecedf3b331942d8904cdedf515" returned status code 143: stdout: stderr: at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1183) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1160) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1156) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:972) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommand(CliGitAPIImpl.java:982) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkout(CliGitAPIImpl.java:1283) at hudson.plugins.git.GitAPI.checkout(GitAPI.java:208) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.checkoutBranch(CliGitAPIImpl.java:1293) ... 9 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    2 more bugmates