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

2019-06-22 Thread Jon Mason
On Sat, Jun 22, 2019 at 4:08 AM Richard Purdie wrote: > > 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

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

2019-06-22 Thread Richard Purdie
On Sat, 2019-06-22 at 09:12 +0100, Richard Purdie wrote: > On Sat, 2019-06-22 at 09:08 +0100, Richard Purdie wrote: > > 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

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

2019-06-22 Thread Richard Purdie
On Sat, 2019-06-22 at 09:08 +0100, Richard Purdie wrote: > 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

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

2019-06-22 Thread Richard Purdie
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

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

2019-06-22 Thread Richard Purdie
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

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

2019-06-21 Thread Jon Mason
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]