hudson.util.IOException2: remote file operation failed: /home/jenkins/workspace/jobname/.repository at hudson.remoting.Channel@2a1f0c81:slavename

Jenkins JIRA | Larry Shatzer, Jr. | 4 years ago
  1. 0

    The slave is a remote linux server (host is linux too, although differing distros). It is connected to via SSH. I got this stacktrace in my build output: {code} 14:50:30 Deleting old workspace snapshot from #440. 14:50:30 ERROR: Publisher org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask aborted due to exception 14:50:30 hudson.util.IOException2: remote file operation failed: /home/jenkins/workspace/jobname/.repository at hudson.remoting.Channel@2a1f0c81:slavename 14:50:30 at hudson.FilePath.act(FilePath.java:847) 14:50:30 at hudson.FilePath.act(FilePath.java:824) 14:50:30 at org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask.perform(MavenRepoCleanerPostBuildTask.java:44) 14:50:30 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 14:50:30 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) 14:50:30 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779) 14:50:30 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:994) 14:50:30 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) 14:50:30 at hudson.model.Run.execute(Run.java:1541) 14:50:30 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) 14:50:30 at hudson.model.ResourceController.execute(ResourceController.java:88) 14:50:30 at hudson.model.Executor.run(Executor.java:236) 14:50:30 Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@4d0b24be 14:50:30 at hudson.remoting.UserRequest.serialize(UserRequest.java:166) 14:50:30 at hudson.remoting.UserRequest.<init>(UserRequest.java:62) 14:50:30 at hudson.remoting.Channel.call(Channel.java:663) 14:50:30 at hudson.FilePath.act(FilePath.java:840) 14:50:30 ... 11 more 14:50:30 Caused by: java.io.NotSerializableException: org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask 14:50:30 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) 14:50:30 at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) 14:50:30 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) 14:50:30 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) 14:50:30 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) 14:50:30 at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) 14:50:30 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) 14:50:30 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) 14:50:30 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) 14:50:30 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) 14:50:30 at hudson.remoting.UserRequest._serialize(UserRequest.java:155) 14:50:30 at hudson.remoting.UserRequest.serialize(UserRequest.java:164) 14:50:30 ... 14 more {code}

    Jenkins JIRA | 4 years ago | Larry Shatzer, Jr.
    hudson.util.IOException2: remote file operation failed: /home/jenkins/workspace/jobname/.repository at hudson.remoting.Channel@2a1f0c81:slavename
  2. 0

    The slave is a remote linux server (host is linux too, although differing distros). It is connected to via SSH. I got this stacktrace in my build output: {code} 14:50:30 Deleting old workspace snapshot from #440. 14:50:30 ERROR: Publisher org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask aborted due to exception 14:50:30 hudson.util.IOException2: remote file operation failed: /home/jenkins/workspace/jobname/.repository at hudson.remoting.Channel@2a1f0c81:slavename 14:50:30 at hudson.FilePath.act(FilePath.java:847) 14:50:30 at hudson.FilePath.act(FilePath.java:824) 14:50:30 at org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask.perform(MavenRepoCleanerPostBuildTask.java:44) 14:50:30 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) 14:50:30 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804) 14:50:30 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779) 14:50:30 at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:994) 14:50:30 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726) 14:50:30 at hudson.model.Run.execute(Run.java:1541) 14:50:30 at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477) 14:50:30 at hudson.model.ResourceController.execute(ResourceController.java:88) 14:50:30 at hudson.model.Executor.run(Executor.java:236) 14:50:30 Caused by: java.io.IOException: Unable to serialize hudson.FilePath$FileCallableWrapper@4d0b24be 14:50:30 at hudson.remoting.UserRequest.serialize(UserRequest.java:166) 14:50:30 at hudson.remoting.UserRequest.<init>(UserRequest.java:62) 14:50:30 at hudson.remoting.Channel.call(Channel.java:663) 14:50:30 at hudson.FilePath.act(FilePath.java:840) 14:50:30 ... 11 more 14:50:30 Caused by: java.io.NotSerializableException: org.jenkinsci.plugins.mavenrepocleaner.MavenRepoCleanerPostBuildTask 14:50:30 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) 14:50:30 at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) 14:50:30 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) 14:50:30 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) 14:50:30 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) 14:50:30 at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) 14:50:30 at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) 14:50:30 at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) 14:50:30 at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) 14:50:30 at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) 14:50:30 at hudson.remoting.UserRequest._serialize(UserRequest.java:155) 14:50:30 at hudson.remoting.UserRequest.serialize(UserRequest.java:164) 14:50:30 ... 14 more {code}

    Jenkins JIRA | 4 years ago | Larry Shatzer, Jr.
    hudson.util.IOException2: remote file operation failed: /home/jenkins/workspace/jobname/.repository at hudson.remoting.Channel@2a1f0c81:slavename
  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 1 week 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:1156)
    2. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
    3. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
    4. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
    5. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
    6. java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
    7. java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
    8. java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
    9. java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
    10. java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
    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:663)
    4 frames
  4. Hudson
    FilePath.act
    1. hudson.FilePath.act(FilePath.java:840)
    2. hudson.FilePath.act(FilePath.java:824)
    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:19)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:804)
    3. hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:779)
    3 frames
  7. Hudson Maven Embedder
    MavenModuleSetBuild$MavenModuleSetBuildExecution.post2
    1. hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:994)
    1 frame
  8. Hudson
    Run.execute
    1. hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:726)
    2. hudson.model.Run.execute(Run.java:1541)
    2 frames
  9. Hudson Maven Embedder
    MavenModuleSetBuild.run
    1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:477)
    1 frame
  10. Hudson
    Executor.run
    1. hudson.model.ResourceController.execute(ResourceController.java:88)
    2. hudson.model.Executor.run(Executor.java:236)
    2 frames