java.io.IOException: cleartool did not return the expected exit code. Command line="C:\Program Files\Rational\ClearCase\bin\cleartool.exe lshistory -r -since 9-may.09:41:53 -fmt \"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\" \"%o\"\n%c\n -branch brtype:stream:AAMITools_R3.00_Development -nco \AAMI_COMMON\AAMI_TOOLS", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:64) at hudson.plugins.clearcase.ClearToolExec.lshistory(ClearToolExec.java:59) at hudson.plugins.clearcase.action.DefaultPollAction.getChanges(DefaultPollAction.java:22) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:139) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:113)

Jenkins JIRA | redsolo | 9 years ago
  1. 0

    If a load rule begins with "\\" or "/" (as most do), the lshistory command will think that the view is located at the root, which makes the lshistory command throw an exception: CC plugin ver 0.5.1. SCM config: <?xml version='1.0' encoding='UTF-8'?> <project> <scm class="hudson.plugins.clearcase.ClearCaseUcmSCM"> <stream>stream:AAMITools_R3.00_Development@\AAMI_PVOB</stream> <loadRules>\\AAMI_COMMON\\AAMI_TOOLS</loadRules> <viewName>hudson_view</viewName> <mkviewOptionalParam></mkviewOptionalParam> </scm> </project> Console output: started [workspace] $ "C:\Program Files\Rational\ClearCase\bin\cleartool.exe" rmview -force hudson_view Removing references from VOB "\AAMI_PVOB" ... Removed references to view "C:\Documents and Settings\APCPG\.hudson\jobs\AAMITools V3 Freestyle\workspace\hudson_view" from VOB "\AAMI_PVOB". [workspace] $ "C:\Program Files\Rational\ClearCase\bin\cleartool.exe" mkview -snapshot -stream stream:AAMITools_R3.00_Development@\AAMI_PVOB -tag hudson_view hudson_view Selected Server Storage Location "mystgloc". Created view. Host-local path: L3KEK93:c:\ClearCase_Storage\myview.vws\L3KEK93\APCPG\hudson_view.vws Global path: \\L3KEK93\ccstg_c\myview.vws\L3KEK93\APCPG\hudson_view.vws Created snapshot view directory "hudson_view". Attached view to stream "AAMITools_R3.00_Development". [workspace] $ "C:\Program Files\Rational\ClearCase\bin\cleartool.exe" update -force -log NUL -add_loadrules hudson_view\\AAMI_COMMON\AAMI_TOOLS Making dir "AAMI_COMMON\AAMI_TOOLS". Processing dir "AAMI_COMMON\AAMI_TOOLS". Making dir "AAMI_COMMON\AAMI_TOOLS\AAMITools". Processing dir "AAMI_COMMON\AAMI_TOOLS\AAMITools". ... End dir "AAMI_COMMON\AAMI_TOOLS\AAMITools". End dir "AAMI_COMMON\AAMI_TOOLS". Done loading "\AAMI_COMMON\AAMI_TOOLS" (197 objects, copied 526 KB). [hudson_view] $ "C:\Program Files\Rational\ClearCase\bin\cleartool.exe" lshistory -r -since 9-may.09:41:53 -fmt '\"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\" \"%o\"\n%c\n' -branch brtype:stream:AAMITools_R3.00_Development -nco \AAMI_COMMON\AAMI_TOOLS cleartool: Error: Unable to access "\AAMI_COMMON\AAMI_TOOLS": ClearCase object not found. FATAL: UCM ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="C:\Program Files\Rational\ClearCase\bin\cleartool.exe lshistory -r -since 9-may.09:41:53 -fmt \"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\" \"%o\"\n%c\n -branch brtype:stream:AAMITools_R3.00_Development -nco \AAMI_COMMON\AAMI_TOOLS", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="C:\Program Files\Rational\ClearCase\bin\cleartool.exe lshistory -r -since 9-may.09:41:53 -fmt \"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\" \"%o\"\n%c\n -branch brtype:stream:AAMITools_R3.00_Development -nco \AAMI_COMMON\AAMI_TOOLS", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:64) at hudson.plugins.clearcase.ClearToolExec.lshistory(ClearToolExec.java:59) at hudson.plugins.clearcase.action.DefaultPollAction.getChanges(DefaultPollAction.java:22) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:139) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:113) at hudson.model.AbstractProject.checkout(AbstractProject.java:567) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:251) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:225) at hudson.model.Run.run(Run.java:756) at hudson.model.Build.run(Build.java:85) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:77)

    Jenkins JIRA | 9 years ago | redsolo
    java.io.IOException: cleartool did not return the expected exit code. Command line="C:\Program Files\Rational\ClearCase\bin\cleartool.exe lshistory -r -since 9-may.09:41:53 -fmt \"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\" \"%o\"\n%c\n -branch brtype:stream:AAMITools_R3.00_Development -nco \AAMI_COMMON\AAMI_TOOLS", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:64) at hudson.plugins.clearcase.ClearToolExec.lshistory(ClearToolExec.java:59) at hudson.plugins.clearcase.action.DefaultPollAction.getChanges(DefaultPollAction.java:22) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:139) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:113)
  2. 0

    If a load rule begins with "\\" or "/" (as most do), the lshistory command will think that the view is located at the root, which makes the lshistory command throw an exception: CC plugin ver 0.5.1. SCM config: <?xml version='1.0' encoding='UTF-8'?> <project> <scm class="hudson.plugins.clearcase.ClearCaseUcmSCM"> <stream>stream:AAMITools_R3.00_Development@\AAMI_PVOB</stream> <loadRules>\\AAMI_COMMON\\AAMI_TOOLS</loadRules> <viewName>hudson_view</viewName> <mkviewOptionalParam></mkviewOptionalParam> </scm> </project> Console output: started [workspace] $ "C:\Program Files\Rational\ClearCase\bin\cleartool.exe" rmview -force hudson_view Removing references from VOB "\AAMI_PVOB" ... Removed references to view "C:\Documents and Settings\APCPG\.hudson\jobs\AAMITools V3 Freestyle\workspace\hudson_view" from VOB "\AAMI_PVOB". [workspace] $ "C:\Program Files\Rational\ClearCase\bin\cleartool.exe" mkview -snapshot -stream stream:AAMITools_R3.00_Development@\AAMI_PVOB -tag hudson_view hudson_view Selected Server Storage Location "mystgloc". Created view. Host-local path: L3KEK93:c:\ClearCase_Storage\myview.vws\L3KEK93\APCPG\hudson_view.vws Global path: \\L3KEK93\ccstg_c\myview.vws\L3KEK93\APCPG\hudson_view.vws Created snapshot view directory "hudson_view". Attached view to stream "AAMITools_R3.00_Development". [workspace] $ "C:\Program Files\Rational\ClearCase\bin\cleartool.exe" update -force -log NUL -add_loadrules hudson_view\\AAMI_COMMON\AAMI_TOOLS Making dir "AAMI_COMMON\AAMI_TOOLS". Processing dir "AAMI_COMMON\AAMI_TOOLS". Making dir "AAMI_COMMON\AAMI_TOOLS\AAMITools". Processing dir "AAMI_COMMON\AAMI_TOOLS\AAMITools". ... End dir "AAMI_COMMON\AAMI_TOOLS\AAMITools". End dir "AAMI_COMMON\AAMI_TOOLS". Done loading "\AAMI_COMMON\AAMI_TOOLS" (197 objects, copied 526 KB). [hudson_view] $ "C:\Program Files\Rational\ClearCase\bin\cleartool.exe" lshistory -r -since 9-may.09:41:53 -fmt '\"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\" \"%o\"\n%c\n' -branch brtype:stream:AAMITools_R3.00_Development -nco \AAMI_COMMON\AAMI_TOOLS cleartool: Error: Unable to access "\AAMI_COMMON\AAMI_TOOLS": ClearCase object not found. FATAL: UCM ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="C:\Program Files\Rational\ClearCase\bin\cleartool.exe lshistory -r -since 9-may.09:41:53 -fmt \"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\" \"%o\"\n%c\n -branch brtype:stream:AAMITools_R3.00_Development -nco \AAMI_COMMON\AAMI_TOOLS", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="C:\Program Files\Rational\ClearCase\bin\cleartool.exe lshistory -r -since 9-may.09:41:53 -fmt \"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\" \"%o\"\n%c\n -branch brtype:stream:AAMITools_R3.00_Development -nco \AAMI_COMMON\AAMI_TOOLS", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:64) at hudson.plugins.clearcase.ClearToolExec.lshistory(ClearToolExec.java:59) at hudson.plugins.clearcase.action.DefaultPollAction.getChanges(DefaultPollAction.java:22) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:139) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:113) at hudson.model.AbstractProject.checkout(AbstractProject.java:567) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:251) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:225) at hudson.model.Run.run(Run.java:756) at hudson.model.Build.run(Build.java:85) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:77)

    Jenkins JIRA | 9 years ago | redsolo
    java.io.IOException: cleartool did not return the expected exit code. Command line="C:\Program Files\Rational\ClearCase\bin\cleartool.exe lshistory -r -since 9-may.09:41:53 -fmt \"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\" \"%o\"\n%c\n -branch brtype:stream:AAMITools_R3.00_Development -nco \AAMI_COMMON\AAMI_TOOLS", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:64) at hudson.plugins.clearcase.ClearToolExec.lshistory(ClearToolExec.java:59) at hudson.plugins.clearcase.action.DefaultPollAction.getChanges(DefaultPollAction.java:22) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:139) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:113)
  3. 0

    How to create multiconfigured matrix project with google api on Jenkins?

    Stack Overflow | 4 years ago | Unii
    java.io.IOException: Failed to mkdirs: ...\MatrixProject\density\ldpi\os\Google Inc.:Google APIs:16\resolution\WVGA at hudson.FilePath.mkdirs(FilePath.java:973)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    User list for the Hudson continuous build server.

    gmane.org | 5 months ago
    java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -tag <username>__testsol.ux \\<solaris machine>\views\dynamic/<username>__testsol.ux.1695184597", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:94) at hudson.plugins.clearcase.ClearToolDynamic.mkview(ClearToolDynamic.java:117) at hudson.plugins.clearcase.action.DynamicCheckoutAction.checkout(DynamicCheckoutAction.java:99) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:415)
  6. 0

    Project will fail on "mkdir" on remote disk.

    Google Groups | 4 years ago | Macpaul Lin
    java.io.IOException: Failed to mkdirs: Z:\PC12010025

    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

      cleartool did not return the expected exit code. Command line="C:\Program Files\Rational\ClearCase\bin\cleartool.exe lshistory -r -since 9-may.09:41:53 -fmt \"%Nd\" \"%u\" \"%e\" \"%En\" \"%Vn\" \"%o\"\n%c\n -branch brtype:stream:AAMITools_R3.00_Development -nco \AAMI_COMMON\AAMI_TOOLS", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:64) at hudson.plugins.clearcase.ClearToolExec.lshistory(ClearToolExec.java:59) at hudson.plugins.clearcase.action.DefaultPollAction.getChanges(DefaultPollAction.java:22) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:139) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:113)

      at hudson.model.AbstractProject.checkout()
    2. Hudson
      AbstractProject.checkout
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:567)
      1 frame