readonly tests fail with locale set to french

Bug #1805242 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Breezy
Triaged
High
Unassigned

Bug Description

ERROR: breezy.tests.per_workingtree.test_readonly.TestReadonly.test_readonly_unclean(WorkingTreeFormat2)
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: log: {{{
603.544 creating repository in file:///tmp/testbzr-vblB89.tmp/breezy.tests.per_workingtree.test_readonly.TestReadonly.test_readonly_unclean%28WorkingTreeFormat2%29/work/tree/.bzr/.
603.545 creating branch <breezy.plugins.weave_fmt.branch.BzrBranchFormat4 object at 0x7f4f1d46aa10> in file:///tmp/testbzr-vblB89.tmp/breezy.tests.per_workingtree.test_readonly.TestReadonly.test_readonly_unclean%28WorkingTreeFormat2%29/work/tree/
603.561 opening working tree u'/tmp/testbzr-vblB89.tmp/breezy.tests.per_workingtree.test_readonly.TestReadonly.test_readonly_unclean(WorkingTreeFormat2)/work/tree'
603.561 failed to open /tmp/testbzr-vblB89.tmp/breezy.tests.per_workingtree.test_readonly.TestReadonly.test_readonly_unclean(WorkingTreeFormat2)/work/tree/.bzr/stat-cache: [Errno 2] Aucun fichier ou dossier de ce type: u'/tmp/testbzr-vblB89.tmp/breezy.tests.per_workingtree.test_readonly.TestReadonly.test_readonly_unclean(WorkingTreeFormat2)/work/tree/.bzr/stat-cache'
603.561 write hc
603.578 creating branch <breezy.plugins.weave_fmt.branch.BzrBranchFormat4 object at 0x7f4f1ce10610> in file:///tmp/testbzr-vblB89.tmp/breezy.tests.per_workingtree.test_readonly.TestReadonly.test_readonly_unclean%28WorkingTreeFormat2%29/work/tree/
603.594 opening working tree u'/tmp/testbzr-vblB89.tmp/breezy.tests.per_workingtree.test_readonly.TestReadonly.test_readonly_unclean(WorkingTreeFormat2)/work/tree'
603.617 preparing to commit
    INFO Committing to: /tmp/testbzr-vblB89.tmp/breezy.tests.per_workingtree.test_readonly.TestReadonly.test_readonly_unclean(WorkingTreeFormat2)/work/tree/
603.633 Selecting files for commit with filter None
    INFO added a
    INFO added b
    INFO added b/c
    INFO Committed revision 1.
603.670 Committed revid <email address hidden> as revno 1.
}}}

Traceback (most recent call last):
  File "/build/breezy-3.0.0~bzr7210/2nd/breezy/tests/per_workingtree/test_readonly.py", line 116, in test_readonly_unclean
    tree.unlock()
  File "/build/breezy-3.0.0~bzr7210/2nd/breezy/plugins/weave_fmt/workingtree.py", line 199, in unlock
    self._write_hashcache_if_dirty()
  File "/build/breezy-3.0.0~bzr7210/2nd/breezy/bzr/workingtree_3.py", line 83, in _write_hashcache_if_dirty
    self._hashcache.cache_file_name(), e)
  File "/build/breezy-3.0.0~bzr7210/2nd/breezy/trace.py", line 165, in mutter
    out = fmt % args
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 32: ordinal not in range(128)

======================================================================
ERROR: breezy.tests.per_workingtree.test_readonly.TestReadonly.test_readonly_unclean(WorkingTreeFormat3)
----------------------------------------------------------------------
Traceback (most recent call last):
testtools.testresult.real._StringException: log: {{{
689.539 creating repository in file:///tmp/testbzr-XEHsrj.tmp/breezy.tests.per_workingtree.test_readonly.TestReadonly.test_readonly_unclean%28WorkingTreeFormat3%29/work/tree/.bzr/.
689.576 creating branch <breezy.bzr.branch.BzrBranchFormat7 object at 0x7f4f1d680990> in file:///tmp/testbzr-XEHsrj.tmp/breezy.tests.per_workingtree.test_readonly.TestReadonly.test_readonly_unclean%28WorkingTreeFormat3%29/work/tree/
689.625 opening working tree u'/tmp/testbzr-XEHsrj.tmp/breezy.tests.per_workingtree.test_readonly.TestReadonly.test_readonly_unclean(WorkingTreeFormat3)/work/tree'
689.626 failed to open /tmp/testbzr-XEHsrj.tmp/breezy.tests.per_workingtree.test_readonly.TestReadonly.test_readonly_unclean(WorkingTreeFormat3)/work/tree/.bzr/checkout/stat-cache: [Errno 2] Aucun fichier ou dossier de ce type: u'/tmp/testbzr-XEHsrj.tmp/breezy.tests.per_workingtree.test_readonly.TestReadonly.test_readonly_unclean(WorkingTreeFormat3)/work/tree/.bzr/checkout/stat-cache'
689.626 write hc
689.686 preparing to commit
    INFO Committing to: /tmp/testbzr-XEHsrj.tmp/breezy.tests.per_workingtree.test_readonly.TestReadonly.test_readonly_unclean(WorkingTreeFormat3)/work/tree/
689.703 Selecting files for commit with filter None
    INFO added a
    INFO added b
    INFO added b/c
    INFO Committed revision 1.
689.799 Committed revid <email address hidden> as revno 1.
}}}

Traceback (most recent call last):
  File "/build/breezy-3.0.0~bzr7210/2nd/breezy/tests/per_workingtree/test_readonly.py", line 116, in test_readonly_unclean
    tree.unlock()
  File "/build/breezy-3.0.0~bzr7210/2nd/breezy/bzr/workingtree_3.py", line 135, in unlock
    self._write_hashcache_if_dirty()
  File "/build/breezy-3.0.0~bzr7210/2nd/breezy/bzr/workingtree_3.py", line 83, in _write_hashcache_if_dirty
    self._hashcache.cache_file_name(), e)
  File "/build/breezy-3.0.0~bzr7210/2nd/breezy/trace.py", line 165, in mutter
    out = fmt % args
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 32: ordinal not in range(128)

----------------------------------------------------------------------
Ran 30617 tests in 934.330s

Tags: selftest
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.