Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-31921

rteval missing procps-ng dependency when installed in minimal environments [rhel-9.5]

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.5
    • rhel-9.5
    • rteval
    • None
    • rteval-3.7-10.el9
    • None
    • None
    • ZStream
    • rhel-sst-kernel-rts
    • ssg_core_kernel
    • 7
    • 10
    • 1
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • 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'
       

              tglozar Tomas Glozar
              tglozar Tomas Glozar
              John Kacur John Kacur
              Waylon Cude Waylon Cude
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: