[Bug 1259529] Re: UnicodeEncodeError in adt-run psummary call
Launchpad Bug Tracker
1259529 at bugs.launchpad.net
Wed Dec 11 18:11:52 UTC 2013
This bug was fixed in the package autopkgtest - 2.5.3
---------------
autopkgtest (2.5.3) unstable; urgency=low
* Drop hosts/ and {onepackage,ubuntu}-config example files; these scripts
haven't been used nor maintained in years, and we won't need them anytime
soon. Ubuntu does, and Debian plans to drive autopkgtest from britney
and/or Jenkins, not from cron.
* Move adt-testreport-* scripts and manpages into autopkgtest-xenlvm
package, as they require the xen runner.
* tests/run-parallel: Immediately stop on pep8/pyflakes errors.
* Adjust SchrootRunner.test_tree_built_binaries test to also work with
current apt.
* Always write UTF-8 to stdout and summary stream, to avoid
UnicodeEncodeError crash when running in a C locale. (LP: #1259529)
* tests/pyflakes: Always use pyflakes, not pyflakes3, as the latter doesn't
get along with non-ASCII strings when running under a non-UTF-8 locale (as
in sbuild).
-- Martin Pitt <mpitt at debian.org> Wed, 11 Dec 2013 08:45:07 +0100
** Changed in: autopkgtest (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1259529
Title:
UnicodeEncodeError in adt-run psummary call
Status in “autopkgtest” package in Ubuntu:
Fix Released
Bug description:
That's seen on https://jenkins.qa.ubuntu.com/job/trusty-adt-
gtk-3.0/26/ARCH=i386,label=adt/console
"Traceback (most recent call last):
File "/usr/bin/adt-run", line 1987, in main
dsc0t-build FAIL status: 0, stderr: gtktest.c: In function ���main���:
process_actions()
File "/usr/bin/adt-run", line 1956, in process_actions
run_tests(stanzas, act.tests_tree)
File "/usr/bin/adt-run", line 1063, in run_tests
t.run(tree)
File "/usr/bin/adt-run", line 1253, in run
self.reportfail('status: %d, stderr: %s' % (rc, stderr_top))
File "/usr/bin/adt-run", line 1096, in reportfail
report(self.what, 'FAIL ' + m)
File "/usr/bin/adt-run", line 169, in report
preport('%-20s %s' % (tname, result.decode('UTF-8', 'replace')))
File "/usr/bin/adt-run", line 165, in preport
psummary(m)
File "/usr/bin/adt-run", line 159, in psummary
print >>summary_stream, m
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2018' in position 68: ordinal not in range(128)"
Steps to reproduce it locally:
$ dget http://archive.ubuntu.com/ubuntu/pool/main/g/gtk+3.0/gtk+3.0_3.10.6-0ubuntu1.dsc
$ dpkg-source -x gtk+3.0_3.10.6-0ubuntu1.dsc
$ cd gtk+3.0-3.10.6
$ LANG=C sudo adt-run -B ./ --- adt-virt-null
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1259529/+subscriptions
More information about the foundations-bugs
mailing list