Bug 2110046

Summary: rteval fails on arm64 Honeycomb LX2 with DMI table failure
Product: [Fedora] Fedora Reporter: Clark Williams <williams>
Component: rtevalAssignee: John Kacur <jkacur>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 36CC: jkacur
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Linux   
Whiteboard:
Fixed In Version: rteval-3.6-2.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-11 03:05:37 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 Clark Williams 2022-07-22 21:17:20 UTC
Description of problem:

Running rteval on a SolidRun Honeycomb LX2 results in an early failure due to missing DMI table entries:

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

[williams@honeycomb ~]$ rpm -q rteval
rteval-3.2-2.fc36.noarch


How reproducible:

Every time

Steps to Reproduce:
1. install realtime-tests and rteval
2. run rteval

Actual results:

[williams@honeycomb ~]$ sudo rteval --duration=10m
** DMI WARNING ** /sys/firmware/efi/systab: SMBIOS entry point missing
got system topology: 1 node system (16 cores per node)
Traceback (most recent call last):
  File "/usr/bin/rteval", line 306, in <module>
    rteval.Prepare(rtevcfg.onlyload)
  File "/usr/lib/python3.10/site-packages/rteval/__init__.py", line 167, in Prepare
    self._measuremods.Setup(params)
  File "/usr/lib/python3.10/site-packages/rteval/modules/measurement/__init__.py", line 182, in Setup
    mp.Setup(modname)
  File "/usr/lib/python3.10/site-packages/rteval/modules/measurement/__init__.py", line 58, in Setup
    modobj = self._InstantiateModule(modname, self._cfg.GetSection(modname))
  File "/usr/lib/python3.10/site-packages/rteval/modules/__init__.py", line 426, in _InstantiateModule
    return self.__modules.InstantiateModule(modname, modcfg, modroot)
  File "/usr/lib/python3.10/site-packages/rteval/modules/__init__.py", line 338, in InstantiateModule
    return mod.create(modcfg, self.__logger)
  File "/usr/lib/python3.10/site-packages/rteval/modules/measurement/cyclictest.py", line 422, in create
    return Cyclictest(params, logger)
  File "/usr/lib/python3.10/site-packages/rteval/modules/measurement/cyclictest.py", line 220, in __init__
    self.__cyclicdata[core].description = info[core]['model name']
KeyError: 'model name'
[williams@honeycomb ~]$


Expected results:

Valid rteval run.

Additional info:

Output of dmidecode:

[williams@honeycomb ~]$ sudo dmidecode
# dmidecode 3.3
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
Table at 0xFACA0000.

Handle 0x0000, DMI type 0, 26 bytes
BIOS Information
	Vendor: EFI Development Kit II / SolidRun
	Version: EDK II
	Release Date: Aug  9 2021
	Address: 0xE8000
	Runtime Size: 96 kB
	ROM Size: 64 kB
	Characteristics:
		PCI is supported
		BIOS is upgradeable
		Selectable boot is supported
		ACPI is supported
		USB legacy is supported
		Targeted content distribution is supported
		UEFI is supported
	BIOS Revision: 0.0

Handle 0x0001, DMI type 1, 27 bytes
System Information
	Manufacturer: SolidRun Ltd.
	Product Name: SolidRun CEX7 Platform
	Version: Rev 1
	Serial Number:                     
	UUID: Not Settable
	Wake-up Type: Power Switch
	SKU Number: Not Specified
	Family: Not Specified

Handle 0x1007, DMI type 3, 24 bytes
Chassis Information
	Manufacturer: SolidRun Ltd.
	Type: Mini Tower
	Lock: Not Present
	Version: HoneyComb
	Serial Number: Serial Not Set
	Asset Tag: Not Specified
	Boot-up State: Unknown
	Power Supply State: Safe
	Thermal State: Safe
	Security Status: None
	OEM Information: 0x00000000
	Height: 1 U
	Number Of Power Cords: 1
	Contained Elements: 0
	SKU Number: Not Specified

