java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag wendy_cgate_main_compile wendy_cgate_main_compile", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:72)

Jenkins JIRA | djcarr | 8 years ago
  1. 0

    Hudson 1.262, CC plugin 0.7.1. Have 6 jobs which were all blue (previous builds good). No config changes. Hourly trigger kicked in and they all failed, with message: started [workspace] $ "C:\Program Files\Rational\ClearCase\bin\cleartool.exe" mkview -snapshot -tag wendy_cgate_main_compile wendy_cgate_main_compile cleartool: Error: A registry entry already exists for "wendy_cgate_main_compile". FATAL: Base ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag wendy_cgate_main_compile wendy_cgate_main_compile", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag wendy_cgate_main_compile wendy_cgate_main_compile", 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.model.Build.run(Build.java:88) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:90)

    Jenkins JIRA | 8 years ago | djcarr
    java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag wendy_cgate_main_compile wendy_cgate_main_compile", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:72)
  2. 0

    Hudson 1.262, CC plugin 0.7.1. Have 6 jobs which were all blue (previous builds good). No config changes. Hourly trigger kicked in and they all failed, with message: started [workspace] $ "C:\Program Files\Rational\ClearCase\bin\cleartool.exe" mkview -snapshot -tag wendy_cgate_main_compile wendy_cgate_main_compile cleartool: Error: A registry entry already exists for "wendy_cgate_main_compile". FATAL: Base ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag wendy_cgate_main_compile wendy_cgate_main_compile", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag wendy_cgate_main_compile wendy_cgate_main_compile", 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.model.Build.run(Build.java:88) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:90)

    Jenkins JIRA | 8 years ago | djcarr
    java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag wendy_cgate_main_compile wendy_cgate_main_compile", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:72)
  3. 0

    Sometimes the job fails because the ${NODE_NAME} macro isn't correctly resolved. When the job was last run on slave x and gets dispatched to slave y it fails since ${NODE_NAME} is resolved to x. Job stacktrace: started Building remotely on Seldw2803 [USP-PDE-QA] $ "c:\Program Files\Rational\ClearCase\bin\cleartool" mkview -snapshot -tag USP-PDE-QA_seldw2210 USP-PDE-QA_seldw2210 cleartool: Error: A registry entry already exists for "USP-PDE-QA_seldw2210". FATAL: Base ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag USP-PDE-QA_seldw2210 USP-PDE-QA_seldw2210", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag USP-PDE-QA_seldw2210 USP-PDE-QA_seldw2210", 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:664) 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.model.Build.run(Build.java:88) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:88)

    Jenkins JIRA | 8 years ago | PatrikSchalin
    java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag USP-PDE-QA_seldw2210 USP-PDE-QA_seldw2210", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:72)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Sometimes the job fails because the ${NODE_NAME} macro isn't correctly resolved. When the job was last run on slave x and gets dispatched to slave y it fails since ${NODE_NAME} is resolved to x. Job stacktrace: started Building remotely on Seldw2803 [USP-PDE-QA] $ "c:\Program Files\Rational\ClearCase\bin\cleartool" mkview -snapshot -tag USP-PDE-QA_seldw2210 USP-PDE-QA_seldw2210 cleartool: Error: A registry entry already exists for "USP-PDE-QA_seldw2210". FATAL: Base ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag USP-PDE-QA_seldw2210 USP-PDE-QA_seldw2210", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag USP-PDE-QA_seldw2210 USP-PDE-QA_seldw2210", 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:664) 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.model.Build.run(Build.java:88) at hudson.model.ResourceController.execute(ResourceController.java:70) at hudson.model.Executor.run(Executor.java:88)

    Jenkins JIRA | 8 years ago | PatrikSchalin
    java.io.IOException: cleartool did not return the expected exit code. Command line="mkview -snapshot -tag USP-PDE-QA_seldw2210 USP-PDE-QA_seldw2210", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:72)
  6. 0

    Re: Base Clearcase issues

    Google Groups | 6 years ago | BEvans
    java.io.IOException: cleartool did not return the expected exit code. > Command line="mkview -snapshot -tag <dynview> -stgloc -auto <dynview>", > actual exit code=1 at > hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:152)

    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 wendy_cgate_main_compile wendy_cgate_main_compile", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:72)

      at hudson.plugins.clearcase.ClearToolSnapshot.mkview()
    2. hudson.plugins.clearcase
      ClearToolSnapshot.mkview
      1. hudson.plugins.clearcase.ClearToolSnapshot.mkview(ClearToolSnapshot.java:53)
      1 frame