qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tests/functional: Convert the kvm_xen_guest avocado test


From: David Woodhouse
Subject: Re: [PATCH] tests/functional: Convert the kvm_xen_guest avocado test
Date: Wed, 18 Dec 2024 23:14:47 +0100
User-agent: Evolution 3.52.3-0ubuntu1

On Wed, 2024-12-18 at 16:54 +0100, Thomas Huth wrote:
> On 18/12/2024 12.48, David Woodhouse wrote:
> > On 18 December 2024 12:32:49 CET, Thomas Huth <thuth@redhat.com> wrote:
> > > Use the serial console to execute the commands in the guest instead
> > > of using ssh since we don't have ssh support in the functional
> > > framework yet.
> > > 
> > > Signed-off-by: Thomas Huth <thuth@redhat.com>
> > 
> > Hm, but serial is lossy and experience shows that it leads to flaky tests 
> > if the guest (or host) misses bytes. While SSH would just go slower.
> 
> I now noticed some issue with the serial console in this test, too.
> Looks like the "Starting dropbear sshd: OK" is not print in an atomic way by 
> the guest, sometimes there are other kernel messages between the ":" and the 
> "OK". It works reliable when removing the "OK" from the string.

Nah, that still isn't atomic; you just got lucky because the race
window is smaller. It's not like serial ports are at a premium; can't
you have a separate port for kernel vs. userspace messages?

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]