Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-36645

Getting Invalid id : Process leaked file descriptors.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • core, git-plugin
    • None
    • Linux

      Hi All,

      I am getting below error when I am using poll-scm option due to this the build does not get triggered. Can anyone suggest?

      -------------------------------------------------------------------------------------------------

      ERROR: Failed to record SCM polling for hudson.model.FreeStyleProject@5dae778c[CSM_Sonar]
      org.eclipse.jgit.errors.InvalidObjectIdException: Invalid id : Process leaked file descriptors. See htt
      at org.eclipse.jgit.lib.ObjectId.fromHexString(ObjectId.java:245)
      at org.eclipse.jgit.lib.ObjectId.fromString(ObjectId.java:233)
      at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.getHeadRev(CliGitAPIImpl.java:2447)
      at hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(GitSCM.java:627)
      at hudson.plugins.git.GitSCM.compareRemoteRevisionWith(GitSCM.java:571)
      at hudson.scm.SCM.compareRemoteRevisionWith(SCM.java:381)
      at hudson.scm.SCM.poll(SCM.java:398)
      at hudson.model.AbstractProject._poll(AbstractProject.java:1453)
      at hudson.model.AbstractProject.poll(AbstractProject.java:1356)
      at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:526)
      at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:555)
      at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:119)
      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:1142)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      at java.lang.Thread.run(Thread.java:745)

      I have tried upgrading git plugin and env inject also but did not succeed.

      My env -
      jenkins -1.642.3
      Git plugin- 2.5.2
      Env inject- 1.92

      Let me know for any more details

            Unassigned Unassigned
            vishnudutt_yadav Vishnu Yadav
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: