Bug 15864

Summary: AB-INT: metrics: Remote end closed connection without response (with bugzilla ?)
Product: [QA/Testing] Tooling Reporter: Mathieu Dubois-Briand <mathieu.dubois-briand>
Component: toolingAssignee: Unassigned <unassigned>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Undecided    
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard: AB-INT
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Mathieu Dubois-Briand 2025-05-16 12:22:42 UTC
Not sure what is the remote exactly, maybe we could be a bit more verbose here. Looking at the code, I would say it is https://bugzilla.yoctoproject.org/. And I had some slowness on bugzilla a bit earlier this week, so it might be related.

https://git.yoctoproject.org/yocto-autobuilder-helper/tree/scripts/abint/abint.py#n78

---

Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/metrics/yocto-autobuilder-helper/scripts/abint/venv/lib64/python3.9/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    response = self._make_request(
  File "/srv/pokybuild/yocto-worker/metrics/yocto-autobuilder-helper/scripts/abint/venv/lib64/python3.9/site-packages/urllib3/connectionpool.py", line 534, in _make_request
    response = conn.getresponse()
  File "/srv/pokybuild/yocto-worker/metrics/yocto-autobuilder-helper/scripts/abint/venv/lib64/python3.9/site-packages/urllib3/connection.py", line 516, in getresponse
    httplib_response = super().getresponse()
  File "/usr/lib64/python3.9/http/client.py", line 1377, in getresponse
    response.begin()
  File "/usr/lib64/python3.9/http/client.py", line 320, in begin
    version, status, reason = self._read_status()
  File "/usr/lib64/python3.9/http/client.py", line 289, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

...

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/pokybuild/yocto-worker/metrics/yocto-autobuilder-helper/scripts/abint/./abint.py", line 130, in <module>
    data = get_data()
  File "/srv/pokybuild/yocto-worker/metrics/yocto-autobuilder-helper/scripts/abint/./abint.py", line 78, in get_data
    comments_data = bz.get_comments([bug.id for bug in bugs])["bugs"]
  File "/srv/pokybuild/yocto-worker/metrics/yocto-autobuilder-helper/scripts/abint/venv/lib64/python3.9/site-packages/bugzilla/base.py", line 1162, in get_comments
    return self._backend.bug_comments(idlist, {})
Comment 1 Mathieu Dubois-Briand 2025-05-16 12:32:03 UTC
metrics stream9-vk-1 master completed at 2025-05-13T07:12:07Z
https://autobuilder.yoctoproject.org/valkyrie/#/builders/103/builds/1109/steps/23/logs/stdio
Comment 2 Mathieu Dubois-Briand 2025-05-22 14:34:04 UTC
Works now, to reopen later if it happens again