com.microsoftopentechnologies.windowsazurestorage.exceptions.WAStorageException

Unable to delete 'C:\...\artifactsArchive1192707576229944372.tmp\archive.zip'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts.

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 web148

  • via Unknown by Keegan Caradonna,
  • Stack trace

    • com.microsoftopentechnologies.windowsazurestorage.exceptions.WAStorageException: Unable to delete 'C:\...\artifactsArchive1192707576229944372.tmp\archive.zip'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts. at com.microsoftopentechnologies.windowsazurestorage.WAStorageClient.upload(WAStorageClient.java:363) at com.microsoftopentechnologies.windowsazurestorage.WAStoragePublisher.perform(WAStoragePublisher.java:289) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:69) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:59) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:260) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.nio.file.FileSystemException: C:\...\artifactsArchive1192707576229944372.tmp\archive.zip: 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:287) at hudson.Util.deleteFile(Util.java:243) at hudson.FilePath.deleteRecursive(FilePath.java:1209) at hudson.FilePath.deleteContentsRecursive(FilePath.java:1218) at hudson.FilePath.deleteRecursive(FilePath.java:1200) at hudson.FilePath.access$1000(FilePath.java:195) at hudson.FilePath$14.invoke(FilePath.java:1179) at hudson.FilePath$14.invoke(FilePath.java:1176) at hudson.FilePath.act(FilePath.java:996) at hudson.FilePath.act(FilePath.java:974) at hudson.FilePath.deleteRecursive(FilePath.java:1176) at com.microsoftopentechnologies.windowsazurestorage.WAStorageClient.upload(WAStorageClient.java:359)

    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

    Unknown visitor
    Unknown visitorOnce,
    ivanszkypeterivanszkypeter
    53 times, last one
    osvzsosvzs
    4 times, last one
    Andreas HäberAndreas Häber
    Once,
    Unknown visitor
    Unknown visitorOnce,
    9 more bugmates