Bug 782195

Summary: FEAT: v7 certify should only run rtevel and hwlatdetect (and info) on the RT kernel
Product: [Retired] Red Hat Hardware Certification Program Reporter: Rob Landry <rlandry>
Component: Test Suite (harness)Assignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Guangze Bai <gbai>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.5CC: bhu, czhang, davids, gbai, rlandry, williams, yshao
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://fedorahosted.org/v7/
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
A new feature has been added to v7 1.5 that, when executing `v7 certify` command on realtime kernel, only `rteval` `hwlatdetect` and `info` tests will be executed.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-05 21:37:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 767775, 773725, 782193, 918212    
Attachments:
Description Flags
hardwaretest.py patch for filter by "realtime" tag when kernel is RT none

Description Rob Landry 2012-01-16 19:58:42 UTC
Description of problem:

Most of the regular v7 tests are no longer required by the MRT RT certification; as a result the certify command should only run the rt tests on the RT kernel and not all of them by default.  The regular tests should still be planned and run outside of the certify command.


Steps to Reproduce:

1.v7 certify
  

Expected results:

v7 plans the full hardware list as it does today; but the certify command on RT kernels only runs the required tests which is rteval, hwlatdetect and info.

Comment 1 Rob Landry 2012-01-16 19:59:07 UTC
Clark, is there anybody from RT who could help with this?

Comment 3 Greg Nichols 2012-01-30 15:37:07 UTC
Created attachment 558370 [details]
hardwaretest.py patch for filter by "realtime" tag when kernel is RT

Comment 4 David Sommerseth 2012-01-30 16:43:12 UTC
(In reply to comment #3)
> Created attachment 558370 [details]
> hardwaretest.py patch for filter by "realtime" tag when kernel is RT

At a quick glance, this patch makes sense to me.

Comment 5 Clark Williams 2012-01-30 16:55:01 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Created attachment 558370 [details]
> > hardwaretest.py patch for filter by "realtime" tag when kernel is RT
> 
> At a quick glance, this patch makes sense to me.

Agree that this patch makes sense.

We've also added the sysfs entry /sys/kernel/realtime that should only exist on a realtime kernel, so it may be easier for you to test for file existence. That being said I'm not planning on removing the " RT " portion of the uname output so you should be good there.

Comment 12 Caspar Zhang 2012-06-04 07:45:19 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:
A new feature has been added to v7 1.5 that, when executing `v7 certify` command on realtime kernel, only `rteval` `hwlatdetect` and `info` tests will be executed.

Comment 14 errata-xmlrpc 2012-06-05 21:37:00 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