Bug 682969

Summary: v7 certify test have no return value
Product: [Retired] Red Hat Hardware Certification Program Reporter: chen yuwen <yuchen>
Component: Test Suite (tests)Assignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Guangze Bai <gbai>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.2CC: czhang, gbai, rlandry, ykun, yshao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-09 16:15:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
v7 certify returnvalue patch yuchen: review?

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