Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 751013 - Job receive twice signal SIGCONT after condor_continue command.
Job receive twice signal SIGCONT after condor_continue command.
Status: CLOSED ERRATA
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: condor (Show other bugs)
2.1
All All
low Severity low
: 2.3
: ---
Assigned To: Timothy St. Clair
Daniel Horák
: Reopened
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-03 04:49 EDT by Daniel Horák
Modified: 2013-03-06 13:39 EST (History)
6 users (show)

See Also:
Fixed In Version: condor-7.8.2-0.1
Doc Type: Bug Fix
Doc Text:
C: Continuing a job after it had been suspended. C: The job would receive SIGCONT twice. F: Update logic to ensure that SIGCONT can only be sent once. R: A job which is continued after it has been suspended will only receive SIGCONT once.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-03-06 13:39:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0564 normal SHIPPED_LIVE Low: Red Hat Enterprise MRG Grid 2.3 security update 2013-03-06 18:37:09 EST

  None (edit)
Description Daniel Horák 2011-11-03 04:49:39 EDT
Description of problem:
If job is continued via command condor_continue, they receive twice signal SIGCONT.
When is it (suspended and) continued because of expression (SUSPEND) CONTINUE, they receive SIGCONT only once.


Version-Release number of selected component (if applicable):
condor-classads-7.6.5-0.5
condor-7.6.5-0.5


How reproducible:
100%


Steps to Reproduce:
1. Default configuration of condor (expression SUSPEND and CONTINUE set to FALSE).
2. Submit job (execution script is from bug 635012, comment 18):
  # cat /tmp/test.job 
    universe = vanilla
    cmd = /tmp/bz635012.py
    output = /tmp/job_$(cluster).$(process).output
    error = /tmp/job_$(cluster).$(process).error
    Log = /tmp/job_$(cluster).$(process).log
    queue 1

  # runuser -s /bin/bash -l condor -c "condor_submit /tmp/test.job"

3. When job is running, suspend and continue him via condor_suspend and condor_continue command.

4. Look to output file:
  # cat /tmp/job_1.0.output
    [11:05:26]+0.8911 - Run '/tmp/bz635012.py' with pid: 5778
    [11:05:26]+0.8911 - 0
    [11:05:27]+0.9203 - 1
    . . .
    [11:05:40]+0.9533 - 14
    [11:05:41]+0.9533 - 15
    [11:06:02]+0.4006 - caught signal - sig_num: 18 ('SIGCONT')
    [11:06:02]+0.4008 - 16
    [11:06:02]+0.4738 - caught signal - sig_num: 18 ('SIGCONT')
    [11:06:02]+0.4740 - 17
    [11:06:03]+0.4788 - 18
    . . .

  
Additional info:
Found on verification of bug 635012.
Comment 2 Timothy St. Clair 2012-03-19 13:58:49 EDT
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
C: Continuing a job after it had been suspended.
C: The job would receive SIGCONT twice.
F: Update logic to ensure that SIGCONT can only be sent once.
R: A job which is continued after it has been suspended will only receive SIGCONT once.
Comment 10 Daniel Horák 2013-01-22 10:30:39 EST
Tested and verified via automatic test on RHEL 5.9,6.4 - i386,x86_64 with condor-7.8.8-0.3.

>>> VERIFIED
Comment 13 errata-xmlrpc 2013-03-06 13:39:35 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0564.html

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