java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)
    via by rajsekhar_nukala06,
  • 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)
    via by rajsekhar_nukala06,
  • 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.
    via by juherr,
  • 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.
    via by juherr,
  • Re: Base Clearcase issues
    via by BEvans,
  • Clearcase plugin (configure UCM clearcase)
    via by francois b.,
  • Error on using hudson with UCM clearcase
    via by Vineet Hada,
    • 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)
    No Bugmate found.