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

Text Finder on Windows Slave leaves file pointer open

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: text-finder-plugin
    • Labels:
      None
    • Environment:
      Platform: PC, OS: Windows XP
    • Similar Issues:

      Description

      I have a linux server running my main hudson instance. Then I have a slave node
      running on a Windows XP system. I do an svn checkout of some code, run some
      perl commands, and then use Text-Finder to search for .[ERROR]. in */.txt.
      If the text is found, I mark the build unstable. When that text is not found,
      the build is marked successful and everything works great. When that text is
      found, the build is marked unstable and the build completes okay. However the
      text file that was searched is left open. This means that hudson cannot delete
      the file when I build again. If I disconnect hudson from the Windows slave
      node, the file is released and when the node comes back I can build again.
      Please let me know if I can provide any more information to help with
      identifying / debugging the issue.

      Thanks,
      Joe Ebmeier

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in hudson
          User: : kohsuke
          Path:
          trunk/hudson/plugins/text-finder/src/main/java/hudson/plugins/textfinder/TextFinderPublisher.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=17748
          Log:
          [FIXED JENKINS-3613] Fixed a file handle leak.
          Also avoided using deprecated methods

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : kohsuke Path: trunk/hudson/plugins/text-finder/src/main/java/hudson/plugins/textfinder/TextFinderPublisher.java http://fisheye4.cenqua.com/changelog/hudson/?cs=17748 Log: [FIXED JENKINS-3613] Fixed a file handle leak. Also avoided using deprecated methods

            People

            • Assignee:
              drlewis drlewis
              Reporter:
              ebmeierj ebmeierj
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: