Bug 918220 - FEAT: fv_* should print guest console log if --debug set
Summary: FEAT: fv_* should print guest console log if --debug set
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Hardware Certification Program
Classification: Retired
Component: Test Suite (tests)
Version: 1.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Greg Nichols
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On: 815595 918221 975372
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-05 18:05 UTC by Rob Landry
Modified: 2013-08-06 17:46 UTC (History)
4 users (show)

Fixed In Version: hwcert-client-1.6.4-R45
Doc Type: Enhancement
Doc Text:
Feature: when running FV_* tests, the output of `virsh console` will be logged in --debug is set. This feature helps user to debug the issues in virtual system if any. Reason: Result (if any):
Clone Of: 815595
Environment:
Last Closed: 2013-08-06 17:46:34 UTC
Embargoed:


Attachments (Terms of Use)
updated patch for hwcert 1.6 (3.05 KB, patch)
2013-04-09 16:26 UTC, Greg Nichols
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:1139 0 normal SHIPPED_LIVE hwcert-client-1.6 bug fix and enhancement update 2013-08-06 21:42:43 UTC

Description Rob Landry 2013-03-05 18:05:42 UTC
+++ This bug was initially created as a clone of Bug #815595 +++

Description of problem:

Current v7 prompts user to observe guest via 'virsh console <domain>'. This is expected to print automatically if --debug is set. 

e.g. # v7 run -t fv_storage --debug low
// guest console output

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

Additional info:
This feature may help debug guest failures such as kernel panic/hang or guest time-out problem because under that circumstance we cannot get v7 log in guest.

--- Additional comment from Guangze Bai on 2012-04-23 22:55:48 EDT ---

Created attachment 579735 [details]
patch for fvtest.py

This patch is draft and should be polished like idiomatic Python.

--- Additional comment from Greg Nichols on 2012-04-25 09:07:15 EDT ---


I'm not sure this is worth doing.   if the debugging session is being attended, then the user can put v7 in the background and run "virsh console v7<arch".

In any case, it's too large a change for 1.5.

--- Additional comment from Caspar Zhang on 2012-10-31 04:06:20 EDT ---

clearing dev flag per comment 2. I think it's a bit late for v7-1.6.4..

--- Additional comment from Rob Landry on 2012-12-13 17:11:55 EST ---

Clearing ack flags, as no release is currently proposed.

Comment 3 Greg Nichols 2013-04-09 16:26:41 UTC
Created attachment 733276 [details]
updated patch for hwcert 1.6

Comment 4 Greg Nichols 2013-04-09 18:28:47 UTC
committed to R45

Comment 8 errata-xmlrpc 2013-08-06 17:46:34 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-1139.html


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