java.nio.file.DirectoryNotEmptyException: d:\jwsp\GIT.build1-maven3-develop\abc\Apps\applications\Reconfirm\target

Jenkins JIRA | Mike Craig | 2 years ago
  1. 0

    [JIRA] [jacoco-plugin] (JENKINS-28636) Jacoco.exec can not be deleted

    Google Groups | 2 years ago | mcraig88@yahoo.com (JIRA)
    java.nio.file.DirectoryNotEmptyException: d:\jwsp\GIT.build1-maven3-develop\abc\Apps\applications\Reconfirm\target
  2. 0

    Hello, We have an issue where our Maven builds run for a little while, then at some point a new build will kick off and will not be able to clean the workspace because jacoco.exec is locked and can not be deleted. Our build user "BuildProp" is an administrator on this server and cannot remove the file. If I log in as myself, also and Admin, I can delete the file. However, once I navigate away from the folder and back, jacoco.exec will once again appear. This started about a week ago, I suspect is has something to do with us running builds on a slave node. Started by an SCM change Building on master in workspace d:\jwsp\GIT.build1-maven3-develop Wiping out workspace first. java.nio.file.DirectoryNotEmptyException: d:\jwsp\GIT.build1-maven3-develop\abc\Apps\applications\Reconfirm\target at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source) at sun.nio.fs.AbstractFileSystemProvider.delete(Unknown Source) at java.nio.file.Files.delete(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at hudson.Util.deleteFile(Util.java:247) at hudson.FilePath.deleteRecursive(FilePath.java:1202) at hudson.FilePath.deleteContentsRecursive(FilePath.java:1211) at hudson.FilePath.deleteRecursive(FilePath.java:1193) at hudson.FilePath.deleteContentsRecursive(FilePath.java:1211) at hudson.FilePath.deleteRecursive(FilePath.java:1193) at hudson.FilePath.deleteContentsRecursive(FilePath.java:1211) at hudson.FilePath.deleteRecursive(FilePath.java:1193) at hudson.FilePath.deleteContentsRecursive(FilePath.java:1211) at hudson.FilePath.deleteRecursive(FilePath.java:1193) at hudson.FilePath.deleteContentsRecursive(FilePath.java:1211) at hudson.FilePath.access$1100(FilePath.java:191) at hudson.FilePath$15.invoke(FilePath.java:1185) at hudson.FilePath$15.invoke(FilePath.java:1182) at hudson.FilePath.act(FilePath.java:989) at hudson.FilePath.act(FilePath.java:967) at hudson.FilePath.deleteContents(FilePath.java:1182) at hudson.plugins.git.extensions.impl.WipeWorkspace.beforeCheckout(WipeWorkspace.java:28) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1013) at hudson.scm.SCM.checkout(SCM.java:484) at hudson.model.AbstractProject.checkout(AbstractProject.java:1270) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531) at hudson.model.Run.execute(Run.java:1741) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Archiving artifacts Skipping sonar analysis due to bad build status FAILURE Notified Stash for commit with id e3f3c786a74c4be6eec44e5771650a8a0d1737cd Email was triggered for: Failure - Any Sending email for trigger: Failure - Any

    Jenkins JIRA | 2 years ago | Mike Craig
    java.nio.file.DirectoryNotEmptyException: d:\jwsp\GIT.build1-maven3-develop\abc\Apps\applications\Reconfirm\target
  3. 0

    Hello, We have an issue where our Maven builds run for a little while, then at some point a new build will kick off and will not be able to clean the workspace because jacoco.exec is locked and can not be deleted. Our build user "BuildProp" is an administrator on this server and cannot remove the file. If I log in as myself, also and Admin, I can delete the file. However, once I navigate away from the folder and back, jacoco.exec will once again appear. This started about a week ago, I suspect is has something to do with us running builds on a slave node. Started by an SCM change Building on master in workspace d:\jwsp\GIT.build1-maven3-develop Wiping out workspace first. java.nio.file.DirectoryNotEmptyException: d:\jwsp\GIT.build1-maven3-develop\abc\Apps\applications\Reconfirm\target at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source) at sun.nio.fs.AbstractFileSystemProvider.delete(Unknown Source) at java.nio.file.Files.delete(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at hudson.Util.deleteFile(Util.java:247) at hudson.FilePath.deleteRecursive(FilePath.java:1202) at hudson.FilePath.deleteContentsRecursive(FilePath.java:1211) at hudson.FilePath.deleteRecursive(FilePath.java:1193) at hudson.FilePath.deleteContentsRecursive(FilePath.java:1211) at hudson.FilePath.deleteRecursive(FilePath.java:1193) at hudson.FilePath.deleteContentsRecursive(FilePath.java:1211) at hudson.FilePath.deleteRecursive(FilePath.java:1193) at hudson.FilePath.deleteContentsRecursive(FilePath.java:1211) at hudson.FilePath.deleteRecursive(FilePath.java:1193) at hudson.FilePath.deleteContentsRecursive(FilePath.java:1211) at hudson.FilePath.access$1100(FilePath.java:191) at hudson.FilePath$15.invoke(FilePath.java:1185) at hudson.FilePath$15.invoke(FilePath.java:1182) at hudson.FilePath.act(FilePath.java:989) at hudson.FilePath.act(FilePath.java:967) at hudson.FilePath.deleteContents(FilePath.java:1182) at hudson.plugins.git.extensions.impl.WipeWorkspace.beforeCheckout(WipeWorkspace.java:28) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1013) at hudson.scm.SCM.checkout(SCM.java:484) at hudson.model.AbstractProject.checkout(AbstractProject.java:1270) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531) at hudson.model.Run.execute(Run.java:1741) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:374) Archiving artifacts Skipping sonar analysis due to bad build status FAILURE Notified Stash for commit with id e3f3c786a74c4be6eec44e5771650a8a0d1737cd Email was triggered for: Failure - Any Sending email for trigger: Failure - Any

    Jenkins JIRA | 2 years ago | Mike Craig
    java.nio.file.DirectoryNotEmptyException: d:\jwsp\GIT.build1-maven3-develop\abc\Apps\applications\Reconfirm\target
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JIRA] [core] (JENKINS-19741) Massive jobs execution causes issues in lastSuccessfulBuild permalink update

    Google Groups | 9 months ago | s...@sumost.ca (JIRA)
    java.nio.file.DirectoryNotEmptyException: c:\Jenkins\jobs\CD-CFW_Selenium_Part1\builds\lastSuccessfulBuild<br>
  6. 0

    java.nio.file.DirectoryNotEmptyException when deleting lastSuccessful/lastStable jenkins

    Stack Overflow | 2 years ago | thenaglecode
    java.nio.file.DirectoryNotEmptyException: C:\jenkins\jobs\My Job\lastSuccessful

  1. davidvanlaatum 1 times, last 6 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.nio.file.DirectoryNotEmptyException

    d:\jwsp\GIT.build1-maven3-develop\abc\Apps\applications\Reconfirm\target

    at sun.nio.fs.WindowsFileSystemProvider.implDelete()
  2. Java RT
    Method.invoke
    1. sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source)
    2. sun.nio.fs.AbstractFileSystemProvider.delete(Unknown Source)
    3. java.nio.file.Files.delete(Unknown Source)
    4. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    5. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    6. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    7. java.lang.reflect.Method.invoke(Unknown Source)
    7 frames
  3. Hudson
    FilePath.deleteContents
    1. hudson.Util.deleteFile(Util.java:247)
    2. hudson.FilePath.deleteRecursive(FilePath.java:1202)
    3. hudson.FilePath.deleteContentsRecursive(FilePath.java:1211)
    4. hudson.FilePath.deleteRecursive(FilePath.java:1193)
    5. hudson.FilePath.deleteContentsRecursive(FilePath.java:1211)
    6. hudson.FilePath.deleteRecursive(FilePath.java:1193)
    7. hudson.FilePath.deleteContentsRecursive(FilePath.java:1211)
    8. hudson.FilePath.deleteRecursive(FilePath.java:1193)
    9. hudson.FilePath.deleteContentsRecursive(FilePath.java:1211)
    10. hudson.FilePath.deleteRecursive(FilePath.java:1193)
    11. hudson.FilePath.deleteContentsRecursive(FilePath.java:1211)
    12. hudson.FilePath.access$1100(FilePath.java:191)
    13. hudson.FilePath$15.invoke(FilePath.java:1185)
    14. hudson.FilePath$15.invoke(FilePath.java:1182)
    15. hudson.FilePath.act(FilePath.java:989)
    16. hudson.FilePath.act(FilePath.java:967)
    17. hudson.FilePath.deleteContents(FilePath.java:1182)
    17 frames
  4. hudson.plugins.git
    WipeWorkspace.beforeCheckout
    1. hudson.plugins.git.extensions.impl.WipeWorkspace.beforeCheckout(WipeWorkspace.java:28)
    1 frame
  5. Hudson GIT plugin
    GitSCM.checkout
    1. hudson.plugins.git.GitSCM.checkout(GitSCM.java:1013)
    1 frame
  6. Hudson
    AbstractBuild$AbstractBuildExecution.defaultCheckout
    1. hudson.scm.SCM.checkout(SCM.java:484)
    2. hudson.model.AbstractProject.checkout(AbstractProject.java:1270)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609)
    3 frames
  7. jenkins.scm
    SCMCheckoutStrategy.checkout
    1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
    1 frame
  8. Hudson
    Run.execute
    1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:531)
    2. hudson.model.Run.execute(Run.java:1741)
    2 frames
  9. Hudson Maven Embedder
    MavenModuleSetBuild.run
    1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
    1 frame
  10. Hudson
    Executor.run
    1. hudson.model.ResourceController.execute(ResourceController.java:98)
    2. hudson.model.Executor.run(Executor.java:374)
    2 frames