Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 2136924

Summary: rteval traceback on arm with python3-dmidecode.py installed
Product: Red Hat Enterprise Linux 9 Reporter: John Kacur <jkacur>
Component: rtevalAssignee: John Kacur <jkacur>
Status: CLOSED ERRATA QA Contact: Waylon Cude <wcude>
Severity: low Docs Contact:
Priority: unspecified    
Version: 9.2CC: bhu, mstowell, qzhao, rt-maint, williams
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rteval-3.5-3.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 07:18:14 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:46:10 UTC
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 1 John Kacur 2022-10-21 20:51:25 UTC
workaround remove python3-dmidecode
dnf remove python3-dmidecode

Note, testing on Fedora, it is not clear to me whether this package is available on rhel at this moment.

Comment 8 errata-xmlrpc 2023-05-09 07:18:14 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:2149