[bind10-dev] failed systest
Shane Kerr
shane at isc.org
Fri Aug 12 20:15:13 UTC 2011
Jeremy,
On Fri, 2011-08-12 at 11:12 -0500, Jeremy C. Reed wrote:
> "/b/work/BIND10-systest/20110812084501-MacOS/build/src/bin/msgq/b10-msgq",
> line 344, in __send_data
> return sock.send(data)
> socket.error: [Errno 32] Broken pipe
msgq should be able to handle errors in send.
I guess we need to wrap sock.send and catch socket errors. This
particular bug comes from a slight misunderstanding of the API (probably
expecting C-like behavior with errors returned, instead of exceptions
being raised).
Some thoughts:
* We should probably fix this in the next sprint, as it's quite
simple.
* We should probably *not* fix this "properly", as that would mean
adding tests for this, and msgq is 99.9% untested, and msgq is
going away.
* This is, actually, another good reason msgq should go away.
I'll make a ticket for this on Monday, unless there are objections (or
if someone else makes it first)...
--
Shane
More information about the bind10-dev
mailing list