report: bzr selftest hangs on win32
Robert Collins
robertc at robertcollins.net
Thu Sep 21 03:21:47 BST 2006
On Wed, 2006-09-20 at 10:19 -0500, John Arbash Meinel wrote:
> 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?
Its really important we fix this, or we'll need to pull the smart
transport from 0.11.
Alexander : whats your development environment [what do I need to do to
my vanilla windows XP machine to duplicate your results]? I'll debug
this on my Wintendo tomorrow if you haven't got a patch before my
morning.
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060921/5e431fd1/attachment.pgp
More information about the bazaar
mailing list