Bug 1952370

Summary: [abrt] fedora-easy-karma: increment(): adapters.py:507:send:requests.exceptions.RetryError: HTTPSConnectionPool(host='id.fedoraproject.org', port=443): Max retries exceeded with url: /api/v1/ (Caused by ResponseError('too many 500 error responses'))
Product: [Fedora] Fedora Reporter: František Zatloukal <fzatlouk>
Component: fedora-easy-karmaAssignee: Fedora QA Tools SIG <qa-tools-sig>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: kparal, lewk, qa-tools-sig
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/3f3af0ac18ad9f77c8755ab423727ff618366930
Whiteboard: abrt_hash:6444aa4c883a0a81c0150ee9783086b8621dcaac;VARIANT_ID=workstation;
Fixed In Version: fedora-easy-karma-0-0.47.20210526gitfa76ab7.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-28 01:00:29 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 František Zatloukal 2021-04-22 07:26:38 UTC
Description of problem:
Tried easy karma with non-existing username.

Primarily to test F34 bug reporting for GA, but this is a real issue anyway.

Version-Release number of selected component:
fedora-easy-karma-0-0.46.20200427git6fc0f39.fc34

Additional info:
reporter:       libreport-2.14.0
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-e4ed9eda-ff68-48c6-8f33-7893371ca7a6.scope
cmdline:        /usr/bin/python3 -s /usr/bin/fedora-easy-karma ??
crash_function: increment
exception_type: urllib3.exceptions.MaxRetryError
executable:     /usr/bin/fedora-easy-karma
interpreter:    python3-3.9.2-1.fc34.x86_64
kernel:         5.11.12-300.fc34.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
adapters.py:507:send:requests.exceptions.RetryError: HTTPSConnectionPool(host='id.fedoraproject.org', port=443): Max retries exceeded with url: /api/v1/ (Caused by ResponseError('too many 500 error responses'))

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 817, in urlopen
    return self.urlopen(
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 817, in urlopen
    return self.urlopen(
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 817, in urlopen
    return self.urlopen(
  File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 807, in urlopen
    retries = retries.increment(method, url, response=response, _pool=self)
  File "/usr/lib/python3.9/site-packages/urllib3/util/retry.py", line 439, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='id.fedoraproject.org', port=443): Max retries exceeded with url: /api/v1/ (Caused by ResponseError('too many 500 error responses'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/fedora-easy-karma", line 851, in <module>
    fek = FedoraEasyKarma()
  File "/usr/bin/fedora-easy-karma", line 500, in __init__
    csrf = bc.csrf()
  File "/usr/lib/python3.9/site-packages/bodhi/client/bindings.py", line 117, in wrapper
    result = method(*args, **kwargs)
  File "/usr/lib/python3.9/site-packages/bodhi/client/bindings.py", line 616, in csrf
    self.login(self.username, self.password)
  File "/usr/lib/python3.9/site-packages/fedora/client/openidbaseclient.py", line 303, in login
    response = openid_login(
  File "/usr/lib/python3.9/site-packages/fedora/client/openidproxyclient.py", line 129, in openid_login
    response = session.post(
  File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3.9/site-packages/requests/adapters.py", line 507, in send
    raise RetryError(e, request=request)
requests.exceptions.RetryError: HTTPSConnectionPool(host='id.fedoraproject.org', port=443): Max retries exceeded with url: /api/v1/ (Caused by ResponseError('too many 500 error responses'))

Local variables in innermost frame:
self: <requests.adapters.HTTPAdapter object at 0x7f2d31f0f760>
request: <PreparedRequest [POST]>
stream: False
timeout: Timeout(connect=None, read=None, total=None)
verify: True
cert: None
proxies: OrderedDict()
conn: <urllib3.connectionpool.HTTPSConnectionPool object at 0x7f2d31f20d90>
url: '/api/v1/'
chunked: False

Comment 1 František Zatloukal 2021-04-22 07:26:42 UTC
Created attachment 1774332 [details]
File: backtrace

Comment 2 František Zatloukal 2021-04-22 07:26:43 UTC
Created attachment 1774333 [details]
File: cpuinfo

Comment 3 František Zatloukal 2021-04-22 07:26:45 UTC
Created attachment 1774334 [details]
File: environ

Comment 4 František Zatloukal 2021-04-22 07:26:46 UTC
Created attachment 1774335 [details]
File: mountinfo

Comment 5 František Zatloukal 2021-04-22 07:26:48 UTC
Created attachment 1774336 [details]
File: namespaces

Comment 6 František Zatloukal 2021-04-22 07:26:49 UTC
Created attachment 1774337 [details]
File: open_fds

Comment 7 Fedora Update System 2021-05-26 13:48:28 UTC
FEDORA-2021-6167dfbeba has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-6167dfbeba

Comment 8 Fedora Update System 2021-05-27 01:32:16 UTC
FEDORA-2021-6167dfbeba has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-6167dfbeba`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-6167dfbeba

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2021-05-28 01:00:29 UTC
FEDORA-2021-6167dfbeba has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.