java.io.IOException: Cannot run program "cleartool" (in directory "M:\ADKLCL1_default_view\ADKLCL1_default_view"): CreateProcess error=267, Der Verzeichnisname ist ungültig

Jenkins JIRA | claus_klein | 8 years ago
  1. 0

    with the following configuration, it is not possible to use an existing CC dynamic view to build the project: <?xml version='1.0' encoding='UTF-8'?> <project> <actions class="java.util.concurrent.CopyOnWriteArrayList"/> <description></description> <logRotator> <daysToKeep>70</daysToKeep> <numToKeep>100</numToKeep> </logRotator> <keepDependencies>false</keepDependencies> <properties/> <scm class="hudson.plugins.clearcase.ClearCaseSCM"> <viewName>ADKLCL1_default_view</viewName> <mkviewOptionalParam></mkviewOptionalParam> <filteringOutDestroySubBranchEvent>false</filteringOutDestroySubBranchEvent> <useUpdate>false</useUpdate> <configSpec># ADKLCL1_ADU_M16_Oxymat7_Labsample_view&#xd; element * CHECKEDOUT&#xd; element * STABLE -nocheckout&#xd; element * /main/puTeam/LATEST&#xd; element * /main/team/LATEST&#xd; element * /main/LATEST&#xd; load \SCPA_CGA_SERIES7_SRC_KHE\COTS\CALC_M16&#xd; load \SCPA_CGA_SERIES7_SRC_KHE\model&#xd; load \SCPA_CGA_SERIES7_SRC_KHE\src&#xd; load \SCPA_CGA_SERIES7_SRC_KHE\test\PCLint&#xd; </configSpec> <useDynamicView>true</useDynamicView> <viewDrive>M:\ADKLCL1_default_view</viewDrive> <branch></branch> <vobPaths>SCPA_CGA_SERIES7_SRC_KHE</vobPaths> <doNotUpdateConfigSpec>true</doNotUpdateConfigSpec> </scm> <quietPeriod>55</quietPeriod> <canRoam>true</canRoam> <disabled>false</disabled> <authToken>STABLE</authToken> <triggers class="vector"> <hudson.triggers.TimerTrigger> <spec>@daily</spec> </hudson.triggers.TimerTrigger> </triggers> <builders> <hudson.tasks.BatchFile> <command>@echo ####################### @rem set SERIES7_VOB_PATH=%CLEARCASE_VIEWPATH%\SCPA_CGA_SERIES7_SRC_KHE subst z: /d subst z: %CLEARCASE_VIEWPATH% @echo hudson-%JOB_NAME%-%BUILD_ID% started @echo ####################### cd %SERIES7_VOB_PATH% cleartool catcs set &quot;PATH=%CYGWIN_INSTALL_PATH%\bin;%PATH%&quot; bash &quot;D:\Programme\Hudson\build_O7_LabSample_ADU.sh&quot; clean </command> </hudson.tasks.BatchFile> </builders> <publishers> <hudson.plugins.textfinder.TextFinderPublisher> <regexp>(\b(Failed|FAILED|FATAL|Fatal|Aborted|aborting)\b)|(\bError\[|\bCan&apos;t)</regexp> <succeedIfFound>false</succeedIfFound> <unstableIfFound>false</unstableIfFound> <alsoCheckConsoleOutput>true</alsoCheckConsoleOutput> </hudson.plugins.textfinder.TextFinderPublisher> <hudson.plugins.warnings.WarningsPublisher> <threshold></threshold> <thresholdEnabled>false</thresholdEnabled> <minimumAnnotations>0</minimumAnnotations> <healthy></healthy> <unHealthy></unHealthy> <healthyAnnotations>0</healthyAnnotations> <unHealthyAnnotations>0</unHealthyAnnotations> <healthyReportEnabled>false</healthyReportEnabled> <height></height> <pluginName>[WARNINGS] </pluginName> <thresholdLimit>low</thresholdLimit> <defaultEncoding></defaultEncoding> <pattern></pattern> <parserNames> <string>GNU compiler (gcc)</string> <string>MSBuild</string> </parserNames> </hudson.plugins.warnings.WarningsPublisher> <hudson.tasks.Mailer> <recipients>claus.klein.ext@siemens.com</recipients> <dontNotifyEveryUnstableBuild>true</dontNotifyEveryUnstableBuild> <sendToIndividuals>false</sendToIndividuals> </hudson.tasks.Mailer> </publishers> <buildWrappers/> </project> console log: ###################################################### started [workspace] $ cleartool startview ADKLCL1_default_view [workspace] $ cleartool catcs -tag ADKLCL1_default_view # ADKLCL1_ADU_M16_Oxymat7_Labsample_view # element * CHECKEDOUT # element * STABLE -nocheckout element * .../puTeam/LATEST -nocheckout element * .../team/LATEST -nocheckout element * /main/LATEST -nocheckout # load \SCPA_CGA_SERIES7_SRC_KHE\COTS\CALC_M16 # load \SCPA_CGA_SERIES7_SRC_KHE\model # load \SCPA_CGA_SERIES7_SRC_KHE\src # load \SCPA_CGA_SERIES7_SRC_KHE\test\PCLint [ADKLCL1_default_view] $ cleartool lshistory -r -since 20-jan.10:50:18 -fmt '\"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\" \"%o\" \n%c\n' -nco SCPA_CGA_SERIES7_SRC_KHE The directory name is invalid FATAL: Cannot run program "cleartool" (in directory "M:\ADKLCL1_default_view\ADKLCL1_default_view"): CreateProcess error=267, Der Verzeichnisname ist ungültig java.io.IOException: Cannot run program "cleartool" (in directory "M:\ADKLCL1_default_view\ADKLCL1_default_view"): CreateProcess error=267, Der Verzeichnisname ist ungültig at java.lang.ProcessBuilder.start(Unknown Source) at hudson.Proc$LocalProc.<init>(Proc.java:104) at hudson.Proc$LocalProc.<init>(Proc.java:82) at hudson.Launcher$LocalLauncher.createLocalProc(Launcher.java:315) at hudson.Launcher$LocalLauncher.launch(Launcher.java:306) at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:66) at hudson.plugins.clearcase.ClearToolExec.lshistory(ClearToolExec.java:57) at hudson.plugins.clearcase.base.BaseChangeLogAction.getChanges(BaseChangeLogAction.java:54) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:251) at hudson.model.AbstractProject.checkout(AbstractProject.java:681) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:264) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:238) at hudson.model.Run.run(Run.java:842) at hudson.model.Build.run(Build.java:88) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:90) Caused by: java.io.IOException: CreateProcess error=267, Der Verzeichnisname ist ungültig at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 16 more ###################################################### Im not sure if it is a defect or a missconfiguration. The VIEW exist and the VOB is mounted: ADKLCL1@ad048214pc /cygdrive/m/ADKLCL1_default_view $ ls -lrta insgesamt 105 drwxr-xr-x 9 ADKLCL1 mkgroup-l-d 280 Jan 16 13:19 SCPA_CGA_SERIES7_SRC_KHE drwxr-xr-x 3 ADKLCL1 mkgroup-l-d 98304 Jan 20 11:09 .. drwxr-xr-x 2 ADKLCL1 mkgroup-l-d 512 Jan 20 11:09 . ADKLCL1@ad048214pc /cygdrive/m/ADKLCL1_default_view $ Best regards Claus

    Jenkins JIRA | 8 years ago | claus_klein
    java.io.IOException: Cannot run program "cleartool" (in directory "M:\ADKLCL1_default_view\ADKLCL1_default_view"): CreateProcess error=267, Der Verzeichnisname ist ungültig
  2. 0

    with the following configuration, it is not possible to use an existing CC dynamic view to build the project: <?xml version='1.0' encoding='UTF-8'?> <project> <actions class="java.util.concurrent.CopyOnWriteArrayList"/> <description></description> <logRotator> <daysToKeep>70</daysToKeep> <numToKeep>100</numToKeep> </logRotator> <keepDependencies>false</keepDependencies> <properties/> <scm class="hudson.plugins.clearcase.ClearCaseSCM"> <viewName>ADKLCL1_default_view</viewName> <mkviewOptionalParam></mkviewOptionalParam> <filteringOutDestroySubBranchEvent>false</filteringOutDestroySubBranchEvent> <useUpdate>false</useUpdate> <configSpec># ADKLCL1_ADU_M16_Oxymat7_Labsample_view&#xd; element * CHECKEDOUT&#xd; element * STABLE -nocheckout&#xd; element * /main/puTeam/LATEST&#xd; element * /main/team/LATEST&#xd; element * /main/LATEST&#xd; load \SCPA_CGA_SERIES7_SRC_KHE\COTS\CALC_M16&#xd; load \SCPA_CGA_SERIES7_SRC_KHE\model&#xd; load \SCPA_CGA_SERIES7_SRC_KHE\src&#xd; load \SCPA_CGA_SERIES7_SRC_KHE\test\PCLint&#xd; </configSpec> <useDynamicView>true</useDynamicView> <viewDrive>M:\ADKLCL1_default_view</viewDrive> <branch></branch> <vobPaths>SCPA_CGA_SERIES7_SRC_KHE</vobPaths> <doNotUpdateConfigSpec>true</doNotUpdateConfigSpec> </scm> <quietPeriod>55</quietPeriod> <canRoam>true</canRoam> <disabled>false</disabled> <authToken>STABLE</authToken> <triggers class="vector"> <hudson.triggers.TimerTrigger> <spec>@daily</spec> </hudson.triggers.TimerTrigger> </triggers> <builders> <hudson.tasks.BatchFile> <command>@echo ####################### @rem set SERIES7_VOB_PATH=%CLEARCASE_VIEWPATH%\SCPA_CGA_SERIES7_SRC_KHE subst z: /d subst z: %CLEARCASE_VIEWPATH% @echo hudson-%JOB_NAME%-%BUILD_ID% started @echo ####################### cd %SERIES7_VOB_PATH% cleartool catcs set &quot;PATH=%CYGWIN_INSTALL_PATH%\bin;%PATH%&quot; bash &quot;D:\Programme\Hudson\build_O7_LabSample_ADU.sh&quot; clean </command> </hudson.tasks.BatchFile> </builders> <publishers> <hudson.plugins.textfinder.TextFinderPublisher> <regexp>(\b(Failed|FAILED|FATAL|Fatal|Aborted|aborting)\b)|(\bError\[|\bCan&apos;t)</regexp> <succeedIfFound>false</succeedIfFound> <unstableIfFound>false</unstableIfFound> <alsoCheckConsoleOutput>true</alsoCheckConsoleOutput> </hudson.plugins.textfinder.TextFinderPublisher> <hudson.plugins.warnings.WarningsPublisher> <threshold></threshold> <thresholdEnabled>false</thresholdEnabled> <minimumAnnotations>0</minimumAnnotations> <healthy></healthy> <unHealthy></unHealthy> <healthyAnnotations>0</healthyAnnotations> <unHealthyAnnotations>0</unHealthyAnnotations> <healthyReportEnabled>false</healthyReportEnabled> <height></height> <pluginName>[WARNINGS] </pluginName> <thresholdLimit>low</thresholdLimit> <defaultEncoding></defaultEncoding> <pattern></pattern> <parserNames> <string>GNU compiler (gcc)</string> <string>MSBuild</string> </parserNames> </hudson.plugins.warnings.WarningsPublisher> <hudson.tasks.Mailer> <recipients>claus.klein.ext@siemens.com</recipients> <dontNotifyEveryUnstableBuild>true</dontNotifyEveryUnstableBuild> <sendToIndividuals>false</sendToIndividuals> </hudson.tasks.Mailer> </publishers> <buildWrappers/> </project> console log: ###################################################### started [workspace] $ cleartool startview ADKLCL1_default_view [workspace] $ cleartool catcs -tag ADKLCL1_default_view # ADKLCL1_ADU_M16_Oxymat7_Labsample_view # element * CHECKEDOUT # element * STABLE -nocheckout element * .../puTeam/LATEST -nocheckout element * .../team/LATEST -nocheckout element * /main/LATEST -nocheckout # load \SCPA_CGA_SERIES7_SRC_KHE\COTS\CALC_M16 # load \SCPA_CGA_SERIES7_SRC_KHE\model # load \SCPA_CGA_SERIES7_SRC_KHE\src # load \SCPA_CGA_SERIES7_SRC_KHE\test\PCLint [ADKLCL1_default_view] $ cleartool lshistory -r -since 20-jan.10:50:18 -fmt '\"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\" \"%o\" \n%c\n' -nco SCPA_CGA_SERIES7_SRC_KHE The directory name is invalid FATAL: Cannot run program "cleartool" (in directory "M:\ADKLCL1_default_view\ADKLCL1_default_view"): CreateProcess error=267, Der Verzeichnisname ist ungültig java.io.IOException: Cannot run program "cleartool" (in directory "M:\ADKLCL1_default_view\ADKLCL1_default_view"): CreateProcess error=267, Der Verzeichnisname ist ungültig at java.lang.ProcessBuilder.start(Unknown Source) at hudson.Proc$LocalProc.<init>(Proc.java:104) at hudson.Proc$LocalProc.<init>(Proc.java:82) at hudson.Launcher$LocalLauncher.createLocalProc(Launcher.java:315) at hudson.Launcher$LocalLauncher.launch(Launcher.java:306) at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:66) at hudson.plugins.clearcase.ClearToolExec.lshistory(ClearToolExec.java:57) at hudson.plugins.clearcase.base.BaseChangeLogAction.getChanges(BaseChangeLogAction.java:54) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:251) at hudson.model.AbstractProject.checkout(AbstractProject.java:681) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:264) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:238) at hudson.model.Run.run(Run.java:842) at hudson.model.Build.run(Build.java:88) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:90) Caused by: java.io.IOException: CreateProcess error=267, Der Verzeichnisname ist ungültig at java.lang.ProcessImpl.create(Native Method) at java.lang.ProcessImpl.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) ... 16 more ###################################################### Im not sure if it is a defect or a missconfiguration. The VIEW exist and the VOB is mounted: ADKLCL1@ad048214pc /cygdrive/m/ADKLCL1_default_view $ ls -lrta insgesamt 105 drwxr-xr-x 9 ADKLCL1 mkgroup-l-d 280 Jan 16 13:19 SCPA_CGA_SERIES7_SRC_KHE drwxr-xr-x 3 ADKLCL1 mkgroup-l-d 98304 Jan 20 11:09 .. drwxr-xr-x 2 ADKLCL1 mkgroup-l-d 512 Jan 20 11:09 . ADKLCL1@ad048214pc /cygdrive/m/ADKLCL1_default_view $ Best regards Claus

    Jenkins JIRA | 8 years ago | claus_klein
    java.io.IOException: Cannot run program "cleartool" (in directory "M:\ADKLCL1_default_view\ADKLCL1_default_view"): CreateProcess error=267, Der Verzeichnisname ist ungültig
  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

    Cannot run program "cleartool" (in directory "M:\ADKLCL1_default_view\ADKLCL1_default_view"): CreateProcess error=267, Der Verzeichnisname ist ungültig

    at java.lang.ProcessBuilder.start()
  2. Java RT
    ProcessBuilder.start
    1. java.lang.ProcessBuilder.start(Unknown Source)
    1 frame
  3. Hudson
    Launcher$LocalLauncher.launch
    1. hudson.Proc$LocalProc.<init>(Proc.java:104)
    2. hudson.Proc$LocalProc.<init>(Proc.java:82)
    3. hudson.Launcher$LocalLauncher.createLocalProc(Launcher.java:315)
    4. hudson.Launcher$LocalLauncher.launch(Launcher.java:306)
    4 frames