Bug 219757

Summary: Can not executed test when installed on Japanese-language
Product: [Retired] Red Hat Hardware Certification Program Reporter: NIWA Hideyuki <niwa.hideyuki>
Component: Test Suite (tests)Assignee: YangKun <ykun>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: fj-lkml, gnichols, yshao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-02-06 13:44:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description NIWA Hideyuki 2006-12-15 07:07:50 UTC
Description of problem:
The error occurs and the test interrupts when the hts test is executed after
RHEL5B2 is installed by Japanese-language 
environment.

Version-Release number of selected component (if applicable):
RHEL5B2
hts-5.0-9.noarch.rpm

Steps to Reproduce:
1.# hts certify
  
Actual results:
Stress test passed
...finished running ./CORE2, exit code=0
recovered exit code=0
rhts-report-result core PASS /var/log/hts/runs/1/core/output.log
Traceback (most recent call last):
  File "/usr/bin/hts", line 105, in ?
    success = hts.do(args)
  File "/usr/lib/python2.4/site-packages/hts/hardwaretest.py", line 63, in do
    return self.doCertify()
  File "/usr/lib/python2.4/site-packages/hts/hardwaretest.py", line 313, in
doCertify
    self.saveSystemLog(test, run)
  File "/usr/lib/python2.4/site-packages/hts/hardwaretest.py", line 475, in
saveSystemLog
    if l.find(marker_str + "begin") >= 0:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 46: ordinal
not in range(128)

Comment 1 YangKun 2006-12-20 04:35:59 UTC
hts-5.0-9.noarch.rpm is too old and buggy, please try the newest hts
release(hts-5.0-14 or newer) and see whether this issue still exist.
thanks.

Comment 2 NIWA Hideyuki 2006-12-21 07:03:17 UTC
Yang-san

The error occurs on hts-5.0-14 again when
RHEL5B2 is installed by Japanese-language environment.

-----
Stress test passed
...finished running ./CORE2, exit code=0
recovered exit code=0
rhts-report-result core PASS /var/log/hts/runs/1/core/output.log
Traceback (most recent call last):
  File "/usr/bin/hts", line 109, in ?
    success = hts.do(args)
  File "/usr/lib/python2.4/site-packages/hts/hardwaretest.py", line 63, in do
    return self.doCertify()
  File "/usr/lib/python2.4/site-packages/hts/hardwaretest.py", line 330, in
doCertify
    self.saveSystemLog(test, run)
  File "/usr/lib/python2.4/site-packages/hts/hardwaretest.py", line 501, in
saveSystemLog
    if l.find(marker_str + "begin") >= 0:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 44: ordinal
not in range(128)
-------
I seem  not hts's bug but python's bug.

Regard 

Comment 6 Greg Nichols 2007-02-06 13:44:40 UTC
For hardware certification, RHEL5 must be installed as the en_US locale.