java.io.IOException

tip

This is a bug in some versions of the Arduino IDE. Try updating to the version 1.6.12 or further.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • In order to test for another bug, I created a farm (multi-configuration) job that executes 8 times per minute. It runs on four of my windows xp slaves, and a slave which runs on the master(redhat). There are seven trigger jobs (trigger [1-7]) which all trigger the above, they do nothing but sleep 3 seconds. All eight of the above jobs (find a tar of their config.xml files attached) are configured to run only on "master", which has only 1 executor, thereby single threading the execution. All of the windows xp slaves have cygwin installed. The job runs fine on its own, without failure, when the triggers did not exist. With the triggers, it takes about ten minutes or so (75-150 builds) for a failure, and it is not always on the same machine, the stack trace is: Started by upstream project "farm env" build number 2330 Building remotely on xpbuild1_vm_sandbox $ C:\cygwin\bin\cygpath -w /bin/sh [xpbuild1_vm_sandbox] $ /bin/sh -xe "C:\Documents and Settings\hudson\hudson124072745410030835.sh" The system cannot find the path specified FATAL: command execution failed java.io.IOException: Cannot run program "/bin/sh" (in directory "c:\hudson_sandbox\workspace\farm env\label\xp_vm_sandbox"): CreateProcess error=3, The system cannot find the path specified at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at hudson.Proc$LocalProc.<init>(Proc.java:192) at hudson.Proc$LocalProc.<init>(Proc.java:164) at hudson.Launcher$LocalLauncher.launch(Launcher.java:638) at hudson.Launcher$ProcStarter.start(Launcher.java:273) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) 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:619) Caused by: java.io.IOException: CreateProcess error=3, The system cannot find the path specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(ProcessImpl.java:81) at java.lang.ProcessImpl.start(ProcessImpl.java:30) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 15 more Checking console output Notifying upstream projects of job completion Finished: FAILURE
    via by ken_graham,
  • In order to test for another bug, I created a farm (multi-configuration) job that executes 8 times per minute. It runs on four of my windows xp slaves, and a slave which runs on the master(redhat). There are seven trigger jobs (trigger [1-7]) which all trigger the above, they do nothing but sleep 3 seconds. All eight of the above jobs (find a tar of their config.xml files attached) are configured to run only on "master", which has only 1 executor, thereby single threading the execution. All of the windows xp slaves have cygwin installed. The job runs fine on its own, without failure, when the triggers did not exist. With the triggers, it takes about ten minutes or so (75-150 builds) for a failure, and it is not always on the same machine, the stack trace is: Started by upstream project "farm env" build number 2330 Building remotely on xpbuild1_vm_sandbox $ C:\cygwin\bin\cygpath -w /bin/sh [xpbuild1_vm_sandbox] $ /bin/sh -xe "C:\Documents and Settings\hudson\hudson124072745410030835.sh" The system cannot find the path specified FATAL: command execution failed java.io.IOException: Cannot run program "/bin/sh" (in directory "c:\hudson_sandbox\workspace\farm env\label\xp_vm_sandbox"): CreateProcess error=3, The system cannot find the path specified at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at hudson.Proc$LocalProc.<init>(Proc.java:192) at hudson.Proc$LocalProc.<init>(Proc.java:164) at hudson.Launcher$LocalLauncher.launch(Launcher.java:638) at hudson.Launcher$ProcStarter.start(Launcher.java:273) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) 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:619) Caused by: java.io.IOException: CreateProcess error=3, The system cannot find the path specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(ProcessImpl.java:81) at java.lang.ProcessImpl.start(ProcessImpl.java:30) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 15 more Checking console output Notifying upstream projects of job completion Finished: FAILURE
    via by ken_graham,
  • Re: [dash-dev] Weird failure..
    via by Unknown author,
  • Jenkins users - Workspace error
    via by Unknown author,
  • {code} mvn -f accommons-libs-parent/pom.xml -Dsonar.jdbc.url=jdbc:mysql://x.x.x.x:x/sonar?useUnicode=true&characterEncoding=utf8 -Dsonar.jdbc.password=x -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.host.url=http://x.x.x.x:x -Dsonar.jdbc.username=sonar -Dmaven.repo.local= -f accommons-libs-parent/pom.xml -Pall -U -B -Dmaven.test.failure.ignore=true -e -B sonar:sonar FATAL: command execution failed java.io.IOException: mvn: not found at java.lang.UNIXProcess.forkAndExec(Native Method) at java.lang.UNIXProcess.<init>(UNIXProcess.java:53) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:451) at hudson.Proc$LocalProc.<init>(Proc.java:149) at hudson.Proc$LocalProc.<init>(Proc.java:121) at hudson.Launcher$LocalLauncher.launch(Launcher.java:633) at hudson.Launcher$ProcStarter.start(Launcher.java:268) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:778) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:754) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Thread.java:595) {code}
    via by olamy,
  • Hi, When I upgraded my ClearCase plugin to 1.3.2, the jobs on slaves no longer worked. I downgraded back to version 1.3.1 and everything worked fine again. Below is the message that I saw when trying to build a job on a slave: Started by user lreeber Building remotely on Slave02 [test_slave2] $ cleartool desc -fmt %[found_bls]Xp\n stream:Integration_mainline@/vob/tvm_freeman_bsp_pvob java.io.IOException: Cannot run program "cleartool" (in directory "/design/bsp/sla02/workspace/test_slave2"): java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at hudson.Proc$LocalProc.<init>(Proc.java:192) at hudson.Proc$LocalProc.<init>(Proc.java:164) at hudson.Launcher$LocalLauncher.launch(Launcher.java:638) at hudson.Launcher$ProcStarter.start(Launcher.java:273) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) 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:619) Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 15 more Finished: FAILURE
    via by lreeber,
  • ERROR: Cannot run program "cvs" (in directory "\var\tmp\hudson8081005950298490320tmp"): CreateProcess error=267, The directory name is invalid java.io.IOException: Cannot run program "cvs" (in directory "\var\tmp\hudson8081005950298490320tmp"): CreateProcess error=267, The directory name is invalid at java.lang.ProcessBuilder.start(Unknown Source) at hudson.Proc$LocalProc.<init>(Proc.java:192) at hudson.Proc$LocalProc.<init>(Proc.java:164) at hudson.Launcher$LocalLauncher.launch(Launcher.java:638) at hudson.Launcher$ProcStarter.start(Launcher.java:273) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) 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) Caused by: java.io.IOException: CreateProcess error=267, The directory name is invalid at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 16 more IOException occurred: java.io.IOException: Cannot run program "cvs" (in directory "\var\tmp\hudson8081005950298490320tmp"): CreateProcess error=267, The directory name is invalid cleaning up /var/tmp/hudson8081005950298490320tmp Finished: SUCCESS 1) The build should not be successful. 2) There will not be a \var\tmp\ directory in Windows. This needs to be OS dependent.
    via by Sagar Khushalani,
    • java.io.IOException: Cannot run program "/bin/sh" (in directory "c:\hudson_sandbox\workspace\farm env\label\xp_vm_sandbox"): CreateProcess error=3, The system cannot find the path specified at java.lang.ProcessBuilder.start(ProcessBuilder.java:459) at hudson.Proc$LocalProc.<init>(Proc.java:192) at hudson.Proc$LocalProc.<init>(Proc.java:164) at hudson.Launcher$LocalLauncher.launch(Launcher.java:638) at hudson.Launcher$ProcStarter.start(Launcher.java:273) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793) at hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767) at hudson.remoting.UserRequest.perform(UserRequest.java:114) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:270) 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:619) Caused by: java.io.IOException: CreateProcess error=3, The system cannot find the path specified at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(ProcessImpl.java:81) at java.lang.ProcessImpl.start(ProcessImpl.java:30) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) ... 15 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    SacchiSacchi
    8 times, last one,
    161 more bugmates