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.

  • This exception happens when one of the report(findbug/pmd/etc) is empty. Build should not failed if one or more static code analysis report empty. [WARNINGS] Not changing build status, since no threshold has been exceeded FATAL: remote file operation failed hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:672) at hudson.FilePath.act(FilePath.java:660) at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:77) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:58) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:480) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:466) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:454) at hudson.model.Build$RunnerImpl.post2(Build.java:146) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:438) at hudson.model.Run.run(Run.java:1140) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:122) Caused by: java.io.EOFException: input contained no data at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2890) at org.xmlpull.mxp1.MXParser.more(MXParser.java:2928) at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1366) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1351) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1061) at hudson.plugins.violations.parse.AbstractParser.expectNextTag(AbstractParser.java:262) at hudson.plugins.violations.types.findbugs.FindBugsParser.execute(FindBugsParser.java:41) at hudson.plugins.violations.parse.AbstractTypeParser.parse(AbstractTypeParser.java:59) at hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:189) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:116) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:27) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2032) at hudson.remoting.UserRequest.perform(UserRequest.java:103) at hudson.remoting.UserRequest.perform(UserRequest.java:47) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)
    via by eagleigor,
  • What appears to be a failure to install Maven on Mac: http://hudson.ramfelt.se/job/Hudson%20JDK%20compability/16/jdk=AppleJDK,label=Mac/console Console output: Started by upstream project "Hudson JDK compability" build number 16 Building remotely on Cherry Updating https://hudson.dev.java.net/svn/hudson/trunk/hudson/main At revision 21281 no change for https://hudson.dev.java.net/svn/hudson/trunk/hudson/main since the previous build Unpacking http://archive.apache.org/dist/maven/binaries/apache-maven-2.2.1-bin.zip to /Users/hudson/tools/Maven_2.2.1 on Cherry FATAL: remote file operation failed hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:672) at hudson.FilePath.act(FilePath.java:660) at hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:79) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:99) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:155) at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:416) at hudson.tasks.Maven.perform(Maven.java:211) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:480) at hudson.model.Build$RunnerImpl.build(Build.java:158) at hudson.model.Build$RunnerImpl.doRun(Build.java:98) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:354) at hudson.model.Run.run(Run.java:1106) at hudson.matrix.MatrixRun.run(MatrixRun.java:128) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:122) Caused by: java.io.IOException: Remote call failed at hudson.remoting.Channel.call(Channel.java:524) at hudson.FilePath.act(FilePath.java:667) ... 16 more Caused by: java.lang.NoClassDefFoundError at hudson.util.jna.GNUCLibrary.<clinit>(GNUCLibrary.java:81) at hudson.tools.ZipExtractionInstaller$ChmodRecAPlusX.process(ZipExtractionInstaller.java:134) at hudson.tools.ZipExtractionInstaller$ChmodRecAPlusX.process(ZipExtractionInstaller.java:139) at hudson.tools.ZipExtractionInstaller$ChmodRecAPlusX.invoke(ZipExtractionInstaller.java:125) at hudson.tools.ZipExtractionInstaller$ChmodRecAPlusX.invoke(ZipExtractionInstaller.java:121) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2032) at hudson.remoting.UserRequest.perform(UserRequest.java:103) at hudson.remoting.UserRequest.perform(UserRequest.java:47) at hudson.remoting.Request$2.run(Request.java:236) 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:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at hudson.remoting.Engine$1$1.run(Engine.java:54) at java.lang.Thread.run(Thread.java:613) Furthermore, it appears that even though the installation fails, successive executions appear to treat as if the installation succeeded. That needs to be fixed, too, if that's the case.
    via by Kohsuke Kawaguchi,
  • What appears to be a failure to install Maven on Mac: http://hudson.ramfelt.se/job/Hudson%20JDK%20compability/16/jdk=AppleJDK,label=Mac/console Console output: Started by upstream project "Hudson JDK compability" build number 16 Building remotely on Cherry Updating https://hudson.dev.java.net/svn/hudson/trunk/hudson/main At revision 21281 no change for https://hudson.dev.java.net/svn/hudson/trunk/hudson/main since the previous build Unpacking http://archive.apache.org/dist/maven/binaries/apache-maven-2.2.1-bin.zip to /Users/hudson/tools/Maven_2.2.1 on Cherry FATAL: remote file operation failed hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:672) at hudson.FilePath.act(FilePath.java:660) at hudson.tools.DownloadFromUrlInstaller.performInstallation(DownloadFromUrlInstaller.java:79) at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:61) at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:99) at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:155) at hudson.tasks.Maven$MavenInstallation.forNode(Maven.java:416) at hudson.tasks.Maven.perform(Maven.java:211) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:480) at hudson.model.Build$RunnerImpl.build(Build.java:158) at hudson.model.Build$RunnerImpl.doRun(Build.java:98) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:354) at hudson.model.Run.run(Run.java:1106) at hudson.matrix.MatrixRun.run(MatrixRun.java:128) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:122) Caused by: java.io.IOException: Remote call failed at hudson.remoting.Channel.call(Channel.java:524) at hudson.FilePath.act(FilePath.java:667) ... 16 more Caused by: java.lang.NoClassDefFoundError at hudson.util.jna.GNUCLibrary.<clinit>(GNUCLibrary.java:81) at hudson.tools.ZipExtractionInstaller$ChmodRecAPlusX.process(ZipExtractionInstaller.java:134) at hudson.tools.ZipExtractionInstaller$ChmodRecAPlusX.process(ZipExtractionInstaller.java:139) at hudson.tools.ZipExtractionInstaller$ChmodRecAPlusX.invoke(ZipExtractionInstaller.java:125) at hudson.tools.ZipExtractionInstaller$ChmodRecAPlusX.invoke(ZipExtractionInstaller.java:121) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2032) at hudson.remoting.UserRequest.perform(UserRequest.java:103) at hudson.remoting.UserRequest.perform(UserRequest.java:47) at hudson.remoting.Request$2.run(Request.java:236) 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:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at hudson.remoting.Engine$1$1.run(Engine.java:54) at java.lang.Thread.run(Thread.java:613) Furthermore, it appears that even though the installation fails, successive executions appear to treat as if the installation succeeded. That needs to be fixed, too, if that's the case.
    via by Kohsuke Kawaguchi,
  • This exception happens when one of the report(findbug/pmd/etc) is empty. Build should not failed if one or more static code analysis report empty. [WARNINGS] Not changing build status, since no threshold has been exceeded FATAL: remote file operation failed hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:672) at hudson.FilePath.act(FilePath.java:660) at hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:77) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:58) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:480) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:466) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:454) at hudson.model.Build$RunnerImpl.post2(Build.java:146) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:438) at hudson.model.Run.run(Run.java:1140) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:122) Caused by: java.io.EOFException: input contained no data at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2890) at org.xmlpull.mxp1.MXParser.more(MXParser.java:2928) at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1366) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1351) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1061) at hudson.plugins.violations.parse.AbstractParser.expectNextTag(AbstractParser.java:262) at hudson.plugins.violations.types.findbugs.FindBugsParser.execute(FindBugsParser.java:41) at hudson.plugins.violations.parse.AbstractTypeParser.parse(AbstractTypeParser.java:59) at hudson.plugins.violations.ViolationsCollector.doType(ViolationsCollector.java:189) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:116) at hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:27) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2032) at hudson.remoting.UserRequest.perform(UserRequest.java:103) at hudson.remoting.UserRequest.perform(UserRequest.java:47) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619)
    via by eagleigor,
  • The Java heap Size should be changeable for ssh-slaves to avoid Problems with large junit Reports. ERROR: Failed to archive JUnit reports hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:548) at hudson.tasks.junit.JUnitResultArchiver.perform(JUnitResultArchiver.java:82) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:372) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:360) at hudson.model.Build$RunnerImpl.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:345) at hudson.model.Run.run(Run.java:943) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: java.io.IOException: Remote call failed at hudson.remoting.Channel.call(Channel.java:490) at hudson.FilePath.act(FilePath.java:545) ... 9 more Caused by: java.lang.OutOfMemoryError: Java heap space at com.sun.org.apache.xerces.internal.util.XMLStringBuffer.append(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.scanData(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanCDATASection(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) 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:89) at hudson.tasks.junit.TestResult.parse(TestResult.java:162) at hudson.tasks.junit.TestResult.parse(TestResult.java:118) at hudson.tasks.junit.TestResult.<init>(TestResult.java:95) at hudson.tasks.junit.JUnitResultArchiver$1.invoke(JUnitResultArchiver.java:95) at hudson.tasks.junit.JUnitResultArchiver$1.invoke(JUnitResultArchiver.java:82) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1517) at hudson.remoting.UserRequest.perform(UserRequest.java:97) at hudson.remoting.UserRequest.perform(UserRequest.java:46) at hudson.remoting.Request$2.run(Request.java:236) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) 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 java.lang.Thread.run(Unknown Source)
    via by alclonky,
  • When running a job on a slave machine, and the job uses the "Deploy war to a container" post build action, the job fails with FATAL: remote file operation failed hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:311) at hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:42) at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:37) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:309) at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:438) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:282) at hudson.model.Run.run(Run.java:802) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:203) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:88) Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@74e20781 at hudson.remoting.UserRequest.serialize(UserRequest.java:103) at hudson.remoting.UserRequest.<init>(UserRequest.java:37) at hudson.remoting.Channel.call(Channel.java:391) at hudson.FilePath.act(FilePath.java:308) ... 9 more Caused by: java.io.NotSerializableException: hudson.plugins.deploy.Tomcat6xAdapter at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at hudson.remoting.UserRequest.serialize(UserRequest.java:100) ... 12 more
    via by dsheth,
  • When running a job on a slave machine, and the job uses the "Deploy war to a container" post build action, the job fails with FATAL: remote file operation failed hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:311) at hudson.plugins.deploy.CargoContainerAdapter.redeploy(CargoContainerAdapter.java:42) at hudson.plugins.deploy.DeployPublisher.perform(DeployPublisher.java:37) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:309) at hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:438) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:282) at hudson.model.Run.run(Run.java:802) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:203) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:88) Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@74e20781 at hudson.remoting.UserRequest.serialize(UserRequest.java:103) at hudson.remoting.UserRequest.<init>(UserRequest.java:37) at hudson.remoting.Channel.call(Channel.java:391) at hudson.FilePath.act(FilePath.java:308) ... 9 more Caused by: java.io.NotSerializableException: hudson.plugins.deploy.Tomcat6xAdapter at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at hudson.remoting.UserRequest.serialize(UserRequest.java:100) ... 12 more
    via by dsheth,
    • hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:672) at hudson.FilePath.act(FilePath.java:660)
    No Bugmate found.