Bug 682969 - v7 certify test have no return value
Summary: v7 certify test have no return value
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (tests)
Version: 1.2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact: Guangze Bai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-08 06:54 UTC by chen yuwen
Modified: 2015-02-08 21:36 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
In v7 1.2, "v7 certify" command did not return any value even when executed successfully. This issue has been fixed in v7 1.3, now "v7 certify" command return zero when run successfully.
Clone Of:
Environment:
Last Closed: 2011-05-09 16:15:12 UTC


Attachments (Terms of Use)
v7 certify returnvalue patch (774 bytes, patch)
2011-03-08 06:54 UTC, chen yuwen
yuchen: review?
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 chen yuwen 2011-03-08 06:54:05 UTC
Created attachment 482845 [details]
v7 certify returnvalue patch

Description of problem:
v7 certify test, specifically function doCertify of hardwaretest.py, have no return value.
As a result, v7 certify always fail in beaker.

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

How reproducible:
always

Steps to Reproduce:
1. submit a job of v7 certify to beaker, it fail
2. or run manually: v7 certify, it return 1
3.
  
Actual results:
FAIL

Expected results:
PASS

Additional info:

Comment 1 Greg Nichols 2011-03-11 13:08:11 UTC
The patch looks good.

Comment 5 Caspar Zhang 2011-05-01 10:00:03 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:
In v7 1.2, "v7 certify" command did not return any value even when executed successfully. This issue has been fixed in v7 1.3, now "v7 certify" command return zero when successfully run.

Comment 6 Caspar Zhang 2011-05-01 10:00:16 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-In v7 1.2, "v7 certify" command did not return any value even when executed successfully. This issue has been fixed in v7 1.3, now "v7 certify" command return zero when successfully run.+In v7 1.2, "v7 certify" command did not return any value even when executed successfully. This issue has been fixed in v7 1.3, now "v7 certify" command return zero when run successfully.

Comment 7 errata-xmlrpc 2011-05-09 16:15:12 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.