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

build.doStop() does not stop all parallel jobs

    Details

    • Type: Bug
    • Status: In Progress (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: core, pipeline
    • Labels:
      None
    • Environment:
      Jenkins 2.127
    • Similar Issues:

      Description

      I use Jenkins pipelines with the parallel option in order to run 35 parallel test partitions at the same time.

      If a developer kicks off two builds in a row, I have some groovy logic which loads up the previous job build and calls doStop() on it.

      In the build I'm trying to stop, I see:

      Sending interrupt signal to process

      in the console at the moment that I called stopJob on it... which is expected. However, not all of the parallel running jobs stop. Some of them keep going as if the interrupt signal was never sent and this means the overall pipeline keeps going.

      I am hoping that the attached screenshot can help further depict what's going on.

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              piratejohnny Jon B
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: