[OE-core] [PATCH v2] oe_syslog.py: Handle syslogd/klogd restart race

Richard Purdie richard.purdie at linuxfoundation.org
Sat Jun 22 08:02:32 UTC 2019


On Fri, 2019-06-21 at 15:27 -0400, Jon Mason wrote:
> syslogd and klogd can occasionally take too long to restart, which
> causes tests to fail by starting before the log daemons are
> ready.  To
> work around this problem, poll for up to 30 seconds on the processes
> to
> verify the old ones are killed and the new ones are up and running.
> 
> [YOCTO #13379]
> 
> Signed-off-by: Jon Mason <jdmason at kudzu.us>
> ---
>  meta/lib/oeqa/runtime/cases/oe_syslog.py | 54 +++++++++++++++++++++-
> --
>  1 file changed, 48 insertions(+), 6 deletions(-)

This looks good, thanks. Testing found a small issue:

https://autobuilder.yoctoproject.org/typhoon/#/builders/61/builds/733

(and many other similar failures)

It looks like its trying to run these tests on core-image-minimal which
doesn't have an ssh server and only gets tested over serial.

The tests need to be skipped there too, so there is some markup missing
from one of the tests as a quick guess.

Hopefully easy to reproduce and fix.

Cheers,

Richard



More information about the Openembedded-core mailing list