[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH][XM-TEST] Turn on debugging in 03_network_attach


  • To: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Dan Smith <danms@xxxxxxxxxx>
  • Date: Tue, 29 Nov 2005 11:38:26 -0800
  • Delivery-date: Tue, 29 Nov 2005 19:38:21 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

This patch turns on verbose console debugging for the
03_network_attach test, which exposes the kernel Oops that happens in
the DomU when a network-detach is performed.  The console messages,
with the Oops, will be included in the submitted reports.

Signed-off-by: Dan Smith <danms@xxxxxxxxxx>
# HG changeset patch
# User dan@xxxxxxxxxxxxxxxxxxxxxxxxxxx
# Node ID 446a1e18553ab5857f73120770734904003e9aac
# Parent  450c562b76aab05d8330a2337628b68766e58e6c
Enable console debug dumping so that we submit the oops generated by
network-detach to the reporting site.

diff -r 450c562b76aa -r 446a1e18553a 
tools/xm-test/tests/network-attach/03_network_attach_detach_multiple_pos.py
--- 
a/tools/xm-test/tests/network-attach/03_network_attach_detach_multiple_pos.py   
    Tue Nov 29 13:37:24 2005
+++ 
b/tools/xm-test/tests/network-attach/03_network_attach_detach_multiple_pos.py   
    Tue Nov 29 18:04:56 2005
@@ -24,6 +24,9 @@
 # Attach a console to it
 try:
     console = XmConsole(domain.getName(), historySaveCmds=True)
+    # network-detach is crashing, so we enable console debugging
+    # for now, so that reports include the oops
+    console.debugMe = True
 except ConsoleError, e:
     FAIL(str(e))
 
-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms@xxxxxxxxxx
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.