java.nio.file.DirectoryNotEmptyException

/var/lib/jenkins/logs/slaves/mesos-jenkins-46d44420a791422b99e624221fcffb3a-mesos-java8

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web38

  • via GitHub by damomurf
    , 1 year ago
    /var/lib/jenkins/logs/slaves/mesos-jenkins-46d44420a791422b99e624221fcffb3a-mesos-java8
  • via Jenkins JIRA by Jakub Gladykowski, 11 months ago
    /var/lib/jenkins/jobs/Admin/jobs/Prepare_Jenkins_Repo_All_Slaves/builds/lastSuccessfulBuild
  • via Google Groups by Pi Jenkins, 6 months ago
    /var/lib/jenkins/jobs/JNA/configurations/axis-label/pi2/lastStable
  • Stack trace

    • java.nio.file.DirectoryNotEmptyException: /var/lib/jenkins/logs/slaves/mesos-jenkins-46d44420a791422b99e624221fcffb3a-mesos-java8 at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:242) at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103) at java.nio.file.Files.delete(Files.java:1126) at sun.reflect.GeneratedMethodAccessor5484.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at hudson.Util.deleteFile(Util.java:257) at hudson.Util.deleteRecursive(Util.java:320) at hudson.slaves.SlaveComputer.kill(SlaveComputer.java:670) at hudson.model.AbstractCIBase.killComputer(AbstractCIBase.java:86) at hudson.model.AbstractCIBase.updateComputerList(AbstractCIBase.java:205) at jenkins.model.Jenkins.updateComputerList(Jenkins.java:1260) at jenkins.model.Nodes$4.run(Nodes.java:219) at hudson.model.Queue._withLock(Queue.java:1306) at hudson.model.Queue.withLock(Queue.java:1189) at jenkins.model.Nodes.removeNode(Nodes.java:210) at jenkins.model.Jenkins.removeNode(Jenkins.java:1760) at org.jenkinsci.plugins.mesos.MesosSlave.terminate(MesosSlave.java:101) at org.jenkinsci.plugins.mesos.MesosCleanupThread$1.run(MesosCleanupThread.java:98) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at jenkins.util.ContextResettingExecutorService$1.run(ContextResettingExecutorService.java:28) 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    1 more bugmates