Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1053794

Summary: xml parser errors reading output logs
Product: [Retired] Red Hat Hardware Certification Program Reporter: Greg Nichols <gnichols>
Component: Test Suite (harness)Assignee: Greg Nichols <gnichols>
Status: CLOSED EOL QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.7CC: rlandry
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: hwcert-client 1.7.0-20140115 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1053795 (view as bug list) Environment:
Last Closed: 2020-03-27 16:38:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1016295    
Attachments:
Description Flags
patch escaping output to log file none

Description Greg Nichols 2014-01-15 19:16:56 UTC
Description of problem:

Some character combinations result in output logs that are not parsable as xml, and result in hwcert-client having to fall back and read them as plain text,
showing the following warning:

Warning: could not merge output XML, reading as text file.

hwcert-client can use escaping in logging to prevent this in many cases.


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

hwcert-client 1.6 and 1.7

Comment 1 Greg Nichols 2014-01-15 19:19:22 UTC
Created attachment 850643 [details]
patch escaping output to log file

Comment 2 Brian Brock 2014-02-12 01:49:49 UTC
verified in 20140210

Ran hwcert-backend and hwcert through all stages on a system that previously traceback'ed due to invalid characters in bios information that was saved by the info test.  Program no longer crashes / tracebacks on several systems that previously didn't work.