java.io.IOException: remote file operation failed: /home/jenkins/workspace/docu_job at hudson.remoting.Channel@68c0fe1e:CI-SLAVE-02: java.io.FileNotFoundException: /home/jenkins/workspace/docu_job/${CONFIG_FILE} (Datei oder Verzeichnis nicht gefunden)

Jenkins JIRA | Philipp Strobel | 1 year ago
  1. 0

    When using a variable in the "Doxyfile path" filed in Publish doxygen, this variable seems not to beresolved. The same variable in Generate Documentation works {code:java} 00:00:08.698 finalizing index lists... 00:00:08.698 lookup cache used 1927/65536 hits=4492 misses=1975 00:00:08.698 finished... 00:00:08.702 Doxygen documentation generation ended with 1 errors and 5 warnings 00:00:08.747 Publishing Doxygen HTML results. 00:00:08.768 Using the Doxyfile information. 00:00:08.769 FATAL: error 00:00:08.770 java.io.IOException: remote file operation failed: /home/jenkins/workspace/docu_job at hudson.remoting.Channel@68c0fe1e:CI-SLAVE-02: java.io.FileNotFoundException: /home/jenkins/workspace/docu_job/${CONFIG_FILE} (Datei oder Verzeichnis nicht gefunden) 00:00:08.770 at hudson.FilePath.act(FilePath.java:985) 00:00:08.770 at hudson.FilePath.act(FilePath.java:967) 00:00:08.770 at hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:219) 00:00:08.770 at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:176) 00:00:08.770 at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32) 00:00:08.770 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) 00:00:08.770 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) 00:00:08.770 at hudson.model.Build$BuildExecution.post2(Build.java:183) 00:00:08.770 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) 00:00:08.770 at hudson.model.Run.execute(Run.java:1766) 00:00:08.770 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 00:00:08.770 at hudson.model.ResourceController.execute(ResourceController.java:98) 00:00:08.770 at hudson.model.Executor.run(Executor.java:374) 00:00:08.770 Caused by: java.io.FileNotFoundException: /home/jenkins/workspace/docu_job/${CONFIG_FILE} (Datei oder Verzeichnis nicht gefunden) 00:00:08.770 at java.io.FileInputStream.open(Native Method) 00:00:08.770 at java.io.FileInputStream.<init>(FileInputStream.java:146) 00:00:08.770 at hudson.plugins.doxygen.DoxygenDirectoryParser.loadDoxyFile(DoxygenDirectoryParser.java:153) 00:00:08.770 at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:312) 00:00:08.770 at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:60) 00:00:08.770 at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:16) 00:00:08.770 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2688) 00:00:08.770 at hudson.remoting.UserRequest.perform(UserRequest.java:121) 00:00:08.770 at hudson.remoting.UserRequest.perform(UserRequest.java:49) 00:00:08.770 at hudson.remoting.Request$2.run(Request.java:325) 00:00:08.770 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 00:00:08.770 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 00:00:08.770 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 00:00:08.770 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 00:00:08.770 at java.lang.Thread.run(Thread.java:745) 00:00:08.770 at ......remote call to CI-SLAVE-02(Native Method) 00:00:08.770 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1360) 00:00:08.770 at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) 00:00:08.770 at hudson.remoting.Channel.call(Channel.java:753) 00:00:08.770 at hudson.FilePath.act(FilePath.java:978) 00:00:08.770 ... 12 more 00:00:08.770 Build step 'Publish Doxygen' changed build result to FAILURE 00:00:08.771 [BFA] Scanning build for known causes... 00:00:08.771 [BFA] No failure causes found 00:00:08.771 [BFA] Done. 0s 00:00:08.785 Finished: FAILURE {code}

    Jenkins JIRA | 1 year ago | Philipp Strobel
    java.io.IOException: remote file operation failed: /home/jenkins/workspace/docu_job at hudson.remoting.Channel@68c0fe1e:CI-SLAVE-02: java.io.FileNotFoundException: /home/jenkins/workspace/docu_job/${CONFIG_FILE} (Datei oder Verzeichnis nicht gefunden)
  2. 0

    When using a variable in the "Doxyfile path" filed in Publish doxygen, this variable seems not to beresolved. The same variable in Generate Documentation works {code:java} 00:00:08.698 finalizing index lists... 00:00:08.698 lookup cache used 1927/65536 hits=4492 misses=1975 00:00:08.698 finished... 00:00:08.702 Doxygen documentation generation ended with 1 errors and 5 warnings 00:00:08.747 Publishing Doxygen HTML results. 00:00:08.768 Using the Doxyfile information. 00:00:08.769 FATAL: error 00:00:08.770 java.io.IOException: remote file operation failed: /home/jenkins/workspace/docu_job at hudson.remoting.Channel@68c0fe1e:CI-SLAVE-02: java.io.FileNotFoundException: /home/jenkins/workspace/docu_job/${CONFIG_FILE} (Datei oder Verzeichnis nicht gefunden) 00:00:08.770 at hudson.FilePath.act(FilePath.java:985) 00:00:08.770 at hudson.FilePath.act(FilePath.java:967) 00:00:08.770 at hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:219) 00:00:08.770 at hudson.plugins.doxygen.DoxygenArchiver.perform(DoxygenArchiver.java:176) 00:00:08.770 at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32) 00:00:08.770 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761) 00:00:08.770 at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:721) 00:00:08.770 at hudson.model.Build$BuildExecution.post2(Build.java:183) 00:00:08.770 at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670) 00:00:08.770 at hudson.model.Run.execute(Run.java:1766) 00:00:08.770 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 00:00:08.770 at hudson.model.ResourceController.execute(ResourceController.java:98) 00:00:08.770 at hudson.model.Executor.run(Executor.java:374) 00:00:08.770 Caused by: java.io.FileNotFoundException: /home/jenkins/workspace/docu_job/${CONFIG_FILE} (Datei oder Verzeichnis nicht gefunden) 00:00:08.770 at java.io.FileInputStream.open(Native Method) 00:00:08.770 at java.io.FileInputStream.<init>(FileInputStream.java:146) 00:00:08.770 at hudson.plugins.doxygen.DoxygenDirectoryParser.loadDoxyFile(DoxygenDirectoryParser.java:153) 00:00:08.770 at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:312) 00:00:08.770 at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:60) 00:00:08.770 at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:16) 00:00:08.770 at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2688) 00:00:08.770 at hudson.remoting.UserRequest.perform(UserRequest.java:121) 00:00:08.770 at hudson.remoting.UserRequest.perform(UserRequest.java:49) 00:00:08.770 at hudson.remoting.Request$2.run(Request.java:325) 00:00:08.770 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68) 00:00:08.770 at java.util.concurrent.FutureTask.run(FutureTask.java:262) 00:00:08.770 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 00:00:08.770 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 00:00:08.770 at java.lang.Thread.run(Thread.java:745) 00:00:08.770 at ......remote call to CI-SLAVE-02(Native Method) 00:00:08.770 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1360) 00:00:08.770 at hudson.remoting.UserResponse.retrieve(UserRequest.java:221) 00:00:08.770 at hudson.remoting.Channel.call(Channel.java:753) 00:00:08.770 at hudson.FilePath.act(FilePath.java:978) 00:00:08.770 ... 12 more 00:00:08.770 Build step 'Publish Doxygen' changed build result to FAILURE 00:00:08.771 [BFA] Scanning build for known causes... 00:00:08.771 [BFA] No failure causes found 00:00:08.771 [BFA] Done. 0s 00:00:08.785 Finished: FAILURE {code}

    Jenkins JIRA | 1 year ago | Philipp Strobel
    java.io.IOException: remote file operation failed: /home/jenkins/workspace/docu_job at hudson.remoting.Channel@68c0fe1e:CI-SLAVE-02: java.io.FileNotFoundException: /home/jenkins/workspace/docu_job/${CONFIG_FILE} (Datei oder Verzeichnis nicht gefunden)
  3. 0

    After adding/changing an Axis to the configuration matrix of a multi configuration task, Doxygen publishing plugin fails to locate the doxygen path, or uses out of date data. By changing the axis the build directory will also change, but the Doxygen plugin keeps looking in the old location. I found this to be caused by the usage of MatrixBuild::getRuns() function, instead of the MatrixBuild::getExactRuns() function. This resulted in the plugin trying to use the workspace of an older, successful, run. Attached is a patch that fixes this issue in a similar fashion the CopyArtifect plugin handles this problem. STR: - setup a multi configuration build, with the doxygen publishing plugin enabled - test if this works - Change the name of a configuration axis - Wipe the workspace - run the job again, notice the doxygen plugin will fail with the following stack trace(or similar): hudson.util.IOException2: remote file operation failed: /home/build/.jenkins/workspace/test_doxygen/OS/RHEL/ServerType/build at hudson.remoting.Channel@69b8b810:RedHat 6.0 Virtual Machine (64-bit) at hudson.FilePath.act(FilePath.java:754) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:213) at hudson.plugins.doxygen.DoxygenArchiver.access$200(DoxygenArchiver.java:50) at hudson.plugins.doxygen.DoxygenArchiver$1.endBuild(DoxygenArchiver.java:369) at hudson.matrix.MatrixBuild$RunnerImpl.post2(MatrixBuild.java:392) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604) at hudson.model.Run.run(Run.java:1401) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:220) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66) Caused by: java.io.FileNotFoundException: /home/build/.jenkins/workspace/test_doxygen/OS/RHEL/ServerType/build/build/doc/doxygen.conf (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:120) at hudson.plugins.doxygen.DoxygenDirectoryParser.loadDoxyFile(DoxygenDirectoryParser.java:183) at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:322) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:55) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:14) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1994) 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:441) 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:662)

    Jenkins JIRA | 5 years ago | David Imhoff
    hudson.util.IOException2: remote file operation failed: /home/build/.jenkins/workspace/test_doxygen/OS/RHEL/ServerType/build at hudson.remoting.Channel@69b8b810:RedHat 6.0 Virtual Machine (64-bit)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    After adding/changing an Axis to the configuration matrix of a multi configuration task, Doxygen publishing plugin fails to locate the doxygen path, or uses out of date data. By changing the axis the build directory will also change, but the Doxygen plugin keeps looking in the old location. I found this to be caused by the usage of MatrixBuild::getRuns() function, instead of the MatrixBuild::getExactRuns() function. This resulted in the plugin trying to use the workspace of an older, successful, run. Attached is a patch that fixes this issue in a similar fashion the CopyArtifect plugin handles this problem. STR: - setup a multi configuration build, with the doxygen publishing plugin enabled - test if this works - Change the name of a configuration axis - Wipe the workspace - run the job again, notice the doxygen plugin will fail with the following stack trace(or similar): hudson.util.IOException2: remote file operation failed: /home/build/.jenkins/workspace/test_doxygen/OS/RHEL/ServerType/build at hudson.remoting.Channel@69b8b810:RedHat 6.0 Virtual Machine (64-bit) at hudson.FilePath.act(FilePath.java:754) at hudson.FilePath.act(FilePath.java:740) at hudson.plugins.doxygen.DoxygenArchiver._perform(DoxygenArchiver.java:213) at hudson.plugins.doxygen.DoxygenArchiver.access$200(DoxygenArchiver.java:50) at hudson.plugins.doxygen.DoxygenArchiver$1.endBuild(DoxygenArchiver.java:369) at hudson.matrix.MatrixBuild$RunnerImpl.post2(MatrixBuild.java:392) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604) at hudson.model.Run.run(Run.java:1401) at hudson.matrix.MatrixBuild.run(MatrixBuild.java:220) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:230) at hudson.model.OneOffExecutor.run(OneOffExecutor.java:66) Caused by: java.io.FileNotFoundException: /home/build/.jenkins/workspace/test_doxygen/OS/RHEL/ServerType/build/build/doc/doxygen.conf (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:120) at hudson.plugins.doxygen.DoxygenDirectoryParser.loadDoxyFile(DoxygenDirectoryParser.java:183) at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:322) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:55) at hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:14) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1994) 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:441) 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:662)

    Jenkins JIRA | 5 years ago | David Imhoff
    hudson.util.IOException2: remote file operation failed: /home/build/.jenkins/workspace/test_doxygen/OS/RHEL/ServerType/build at hudson.remoting.Channel@69b8b810:RedHat 6.0 Virtual Machine (64-bit)
  6. 0

    Acces denied : FATAL: error java.io.FileNotFoundException: C:\Users\user\.jenkins\jobs\test projet\workspace\Exemple de projet PHPUNIT (Accès refusé)

    Stack Overflow | 1 year ago | Naou
    java.io.FileNotFoundException: C:\Users\user\.jenkins\jobs\test projet\workspace\Exemple de projet PHPUNIT (Accès refusé)

  1. r1chjames 1 times, last 6 days ago
  2. richard77 1 times, last 2 weeks ago
  3. gehel 2 times, last 2 weeks ago
  4. Kialandei 100 times, last 2 weeks ago
  5. Reich 1 times, last 3 weeks ago
45 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.FileNotFoundException

    /home/jenkins/workspace/docu_job/${CONFIG_FILE} (Datei oder Verzeichnis nicht gefunden)

    at java.io.FileInputStream.open()
  2. Java RT
    FileInputStream.<init>
    1. java.io.FileInputStream.open(Native Method)
    2. java.io.FileInputStream.<init>(FileInputStream.java:146)
    2 frames
  3. hudson.plugins.doxygen
    DoxygenDirectoryParser.invoke
    1. hudson.plugins.doxygen.DoxygenDirectoryParser.loadDoxyFile(DoxygenDirectoryParser.java:153)
    2. hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:312)
    3. hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:60)
    4. hudson.plugins.doxygen.DoxygenDirectoryParser.invoke(DoxygenDirectoryParser.java:16)
    4 frames
  4. Hudson
    FilePath$FileCallableWrapper.call
    1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2688)
    1 frame
  5. Hudson :: Remoting Layer
    InterceptingExecutorService$1.call
    1. hudson.remoting.UserRequest.perform(UserRequest.java:121)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:49)
    3. hudson.remoting.Request$2.run(Request.java:325)
    4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
    4 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames