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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Dan Smith-2
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 <[hidden email]>

# HG changeset patch
# User [hidden email]
# 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: [hidden email]

_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xensource.com/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH][XM-TEST] Turn on debugging in 03_network_attach

Ewan Mellor
On Tue, Nov 29, 2005 at 11:38:26AM -0800, Dan Smith wrote:

> 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 <[hidden email]>

Applied, thanks.

Ewan.

_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xensource.com/xen-devel