Bug 222454

Summary: HTS: Enhancement: support for a list of tests with --test option
Product: [Retired] Red Hat Hardware Certification Program Reporter: Garry Wong <garry.wong>
Component: Test Suite (harness)Assignee: Greg Nichols <gnichols>
Status: CLOSED CURRENTRELEASE QA Contact: Greg Nichols <gnichols>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: hcp-admin, wwlinuxengineering
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-13 21:26:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Garry Wong 2007-01-12 16:43:31 UTC
Description of problem:

If we ran cert test SEPARATELY, is there a command to print all the test 
results at once after we completed all cert tests.   

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

rhel5 hts version 5 release 15

How reproducible:
1. Install rhel5 RC onto system under test
2. Install rhel5 RC onto network test server
3. Install rhel5 hts version 5 release 15 test suite onto both system under 
test and network test server (with IPV4 status ip address 10.1.1.10)
4. On network test server ---> hts  server start
5. On system under test ----> hts plan ----> hts certify --test network --
server 10.1.1.10
6. After network test completed ----> hts print --last ----> showing network 
and info test pass
7. On system under test -----> hts certify --test cdrom 
8. After cdrom test completed ----> hts print --last ---> showing cdrom and 
info test pass

Question: 

1. Is there a command to show both network and cdrom test results at once by 
using hts print ?
2. Is there a command to run 2 or 3 tests together such as "hts certify --test 
network cdrom video" ?


  
Actual results:


Expected results:


Additional info:

Comment 1 Greg Nichols 2007-01-12 21:02:15 UTC
(In reply to comment #0)

> Question: 
> 
> 1. Is there a command to show both network and cdrom test results at once by 
> using hts print ?

Yes, "hts print" or "hts print --report" full prints information about
all test runs.

> 2. Is there a command to run 2 or 3 tests together such as "hts certify --test 
> network cdrom video" ?
> 

Currently, "hts plan --test <testname> --disable" can be used
to disable tests - invoked once for each test to be disabled.  Using
this approach, all undesired tests may be disabled from the test plan.

We'll consider the enhancement you suggest for the next version of
HTS (5.1).

- Thanks!


Comment 2 Greg Nichols 2007-02-06 14:48:25 UTC
Added for R24.

The syntax if for the --test or --udi option to appear multiple times, i.e.:

hts print --test cdrom --test network



Comment 3 Garry Wong 2007-02-13 21:21:12 UTC
Verified working with R24.

Thanks,