report: bzr selftest hangs on win32

John Arbash Meinel john at arbash-meinel.com
Wed Sep 20 16:19:15 BST 2006


Alexander Belchenko wrote:
> bzr.dev revno 2022 frozen for 0.11 release.
> 
> Today I ran selftest on my win32 box.
> 
> The selftest hang on test that name ends with
> '..._transport.WritableEndToEndTests.test_get_error_enoent'.

A test case that hangs is definitely a big issue. The test suite should
always complete, even if things fail.

...

> Traceback (most recent call last):
>   File "E:\Python24\lib\threading.py", line 442, in __bootstrap
>     self.run()
>   File "E:\Python24\lib\threading.py", line 422, in run
>     self.__target(*self.__args, **self.__kwargs)
>   File "D:\Bazaar\sandbox\bzr.dev\bzrlib\transport\smart.py", line 306,
> in serve
>     while self._serve_one_request() != False:
>   File "D:\Bazaar\sandbox\bzr.dev\bzrlib\transport\smart.py", line 284,
> in _serve_one_request
>     req_args = self._recv_tuple()
>   File "D:\Bazaar\sandbox\bzr.dev\bzrlib\transport\smart.py", line 268,
> in _recv_tuple
>     return _recv_tuple(self._in)
>   File "D:\Bazaar\sandbox\bzr.dev\bzrlib\transport\smart.py", line 172,
> in _recv_tuple
>     req_line = from_file.readline()
>   File "E:\Python24\lib\socket.py", line 340, in readline
>     data = self._sock.recv(self._rbufsize)
> error: (10035, 'The socket operation could not complete without blocking')
> 
> 
> For me hang of selftest is a really big regression from 0.10 on win32.
> 
> -- 
> Alexander


Odd that it complains in this way, considering I think we actually
*want* blocking I/O. Are we supposed to open the socket handles in a
different way on win32 to make them block rather than raising an exception?

John
=:->

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060920/1f3f94f4/attachment.pgp 


More information about the bazaar mailing list