java.io.IOException: remote file operation failed: /opt/build/jenkins/workspace/HEAD/.repository at hudson.remoting.Channel@2ac467f0:Build-Slave-1: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@327fe663

Jenkins JIRA | Karl-Heinz Marbaise | 1 year ago
  1. 0

    During builds in Jenkins a slave the following failure occurs: {noformat} 00:13:06.167 ERROR: Publisher org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask aborted due to exception 00:13:06.167 java.io.IOException: remote file operation failed: /opt/build/jenkins/workspace/HEAD/.repository at hudson.remoting.Channel@2ac467f0:Build-Slave-1: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@327fe663 00:13:06.168 at hudson.FilePath.act(FilePath.java:987) 00:13:06.168 at hudson.FilePath.act(FilePath.java:969) 00:13:06.168 at org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask.perform(MavenRepoCleanerPostBuildTask.java:44) 00:13:06.168 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 00:13:06.168 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:764) 00:13:06.168 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:724) 00:13:06.168 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1046) 00:13:06.168 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) 00:13:06.168 at hudson.model.Run.execute(Run.java:1769) 00:13:06.168 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) 00:13:06.168 at hudson.model.ResourceController.execute(ResourceController.java:98) 00:13:06.168 at hudson.model.Executor.run(Executor.java:374) 00:13:06.168 Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@327fe663 00:13:06.168 at hudson.remoting.UserRequest.serialize(UserRequest.java:169) 00:13:06.168 at hudson.remoting.UserRequest.<init>(UserRequest.java:63) 00:13:06.168 at hudson.remoting.Channel.call(Channel.java:751) 00:13:06.168 at hudson.FilePath.act(FilePath.java:980) 00:13:06.168 ... 11 more 00:13:06.168 Caused by: java.io.NotSerializableException: org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask 00:13:06.168 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183) 00:13:06.168 at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) 00:13:06.168 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) 00:13:06.168 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) 00:13:06.168 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) 00:13:06.168 at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) 00:13:06.168 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) 00:13:06.168 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) 00:13:06.168 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) 00:13:06.168 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) 00:13:06.168 at hudson.remoting.UserRequest._serialize(UserRequest.java:158) 00:13:06.168 at hudson.remoting.UserRequest.serialize(UserRequest.java:167) 00:13:06.168 ... 14 more 00:13:06.359 Skipping publisher since build result is FAILURE {noformat}

    Jenkins JIRA | 1 year ago | Karl-Heinz Marbaise
    java.io.IOException: remote file operation failed: /opt/build/jenkins/workspace/HEAD/.repository at hudson.remoting.Channel@2ac467f0:Build-Slave-1: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@327fe663
  2. 0

    During builds in Jenkins a slave the following failure occurs: {noformat} 00:13:06.167 ERROR: Publisher org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask aborted due to exception 00:13:06.167 java.io.IOException: remote file operation failed: /opt/build/jenkins/workspace/HEAD/.repository at hudson.remoting.Channel@2ac467f0:Build-Slave-1: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@327fe663 00:13:06.168 at hudson.FilePath.act(FilePath.java:987) 00:13:06.168 at hudson.FilePath.act(FilePath.java:969) 00:13:06.168 at org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask.perform(MavenRepoCleanerPostBuildTask.java:44) 00:13:06.168 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 00:13:06.168 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:764) 00:13:06.168 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:724) 00:13:06.168 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1046) 00:13:06.168 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671) 00:13:06.168 at hudson.model.Run.execute(Run.java:1769) 00:13:06.168 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531) 00:13:06.168 at hudson.model.ResourceController.execute(ResourceController.java:98) 00:13:06.168 at hudson.model.Executor.run(Executor.java:374) 00:13:06.168 Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@327fe663 00:13:06.168 at hudson.remoting.UserRequest.serialize(UserRequest.java:169) 00:13:06.168 at hudson.remoting.UserRequest.<init>(UserRequest.java:63) 00:13:06.168 at hudson.remoting.Channel.call(Channel.java:751) 00:13:06.168 at hudson.FilePath.act(FilePath.java:980) 00:13:06.168 ... 11 more 00:13:06.168 Caused by: java.io.NotSerializableException: org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask 00:13:06.168 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1183) 00:13:06.168 at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) 00:13:06.168 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) 00:13:06.168 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) 00:13:06.168 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) 00:13:06.168 at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1547) 00:13:06.168 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1508) 00:13:06.168 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1431) 00:13:06.168 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1177) 00:13:06.168 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:347) 00:13:06.168 at hudson.remoting.UserRequest._serialize(UserRequest.java:158) 00:13:06.168 at hudson.remoting.UserRequest.serialize(UserRequest.java:167) 00:13:06.168 ... 14 more 00:13:06.359 Skipping publisher since build result is FAILURE {noformat}

    Jenkins JIRA | 1 year ago | Karl-Heinz Marbaise
    java.io.IOException: remote file operation failed: /opt/build/jenkins/workspace/HEAD/.repository at hudson.remoting.Channel@2ac467f0:Build-Slave-1: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@327fe663
  3. 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
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 0

    here is the log Started by user anonymous [EnvInject] - Loading node environment variables. Building remotely on solaris-sparcv9 in workspace /space/jenkins/trand8/.jenkins-slave/workspace/authc-solaris-sparcv9-snapshot java.io.IOException: remote file operation failed: /space/jenkins/trand8/.jenkins-slave/workspace/authc-solaris-sparcv9-snapshot at hudson.remoting.Channel@4cb4079e:solaris-sparcv9 at hudson.FilePath.act(FilePath.java:918) at hudson.FilePath.act(FilePath.java:895) at org.jenkinsci.plugins.p4.PerforceScm.checkout(PerforceScm.java:311) at hudson.scm.SCM.checkout(SCM.java:488) at hudson.model.AbstractProject.checkout(AbstractProject.java:1254) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:624) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:530) at hudson.model.Run.execute(Run.java:1732) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:234) Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@624709b1 at hudson.remoting.UserRequest.serialize(UserRequest.java:166) at hudson.remoting.UserRequest.<init>(UserRequest.java:62) at hudson.remoting.Channel.call(Channel.java:738) at hudson.FilePath.act(FilePath.java:911) ... 11 more Caused by: java.io.NotSerializableException: org.jenkinsci.plugins.p4.credentials.TrustImpl 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) ... 14 more Notifying upstream projects of job completion Finished: FAILURE

    Jenkins JIRA | 2 years ago | dan tran
    java.io.IOException: remote file operation failed: /space/jenkins/trand8/.jenkins-slave/workspace/authc-solaris-sparcv9-snapshot at hudson.remoting.Channel@4cb4079e:solaris-sparcv9

  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.mavenrepocleaner.MavenRepoCleanerPostBuildTask

    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:751)
    4 frames
  4. Hudson
    FilePath.act
    1. hudson.FilePath.act(FilePath.java:980)
    2. hudson.FilePath.act(FilePath.java:969)
    2 frames
  5. org.jenkinsci.plugins
    MavenRepoCleanerPostBuildTask.perform
    1. org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask.perform(MavenRepoCleanerPostBuildTask.java:44)
    1 frame
  6. Hudson
    AbstractBuild$AbstractBuildExecution.performAllBuildSteps
    1. hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:764)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:724)
    3 frames
  7. Hudson Maven Embedder
    MavenModuleSetBuild$MavenModuleSetBuildExecution.post2
    1. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1046)
    1 frame
  8. Hudson
    Run.execute
    1. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:671)
    2. hudson.model.Run.execute(Run.java:1769)
    2 frames
  9. Hudson Maven Embedder
    MavenModuleSetBuild.run
    1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
    1 frame
  10. Hudson
    Executor.run
    1. hudson.model.ResourceController.execute(ResourceController.java:98)
    2. hudson.model.Executor.run(Executor.java:374)
    2 frames