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

Consider waiting for lock in "timings" and build status overview?

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      The latest and greatest: Jenkins Core 2.144, Lockable Resources Plugin 2.3
    • Similar Issues:

      Description

      When looking over build history or old builds I saw build durations of e.g. 21min, although I know it typically lasts about 6 to 12min. It turned out that there was a ~8min waiting period for a resource lock...

      The classic UI's "Stage View" actually shows this waiting in small:

      However I was wondering if this should be also reflected here:

      Log snippet:

      ...
      [Pipeline] lock
      10:00:30 Trying to acquire lock on [Label: PhpStorm, Quantity: 1]
      10:00:30 Found 0 available resource(s). Waiting for correct amount: 1.
      10:00:30 [Label: PhpStorm, Quantity: 1] is locked, waiting...
      10:08:31 Lock acquired on [Label: PhpStorm, Quantity: 1]
      [Pipeline] {
      ... 

        Attachments

          Activity

          reinholdfuereder Reinhold Füreder created issue -
          reinholdfuereder Reinhold Füreder made changes -
          Field Original Value New Value
          Description When looking over build history or old builds I saw build durations of e.g. 21min, although I know it typically lasts about 6 to 12min. It turned out that there was a ~8min waiting period for a resource lock...

          The classic UI's "Stage View" actually shows this waiting in small: !image-2018-10-02-10-28-42-364.png!


          However I was wondering if this should be also reflected here:
           * !image-2018-10-02-10-29-49-549.png!
           * !image-2018-10-02-10-30-50-008.png!
          When looking over build history or old builds I saw build durations of e.g. 21min, although I know it typically lasts about 6 to 12min. It turned out that there was a ~8min waiting period for a resource lock...

          The classic UI's "Stage View" actually shows this waiting in small: !image-2018-10-02-10-28-42-364.png|thumbnail!


          However I was wondering if this should be also reflected here:
           * !image-2018-10-02-10-29-49-549.png|thumbnail!
           * !image-2018-10-02-10-30-50-008.png|thumbnail!
          reinholdfuereder Reinhold Füreder made changes -
          Description When looking over build history or old builds I saw build durations of e.g. 21min, although I know it typically lasts about 6 to 12min. It turned out that there was a ~8min waiting period for a resource lock...

          The classic UI's "Stage View" actually shows this waiting in small: !image-2018-10-02-10-28-42-364.png|thumbnail!


          However I was wondering if this should be also reflected here:
           * !image-2018-10-02-10-29-49-549.png|thumbnail!
           * !image-2018-10-02-10-30-50-008.png|thumbnail!
          When looking over build history or old builds I saw build durations of e.g. 21min, although I know it typically lasts about 6 to 12min. It turned out that there was a ~8min waiting period for a resource lock...

          The classic UI's "Stage View" actually shows this waiting in small: !image-2018-10-02-10-28-42-364.png|thumbnail!

          However I was wondering if this should be also reflected here:
           * !image-2018-10-02-10-29-49-549.png|thumbnail!
           * !image-2018-10-02-10-30-50-008.png|thumbnail!

          Log snippet:
          {code:java}
          ...
          [Pipeline] lock
          10:00:30 Trying to acquire lock on [Label: PhpStorm, Quantity: 1]
          10:00:30 Found 0 available resource(s). Waiting for correct amount: 1.
          10:00:30 [Label: PhpStorm, Quantity: 1] is locked, waiting...
          10:08:31 Lock acquired on [Label: PhpStorm, Quantity: 1]
          [Pipeline] {
          ... {code}

            People

            • Assignee:
              Unassigned
              Reporter:
              reinholdfuereder Reinhold Füreder
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: