hudson.util.IOException2: remote file operation failed: ***\Jenkins-Slave\workspace\Project\*** at hudson.remoting.Channel@31943194:Jenkins-Slave-1

Jenkins JIRA | Peter Larsson | 5 years ago
  1. 0

    When running with Jenkins slaves and the branches are located on the slaves the rebase and integration jobs fail with the following exception: hudson.util.IOException2: remote file operation failed: ***\Jenkins-Slave\workspace\Project\*** at hudson.remoting.Channel@31943194:Jenkins-Slave-1 at hudson.FilePath.act(FilePath.java:779) at hudson.FilePath.act(FilePath.java:765) at jenkins.plugins.svnmerge.FeatureBranchProperty.rebase(FeatureBranchProperty.java:148) at jenkins.plugins.svnmerge.RebaseAction.perform(RebaseAction.java:105) at jenkins.plugins.svnmerge.RebaseAction.perform(RebaseAction.java:25) at jenkins.plugins.svnmerge.AbstractSvnmergeTaskAction$WorkerThread.perform(AbstractSvnmergeTaskAction.java:105) at hudson.model.TaskThread.run(TaskThread.java:127) at jenkins.plugins.svnmerge.AbstractSvnmergeTaskAction$TaskImpl$1.run(AbstractSvnmergeTaskAction.java:161) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@d420d42 at hudson.remoting.UserRequest.serialize(UserRequest.java:166) at hudson.remoting.UserRequest.<init>(UserRequest.java:62) at hudson.remoting.Channel.call(Channel.java:680) at hudson.FilePath.act(FilePath.java:772) ... 9 more Caused by: java.io.NotSerializableException: jenkins.plugins.svnmerge.FeatureBranchProperty at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1520) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1485) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1403) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1161) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1520) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1485) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1403) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1161) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:337) at hudson.remoting.UserRequest._serialize(UserRequest.java:155) at hudson.remoting.UserRequest.serialize(UserRequest.java:164) ... 12 more I tried to download the source code and make all classes Serializable, but I then got another exception: java.lang.NullPointerException at jenkins.plugins.svnmerge.FeatureBranchProperty.getUpstreamProject(FeatureBranchProperty.java:84) at jenkins.plugins.svnmerge.FeatureBranchProperty.getUpstreamSubversionLocation(FeatureBranchProperty.java:88) at jenkins.plugins.svnmerge.FeatureBranchProperty.getUpstreamURL(FeatureBranchProperty.java:102) at jenkins.plugins.svnmerge.FeatureBranchProperty$1.invoke(FeatureBranchProperty.java:167) at jenkins.plugins.svnmerge.FeatureBranchProperty$1.invoke(FeatureBranchProperty.java:153) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2030) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:896) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Thread.java:735)

    Jenkins JIRA | 5 years ago | Peter Larsson
    hudson.util.IOException2: remote file operation failed: ***\Jenkins-Slave\workspace\Project\*** at hudson.remoting.Channel@31943194:Jenkins-Slave-1
  2. 0

    When running with Jenkins slaves and the branches are located on the slaves the rebase and integration jobs fail with the following exception: hudson.util.IOException2: remote file operation failed: ***\Jenkins-Slave\workspace\Project\*** at hudson.remoting.Channel@31943194:Jenkins-Slave-1 at hudson.FilePath.act(FilePath.java:779) at hudson.FilePath.act(FilePath.java:765) at jenkins.plugins.svnmerge.FeatureBranchProperty.rebase(FeatureBranchProperty.java:148) at jenkins.plugins.svnmerge.RebaseAction.perform(RebaseAction.java:105) at jenkins.plugins.svnmerge.RebaseAction.perform(RebaseAction.java:25) at jenkins.plugins.svnmerge.AbstractSvnmergeTaskAction$WorkerThread.perform(AbstractSvnmergeTaskAction.java:105) at hudson.model.TaskThread.run(TaskThread.java:127) at jenkins.plugins.svnmerge.AbstractSvnmergeTaskAction$TaskImpl$1.run(AbstractSvnmergeTaskAction.java:161) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:238) Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@d420d42 at hudson.remoting.UserRequest.serialize(UserRequest.java:166) at hudson.remoting.UserRequest.<init>(UserRequest.java:62) at hudson.remoting.Channel.call(Channel.java:680) at hudson.FilePath.act(FilePath.java:772) ... 9 more Caused by: java.io.NotSerializableException: jenkins.plugins.svnmerge.FeatureBranchProperty at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1520) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1485) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1403) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1161) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1520) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1485) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1403) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1161) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:337) at hudson.remoting.UserRequest._serialize(UserRequest.java:155) at hudson.remoting.UserRequest.serialize(UserRequest.java:164) ... 12 more I tried to download the source code and make all classes Serializable, but I then got another exception: java.lang.NullPointerException at jenkins.plugins.svnmerge.FeatureBranchProperty.getUpstreamProject(FeatureBranchProperty.java:84) at jenkins.plugins.svnmerge.FeatureBranchProperty.getUpstreamSubversionLocation(FeatureBranchProperty.java:88) at jenkins.plugins.svnmerge.FeatureBranchProperty.getUpstreamURL(FeatureBranchProperty.java:102) at jenkins.plugins.svnmerge.FeatureBranchProperty$1.invoke(FeatureBranchProperty.java:167) at jenkins.plugins.svnmerge.FeatureBranchProperty$1.invoke(FeatureBranchProperty.java:153) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2030) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:287) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:452) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:314) at java.util.concurrent.FutureTask.run(FutureTask.java:149) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:896) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at hudson.remoting.Engine$1$1.run(Engine.java:60) at java.lang.Thread.run(Thread.java:735)

    Jenkins JIRA | 5 years ago | Peter Larsson
    hudson.util.IOException2: remote file operation failed: ***\Jenkins-Slave\workspace\Project\*** at hudson.remoting.Channel@31943194:Jenkins-Slave-1
  3. 0

    ArtifactDeployer Plugin - Jenkins - Jenkins Wiki

    jenkins-ci.org | 2 weeks ago
    hudson.util.IOException2: remote file operation failed: e:\Jenkins\workspace\Subversion qa-w7p06 at hudson.remoting.Channel@35da365c:qa-w7p06
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins users - hudson.util.IOException2: remote file operation failed

    nabble.com | 1 year ago
    hudson.util.IOException2: remote file operation failed: /var/lib/jenkins/jenkins/lalsuite_ci at hudson.remoting.Channel@5e5edf72:SL6a
  6. 0

    When attempting to run a starteam job on a slave machine the following error is thrown: Started by upstream project "test project" build number 19 Building remotely on computer hudson.util.IOException2: remote file operation failed: C:\hudson\workspace\test project\label/computer at hudson.remoting.Channel@81fb:computer at hudson.FilePath.act(FilePath.java:749) at hudson.FilePath.act(FilePath.java:735) at hudson.plugins.starteam.StarTeamSCM.checkout(StarTeamSCM.java:133) at hudson.model.AbstractProject.checkout(AbstractProject.java:1116) 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:1324) at hudson.matrix.MatrixRun.run(MatrixRun.java:137) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:139) Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@17ff759 at hudson.remoting.UserRequest.serialize(UserRequest.java:162) at hudson.remoting.UserRequest.<init>(UserRequest.java:62) at hudson.remoting.Channel.call(Channel.java:629) at hudson.FilePath.act(FilePath.java:742) ... 9 more Caused by: java.io.NotSerializableException: hudson.matrix.MatrixRun at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1173) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1526) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1491) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:343) at hudson.remoting.UserRequest._serialize(UserRequest.java:151) at hudson.remoting.UserRequest.serialize(UserRequest.java:160) ... 12 more Finished: FAILURE

    Jenkins JIRA | 6 years ago | robwiss
    hudson.util.IOException2: remote file operation failed: C:\hudson\workspace\test project\label/computer at hudson.remoting.Channel@81fb:computer

  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

    jenkins.plugins.svnmerge.FeatureBranchProperty

    at java.io.ObjectOutputStream.writeObject0()
  2. Java RT
    ObjectOutputStream.writeObject
    1. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
    2. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1520)
    3. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1485)
    4. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1403)
    5. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1161)
    6. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1520)
    7. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1485)
    8. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1403)
    9. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1161)
    10. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:337)
    10 frames
  3. Hudson :: Remoting Layer
    Channel.call
    1. hudson.remoting.UserRequest._serialize(UserRequest.java:155)
    2. hudson.remoting.UserRequest.serialize(UserRequest.java:164)
    3. hudson.remoting.UserRequest.<init>(UserRequest.java:62)
    4. hudson.remoting.Channel.call(Channel.java:680)
    4 frames
  4. Hudson
    FilePath.act
    1. hudson.FilePath.act(FilePath.java:772)
    2. hudson.FilePath.act(FilePath.java:765)
    2 frames
  5. jenkins.plugins.svnmerge
    AbstractSvnmergeTaskAction$WorkerThread.perform
    1. jenkins.plugins.svnmerge.FeatureBranchProperty.rebase(FeatureBranchProperty.java:148)
    2. jenkins.plugins.svnmerge.RebaseAction.perform(RebaseAction.java:105)
    3. jenkins.plugins.svnmerge.RebaseAction.perform(RebaseAction.java:25)
    4. jenkins.plugins.svnmerge.AbstractSvnmergeTaskAction$WorkerThread.perform(AbstractSvnmergeTaskAction.java:105)
    4 frames
  6. Hudson
    TaskThread.run
    1. hudson.model.TaskThread.run(TaskThread.java:127)
    1 frame
  7. jenkins.plugins.svnmerge
    AbstractSvnmergeTaskAction$TaskImpl$1.run
    1. jenkins.plugins.svnmerge.AbstractSvnmergeTaskAction$TaskImpl$1.run(AbstractSvnmergeTaskAction.java:161)
    1 frame
  8. Hudson
    Executor.run
    1. hudson.model.ResourceController.execute(ResourceController.java:88)
    2. hudson.model.Executor.run(Executor.java:238)
    2 frames