Commit Graph
8 Commits
Author SHA1 Message Date
emellor@leeni.uk.xensource.com b2538b1c49 Change the console handling, to remove the loop and timeout if a console fails
to respond first time.  For restored and unpaused domains there is no need for
the console to output data, so we cannot use this as a way to detect the
liveness of a console.  Instead, a command must always be sent to the console,
which means that this failure can only be detected once the constructor of the
Console class has returned successfully.  The __chewall loop still remains, in
order to detect runaway consoles and to clear out previous data from the
console before executing commands, but we no longer treat failure of that
method to read data as a failure of the console itself.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-27 01:06:20 +00:00
dan@guaranine.beaverton.ibm.com 0dc1cf094a Make test 04_memset detect bug #380 and restart the console daemon.
This should allow the rest of the tests to run without reporting
failure because this test killed the console system.
2005-11-17 11:56:13 +01:00
danms@us.ibm.com 44631ace40 Reduce the time required to start xm-test domains by allowing the console
to retry connecting to the DomU multiple times.  A polling approach instead
of a wait-and-hope-it-works approach.
2005-11-15 16:07:44 +01:00
emellor@leeni.uk.xensource.com 4bfcb7baff Various chmod a+x.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-10 12:00:09 +01:00
danms@us.ibm.com c997e4cd9c Remove semicolons from Console.py. It's a habit. 2005-11-10 11:47:27 +01:00
emellor@leeni.uk.xensource.com 4d59fe8300 This patch prevents the xm-test console library from duplicating the
debugging output, when it's turned on.  This just makes it easier to
read.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-09 12:39:38 +01:00
emellor@leeni.uk.xensource.com 44813a39b7 1. Set the UID and EUID of the process when trying to switch to a
non-root user.
2. Better handle the debug-printing inside the console

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-08 12:00:23 +01:00
emellor@leeni.uk.xensource.com 3ec891fe7b Wholesale import of xm-test 0.4.0.
This is not yet integrated with the rest of the Xen build system.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-07 12:36:16 +01:00