On 7 November 2011 16:15, Paul Larson paul.larson@linaro.org wrote:
On Mon, Nov 7, 2011 at 10:56 AM, David Gilbert david.gilbert@linaro.org wrote:
Sure; it's the one in comment #1 of : https://bugs.launchpad.net/ubuntu/+source/linux-linaro/+bug/884676
It's basically a run and as long as it completes within the timeout (and ends with the right line of text) then it passes.
So after an hour, it either exits with the proper text, or just hangs? We can handle that I think, but it would be nice if we could make it a bit more friendly. Is a 1 hour timeout really needed to reproduce the bug in question?
No, a 5minute timeout on a Panda is fine.
Can we have it send a signal and shut itself down with an error message on exit once it hits the timeout?
I could probably add something like an alarm() call or the like - however, it would probably be good to have a generic wrapper like that in Lava, since you can never trust a test to die sanely - especially in this case since what we're really triggering is a kernel bug.
Dave