hudson.util.IOException2: remote file operation failed

Jenkins JIRA | lozdvc5 | 9 years ago
  1. 0

    I have a normal java project running on a dedicated slave in hudson. Here are the maven goals the project builds: clean install cobertura:clean cobertura:cobertura This project is building on a slave as a "free-style software project", and throws the following exception when it finishes: [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 21 seconds [INFO] Finished at: Fri Oct 19 00:28:19 PDT 2007 [INFO] Final Memory: 8M/57M [INFO] ------------------------------------------------------------------------ Recording fingerprints Recording test results Publishing Cobertura coverage report... Publishing Cobertura coverage results... FATAL: remote file operation failed hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:276) at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:258) at hudson.model.Build$RunnerImpl.post2(Build.java:138) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:244) at hudson.model.Run.run(Run.java:597) at hudson.model.Build.run(Build.java:103) at hudson.model.ResourceController.execute(ResourceController.java:66) at hudson.model.Executor.run(Executor.java:62) Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@a8be24 at hudson.remoting.UserRequest.serialize(UserRequest.java:103) at hudson.remoting.UserRequest.<init>(UserRequest.java:37) at hudson.remoting.Channel.call(Channel.java:263) at hudson.FilePath.act(FilePath.java:273) ... 7 more Caused by: java.io.NotSerializableException: hudson.plugins.cobertura.targets.CoveragePaint at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) at java.util.HashMap.writeObject(HashMap.java:985) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) at hudson.remoting.UserRequest.serialize(UserRequest.java:100) ... 10 more

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

    I have a normal java project running on a dedicated slave in hudson. Here are the maven goals the project builds: clean install cobertura:clean cobertura:cobertura This project is building on a slave as a "free-style software project", and throws the following exception when it finishes: [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 21 seconds [INFO] Finished at: Fri Oct 19 00:28:19 PDT 2007 [INFO] Final Memory: 8M/57M [INFO] ------------------------------------------------------------------------ Recording fingerprints Recording test results Publishing Cobertura coverage report... Publishing Cobertura coverage results... FATAL: remote file operation failed hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:276) at hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:258) at hudson.model.Build$RunnerImpl.post2(Build.java:138) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:244) at hudson.model.Run.run(Run.java:597) at hudson.model.Build.run(Build.java:103) at hudson.model.ResourceController.execute(ResourceController.java:66) at hudson.model.Executor.run(Executor.java:62) Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@a8be24 at hudson.remoting.UserRequest.serialize(UserRequest.java:103) at hudson.remoting.UserRequest.<init>(UserRequest.java:37) at hudson.remoting.Channel.call(Channel.java:263) at hudson.FilePath.act(FilePath.java:273) ... 7 more Caused by: java.io.NotSerializableException: hudson.plugins.cobertura.targets.CoveragePaint at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) at java.util.HashMap.writeObject(HashMap.java:985) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) at hudson.remoting.UserRequest.serialize(UserRequest.java:100) ... 10 more

    Jenkins JIRA | 9 years ago | lozdvc5
    hudson.util.IOException2: remote file operation failed
  3. 0

    Problem with Jenkins 2.2.1 Testlink Plugin using Master/Slave-Message is "FATAL: remote file operation failed"

    Google Groups | 6 years ago | cvernon
    hudson.util.IOException2: remote file operation failed: C:/hudson/ workspace/testlink2 at hudson.remoting.Channel@4a710a3e:10.250.242.122
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hi, The SVN checkout was working fine until we have added some more files/folders in the repository that causes to fail the checkout. The same logic works fine in Linux environment. Assumption: I believe the issue is with the Windows JNLP agent, as the SVN was able to checkout files until it hits the limitation on file/folder length or something similar. As the same thing works just fine in Linux as it is using the SSH slave vs JNLP. Scenario (This one works): I tried to disable the SVN plugin checkout and then used the "Execute Windows batch command" in build steps (This Worked, just fine). Error: hudson.util.IOException2: remote file operation failed: C:\hudson\workspace\PGPS_6.0.x_Beta_Windows_Smoketest at hudson.remoting.Channel@6ef636:winbuild1 at hudson.FilePath.act(FilePath.java:749) at hudson.FilePath.act(FilePath.java:735) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:653) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:601) at hudson.model.AbstractProject.checkout(AbstractProject.java:1038) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411) at hudson.model.Run.run(Run.java:1257) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129) Caused by: java.io.IOException: Remote call on winbuild1 failed at hudson.remoting.Channel.call(Channel.java:564) at hudson.FilePath.act(FilePath.java:742) Thanks, Waiting for some responses and let me know, if you need further clarification.

    Jenkins JIRA | 6 years ago | fmhome
    hudson.util.IOException2: remote file operation failed: C:\hudson\workspace\PGPS_6.0.x_Beta_Windows_Smoketest at hudson.remoting.Channel@6ef636:winbuild1
  6. 0

    Hi, We use mstest to test our code but when all our test fail we get to following message in the console. Recording NUnit tests results ERROR: Publisher hudson.plugins.nunit.NUnitPublisher aborted due to exception hudson.util.IOException2: remote file operation failed: E:\Hudson\workspace at hudson.remoting.Channel@566710:BUILDMACHINE at hudson.FilePath.act(FilePath.java:690) at hudson.FilePath.act(FilePath.java:676) at hudson.plugins.nunit.NUnitPublisher.getTestResult(NUnitPublisher.java:191) at hudson.plugins.nunit.NUnitPublisher.recordTestResult(NUnitPublisher.java:147) at hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:109) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:582) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:563) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:550) at hudson.model.Build$RunnerImpl.post2(Build.java:152) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1233) 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 BUILDMACHINE failed at hudson.remoting.Channel.call(Channel.java:560) at hudson.FilePath.act(FilePath.java:683) ... 14 more Caused by: java.lang.OutOfMemoryError: Java heap space The build continues and hudson sees the build as succeeded.

    Jenkins JIRA | 7 years ago | ejschuiteman
    hudson.util.IOException2: remote file operation failed: E:\Hudson\workspace at hudson.remoting.Channel@566710:BUILDMACHINE

    7 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.io.IOException

      Unable to serialize hudson.FilePath$FileCallableWrapper@a8be24

      at hudson.remoting.UserRequest.serialize()
    2. Hudson :: Remoting Layer
      Channel.call
      1. hudson.remoting.UserRequest.serialize(UserRequest.java:103)
      2. hudson.remoting.UserRequest.<init>(UserRequest.java:37)
      3. hudson.remoting.Channel.call(Channel.java:263)
      3 frames
    3. Hudson
      FilePath.act
      1. hudson.FilePath.act(FilePath.java:273)
      1 frame
    4. hudson.plugins.cobertura
      CoberturaPublisher.perform
      1. hudson.plugins.cobertura.CoberturaPublisher.perform(CoberturaPublisher.java:258)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.model.Build$RunnerImpl.post2(Build.java:138)
      2. hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:244)
      3. hudson.model.Run.run(Run.java:597)
      4. hudson.model.Build.run(Build.java:103)
      5. hudson.model.ResourceController.execute(ResourceController.java:66)
      6. hudson.model.Executor.run(Executor.java:62)
      6 frames