hudson.util.IOException2: remote file operation failed: D:\Jenkins\workspace\NARASR at hudson.remoting.Channel@13381338:10.128.26.15

Jenkins JIRA | John Cook | 5 years ago
  1. 0

    StarTeam Polling does not appear to work when configured to run on a Slave (tested Windows 2003). Receiving the below error when the poll occurs. The error can be viewed in the StarTeam Polling Log. SCM Poll Config: */15 * * * * Started on May 14, 2012 1:00:39 PM FATAL: remote file operation failed: D:\Jenkins\workspace\NARASR at hudson.remoting.Channel@13381338:10.128.26.15 hudson.util.IOException2: remote file operation failed: D:\Jenkins\workspace\NARASR at hudson.remoting.Channel@13381338:10.128.26.15 at hudson.FilePath.act(FilePath.java:754) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.starteam.StarTeamSCM.pollChanges(StarTeamSCM.java:181) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject.poll(AbstractProject.java:1300) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315) at java.util.concurrent.FutureTask.run(FutureTask.java:150) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:898) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:920) at java.lang.Thread.run(Thread.java:736) Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@17a817a8 at hudson.remoting.UserRequest.serialize(UserRequest.java:166) at hudson.remoting.UserRequest.<init>(UserRequest.java:62) at hudson.remoting.Channel.call(Channel.java:666) at hudson.FilePath.act(FilePath.java:747) ... 13 more Caused by: java.io.NotSerializableException: hudson.model.FreeStyleBuild at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1165) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1401) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1159) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1401) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1159) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:332) at hudson.remoting.UserRequest._serialize(UserRequest.java:155) at hudson.remoting.UserRequest.serialize(UserRequest.java:164) at hudson.remoting.UserRequest.<init>(UserRequest.java:59) ... 15 more Done. Took 48 ms No changes

    Jenkins JIRA | 5 years ago | John Cook
    hudson.util.IOException2: remote file operation failed: D:\Jenkins\workspace\NARASR at hudson.remoting.Channel@13381338:10.128.26.15
  2. 0

    StarTeam Polling does not appear to work when configured to run on a Slave (tested Windows 2003). Receiving the below error when the poll occurs. The error can be viewed in the StarTeam Polling Log. SCM Poll Config: */15 * * * * Started on May 14, 2012 1:00:39 PM FATAL: remote file operation failed: D:\Jenkins\workspace\NARASR at hudson.remoting.Channel@13381338:10.128.26.15 hudson.util.IOException2: remote file operation failed: D:\Jenkins\workspace\NARASR at hudson.remoting.Channel@13381338:10.128.26.15 at hudson.FilePath.act(FilePath.java:754) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.starteam.StarTeamSCM.pollChanges(StarTeamSCM.java:181) at hudson.scm.SCM.poll(SCM.java:373) at hudson.model.AbstractProject.poll(AbstractProject.java:1300) at hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420) at hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449) at hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315) at java.util.concurrent.FutureTask.run(FutureTask.java:150) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:898) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:920) at java.lang.Thread.run(Thread.java:736) Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@17a817a8 at hudson.remoting.UserRequest.serialize(UserRequest.java:166) at hudson.remoting.UserRequest.<init>(UserRequest.java:62) at hudson.remoting.Channel.call(Channel.java:666) at hudson.FilePath.act(FilePath.java:747) ... 13 more Caused by: java.io.NotSerializableException: hudson.model.FreeStyleBuild at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1165) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1401) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1159) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1401) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1159) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:332) at hudson.remoting.UserRequest._serialize(UserRequest.java:155) at hudson.remoting.UserRequest.serialize(UserRequest.java:164) at hudson.remoting.UserRequest.<init>(UserRequest.java:59) ... 15 more Done. Took 48 ms No changes

    Jenkins JIRA | 5 years ago | John Cook
    hudson.util.IOException2: remote file operation failed: D:\Jenkins\workspace\NARASR at hudson.remoting.Channel@13381338:10.128.26.15
  3. 0

    Using the git plugin to publish a merged change to a central repository previously was successful from either the master node or a slave agent. With the 1.2.0 (and 1.3.0) version of the git plugin it is no longer able to push changes to the central repository after they have merged and are successfully built on the slave. The merge still works as expected when performed on the master node. The stack trace reports: Commencing build of Revision 363396d76a09a12a2f4b5d94fb4e9981e05ad4a9 (origin/proposals) hudson.util.IOException2: remote file operation failed: /var/lib/jenkins/mwaite6-slave/workspace/merge-proposals at hudson.remoting.Channel@4a6ecaf9:fc-agile-2011 at hudson.FilePath.act(FilePath.java:848) at hudson.FilePath.act(FilePath.java:834) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1133) at hudson.model.AbstractProject.checkout(AbstractProject.java:1256) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:590) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:495) at hudson.model.Run.execute(Run.java:1502) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@7c0a37f8 at hudson.remoting.UserRequest.serialize(UserRequest.java:166) at hudson.remoting.UserRequest.<init>(UserRequest.java:62) at hudson.remoting.Channel.call(Channel.java:671) at hudson.FilePath.act(FilePath.java:841) ... 10 more Caused by: java.io.NotSerializableException: hudson.model.FreeStyleBuild at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1180) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346) at hudson.remoting.UserRequest._serialize(UserRequest.java:155) at hudson.remoting.UserRequest.serialize(UserRequest.java:164) ... 13 more Steps to recreate the problem: - configure a Git repository into which the Jenkins user can push changes - create a "master" branch and a "proposals" branch on the Git repository - define a Jenkins job which clones the Git repository with ssh protocol - configure the Jenkins job git plugin to merge from "*/proposals" and "*/master" to "master-proposals" - restrict the job to execute on any node except master node ("!master") - define a post build action to push the resulting merge to the origin/master branch - Submit a change to the central git repository on the "proposals" branch - Run the Jenkins job to confirm it will combine the master and proposals branches - Confirm the Jenkins job fails to push the combined change = Serialization exception between master and slave. Refer to merge-proposals.xml for the job definition I used in my tests.

    Jenkins JIRA | 4 years ago | Mark Waite
    hudson.util.IOException2: remote file operation failed: /var/lib/jenkins/mwaite6-slave/workspace/merge-proposals at hudson.remoting.Channel@4a6ecaf9:fc-agile-2011
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using the git plugin to publish a merged change to a central repository previously was successful from either the master node or a slave agent. With the 1.2.0 (and 1.3.0) version of the git plugin it is no longer able to push changes to the central repository after they have merged and are successfully built on the slave. The merge still works as expected when performed on the master node. The stack trace reports: Commencing build of Revision 363396d76a09a12a2f4b5d94fb4e9981e05ad4a9 (origin/proposals) hudson.util.IOException2: remote file operation failed: /var/lib/jenkins/mwaite6-slave/workspace/merge-proposals at hudson.remoting.Channel@4a6ecaf9:fc-agile-2011 at hudson.FilePath.act(FilePath.java:848) at hudson.FilePath.act(FilePath.java:834) at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1133) at hudson.model.AbstractProject.checkout(AbstractProject.java:1256) at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:590) at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:495) at hudson.model.Run.execute(Run.java:1502) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:237) Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@7c0a37f8 at hudson.remoting.UserRequest.serialize(UserRequest.java:166) at hudson.remoting.UserRequest.<init>(UserRequest.java:62) at hudson.remoting.Channel.call(Channel.java:671) at hudson.FilePath.act(FilePath.java:841) ... 10 more Caused by: java.io.NotSerializableException: hudson.model.FreeStyleBuild at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1180) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346) at hudson.remoting.UserRequest._serialize(UserRequest.java:155) at hudson.remoting.UserRequest.serialize(UserRequest.java:164) ... 13 more Steps to recreate the problem: - configure a Git repository into which the Jenkins user can push changes - create a "master" branch and a "proposals" branch on the Git repository - define a Jenkins job which clones the Git repository with ssh protocol - configure the Jenkins job git plugin to merge from "*/proposals" and "*/master" to "master-proposals" - restrict the job to execute on any node except master node ("!master") - define a post build action to push the resulting merge to the origin/master branch - Submit a change to the central git repository on the "proposals" branch - Run the Jenkins job to confirm it will combine the master and proposals branches - Confirm the Jenkins job fails to push the combined change = Serialization exception between master and slave. Refer to merge-proposals.xml for the job definition I used in my tests.

    Jenkins JIRA | 4 years ago | Mark Waite
    hudson.util.IOException2: remote file operation failed: /var/lib/jenkins/mwaite6-slave/workspace/merge-proposals at hudson.remoting.Channel@4a6ecaf9:fc-agile-2011
  6. 0

    "remote file operation failed" on remote UNIX slaves since upgrading to Jenkins 1.502

    Server Fault | 4 years ago | Smudge
    hudson.util.IOException2: remote file operation failed: /var/ciworkspaces/web/workspace/DFT.BA Live at hudson.remoting.Channel@14930f2a:web-pampas

  1. kjhdofjosvs 2 times, last 1 week ago
  2. treefolk 1 times, last 1 week ago
  3. filpgame 4 times, last 1 week ago
  4. Handemelindo 15 times, last 2 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

    hudson.model.FreeStyleBuild

    at java.io.ObjectOutputStream.writeObject0()
  2. Java RT
    ObjectOutputStream.writeObject
    1. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1165)
    2. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
    3. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
    4. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1401)
    5. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1159)
    6. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1518)
    7. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1483)
    8. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1401)
    9. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1159)
    10. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:332)
    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:59)
    4. hudson.remoting.Channel.call(Channel.java:666)
    4 frames
  4. Hudson
    FilePath.act
    1. hudson.FilePath.act(FilePath.java:747)
    2. hudson.FilePath.act(FilePath.java:740)
    2 frames
  5. hudson.plugins.starteam
    StarTeamSCM.pollChanges
    1. hudson.plugins.starteam.StarTeamSCM.pollChanges(StarTeamSCM.java:181)
    1 frame
  6. Hudson
    SequentialExecutionQueue$QueueEntry.run
    1. hudson.scm.SCM.poll(SCM.java:373)
    2. hudson.model.AbstractProject.poll(AbstractProject.java:1300)
    3. hudson.triggers.SCMTrigger$Runner.runPolling(SCMTrigger.java:420)
    4. hudson.triggers.SCMTrigger$Runner.run(SCMTrigger.java:449)
    5. hudson.util.SequentialExecutionQueue$QueueEntry.run(SequentialExecutionQueue.java:118)
    5 frames
  7. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:453)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:315)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:150)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:898)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:920)
    6. java.lang.Thread.run(Thread.java:736)
    6 frames