[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH][XM-TEST] Test for bug #533
On Tue, Feb 14, 2006 at 07:34:24AM -0800, Dan Smith wrote: > This patch adds a test that attempts to create and destroy a domain > 1025 times. Currently, this causes xm to crash after the 1014th cycle > with the following stack trace: The test is bogus and so if the bug. seem you don't close the console fd by calling closeConsole at each loop. > > shared object file: Too many open files that it is basic ulimit behavior (usually 1024 is default configuration) > +# Copyright (C) International Business Machines Corp., 2005 > +# Author: Dan Smith <danms@xxxxxxxxxx> > + > +from XmTestLib import * > + > +COUNT=1025 > + > +for i in range(0,COUNT): > + print "Creating %i of %i..." % (i, COUNT) > + try: > + dom = XmTestDomain(name="massive-%i" % i) > + dom.start() > + console = XmConsole(dom.getName()) > + except DomainError, e1: > + FAIL("Failed to start domain %i" % i) > + except ConsoleError, e2: > + FAIL("Failed to attach console to domain %i" % i) try to add here: + console.closeConsole() > + dom.destroy() and report back if it doesn't fix the problem. [resent: forgot to CC xen-devel] -- Vincent Hanquez _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |