Bug#753582: adt-run dies when run on C locale
Luca Falavigna
dktrkranz at debian.org
Thu Jul 3 10:14:24 UTC 2014
Package: autopkgtest
Version: 3.0.2
Severity: important
Tried to run adt-run in a container (C locale), and received the
following traceback in return:
adt-run: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ builds done.
adt-run: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ tests ...
adt-run: @@@@@@@@@@@@@@@@@@@@ test dsc dsc0
adt-run [09:41:59]: test require: preparing
adt-run [09:42:00]: testbed dpkg architecture: amd64
OK
Ign file: InRelease
Get:1 file: Release.gpg [181 B]
Get:2 file: Release [1202 B]
Hit http://ftp.us.debian.org unstable InRelease
Get:3 http://ftp.us.debian.org unstable/main Sources/DiffIndex [7876 B]
Hit http://ftp.us.debian.org unstable/main amd64 Packages/DiffIndex
Fetched 7876 B in 1s (4701 B/s)
Reading package lists...
adt-run [09:42:04]: ERROR: unexpected error:
Traceback (most recent call last):
File "/usr/bin/adt-run", line 1907, in main
process_actions()
File "/usr/bin/adt-run", line 1883, in process_actions
run_tests(act.tests, act.tests_tree)
File "/usr/bin/adt-run", line 1322, in run_tests
testbed.run_test(tree, t)
File "/usr/bin/adt-run", line 1066, in run_test
self.prepare(test.depends, 'needs-recommends' in test.restrictions)
File "/usr/bin/adt-run", line 706, in prepare
self.install_deps(deps_new, recommends)
File "/usr/bin/adt-run", line 695, in install_deps
binaries.publish()
File "/usr/bin/adt-run", line 1533, in publish
for l in open(aptkey_out.host):
File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position
6757: ordinal not in range(128)
More information about the autopkgtest-devel
mailing list