<div dir="ltr">Hi Neil,<div><br></div><div>Thank you for the anecdote :)</div><div><br></div><div>><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;line-height:1.5">Then again, I don't think buildbot is</span></div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">exactly designed to handle the vagaries of being reconfigured as often</span><br style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif"><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">as ours is, or having its database cleared as often.</span><br style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif"><div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif"><br></span></div><div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">Well it is designed to be reconfigured as often as possible. </span></div><div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">Having the database cleared is however not part of the deal :)</span></div><div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif"><br></span></div><div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">I am not sure of a scenario were master will succeed to start but not have the slave configuration loaded yet, and a sqlite remove which fixes the problem.</span></div><div><font color="#212121" face="helvetica neue, helvetica, arial, sans-serif">Would have been a good idea to keep that sqlite for forensics. </font><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;line-height:1.5">You might indeed have an sqlite corruption, which we could detect and try provide a restore.</span></div><div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif;line-height:1.5"><br></span></div><div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">What is sure is that it is not recommended to use sqlite for bigger prod like you have.</span></div><div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif"><br></span></div><div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">Regards</span></div><div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">Pierre</span></div></div><br><div class="gmail_quote"><div dir="ltr">Le lun. 19 sept. 2016 à 17:36, Neil Gilmore <<a href="mailto:ngilmore@grammatech.com">ngilmore@grammatech.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Good morning everyone,<br>
<br>
Since this isn't really the place for bug reports, consider this an<br>
anecdote.<br>
<br>
When I came in this morning, there was a message that buildbot's UI was<br>
unresponsive, which it was. Looking at the most recent twistd.log, the<br>
only thing I was was that the irc client had been bouncing up and down<br>
for the last 8 hours or so. Buildbot stop failed to stop the process.<br>
Killing it did. But restart wasn't very successful -- every worker was<br>
an 'unauthorized login'. Again buildbot stop failed to stop the process,<br>
so I killed it again. Deleted state.sqlite, ran buildbot upgrade-master,<br>
and started again. This appears to have worked.<br>
<br>
One problem we see when we have to do this is that worker indexes shift<br>
around when we have to delete the database. This makes any URLs in build<br>
emails that indexed into the previous database invalid. Not the worst<br>
problem ever, but inconvenient. Then again, I don't think buildbot is<br>
exactly designed to handle the vagaries of being reconfigured as often<br>
as ours is, or having its database cleared as often.<br>
<br>
Our current production system has 0.9.0rc1 for the master, and mostly<br>
the same for workers. Twisted is 16.2.0. The only changes I know of are<br>
a couple custom build steps we have in shell.py, a fix for a problem<br>
with __cmp__() in ComparableMixin (we'd been somehow getting a set in an<br>
object, and __cmp__() would fail during some reconfigs), and a slight<br>
change to the UI to always show the last 4 builds instead of the default<br>
behavior.<br>
<br>
When we do multi-master, it'll be rc2, at least to start. The troubles<br>
I'm having with that currently are not buildbot problems.<br>
<br>
As always, thank you for your time.<br>
<br>
Neil Gilmore<br>
<a href="http://grammatech.com" rel="noreferrer" target="_blank">grammatech.com</a><br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@buildbot.net" target="_blank">users@buildbot.net</a><br>
<a href="https://lists.buildbot.net/mailman/listinfo/users" rel="noreferrer" target="_blank">https://lists.buildbot.net/mailman/listinfo/users</a><br>
</blockquote></div>