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.

  • I am running a build on a hudson slave and i got the following error log in hudson.err.log ARNING: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: WORKSPACE at hudson.remoting.Channel@1c7aa1d:HOSTNAME at hudson.FilePath.act(FilePath.java:752) at hudson.FilePath.act(FilePath.java:738) at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:199) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:207) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) at hudson.model.Build$RunnerImpl.post2(Build.java:158) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1264) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122) Caused by: java.io.IOException: Remote call on HOSTNAME failed at hudson.remoting.Channel.call(Channel.java:560) at hudson.FilePath.act(FilePath.java:745) ... 13 more Caused by: java.lang.OutOfMemoryError: Java heap space at java.lang.String.toCharArray(Unknown Source) at org.apache.tools.ant.types.selectors.SelectorUtils.match(SelectorUtils.java:327) at org.apache.tools.ant.types.selectors.SelectorUtils.matchPath(SelectorUtils.java:217) at org.apache.tools.ant.DirectoryScanner.matchPath(DirectoryScanner.java:454) at org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1173) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1107) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:856) at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:817) at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:435) at hudson.plugins.analysis.util.FileFinder.find(FileFinder.java:76) at hudson.plugins.analysis.util.ModuleDetector.find(ModuleDetector.java:162) at hudson.plugins.analysis.util.ModuleDetector.findMavenModules(ModuleDetector.java:139) at hudson.plugins.analysis.util.ModuleDetector.createFilesToModuleMapping(ModuleDetector.java:87) at hudson.plugins.analysis.util.ModuleDetector.<init>(ModuleDetector.java:65) at hudson.plugins.analysis.util.ModuleDetector.<init>(ModuleDetector.java:52) at hudson.plugins.analysis.core.AnnotationsClassifier.invoke(AnnotationsClassifier.java:47) at hudson.plugins.analysis.core.AnnotationsClassifier.invoke(AnnotationsClassifier.java:24) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2028) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    via by flaviavela,
  • I am running a build on a hudson slave and i got the following error log in hudson.err.log ARNING: Publisher hudson.plugins.warnings.WarningsPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: WORKSPACE at hudson.remoting.Channel@1c7aa1d:HOSTNAME at hudson.FilePath.act(FilePath.java:752) at hudson.FilePath.act(FilePath.java:738) at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:199) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:207) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) at hudson.model.Build$RunnerImpl.post2(Build.java:158) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1264) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122) Caused by: java.io.IOException: Remote call on HOSTNAME failed at hudson.remoting.Channel.call(Channel.java:560) at hudson.FilePath.act(FilePath.java:745) ... 13 more Caused by: java.lang.OutOfMemoryError: Java heap space at java.lang.String.toCharArray(Unknown Source) at org.apache.tools.ant.types.selectors.SelectorUtils.match(SelectorUtils.java:327) at org.apache.tools.ant.types.selectors.SelectorUtils.matchPath(SelectorUtils.java:217) at org.apache.tools.ant.DirectoryScanner.matchPath(DirectoryScanner.java:454) at org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1173) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1107) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:856) at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:817) at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:435) at hudson.plugins.analysis.util.FileFinder.find(FileFinder.java:76) at hudson.plugins.analysis.util.ModuleDetector.find(ModuleDetector.java:162) at hudson.plugins.analysis.util.ModuleDetector.findMavenModules(ModuleDetector.java:139) at hudson.plugins.analysis.util.ModuleDetector.createFilesToModuleMapping(ModuleDetector.java:87) at hudson.plugins.analysis.util.ModuleDetector.<init>(ModuleDetector.java:65) at hudson.plugins.analysis.util.ModuleDetector.<init>(ModuleDetector.java:52) at hudson.plugins.analysis.core.AnnotationsClassifier.invoke(AnnotationsClassifier.java:47) at hudson.plugins.analysis.core.AnnotationsClassifier.invoke(AnnotationsClassifier.java:24) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2028) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    via by flaviavela,
  • In a very large build, lots of files and directories and about 100 projects, I got the following error at the end of the build log: simple 19-Dec-2008 19:53:44 Build process for 'Main - Main All Sample Template Test' returned with return code = 0 simple 19-Dec-2008 19:53:44 Parsing test results... error 19-Dec-2008 20:00:55 Failed to execute the build 'MAIN-MAST-56': Java heap space simple 19-Dec-2008 20:00:56 Finalising the build... simple 19-Dec-2008 20:00:56 Stopping timer. simple 19-Dec-2008 20:00:57 Build MAIN-MAST-56 completed. simple 19-Dec-2008 20:00:44 Running post build plugin on server 'Clover Delta Calculator' And the following in the Error Summary for the build: Failed to execute the build 'MAIN-MAST-56' java.lang.OutOfMemoryError: Java heap space at java.lang.String.toCharArray(String.java:2726) at org.apache.tools.ant.types.selectors.SelectorUtils.match(SelectorUtils.java:334) at org.apache.tools.ant.types.selectors.SelectorUtils.matchPath(SelectorUtils.java:223) at org.apache.tools.ant.DirectoryScanner.matchPath(DirectoryScanner.java:448) at org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1159) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1081) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074) at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:836) at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:808) at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:358) at com.atlassian.bamboo.utils.FileVisitor.visitAlLFilesThatMatchAPattern(FileVisitor.java:81) at com.atlassian.bamboo.utils.FileVisitor.visitFilesThatMatch(FileVisitor.java:58) at com.atlassian.bamboo.builder.AbstractBuilder.collateTestResults(AbstractBuilder.java:362) at com.atlassian.bamboo.builder.AbstractBuilder.runBuild(AbstractBuilder.java:280) at com.atlassian.bamboo.builder.AbstractBuilder.executeBuild(AbstractBuilder.java:232) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:67) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:192) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:89) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:105) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:619) Failed to execute the build 'MAIN-MAST-56': Java heap space
    via by Chris Hilton,
  • In a very large build, lots of files and directories and about 100 projects, I got the following error at the end of the build log: simple 19-Dec-2008 19:53:44 Build process for 'Main - Main All Sample Template Test' returned with return code = 0 simple 19-Dec-2008 19:53:44 Parsing test results... error 19-Dec-2008 20:00:55 Failed to execute the build 'MAIN-MAST-56': Java heap space simple 19-Dec-2008 20:00:56 Finalising the build... simple 19-Dec-2008 20:00:56 Stopping timer. simple 19-Dec-2008 20:00:57 Build MAIN-MAST-56 completed. simple 19-Dec-2008 20:00:44 Running post build plugin on server 'Clover Delta Calculator' And the following in the Error Summary for the build: Failed to execute the build 'MAIN-MAST-56' java.lang.OutOfMemoryError: Java heap space at java.lang.String.toCharArray(String.java:2726) at org.apache.tools.ant.types.selectors.SelectorUtils.match(SelectorUtils.java:334) at org.apache.tools.ant.types.selectors.SelectorUtils.matchPath(SelectorUtils.java:223) at org.apache.tools.ant.DirectoryScanner.matchPath(DirectoryScanner.java:448) at org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1159) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1081) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1074) at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:836) at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:808) at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:358) at com.atlassian.bamboo.utils.FileVisitor.visitAlLFilesThatMatchAPattern(FileVisitor.java:81) at com.atlassian.bamboo.utils.FileVisitor.visitFilesThatMatch(FileVisitor.java:58) at com.atlassian.bamboo.builder.AbstractBuilder.collateTestResults(AbstractBuilder.java:362) at com.atlassian.bamboo.builder.AbstractBuilder.runBuild(AbstractBuilder.java:280) at com.atlassian.bamboo.builder.AbstractBuilder.executeBuild(AbstractBuilder.java:232) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:67) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:192) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:89) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:105) at com.atlassian.bamboo.build.pipeline.concurrent.NamedThreadFactory$1.run(NamedThreadFactory.java:32) at edu.emory.mathcs.backport.java.util.concurrent.helpers.ThreadHelpers$1.run(ThreadHelpers.java:34) at java.lang.Thread.run(Thread.java:619) Failed to execute the build 'MAIN-MAST-56': Java heap space
    via by Chris Hilton,
    • hudson.util.IOException2: remote file operation failed: WORKSPACE at hudson.remoting.Channel@1c7aa1d:HOSTNAME at hudson.FilePath.act(FilePath.java:752) at hudson.FilePath.act(FilePath.java:738) at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:199) at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:207) at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) at hudson.model.Build$RunnerImpl.post2(Build.java:158) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1264) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:122) Caused by: java.io.IOException: Remote call on HOSTNAME failed at hudson.remoting.Channel.call(Channel.java:560) at hudson.FilePath.act(FilePath.java:745) ... 13 more Caused by: java.lang.OutOfMemoryError: Java heap space at java.lang.String.toCharArray(Unknown Source) at org.apache.tools.ant.types.selectors.SelectorUtils.match(SelectorUtils.java:327) at org.apache.tools.ant.types.selectors.SelectorUtils.matchPath(SelectorUtils.java:217) at org.apache.tools.ant.DirectoryScanner.matchPath(DirectoryScanner.java:454) at org.apache.tools.ant.DirectoryScanner.isIncluded(DirectoryScanner.java:1173) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1107) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:1100) at org.apache.tools.ant.DirectoryScanner.checkIncludePatterns(DirectoryScanner.java:856) at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:817) at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:435) at hudson.plugins.analysis.util.FileFinder.find(FileFinder.java:76) at hudson.plugins.analysis.util.ModuleDetector.find(ModuleDetector.java:162) at hudson.plugins.analysis.util.ModuleDetector.findMavenModules(ModuleDetector.java:139) at hudson.plugins.analysis.util.ModuleDetector.createFilesToModuleMapping(ModuleDetector.java:87) at hudson.plugins.analysis.util.ModuleDetector.<init>(ModuleDetector.java:65) at hudson.plugins.analysis.util.ModuleDetector.<init>(ModuleDetector.java:52) at hudson.plugins.analysis.core.AnnotationsClassifier.invoke(AnnotationsClassifier.java:47) at hudson.plugins.analysis.core.AnnotationsClassifier.invoke(AnnotationsClassifier.java:24) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2028) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

    Users with the same issue

    Unknown visitor1 times, last one,