Bug 1024514

Summary: hwcert-backend won't skip debug warning prompt in --mode auto
Product: [Retired] Red Hat Hardware Certification Program Reporter: Greg Nichols <gnichols>
Component: Test Suite (harness)Assignee: Greg Nichols <gnichols>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.7.0CC: bbrock, qcai, rlandry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hwcert-client 1.7.0-20131119.1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1034496 (view as bug list) Environment:
Last Closed: 2016-07-05 17:51:44 UTC Type: Bug
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: 1016295    
Attachments:
Description Flags
harness.py patch to skip debug warning prompt in when enabling the debug mode
none
harness.py patch v3 to skip debug warning prompt in when enabling the debug mode gnichols: review+

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