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

Interval calculation skewed by multiple builds of same job

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: naginator-plugin
    • Environment:
    • Similar Issues:
    • Released As:
      naginator-1.18

      Description

      When running two builds simultaneously of any project configured with Naginator, the interval calculation becomes skewed.  Note - these where scheduled with the Schedule build plugin.  

      Here is the chronology of a recent set of two builds with their Naginator retries, using 5 minutes progressive delay, 30 minute max 

      ------------------------------------------------------------------------

      Build A - Initial Build

      Build A - 5 minutes later

      Build B - Initial Build

      Build A - 15 minutes after previous retry

      Build B - 5 minutes later

      Build A - 15 minutes after previous retry

      Build B - 30 minutes after previous retry

      Build A - 30 minutes after previous retry

       

      Please note the retry interval acts as expected if I run just one build of the project.

      To reproduce:  Set up Project "A", a freestyle project, using the naginator plugin and make use of the progressive capabilities.   See attached.   Schedule two different builds at slightly different, but overlapping times using the Schedule Build plugin.  Be sure to fail the build to get retries.

       

        Attachments

          Activity

          Show
          ikedam ikedam added a comment - https://github.com/jenkinsci/naginator-plugin/pull/46
          Hide
          ikedam ikedam added a comment -

          Fixed in naginator-1.18.
          It will be available in the update center in a day.
          Please try that.

          Show
          ikedam ikedam added a comment - Fixed in naginator-1.18. It will be available in the update center in a day. Please try that.

            People

            • Assignee:
              spenceryost Spencer Yost
              Reporter:
              spenceryost Spencer Yost
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: