hudson.util.IOException2: remote file operation failed

Jenkins JIRA | nhb | 8 years ago
  1. 0

    Hello, i have the problem that after a couple of days Hudson hangs, only throwing "too many open files" exceptions again and again. lsof shows that there are several thousand tmp-files in /home/hudson/.hudson/jobs/QIS_HEAD/builds/2009-05-29_07-11-46/workspace-files/7f16be5b.tmp They contain this stacktrace: hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:631) at hudson.FilePath.copyTo(FilePath.java:1108) at hudson.plugins.tasks.util.HealthAwarePublisher.copyFilesFromSlaveToMaster(HealthAwarePublisher.java:189) at hudson.plugins.tasks.util.HealthAwarePublisher.perform(HealthAwarePublisher.java:145) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:372) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:360) at hudson.model.Build$RunnerImpl.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:345) at hudson.model.Run.run(Run.java:947) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: java.io.IOException: already closed at hudson.remoting.Channel.send(Channel.java:370) at hudson.remoting.Request.call(Request.java:104) at hudson.remoting.Channel.call(Channel.java:509) at hudson.FilePath.act(FilePath.java:626) ... 11 more Can't copy file from slave to master: slave=/home/hudson/hudson/workspace/QIS_HEAD/qisserver/WEB-INF/src/generated/de/his/appserver/service/dto/gen/HisbezeichnerDtoFactory.java, master=/home/hudson/.hudson/jobs/QIS_HEAD/builds/2009-05-29_07-11-46/workspace-files/ff810f24.tmp Hudson is running as a master withou any executers and one slave with two executers.

    Jenkins JIRA | 8 years ago | nhb
    hudson.util.IOException2: remote file operation failed
  2. 0

    Hello, i have the problem that after a couple of days Hudson hangs, only throwing "too many open files" exceptions again and again. lsof shows that there are several thousand tmp-files in /home/hudson/.hudson/jobs/QIS_HEAD/builds/2009-05-29_07-11-46/workspace-files/7f16be5b.tmp They contain this stacktrace: hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:631) at hudson.FilePath.copyTo(FilePath.java:1108) at hudson.plugins.tasks.util.HealthAwarePublisher.copyFilesFromSlaveToMaster(HealthAwarePublisher.java:189) at hudson.plugins.tasks.util.HealthAwarePublisher.perform(HealthAwarePublisher.java:145) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:372) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:360) at hudson.model.Build$RunnerImpl.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:345) at hudson.model.Run.run(Run.java:947) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) Caused by: java.io.IOException: already closed at hudson.remoting.Channel.send(Channel.java:370) at hudson.remoting.Request.call(Request.java:104) at hudson.remoting.Channel.call(Channel.java:509) at hudson.FilePath.act(FilePath.java:626) ... 11 more Can't copy file from slave to master: slave=/home/hudson/hudson/workspace/QIS_HEAD/qisserver/WEB-INF/src/generated/de/his/appserver/service/dto/gen/HisbezeichnerDtoFactory.java, master=/home/hudson/.hudson/jobs/QIS_HEAD/builds/2009-05-29_07-11-46/workspace-files/ff810f24.tmp Hudson is running as a master withou any executers and one slave with two executers.

    Jenkins JIRA | 8 years ago | nhb
    hudson.util.IOException2: remote file operation failed
  3. 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Currently when building on a slave with the warnings plugin (v1.15) enabled the build fails with a FileNotFoundException. The filename reported in the exception is correct and that file is present for the entire build. ... BUILD SUCCESSFUL Total time: 32 minutes 28 seconds Recording test results [FINDBUGS] Collecting findbugs analysis files... [FINDBUGS] A total of 0 annotations have been found for priority HIGH [FINDBUGS] A total of 67 annotations have been found for priority NORMAL [FINDBUGS] A total of 0 annotations have been found for priority LOW [WARNINGS] Parsing warnings in log file... [WARNINGS] A total of 0 annotations have been found for priority HIGH [WARNINGS] A total of 263 annotations have been found for priority NORMAL [WARNINGS] A total of 0 annotations have been found for priority LOW FATAL: remote file operation failed hudson.util.IOException2: remote file operation failed at hudson.FilePath.act(FilePath.java:311) at hudson.FilePath.copyTo(FilePath.java:736) at hudson.plugins.warnings.util.HealthAwarePublisher.replaceRemoteReferencesWithLoc alFiles(HealthAwarePublisher.java:210) at hudson.plugins.warnings.util.HealthAwarePublisher.perform(HealthAwarePublisher.j ava:172) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java :309) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java :297) at hudson.model.Build$RunnerImpl.post2(Build.java:118) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:282) at hudson.model.Run.run(Run.java:802) at hudson.model.Build.run(Build.java:85) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:88) Caused by: java.io.FileNotFoundException: [exec] d:\hudson\workspace\commit- trigger\product\data\src\cpp\extractor\Extractor.h (The filename, directory name, or volume label syntax is incorrect) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at hudson.FilePath$21.invoke(FilePath.java:738) at hudson.FilePath$21.invoke(FilePath.java:736) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1122) at hudson.remoting.UserRequest.perform(UserRequest.java:69) at hudson.remoting.UserRequest.perform(UserRequest.java:23) at hudson.remoting.Request$2.run(Request.java:206) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    Jenkins JIRA | 8 years ago | lukenuix
    hudson.util.IOException2: remote file operation failed
  6. 0

    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. hudson.util.IOException2

      remote file operation failed

      at hudson.FilePath.act()
    2. Hudson
      FilePath.copyTo
      1. hudson.FilePath.act(FilePath.java:631)
      2. hudson.FilePath.copyTo(FilePath.java:1108)
      2 frames