[bind10-dev] failed systest
Shane Kerr
shane at isc.org
Wed Nov 16 09:29:24 UTC 2011
Michal,
On Wed, 2011-11-16 at 08:23 +0100, Michal 'vorner' Vaner wrote:
> On Wed, Nov 16, 2011 at 12:00:02AM +0000, BIND 10 Tests wrote:
> > http://git.bind10.isc.org/~tester/builder//BIND10-systest/20111115234500-MacOS/logs/systest.out
>
> Looking at the test, it fails for me the same way from time to time as well.
> Especially if I run it soon after running make check. But if I wait a little and
> try again, it passes OK.
>
> Now, what I guess is some port (cmdctl port?) is in the TIME_WAIT state or how is
> it called when the app using a port stops existing but it doesn't want to give
> it to a new app yet. Do you think it might be possible?
This could be.
But looking at cmdctl.py in particular I see:
class SecureHTTPServer(socketserver_mixin.NoPollMixIn,
socketserver.ThreadingMixIn,
http.server.HTTPServer):
'''Make the server address can be reused.'''
allow_reuse_address = True
This should allow reuse, as http.server.HTTPServer is a subclass of
TCPServer, which has that variable for just this purpose:
http://docs.python.org/py3k/library/socketserver.html#socketserver.BaseServer.allow_reuse_address
To be honest, looking at the systest errors I can't really tell what is
going on. :( Hopefully Lettuce will be a bit more clear.
--
Shane
More information about the bind10-dev
mailing list