git - What does, "FATAL: Error computing merge base" mean? -


i've had jenkins running year now. builds master, rc*, , production branches. on every commit, performs git clone, bundle install, runs migration, etc. it's been working perfectly. recently, has been failing , i'm getting following traceback:

fatal: error computing merge base hudson.plugins.git.gitexception: error computing merge base   @ hudson.plugins.git.util.gitutils.filtertipbranches(gitutils.java:149)   @ hudson.plugins.git.util.defaultbuildchooser.getadvancedcandidaterevisions(defaultbuildchooser.java:201)   @ hudson.plugins.git.util.defaultbuildchooser.getcandidaterevisions(defaultbuildchooser.java:46)   @ hudson.plugins.git.gitscm$2.invoke(gitscm.java:1057)   @ hudson.plugins.git.gitscm$2.invoke(gitscm.java:948)   @ hudson.filepath$filecallablewrapper.call(filepath.java:2417)   @ hudson.remoting.userrequest.perform(userrequest.java:118)   @ hudson.remoting.userrequest.perform(userrequest.java:48)   @ hudson.remoting.request$2.run(request.java:326)   @ hudson.remoting.interceptingexecutorservice$1.call(interceptingexecutorservice.java:72)   @ java.util.concurrent.futuretask$sync.innerrun(futuretask.java:334)   @ java.util.concurrent.futuretask.run(futuretask.java:166)   @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1110)   @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:603)   @ java.lang.thread.run(thread.java:679) 

with following displayed after:

caused by: org.eclipse.jgit.errors.missingobjectexception: missing commit 2faf546491565d033b1e0a79bef4b2d107447f49   @ org.eclipse.jgit.internal.storage.file.windowcursor.open(windowcursor.java:149)   @ org.eclipse.jgit.revwalk.revwalk.getcachedbytes(revwalk.java:853)   @ org.eclipse.jgit.revwalk.revcommit.parseheaders(revcommit.java:142)   @ org.eclipse.jgit.revwalk.mergebasegenerator.next(mergebasegenerator.java:148)   @ org.eclipse.jgit.revwalk.startgenerator.next(startgenerator.java:102)   @ org.eclipse.jgit.revwalk.revwalk.next(revwalk.java:414)   @ hudson.plugins.git.util.gitutils.filtertipbranches(gitutils.java:127)   ... 14 more 

this commit error confusing since branches include it.

what does, "error computing merge base mean?" , why getting missing commit message?

any insights here appreciated.

thanks.

git fsck:

checking object directories: 100% (256/256), done. checking objects: 100% (3203/3203), done. 

in jenkins configuration, git plugin config set to:

  1. wipe out workspace before build
  2. use shallow clone

i'm using jenkins, ver. 1.528.

per twalberg's comment above, disabling shallow clone solved issue. branches built , jobs completed.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -