[Buildbot-devel] Slave not recognizing process end

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Mon Jan 4 00:08:20 UTC 2010


On 2 Jan, 07:41 pm, dustin at zmanda.com wrote:
>On Sat, Jan 2, 2010 at 12:51 PM, "Martin v. Löwis" <martin at v.loewis.de> 
>wrote:
>>Restarting the slave would work around the problem, however, since 
>>this
>>happens often, I would like to fix it for good.
>>
>>Where should I look?
>
>The code that's calling signalProcess('KILL') should handle that 
>exception.
>
>The exception is present all the way back to Twisted-2.5.0, so it
>should be safe to catch.

Why handle the exception rather than changing the code to not try to 
kill processes after they've already exited?  There is no race 
condition.  It's possibly to do this correctly.

Jean-Paul




More information about the devel mailing list