Hello,
Every so often I get this error during the SCM update phase:
> C:\Git\bin\git.exe rev-list 101d7a8540b24fcb19f4cfe4a3f3503a20adb0a8 # timeout=10
FATAL: Invalid id: Process leaked file descriptors. See
http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information
java.lang.IllegalArgumentException: Invalid id: Process leaked file descriptors. See
http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information
at org.eclipse.jgit.lib.ObjectId.fromString(ObjectId.java:232)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$9.execute(CliGitAPIImpl.java:1752)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.revList(CliGitAPIImpl.java:1777)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.isCommitInRepo(CliGitAPIImpl.java:1803)
at hudson.plugins.git.GitAPI.isCommitInRepo(GitAPI.java:190)
at hudson.plugins.git.GitSCM.computeChangeLog(GitSCM.java:1040)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:973)
at hudson.scm.SCM.checkout(SCM.java:488)
at org.jenkinsci.plugins.multiplescms.MultiSCM.checkout(MultiSCM.java:118)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1253)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528)
at hudson.model.Run.execute(Run.java:1745)
at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
at hudson.model.ResourceController.execute(ResourceController.java:89)
at hudson.model.Executor.run(Executor.java:240)
(I'm currently using version 1.579 and msysgit 1.8.1.2-preview20130201
on Windows 7, but this has happened to me in the past using earlier
versions of both Jenkins and git.)
I've tried the workaround suggested by the error messsage. If I access
the /systemInfo page, I can confirm that hudson.util.ProcessTree.disable
is set to true, but the error still happens.
Any hints?
Thanks in advance,
Luís