Bug 782229 - FEAT: v7 certify should support component mode
Summary: FEAT: v7 certify should support component mode
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (harness)
Version: 1.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact: Caspar Zhang
URL: https://fedorahosted.org/v7/
Whiteboard:
Depends On:
Blocks: 767775 773756
TreeView+ depends on / blocked
 
Reported: 2012-01-16 21:50 UTC by Rob Landry
Modified: 2013-07-03 07:36 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
An new feature has been added to v7 1.5 that `v7 certify` command now supports component mode, a user can use '--device' and '--udi' options to certify all tests with same device name or udi one-time.
Clone Of:
Environment:
Last Closed: 2012-06-05 21:37:05 UTC


Attachments (Terms of Use)
hardwaretest.py patch to provide component certification command via --device and --udi options (1.75 KB, patch)
2012-01-30 14:49 UTC, Greg Nichols
no flags Details | Diff
certificationtest.py patch to provide device filtering method (1000 bytes, patch)
2012-01-30 14:50 UTC, Greg Nichols
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0711 0 normal SHIPPED_LIVE v7 bug fix and enhancement update 2012-06-06 01:26:37 UTC

Description Rob Landry 2012-01-16 21:50:55 UTC
Description of problem:

"v7 certify --device {foo}" would be useful if it ran all of the relevant device tests.


Expected results:

Most devices are fairly self contained 1 device:1 test (network for example); however cpu's span a series of tests that don't usually take device classes.  This command would allow for a vendor to certify either type based on device instead of system.

This is useful for leverage pool case where a vendor may certify a series of components that are used in multiple systems.  Allowing for this would provide continuity.

Comment 1 Greg Nichols 2012-01-27 15:29:52 UTC
Ideally, "v7 certify --device" would run all the required tests on the device that have not yet passed, while "v7 run --device" runs/reruns all the tests for the device (This already works in v7 1.4).

Are "required" tests also added, per-run: info, suspend (for systems with battery power) ?

Comment 2 Greg Nichols 2012-01-30 14:49:35 UTC
Created attachment 558348 [details]
hardwaretest.py patch to provide component certification command via --device and --udi options

Comment 3 Greg Nichols 2012-01-30 14:50:19 UTC
Created attachment 558349 [details]
certificationtest.py patch to provide device filtering method

Comment 4 Rob Landry 2012-01-30 15:24:52 UTC
(In reply to comment #1)
> Ideally, "v7 certify --device" would run all the required tests on the device
> that have not yet passed, while "v7 run --device" runs/reruns all the tests for
> the device (This already works in v7 1.4).

Makes sense.

> 
> Are "required" tests also added, per-run: info, suspend (for systems with
> battery power) ?

Yes, I think so.

Comment 8 Caspar Zhang 2012-06-04 07:49:47 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 new feature has been added to v7 1.5 that `v7 certify` command now supports component mode, a user can use '--device' and '--udi' options to certify all tests with same device name or udi one-time.

Comment 10 errata-xmlrpc 2012-06-05 21:37:05 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-0711.html


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