Bug#750343: autopkgtest: FTBFS: Tests failures
Martin Pitt
mpitt at debian.org
Tue Jun 3 09:40:55 UTC 2014
severity 750343 important
tag 750343 moreinfo unreproducible
thanks
Hey David,
David Suárez [2014-06-02 20:22 +0200]:
> > ======================================================================
> > FAIL: test_unicode (__main__.NullRunnerNoRoot)
> > Unicode test output
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> > File "tests/adt-run", line 2193, in <module>
> > unittest.main(testRunner=unittest.TextTestRunner(stream=sys.stdout, verbosity=2))
> > File "/usr/lib/python3.4/unittest/main.py", line 93, in __init__
> > self.runTests()
> > File "/usr/lib/python3.4/unittest/main.py", line 244, in runTests
> > self.result = testRunner.run(self.test)
> > File "/usr/lib/python3.4/unittest/runner.py", line 175, in run
> > result.printErrors()
> > File "/usr/lib/python3.4/unittest/runner.py", line 110, in printErrors
> > self.printErrorList('FAIL', self.failures)
> > File "/usr/lib/python3.4/unittest/runner.py", line 117, in printErrorList
> > self.stream.writeln("%s" % err)
> > File "/usr/lib/python3.4/unittest/runner.py", line 25, in writeln
> > self.write(arg)
> > UnicodeEncodeError: 'ascii' codec can't encode characters in position 917-919: ordinal not in range(128)
> > make[1]: *** [override_dh_auto_test] Error 1
I'm afraid that backtrace only has Python's unittest module when it
tries to print a failure, but it doesn't show the actual failure in
tests/adt-run. So I can't say yet which assertion in the test actually
failed.
The test succeeds in my Debian sid schroot when sbuilding and Ubuntu's
buildds.
I tried to run the test under LC_ALL=C, de_DE.UTF-8, and a
non-existing xx_YY.UTF-8 locale, and it always succeeds. Can you
please tell me which locale your build environment uses, so that I can
narrow down the problem a bit? How did you build the schroot, with
which tool and which host locale? Perhaps I can reproduce that
schroot locally.
I'm downgrading to important as it's not reproducible, so that this
doesn't block the propagation of 2.17.
Thanks,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
More information about the autopkgtest-devel
mailing list