java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag Sekhar01 -vws \\vlrcc007- vb\test_cc_views\INDIA\R00702689\R80TYC020.vws BI01", actual exit code=1

Jenkins JIRA | rajsekhar_nukala06 | 8 years ago
  1. 0

    Hi I am using Hudson with ClearCase from past 6 months. Initially I was able to use it with no problem, but few days back I got the below error message and not able find the reason and solution for it, but couldn't. After changing some variables it started working and couldn't find the reason how the build started. Can someone help me who is using Hudson with ClearCase why the below error comes and How to overcome it. started [workspace] $ cleartool mkview -snapshot -tag Sekhar01 -vws \\vlrcc007- vb\test_cc_views\INDIA\R00702689\R80TYC020.vws BI01 cleartool: Error: unable to create directory \\vlrcc007- vb\test_cc_views\INDIA\R00702689\R80TYC020.vws: Access is denied. cleartool: Error: Unable to create directory "\\vlrcc007- vb\test_cc_views\INDIA\R00702689\R80TYC020.vws": Permission denied. cleartool: Error: Unable to create view "\\vlrcc007- vb\test_cc_views\INDIA\R00702689\R80TYC020.vws". FATAL: Base ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="mkview - snapshot -tag Sekhar01 -vws \\vlrcc007-vb\test_cc_views\INDIA\R00702689 \R80TYC020.vws BI01", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag Sekhar01 -vws \\vlrcc007- vb\test_cc_views\INDIA\R00702689\R80TYC020.vws BI01", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run (HudsonClearToolLauncher.java:72) at hudson.plugins.clearcase.ClearToolSnapshot.mkview (ClearToolSnapshot.java:53) at hudson.plugins.clearcase.action.SnapshotCheckoutAction.checkout (SnapshotCheckoutAction.java:43) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout (AbstractClearCaseScm.java:199) at hudson.model.AbstractProject.checkout(AbstractProject.java:666) at hudson.model.AbstractBuild$AbstractRunner.checkout (AbstractBuild.java:261) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:235) at hudson.model.Run.run(Run.java:817) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:204) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:90)

    Jenkins JIRA | 8 years ago | rajsekhar_nukala06
    java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag Sekhar01 -vws \\vlrcc007- vb\test_cc_views\INDIA\R00702689\R80TYC020.vws BI01", actual exit code=1
  2. 0

    Hi I am using Hudson with ClearCase from past 6 months. Initially I was able to use it with no problem, but few days back I got the below error message and not able find the reason and solution for it, but couldn't. After changing some variables it started working and couldn't find the reason how the build started. Can someone help me who is using Hudson with ClearCase why the below error comes and How to overcome it. started [workspace] $ cleartool mkview -snapshot -tag Sekhar01 -vws \\vlrcc007- vb\test_cc_views\INDIA\R00702689\R80TYC020.vws BI01 cleartool: Error: unable to create directory \\vlrcc007- vb\test_cc_views\INDIA\R00702689\R80TYC020.vws: Access is denied. cleartool: Error: Unable to create directory "\\vlrcc007- vb\test_cc_views\INDIA\R00702689\R80TYC020.vws": Permission denied. cleartool: Error: Unable to create view "\\vlrcc007- vb\test_cc_views\INDIA\R00702689\R80TYC020.vws". FATAL: Base ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="mkview - snapshot -tag Sekhar01 -vws \\vlrcc007-vb\test_cc_views\INDIA\R00702689 \R80TYC020.vws BI01", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag Sekhar01 -vws \\vlrcc007- vb\test_cc_views\INDIA\R00702689\R80TYC020.vws BI01", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run (HudsonClearToolLauncher.java:72) at hudson.plugins.clearcase.ClearToolSnapshot.mkview (ClearToolSnapshot.java:53) at hudson.plugins.clearcase.action.SnapshotCheckoutAction.checkout (SnapshotCheckoutAction.java:43) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout (AbstractClearCaseScm.java:199) at hudson.model.AbstractProject.checkout(AbstractProject.java:666) at hudson.model.AbstractBuild$AbstractRunner.checkout (AbstractBuild.java:261) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:235) at hudson.model.Run.run(Run.java:817) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:204) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:90)

    Jenkins JIRA | 8 years ago | rajsekhar_nukala06
    java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag Sekhar01 -vws \\vlrcc007- vb\test_cc_views\INDIA\R00702689\R80TYC020.vws BI01", actual exit code=1
  3. 0

    See following logs: Started by an SCM change Building on master {color:red}[workspace] $ cleartool desc -fmt %[found_bls]p\n stream:MARTIN_1.0_dev@\ice_p *cleartool: Error: Not a vob object: "7eb79fb9.6465497a.8233.68:17:2d:bb:b1:c8".* MARTIN_1.0_02_07_2010_AfterDelivery [workspace] $ cleartool desc -fmt %[component]p\n baseline:*cleartool:*@\ice_p cleartool: Error: Baseline not found: "cleartool:".{color} FATAL: UCM ClearCase failed. exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="desc -fmt %[component]p\n baseline:cleartool:@\ice_p", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:107) at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:70) at hudson.plugins.clearcase.ClearToolExec.describe(ClearToolExec.java:88) at hudson.plugins.clearcase.ucm.UcmCommon.getBaselinesDesc(UcmCommon.java:197) at hudson.plugins.clearcase.ucm.UcmCommon.getFoundationBaselines(UcmCommon.java:174) at hudson.plugins.clearcase.ClearCaseUcmSCM.createRevisionState(ClearCaseUcmSCM.java:172) at hudson.plugins.clearcase.ClearCaseUcmSCM.calcRevisionsFromBuild(ClearCaseUcmSCM.java:159) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:457) at hudson.model.AbstractProject.checkout(AbstractProject.java:1038) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411) at hudson.model.Run.run(Run.java:1257) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:318) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129) If there is a clearcase problem, the plugin parse the cleartool error as result and failed ("cleartool:" is not a good baseline). See attachment for a fix.

    Jenkins JIRA | 6 years ago | juherr
    java.io.IOException: cleartool did not return the expected exit code. Command line="desc -fmt %[component]p\n baseline:cleartool:@\ice_p", actual exit code=1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    See following logs: Started by an SCM change Building on master {color:red}[workspace] $ cleartool desc -fmt %[found_bls]p\n stream:MARTIN_1.0_dev@\ice_p *cleartool: Error: Not a vob object: "7eb79fb9.6465497a.8233.68:17:2d:bb:b1:c8".* MARTIN_1.0_02_07_2010_AfterDelivery [workspace] $ cleartool desc -fmt %[component]p\n baseline:*cleartool:*@\ice_p cleartool: Error: Baseline not found: "cleartool:".{color} FATAL: UCM ClearCase failed. exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="desc -fmt %[component]p\n baseline:cleartool:@\ice_p", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:107) at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:70) at hudson.plugins.clearcase.ClearToolExec.describe(ClearToolExec.java:88) at hudson.plugins.clearcase.ucm.UcmCommon.getBaselinesDesc(UcmCommon.java:197) at hudson.plugins.clearcase.ucm.UcmCommon.getFoundationBaselines(UcmCommon.java:174) at hudson.plugins.clearcase.ClearCaseUcmSCM.createRevisionState(ClearCaseUcmSCM.java:172) at hudson.plugins.clearcase.ClearCaseUcmSCM.calcRevisionsFromBuild(ClearCaseUcmSCM.java:159) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:457) at hudson.model.AbstractProject.checkout(AbstractProject.java:1038) at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:479) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:411) at hudson.model.Run.run(Run.java:1257) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:318) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:129) If there is a clearcase problem, the plugin parse the cleartool error as result and failed ("cleartool:" is not a good baseline). See attachment for a fix.

    Jenkins JIRA | 6 years ago | juherr
    java.io.IOException: cleartool did not return the expected exit code. Command line="desc -fmt %[component]p\n baseline:cleartool:@\ice_p", actual exit code=1
  6. 0

    Integrating Hudson with UCM Clearcase on windows machine

    Stack Overflow | 6 years ago | Umang
    java.io.IOException: cleartool did not return the expected exit code. Command line="setcs -tag advcm3_LAC_FN38_Test -stream", actual exit code=1

    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="mkview -snapshot -tag Sekhar01 -vws \\vlrcc007- vb\test_cc_views\INDIA\R00702689\R80TYC020.vws BI01", actual exit code=1

      at hudson.plugins.clearcase.HudsonClearToolLauncher.run()
    2. hudson.plugins.clearcase
      AbstractClearCaseScm.checkout
      1. hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:72)
      2. hudson.plugins.clearcase.ClearToolSnapshot.mkview(ClearToolSnapshot.java:53)
      3. hudson.plugins.clearcase.action.SnapshotCheckoutAction.checkout(SnapshotCheckoutAction.java:43)
      4. hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:199)
      4 frames
    3. Hudson
      Run.run
      1. hudson.model.AbstractProject.checkout(AbstractProject.java:666)
      2. hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:261)
      3. hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:235)
      4. hudson.model.Run.run(Run.java:817)
      4 frames
    4. Hudson Maven Embedder
      MavenModuleSetBuild.run
      1. hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:204)
      1 frame
    5. Hudson
      Executor.run
      1. hudson.model.ResourceController.execute(ResourceController.java:70)
      2. hudson.model.Executor.run(Executor.java:90)
      2 frames