Bug 2173760

Summary: [abrt] libreport-plugin-bugzilla: getaddrinfo(): adapters.py:565:send:requests.exceptions.ConnectionError: HTTPSConnectionPool(host='bugzilla.redhat.com', port=443): Max retries exceeded with url: /rest.cgi/bug?quicksearch=ALL+whiteboard%3A%22abrt_hash%3A
Product: [Fedora] Fedora Reporter: Mikhail <mikhail.v.gavrilov>
Component: libreportAssignee: abrt <abrt-devel-list>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: abrt-devel-list, abrt-sig, mgrabovs, michal.toman, msrb
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/bac5d50bb10cbdf92a989efae61e40b1fcad792
Whiteboard: abrt_hash:7b87921ce9d1a47ca0f50e39e988f50016a766c3;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-01 03:14:11 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 Mikhail 2023-02-27 21:57:49 UTC
Version-Release number of selected component:
libreport-plugin-bugzilla-2.17.7-1.fc39

Additional info:
reporter:       libreport-2.17.7
kernel:         6.3.0-0.rc0.20230227gitf3a2439f20d9.9.fc39.x86_64+debug
cmdline:        /usr/bin/python3 /usr/bin/reporter-bugzilla -h a48eb9ead3e917d2a4c7a98921ca615ff037374a -p Fedora
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.freedesktop.GnomeAbrt-11832.scope
uid:            1000
reason:         adapters.py:565:send:requests.exceptions.ConnectionError: HTTPSConnectionPool(host='bugzilla.redhat.com', port=443): Max retries exceeded with url: /rest.cgi/bug?quicksearch=ALL+whiteboard%3A%22abrt_hash%3Aa48eb9ead3e917d2a4c7a98921ca615ff037374a%22 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f0ea65660d0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
executable:     /usr/bin/reporter-bugzilla
type:           Python3
package:        libreport-plugin-bugzilla-2.17.7-1.fc39
runlevel:       N 5
exception_type: socket.gaierror
crash_function: getaddrinfo
interpreter:    python3-3.11.2-1.fc39.x86_64

Truncated backtrace:
#1 [/usr/lib64/python3.11/socket.py:962] getaddrinfo
#2 [/usr/lib/python3.11/site-packages/urllib3/util/connection.py:72] create_connection
#3 [/usr/lib/python3.11/site-packages/urllib3/connection.py:174] _new_conn

Comment 1 Mikhail 2023-02-27 21:57:52 UTC
Created attachment 1946784 [details]
File: os_info

Comment 2 Mikhail 2023-02-27 21:57:53 UTC
Created attachment 1946785 [details]
File: environ

Comment 3 Mikhail 2023-02-27 21:57:55 UTC
Created attachment 1946786 [details]
File: mountinfo

Comment 4 Mikhail 2023-02-27 21:57:57 UTC
Created attachment 1946787 [details]
File: open_fds

Comment 5 Mikhail 2023-02-27 21:57:58 UTC
Created attachment 1946788 [details]
File: namespaces

Comment 6 Mikhail 2023-02-27 21:57:59 UTC
Created attachment 1946789 [details]
File: backtrace

Comment 7 Mikhail 2023-02-27 21:58:01 UTC
Created attachment 1946790 [details]
File: cpuinfo

Comment 8 Mikhail 2023-03-08 11:08:52 UTC
--- Running report_uReport ---
('report_uReport' completed successfully)

--- Skipping collect_GConf ---
No matching actions found for this event.

--- Skipping collect_vimrc_system ---
No matching actions found for this event.

--- Skipping collect_vimrc_user ---
No matching actions found for this event.

--- Skipping collect_xsession_errors ---
No matching actions found for this event.

--- Running analyze_CCpp ---
Generating backtrace
Backtrace is generated and saved, 186121 bytes

--- Running analyze_BodhiUpdates ---
Looking for similar problems in bugzilla
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/urllib3/util/connection.py", line 72, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/socket.py", line 962, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 386, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn
    conn.connect()
  File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 358, in connect
    self.sock = conn = self._new_conn()
                       ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7facf3d8ded0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 489, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='bugzilla.redhat.com', port=443): Max retries exceeded with url: /rest.cgi/bug?quicksearch=ALL+whiteboard%3A%22abrt_hash%3A25d5e78560575e7d061e2c9028a06e029bc74657%22 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7facf3d8ded0>: Failed to establish a new connection: [Errno -2] Name or service not known'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/reporter-bugzilla", line 512, in <module>
    bugs = bz_conn.bug_search(
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/site-packages/reportclient/internal/bz_connection.py", line 356, in bug_search
    response = requests.get(os.path.join(self.url, 'rest.cgi/bug'),
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/requests/api.py", line 73, in get
    return request("get", url, params=params, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/requests/adapters.py", line 565, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='bugzilla.redhat.com', port=443): Max retries exceeded with url: /rest.cgi/bug?quicksearch=ALL+whiteboard%3A%22abrt_hash%3A25d5e78560575e7d061e2c9028a06e029bc74657%22 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7facf3d8ded0>: Failed to establish a new connection: [Errno -2] Name or service not known'))
abrt-action-find-bodhi-update [ERROR] Search for duplicate bugs failed: None
('analyze_BodhiUpdates' exited with 2)

Comment 9 Michal Srb 2023-07-01 03:14:11 UTC

*** This bug has been marked as a duplicate of bug 2208742 ***