hudson.util.IOException2: remote file operation failed

Jenkins JIRA | pjimenez3 | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    My slaves are running out of heap space (when processing XML), and there's no way that I know of for me to tell them -Xmx1024M. Am I missing something? Here's the traceback (with a line or two pre- and post-): BUILD SUCCESSFUL Total time: 146 minutes 35 seconds Archiving artifacts Recording test results ERROR: Failed to archive test reports hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:672) at hudson.FilePath.act(FilePath.java:660) at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:117) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:583) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:564) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:551) at hudson.model.Build$RunnerImpl.post2(Build.java:152) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:535) at hudson.model.Run.run(Run.java:1202) 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 failed at hudson.remoting.Channel.call(Channel.java:556) at hudson.FilePath.act(FilePath.java:667) ... 12 more Caused by: java.lang.OutOfMemoryError: Java heap space at java.lang.String.<init>(String.java:208) at java.lang.StringBuffer.toString(StringBuffer.java:586) at org.dom4j.io.SAXContentHandler.endCDATA(SAXContentHandler.java:413) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endCDATA(AbstractSAXParser.java:677) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanCDATASection(XMLDocumentFragmentScannerImpl.java:1183) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1740) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) at org.dom4j.io.SAXReader.read(SAXReader.java:465) at org.dom4j.io.SAXReader.read(SAXReader.java:264) at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:93) at hudson.tasks.junit.TestResult.parse(TestResult.java:180) at hudson.tasks.junit.TestResult.parse(TestResult.java:136) at hudson.tasks.junit.TestResult.<init>(TestResult.java:99) at hudson.tasks.junit.JUnitResultArchiver$ParseResultCallable.invoke(JUnitResultArchiver.java:234) at hudson.tasks.junit.JUnitResultArchiver$ParseResultCallable.invoke(JUnitResultArchiver.java:209) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2062) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) Skipping Cobertura coverage report as build was not UNSTABLE or better ...

    Jenkins JIRA | 7 years ago | pjimenez3
    hudson.util.IOException2: remote file operation failed
  2. 0

    My slaves are running out of heap space (when processing XML), and there's no way that I know of for me to tell them -Xmx1024M. Am I missing something? Here's the traceback (with a line or two pre- and post-): BUILD SUCCESSFUL Total time: 146 minutes 35 seconds Archiving artifacts Recording test results ERROR: Failed to archive test reports hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:672) at hudson.FilePath.act(FilePath.java:660) at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:117) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:583) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:564) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:551) at hudson.model.Build$RunnerImpl.post2(Build.java:152) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:535) at hudson.model.Run.run(Run.java:1202) 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 failed at hudson.remoting.Channel.call(Channel.java:556) at hudson.FilePath.act(FilePath.java:667) ... 12 more Caused by: java.lang.OutOfMemoryError: Java heap space at java.lang.String.<init>(String.java:208) at java.lang.StringBuffer.toString(StringBuffer.java:586) at org.dom4j.io.SAXContentHandler.endCDATA(SAXContentHandler.java:413) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endCDATA(AbstractSAXParser.java:677) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanCDATASection(XMLDocumentFragmentScannerImpl.java:1183) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1740) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) at org.dom4j.io.SAXReader.read(SAXReader.java:465) at org.dom4j.io.SAXReader.read(SAXReader.java:264) at hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:93) at hudson.tasks.junit.TestResult.parse(TestResult.java:180) at hudson.tasks.junit.TestResult.parse(TestResult.java:136) at hudson.tasks.junit.TestResult.<init>(TestResult.java:99) at hudson.tasks.junit.JUnitResultArchiver$ParseResultCallable.invoke(JUnitResultArchiver.java:234) at hudson.tasks.junit.JUnitResultArchiver$ParseResultCallable.invoke(JUnitResultArchiver.java:209) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2062) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) Skipping Cobertura coverage report as build was not UNSTABLE or better ...

    Jenkins JIRA | 7 years ago | pjimenez3
    hudson.util.IOException2: remote file operation failed
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Java heap space

    Google Groups | 6 years ago | PR
    java.lang.OutOfMemoryError: Java heap space
  5. 0

    How to set the compiler to handle thousand loops ?

    Google Groups | 8 years ago | tobleron
    java.lang.reflect.InvocationTargetException

  1. linxiaolong 2 times, last 4 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    Java heap space

    at java.lang.String.<init>()
  2. Java RT
    StringBuffer.toString
    1. java.lang.String.<init>(String.java:208)
    2. java.lang.StringBuffer.toString(StringBuffer.java:586)
    2 frames
  3. dom4j
    SAXContentHandler.endCDATA
    1. org.dom4j.io.SAXContentHandler.endCDATA(SAXContentHandler.java:413)
    1 frame
  4. Java RT
    AbstractSAXParser.parse
    1. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endCDATA(AbstractSAXParser.java:677)
    2. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanCDATASection(XMLDocumentFragmentScannerImpl.java:1183)
    3. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1740)
    4. com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    5. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
    6. com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
    7. com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
    8. com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
    8 frames
  5. dom4j
    SAXReader.read
    1. org.dom4j.io.SAXReader.read(SAXReader.java:465)
    2. org.dom4j.io.SAXReader.read(SAXReader.java:264)
    2 frames
  6. Hudson
    FilePath$FileCallableWrapper.call
    1. hudson.tasks.junit.SuiteResult.parse(SuiteResult.java:93)
    2. hudson.tasks.junit.TestResult.parse(TestResult.java:180)
    3. hudson.tasks.junit.TestResult.parse(TestResult.java:136)
    4. hudson.tasks.junit.TestResult.<init>(TestResult.java:99)
    5. hudson.tasks.junit.JUnitResultArchiver$ParseResultCallable.invoke(JUnitResultArchiver.java:234)
    6. hudson.tasks.junit.JUnitResultArchiver$ParseResultCallable.invoke(JUnitResultArchiver.java:209)
    7. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2062)
    7 frames
  7. Hudson :: Remoting Layer
    Request$2.run
    1. hudson.remoting.UserRequest.perform(UserRequest.java:104)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
    3. hudson.remoting.Request$2.run(Request.java:270)
    3 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:123)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
    6. java.lang.Thread.run(Thread.java:595)
    6 frames