Closed Bug 1009490 Opened 10 years ago Closed 10 years ago

TestHashtables from cppunitest frozen

Categories

(Mozilla QA Graveyard :: Mozmill Tests, defect)

Version 2
x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 991866

People

(Reporter: Sylvestre, Unassigned)

Details

Attachments

(1 file)

Under my Debian Jessie (currently testing) with French locale

./mach cppunittest freeze on TestHashtables. I have to kill the process to continue the testsuite.
---
OK...
Testing Get:
Exception in thread Thread-12:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/data/mozilla-central-coverage/testing/mozbase/mozprocess/mozprocess/processhandler.py", line 774, in _processOutput
    self.processOutputLine(line.rstrip())
  File "/data/mozilla-central-coverage/testing/mozbase/mozprocess/mozprocess/processhandler.py", line 719, in processOutputLine
    handler(line)
  File "/data/mozilla-central-coverage/testing/mozbase/mozprocess/mozprocess/processhandler.py", line 916, in __call__
    self.stream.write(line + '\n')
  File "/usr/lib/python2.7/codecs.py", line 351, in write
    data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position 29: ordinal not in range(128)

---
Attachment #8428691 - Flags: review?(wlachance)
Attachment #8428691 - Flags: review?(ahalberstadt)
I could reproduce the upper problem with a run in a Jenkins instance with a french locale.
The attachment fixes the issue.
Comment on attachment 8428691 [details] [diff] [review]
encoding-issue.diff

Review of attachment 8428691 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks for the patch! This is actually a dupe of bug 991866 though. It looks like I let it slip through the cracks, but I'll get it landed asap for you. Why iso8859-1 instead of utf-8 though?
Attachment #8428691 - Flags: review?(wlachance)
Attachment #8428691 - Flags: review?(ahalberstadt)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Mozilla QA → Mozilla QA Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: