Bug 2192215

Summary: [abrt] libreport-plugin-bugzilla: bug_info(): bz_connection.py:320:bug_info:IndexError: list index out of range
Product: [Fedora] Fedora Reporter: Mike Basinger <mike.basinger>
Component: libreportAssignee: abrt <abrt-devel-list>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: abrt-devel-list, abrt-sig, mgrabovs, michal.toman, mike.basinger, msrb
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/76fb756358137cf2ac0a7fb7486f26c3a9053d8
Whiteboard: abrt_hash:53f7b7c8d003efcaabfc427a754070fe12403ef3;VARIANT_ID=workstation;
Fixed In Version: libreport-2.17.11-1.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-01 03:28:04 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: os_info
none
File: environ
none
File: mountinfo
none
File: open_fds
none
File: namespaces
none
File: backtrace
none
File: cpuinfo none

Description Mike Basinger 2023-04-30 14:55:56 UTC
Version-Release number of selected component:
libreport-plugin-bugzilla-2.17.9-1.fc38

Additional info:
reporter:       libreport-2.17.9
kernel:         6.2.13-300.fc38.x86_64
cmdline:        /usr/bin/python3 /usr/bin/reporter-bugzilla -b -c /etc/libreport/plugins/bugzilla.conf -F /etc/libreport/plugins/bugzilla_format.conf -A /etc/libreport/plugins/bugzilla_formatdup.conf
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/dbus-:1.2-org.freedesktop.problems.applet
uid:            1000
reason:         bz_connection.py:320:bug_info:IndexError: list index out of range
executable:     /usr/bin/reporter-bugzilla
type:           Python3
package:        libreport-plugin-bugzilla-2.17.9-1.fc38
runlevel:       N 5
exception_type: IndexError
crash_function: bug_info
interpreter:    python3-3.11.3-1.fc38.x86_64

Truncated backtrace:
bz_connection.py:320:bug_info:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/bin/reporter-bugzilla", line 833, in <module>
    origin = bz_conn.find_origin_bug_closed_duplicate(bug_info)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/reportclient/internal/bz_connection.py", line 403, in find_origin_bug_closed_duplicate
    bi_tmp = self.bug_info(bug_id)
             ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/reportclient/internal/bz_connection.py", line 320, in bug_info
    bug = response.json()['bugs'][0]
          ~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

Local variables in innermost frame:
self: <reportclient.internal.bz_connection.BZConnection object at 0x7f2a1df5dc90>
bug_id: 2150573
params: {'id': 2150573}
response: <Response [200]>

Comment 1 Mike Basinger 2023-04-30 14:55:59 UTC
Created attachment 1961205 [details]
File: os_info

Comment 2 Mike Basinger 2023-04-30 14:56:00 UTC
Created attachment 1961206 [details]
File: environ

Comment 3 Mike Basinger 2023-04-30 14:56:02 UTC
Created attachment 1961207 [details]
File: mountinfo

Comment 4 Mike Basinger 2023-04-30 14:56:04 UTC
Created attachment 1961208 [details]
File: open_fds

Comment 5 Mike Basinger 2023-04-30 14:56:05 UTC
Created attachment 1961209 [details]
File: namespaces

Comment 6 Mike Basinger 2023-04-30 14:56:07 UTC
Created attachment 1961210 [details]
File: backtrace

Comment 7 Mike Basinger 2023-04-30 14:56:08 UTC
Created attachment 1961211 [details]
File: cpuinfo