Bug 227665 - HTS: Submit phase doesn't cope with certain chars in vendor/make/model
HTS: Submit phase doesn't cope with certain chars in vendor/make/model
Status: CLOSED DUPLICATE of bug 229025
Product: Red Hat Hardware Certification Program
Classification: Red Hat
Component: Test Suite (harness) (Show other bugs)
All Linux
medium Severity urgent
: ---
: ---
Assigned To: Greg Nichols
Depends On:
  Show dependency treegraph
Reported: 2007-02-07 08:48 EST by David Swegen
Modified: 2016-02-17 19:01 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-07 04:30:48 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description David Swegen 2007-02-07 08:48:22 EST
Description of problem:

Running the 'hts submit' phase, where any of the vendor, make or model infos
contain chars that have special meaning to the filesystem causes the rpmbuild
step to fail.

In this particular case the vendor was 'FUJITSU_SIEMENS //
Phoenix_Technologies_Ltd' (one long string). The spaces get replaced by
underscores, but the '/' chars remain, thus confusing various later commands.

This same problem will probably also be triggered by other chars, such as '&'. 

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


How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:
Comment 1 Greg Nichols 2007-02-07 09:47:04 EST
Fixed R24
Comment 2 Danny Trinh 2007-02-09 09:42:00 EST
So, does R24 fix the problem below also?

[root@localhost ~]# hts submit
loaded configuration /var/hts/config.xml
loaded plan /var/hts/plan.xml
loaded results /var/hts/results.xml
writing results to /var/log/hts/Dell_Inc.-TEAC_DVD+RW_DV-W58E-RHEL5_i686_results
copied attachment file localhost.localdomain.2007020912311.tar.bz2 for info test
copied attachment file localhost.localdomain.2007020912311.tar.bz2 for info test
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 369, in doSubmit
    if report.WriteResultsRPM(self.LogDirectory):
  File "/usr/lib/python2.4/site-packages/hts/report.py", line 181, in
    self.WriteLogForRPM(testsByName[testName], runNumber, [byTestDirectory,
  File "/usr/lib/python2.4/site-packages/hts/report.py", line 221, in WriteLogForRPM
UnicodeEncodeError: 'ascii' codec can't encode character u'\xb1' in position
28970: ordinal not in range(128)
[root@localhost ~]# 
Comment 3 Greg Nichols 2007-02-09 10:36:58 EST
Re: comment #2.  No, it does not.
Comment 4 YangKun 2007-03-07 04:30:48 EST

*** This bug has been marked as a duplicate of 229025 ***

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