Bug 400431

Summary: --udi option disables or enables all tests
Product: [Retired] Red Hat Hardware Certification Program Reporter: Greg Nichols <gnichols>
Component: Test Suite (harness)Assignee: Greg Nichols <gnichols>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 5CC: shengliang.lv
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-12-19 15:17:11 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 Greg Nichols 2007-11-27 01:13:27 UTC
Description of problem:

The --udi option when used with the "hts plan --enable" or "hts plan --disable"
command disables/enables all tests.

HTS 5.1 Version R13

Comment 1 Greg Nichols 2007-11-27 01:34:58 UTC
Fixed R14

Comment 2 Greg Nichols 2007-11-27 20:47:25 UTC
*** Bug 401721 has been marked as a duplicate of this bug. ***

Comment 3 Shengliang Lv 2007-11-28 00:34:14 UTC
When will we get R14?

Comment 5 Satyabrata Maitra 2007-12-18 11:20:59 UTC
Hi Greg
I tried this option for hts-5.1-18.el5 on i386.
Tried command hts plan --uid --enable or --disable.
Is it the right command to execute? bcoz, with --disable option, the test still
run, as I observed with the command hts certify --test core.

Please inform the exact test steps and command to follow step by step, if possible.
When this command to execute, after creating plans, or later? pls inform.

Comment 6 Satyabrata Maitra 2007-12-18 11:24:17 UTC
sorry typo mistake - --uid/--udi in above comment.

And by the way..
What is the argument to pass after --udi option? Pls inform

Comment 7 Greg Nichols 2007-12-18 14:31:30 UTC
1) The --test option will override any disabled tests.

2) To test the --disable option, first, disable some tests, then  run "hts
certify" to verify that the disabled tests are not run.

3) The value of the --udi parameter should be the UDI of the device with the
test to be disabled.  These can be seen in the output of "hts print --report plan".

Comment 8 Satyabrata Maitra 2007-12-19 09:45:46 UTC
Tested this bug on i386 arch with RHEL5.1-Server.

This bug is Fixed in the proposed version of hts. 
Step Followed :-
1. disable a particular test with the command : hts plan --disable --test
network --udi eth0
2. hts certify

This command disabled the network test. Other planned tests run as usual. Verified.

Version of the component tested :-
hts-5.1-18.el5

Greg, Thanks for your URLs. :)