-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-9.5
-
None
-
rteval-3.7-10.el9
-
None
-
None
-
ZStream
-
rhel-sst-kernel-rts
-
ssg_core_kernel
-
7
-
10
-
1
-
Dev ack
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
Approved Blocker
-
-
All
-
None
What were you trying to do that didn't work?
Install and run rteval in a minimal environment without procps-ng installed, for example, the CentOS Stream 9 Quay.io minimal container (quay.io/centos/centos:stream9-minimal), or a corresponding RHEL system.
Please provide the package NVR for which bug is seen:
rteval-3.7-7.el9.noarch
How reproducible:
Always.
Steps to reproduce
On a system with podman, execute these commands:
# podman run -it --privileged --rm quay.io/centos/centos:stream9-minimal container# microdnf install dnf dnf-plugins-base container# dnf config-manager --enable rt container# dnf install -y rteval container# rteval -q
Expected results
rteval run succeeds and reports results.
Actual results
rteval fails in sysinfo phase with the following error:
# rteval -q got system topology: 1 node system (8 cores per node) rteval run on 5.14.0-430.el9.x86_64 started at Fri Apr 5 13:13:23 2024 started 3 loads on 8 cores started measurement threads on cores 0-7 Run duration: 60.0 seconds stopping run at Fri Apr 5 13:14:59 2024 Traceback (most recent call last): File "/usr/bin/rteval", line 417, in <module> ec = rteval.Measure() File "/usr/lib/python3.9/site-packages/rteval/__init__.py", line 270, in Measure self._report(measure_start, self.__rtevcfg.xslt_report) File "/usr/lib/python3.9/site-packages/rteval/rtevalReport.py", line 57, in _report self.__xmlreport.AppendXMLnodes(self._sysinfo.MakeReport()) File "/usr/lib/python3.9/site-packages/rteval/sysinfo/__init__.py", line 45, in MakeReport report_n.addChild(KernelInfo.MakeReport(self)) File "/usr/lib/python3.9/site-packages/rteval/sysinfo/kernel.py", line 119, in MakeReport kthreads = self.kernel_get_kthreads() File "/usr/lib/python3.9/site-packages/rteval/sysinfo/kernel.py", line 31, in kernel_get_kthreads cmd = f"{getcmdpath('ps')} -eocommand,pid,policy,rtprio,comm" File "/usr/lib/python3.9/site-packages/rteval/sysinfo/tools.py", line 23, in getcmdpath if not pathSave[which]: KeyError: 'ps'
- links to
-
RHBA-2024:130778 rteval update