Bug 233683 - Traceback occurred while packaging dvdrw test results
Traceback occurred while packaging dvdrw test results
Status: CLOSED CURRENTRELEASE
Product: Red Hat Hardware Certification Program
Classification: Red Hat
Component: Test Suite (harness) (Show other bugs)
5
ia64 Linux
medium Severity high
: ---
: ---
Assigned To: Greg Nichols
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-23 15:09 EDT by Rick Hester
Modified: 2007-03-23 18:49 EDT (History)
1 user (show)

See Also:
Fixed In Version: hts-5.0-32
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-23 18:49:30 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
console output of traceback and test plan summary (2.15 KB, text/plain)
2007-03-23 15:09 EDT, Rick Hester
no flags Details

  None (edit)
Description Rick Hester 2007-03-23 15:09:00 EDT
Description of problem:
After completing  a test of the DVD+RW device, executed the 
hts submit function to package the test results.  This
resulted in a trace back.   See attached console output

Version-Release number of selected component (if applicable):
hts-5.0-31

How reproducible:

Have been able to get the traceback on two of two tries to package
results


Steps to Reproduce:
1. run test on dvd+-rw device (hts certify --test cdrom
2. at completion of test, package results - hts submit
3. traceback occurs during packaging of the results
  
Actual results:
copying attachments...
Traceback (most recent call last):
  File "/usr/bin/hts", line 113, in ?
    success = hts.do(args)
  File "/usr/lib/python2.4/site-packages/hts/hardwaretest.py", line 73, in do
    return self.doSubmit()
  File "/usr/lib/python2.4/site-packages/hts/hardwaretest.py", line 370, in doSubmit
    if report.WriteResultsRPM(self.LogDirectory):
  File "/usr/lib/python2.4/site-packages/hts/report.py", line 192, in
WriteResultsRPM
    self.WriteLogForRPM(testsByName[testName], runNumber, byTestDirectory)
  File "/usr/lib/python2.4/site-packages/hts/report.py", line 244, in WriteLogForRPM
    log.write(outputLog)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xb1' in position
30285: ordinal not in range(128)


Expected results:
results packaged.

Additional info:
Comment 1 Rick Hester 2007-03-23 15:09:02 EDT
Created attachment 150788 [details]
console output  of traceback and test plan summary
Comment 2 Rick Hester 2007-03-23 15:15:29 EDT
Bumping the severity of this up a little, since I have test results that 
I can not package (and submit) because of this problem.
Comment 3 Irina Boverman 2007-03-23 16:06:29 EDT
Can you please try hts .32? It has been posted on partner's site, and a similar
problem was corrected there.
Comment 4 Rick Hester 2007-03-23 18:38:06 EDT
I will download that now.

Do I need to re-run the test or can I just use .32 to
package the existing results?
Comment 5 Rick Hester 2007-03-23 18:49:30 EDT
that fixed the problem.   

Closing the defect.

Note You need to log in before you can comment on or make changes to this bug.