java.io.IOException: remote file operation failed: /jenkins/workspace/MyJob at hudson.remoting.Channel@59fe7650:linuxbuildnode: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@3aba12f7

Jenkins JIRA | Brent Duffy | 1 year ago
  1. 0

    We are getting the following exception when trying to create a bundle using the CRX plugin. Note that we are not building on the master node, rather a separate Linux build node. We have found other plugins that have had the same "Unable to serialize" issue: https://issues.jenkins-ci.org/browse/JENKINS-29938 We would like to be able to farm jobs using the CRX plugin to non-master build nodes if possible. Thanks in advance. Building remotely on linuxbuildnode (x86_64) in workspace /jenkins/workspace/MyJob FATAL: remote file operation failed: /mnt/workspace/MyJob at hudson.remoting.Channel@59fe7650:linuxbuildnode: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@3aba12f7 java.io.IOException: remote file operation failed: /jenkins/workspace/MyJob at hudson.remoting.Channel@59fe7650:linuxbuildnode: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@3aba12f7 at hudson.FilePath.act(FilePath.java:985) at hudson.FilePath.act(FilePath.java:967) at org.jenkinsci.plugins.graniteclient.BuildPackageBuilder.perform(BuildPackageBuilder.java:101) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.build(Build.java:203) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@3aba12f7 at hudson.remoting.UserRequest.serialize(UserRequest.java:169) at hudson.remoting.UserRequest.<init>(UserRequest.java:63) at hudson.remoting.Channel.call(Channel.java:776) at hudson.FilePath.act(FilePath.java:978) ... 11 more Caused by: java.io.NotSerializableException: org.jenkinsci.plugins.graniteclient.JenkinsResponseProgressListener at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at hudson.remoting.UserRequest._serialize(UserRequest.java:158) at hudson.remoting.UserRequest.serialize(UserRequest.java:167) ... 14 more Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds Finished: FAILURE

    Jenkins JIRA | 1 year ago | Brent Duffy
    java.io.IOException: remote file operation failed: /jenkins/workspace/MyJob at hudson.remoting.Channel@59fe7650:linuxbuildnode: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@3aba12f7
  2. 0

    [JENKINS-31463] Unable to serialize hudson.FilePath when Building a package with CRX plugin - Jenkins JIRA

    jenkins-ci.org | 7 months ago
    java.io.IOException: remote file operation failed: /jenkins/workspace/MyJob at hudson.remoting.Channel@59fe7650:linuxbuildnode: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@3aba12f7
  3. 0

    We are getting the following exception when trying to create a bundle using the CRX plugin. Note that we are not building on the master node, rather a separate Linux build node. We have found other plugins that have had the same "Unable to serialize" issue: https://issues.jenkins-ci.org/browse/JENKINS-29938 We would like to be able to farm jobs using the CRX plugin to non-master build nodes if possible. Thanks in advance. Building remotely on linuxbuildnode (x86_64) in workspace /jenkins/workspace/MyJob FATAL: remote file operation failed: /mnt/workspace/MyJob at hudson.remoting.Channel@59fe7650:linuxbuildnode: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@3aba12f7 java.io.IOException: remote file operation failed: /jenkins/workspace/MyJob at hudson.remoting.Channel@59fe7650:linuxbuildnode: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@3aba12f7 at hudson.FilePath.act(FilePath.java:985) at hudson.FilePath.act(FilePath.java:967) at org.jenkinsci.plugins.graniteclient.BuildPackageBuilder.perform(BuildPackageBuilder.java:101) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:776) at hudson.model.Build$BuildExecution.build(Build.java:203) at hudson.model.Build$BuildExecution.doRun(Build.java:160) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:381) Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@3aba12f7 at hudson.remoting.UserRequest.serialize(UserRequest.java:169) at hudson.remoting.UserRequest.<init>(UserRequest.java:63) at hudson.remoting.Channel.call(Channel.java:776) at hudson.FilePath.act(FilePath.java:978) ... 11 more Caused by: java.io.NotSerializableException: org.jenkinsci.plugins.graniteclient.JenkinsResponseProgressListener at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at hudson.remoting.UserRequest._serialize(UserRequest.java:158) at hudson.remoting.UserRequest.serialize(UserRequest.java:167) ... 14 more Started calculate disk usage of build Finished Calculation of disk usage of build in 0 seconds Started calculate disk usage of workspace Finished Calculation of disk usage of workspace in 0 seconds Finished: FAILURE

    Jenkins JIRA | 1 year ago | Brent Duffy
    java.io.IOException: remote file operation failed: /jenkins/workspace/MyJob at hudson.remoting.Channel@59fe7650:linuxbuildnode: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@3aba12f7
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ProxySettingsConfig is not Serializable

    GitHub | 2 years ago | volkovs
    java.io.IOException: remote file operation failed: /proj/PDU_OSS_CI_TAF/jenkins/taf_main/workspace-slave1/workspace/AA_TAF_D_Taffit/allure4184210229559075575.tmp at hudson.remoting.Channel@39eec638:taf_main slave 1
  6. 0

    When processing junit files on remote SSH slaves the xUnit plugin fails with: 18:58:45 [xUnit] [ERROR] - The plugin hasn't been performed correctly: remote file operation failed: /home/jenkins/workspace/build_job at hudson.remoting.Channel@538d6dc9:vagrant-slave62 I added some more debug information to the code and found the case: org.jenkinsci.plugins.xunit.exception.XUnitException: remote file operation failed: /home/jenkins/workspace/xunit at hudson.remoting.Channel@2f71a393:vagrant at org.jenkinsci.plugins.xunit.XUnitProcessor.getTestResult(XUnitProcessor.java:331) at org.jenkinsci.plugins.xunit.XUnitProcessor.recordTestResult(XUnitProcessor.java:258) at org.jenkinsci.plugins.xunit.XUnitProcessor.performXUnit(XUnitProcessor.java:74) at org.jenkinsci.plugins.xunit.XUnitPublisher.perform(XUnitPublisher.java:88) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:785) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:757) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:706) at hudson.model.Run.execute(Run.java:1703) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:231) Caused by: java.io.IOException: remote file operation failed: /home/jenkins/workspace/xunit at hudson.remoting.Channel@2f71a393:vagrant at hudson.FilePath.act(FilePath.java:910) at hudson.FilePath.act(FilePath.java:887) at org.jenkinsci.plugins.xunit.XUnitProcessor.getTestResult(XUnitProcessor.java:302) ... 12 more Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@1ccce215 at hudson.remoting.UserRequest.serialize(UserRequest.java:166) at hudson.remoting.UserRequest.<init>(UserRequest.java:62) at hudson.remoting.Channel.call(Channel.java:721) at hudson.FilePath.act(FilePath.java:903) ... 14 more Caused by: java.io.NotSerializableException: org.jenkinsci.plugins.xunit.ExtraConfiguration at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) at hudson.remoting.UserRequest._serialize(UserRequest.java:155) at hudson.remoting.UserRequest.serialize(UserRequest.java:164) ... 17 more After making both XUnitProcessor and ExtraConfiguration implement java.io.Serializable problem goes away.

    Jenkins JIRA | 3 years ago | Peter J├Ânsson
    org.jenkinsci.plugins.xunit.exception.XUnitException: remote file operation failed: /home/jenkins/workspace/xunit at hudson.remoting.Channel@2f71a393:vagrant

  1. kjhdofjosvs 1 times, last 5 days ago
  2. treefolk 1 times, last 2 weeks ago
  3. filpgame 4 times, last 2 weeks ago
  4. Handemelindo 15 times, last 3 weeks ago
  5. eti22 1 times, last 1 month ago
