[igt-dev] [PATCH i-g-t 2/2] runner: Don't wait forever for processes to die

Petri Latvala petri.latvala at intel.com
Tue Dec 3 10:58:31 UTC 2019


On Tue, Dec 03, 2019 at 10:53:51AM +0000, Chris Wilson wrote:
> Quoting Petri Latvala (2019-12-03 10:44:57)
> > While the originally written timeout for process killing (2 seconds)
> > was way too short, waiting indefinitely is suboptimal as well. We're
> > seeing cases where the test is stuck for possibly hours in
> > uninterruptible sleep (IO). Wait a fairly longer selected time period
> > of 2 minutes, because even making progress for that long means the
> > machine is in bad enough state to require a good kicking and booting.
> 
> I'd still vote for a fast exit if we know we have oopsed. No point
> waiting 2 minutes for children we know can't die.

Yes, good point. v2 coming up.


-- 
Petri Latvala


More information about the igt-dev mailing list