output thread crashes with UnicodeEncodeError

Bug #1034368 reported by Jean-Baptiste Lallement
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Auto Upgrade Testing
Fix Released
Medium
Jean-Baptiste Lallement

Bug Description

Running automated desktop upgrade test from lucid to precise, the following error is displayed in the log and the upgrade log doesn't show in the console output.

ExtractProcess OutputThread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
    self.run()
  File "bin/auto-upgrade-tester", line 57, in run
    print(s.decode('utf-8'), end="")
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0161' in position 99: ordinal not in range(128)

e.g http://10.98.0.1:8080/view/Precise/view/Upgrade/job/precise-upgrade-lucid-desktop/ARCH=i386,LTS=lts,PROFILE=ubuntu,label=upgrade-test/207/artifact/results/bootstrap.log

Changed in auto-upgrade-testing:
importance: Undecided → Medium
assignee: nobody → Jean-Baptiste Lallement (jibel)
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

The output is read by chunk of 1024 bytes which means that unicode characters can be randomly split in the middle of the unicode sequence.

Changed in auto-upgrade-testing:
importance: Medium → Undecided
status: New → Triaged
importance: Undecided → Medium
Changed in auto-upgrade-testing:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.