Bug 1024514 - hwcert-backend won't skip debug warning prompt in --mode auto
Summary: hwcert-backend won't skip debug warning prompt in --mode auto
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (harness)
Version: 1.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks: 1016295
TreeView+ depends on / blocked
 
Reported: 2013-10-29 20:09 UTC by Greg Nichols
Modified: 2016-07-05 17:51 UTC (History)
3 users (show)

Fixed In Version: hwcert-client 1.7.0-20131119.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1034496 (view as bug list)
Environment:
Last Closed: 2016-07-05 17:51:44 UTC
Embargoed:


Attachments (Terms of Use)
harness.py patch to skip debug warning prompt in when enabling the debug mode (971 bytes, patch)
2013-11-08 07:26 UTC, Dong Zhu
no flags Details | Diff
harness.py patch v3 to skip debug warning prompt in when enabling the debug mode (1.05 KB, patch)
2013-11-13 03:36 UTC, Dong Zhu
gnichols: review+
Details | Diff

Description Greg Nichols 2013-10-29 20:09:31 UTC
Description of problem:

When hwcert-backend is run with option --mode auto --debug low, the following results:

Warning: Test runs in debug mode are invalid for certification.
The following tests will be skipped: suspend, info
Do you wish to continue? (y|n) 

hwcert-backend should skip this prompt in --mode auto and run the chosen tests as if "y" was chosen.

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

hwcert-backend 1.7.0

Comment 1 Dong Zhu 2013-11-08 07:26:09 UTC
Created attachment 821438 [details]
harness.py patch to skip debug warning prompt in when enabling the debug mode

Comment 4 Dong Zhu 2013-11-13 03:36:20 UTC
Created attachment 823243 [details]
harness.py patch v3 to skip debug warning prompt in when enabling the debug mode

Comment 5 Brian Brock 2013-12-02 19:16:10 UTC
verified in hwcert-client-1.7.0-20131120.el7.noarch

$ hwcert-backend -m --debug low

...

File: /var/hwcert/results.xml is 14 MB
Warning: Test runs in debug mode are invalid for certification.
The following tests will be skipped: info

...

and there is no prompting


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