Bug 690218 - v7 should re-raise test exceptions when --debug is set
Summary: v7 should re-raise test exceptions when --debug is set
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (harness)
Version: 1.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact: Guangze Bai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-23 16:05 UTC by Greg Nichols
Modified: 2015-02-08 21:36 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
An enhancement has been made that in v7 1.3, when --debug is set, the harness re-raises the exception so that tracebacks would be shown for debugging.
Clone Of:
Environment:
Last Closed: 2011-05-09 16:11:54 UTC


Attachments (Terms of Use)
hardwaretest.py patch re-raise test exceptions when debugging (917 bytes, patch)
2011-03-23 16:08 UTC, Greg Nichols
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0497 0 normal SHIPPED_LIVE v7 bug fix and enhancement update 2011-05-09 16:11:16 UTC

Description Greg Nichols 2011-03-23 16:05:56 UTC
Description of problem:

Currently v7 handles exceptions raised in tests and marks them as aborted.  When --debug is set, it would be better if the harness would re-raise the exception so that tracebacks would be shown.


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

v7 1.3 R19

Comment 1 Greg Nichols 2011-03-23 16:08:59 UTC
Created attachment 487084 [details]
hardwaretest.py patch re-raise test exceptions when debugging

Comment 7 Caspar Zhang 2011-05-01 10:05:42 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:
An enhancement has been made that in v7 1.3, when --debug is set, the harness re-raises the exception so that tracebacks would be shown for debugging.

Comment 8 errata-xmlrpc 2011-05-09 16:11:54 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0497.html


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