FTBFS of bzr-svn in ~bzr PPA (lucid,maverick)

Jelmer Vernooij jelmer at samba.org
Sun Mar 11 14:37:18 UTC 2012


On 03/11/2012 01:05 PM, Max Bowsher wrote:
> bzr-svn is FTBFS in the ~bzr PPA on distroseries<= maverick with various test failures like this one - does anyone (perhaps those who worked on the fallback filesystem encoding changes in bzr 2.5?) have any thoughts?
>
> ======================================================================
> ERROR: bzrlib.tests.per_repository.test_commit_builder.TestCommitBuilder.test_last_modified_rev_after_content_unicode_link_changes_ric(SvnRepositoryFormat)
> ----------------------------------------------------------------------
> _StringException: Text attachment: log
> ------------
> 371.735  creating config directory: '/tmp/testbzr-I_0izk.tmp/bzrlib.tests.per_repository.test_commit_builder.TestCommitBuilder.test_last_modified_rev_after_content_unicode_link_changes_ric(SvnRepositoryFormat)/home/.bazaar'
>      INFO  Initialising Subversion metadata cache in /tmp/testbzr-I_0izk.tmp/bzrlib.tests.per_repository.test_commit_builder.TestCommitBuilder.test_last_modified_rev_after_content_unicode_link_changes_ric(SvnRepositoryFormat)/home/.bazaar/svn-cache/e8584833-f1e0-44f1-b7d7-6b235c669f0a.
> 371.756  potential branching layouts: []
> 371.756  Guessed repository layout: None, guess layout to use: TrunkLayout()
> 371.783  potential branching layouts: [('trunk0', 1)]
> 371.783  Guessed repository layout: TrunkLayout(0), guess layout to use: TrunkLayout()
> 371.805  failed to open /tmp/testbzr-I_0izk.tmp/bzrlib.tests.per_repository.test_commit_builder.TestCommitBuilder.test_last_modified_rev_after_content_unicode_link_changes_ric(SvnRepositoryFormat)/work/.svn/bzr/stat-cache: [Errno 2] No such file or directory: u'/tmp/testbzr-I_0izk.tmp/bzrlib.tests.per_repository.test_commit_builder.TestCommitBuilder.test_last_modified_rev_after_content_unicode_link_changes_ric(SvnRepositoryFormat)/work/.svn/bzr/stat-cache'
> 371.828  potential branching layouts: [('trunk0', 1)]
> 371.828  Guessed repository layout: TrunkLayout(0), guess layout to use: TrunkLayout(0)
> ------------
> Text attachment: traceback
> ------------
> Traceback (most recent call last):
>    File "/usr/lib/python2.6/dist-packages/testtools/runtest.py", line 169, in _run_user
>      return fn(*args, **kwargs)
>    File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 499, in _run_test_method
>      return self._get_test_method()()
>    File "/usr/lib/pymodules/python2.6/bzrlib/tests/per_repository/test_commit_builder.py", line 1081, in test_last_modified_rev_after_content_unicode_link_changes_ric
>      file_id=u'li\u1234nk'.encode('UTF-8'))
>    File "/usr/lib/pymodules/python2.6/bzrlib/tests/per_repository/test_commit_builder.py", line 1070, in _test_last_mod_rev_after_content_link_changes_ric
>      file_id=file_id)
>    File "/usr/lib/pymodules/python2.6/bzrlib/tests/per_repository/test_commit_builder.py", line 826, in _add_commit_change_check_changed
>      tree.add([name], [file_id])
>    File "/build/buildd/bzr-svn-1.2.1/workingtree.py", line 985, in add
>      wc.add(utf8_abspath, copyfrom[0], copyfrom[1])
> OSError: [Errno 22] Can't convert string from 'UTF-8' to native encoding:
> ------------
There are some remaining issues related to the unicode filename handling 
in 2.5. In the bzr-svn Debian package, I'm running the testsuite with 
LC_ALL=C.UTF-8 (and "locales" installed) to work around this kind of 
failure.

Cheers,

Jelmer



More information about the bazaar mailing list