]> code.ossystems Code Review - openembedded-core.git/commit
oe_syslog.py: Handle syslogd/klogd restart race
authorJon Mason <jdmason@kudzu.us>
Tue, 25 Jun 2019 16:06:58 +0000 (12:06 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 27 Jun 2019 11:20:24 +0000 (12:20 +0100)
commitdc73872b828ea271678fa624c15199364a5cba9e
treee1b2e809e7563001ca9d4bf5286991e59d7b0968
parentae1414fcbe41a70a56021c4d240976dae0adad33
oe_syslog.py: Handle syslogd/klogd restart race

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.
Similarly, add checks for rsyslogd and systemd-journald to possibly
catch issues with those daemons.

[YOCTO #13379]

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/runtime/cases/oe_syslog.py