<br><div class="gmail_quote">On Mon Dec 01 2014 at 3:19:09 PM Vince Harron <<a href="mailto:vharron@google.com">vharron@google.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px">Currently when the tests lock up on the build server, the build script kills the tests and gets *no* test results.  That means that if a bug goes in that causes a test to hang, we don't get results for *any* tests.</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Killing the individual test causes it to show up as a FAIL (Chaoren might change this to show result as "TIMEOUT")</span></div></div></blockquote><div> </div><div>I see, this wasn't clear before.  I understood that the bots would already kill individual tests that hanged, and not fail the entire test suite.<br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div>It's not really about what tests are hanging today, it's that some day a test will hang.  When that happens, do we want to lose all test results as a result?  Look at the Linux buildbot history.  Many runs have no test results at all.  Which test caused the lockup?  I have no idea.</div></div><div dir="ltr"><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">> Both of those options are really undesirable in my opinion.</span><br></div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div><div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px">We can make the test timeout be an OSX/Linux thing only for now...</span></div></div></blockquote><div>How bad would it be to just use psutil?  We could integrate it with the build so that it builds psutil when you build lldb, and deploys it to the same place that lldb's python module goes so that it's automatically in the PYTHONPATH.</div><div><br></div><div>Eventually we're going to need this on other platforms too, and it benefits everyone if we can share code instead of implementing things differently on each platform.</div></div>