Bug 2148338

Summary: [abrt] rocm-smi: getRange(): rocm-smi:980:getRange:IndexError: list index out of range
Product: [Fedora] Fedora Reporter: Hugh <hsmalley>
Component: rocm-smiAssignee: Jeremy Newton <alexjnewt>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: code
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/be94e58f5e39a567ea0d40f469c76b47abc54789
Whiteboard: abrt_hash:44083c9992f7238677b7a7eb2d9489ce752119c6;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-15 00:38:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Hugh 2022-11-25 04:27:17 UTC
Version-Release number of selected component:
rocm-smi-4.0.0-6.fc37

Additional info:
reporter:       libreport-2.17.4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/vte-spawn-a245adce-8d98-4f72-b316-251f092aeb2a.scope
cmdline:        /usr/bin/python3 /usr/bin/rocm-smi -a
crash_function: getRange
exception_type: IndexError
executable:     /usr/bin/rocm-smi
interpreter:    python3-3.11.0-1.fc37.i686
kernel:         6.0.9-300.fc37.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
#1 [/usr/bin/rocm-smi:980] getRange
#2 [/usr/bin/rocm-smi:2033] showRange
#3 [/usr/bin/rocm-smi:3033] <module>

Comment 1 Hugh 2022-11-25 04:27:20 UTC
Created attachment 1927336 [details]
File: backtrace

Comment 2 Hugh 2022-11-25 04:27:21 UTC
Created attachment 1927337 [details]
File: cpuinfo

Comment 3 Hugh 2022-11-25 04:27:22 UTC
Created attachment 1927338 [details]
File: environ

Comment 4 Hugh 2022-11-25 04:27:23 UTC
Created attachment 1927339 [details]
File: mountinfo

Comment 5 Hugh 2022-11-25 04:27:24 UTC
Created attachment 1927340 [details]
File: namespaces

Comment 6 Hugh 2022-11-25 04:27:25 UTC
Created attachment 1927341 [details]
File: open_fds

Comment 7 Ben Beasley 2022-11-25 13:40:29 UTC
I’m not sure what to do about this. The pure-Python version of the script I’m packaging here is obsolete, so it doesn’t make much sense to try to report issues upstream.

The current version of rocm-smi would be a wrapper[1] around rocm_smi_lib[2]. For various reasons that are common to much of the ROCm stack, that has been difficult to package correctly and I haven’t done it. The situation seems like it may have have improved with some recent upstream changes, but I still won’t have time to work on it right away.

[1] https://github.com/RadeonOpenCompute/rocm_smi_lib/tree/master/python_smi_tools
[2] https://github.com/RadeonOpenCompute/rocm_smi_lib

Comment 8 Fedora Admin user for bugzilla script actions 2023-04-12 00:06:23 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 9 Fedora Admin user for bugzilla script actions 2023-07-11 12:44:44 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 10 Jeremy Newton 2023-07-15 00:38:30 UTC
Can you see if this update fixed your issue?
https://bodhi.fedoraproject.org/updates/FEDORA-2023-9ca2b23350

I don't plan to backport anything to f37 unfortunately, so I'll close this issue as WONTFIX.

Please reopen if you reproduce it in F38 or later.

Comment 11 Jeremy Newton 2023-07-15 00:49:00 UTC
For clarity, this package was abandoned and my intention was to only adopt it for Fedora 38 onwards, so I'm not planning to fix anything in Fedora 37 or earlier.

I'm happy to fix any bugs if you report them against F38 or newer.