Bug 606755

Summary: v7 unknown command run
Product: [Retired] Red Hat Hardware Certification Program Reporter: Petr Beňas <pbenas>
Component: Test Suite (harness)Assignee: Greg Nichols <gnichols>
Status: CLOSED ERRATA QA Contact: Petr Beňas <pbenas>
Severity: high Docs Contact:
Priority: low    
Version: 1.2CC: pstehlik, qcai, rlandry
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
The v7 program no longer fails with the "unknown command: run" error message.
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-09-20 12:14:29 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 Petr Beňas 2010-06-22 12:29:11 UTC
Description of problem:
v7 run does not work

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

How reproducible:
always

Steps to Reproduce:
[root@dhcp-29-193 v7]# v7 version
V7 version 1.2, release 7
[root@dhcp-29-193 v7]# v7 plan
loaded results /var/v7/results.xml
Tested OS: Red Hat Enterprise Linux Server 6 (Santiago)
Kernel RPM: kernel-2.6.32-36.el6
v7 version 1.2, release 7
saved test plan to /var/v7/results.xml
[root@dhcp-29-193 v7]# v7 print

Test Plan:
----------------------------------------------------------------
usb                                                        
suspend               computer_power_supply_battery_BAT0   
battery               computer_power_supply_battery_BAT0   
network    wlan1      net_00_1c_bf_6e_a3_c4                
network    eth1       net_00_1e_37_1e_37_82                
fv_network                                                 
fv_storage                                                 
fv_core                                                    
fv_memory                                                  
info                                                       
reboot                                                     
lid                   computer_logicaldev_input_3          
video                 pci_8086_2a02                        
cdrom      sr0        storage_model_DVDRAM_GSA_U10N        
dvd        sr0        storage_model_DVDRAM_GSA_U10N        
storage    sda        storage_serial_HITACHI_HTS723216L9SA60_090714FC1220NCHB23WH 
memory                                                     
audio                 pci_8086_284b_sound_card_0_alsa_playback_1 
cpuscaling 0          acpi_CPU0                            
cpuscaling 1          acpi_CPU1                            
profiler                                                   
core                                                       
pccard                pci_1180_476                         
[root@dhcp-29-193 v7]# v7 run --test info
loaded results /var/v7/results.xml
Tested OS: Red Hat Enterprise Linux Server 6 (Santiago)
Kernel RPM: kernel-2.6.32-36.el6
v7 version 1.2, release 7
saved test plan to /var/v7/results.xml

Running info:
---------------------------------
unknown command: run
  
Actual results:
unknown command: run

Expected results:
test is executed

Additional info:

Comment 1 Rob Landry 2010-06-28 14:39:18 UTC
*** Bug 608538 has been marked as a duplicate of this bug. ***

Comment 2 Greg Nichols 2010-07-06 14:49:56 UTC
A work-around appears to be the use of the --debug option.

Try:

v7 run --test info --debug low

Comment 3 Greg Nichols 2010-07-06 15:23:21 UTC
Fixed via https://fedorahosted.org/v7/changeset/550 (the last change at the end adds some exception handling.)

Comment 7 errata-xmlrpc 2010-09-20 12:14:29 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-2010-0702.html

Comment 8 Jaromir Hradilek 2010-09-21 12:58:08 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
The v7 program no longer fails with the "unknown command: run" error message.