Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-16751

Jackrabbit-Oak-Windows build fails on windows-2016-1: The process cannot access the file because it is being used by another process

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: Jenkins
    • Labels:
      None
    • Project:
      Jackrabbit

      Description

      This build has started failing, with the following error:

      [...truncated 13.77 KB...]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
              at hudson.remoting.Engine$1$1.run(Engine.java:98)
              at java.lang.Thread.run(Unknown Source)
      Caused by: hudson.remoting.ProxyException: java.io.IOException: Unable to delete '<https://builds.apache.org/job/Jackrabbit-Oak-Windows/ws/oak-blob-plugins\target'.> Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.
              at hudson.Util.deleteRecursive(Util.java:370)
              at hudson.scm.subversion.UpdateWithCleanUpdater$TaskImpl$1.handleStatus(UpdateWithCleanUpdater.java:75)
              ... 32 more
      Caused by: hudson.remoting.ProxyException: java.nio.file.FileSystemException: <https://builds.apache.org/job/Jackrabbit-Oak-Windows/ws/oak-blob-plugins\target\oak-blob-plugins-1.10-SNAPSHOT.jar>: The process cannot access the file because it is being used by another process.

              at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
              at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
              at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
              at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
              at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(Unknown Source)
              at java.nio.file.Files.deleteIfExists(Unknown Source)
              at hudson.Util.tryOnceDeleteFile(Util.java:316)
              at hudson.Util.tryOnceDeleteRecursive(Util.java:388)
              at hudson.Util.tryOnceDeleteContentsRecursive(Util.java:407)
              at hudson.Util.tryOnceDeleteRecursive(Util.java:387)
              at hudson.Util.deleteRecursive(Util.java:365)
              ... 33 more
      ERROR: Subversion update fail

      I tried manually clearing the workspace, but that has also failed:

      An error occurred processing your request. Ask your Jenkins administrator to look up details. ErrorID=2f06bf5c-26d2-4acd-8f77-8d389e972abe

      Can you please look into it? The build no longer works for us.

        Attachments

          Activity

            People

            • Assignee:
              cthistle Chris Thistlethwaite
              Reporter:
              rombert Robert Munteanu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: