win32 selftest results (was: Re: win32: windows strip off last space from filename)
Alexander Belchenko
bialix at ukr.net
Sun Jul 2 07:39:52 BST 2006
John Arbash Meinel пишет:
> So after this fix, the test suite should pass on win32. Is it passing
> for you Alexander?
I pull your branch up to revno.1821.
And there is failing tests.
Without plugins:
Ran 2790 tests in 1335.062s
FAILED (failures=13, errors=6)
With plugins (with my win32symlinks plugin that provide fake symlinks
support):
Ran 2819 tests in 1472.421s
FAILED (failures=17, errors=8)
As you can see something broken with symlinks support. Because this
plugin is my child then I'll investigate it myself.
But in standard (w/o plugins) case here is list of failed tests:
test_transport_implementations.TestTransportImplementation.test_copy(FtpServer)
ERROR 219ms
test_transport_implementations.TestTransportImplementation.test_copy_to(FtpServer)
ERROR 266ms
test_transport_implementations.TestTransportImplementation.test_move(FtpServer)
ERROR 94ms
test_transport_implementations.TestTransportImplementation.test_put(FtpServer)
ERROR 108ms
test_transport_implementations.TestTransportImplementation.test_unicode_paths(FakeNFSServer)
FAIL 46ms
test_transport_implementations.TestTransportImplementation.test_unicode_paths(FakeVFATServer)
FAIL 32ms
test_transport_implementations.TestTransportImplementation.test_unicode_paths(HttpServer_PyCurl)
FAIL 62ms
test_transport_implementations.TestTransportImplementation.test_unicode_paths(HttpServer_urllib)
FAIL 62ms
test_transport_implementations.TestTransportImplementation.test_unicode_paths(LocalRelpathServer)
FAIL 62ms
test_transport_implementations.TestTransportImplementation.test_unicode_paths(LocalAbspathServer)
FAIL 30ms
test_transport_implementations.TestTransportImplementation.test_unicode_paths(LocalURLServer)
FAIL 47ms
test_transport_implementations.TestTransportImplementation.test_unicode_paths(ReadonlyServer)
FAIL 31ms
test_transport_implementations.TestTransportImplementation.test_unicode_paths(SFTPAbsoluteServer)
FAIL 93ms
test_transport_implementations.TestTransportImplementation.test_unicode_paths(SFTPHomeDirServer)
FAIL 92ms
test_transport_implementations.TestTransportImplementation.test_unicode_paths(SFTPSiblingAbsoluteServer)
FAIL 110ms
test_merge_core.MergeTest.test_contents_merge2
FAIL 2765ms
test_nonascii.UnicodeFilename.test_platform
FAIL 30ms
...est_reconcile.TestsNeedingReweave.test_reweave_inventory_without_revision_and_ghost(RepositoryFormat7)ERROR
907ms
...st_reconcile.TestsNeedingReweave.test_reweave_inventory_without_revision_reconciler(RepositoryFormat7)ERROR
812ms
I suppose you run selftest without Medusa, so you don't see error in ftp
tests that caused by inability of win32 to rename file if destination
already exists. And during selftest this exceptions printed on the
console (I think it related to ftp server):
Exception in thread Thread-73:
Traceback (most recent call last):
File "C:\Python24\Lib\threading.py", line 442, in __bootstrap
self.run()
File "C:\Python24\Lib\threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\Python24\Lib\asyncore.py", line 196, in loop
poll_fun(timeout, map)
File "C:\Python24\Lib\asyncore.py", line 122, in poll
r, w, e = select.select(r, w, e, timeout)
error: (10038, '\xd1\xe4\xe5\xeb\xe0\xed\xe0
\xef\xee\xef\xfb\xf2\xea\xe0 \xe2\xfb\xef\xee\xeb\xed\xe8\xf2\xfc
\xee\xef\xe5\xf0\
xe0\xf6\xe8\xfe \xed\xe0 \xee\xe1\xfa\xe5\xea\xf2\xe5,')
Exception in thread Thread-355:
Traceback (most recent call last):
File "C:\Python24\Lib\threading.py", line 442, in __bootstrap
self.run()
File "C:\Python24\Lib\threading.py", line 422, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\Python24\Lib\asyncore.py", line 196, in loop
poll_fun(timeout, map)
File "C:\Python24\Lib\asyncore.py", line 122, in poll
r, w, e = select.select(r, w, e, timeout)
error: (10038, '\xd1\xe4\xe5\xeb\xe0\xed\xe0
\xef\xee\xef\xfb\xf2\xea\xe0 \xe2\xfb\xef\xee\xeb\xed\xe8\xf2\xfc
\xee\xef\xe5\xf0\
xe0\xf6\xe8\xfe \xed\xe0 \xee\xe1\xfa\xe5\xea\xf2\xe5,')
Unicode path tests fails probably because cp1251 <-> cp866
inconsistency. I don't look into it yet, but I will.
test_contents_merge2 fails because diff3 on win32 change line-endigns
and always return resulting file with CRLF line-endings.
Last two failing tests is most obscured for me.
--
Alexander
More information about the bazaar
mailing list