hudson.util.IOException2

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • After upgrading to 1.517 I was hit by a problem with fingerprinting. I am not sure if it is core related please reassign if appropriate. I am fingerprinting a file in the upstream build process, pack several 100 files and assembles via scm clone workspace plugin and start about 50 unit test jobs on a bunch of slaves. After testing the downstream unit test project fingerprints the same file to be able to track the changes of the upstream project. With 1.517 now it happens that the fingerprinting seems to hang so that the workspace can not be cleaned up after testing: 17:35:31 Recording fingerprints 17:35:31 No emails were triggered. 17:35:31 17:35:31 Deleting project workspace... 17:35:49 Cannot delete workspace: java.nio.file.FileSystemException: C:\WS\SscuMimoVar13Tests\ContestContinuous\contest_sw\Bin\Debug\CommonTypes.dll: The process cannot access the file because it is being used by another process. 17:35:49 17:35:49 Option not to fail the build is turned on, so let's continue 17:35:49 Notifying upstream projects of job completion 17:35:49 Finished: SUCCESS Starting the next test some time later on the same machine leads to a failure because the old workspace can not be deleted because the file to fingerprint is still "in use by another process". Downgrading to 1.516 fixes the problem for me (but I had to restart all the slave Services). The problem also occured on my master, it was not related to slaves only. 17:36:11 Started by upstream project "ContestContinuous" build number 16910 17:36:11 originally caused by: 17:36:11 Started by an SCM change 17:36:11 [EnvInject] - Loading node environment variables. 17:36:11 Building remotely on 1SP1-SLAVE8 in workspace C:\WS\SscuMimoVar13Tests 17:36:11 hudson.util.IOException2: remote file operation failed: C:\WS\SscuMimoVar13Tests at hudson.remoting.Channel@191b66bf:1SP1-SLAVE8 17:36:11 at hudson.FilePath.act(FilePath.java:901) 17:36:11 at hudson.FilePath.act(FilePath.java:878) 17:36:11 at hudson.FilePath.deleteContents(FilePath.java:1050) 17:36:11 at hudson.plugins.cloneworkspace.CloneWorkspaceSCM.checkout(CloneWorkspaceSCM.java:145) 17:36:11 at hudson.model.AbstractProject.checkout(AbstractProject.java:1369) 17:36:11 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) 17:36:11 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) 17:36:11 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) 17:36:11 at hudson.model.Run.execute(Run.java:1576) 17:36:11 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 17:36:11 at hudson.model.ResourceController.execute(ResourceController.java:88) 17:36:11 at hudson.model.Executor.run(Executor.java:241) 17:36:11 Caused by: java.nio.file.FileSystemException: C:\WS\SscuMimoVar13Tests\ContestContinuous\contest_sw\Bin\Debug\CommonTypes.dll: The process cannot access the file because it is being used by another process. 17:36:11 17:36:11 at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) 17:36:11 at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) 17:36:11 at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) 17:36:11 at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source) 17:36:11 at sun.nio.fs.AbstractFileSystemProvider.delete(Unknown Source) 17:36:11 at java.nio.file.Files.delete(Unknown Source) 17:36:11 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 17:36:11 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 17:36:11 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 17:36:11 at java.lang.reflect.Method.invoke(Unknown Source) 17:36:11 at hudson.Util.deleteFile(Util.java:237) 17:36:11 at hudson.Util.deleteRecursive(Util.java:305) 17:36:11 at hudson.Util.deleteContentsRecursive(Util.java:202) 17:36:11 at hudson.Util.deleteRecursive(Util.java:296) 17:36:11 at hudson.Util.deleteContentsRecursive(Util.java:202) 17:36:11 at hudson.Util.deleteRecursive(Util.java:296) 17:36:11 at hudson.Util.deleteContentsRecursive(Util.java:202) 17:36:11 at hudson.Util.deleteRecursive(Util.java:296) 17:36:11 at hudson.Util.deleteContentsRecursive(Util.java:202) 17:36:11 at hudson.Util.deleteRecursive(Util.java:296) 17:36:11 at hudson.Util.deleteContentsRecursive(Util.java:202) 17:36:11 at hudson.FilePath$12.invoke(FilePath.java:1053) 17:36:11 at hudson.FilePath$12.invoke(FilePath.java:1050) 17:36:11 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2388) 17:36:11 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 17:36:11 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 17:36:11 at hudson.remoting.Request$2.run(Request.java:326) 17:36:11 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 17:36:11 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 17:36:11 at java.util.concurrent.FutureTask.run(Unknown Source) 17:36:11 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 17:36:11 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 17:36:11 at hudson.remoting.Engine$1$1.run(Engine.java:58) 17:36:11 at java.lang.Thread.run(Unknown Source) Here on the master: 17:01:28 Started by upstream project "ContestContinuous" build number 16906 17:01:28 originally caused by: 17:01:28 Started by an SCM change 17:01:28 [EnvInject] - Loading node environment variables. 17:01:28 Building on master in workspace D:\WS\ScenarioServiceSscuMimoTests 17:01:28 java.nio.file.FileSystemException: D:\WS\ScenarioServiceSscuMimoTests\ContestContinuous\contest_sw\Bin\Debug\CommonTypes.dll: The process cannot access the file because it is being used by another process. 17:01:28
    via by Dirk Kuypers,
  • After upgrading to 1.517 I was hit by a problem with fingerprinting. I am not sure if it is core related please reassign if appropriate. I am fingerprinting a file in the upstream build process, pack several 100 files and assembles via scm clone workspace plugin and start about 50 unit test jobs on a bunch of slaves. After testing the downstream unit test project fingerprints the same file to be able to track the changes of the upstream project. With 1.517 now it happens that the fingerprinting seems to hang so that the workspace can not be cleaned up after testing: 17:35:31 Recording fingerprints 17:35:31 No emails were triggered. 17:35:31 17:35:31 Deleting project workspace... 17:35:49 Cannot delete workspace: java.nio.file.FileSystemException: C:\WS\SscuMimoVar13Tests\ContestContinuous\contest_sw\Bin\Debug\CommonTypes.dll: The process cannot access the file because it is being used by another process. 17:35:49 17:35:49 Option not to fail the build is turned on, so let's continue 17:35:49 Notifying upstream projects of job completion 17:35:49 Finished: SUCCESS Starting the next test some time later on the same machine leads to a failure because the old workspace can not be deleted because the file to fingerprint is still "in use by another process". Downgrading to 1.516 fixes the problem for me (but I had to restart all the slave Services). The problem also occured on my master, it was not related to slaves only. 17:36:11 Started by upstream project "ContestContinuous" build number 16910 17:36:11 originally caused by: 17:36:11 Started by an SCM change 17:36:11 [EnvInject] - Loading node environment variables. 17:36:11 Building remotely on 1SP1-SLAVE8 in workspace C:\WS\SscuMimoVar13Tests 17:36:11 hudson.util.IOException2: remote file operation failed: C:\WS\SscuMimoVar13Tests at hudson.remoting.Channel@191b66bf:1SP1-SLAVE8 17:36:11 at hudson.FilePath.act(FilePath.java:901) 17:36:11 at hudson.FilePath.act(FilePath.java:878) 17:36:11 at hudson.FilePath.deleteContents(FilePath.java:1050) 17:36:11 at hudson.plugins.cloneworkspace.CloneWorkspaceSCM.checkout(CloneWorkspaceSCM.java:145) 17:36:11 at hudson.model.AbstractProject.checkout(AbstractProject.java:1369) 17:36:11 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) 17:36:11 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) 17:36:11 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) 17:36:11 at hudson.model.Run.execute(Run.java:1576) 17:36:11 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) 17:36:11 at hudson.model.ResourceController.execute(ResourceController.java:88) 17:36:11 at hudson.model.Executor.run(Executor.java:241) 17:36:11 Caused by: java.nio.file.FileSystemException: C:\WS\SscuMimoVar13Tests\ContestContinuous\contest_sw\Bin\Debug\CommonTypes.dll: The process cannot access the file because it is being used by another process. 17:36:11 17:36:11 at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) 17:36:11 at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) 17:36:11 at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) 17:36:11 at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source) 17:36:11 at sun.nio.fs.AbstractFileSystemProvider.delete(Unknown Source) 17:36:11 at java.nio.file.Files.delete(Unknown Source) 17:36:11 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 17:36:11 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 17:36:11 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 17:36:11 at java.lang.reflect.Method.invoke(Unknown Source) 17:36:11 at hudson.Util.deleteFile(Util.java:237) 17:36:11 at hudson.Util.deleteRecursive(Util.java:305) 17:36:11 at hudson.Util.deleteContentsRecursive(Util.java:202) 17:36:11 at hudson.Util.deleteRecursive(Util.java:296) 17:36:11 at hudson.Util.deleteContentsRecursive(Util.java:202) 17:36:11 at hudson.Util.deleteRecursive(Util.java:296) 17:36:11 at hudson.Util.deleteContentsRecursive(Util.java:202) 17:36:11 at hudson.Util.deleteRecursive(Util.java:296) 17:36:11 at hudson.Util.deleteContentsRecursive(Util.java:202) 17:36:11 at hudson.Util.deleteRecursive(Util.java:296) 17:36:11 at hudson.Util.deleteContentsRecursive(Util.java:202) 17:36:11 at hudson.FilePath$12.invoke(FilePath.java:1053) 17:36:11 at hudson.FilePath$12.invoke(FilePath.java:1050) 17:36:11 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2388) 17:36:11 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 17:36:11 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 17:36:11 at hudson.remoting.Request$2.run(Request.java:326) 17:36:11 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 17:36:11 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 17:36:11 at java.util.concurrent.FutureTask.run(Unknown Source) 17:36:11 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 17:36:11 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 17:36:11 at hudson.remoting.Engine$1$1.run(Engine.java:58) 17:36:11 at java.lang.Thread.run(Unknown Source) Here on the master: 17:01:28 Started by upstream project "ContestContinuous" build number 16906 17:01:28 originally caused by: 17:01:28 Started by an SCM change 17:01:28 [EnvInject] - Loading node environment variables. 17:01:28 Building on master in workspace D:\WS\ScenarioServiceSscuMimoTests 17:01:28 java.nio.file.FileSystemException: D:\WS\ScenarioServiceSscuMimoTests\ContestContinuous\contest_sw\Bin\Debug\CommonTypes.dll: The process cannot access the file because it is being used by another process. 17:01:28
    via by Dirk Kuypers,
  • We are getting Error in deleting files/folder in workspace. Please see below logs for more detail _________________________________________________________________________ _________________________________________________________________________ 18:17:46 Allure Report Generation: attach report link to build and project 18:17:48 Allure Report Generation: Can't delete directory [D:\Jenkins\Core\Artifacts\workspace\Scepter-Hotel-Search-Travelguru_1_0\allure3996563737139319681.tmp] 18:17:48 java.io.IOException: remote file operation failed: D:\Jenkins\Core\Artifacts\workspace\Scepter-Hotel-Search-Travelguru_1_0\allure3996563737139319681.tmp at hudson.remoting.Channel@f61a9a:Cylon-Slave 18:17:48 at hudson.FilePath.act(FilePath.java:913) 18:17:48 at hudson.FilePath.act(FilePath.java:895) 18:17:48 at hudson.FilePath.deleteContents(FilePath.java:1104) 18:17:48 at ru.yandex.qatools.allure.jenkins.AllureReportPublisher.deleteRecursive(AllureReportPublisher.java:215) 18:17:48 at ru.yandex.qatools.allure.jenkins.AllureReportPublisher.perform(AllureReportPublisher.java:137) 18:17:48 at org.jenkins_ci.plugins.run_condition.BuildStepRunner$2.run(BuildStepRunner.java:110) 18:17:48 at org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail.conditionalRun(BuildStepRunner.java:154) 18:17:48 at org.jenkins_ci.plugins.run_condition.BuildStepRunner.perform(BuildStepRunner.java:105) 18:17:48 at org.jenkins_ci.plugins.flexible_publish.ConditionalPublisher.perform(ConditionalPublisher.java:134) 18:17:48 at org.jenkins_ci.plugins.flexible_publish.FlexiblePublisher.perform(FlexiblePublisher.java:111) 18:17:48 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 18:17:48 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) 18:17:48 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) 18:17:48 at hudson.model.Build$BuildExecution.post2(Build.java:183) 18:17:48 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) 18:17:48 at hudson.model.Run.execute(Run.java:1765) 18:17:48 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 18:17:48 at hudson.model.ResourceController.execute(ResourceController.java:89) 18:17:48 at hudson.model.Executor.run(Executor.java:240) 18:17:48 Caused by: java.nio.file.FileSystemException: D:\Jenkins\Core\Artifacts\workspace\Scepter-Hotel-Search-Travelguru_1_0\allure3996563737139319681.tmp\repositories\com\fasterxml\jackson\core\jackson-annotations\2.3.0\jackson-annotations-2.3.0.jar: The process cannot access the file because it is being used by another process. 18:17:48 18:17:48 at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) 18:17:48 at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) 18:17:48 at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) 18:17:48 at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source) 18:17:48 at sun.nio.fs.AbstractFileSystemProvider.delete(Unknown Source) 18:17:48 at java.nio.file.Files.delete(Unknown Source) 18:17:48 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 18:17:48 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 18:17:48 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 18:17:48 at java.lang.reflect.Method.invoke(Unknown Source) 18:17:48 at hudson.Util.deleteFile(Util.java:247) 18:17:48 at hudson.Util.deleteRecursive(Util.java:310) 18:17:48 at hudson.Util.deleteContentsRecursive(Util.java:212) 18:17:48 at hudson.Util.deleteRecursive(Util.java:301) 18:17:48 at hudson.Util.deleteContentsRecursive(Util.java:212) 18:17:48 at hudson.Util.deleteRecursive(Util.java:301) 18:17:48 at hudson.Util.deleteContentsRecursive(Util.java:212) 18:17:48 at hudson.Util.deleteRecursive(Util.java:301) 18:17:48 at hudson.Util.deleteContentsRecursive(Util.java:212) 18:17:48 at hudson.Util.deleteRecursive(Util.java:301) 18:17:48 at hudson.Util.deleteContentsRecursive(Util.java:212) 18:17:48 at hudson.Util.deleteRecursive(Util.java:301) 18:17:48 at hudson.Util.deleteContentsRecursive(Util.java:212) 18:17:48 at hudson.Util.deleteRecursive(Util.java:301) 18:17:48 at hudson.Util.deleteContentsRecursive(Util.java:212) 18:17:48 at hudson.Util.deleteRecursive(Util.java:301) 18:17:48 at hudson.Util.deleteContentsRecursive(Util.java:212) 18:17:48 at hudson.FilePath$13.invoke(FilePath.java:1107) 18:17:48 at hudson.FilePath$13.invoke(FilePath.java:1104) 18:17:48 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2483) 18:17:48 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 18:17:48 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 18:17:48 at hudson.remoting.Request$2.run(Request.java:328) 18:17:48 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 18:17:48 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 18:17:48 at java.util.concurrent.FutureTask.run(Unknown Source) 18:17:48 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 18:17:48 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 18:17:48 at hudson.remoting.Engine$1$1.run(Engine.java:63) 18:17:48 at java.lang.Thread.run(Unknown Source) 18:17:48 Allure Report Generation: completed
    via by Arpit Nagar,
  • We are getting Error in deleting files/folder in workspace. Please see below logs for more detail _________________________________________________________________________ _________________________________________________________________________ 18:17:46 Allure Report Generation: attach report link to build and project 18:17:48 Allure Report Generation: Can't delete directory [D:\Jenkins\Core\Artifacts\workspace\Scepter-Hotel-Search-Travelguru_1_0\allure3996563737139319681.tmp] 18:17:48 java.io.IOException: remote file operation failed: D:\Jenkins\Core\Artifacts\workspace\Scepter-Hotel-Search-Travelguru_1_0\allure3996563737139319681.tmp at hudson.remoting.Channel@f61a9a:Cylon-Slave 18:17:48 at hudson.FilePath.act(FilePath.java:913) 18:17:48 at hudson.FilePath.act(FilePath.java:895) 18:17:48 at hudson.FilePath.deleteContents(FilePath.java:1104) 18:17:48 at ru.yandex.qatools.allure.jenkins.AllureReportPublisher.deleteRecursive(AllureReportPublisher.java:215) 18:17:48 at ru.yandex.qatools.allure.jenkins.AllureReportPublisher.perform(AllureReportPublisher.java:137) 18:17:48 at org.jenkins_ci.plugins.run_condition.BuildStepRunner$2.run(BuildStepRunner.java:110) 18:17:48 at org.jenkins_ci.plugins.run_condition.BuildStepRunner$Fail.conditionalRun(BuildStepRunner.java:154) 18:17:48 at org.jenkins_ci.plugins.run_condition.BuildStepRunner.perform(BuildStepRunner.java:105) 18:17:48 at org.jenkins_ci.plugins.flexible_publish.ConditionalPublisher.perform(ConditionalPublisher.java:134) 18:17:48 at org.jenkins_ci.plugins.flexible_publish.FlexiblePublisher.perform(FlexiblePublisher.java:111) 18:17:48 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 18:17:48 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770) 18:17:48 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734) 18:17:48 at hudson.model.Build$BuildExecution.post2(Build.java:183) 18:17:48 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683) 18:17:48 at hudson.model.Run.execute(Run.java:1765) 18:17:48 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 18:17:48 at hudson.model.ResourceController.execute(ResourceController.java:89) 18:17:48 at hudson.model.Executor.run(Executor.java:240) 18:17:48 Caused by: java.nio.file.FileSystemException: D:\Jenkins\Core\Artifacts\workspace\Scepter-Hotel-Search-Travelguru_1_0\allure3996563737139319681.tmp\repositories\com\fasterxml\jackson\core\jackson-annotations\2.3.0\jackson-annotations-2.3.0.jar: The process cannot access the file because it is being used by another process. 18:17:48 18:17:48 at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) 18:17:48 at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) 18:17:48 at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) 18:17:48 at sun.nio.fs.WindowsFileSystemProvider.implDelete(Unknown Source) 18:17:48 at sun.nio.fs.AbstractFileSystemProvider.delete(Unknown Source) 18:17:48 at java.nio.file.Files.delete(Unknown Source) 18:17:48 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 18:17:48 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 18:17:48 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 18:17:48 at java.lang.reflect.Method.invoke(Unknown Source) 18:17:48 at hudson.Util.deleteFile(Util.java:247) 18:17:48 at hudson.Util.deleteRecursive(Util.java:310) 18:17:48 at hudson.Util.deleteContentsRecursive(Util.java:212) 18:17:48 at hudson.Util.deleteRecursive(Util.java:301) 18:17:48 at hudson.Util.deleteContentsRecursive(Util.java:212) 18:17:48 at hudson.Util.deleteRecursive(Util.java:301) 18:17:48 at hudson.Util.deleteContentsRecursive(Util.java:212) 18:17:48 at hudson.Util.deleteRecursive(Util.java:301) 18:17:48 at hudson.Util.deleteContentsRecursive(Util.java:212) 18:17:48 at hudson.Util.deleteRecursive(Util.java:301) 18:17:48 at hudson.Util.deleteContentsRecursive(Util.java:212) 18:17:48 at hudson.Util.deleteRecursive(Util.java:301) 18:17:48 at hudson.Util.deleteContentsRecursive(Util.java:212) 18:17:48 at hudson.Util.deleteRecursive(Util.java:301) 18:17:48 at hudson.Util.deleteContentsRecursive(Util.java:212) 18:17:48 at hudson.Util.deleteRecursive(Util.java:301) 18:17:48 at hudson.Util.deleteContentsRecursive(Util.java:212) 18:17:48 at hudson.FilePath$13.invoke(FilePath.java:1107) 18:17:48 at hudson.FilePath$13.invoke(FilePath.java:1104) 18:17:48 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2483) 18:17:48 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 18:17:48 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 18:17:48 at hudson.remoting.Request$2.run(Request.java:328) 18:17:48 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 18:17:48 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 18:17:48 at java.util.concurrent.FutureTask.run(Unknown Source) 18:17:48 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 18:17:48 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 18:17:48 at hudson.remoting.Engine$1$1.run(Engine.java:63) 18:17:48 at java.lang.Thread.run(Unknown Source) 18:17:48 Allure Report Generation: completed
    via by Arpit Nagar,
  • we started seeing issue with maven installation failed which resulted job fail. Until we re-launch the slave we are not able to execute the job. Please find exception details... [EnvInject] - Loading node environment variables. Building remotely on STPSlave305 in workspace <path>/workspace/SamyakTest java.io.IOException: Failed to install https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.0.3/apache-maven-3.0.3-bin.zip to <path>/tools/hudson.tasks.Maven_MavenInstallation/MavenMaster1QDC at hudson.FilePath.installIfNecessaryFrom(FilePath.java:822) at hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:70) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:68) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:107) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:205) at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:609) at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:182) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:965) at hudson.scm.SCM.checkout(SCM.java:488) at hudson.model.AbstractProject.checkout(AbstractProject.java:1253) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528) at hudson.model.Run.execute(Run.java:1745) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:529) at hudson.model.ResourceController.execute(ResourceController.java:89) at hudson.model.Executor.run(Executor.java:240) Caused by: java.io.IOException: remote file operation failed: <path>/tools/hudson.tasks.Maven_MavenInstallation/MavenMaster1QDC at hudson.remoting.Channel@6dd0796f:STPSlave305: java.nio.file.FileSystemException: <path>/tools/hudson.tasks.Maven_MavenInstallation/MavenMaster1QDC/lib/.nfs00000000104d564e0000015a: Device or resource busy at hudson.FilePath.act(FilePath.java:976) at hudson.FilePath.act(FilePath.java:958) at hudson.FilePath.deleteContents(FilePath.java:1173) at hudson.FilePath.installIfNecessaryFrom(FilePath.java:786) ... 16 more Caused by: java.nio.file.FileSystemException: <path>/tools/hudson.tasks.Maven_MavenInstallation/MavenMaster1QDC/lib/.nfs00000000104d564e0000015a: 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:243) at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103) at java.nio.file.Files.delete(Files.java:1071) at sun.reflect.GeneratedMethodAccessor2701.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at hudson.Util.deleteFile(Util.java:247) at hudson.FilePath.deleteRecursive(FilePath.java:1193) at hudson.FilePath.deleteContentsRecursive(FilePath.java:1202) at hudson.FilePath.deleteRecursive(FilePath.java:1184) at hudson.FilePath.deleteContentsRecursive(FilePath.java:1202) at hudson.FilePath.access$1100(FilePath.java:190) at hudson.FilePath$15.invoke(FilePath.java:1176) at hudson.FilePath$15.invoke(FilePath.java:1173) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2577) at hudson.remoting.UserRequest.perform(UserRequest.java:121) at hudson.remoting.UserRequest.perform(UserRequest.java:49) at hudson.remoting.Request$2.run(Request.java:324) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) at ......remote call to STPSlave305(Native Method) at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1356) at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) at hudson.remoting.Channel.call(Channel.java:752) at hudson.FilePath.act(FilePath.java:969) ... 19 more
    via by Gangadhar Rayudu,
    • hudson.util.IOException2: remote file operation failed: C:\WS\SscuMimoVar13Tests at hudson.remoting.Channel@191b66bf:1SP1-SLAVE8 at hudson.FilePath.act(FilePath.java:901) at hudson.FilePath.act(FilePath.java:878) at hudson.FilePath.deleteContents(FilePath.java:1050) at hudson.plugins.cloneworkspace.CloneWorkspaceSCM.checkout(CloneWorkspaceSCM.java:145) at hudson.model.AbstractProject.checkout(AbstractProject.java:1369) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:676) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:581) at hudson.model.Run.execute(Run.java:1576) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:241) Caused by: java.nio.file.FileSystemException: C:\WS\SscuMimoVar13Tests\ContestContinuous\contest_sw\Bin\Debug\CommonTypes.dll: 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.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:237) at hudson.Util.deleteRecursive(Util.java:305) at hudson.Util.deleteContentsRecursive(Util.java:202) at hudson.Util.deleteRecursive(Util.java:296) at hudson.Util.deleteContentsRecursive(Util.java:202) at hudson.Util.deleteRecursive(Util.java:296) at hudson.Util.deleteContentsRecursive(Util.java:202) at hudson.Util.deleteRecursive(Util.java:296) at hudson.Util.deleteContentsRecursive(Util.java:202) at hudson.Util.deleteRecursive(Util.java:296) at hudson.Util.deleteContentsRecursive(Util.java:202) at hudson.FilePath$12.invoke(FilePath.java:1053) at hudson.FilePath$12.invoke(FilePath.java:1050) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2388) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:326) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(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 hudson.remoting.Engine$1$1.run(Engine.java:58) at java.lang.Thread.run(Unknown Source)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    ivanszkypeter
    53 times, last one,
    10 more bugmates