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

Cleartool error does not abort the build

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • clearcase-plugin
    • None
    • Platform: All, OS: All

      I'm using UCM clearcase with the clearcase plugin version 1.0.2. For some
      unknown reason, there was a stuck cleartool process for a view. (I only have
      one hudson job using this view and nothing and nobody else was using it).
      Because of this stuck process, cleartool was telling us that "An update is
      already in progress" (see snippet below). However, the build still proceeded.
      The build should be aborted with an error if this happens.

      We only found this issue (which has been occurring for a while) because the
      build was broken and Hudson never told us. This is because Hudson never rebased
      our "qbvision-nms" VOB correctly for quite a while.

      Build output snippet:

      load \qbvision-install
      load \qbvision-nms
      [workspace] $ cleartool update -force -log NUL -add_loadrules rwc467_m1\qbvision-nms
      cleartool: Warning: An update is already in progress for view
      "E:\hudson\jobs\m1\workspace\rwc467_m1".
      Started by 'rwc467@RWC467-03' (process 3312) on 11/4/2009 8:24:59 AM
      Continue, terminating the previous update session? [no] [workspace] $ cleartool
      update -force -log NUL -add_loadrules rwc467_m1\qbvision-install
      cleartool: Warning: An update is already in progress for view
      "E:\hudson\jobs\m1\workspace\rwc467_m1".
      Started by 'rwc467@RWC467-03' (process 3312) on 11/4/2009 8:24:59 AM
      Continue, terminating the previous update session? [no] [rwc467_m1] $ cleartool
      lshistory -all -since 17-nov-09.22:07:07utc+0000 -fmt '\"%Nd\" \"%u\" \"%En\"
      \"%Vn\" \"%e\" \"%o\" \"%[activity]p\" \n%c\n' -branch
      brtype:qbv-main_Integration -nco qbvision-nms qbvision-install
      "20091117.172938" "e65445"
      "E:\hudson\jobs\m1\workspace\rwc467_m1\qbvision-nms\client\core\src\com\quantumbridge\client\core\swing@@

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

              Created:
              Updated:
              Resolved: