<div dir="ltr">Hi Will,<div><br></div><div>The timeout is implemented in the worker side. There is no signal sent to the master telling that the command timedout.</div><div><br></div><div>To my opinion, this is a shame, and I would expect that a timeout of a step should put the step in EXCEPTION (which is buildbot's equivalent to Jenkins unstable results) meaning that the build result cannot be decided.</div><div><br></div><div>Fixing it is not too easy as there are change needed in the worker to signal the timeout, and there is a need to keep the support for old workers.</div><div><br></div><div>You can workaround it with a logobserver by looking at the string "<span style="color:rgb(24,54,145);font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre">c</span><span style="color:rgb(24,54,145);font-family:consolas,"liberation mono",menlo,courier,monospace;font-size:12px;white-space:pre">ommand timed out:"</span></div><div>as you can see at <a href="https://github.com/buildbot/buildbot/blob/master/worker/buildbot_worker/runprocess.py#L781">https://github.com/buildbot/buildbot/blob/master/worker/buildbot_worker/runprocess.py#L781</a></div><div><br></div><div>HTH</div><div>Regards,</div><div>Pierre</div></div><br><div class="gmail_quote"><div dir="ltr">Le jeu. 1 déc. 2016 à 00:25, Will Rosecrans <<a href="mailto:wrosecrans@gmail.com">wrosecrans@gmail.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">So, I have a step that sometimes times out.  When it fails, we usually look at a summary log and see "test XYZ failed", etc.  But when there is a timeout, the summary is empty or incomplete and we have to look at the full log, and see that it ends with a message about the timeout, and it's kind of a pain. and easy to miss.<div class="gmail_msg"><br class="gmail_msg"></div><div class="gmail_msg">So, how do I detect that a step times out?  I would like to do something like either a step that can declare that the previous step timed out, or a subclass of the ShellCommand step I am using to run the tests that will change it's description based on how it failed.  Unfortunately, I can't find anything about a step that indicates clearly that the reason it failed was a timeout rather than the shell command returned nonzero.  It all just results in "FAILED" status.  What's the best way to check for it?  I am using an older Buildbot v0.8.8 because I support some older infrastsructure.</div></div>
_______________________________________________<br class="gmail_msg">
users mailing list<br class="gmail_msg">
<a href="mailto:users@buildbot.net" class="gmail_msg" target="_blank">users@buildbot.net</a><br class="gmail_msg">
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a></blockquote></div>