| To: | xen-devel@xxxxxxxxxxxxxxxxxxx, dfbp@xxxxxxxxxx, aliguori@xxxxxxxxxx, ewan@xxxxxxxxxxxxx |
|---|---|
| Subject: | [Xen-devel] [PATCH][XM-TEST] Fix bugzilla # 674 by changing the xm-test Console.py to wait for the command prompt. |
| From: | Harry Butterworth <harry@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> |
| Date: | 2006年6月19日 17:36:53 +0100 |
| Delivery-date: | 2006年6月19日 09:37:18 -0700 |
| Envelope-to: | www-data@xxxxxxxxxxxxxxxxxx |
| List-help: | <mailto:xen-devel-request@lists.xensource.com?subject=help> |
| List-id: | Xen developer discussion <xen-devel.lists.xensource.com> |
| List-post: | <mailto:xen-devel@lists.xensource.com> |
| List-subscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
| List-unsubscribe: | <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
| Sender: | xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
On Fri, 2006年06月16日 at 19:49 +0100, Harry Butterworth wrote: > Lots of xm-test tests are failing with console timeouts on some machines > at the moment. I reproduced the problem and found it was due to some > probing activity in the boot process of the -xen kernel. The behaviour > of the current xm-test code is to assume that the boot process has > finished after performing three one-second waits for input---when the > probing activity introduces more than three one-second delays the test > suite breaks. > > The patch below changes the test suite to wait for the command prompt > before attempting to submit a command. The timeout is increased from 3 > seconds to 3 minutes but the wait exits early when the prompt is found > so the test suite doesn't take any longer to run. This patch has now had adequate testing and David Barrera has shown that it fixes a substantial chunk of the current breakage in xm-test. Signed-off-by Harry Butterworth <butterwo@xxxxxxxxxx> Please apply.
Attachment:
console-timeout.patch
Description: Text Data
_______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Xen-devel] [PATCH] Blktap: Userspace file-based image support. (RFC) , Andrew Warfield |
|---|---|
| Next by Date: | Re: [Xen-devel] [PATCH] Blktap: Userspace file-based image support. (RFC) , NAHieu |
| Previous by Thread: | Re: [Xen-devel] [PATCH][XM-TEST] Fix bugzilla # 674 by changing the xm-test Console.py to wait for the command prompt. , David F Barrera |
| Next by Thread: | [Xen-devel] Re: [Xen-changelog] [xen-unstable] [XEN] New memory_op XENMEM_exchange. Allows atomic , Hollis Blanchard |
| Indexes: | [Date] [Thread] [Top] [All Lists] |