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

CMake plugin leaks file handle on CMakeCache.txt

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      I'm building a standard CMake project. During build, it complains about being unable to determine CMAKE_BUILD_TOOL (see JENKINS-29267), and the agent keeps the CMakeCache.txt file open, causing subsequent builds that attempt to clean the build directory to fail as the file is still in use:

      19:39:15 Cleaning build dir... C:\Jenkins\workspace\windows-triangle-msvc\build
      19:39:16 ERROR: remote file operation failed: C:\Jenkins\workspace\windows-triangle-msvc\build at hudson.remoting.Channel@e17d372:JNLP4-connect connection from kicad-build-win7/192.168.122.10:49438: java.io.IOException: Unable to delete 'C:\Jenkins\workspace\windows-triangle-msvc\build\CMakeCache.txt'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.
      19:39:16 Build step 'CMake Build' marked build as failure

        Attachments

          Activity

            People

            Assignee:
            15knots Martin Weber
            Reporter:
            simonrichter Simon Richter
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: