Details
-
Fix
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
1.12, 1.12.1, 1.12.2, 1.12.3, 1.12.4, 1.12.5, 1.12.6, 1.12.7
-
None
-
None
Description
Current Situation
- A shell job executed for Agents with Unix includes a "sleep" command.
- When the job is killed from the JOC Cockpit (kill task immediately operation) then the Agent task is killed, the child task running the "sleep" command is not killed.
- The problem seems to be related to the kill_task.sh script that does not traverse child pids when executing the line
for _child in `$psTree | egrep " $1\$" | awk '{ print $1 }'`; do
as this loop does not return any child pids.
Desired Behavior
- All descendants of tasks should be reliably killed by the kill_task.sh script.
Patch
- A patch for JobScheduler Agent 1.12.7 is here available.
- Stop JobScheduler Agent
- Copy the downloaded jar file to ./lib/patches
- Start JobScheduler Agent
Attachments
Issue Links
- is related to
-
JS-1820 Agent kill_task.sh script should be customizable to terminate tasks before killing tasks
- Released