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.

  • Hi, Since upgrading to Jenkins 1.486 I'm getting the following when deleting the workspace: Deleting project workspace... ERROR: Publisher hudson.plugins.ws_cleanup.WsCleanup aborted due to exception 09:09:09 hudson.util.IOException2: remote file operation failed: c:\JCI\workspace\AssetProcessor-Live\CONFIG\Release\TARGET\x64Tool\VSVERSION\2010 at hudson.remoting.Channel@4bfe1934:Build2 09:09:09 at hudson.FilePath.act(FilePath.java:847) 09:09:09 at hudson.FilePath.act(FilePath.java:824) 09:09:09 at hudson.FilePath.deleteRecursive(FilePath.java:980) 09:09:09 at hudson.plugins.ws_cleanup.WsCleanup.perform(WsCleanup.java:68) 09:09:09 at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) 09:09:09 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:807) 09:09:09 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:782) 09:09:09 at hudson.model.Build$BuildExecution.cleanUp(Build.java:192) 09:09:09 at hudson.model.Run.execute(Run.java:1560) 09:09:09 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 09:09:09 at hudson.model.ResourceController.execute(ResourceController.java:88) 09:09:09 at hudson.model.Executor.run(Executor.java:236) 09:09:09 Caused by: java.io.IOException: Remote call on Build2 failed 09:09:09 at hudson.remoting.Channel.call(Channel.java:673) 09:09:09 at hudson.FilePath.act(FilePath.java:840) 09:09:09 ... 11 more 09:09:09 Caused by: java.lang.NoClassDefFoundError: Could not initialize class hudson.util.jna.Kernel32 09:09:09 at hudson.util.jna.Kernel32Utils.isJunctionOrSymlink(Kernel32Utils.java:62) 09:09:09 at hudson.Util.isSymlink(Util.java:322) 09:09:09 at hudson.Util.deleteRecursive(Util.java:283) 09:09:09 at hudson.FilePath$11.invoke(FilePath.java:982) 09:09:09 at hudson.FilePath$11.invoke(FilePath.java:980) 09:09:09 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2308) 09:09:09 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 09:09:09 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 09:09:09 at hudson.remoting.Request$2.run(Request.java:326) 09:09:09 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 09:09:09 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 09:09:09 at java.util.concurrent.FutureTask.run(Unknown Source) 09:09:09 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) 09:09:09 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 09:09:09 at hudson.remoting.Engine$1$1.run(Engine.java:60) 09:09:09 at java.lang.Thread.run(Unknown Source) 09:09:09 Notifying upstream projects of job completion 09:09:09 Finished: FAILURE This seems to be related to https://issues.jenkins-ci.org/browse/JENKINS-15466 Is it possible to fix as soon as possible? Thanks, Tom
    via by Thomas Fields,
  • Hi, Since upgrading to Jenkins 1.486 I'm getting the following when deleting the workspace: Deleting project workspace... ERROR: Publisher hudson.plugins.ws_cleanup.WsCleanup aborted due to exception 09:09:09 hudson.util.IOException2: remote file operation failed: c:\JCI\workspace\AssetProcessor-Live\CONFIG\Release\TARGET\x64Tool\VSVERSION\2010 at hudson.remoting.Channel@4bfe1934:Build2 09:09:09 at hudson.FilePath.act(FilePath.java:847) 09:09:09 at hudson.FilePath.act(FilePath.java:824) 09:09:09 at hudson.FilePath.deleteRecursive(FilePath.java:980) 09:09:09 at hudson.plugins.ws_cleanup.WsCleanup.perform(WsCleanup.java:68) 09:09:09 at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) 09:09:09 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:807) 09:09:09 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:782) 09:09:09 at hudson.model.Build$BuildExecution.cleanUp(Build.java:192) 09:09:09 at hudson.model.Run.execute(Run.java:1560) 09:09:09 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 09:09:09 at hudson.model.ResourceController.execute(ResourceController.java:88) 09:09:09 at hudson.model.Executor.run(Executor.java:236) 09:09:09 Caused by: java.io.IOException: Remote call on Build2 failed 09:09:09 at hudson.remoting.Channel.call(Channel.java:673) 09:09:09 at hudson.FilePath.act(FilePath.java:840) 09:09:09 ... 11 more 09:09:09 Caused by: java.lang.NoClassDefFoundError: Could not initialize class hudson.util.jna.Kernel32 09:09:09 at hudson.util.jna.Kernel32Utils.isJunctionOrSymlink(Kernel32Utils.java:62) 09:09:09 at hudson.Util.isSymlink(Util.java:322) 09:09:09 at hudson.Util.deleteRecursive(Util.java:283) 09:09:09 at hudson.FilePath$11.invoke(FilePath.java:982) 09:09:09 at hudson.FilePath$11.invoke(FilePath.java:980) 09:09:09 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2308) 09:09:09 at hudson.remoting.UserRequest.perform(UserRequest.java:118) 09:09:09 at hudson.remoting.UserRequest.perform(UserRequest.java:48) 09:09:09 at hudson.remoting.Request$2.run(Request.java:326) 09:09:09 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) 09:09:09 at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) 09:09:09 at java.util.concurrent.FutureTask.run(Unknown Source) 09:09:09 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) 09:09:09 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 09:09:09 at hudson.remoting.Engine$1$1.run(Engine.java:60) 09:09:09 at java.lang.Thread.run(Unknown Source) 09:09:09 Notifying upstream projects of job completion 09:09:09 Finished: FAILURE This seems to be related to https://issues.jenkins-ci.org/browse/JENKINS-15466 Is it possible to fix as soon as possible? Thanks, Tom
    via by Thomas Fields,
  • Sometimes mstest start making build errors. Only restart jenkins-slave service restore normal working. [ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #332 Archiving artifacts Processing tests results in file(s) TestResults/* TestResults\Rus.user.buildmaster_RUSBUILDER-IMS 2012-12-12 18_02_03.trx ERROR: Publisher hudson.plugins.mstest.MSTestPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: d:/Perforce/NC_v01/temporary-junit-reports at hudson.remoting.Channel@1504e7b:rusbuilder-ims at hudson.FilePath.act(FilePath.java:848) at hudson.FilePath.act(FilePath.java:825) at hudson.FilePath.deleteRecursive(FilePath.java:981) at hudson.plugins.mstest.MSTestPublisher.perform(MSTestPublisher.java:78) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1543) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException: Remote call on rusbuilder-ims failed at hudson.remoting.Channel.call(Channel.java:674) at hudson.FilePath.act(FilePath.java:841) ... 12 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class hudson.util.jna.Kernel32 at hudson.util.jna.Kernel32Utils.getWin32FileAttributes(Kernel32Utils.java:76) at hudson.util.jna.Kernel32Utils.isJunctionOrSymlink(Kernel32Utils.java:80) at hudson.Util.isSymlink(Util.java:322) at hudson.Util.deleteRecursive(Util.java:283) at hudson.FilePath$11.invoke(FilePath.java:983) at hudson.FilePath$11.invoke(FilePath.java:981) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2309) 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$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Unknown Source) Finished: FAILURE
    via by Alexey Larsky,
  • Sometimes mstest start making build errors. Only restart jenkins-slave service restore normal working. [ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #332 Archiving artifacts Processing tests results in file(s) TestResults/* TestResults\Rus.user.buildmaster_RUSBUILDER-IMS 2012-12-12 18_02_03.trx ERROR: Publisher hudson.plugins.mstest.MSTestPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: d:/Perforce/NC_v01/temporary-junit-reports at hudson.remoting.Channel@1504e7b:rusbuilder-ims at hudson.FilePath.act(FilePath.java:848) at hudson.FilePath.act(FilePath.java:825) at hudson.FilePath.deleteRecursive(FilePath.java:981) at hudson.plugins.mstest.MSTestPublisher.perform(MSTestPublisher.java:78) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) at hudson.model.Run.execute(Run.java:1543) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException: Remote call on rusbuilder-ims failed at hudson.remoting.Channel.call(Channel.java:674) at hudson.FilePath.act(FilePath.java:841) ... 12 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class hudson.util.jna.Kernel32 at hudson.util.jna.Kernel32Utils.getWin32FileAttributes(Kernel32Utils.java:76) at hudson.util.jna.Kernel32Utils.isJunctionOrSymlink(Kernel32Utils.java:80) at hudson.Util.isSymlink(Util.java:322) at hudson.Util.deleteRecursive(Util.java:283) at hudson.FilePath$11.invoke(FilePath.java:983) at hudson.FilePath$11.invoke(FilePath.java:981) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2309) 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$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Unknown Source) Finished: FAILURE
    via by Alexey Larsky,
  • Issues installing plugins on XP
    via by Iain Walsh,
  • Hi, We are periodically getting issues with the hudson.util.jna.Kernel32 class not being found when plugins are calling the isSymlink method. {code} [xUnit] [INFO] - [UnitTest-1.4 (default)] - 1 test report file(s) were found with the pattern 'tests.xml' relative to 'C:\Jenkins\jobs\NetworkTeam Test\workspace' for the testing framework 'UnitTest-1.4 (default)'. FATAL: Could not initialize class hudson.util.jna.Kernel32 java.lang.NoClassDefFoundError: Could not initialize class hudson.util.jna.Kernel32 at hudson.util.jna.Kernel32Utils.isJunctionOrSymlink(Kernel32Utils.java:62) at hudson.Util.isSymlink(Util.java:322) at hudson.Util.deleteRecursive(Util.java:283) at hudson.FilePath$11.invoke(FilePath.java:982) at hudson.FilePath$11.invoke(FilePath.java:980) at hudson.FilePath.act(FilePath.java:851) at hudson.FilePath.act(FilePath.java:824) at hudson.FilePath.deleteRecursive(FilePath.java:980) at org.jenkinsci.plugins.xunit.XUnitPublisher.processDeletion(XUnitPublisher.java:374) at org.jenkinsci.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:124) at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:93) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:807) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:729) at hudson.model.Run.execute(Run.java:1541) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) {code} The class file seems to be present and correct compared with the github versions and we are running with Admin access to the filesystem. Any help would be appreciated. Rob
    via by Rob Starkey,
  • Hi, We are periodically getting issues with the hudson.util.jna.Kernel32 class not being found when plugins are calling the isSymlink method. {code} [xUnit] [INFO] - [UnitTest-1.4 (default)] - 1 test report file(s) were found with the pattern 'tests.xml' relative to 'C:\Jenkins\jobs\NetworkTeam Test\workspace' for the testing framework 'UnitTest-1.4 (default)'. FATAL: Could not initialize class hudson.util.jna.Kernel32 java.lang.NoClassDefFoundError: Could not initialize class hudson.util.jna.Kernel32 at hudson.util.jna.Kernel32Utils.isJunctionOrSymlink(Kernel32Utils.java:62) at hudson.Util.isSymlink(Util.java:322) at hudson.Util.deleteRecursive(Util.java:283) at hudson.FilePath$11.invoke(FilePath.java:982) at hudson.FilePath$11.invoke(FilePath.java:980) at hudson.FilePath.act(FilePath.java:851) at hudson.FilePath.act(FilePath.java:824) at hudson.FilePath.deleteRecursive(FilePath.java:980) at org.jenkinsci.plugins.xunit.XUnitPublisher.processDeletion(XUnitPublisher.java:374) at org.jenkinsci.plugins.xunit.XUnitPublisher.performXUnit(XUnitPublisher.java:124) at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:93) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:807) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:729) at hudson.model.Run.execute(Run.java:1541) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) {code} The class file seems to be present and correct compared with the github versions and we are running with Admin access to the filesystem. Any help would be appreciated. Rob
    via by Rob Starkey,
    • hudson.util.IOException2: remote file operation failed: c:\JCI\workspace\AssetProcessor-Live\CONFIG\Release\TARGET\x64Tool\VSVERSION\2010 at hudson.remoting.Channel@4bfe1934:Build2 at hudson.FilePath.act(FilePath.java:847) at hudson.FilePath.act(FilePath.java:824) at hudson.FilePath.deleteRecursive(FilePath.java:980) at hudson.plugins.ws_cleanup.WsCleanup.perform(WsCleanup.java:68) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:807) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.cleanUp(Build.java:192) at hudson.model.Run.execute(Run.java:1560) at hudson.matrix.MatrixRun.run(MatrixRun.java:146) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) Caused by: java.io.IOException: Remote call on Build2 failed at hudson.remoting.Channel.call(Channel.java:673) at hudson.FilePath.act(FilePath.java:840) ... 11 more Caused by: java.lang.NoClassDefFoundError: Could not initialize class hudson.util.jna.Kernel32 at hudson.util.jna.Kernel32Utils.isJunctionOrSymlink(Kernel32Utils.java:62) at hudson.Util.isSymlink(Util.java:322) at hudson.Util.deleteRecursive(Util.java:283) at hudson.FilePath$11.invoke(FilePath.java:982) at hudson.FilePath$11.invoke(FilePath.java:980) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2308) 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$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Unknown Source)
    No Bugmate found.