11 more registered users
50 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.NotSerializableException

    org.jenkinsci.plugins.graniteclient.JenkinsResponseProgressListener

    at java.io.ObjectOutputStream.writeObject0()
  2. Java RT
    ObjectOutputStream.writeObject
    1. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183)
    2. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547)
    3. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508)
    4. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)
    5. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
    6. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547)
    7. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508)
    8. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431)
    9. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177)
    10. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347)
    10 frames
  3. Hudson :: Remoting Layer
    Channel.call
    1. hudson.remoting.UserRequest._serialize(UserRequest.java:158)
    2. hudson.remoting.UserRequest.serialize(UserRequest.java:167)
    3. hudson.remoting.UserRequest.<init>(UserRequest.java:63)
    4. hudson.remoting.Channel.call(Channel.java:776)
    4 frames
  4. Hudson
    FilePath.act
    1. hudson.FilePath.act(FilePath.java:978)
    2. hudson.FilePath.act(FilePath.java:967)
    2 frames
  5. org.jenkinsci.plugins
    BuildPackageBuilder.perform
    1. org.jenkinsci.plugins.graniteclient.BuildPackageBuilder.perform(BuildPackageBuilder.java:101)
    1 frame
  6. Hudson
    Executor.run
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:776)
    3. hudson.model.Build$BuildExecution.build(Build.java:203)
    4. hudson.model.Build$BuildExecution.doRun(Build.java:160)
    5. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536)
    6. hudson.model.Run.execute(Run.java:1738)
    7. hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    8. hudson.model.ResourceController.execute(ResourceController.java:98)
    9. hudson.model.Executor.run(Executor.java:381)
    9 frames