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

Permanent building / consider removing latest changes

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Critical
    • Resolution: Fixed
    • clearcase-plugin
    • None
    • Jenkins 1.480
      Plugin 1.3.9

    Description

      There seems to be a new feature (since 1.3.9) that re-builds a job whenever the config spec has changed. It's very troublesome; it's not always desired. User may want to prepare a config spec that he/she wants to be run later, not just instantly.

      Moreover, there's a bug in this functionality: when using automated time rules, current set CS is constantly different that the one configured. So the result is rebuilding constantly .

      After those 2 latest issues, I strongly recommend to remove the latest pull request at all https://github.com/jenkinsci/clearcase-plugin/pull/11 since it creates plenty of blocking issues. With these many breaking changes, I'm afraid that my project and I would need to stay with the 1.3.8 indefinitely.
      ===========================================

      This page captures the polling log that triggered this build.

      Started on Sep 17, 2012 2:39:01 PM

                                                          • get view CSPEC ***********************
                                                            [workspace] $ cleartool catcs -tag my_view
                                                            time 17-sep-12.11:53:51utc+0000
      1. Removed [...] config spec rules
        element * /main/LATEST
        end time
        ******************************************************************
        [WARNING] CSPEC configured != catcs (view)
        REASON: New config spec detected.
        Done. Took 58 ms
        Changes found

      Attachments

        Activity

          weakcamel Waldek M added a comment -

          Is there a chance for a fix for this one? This would be great, because without it, users of dynamic views (and some users of snapshots) are stuck with 1.3.8.

          weakcamel Waldek M added a comment - Is there a chance for a fix for this one? This would be great, because without it, users of dynamic views (and some users of snapshots) are stuck with 1.3.8.

          I've just released 1.3.11 which disables the config spec comparison if time rule is enabled. This should fix your issues.

          vlatombe Vincent Latombe added a comment - I've just released 1.3.11 which disables the config spec comparison if time rule is enabled. This should fix your issues.
          weakcamel Waldek M added a comment -

          I've finally found some time to verify the fix. Well - it works Thanks!

          weakcamel Waldek M added a comment - I've finally found some time to verify the fix. Well - it works Thanks!
          ster Gary Sterling added a comment -

          Is it possible this bug has been re-introduced in 1.3.14 (possibly earlier)? I am using a snapshot view, with a time-based config spec. The clearcase polling log is shown below:
          Started on Jun 20, 2013 1:30:25 PM

                                                              • get view CSPEC ***********************
                                                                [PSoC-Programmer-Build] $ cleartool catcs -tag Jenkins_build_CMSBUILD6.cms.cypress.com_PSoC-Programmer-Build
                                                                time 20-Jun-13.13:20:25
                                                                element * CHECKEDOUT
                                                                element * .../main_pp319/LATEST
                                                                element * PP3.18_B1534
                                                                element * /main/LATEST
                                                                load \ps1_swtools\Source
                                                                ******************************************************************
                                                                [WARNING] CSPEC configured != catcs (view)
                                                                REASON: New config spec detected.
                                                                Done. Took 0.47 sec
                                                                Changes found

          The build executes each time it is polled since the timestamp is different.

          ster Gary Sterling added a comment - Is it possible this bug has been re-introduced in 1.3.14 (possibly earlier)? I am using a snapshot view, with a time-based config spec. The clearcase polling log is shown below: Started on Jun 20, 2013 1:30:25 PM get view CSPEC *********************** [PSoC-Programmer-Build] $ cleartool catcs -tag Jenkins_build_CMSBUILD6.cms.cypress.com_PSoC-Programmer-Build time 20-Jun-13.13:20:25 element * CHECKEDOUT element * .../main_pp319/LATEST element * PP3.18_B1534 element * /main/LATEST load \ps1_swtools\Source ****************************************************************** [WARNING] CSPEC configured != catcs (view) REASON: New config spec detected. Done. Took 0.47 sec Changes found The build executes each time it is polled since the timestamp is different.
          dbubovych dbubovych added a comment -

          The same problem with dynamic views. When "Do Not Reset Config Spec" option is set and "Config spec" field empty or default.

          ...
          [WARNING] CSPEC configured != catcs (view)
          REASON: New config spec detected.
          Done. Took 0.17 sec
          Changes found
          
          dbubovych dbubovych added a comment - The same problem with dynamic views. When "Do Not Reset Config Spec" option is set and "Config spec" field empty or default. ... [WARNING] CSPEC configured != catcs (view) REASON: New config spec detected. Done. Took 0.17 sec Changes found

          People

            vlatombe Vincent Latombe
            weakcamel Waldek M
            Votes:
            2 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: