hudson.util.IOException2: remote file operation failed: /ct/home/ct085/jenkins_parent/workspace/master_build at hudson.remoting.Channel@581ec7bf:Main_Stream_CT

Jenkins JIRA | Stephen Morrison | 5 years ago
  1. 0

    I get the following exception from one of my matrix jobs when the ssh slave connects and attempts to checkout the svn repo. hudson.util.IOException2: remote file operation failed: /ct/home/ct085/jenkins_parent/workspace/master_build at hudson.remoting.Channel@581ec7bf:Main_Stream_CT at hudson.FilePath.act(FilePath.java:835) at hudson.FilePath.act(FilePath.java:821) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:743) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:685) at hudson.model.AbstractProject.checkout(AbstractProject.java:1218) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:586) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475) at hudson.model.Run.run(Run.java:1434) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:248) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:239) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66) Caused by: java.io.IOException: Remote call on Main_Stream_CT failed at hudson.remoting.Channel.call(Channel.java:655) at hudson.FilePath.act(FilePath.java:828) ... 11 more Caused by: java.lang.Error: Unable to load resource javax/servlet/http/LocalStrings.properties at hudson.remoting.RemoteClassLoader.findResource(RemoteClassLoader.java:202) at java.lang.ClassLoader.getResource(ClassLoader.java:978) at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1168) at java.util.ResourceBundle$Control$1.run(ResourceBundle.java:2418) at java.util.ResourceBundle$Control$1.run(ResourceBundle.java:2403) at java.security.AccessController.doPrivileged(Native Method) at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2402) at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1406) at java.util.ResourceBundle.findBundle(ResourceBundle.java:1365) at java.util.ResourceBundle.findBundle(ResourceBundle.java:1292) at java.util.ResourceBundle.findBundle(ResourceBundle.java:1292) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1234) at java.util.ResourceBundle.getBundle(ResourceBundle.java:715) at javax.servlet.http.HttpServlet.<clinit>(HttpServlet.java:93) at hudson.model.Node$Mode.<clinit>(Node.java:450) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.lang.Class.getEnumConstantsShared(Class.java:2942) at java.lang.Class.getEnumConstants(Class.java:2920) at jenkins.model.Jenkins.<clinit>(Jenkins.java:3845) at hudson.scm.SubversionSCM.createDefaultSVNOptions(SubversionSCM.java:844) at hudson.scm.SubversionSCM.createClientManager(SubversionSCM.java:834) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:766) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:753) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2161) 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 hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.FileNotFoundException: /tmp/hudson-remoting6547308058951525956/javax/servlet/http/LocalStrings.properties (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at hudson.remoting.RemoteClassLoader.makeResource(RemoteClassLoader.java:270) at hudson.remoting.RemoteClassLoader.findResource(RemoteClassLoader.java:198) ... 35 more It only seems to happen on one particular host. Other hosts run off the same Jenkins instance by different jobs are fine, but I don't know how to track down what is wrong. The directory specified in this line "Caused by: java.io.FileNotFoundException: /tmp/hudson-remoting6547308058951525956/javax/servlet/http/LocalStrings.properties (No such file or directory)" does not exist... but I am not sure what actually causes that to be created. I have also seen it fail looking for Messages.properties instead, and once again it's the /tmp/hudson-remoting* directory itself that is missing. Java 1.6 is being used on both master and slave. Both are Linux machines.

    Jenkins JIRA | 5 years ago | Stephen Morrison
    hudson.util.IOException2: remote file operation failed: /ct/home/ct085/jenkins_parent/workspace/master_build at hudson.remoting.Channel@581ec7bf:Main_Stream_CT
  2. 0

    I get the following exception from one of my matrix jobs when the ssh slave connects and attempts to checkout the svn repo. hudson.util.IOException2: remote file operation failed: /ct/home/ct085/jenkins_parent/workspace/master_build at hudson.remoting.Channel@581ec7bf:Main_Stream_CT at hudson.FilePath.act(FilePath.java:835) at hudson.FilePath.act(FilePath.java:821) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:743) at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:685) at hudson.model.AbstractProject.checkout(AbstractProject.java:1218) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:586) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:475) at hudson.model.Run.run(Run.java:1434) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:248) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:239) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66) Caused by: java.io.IOException: Remote call on Main_Stream_CT failed at hudson.remoting.Channel.call(Channel.java:655) at hudson.FilePath.act(FilePath.java:828) ... 11 more Caused by: java.lang.Error: Unable to load resource javax/servlet/http/LocalStrings.properties at hudson.remoting.RemoteClassLoader.findResource(RemoteClassLoader.java:202) at java.lang.ClassLoader.getResource(ClassLoader.java:978) at java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1168) at java.util.ResourceBundle$Control$1.run(ResourceBundle.java:2418) at java.util.ResourceBundle$Control$1.run(ResourceBundle.java:2403) at java.security.AccessController.doPrivileged(Native Method) at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2402) at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1406) at java.util.ResourceBundle.findBundle(ResourceBundle.java:1365) at java.util.ResourceBundle.findBundle(ResourceBundle.java:1292) at java.util.ResourceBundle.findBundle(ResourceBundle.java:1292) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1234) at java.util.ResourceBundle.getBundle(ResourceBundle.java:715) at javax.servlet.http.HttpServlet.<clinit>(HttpServlet.java:93) at hudson.model.Node$Mode.<clinit>(Node.java:450) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.lang.Class.getEnumConstantsShared(Class.java:2942) at java.lang.Class.getEnumConstants(Class.java:2920) at jenkins.model.Jenkins.<clinit>(Jenkins.java:3845) at hudson.scm.SubversionSCM.createDefaultSVNOptions(SubversionSCM.java:844) at hudson.scm.SubversionSCM.createClientManager(SubversionSCM.java:834) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:766) at hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:753) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2161) 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 hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.FileNotFoundException: /tmp/hudson-remoting6547308058951525956/javax/servlet/http/LocalStrings.properties (No such file or directory) at java.io.FileOutputStream.open(Native Method) at java.io.FileOutputStream.<init>(FileOutputStream.java:179) at java.io.FileOutputStream.<init>(FileOutputStream.java:131) at hudson.remoting.RemoteClassLoader.makeResource(RemoteClassLoader.java:270) at hudson.remoting.RemoteClassLoader.findResource(RemoteClassLoader.java:198) ... 35 more It only seems to happen on one particular host. Other hosts run off the same Jenkins instance by different jobs are fine, but I don't know how to track down what is wrong. The directory specified in this line "Caused by: java.io.FileNotFoundException: /tmp/hudson-remoting6547308058951525956/javax/servlet/http/LocalStrings.properties (No such file or directory)" does not exist... but I am not sure what actually causes that to be created. I have also seen it fail looking for Messages.properties instead, and once again it's the /tmp/hudson-remoting* directory itself that is missing. Java 1.6 is being used on both master and slave. Both are Linux machines.

    Jenkins JIRA | 5 years ago | Stephen Morrison
    hudson.util.IOException2: remote file operation failed: /ct/home/ct085/jenkins_parent/workspace/master_build at hudson.remoting.Channel@581ec7bf:Main_Stream_CT
  3. 0

    James - Dev - Jenkins build is unstable: james-server-trunk #3899

    nabble.com | 1 year ago
    java.io.IOException: Remote call on Channel to Maven [java, -Djava.awt.headless=true, -cp, /home/jenkins/jenkins-slave/maven3-agent.jar:/home/hudson/tools/maven/apache-maven-3.0.4/boot/plexus-classworlds-2.4.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /home/hudson/tools/maven/apache-maven-3.0.4, /home/hudson/jenkins-slave/slave.jar, /home/jenkins/jenkins-slave/maven3-interceptor.jar, 45261] failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Nutch-dev] Build failed in Jenkins: Nutch-trunk #2251 - Grokbase

    grokbase.com | 1 year ago
    hudson.util.IOException2: remote file operation failed: < > at hudson.remoting.Channel@36ea4c21:ubuntu2
  6. 0

    TeamCity is leaking caches/git file descriptors

    YouTrack | 6 years ago
    java.io.FileNotFoundException: /data/teamcity/BuildServer/system/pluginData/customDataStorage/buildTypes/bt2613/485653500 (Too many open files)

  1. eti22 3 times, last 2 weeks ago
  2. tyson925 49 times, last 1 week ago
  3. MoYapro 1 times, last 1 month ago
  4. musketyr 3 times, last 1 month ago
  5. iridic 12 times, last 1 month ago
23 more registered users
72 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.FileNotFoundException

    /tmp/hudson-remoting6547308058951525956/javax/servlet/http/LocalStrings.properties (No such file or directory)

    at java.io.FileOutputStream.open()
  2. Java RT
    FileOutputStream.<init>
    1. java.io.FileOutputStream.open(Native Method)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:179)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:131)
    3 frames
  3. Hudson :: Remoting Layer
    RemoteClassLoader.findResource
    1. hudson.remoting.RemoteClassLoader.makeResource(RemoteClassLoader.java:270)
    2. hudson.remoting.RemoteClassLoader.findResource(RemoteClassLoader.java:198)
    2 frames
  4. Java RT
    ResourceBundle.getBundle
    1. java.lang.ClassLoader.getResource(ClassLoader.java:978)
    2. java.lang.ClassLoader.getResourceAsStream(ClassLoader.java:1168)
    3. java.util.ResourceBundle$Control$1.run(ResourceBundle.java:2418)
    4. java.util.ResourceBundle$Control$1.run(ResourceBundle.java:2403)
    5. java.security.AccessController.doPrivileged(Native Method)
    6. java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2402)
    7. java.util.ResourceBundle.loadBundle(ResourceBundle.java:1406)
    8. java.util.ResourceBundle.findBundle(ResourceBundle.java:1365)
    9. java.util.ResourceBundle.findBundle(ResourceBundle.java:1292)
    10. java.util.ResourceBundle.findBundle(ResourceBundle.java:1292)
    11. java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1234)
    12. java.util.ResourceBundle.getBundle(ResourceBundle.java:715)
    12 frames
  5. JavaServlet
    HttpServlet.<clinit>
    1. javax.servlet.http.HttpServlet.<clinit>(HttpServlet.java:93)
    1 frame
  6. Hudson
    Node$Mode.<clinit>
    1. hudson.model.Node$Mode.<clinit>(Node.java:450)
    1 frame
  7. Java RT
    Class.getEnumConstants
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    5. java.lang.Class.getEnumConstantsShared(Class.java:2942)
    6. java.lang.Class.getEnumConstants(Class.java:2920)
    6 frames
  8. jenkins.model
    Jenkins.<clinit>
    1. jenkins.model.Jenkins.<clinit>(Jenkins.java:3845)
    1 frame
  9. Hudson
    FilePath$FileCallableWrapper.call
    1. hudson.scm.SubversionSCM.createDefaultSVNOptions(SubversionSCM.java:844)
    2. hudson.scm.SubversionSCM.createClientManager(SubversionSCM.java:834)
    3. hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:766)
    4. hudson.scm.SubversionSCM$CheckOutTask.invoke(SubversionSCM.java:753)
    5. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2161)
    5 frames
  10. Hudson :: Remoting Layer
    InterceptingExecutorService$1.call
    1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
    3. hudson.remoting.Request$2.run(Request.java:287)
    4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
    4 frames
  11. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    5. java.lang.Thread.run(Thread.java:619)
    5 frames