LANG=C support regression
Bug #632387 reported by
Vincent Ladeuil
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Andrew Bennetts | ||
2.2 |
Fix Released
|
Undecided
|
Andrew Bennetts |
Bug Description
During the 2.1 cycle, we stopped running:
LC_CTYPE= LANG=C LC_ALL= ./bzr selftest -1v $(tests) 2>&1 | sed -e 's/^/[ascii] /'
on pqm.
If nothing else, it demonstrates once again that *not* running tests or running less tests invariably lead to bugs.
Note that selftest doesn't even finish (I'll put the backtrace for an attempted full run in the next comment).
Since there will probably be several bugs involved, I'll mark this one as master and High.
Related branches
lp:~spiv/bzr/lang-c-failures-632387-2.2
- Martin Pool: Approve
-
Diff: 131 lines (+23/-13)5 files modifiedNEWS (+3/-0)
bzrlib/tests/blackbox/test_alias.py (+4/-2)
bzrlib/tests/blackbox/test_commit.py (+2/-0)
bzrlib/tests/blackbox/test_export.py (+5/-8)
bzrlib/tests/test_osutils.py (+9/-3)
To post a comment you must log in.
BZR_PLUGIN_ PATH=-site LC_CTYPE= LANG=C LC_ALL= ./bzr selftest src/bzr/ trunk/bzr vila/src/ bzr/trunk/ bzrlib 6.32-24- generic- x86_64- with-Ubuntu- 10.04-lucid
bzr selftest: /home/vila/
/home/
bzr-2.3.0dev1 python-2.6.5 Linux-2.
ERROR: blackbox. test_alias. TestAlias. test_unicode_ alias /tmp/testbzr- EYEpgw. tmp/bzrlib. tests.blackbox. test_alias. TestAlias. test_unicode_ alias/work/ .bzr/. branch. BzrBranchFormat 7 object at 0x85d16d0> in file:// /tmp/testbzr- EYEpgw. tmp/bzrlib. tests.blackbox. test_alias. TestAlias. test_unicode_ alias/work/ EYEpgw. tmp/bzrlib. tests.blackbox. test_alias. TestAlias. test_unicode_ alias/work/ .bzr/checkout/ dirstate' EYEpgw. tmp/bzrlib. tests.blackbox. test_alias. TestAlias. test_unicode_ alias/work' EYEpgw. tmp' vila/lib/ python/ testtools/ runtest. py", line 144, in _run_user vila/lib/ python/ testtools/ testcase. py", line 465, in _run_test_method vila/src/ bzr/trunk/ bzrlib/ tests/blackbox/ test_alias. py", line 52, in test_unicode_alias build_tree( [file_name] ) vila/src/ bzr/trunk/ bzrlib/ tests/_ _init__ .py", line 2554, in build_tree put_bytes_ non_atomic( urlutils. escape( name), content) vila/src/ bzr/trunk/ bzrlib/ transport/ local.py" , line 296, in put_bytes_ non_atomic mode=dir_ mode) vila/src/ bzr/trunk/ bzrlib/ transport/ local.py" , line 238, in _put_non_ atomic_ helper atomic_ flags, local_mode)
Text attachment: log
------------
2.643 creating repository in file://
2.645 creating branch <bzrlib.
2.650 trying to create missing lock '/tmp/testbzr-
2.650 opening working tree '/tmp/testbzr-
2.656 opening working tree '/tmp/testbzr-
------------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/home/
return fn(*args)
File "/home/
testMethod()
File "/home/
self.
File "/home/
transport.
File "/home/
dir_
File "/home/
fd = os.open(abspath, _put_non_
UnicodeEncodeError: 'ascii' codec can't encode character u'\xb6' in position 94: ordinal not in range(128)
------------
ERROR: blackbox. test_commit. TestCommit. test_unicode_ commit_ message_ is_filename /tmp/testbzr- EYEpgw. tmp/bzrlib. tests.blackbox. test_commit. TestCommit. test_unicode_ commit_ message_ is_filename/ work/.bzr/ . branch. BzrBranchFormat 7 object at 0x8179490> in file:// /tmp/testbzr- EYEpgw. tmp/bzrlib. tests.blackbox. test_commit. TestCommit. test_unicode_ commit_ message_ is_filename/ work/ EYEpgw. tmp/bzrlib. tests.blackbox. test_commit. TestCommit. test_unicode_ commit_ message_ is_filename/ work/.bzr/ checkout/ dirstate' EYEpgw. tmp/bzrlib. tests.blackbox. test_commit. TestCommit. test_unicode_ commit_ message_ is_filename/ work' EYEpgw. tmp/bzrlib. tests.blackbox. test_commit. TestCommit. test_unicode_ commit_ message_ is_filename/ work' EYEpgw. tmp'
Text attachment: log
------------
20.487 run bzr: ['init']
20.487 bazaar version: 2.3.0dev1
20.487 bzr arguments: ['init']
20.490 encoding stdout as sys.stdout encoding 'ANSI_X3.4-1968'
20.493 creating repository in file://
20.495 creating branch <bzrlib.
20.500 trying to create missing lock '/tmp/testbzr-
20.500 opening working tree '/tmp/testbzr-
20.505 opening working tree '/tmp/testbzr-
20.506 output:
'Created a standalone tree (format: 2a)\n'
20.509 opening working tree '/tmp/testbzr-
------------
Text attachment: traceback
------------
T...