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

Isolate durable task in a dedicated Windows process group

    • 1.38

      Durable task is launched in the process tree of slave.jar process.

      When slave agent exits, it doesn't kill durable tasks (ProcessTree utility excludes the detached build). But when the slave is managed as a Windows service, the service wrapper kills all processes of the process tree and consequently stops durable tasks.

      Durable task should be launched in a dedicated process group isolated from slave.jar process tree.

          [JENKINS-27617] Isolate durable task in a dedicated Windows process group

          Yoann Dubreuil created issue -
          Yoann Dubreuil made changes -
          Description Original: Durable task is launched in the process tree of slave.jar process.

          When slave agent exits, it doesn't kill durable tasks (```ProcessTree``` utility excludes the detached build). But when the slave is managed as a Windows service, the service wrapper kills all processes of the process tree and consequently stops durable tasks.

          Durable task should be launched in a dedicated process group isolated from slave.jar process tree.
          New: Durable task is launched in the process tree of slave.jar process.

          When slave agent exits, it doesn't kill durable tasks ({{ProcessTree}} utility excludes the detached build). But when the slave is managed as a Windows service, the service wrapper kills all processes of the process tree and consequently stops durable tasks.

          Durable task should be launched in a dedicated process group isolated from slave.jar process tree.
          Yoann Dubreuil made changes -
          Link New: This issue is related to JENKINS-25503 [ JENKINS-25503 ]
          Yoann Dubreuil made changes -
          Summary Original: Isolate long running task in a dedicated process group New: Isolate durable task in a dedicated process group
          Jesse Glick made changes -
          Assignee Original: Jesse Glick [ jglick ]
          Jesse Glick made changes -
          Epic Link New: JENKINS-35399 [ 171192 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 161829 ] New: JNJira + In-Review [ 180856 ]
          Andrew Bayer made changes -
          Labels Original: windows workflow New: pipeline windows workflow
          Andrew Bayer made changes -
          Labels Original: pipeline windows workflow New: pipeline windows
          Jesse Glick made changes -
          Summary Original: Isolate durable task in a dedicated process group New: Isolate durable task in a dedicated Windows process group
          Gabriel Loewen made changes -
          Link New: This issue is related to JENKINS-51145 [ JENKINS-51145 ]

            carroll Carroll Chiou
            ydubreuil Yoann Dubreuil
            Votes:
            8 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: