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

FutureImpl does not cancel it`s start future

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      FutureImpl does not cancel its attribute start, which is AsyncFutureImpl instance for identification that task is running.

      methos setAsCancelled() should cancel its attribute start too.

      It causes bug in method getStartCondition() in case cancellation of job in queue. Because start AssyncFuturaImpl is not set as cancelled and thread wich called getStartCondition() wait forever when job is cancelled in queue, because start is never cancelled.

      It can be seen in Build flow plugin.

        Attachments

          Activity

          lvotypkova Lucie Votypkova created issue -
          olivergondza Oliver Gond┼ża made changes -
          Field Original Value New Value
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 159483 ] JNJira + In-Review [ 196098 ]

            People

            • Assignee:
              lvotypkova Lucie Votypkova
              Reporter:
              lvotypkova Lucie Votypkova
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: