Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 574166

Summary: rteval: add early termination logic
Product: Red Hat Enterprise MRG Reporter: D. Marlin <dmarlin>
Component: realtime-utilitiesAssignee: David Sommerseth <davids>
Status: CLOSED ERRATA QA Contact: David Sommerseth <davids>
Severity: medium Docs Contact:
Priority: low    
Version: DevelopmentCC: bhu, davids, lgoncalv, ovasik, williams
Target Milestone: 2.1.5   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
* Cause: signal handlers were commented out during debugging session and not restored for release * Consequence: early termination logic did not work * Fix: uncomment signal handling logic * Result: early termination logic works
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-18 19:33:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description D. Marlin 2010-03-16 19:11:41 UTC
Description of problem:

  There is no simple, clean way to terminate an rteval test run before the normal time limit expires.  Please add a "--stop" option, or some other method to invoke the termination logic, preferably that would still produce the output of data collected up to that point (still report results).

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

  latest development

How reproducible:

  always

Steps to Reproduce:
1.  rteval --duration=2h
2.  ^C        - to terminate test
  
Actual results:

  not all processes/threads terminated
  no results reported

Expected results:

  all processes/threads terminate,
  and results reported

Additional info:

Comment 6 Clark Williams 2012-04-09 21:03:23 UTC
    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:
* Cause: signal handlers were commented out during debugging session and not restored for release
* Consequence: early termination logic did not work
* Fix: uncomment signal handling logic
* Result: early termination logic works

Comment 7 David Sommerseth 2012-04-10 12:39:48 UTC
Verified that the early termination logic is in place and functions well with rteval-1.35-1.el6rt.

-> VERIFIED

Comment 8 errata-xmlrpc 2012-04-18 19:33:26 UTC
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/RHBA-2012-0495.html