Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-2902

ClearCase plugin Create new job Problem

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • clearcase-plugin
    • None
    • Platform: All, OS: All

    Description

      With latest Snapshot build (082) of clearcase plugin there seams to be a
      problem when creating a new job: At first build I get the following error
      "started
      [workspace] $ "C:\Program Files\Rational\ClearCase\bin\cleartool" rmview -force
      Test
      cleartool: Error: Unable to open file "Test\.view": No such file or directory.
      cleartool: Error: SIMSTest isn't a view: No such file or directory
      cleartool: Error: Unable to remove view "Test".
      FATAL: UCM ClearCase failed. exit code=1
      FATAL: cleartool did not return the expected exit code. Command line="rmview -
      force Test", actual exit code=1
      java.io.IOException: cleartool did not return the expected exit code. Command
      line="rmview -force Test", actual exit code=1
      at hudson.plugins.clearcase.HudsonClearToolLauncher.run
      (HudsonClearToolLauncher.java:76)
      at hudson.plugins.clearcase.ClearToolSnapshot.rmview
      (ClearToolSnapshot.java:72)
      at hudson.plugins.clearcase.action.UcmSnapshotCheckoutAction.checkout
      (UcmSnapshotCheckoutAction.java:52)
      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)
      "

      Workarround: In the configuration check "Use Update" does create and loads the
      files correctly.

      Attachments

        Activity

          Code changed in hudson
          User: : sunfire
          Path:
          trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/action/UcmSnapshotCheckoutAction.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=14713
          Log:
          FIXED JENKINS-2902

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : sunfire Path: trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/action/UcmSnapshotCheckoutAction.java http://fisheye4.cenqua.com/changelog/hudson/?cs=14713 Log: FIXED JENKINS-2902
          heikof heikof added a comment -

          Perfect. Will verify it and send you feedback.

          heikof heikof added a comment - Perfect. Will verify it and send you feedback.
          heikof heikof added a comment -

          Fixed is working for me and could go into the release.
          Thx.

          heikof heikof added a comment - Fixed is working for me and could go into the release. Thx.
          heikof heikof added a comment -

          But it looks like there is another problem in this release with getting the
          history...

          [] $ "C:\Program Files\Rational\ClearCase\bin\cleartool" lsactivity -fmt '\"%
          [headline]p\" \"%[stream]p\" \"%u\" \n' <activityname>
          cleartool: Error: Unable to determine VOB for pathname ".".
          FATAL: UCM ClearCase failed. exit code=1
          FATAL: cleartool did not return the expected exit code. Command
          line="lsactivity -fmt \"%[headline]p\" \"%[stream]p\" \"%u\" \n
          <activityname>", actual exit code=1
          java.io.IOException: cleartool did not return the expected exit code. Command
          line="lsactivity -fmt \"%[headline]p\" \"%[stream]p\" \"%u\" \n
          <activityname>", actual exit code=1
          at hudson.plugins.clearcase.HudsonClearToolLauncher.run
          (HudsonClearToolLauncher.java:76)
          at hudson.plugins.clearcase.ClearToolExec.lsactivity
          (ClearToolExec.java:81)
          at hudson.plugins.clearcase.ucm.UcmHistoryAction.callLsActivity
          (UcmHistoryAction.java:120)
          at hudson.plugins.clearcase.ucm.UcmHistoryAction.buildChangelog
          (UcmHistoryAction.java:106)
          at hudson.plugins.clearcase.history.AbstractHistoryAction.getChanges
          (AbstractHistoryAction.java:46)
          at hudson.plugins.clearcase.AbstractClearCaseScm.checkout
          (AbstractClearCaseScm.java:259)
          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)

          heikof heikof added a comment - But it looks like there is another problem in this release with getting the history... [] $ "C:\Program Files\Rational\ClearCase\bin\cleartool" lsactivity -fmt '\"% [headline] p\" \"% [stream] p\" \"%u\" \n' <activityname> cleartool: Error: Unable to determine VOB for pathname ".". FATAL: UCM ClearCase failed. exit code=1 FATAL: cleartool did not return the expected exit code. Command line="lsactivity -fmt \"% [headline] p\" \"% [stream] p\" \"%u\" \n <activityname>", actual exit code=1 java.io.IOException: cleartool did not return the expected exit code. Command line="lsactivity -fmt \"% [headline] p\" \"% [stream] p\" \"%u\" \n <activityname>", actual exit code=1 at hudson.plugins.clearcase.HudsonClearToolLauncher.run (HudsonClearToolLauncher.java:76) at hudson.plugins.clearcase.ClearToolExec.lsactivity (ClearToolExec.java:81) at hudson.plugins.clearcase.ucm.UcmHistoryAction.callLsActivity (UcmHistoryAction.java:120) at hudson.plugins.clearcase.ucm.UcmHistoryAction.buildChangelog (UcmHistoryAction.java:106) at hudson.plugins.clearcase.history.AbstractHistoryAction.getChanges (AbstractHistoryAction.java:46) at hudson.plugins.clearcase.AbstractClearCaseScm.checkout (AbstractClearCaseScm.java:259) 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)
          heikof heikof added a comment -

          Ignore my last comment. Was a temporary issue on my site. plugin is working
          fine.

          heikof heikof added a comment - Ignore my last comment. Was a temporary issue on my site. plugin is working fine.
          sunfire sunfire added a comment -

          Fixed

          sunfire sunfire added a comment - Fixed
          abayer Andrew Bayer added a comment -

          Marking as verified - fixed in 0.8.2.

          abayer Andrew Bayer added a comment - Marking as verified - fixed in 0.8.2.

          People

            sunfire sunfire
            heikof heikof
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: