java.io.IOException: Cannot run program "cvs" (in directory "\var\tmp\hudson8081005950298490320tmp"): CreateProcess error=267, The directory name is invalid

Jenkins JIRA | Sagar Khushalani | 6 years ago
  1. 0

    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.

    Jenkins JIRA | 6 years ago | Sagar Khushalani
    java.io.IOException: Cannot run program "cvs" (in directory "\var\tmp\hudson8081005950298490320tmp"): CreateProcess error=267, The directory name is invalid
  2. 0

    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.

    Jenkins JIRA | 6 years ago | Sagar Khushalani
    java.io.IOException: Cannot run program "cvs" (in directory "\var\tmp\hudson8081005950298490320tmp"): CreateProcess error=267, The directory name is invalid
  3. 0

    How can I use an alternate path for a Jenkins slave SCM step (CVS)

    Google Groups | 5 years ago | Matthew Johnson
    java.io.IOException: cvs: not found
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.io.IOException: Cannot run program "ant" - java pressing answers

    itanswerz.com | 1 year ago
    java.io.IOException: Cannot run program "ant" (in directory "/hudson/buildTool/src/bt"): error=2, No existe el fichero o el directorio
  6. 0

    Re: [dash-dev] Weird failure..

    eclipse.org | 1 year ago
    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

    CreateProcess error=267, The directory name is invalid

    at java.lang.ProcessImpl.create()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.<init>(Unknown Source)
    3. java.lang.ProcessImpl.start(Unknown Source)
    4. java.lang.ProcessBuilder.start(Unknown Source)
    4 frames
  3. Hudson
    Launcher$RemoteLaunchCallable.call
    1. hudson.Proc$LocalProc.<init>(Proc.java:192)
    2. hudson.Proc$LocalProc.<init>(Proc.java:164)
    3. hudson.Launcher$LocalLauncher.launch(Launcher.java:638)
    4. hudson.Launcher$ProcStarter.start(Launcher.java:273)
    5. hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:793)
    6. hudson.Launcher$RemoteLaunchCallable.call(Launcher.java:767)
    6 frames
  4. Hudson :: Remoting Layer
    Request$2.run
    1. hudson.remoting.UserRequest.perform(UserRequest.java:114)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
    3. hudson.remoting.Request$2.run(Request.java:270)
    3 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
    2. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    3. java.util.concurrent.FutureTask.run(Unknown Source)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    5. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    6. java.lang.Thread.run(Unknown Source)
    6 frames