UnicodeDecodeError when command report gibberish
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopkgtest (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
We get a lot of errors like in https:/
adt-run [12:39:41]: @@@@@@@
testsuite PASS
mercurial-git PASS
Unexpected error:
Traceback (most recent call last):
File "/home/
command()
File "/home/
r = f(c, ce)
File "/home/
cleanup()
File "/home/
caller.
File "/home/
stderr=
File "/home/
(out, err) = sp.communicate(
File "/usr/lib/
stderr = self.stderr.read()
File "/usr/lib/
(result, consumed) = self._buffer_
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x85 in position 467: invalid start byte
So it seems lxc-stop is sending some gibberish or interrupted stream. Don't fail like that and instead just show the original error message.
Changed in autopkgtest (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Martin Pitt (pitti) |
http:// anonscm. debian. org/cgit/ autopkgtest/ autopkgtest. git/commit/ ?id=717c3491d