java.io.IOException: CreateProcess : cleartool lshistory -r -since 23-apr-09.18:05:56utc+0000 -fmt "\"%N\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n" -nco M:\tla_vu\files error=267

Jenkins JIRA | tla612 | 8 years ago
  1. 0

    I am just starting to set up Hudson to work with ClearCase and I am getting the following console output when I build: Started by user anonymous [IFC] $ cleartool startview tla_vu [IFC] $ cleartool catcs -tag tla_vu element * CHECKEDOUT element * .../tla_dev/LATEST element * /main/LATEST -mkbranch tla_dev [tla_vu] cleartool lshistory -r -since 23-apr-09.18:05:56utc+0000 -fmt '\"%N\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n' -nco M:\tla_vu\files FATAL: CreateProcess: cleartool lshistory -r -since 23-apr-09.18:05:56utc+0000 -fmt "\"%N\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n" -nco M:\tla_vu\files error=267 java.io.IOException: CreateProcess : cleartool lshistory -r -since 23-apr-09.18:05:56utc+0000 -fmt "\"%N\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n" -nco M:\tla_vu\files error=267 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:451) at hudson.Proc$LocalProc.<init>(Proc.java:132) at hudson.Proc$LocalProc.<init>(Proc.java:110) at hudson.Launcher$LocalLauncher.createLocalProc(Launcher.java:359) at hudson.Launcher$LocalLauncher.launch(Launcher.java:342) at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:66) at hudson.plugins.clearcase.ClearToolExec.lshistory(ClearToolExec.java:64) at hudson.plugins.clearcase.history.AbstractHistoryAction.runLsHistory(AbstractHistoryAction.java:57) at hudson.plugins.clearcase.history.AbstractHistoryAction.getChanges(AbstractHistoryAction.java:43) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:274) at hudson.model.AbstractProject.checkout(AbstractProject.java:808) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:899) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) I'm not sure what the problem is, but I noticed that the format passed with the "-fmt" tag is enclosed with single quotes (') on the output line that start with [tla_vu] and double quotes (") on the two error lines. If I copy and paste the lshistory command with the double quotes into a cmd window, the command runs properly. If I use the command with the single quotes, I get the following error: cleartool: Error: Unable to access ""%u"": Filename too long. cleartool: Error: Unable to access ""%En"": Filename too long. cleartool: Error: Unable to access ""%Vn"": Filename too long. cleartool: Error: Unable to access ""%e"": Filename too long. cleartool: Error: Unable to access ""%o"": Filename too long. cleartool: Error: Unable to access "\n%c\n'": ClearCase object not found. cleartool: Error: Unable to access "-nco": No such file or directory I am having the same problem with versions 0.8.1 and 0.8.2 of the plugin. Thanks for making such a great (and free) tool. Any help would be appreciated. Thanks. -Stuart

    Jenkins JIRA | 8 years ago | tla612
    java.io.IOException: CreateProcess : cleartool lshistory -r -since 23-apr-09.18:05:56utc+0000 -fmt "\"%N\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n" -nco M:\tla_vu\files error=267
  2. 0

    I am just starting to set up Hudson to work with ClearCase and I am getting the following console output when I build: Started by user anonymous [IFC] $ cleartool startview tla_vu [IFC] $ cleartool catcs -tag tla_vu element * CHECKEDOUT element * .../tla_dev/LATEST element * /main/LATEST -mkbranch tla_dev [tla_vu] cleartool lshistory -r -since 23-apr-09.18:05:56utc+0000 -fmt '\"%N\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n' -nco M:\tla_vu\files FATAL: CreateProcess: cleartool lshistory -r -since 23-apr-09.18:05:56utc+0000 -fmt "\"%N\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n" -nco M:\tla_vu\files error=267 java.io.IOException: CreateProcess : cleartool lshistory -r -since 23-apr-09.18:05:56utc+0000 -fmt "\"%N\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n" -nco M:\tla_vu\files error=267 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:451) at hudson.Proc$LocalProc.<init>(Proc.java:132) at hudson.Proc$LocalProc.<init>(Proc.java:110) at hudson.Launcher$LocalLauncher.createLocalProc(Launcher.java:359) at hudson.Launcher$LocalLauncher.launch(Launcher.java:342) at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:66) at hudson.plugins.clearcase.ClearToolExec.lshistory(ClearToolExec.java:64) at hudson.plugins.clearcase.history.AbstractHistoryAction.runLsHistory(AbstractHistoryAction.java:57) at hudson.plugins.clearcase.history.AbstractHistoryAction.getChanges(AbstractHistoryAction.java:43) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:274) at hudson.model.AbstractProject.checkout(AbstractProject.java:808) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:899) at hudson.model.Build.run(Build.java:112) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119) I'm not sure what the problem is, but I noticed that the format passed with the "-fmt" tag is enclosed with single quotes (') on the output line that start with [tla_vu] and double quotes (") on the two error lines. If I copy and paste the lshistory command with the double quotes into a cmd window, the command runs properly. If I use the command with the single quotes, I get the following error: cleartool: Error: Unable to access ""%u"": Filename too long. cleartool: Error: Unable to access ""%En"": Filename too long. cleartool: Error: Unable to access ""%Vn"": Filename too long. cleartool: Error: Unable to access ""%e"": Filename too long. cleartool: Error: Unable to access ""%o"": Filename too long. cleartool: Error: Unable to access "\n%c\n'": ClearCase object not found. cleartool: Error: Unable to access "-nco": No such file or directory I am having the same problem with versions 0.8.1 and 0.8.2 of the plugin. Thanks for making such a great (and free) tool. Any help would be appreciated. Thanks. -Stuart

    Jenkins JIRA | 8 years ago | tla612
    java.io.IOException: CreateProcess : cleartool lshistory -r -since 23-apr-09.18:05:56utc+0000 -fmt "\"%N\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n" -nco M:\tla_vu\files error=267
  3. 0

    ClearCase Plugin - hudson - Hudson Wiki

    hudson-ci.org | 7 months ago
    java.io.IOException: java.io.IOException: Too many open files
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to execute application (unit test) in matrix build?

    Google Groups | 3 years ago | cscooper
    java.io.IOException: Cannot run program "AllTests" (in directory "/Users/Shared..blahblah"): error=2, No such file or directory
  6. 0

    Jenkins & NodeJS plugin - Permission Denied error

    Stack Overflow | 2 years ago | Dualcyclone
    java.io.IOException: Cannot run program "/tmp/hudson1009495610900642950.js" (in directory "/var/lib/jenkins/jobs/Test Project/workspace"): error=13, Permission denied

  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 : cleartool lshistory -r -since 23-apr-09.18:05:56utc+0000 -fmt "\"%N\" \"%u\" \"%En\" \"%Vn\" \"%e\" \"%o\" \n%c\n" -nco M:\tla_vu\files error=267

    at java.lang.ProcessImpl.create()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessImpl.create(Native Method)
    2. java.lang.ProcessImpl.<init>(ProcessImpl.java:81)
    3. java.lang.ProcessImpl.start(ProcessImpl.java:30)
    4. java.lang.ProcessBuilder.start(ProcessBuilder.java:451)
    4 frames
  3. Hudson
    Launcher$LocalLauncher.launch
    1. hudson.Proc$LocalProc.<init>(Proc.java:132)
    2. hudson.Proc$LocalProc.<init>(Proc.java:110)
    3. hudson.Launcher$LocalLauncher.createLocalProc(Launcher.java:359)
    4. hudson.Launcher$LocalLauncher.launch(Launcher.java:342)
    4 frames