java.io.IOException: Cannot run program "ant" (in directory "<http://hudson.zones.apache.org/hudson/job/PDFBox-trunk/ws/trunk")>: java.io.IOException: error=2, No such file or directory

pdfbox-dev | Apache Hudson Server | 7 years ago
  1. 0

    Build failed in Hudson: PDFBox-trunk #442

    pdfbox-dev | 7 years ago | Apache Hudson Server
    java.io.IOException: Cannot run program "ant" (in directory "<http://hudson.zones.apache.org/hudson/job/PDFBox-trunk/ws/trunk")>: java.io.IOException: error=2, No such file or directory
  2. 0

    Build failed in Hudson: PDFBox-trunk #443

    pdfbox-dev | 7 years ago | Apache Hudson Server
    java.io.IOException: Cannot run program "ant" (in directory "<http://hudson.zones.apache.org/hudson/job/PDFBox-trunk/ws/trunk")>: java.io.IOException: error=2, No such file or directory
  3. 0

    Jenkins users - Workspace error

    nabble.com | 12 months ago
    java.io.IOException: Cannot run program "cmd" (in directory "C:\zHudsonWorkspaces\MAC\"): java.io.IOException: error=2, No such file or directory
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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

    Jenkins JIRA | 6 years ago | lreeber
    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
  6. 0

    The project is a free-form project and it is building not on the master, but on a build node. {code} [trunk] $ mvn -f pom.xml -e -B sonar:sonar -Dsonar.jdbc.driver=com.mysql.jdbc.Driver -Dsonar.jdbc.url=jdbc:mysql://xxxxx:3306/sonar ******** ******** -Dsonar.host.url=http://xxxxx:9000/ FATAL: command execution failed java.io.IOException: Cannot run program "mvn" (in directory "/export/build/hudson-slave/workspace/myproject/trunk"): 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:149) at hudson.Proc$LocalProc.<init>(Proc.java:121) 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 {code}

    Jenkins JIRA | 6 years ago | Michael Rumpf
    java.io.IOException: Cannot run program "mvn" (in directory "/export/build/hudson-slave/workspace/myproject/trunk"): java.io.IOException: error=2, No such file or directory

  1. eti22 1 times, last 1 month ago
  2. asdasd 24 times, last 3 months ago
  3. rexgreenza 8 times, last 3 months ago
  4. Benj-AD 1 times, last 4 months ago
  5. Akshay 4 times, last 6 months ago
95 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.IOException

    java.io.IOException: error=2, No such file or directory

    at java.lang.UNIXProcess.<init>()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
    2. java.lang.ProcessImpl.start(ProcessImpl.java:65)
    3. java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
    3 frames
  3. Hudson
    Launcher$RemoteLaunchCallable.call
    1. hudson.Proc$LocalProc.<init>(Proc.java:148)
    2. hudson.Proc$LocalProc.<init>(Proc.java:120)
    3. hudson.Launcher$LocalLauncher.launch(Launcher.java:633)
    4. hudson.Launcher$ProcStarter.start(Launcher.java:268)
    5. hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:775)
    6. hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:753)
    6 frames
  4. Hudson :: Remoting Layer
    Request$2.run
    1. hudson.remoting.UserRequest.perform(UserRequest.java:104)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
    3. hudson.remoting.Request$2.run(Request.java:236)
    3 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    3. java.util.concurrent.FutureTask.run(FutureTask.java:138)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    6. java.lang.Thread.run(Thread.java:619)
    6 frames