report: bzr selftest hangs on win32

Alexander Belchenko bialix at ukr.net
Wed Sep 20 10:23:20 BST 2006


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'.

Failed tests so far:

test_diff.TestDiffFiles.test_external_diff_binary         FAIL         511ms
test_merge_core.MergeTest.test_contents_merge2            FAIL        1973ms
..._transport.SFTPTransportTestRelative.test__remote_path FAIL          29ms
...transport.SSHVendorConnection.test_connection_paramikoERROR        1402ms
...smart_transport.BasicSmartTests.test_server_subprocessERROR           9ms
...art_transport.BasicSmartTests.test_smart_query_versionERROR           9ms
...ransport.TCPClientTests.test_get_client_from_transportERROR           9ms
test_smart_transport.TCPClientTests.test_plausible_url   ERROR          19ms
test_smart_transport.TCPClientTests.test_probe_transport ERROR           9ms


Also there is a bunch of warnings and error messages on stderr:

D:\Bazaar\sandbox\bzr.dev\bzrlib\lockable_files.py:110: UserWarning:
file group LockableFiles(<bzrlib.transport.local.LocalTransport
url=file:///D:/Bazaar/sandbox/bzr.dev/test0000.tmp/test_merge_core.MergeTest.test_contents_merge2/work/merge-testj1iskw/this/.bzr/checkout/>) 

was not explicitly unlocked
   warn("file group %r was not explicitly unlocked" % self)
D:\Bazaar\sandbox\bzr.dev\bzrlib\lockable_files.py:110: UserWarning:
file group LockableFiles(<bzrlib.transport.local.LocalTransport
url=file:///D:/Bazaar/sandbox/bzr.dev/test0000.tmp/test_merge_core.MergeTest.test_contents_merge2/work/merge-testj1iskw/other/.bzr/checkout/>) 

was not explicitly unlocked
   warn("file group %r was not explicitly unlocked" % self)
D:\Bazaar\sandbox\bzr.dev\bzrlib\lockable_files.py:110: UserWarning:
file group LockableFiles(<bzrlib.transport.local.LocalTransport
url=file:///D:/Bazaar/sandbox/bzr.dev/test0000.tmp/test_merge_core.MergeTest.test_contents_merge2/work/merge-testj1iskw/base/.bzr/checkout/>) 

was not explicitly unlocked
   warn("file group %r was not explicitly unlocked" % self)
D:\Bazaar\sandbox\bzr.dev\bzrlib\lockable_files.py:110: UserWarning:
file group LockableFiles(<bzrlib.transport.local.LocalTransport
url=file:///D:/Bazaar/sandbox/bzr.dev/test0000.tmp/test_merge_core.MergeTest.test_contents_merge2/work/merge-testj1iskw/base/.bzr/branch/>) 

was not explicitly unlocked
   warn("file group %r was not explicitly unlocked" % self)
D:\Bazaar\sandbox\bzr.dev\bzrlib\lockable_files.py:110: UserWarning:
file group LockableFiles(<bzrlib.transport.local.LocalTransport
url=file:///D:/Bazaar/sandbox/bzr.dev/test0000.tmp/test_merge_core.MergeTest.test_contents_merge2/work/merge-testj1iskw/base/.bzr/repository/>) 

was not explicitly unlocked
   warn("file group %r was not explicitly unlocked" % self)
D:\Bazaar\sandbox\bzr.dev\bzrlib\lockable_files.py:110: UserWarning:
file group LockableFiles(<bzrlib.transport.local.LocalTransport
url=file:///D:/Bazaar/sandbox/bzr.dev/test0000.tmp/test_merge_core.MergeTest.test_contents_merge2/work/merge-testj1iskw/this/.bzr/branch/>) 

was not explicitly unlocked
   warn("file group %r was not explicitly unlocked" % self)
D:\Bazaar\sandbox\bzr.dev\bzrlib\lockable_files.py:110: UserWarning:
file group LockableFiles(<bzrlib.transport.local.LocalTransport
url=file:///D:/Bazaar/sandbox/bzr.dev/test0000.tmp/test_merge_core.MergeTest.test_contents_merge2/work/merge-testj1iskw/this/.bzr/repository/>) 

was not explicitly unlocked
   warn("file group %r was not explicitly unlocked" % self)
D:\Bazaar\sandbox\bzr.dev\bzrlib\lockable_files.py:110: UserWarning:
file group LockableFiles(<bzrlib.transport.local.LocalTransport
url=file:///D:/Bazaar/sandbox/bzr.dev/test0000.tmp/test_merge_core.MergeTest.test_contents_merge2/work/merge-testj1iskw/other/.bzr/branch/>) 

was not explicitly unlocked
   warn("file group %r was not explicitly unlocked" % self)
D:\Bazaar\sandbox\bzr.dev\bzrlib\lockable_files.py:110: UserWarning:
file group LockableFiles(<bzrlib.transport.local.LocalTransport
url=file:///D:/Bazaar/sandbox/bzr.dev/test0000.tmp/test_merge_core.MergeTest.test_contents_merge2/work/merge-testj1iskw/other/.bzr/repository/>) 

was not explicitly unlocked
   warn("file group %r was not explicitly unlocked" % self)
<bzrlib.transport.smart.SmartStreamServer object at 0x0276D2B0>
terminating on exception (10035, 'The socket operation could not
complete without blocking')
Exception in thread smart-server-child:
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





More information about the bazaar mailing list