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

2019-06-21 Thread richard . purdie
On Fri, 2019-06-21 at 15:26 -0400, Jon Mason wrote: > On Fri, Jun 21, 2019 at 1:44 PM Jon Mason wrote: > > On Fri, Jun 21, 2019 at 12:58 PM < > > richard.pur...@linuxfoundation.org> wrote: > > > > > > I realise there is slightly more overhead but it might give us > > > more > > > chance of

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

2019-06-21 Thread Jon Mason
On Fri, Jun 21, 2019 at 1:44 PM Jon Mason wrote: > > On Fri, Jun 21, 2019 at 12:58 PM wrote: > > > > On Fri, 2019-06-21 at 12:39 -0400, Jon Mason wrote: > > > On Fri, Jun 21, 2019 at 12:14 PM Richard Purdie > > > wrote: > > > > On Fri, 2019-06-21 at 11:42 -0400, Jon Mason wrote: > > > > > > > >

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

2019-06-21 Thread Jon Mason
On Fri, Jun 21, 2019 at 12:58 PM wrote: > > On Fri, 2019-06-21 at 12:39 -0400, Jon Mason wrote: > > On Fri, Jun 21, 2019 at 12:14 PM Richard Purdie > > wrote: > > > On Fri, 2019-06-21 at 11:42 -0400, Jon Mason wrote: > > > > > > > Thanks, I think this is reasonable however I think we may need to

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

2019-06-21 Thread richard . purdie
On Fri, 2019-06-21 at 12:39 -0400, Jon Mason wrote: > On Fri, Jun 21, 2019 at 12:14 PM Richard Purdie > wrote: > > On Fri, 2019-06-21 at 11:42 -0400, Jon Mason wrote: > > > > > Thanks, I think this is reasonable however I think we may need to > > make > > the above a function and then call it

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

2019-06-21 Thread Jon Mason
On Fri, Jun 21, 2019 at 12:14 PM Richard Purdie wrote: > > On Fri, 2019-06-21 at 11:42 -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

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

2019-06-21 Thread Richard Purdie
On Fri, 2019-06-21 at 11:42 -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] 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]