hi peoples,<br><br>I'm also having a lot of the self tests failing (on bzr.dev), <br>it doesn't seem like other people have the tests failing.<br><br>I don't have time to investigate now, but if some of these tests are yours,
<br>this might help fixing/disabling them. <br><br>It looks like the problems are in the following categories:<br>* UnicodeEncodeError/InvalidURL not raised<br>* TestCommandEncoding<br><br><br>regards<br>marius<br><br><br>
=====<br>bzr.dev$ ./bzr selftest<br> bzr: /stuph/projects/bzr/bzr.repo/bzr.dev/bzr<br> bzrlib: /stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib<br><br>/stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/transport/ftp.py:729: UserWarning: You must install medusa (
<a href="http://www.amk.ca/python/code/medusa.ht">http://www.amk.ca/python/code/medusa.ht</a><br>ml) for FTP tests<br> warn("You must install medusa (<a href="http://www.amk.ca/python/code/medusa.html">http://www.amk.ca/python/code/medusa.html
</a>) for FTP tests")<br>FAIL: test_lockable_files.TestLockableFiles_LockDir.test_read_write<br> UnicodeEncodeError not raised<br><br>FAIL: test_lockable_files.TestLockableFiles_TransportLock.test_read_write<br> UnicodeEncodeError not raised
<br><br>FAIL: test_urlutils.TestUrlToPath.test_unescape<br> InvalidURL not raised<br><br>FAIL: test_transport_implementations.TransportTests.test_unicode_paths(ChrootServer)<br> InvalidURL not raised<br><br>FAIL: test_transport_implementations.TransportTests.test_unicode_paths(FakeNFSServer)
<br> InvalidURL not raised<br><br>FAIL: test_transport_implementations.TransportTests.test_unicode_paths(FakeVFATServer)<br> InvalidURL not raised<br><br>FAIL: test_transport_implementations.TransportTests.test_unicode_paths(LocalURLServer)
<br> InvalidURL not raised<br><br>FAIL: test_transport_implementations.TransportTests.test_unicode_paths(MemoryServer)<br> InvalidURL not raised<br><br>FAIL: test_transport_implementations.TransportTests.test_unicode_paths(ReadonlyServer)
<br> InvalidURL not raised<br><br>FAIL: test_transport_implementations.TransportTests.test_unicode_paths(SFTPAbsoluteServer)<br> InvalidURL not raised<br><br>FAIL: test_transport_implementations.TransportTests.test_unicode_paths(SFTPHomeDirServer)
<br> InvalidURL not raised<br><br>FAIL: test_transport_implementations.TransportTests.test_unicode_paths(SFTPSiblingAbsoluteServer)<br> InvalidURL not raised<br><br>FAIL: blackbox.test_command_encoding.TestCommandEncoding.test_exact
<br> 3 != 0<br><br>[4643/4666 in 431s, 13 failed, 266 skipped] bzrlib.plugins.bzrtools.tests.shelf_tests.ShelfTests.test_shelf_unshelve_failure_two_hunks 1<br> out of 1 hunk FAILED -- saving rejects to file test_file.rej
<br>[4666/4666 in 434s, 13 failed, 266 skipped] bzrlib.plugins.bzrtools.zap.TestZap.test_zap_works<br>======================================================================<br>FAIL: test_read_write (bzrlib.tests.test_lockable_files.TestLockableFiles_LockDir
)<br><br>vvvv[log from bzrlib.tests.test_lockable_files.TestLockableFiles_LockDir.test_read_write]<br><br>^^^^[log from bzrlib.tests.test_lockable_files.TestLockableFiles_LockDir.test_read_write]<br>----------------------------------------------------------------------
<br>Traceback (most recent call last):<br> File "/stuph/projects/bzr/bzr/bzr.dev/bzrlib/tests/test_lockable_files.py", line 47, in test_read_write<br>AssertionError: UnicodeEncodeError not raised<br><br>======================================================================
<br>FAIL: test_read_write (bzrlib.tests.test_lockable_files.TestLockableFiles_TransportLock)<br><br>vvvv[log from bzrlib.tests.test_lockable_files.TestLockableFiles_TransportLock.test_read_write]<br><br>^^^^[log from bzrlib.tests.test_lockable_files.TestLockableFiles_TransportLock.test_read_write
]<br>----------------------------------------------------------------------<br>Traceback (most recent call last):<br> File "/stuph/projects/bzr/bzr/bzr.dev/bzrlib/tests/test_lockable_files.py", line 47, in test_read_write
<br>AssertionError: UnicodeEncodeError not raised<br><br>======================================================================<br>FAIL: test_unescape (bzrlib.tests.test_urlutils.TestUrlToPath)<br><br>vvvv[log from bzrlib.tests.test_urlutils.TestUrlToPath.test_unescape
]---------<br><br>^^^^[log from bzrlib.tests.test_urlutils.TestUrlToPath.test_unescape]---------<br>----------------------------------------------------------------------<br>Traceback (most recent call last):<br> File "/stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/tests/test_urlutils.py", line 451, in test_unescape
<br> self.assertRaises(InvalidURL, urlutils.unescape, u'\xe5')<br>AssertionError: InvalidURL not raised<br><br>======================================================================<br>FAIL: test_unicode_paths (
bzrlib.tests.test_transport_implementations.TransportTests)<br><br>vvvv[log from bzrlib.tests.test_transport_implementations.TransportTests.test_unicode_paths(ChrootServer)]<br><br>^^^^[log from bzrlib.tests.test_transport_implementations.TransportTests.test_unicode_paths
(ChrootServer)]<br>----------------------------------------------------------------------<br>Traceback (most recent call last):<br> File "/stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/tests/test_transport_implementations.py", line 1217, in test_unicode_paths
<br> self.assertRaises(InvalidURL, t.get, fname)<br>AssertionError: InvalidURL not raised<br><br>======================================================================<br>FAIL: test_unicode_paths (bzrlib.tests.test_transport_implementations.TransportTests
)<br><br>vvvv[log from bzrlib.tests.test_transport_implementations.TransportTests.test_unicode_paths(FakeNFSServer)]<br><br>^^^^[log from bzrlib.tests.test_transport_implementations.TransportTests.test_unicode_paths(FakeNFSServer)]
<br>----------------------------------------------------------------------<br>Traceback (most recent call last):<br> File "/stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/tests/test_transport_implementations.py", line 1217, in test_unicode_paths
<br> self.assertRaises(InvalidURL, t.get, fname)<br>AssertionError: InvalidURL not raised<br><br>======================================================================<br>FAIL: test_unicode_paths (bzrlib.tests.test_transport_implementations.TransportTests
)<br><br>vvvv[log from bzrlib.tests.test_transport_implementations.TransportTests.test_unicode_paths(FakeVFATServer)]<br><br>^^^^[log from bzrlib.tests.test_transport_implementations.TransportTests.test_unicode_paths(FakeVFATServer)]
<br>----------------------------------------------------------------------<br>Traceback (most recent call last):<br> File "/stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/tests/test_transport_implementations.py", line 1217, in test_unicode_paths
<br> self.assertRaises(InvalidURL, t.get, fname)<br>AssertionError: InvalidURL not raised<br><br>======================================================================<br>FAIL: test_unicode_paths (bzrlib.tests.test_transport_implementations.TransportTests
)<br><br>vvvv[log from bzrlib.tests.test_transport_implementations.TransportTests.test_unicode_paths(LocalURLServer)]<br><br>^^^^[log from bzrlib.tests.test_transport_implementations.TransportTests.test_unicode_paths(LocalURLServer)]
<br>----------------------------------------------------------------------<br>Traceback (most recent call last):<br> File "/stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/tests/test_transport_implementations.py", line 1217, in test_unicode_paths
<br> self.assertRaises(InvalidURL, t.get, fname)<br>AssertionError: InvalidURL not raised<br><br>======================================================================<br>FAIL: test_unicode_paths (bzrlib.tests.test_transport_implementations.TransportTests
)<br><br>vvvv[log from bzrlib.tests.test_transport_implementations.TransportTests.test_unicode_paths(MemoryServer)]<br><br>^^^^[log from bzrlib.tests.test_transport_implementations.TransportTests.test_unicode_paths(MemoryServer)]
<br>----------------------------------------------------------------------<br>Traceback (most recent call last):<br> File "/stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/tests/test_transport_implementations.py", line 1217, in test_unicode_paths
<br> self.assertRaises(InvalidURL, t.get, fname)<br>AssertionError: InvalidURL not raised<br><br>======================================================================<br>FAIL: test_unicode_paths (bzrlib.tests.test_transport_implementations.TransportTests
)<br><br>vvvv[log from bzrlib.tests.test_transport_implementations.TransportTests.test_unicode_paths(ReadonlyServer)]<br><br>^^^^[log from bzrlib.tests.test_transport_implementations.TransportTests.test_unicode_paths(ReadonlyServer)]
<br>----------------------------------------------------------------------<br>Traceback (most recent call last):<br> File "/stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/tests/test_transport_implementations.py", line 1217, in test_unicode_paths
<br> self.assertRaises(InvalidURL, t.get, fname)<br>AssertionError: InvalidURL not raised<br><br>======================================================================<br>FAIL: test_unicode_paths (bzrlib.tests.test_transport_implementations.TransportTests
)<br><br>vvvv[log from bzrlib.tests.test_transport_implementations.TransportTests.test_unicode_paths(SFTPAbsoluteServer)]<br><br>^^^^[log from bzrlib.tests.test_transport_implementations.TransportTests.test_unicode_paths(SFTPAbsoluteServer)]
<br>----------------------------------------------------------------------<br>Traceback (most recent call last):<br> File "/stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/tests/test_transport_implementations.py", line 1217, in test_unicode_paths
<br> self.assertRaises(InvalidURL, t.get, fname)<br>AssertionError: InvalidURL not raised<br><br>======================================================================<br>FAIL: test_unicode_paths (bzrlib.tests.test_transport_implementations.TransportTests
)<br><br>vvvv[log from bzrlib.tests.test_transport_implementations.TransportTests.test_unicode_paths(SFTPHomeDirServer)]<br><br>^^^^[log from bzrlib.tests.test_transport_implementations.TransportTests.test_unicode_paths(SFTPHomeDirServer)]
<br>----------------------------------------------------------------------<br>Traceback (most recent call last):<br> File "/stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/tests/test_transport_implementations.py", line 1217, in test_unicode_paths
<br> self.assertRaises(InvalidURL, t.get, fname)<br>AssertionError: InvalidURL not raised<br><br>======================================================================<br>FAIL: test_unicode_paths (bzrlib.tests.test_transport_implementations.TransportTests
)<br><br>vvvv[log from bzrlib.tests.test_transport_implementations.TransportTests.test_unicode_paths(SFTPSiblingAbsoluteServer)]<br><br>^^^^[log from bzrlib.tests.test_transport_implementations.TransportTests.test_unicode_paths
(SFTPSiblingAbsoluteServer)]<br>----------------------------------------------------------------------<br>Traceback (most recent call last):<br> File "/stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/tests/test_transport_implementations.py", line 1217, in test_unicode_paths
<br> self.assertRaises(InvalidURL, t.get, fname)<br>AssertionError: InvalidURL not raised<br><br>======================================================================<br>FAIL: test_exact (bzrlib.tests.blackbox.test_command_encoding.TestCommandEncoding
)<br><br>vvvv[log from bzrlib.tests.blackbox.test_command_encoding.TestCommandEncoding.test_exact]<br>run bzr: ('echo-exact', 'foo')<br>bzr arguments: ['echo-exact', 'foo']<br>output:<br>'foo'
<br>run bzr: ('echo-exact', 'foo\xb5')<br>bzr arguments: ['echo-exact', 'foo\xb5']<br>output:<br>'foo\xb5'<br>run bzr: ('echo-exact', u'foo\xb5')<br>bzr arguments: ['echo-exact', u'foo\xb5']
<br>output:<br>'foo\xc2\xb5'<br><br>^^^^[log from bzrlib.tests.blackbox.test_command_encoding.TestCommandEncoding.test_exact]<br>----------------------------------------------------------------------<br>Traceback (most recent call last):
<br> File "/stuph/projects/bzr/bzr/bzr.dev/bzrlib/tests/blackbox/test_command_encoding.py", line 62, in test_exact<br> File "/stuph/projects/bzr/bzr/bzr.dev/bzrlib/tests/blackbox/test_command_encoding.py", line 53, in bzr
<br> File "/stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/tests/__init__.py", line 1004, in run_bzr<br> stdin=stdin, working_dir=working_dir)<br> File "/stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/tests/__init__.py", line 984, in run_bzr_captured
<br> self.assertEquals(retcode, result)<br>AssertionError: 3 != 0<br><br>----------------------------------------------------------------------<br>Ran 4666 tests in 435.058s<br><br>FAILED (failures=13)<br>=====<br><br>
<br>from the bzr.log:<br>=====<br>bzr arguments: [u'selftest']<br>looking for plugins in /stuph/projects/bzr/bzr.repo/bzr.dev/bzrlib/plugins<br>Plugin name __init__ already loaded<br>Plugin name __init__ already loaded
<br>looking for plugins in /home/amanica/.bazaar/plugins<br>encoding stdout as sys.stdout encoding 'UTF-8'<br>=====<br><br>My filesystem is ext3 <br>My distro is kubuntu<br><br><br><br clear="all"><br>-- <br><br><br>
<br>I code therefore I am.