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 <th...@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 <th...@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?
smime.p7s
Description: S/MIME cryptographic signature