Bug 690338

Summary: v7 certify --mode auto prompts user
Product: [Retired] Red Hat Hardware Certification Program Reporter: Greg Nichols <gnichols>
Component: Test Suite (harness)Assignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Guangze Bai <gbai>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.3CC: czhang, gbai, rlandry, yshao, yuchen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-09 16:11: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:
Attachments:
Description Flags
hardwaretest.py patch changing --mode auto login in certify command none

Description Greg Nichols 2011-03-24 00:36:55 UTC
Description of problem:

When running v7 certify --mode auto, a user prompt appears when test verification
passes.   v7 should not prompt the user in --mode auto, it should continue testing without the prompt.


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

v7 1.3 R19.

Comment 1 Greg Nichols 2011-03-24 00:40:25 UTC
Created attachment 487169 [details]
hardwaretest.py patch changing --mode auto login in certify command

Comment 2 Greg Nichols 2011-03-24 12:44:53 UTC
*** Bug 690378 has been marked as a duplicate of this bug. ***

Comment 7 Guangze Bai 2011-04-28 12:59:59 UTC
Verified on v7-1.3-37

I tested v7 on a virtual machine created by virt-manager,so the guest communicate with the host via virbr0.

The host IP:  192.168.122.1
The guest IP: 192.168.122.31

On guest system:
# v7 plan --server 192.168.122.1
...
# v7 verify
loaded results /var/v7/results.xml
Tested OS: Red Hat Enterprise Linux Server 5.6 (Tikanga)
Kernel RPM: kernel-2.6.18-256.el5
v7 version 1.3, release 37
saved test plan to /var/v7/results.xml

Network test verified for eth0 at 192.168.122.31

Test Verification Passed
# v7 certify --mode auto
loaded results /var/v7/results.xml
Tested OS: Red Hat Enterprise Linux Server 5.6 (Tikanga)
Kernel RPM: kernel-2.6.18-256.el5
v7 version 1.3, release 37
saved test plan to /var/v7/results.xml

The following tests with tag(s) [certification] are recommended to continue the certification
usb                   None                                
audio                 pci_8086_2415_alsa_playback_0       
network    eth0       net_52_54_00_e0_e5_06               
memory                None                                
video                 pci_1013_b8                         
storage    hda        storage_serial_QM00001              
core                  None                                
info                  None                                
reboot     nfs        None                                
reboot     local      None                                

Network test verified for eth0 at 192.168.122.31

Test Verification Passed
usb                                                        
audio                 pci_8086_2415_alsa_playback_0        
network    eth0       net_52_54_00_e0_e5_06                
memory                                                     
video                 pci_1013_b8                          
storage    hda        storage_serial_QM00001               
core                                                       
info                                                       
reboot     nfs                                             
reboot     local                                           

running usb on 
installing test from /usr/share/v7/tests/usb into /tmp/v7-usb-opmzXW
mkdir -p /tmp/v7-usb-opmzXW
cp -a runtest.sh usb.py Makefile /tmp/v7-usb-opmzXW
chmod a+x ./runtest.sh ./usb.py
Test Parameters: OUTPUTFILE=/var/log/v7/runs/1/usb/output.log DEVICE= TESTSERVER=192.168.122.1 RUNMODE=auto DEBUG=off UDI= 
USB test:
...
(no prompts)

Comment 8 Caspar Zhang 2011-05-01 10:06:29 UTC
This bug does not need a Tech Note because of:

1. A Red Hatter reported it
2. It only happened in an intermediate version.

Comment 9 errata-xmlrpc 2011-05-09 16:11:56 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0497.html