Skip to contentSkip to conversation

Turn on debugging in 03_network_attach

PATCH Applied Dan Smith 2 participants 2 messages Nov 29, 2005 – Nov 30, 2005

lore
Share & tools
lore

Dan Smith

author
#0 lore raw

PATCH 1/1 Turn on debugging in 03_network_attach

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.

# HG changeset patch
# User [email protected]
# Node ID 446a1e18553ab5857f73120770734904003e9aac
# Parent 450c562b76aab05d8330a2337628b68766e58e6c
Enable console debug dumping so that we submit the oops generated by network-detach to the reporting site.

tools/xm-test/tests/network-attach/03_network_attach_detach_multiple_pos.py +3 -0
diff -r 450c562b76aa -r 446a1e18553a tools/xm-test/tests/network-attach/03_network_attach_detach_multiple_pos.py
@@ -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))
 
Signature · 5 lines
-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: [email protected]

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

Applied
#1 lore raw
Quoted 6 lines · Dan Smith

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.

Applied, thanks.

Ewan.