Bug 2136926

Summary: rteval traceback on arm with python3-dmidecode.py installed
Product: Red Hat Enterprise Linux 8 Reporter: John Kacur <jkacur>
Component: rtevalAssignee: John Kacur <jkacur>
Status: CLOSED ERRATA QA Contact: Waylon Cude <wcude>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.8CC: bhu, mstowell, qzhao, rt-maint
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rteval-3.5-3.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-16 08:12:42 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:

Description John Kacur 2022-10-21 20:53:12 UTC
This bug was initially created as a copy of Bug #2136924

I am copying this bug because: 

The fix should be backported to rteval in rhel-8.8

Description of problem:

root@hpe-apollo-cn99xx-14-vm-28 rteval]# ./rteval-cmd -d10s
** DMI WARNING ** /sys/firmware/efi/systab: SMBIOS entry point missing
got system topology: 1 node system (4 cores per node)
rteval run on 5.19.16-200.fc36.aarch64 started at Fri Oct 21 16:11:51 2022
started 3 loads on 4 cores 
started measurement threads on 4 cores
Run duration: 10.0 seconds
stopping run at Fri Oct 21 16:13:26 2022
Traceback (most recent call last):
  File "/root/src/rteval/./rteval-cmd", line 402, in <module>
    ec = rteval.Measure()
  File "/root/src/rteval/rteval/__init__.py", line 286, in Measure
    self._report(measure_start, self.__rtevcfg.xslt_report)
  File "/root/src/rteval/rteval/rtevalReport.py", line 76, in _report
    self.__xmlreport.AppendXMLnodes(self._sysinfo.MakeReport())
  File "/root/src/rteval/rteval/sysinfo/__init__.py", line 69, in MakeReport
    report_n.addChild(dmi.DMIinfo.MakeReport(self))
  File "/root/src/rteval/rteval/sysinfo/dmi.py", line 111, in MakeReport
    dmiqry = xmlout.convert_libxml2_to_lxml_doc(self.__dmixml.QuerySection('all'))
  File "/usr/lib64/python3.10/site-packages/dmidecode.py", line 64, in QuerySection
    ret = libxml2.xmlDoc( _obj = xmlapi(query_type='s',
RuntimeError: [src/dmidecodemodule.c:331] Error decoding DMI data

** COLLECTED WARNINGS **
/sys/firmware/efi/systab: SMBIOS entry point missing
** END OF WARNINGS **

How reproducible:
Every time

Steps to Reproduce:
1. run rteval on arm
2. make sure python3-dmidecode is installed

Comment 7 errata-xmlrpc 2023-05-16 08:12:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (rteval bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2737