Bug 220257

Summary: The enable/disable test option does not work properly after the first run.
Product: [Retired] Red Hat Hardware Certification Program Reporter: Chris Moore <cmoore>
Component: Test Suite (harness)Assignee: Greg Nichols <gnichols>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
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-01-31 21:28:56 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 Chris Moore 2006-12-19 22:30:34 UTC
Description of problem:
The enable/disable test option does not work properly after the first run.

The user cannot change a test’s enable/disable status after the kit has run
once, no matter if that test was run or not.

Version-Release number of selected component (if applicable):
HTS 5 release 14

How reproducible:  This is an example using the virt test

  hts discovery
  hts plan
  hts print
disable Test:
  hts plan --disable --test=virt
Try and run test, when you shouldn’t be able to  (it only runs INFO, which is
correct)
  hts certify --test=virt
Enable Test:
  hts plan --enable --test=virt
run the test again to show that is truly disabled:
  hts certify --test=virt

  
Actual results:

Never enables test, nor runs the test.

Expected results:

It should enable the test.

Additional info:

The testkit seems to be grabbing the enable/disable parameter from the
/var/hts/results.xml file, instead of from the /var/hts/config.xml file.  The
config.xml displays what it is supposed to run, while the results.xml file
displays what was previously run.    

The “disabled=’true’” entry in the results.xml must be deleted for the test to
be enabled.

Comment 1 Greg Nichols 2007-01-09 20:43:11 UTC
Fixed R16.

Comment 2 Greg Nichols 2007-01-23 16:18:07 UTC
Please verify this fix.

Comment 3 Chris Moore 2007-01-31 22:14:53 UTC
Fixed.