Bug 703525 - KILL policy overridden by signal escalation
Summary: KILL policy overridden by signal escalation
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor
Version: Development
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: 2.0
: ---
Assignee: Robert Rati
QA Contact: Lubos Trilety
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-10 15:18 UTC by Robert Rati
Modified: 2011-06-27 14:34 UTC (History)
6 users (show)

Fixed In Version: condor-7.6.1-0.5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-27 14:34:32 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Robert Rati 2011-05-10 15:18:06 UTC
Description of problem:
In the case where a job is preempted, the starter is setting the signal escalation timer and waiting upto 30 seconds before hard killing the job.  It shouldn't be doing this.  In a shutdown graceful case (like a preempt), the starter should send the respective signal and wait for outside influence to handle things appropriately.

See gt#2142 for details.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Robert Rati 2011-05-10 15:18:35 UTC
Fixed upstream on V7_6-branch and master

Comment 8 Lubos Trilety 2011-05-18 13:59:50 UTC
Successfully reproduced on:
$CondorVersion: 7.6.1 Apr 27 2011 BuildID: RH-7.6.1-0.4.el6 $
$CondorPlatform: I686-RedHat_6.0 $

config:
PREEMPT = $(ActivationTimer) > 60

# echo -e "cmd=/root/test.sh\nargs=600\nqueue" | runuser condor -s /bin/bash -c
condor_submit
Submitting job(s).
1 job(s) submitted to cluster 1.

# condor_q
-- Submitter: hostname : <IP:56466> : hostname
 ID      OWNER            SUBMITTED     RUN_TIME ST PRI SIZE CMD               
   1.0   condor          5/18 15:53   0+00:01:36 I  0   4.9  test.sh 600       
1 jobs; 1 idle, 0 running, 0 held

# ps -eaf | grep test
#

Comment 9 Lubos Trilety 2011-05-18 14:08:00 UTC
Tested on:
$CondorVersion: 7.6.1 May 17 2011 BuildID: RH-7.6.1-0.5.el5 $
$CondorPlatform: I686-RedHat_5.6 $

$CondorVersion: 7.6.1 May 17 2011 BuildID: RH-7.6.1-0.5.el5 $
$CondorPlatform: X86_64-RedHat_5.6 $

$CondorVersion: 7.6.1 May 17 2011 BuildID: RH-7.6.1-0.5.el6 $
$CondorPlatform: I686-RedHat_6.0 $

$CondorVersion: 7.6.1 May 17 2011 BuildID: RH-7.6.1-0.5.el6 $
$CondorPlatform: X86_64-RedHat_6.0 $


config:
PREEMPT = $(ActivationTimer) > 60

# echo -e "cmd=/root/test.sh\nargs=600\nqueue" | runuser condor -s /bin/bash -c
condor_submit
Submitting job(s).
1 job(s) submitted to cluster 1.

# condor_q
-- Submitter: hostname : <IP:55720> : hostname
 ID      OWNER            SUBMITTED     RUN_TIME ST PRI SIZE CMD               
   1.0   condor          5/18 16:02   0+00:02:09 R  0   0.0  test.sh 1d        
1 jobs; 0 idle, 1 running, 0 held

# ps -eaf | grep test
condor   13684 13683  0 16:02 ?        00:00:00 /bin/bash /root/test.sh 1d
#

>>> VERIFIED


Note You need to log in before you can comment on or make changes to this bug.