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

python-psutil: FTBFS on riscv64 (test suite failure)

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-10.1
    • rhel-10.0
    • python-psutil
    • None
    • python-psutil-5.9.8-6.el10
    • No
    • Moderate
    • 1
    • rhel-pt-python
    • ssg_platform_tools
    • 2
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • PT Python 2025 S07
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      This is the error message:

      ======================================================================
      ERROR: psutil.tests.test_linux.TestSystemCPUFrequency.test_emulate_multi_cpu
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/builddir/build/BUILD/psutil-release-5.9.8/psutil/tests/test_linux.py", line 936, in test_emulate_multi_cpu
          self.assertEqual(freq[1].current, 400.0)
                           ~~~~^^^
      IndexError: list index out of range
      

      The existing patch python-psutil-skip-test_emulate_multi_cpu.patch already marks this test as skipped for aarch64 and ppc64le, so we likely just need to extend that treatment to riscv64 too.

      I'll have a MR up shortly.

              rhn-support-lzachar Lukas Zachar
              rhn-engineering-abologna Andrea Bolognani
              python-maint python-maint
              Lukas Zachar Lukas Zachar
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: