ERROR: Failed to clean the workspace jenkins.util.io.CompositeIOException: Unable to delete '/data/jenkins/workspace/cd_hx-pawn_dc-purchase_qa/argocd_repo'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts. at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:86) at hudson.Util.deleteContentsRecursive(Util.java:259) at hudson.Util.deleteContentsRecursive(Util.java:248) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:596) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) jenkins.util.io.CompositeIOException: Unable to remove file /data/jenkins/workspace/cd_hx-pawn_dc-purchase_qa/argocd_repo/argocd/projects/.nfs0000000040312e6200000004 at jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:248) at jenkins.util.io.PathRemover.tryRemoveFile(PathRemover.java:201) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:212) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:222) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:211) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:222) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:211) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:222) at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:83) at hudson.Util.deleteContentsRecursive(Util.java:259) at hudson.Util.deleteContentsRecursive(Util.java:248) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:596) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) java.nio.file.FileSystemException: /data/jenkins/workspace/cd_hx-pawn_dc-purchase_qa/argocd_repo/argocd/projects/.nfs0000000040312e6200000004: Device or resource busy at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244) at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108) at java.nio.file.Files.deleteIfExists(Files.java:1165) at jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:233) at jenkins.util.io.PathRemover.tryRemoveFile(PathRemover.java:201) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:212) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:222) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:211) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:222) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:211) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:222) at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:83) at hudson.Util.deleteContentsRecursive(Util.java:259) at hudson.Util.deleteContentsRecursive(Util.java:248) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:596) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) java.nio.file.FileSystemException: /data/jenkins/workspace/cd_hx-pawn_dc-purchase_qa/argocd_repo/argocd/projects/.nfs0000000040312e6200000004: Device or resource busy at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:244) at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108) at java.nio.file.Files.deleteIfExists(Files.java:1165) at jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:237) at jenkins.util.io.PathRemover.tryRemoveFile(PathRemover.java:201) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:212) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:222) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:211) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:222) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:211) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:222) at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:83) at hudson.Util.deleteContentsRecursive(Util.java:259) at hudson.Util.deleteContentsRecursive(Util.java:248) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:596) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) jenkins.util.io.CompositeIOException: Unable to remove directory /data/jenkins/workspace/cd_hx-pawn_dc-purchase_qa/argocd_repo/argocd/projects with directory contents: [/data/jenkins/workspace/cd_hx-pawn_dc-purchase_qa/argocd_repo/argocd/projects/.nfs0000000040312e6200000004] at jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:246) at jenkins.util.io.PathRemover.tryRemoveFile(PathRemover.java:201) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:212) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:222) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:211) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:222) at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:83) at hudson.Util.deleteContentsRecursive(Util.java:259) at hudson.Util.deleteContentsRecursive(Util.java:248) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:596) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) java.nio.file.DirectoryNotEmptyException: /data/jenkins/workspace/cd_hx-pawn_dc-purchase_qa/argocd_repo/argocd/projects at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:242) at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108) at java.nio.file.Files.deleteIfExists(Files.java:1165) at jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:233) at jenkins.util.io.PathRemover.tryRemoveFile(PathRemover.java:201) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:212) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:222) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:211) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:222) at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:83) at hudson.Util.deleteContentsRecursive(Util.java:259) at hudson.Util.deleteContentsRecursive(Util.java:248) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:596) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) java.nio.file.DirectoryNotEmptyException: /data/jenkins/workspace/cd_hx-pawn_dc-purchase_qa/argocd_repo/argocd/projects at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:242) at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108) at java.nio.file.Files.deleteIfExists(Files.java:1165) at jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:237) at jenkins.util.io.PathRemover.tryRemoveFile(PathRemover.java:201) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:212) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:222) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:211) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:222) at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:83) at hudson.Util.deleteContentsRecursive(Util.java:259) at hudson.Util.deleteContentsRecursive(Util.java:248) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:596) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) jenkins.util.io.CompositeIOException: Unable to remove directory /data/jenkins/workspace/cd_hx-pawn_dc-purchase_qa/argocd_repo/argocd with directory contents: [/data/jenkins/workspace/cd_hx-pawn_dc-purchase_qa/argocd_repo/argocd/projects] at jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:246) at jenkins.util.io.PathRemover.tryRemoveFile(PathRemover.java:201) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:212) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:222) at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:83) at hudson.Util.deleteContentsRecursive(Util.java:259) at hudson.Util.deleteContentsRecursive(Util.java:248) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:596) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) java.nio.file.DirectoryNotEmptyException: /data/jenkins/workspace/cd_hx-pawn_dc-purchase_qa/argocd_repo/argocd at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:242) at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108) at java.nio.file.Files.deleteIfExists(Files.java:1165) at jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:233) at jenkins.util.io.PathRemover.tryRemoveFile(PathRemover.java:201) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:212) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:222) at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:83) at hudson.Util.deleteContentsRecursive(Util.java:259) at hudson.Util.deleteContentsRecursive(Util.java:248) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:596) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) java.nio.file.DirectoryNotEmptyException: /data/jenkins/workspace/cd_hx-pawn_dc-purchase_qa/argocd_repo/argocd at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:242) at sun.nio.fs.AbstractFileSystemProvider.deleteIfExists(AbstractFileSystemProvider.java:108) at java.nio.file.Files.deleteIfExists(Files.java:1165) at jenkins.util.io.PathRemover.removeOrMakeRemovableThenRemove(PathRemover.java:237) at jenkins.util.io.PathRemover.tryRemoveFile(PathRemover.java:201) at jenkins.util.io.PathRemover.tryRemoveRecursive(PathRemover.java:212) at jenkins.util.io.PathRemover.tryRemoveDirectoryContents(PathRemover.java:222) at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:83) at hudson.Util.deleteContentsRecursive(Util.java:259) at hudson.Util.deleteContentsRecursive(Util.java:248) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:596) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) ERROR: Error cloning remote repo 'origin' hudson.plugins.git.GitException: Failed to delete workspace at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:599) at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1152) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85) at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47) at hudson.security.ACL.impersonate(ACL.java:290) at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: jenkins.util.io.CompositeIOException: Unable to delete '/data/jenkins/workspace/cd_hx-pawn_dc-purchase_qa/argocd_repo'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts. at jenkins.util.io.PathRemover.forceRemoveDirectoryContents(PathRemover.java:86) at hudson.Util.deleteContentsRecursive(Util.java:259) at hudson.Util.deleteContentsRecursive(Util.java:248) at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$2.execute(CliGitAPIImpl.java:596) ... 13 more
网上说的原因:
1:有比你权限大的人在操作,找到那个人让他停止操作。
2:有人通过文件系统进去,由于某个操作导致文件被锁住。
第一个肯定是没有人同时在和我操作。
第二个就不知道了。
最后解决办法,重启jenkins.