java.io.IOException

remote file operation failed: /scratch/jenkins/secretFiles/ed503d92-4726-4033-9afe-00affd88bde6 at hudson.remoting.Channel@25888a1:c1617b93: java.nio.file.DirectoryNotEmptyException: /scratch/jenkins/secretFiles/ed503d92-4726-4033-9afe-00affd88bde6/credentials.zip

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web38

  • via Unknown by James Nord,
  • via Unknown by James Nord,
  • via GitHub by TeufelPenguin
    ,
  • Stack trace

    • java.io.IOException: remote file operation failed: /scratch/jenkins/secretFiles/ed503d92-4726-4033-9afe-00affd88bde6 at hudson.remoting.Channel@25888a1:c1617b93: java.nio.file.DirectoryNotEmptyException: /scratch/jenkins/secretFiles/ed503d92-4726-4033-9afe-00affd88bde6/credentials.zip at hudson.FilePath.act(FilePath.java:985) at hudson.FilePath.act(FilePath.java:967) at hudson.FilePath.deleteRecursive(FilePath.java:1169) at org.jenkinsci.plugins.credentialsbinding.impl.FileBinding$UnbinderImpl.unbind(FileBinding.java:76) at org.jenkinsci.plugins.credentialsbinding.impl.BindingStep$Callback.cleanup(BindingStep.java:176) at org.jenkinsci.plugins.credentialsbinding.impl.BindingStep$Callback.onFailure(BindingStep.java:189) at org.jenkinsci.plugins.workflow.cps.CpsBodyExecution$FailureAdapter.receive(CpsBodyExecution.java:294) at com.cloudbees.groovy.cps.impl.ThrowBlock$1.receive(ThrowBlock.java:68) Caused by: java.nio.file.DirectoryNotEmptyException: /scratch/jenkins/secretFiles/ed503d92-4726-4033-9afe-00affd88bde6/credentials.zip 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:1079)

    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

    davidvanlaatumdavidvanlaatum
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    1 more bugmates