Handle 0x1008, DMI type 4, 48 bytes
Processor Information
	Socket Designation: BGA-1156
	Type: Central Processor
	Family: ARM
	Manufacturer: NXP
	ID: 00 00 00 00 00 00 00 00
	Version: Cortex-A72
	Voltage: 0.0 V
	External Clock: 100 MHz
	Max Speed: 2200 MHz
	Current Speed: 2000 MHz
	Status: Populated, Enabled
	Upgrade: Other
	L1 Cache Handle: 0x1000
	L2 Cache Handle: 0x1002
	L3 Cache Handle: Not Provided
	Serial Number: Not Specified
	Asset Tag: Not Specified
	Part Number: 0xd08
	Core Count: 16
	Core Enabled: 16
	Characteristics:
		64-bit capable
		Multi-Core
		Execute Protection
		Enhanced Virtualization
		Power/Performance Control

Handle 0x1000, DMI type 7, 27 bytes
Cache Information
	Socket Designation: L1 Instruction
	Configuration: Enabled, Not Socketed, Level 1
	Operational Mode: Varies With Memory Address
	Location: Internal
	Installed Size: 1 MB
	Maximum Size: 1 MB
	Supported SRAM Types:
		Unknown
	Installed SRAM Type: Unknown
	Speed: Unknown
	Error Correction Type: Parity
	System Type: Instruction
	Associativity: Other

Handle 0x100B, DMI type 16, 23 bytes
Physical Memory Array
	Location: System Board Or Motherboard
	Use: System Memory
	Error Correction Type: Single-bit ECC
	Maximum Capacity: 32 GB
	Error Information Handle: Not Provided
	Number Of Devices: 1

Handle 0x100C, DMI type 17, 92 bytes
Memory Device
	Array Handle: 0x100B
	Error Information Handle: Not Provided
	Total Width: 72 bits
	Data Width: 64 bits
	Size: 0 TB
	Form Factor: DIMM
	Set: None
	Locator: RIGHT SIDE
	Bank Locator: BANK 0
	Type: DDR4
	Type Detail: Unbuffered (Unregistered)
	Speed: 3200 MT/s
	Manufacturer: Not Specified
	Serial Number: Not Specified
	Asset Tag: Not Specified
	Part Number: Not Specified
	Rank: Unknown
	Configured Memory Speed: Unknown
	Minimum Voltage: Unknown
	Maximum Voltage: Unknown
	Configured Voltage: Unknown
	Memory Technology: DRAM
	Memory Operating Mode Capability: Volatile memory
	Firmware Version: Not Specified
	Module Manufacturer ID: Unknown
	Module Product ID: Unknown
	Memory Subsystem Controller Manufacturer ID: Unknown
	Memory Subsystem Controller Product ID: Unknown
	Non-Volatile Size: None
	Volatile Size: Unknown
	Cache Size: None
	Logical Size: None

Handle 0x0002, DMI type 19, 31 bytes
Memory Array Mapped Address
	Starting Address: 0x0000000000000000k
	Ending Address: 0x00000007FFFFFFFEk
	Range Size: 32767 MB
	Physical Array Handle: 0x100C
	Partition Width: 1

Handle 0x0003, DMI type 32, 11 bytes
System Boot Information
	Status: No errors detected

Handle 0x0004, DMI type 9, 24 bytes
System Slot Information
	Designation: PCIe-Slot1
	Type: x4 PCI Express 3 x4
	Current Usage: Available
	Length: Other
	ID: 2
	Characteristics: Unknown
	Bus Address: 0002:00:00.0
	Data Bus Width: 0
	Peer Devices: 0

Handle 0x0005, DMI type 9, 24 bytes
System Slot Information
	Designation: PCIe-Slot2
	Type: x8 PCI Express 3 x8
	Current Usage: Available
	Length: Short
	ID: 4
	Characteristics: Unknown
	Bus Address: 0004:00:00.0
	Data Bus Width: 0
	Peer Devices: 0

Handle 0xFEFF, DMI type 127, 4 bytes
End Of Table


It's possible this can be reproduced with some lab hardware but if not I can test it for you locally.

Comment 1 John Kacur 2022-08-19 23:17:24 UTC
Should be fixed with

160d9e1dddb7 rteval: systopology.py: Add support for systems that don't have Numa
7dba7c18ae51 rteval: Construct a 'model name' on architectures that don't have one

Updating Fedora rteval to v3.5 which contains these fixes

Comment 2 Fedora Update System 2023-02-21 18:56:01 UTC
FEDORA-2023-8e28527a3d has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-8e28527a3d

Comment 3 Fedora Update System 2023-02-22 13:31:53 UTC
FEDORA-2023-8e28527a3d has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-8e28527a3d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2023-03-11 03:05:37 UTC
FEDORA-2023-8e28527a3d has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.