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

Clearcase update issue

    XMLWordPrintable

Details

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

    Description

      I am using Hudson 1.314 with clearcase plugin 0.9. I started experiencing
      following error after upgradation to 0.9 version.I am using UCM snapshot option.

      [R4.3.3_Dev_HUDSON] $ cleartool setcs ..\configspec39249.txt
      cleartool: Error: Syntax error on line 1, near column 2, file
      "..\configspec39249.txt".
      cleartool: Error: Config spec parsing failed: "..\configspec39249.txt".
      cleartool: Error: Unable to change configuration specification: error in
      configuration specification.
      FATAL: UCM ClearCase failed. exit code=1
      FATAL: cleartool did not return the expected exit code. Command line="setcs
      ..\configspec39249.txt", actual exit code=1
      java.io.IOException: cleartool did not return the expected exit code. Command
      line="setcs ..\configspec39249.txt", actual exit code=1
      at
      hudson.plugins.clearcase.HudsonClearToolLauncher.run(HudsonClearToolLauncher.java:100)
      at hudson.plugins.clearcase.ClearToolSnapshot.setcs(ClearToolSnapshot.java:67)
      at
      hudson.plugins.clearcase.action.UcmSnapshotCheckoutAction.checkout(UcmSnapshotCheckoutAction.java:77)
      at
      hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:289)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:830)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266)
      at hudson.model.Run.run(Run.java:938)
      at hudson.model.Build.run(Build.java:112)
      at hudson.model.ResourceController.execute(ResourceController.java:93)
      at hudson.model.Executor.run(Executor.java:118)

      -->>configspec39249.txt line 1 content as flollowed

      ucmidentity UCM.Stream
      oid:780968ac.274242f0.860f.f3:96:5d:b9:af:27@vobuuid:ee36e29c.883b4899.9422.46:19:2f:aa:19:87
      6# ONLY

      Attachments

        Activity

          abayer Andrew Bayer added a comment -

          I think I found the problem - yet another in the never-ending list of
          line-ending problems. I'm attaching a private build of 0.9.1 with what should be
          the fix - the logic for preventing excessive view removal/recreation should have
          had more line endings in it than it did. I don't have a UCM test environment
          worth mentioning, so if you could give it a shot and let me know how it works,
          it'd be much appreciated.

          abayer Andrew Bayer added a comment - I think I found the problem - yet another in the never-ending list of line-ending problems. I'm attaching a private build of 0.9.1 with what should be the fix - the logic for preventing excessive view removal/recreation should have had more line endings in it than it did. I don't have a UCM test environment worth mentioning, so if you could give it a shot and let me know how it works, it'd be much appreciated.
          abayer Andrew Bayer added a comment -

          Created an attachment (id=778)
          0.9.1-SNAPSHOT with (hopeful!) fix for issue 4027

          abayer Andrew Bayer added a comment - Created an attachment (id=778) 0.9.1-SNAPSHOT with (hopeful!) fix for issue 4027

          Code changed in hudson
          User: : abayer
          Path:
          trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/action/UcmSnapshotCheckoutAction.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=19680
          Log:
          JENKINS-4027 UCM config spec was being created without proper line-endings.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : abayer Path: trunk/hudson/plugins/clearcase/src/main/java/hudson/plugins/clearcase/action/UcmSnapshotCheckoutAction.java http://fisheye4.cenqua.com/changelog/hudson/?cs=19680 Log: JENKINS-4027 UCM config spec was being created without proper line-endings.
          gandugamerio gandugamerio added a comment -

          I have tested with snapshot 0.9.1 version and found no issue. I think you fix is
          working. Please provide this changes in next official build whenever possible.

          gandugamerio gandugamerio added a comment - I have tested with snapshot 0.9.1 version and found no issue. I think you fix is working. Please provide this changes in next official build whenever possible.
          abayer Andrew Bayer added a comment -

          Closing.

          abayer Andrew Bayer added a comment - Closing.

          People

            abayer Andrew Bayer
            gandugamerio gandugamerio
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: