Am Tue, Mar 14, 2023 at 10:42:30PM +0200 schrieb Faidon Liambotis: > Thanks Andreas! Is the code and/or logs for this cronjob somewhere I can > access myself? Perhaps I could have a look myself and help you out?
Its https://salsa.debian.org/blends-team/website/-/blob/master/misc/machine_readable/fetch-machine-readable_salsa.py but I think this short term issue is not worth that you are looking into it. It should run on blends.debian.net since there are most of the watched projects cached. For some reason the job seems to fail for https://salsa.debian.org/python-team/packages/kazam but I need to sort out whether this suspicion is true and if yes why there is this error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 445, in _make_request six.raise_from(e, None) File "<string>", line 3, in raise_from File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 440, in _make_request httplib_response = conn.getresponse() File "/usr/lib/python3.9/http/client.py", line 1347, in getresponse response.begin() File "/usr/lib/python3.9/http/client.py", line 307, in begin version, status, reason = self._read_status() File "/usr/lib/python3.9/http/client.py", line 276, 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 "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 532, in increment raise six.reraise(type(error), error, _stacktrace) File "/usr/lib/python3/dist-packages/six.py", line 718, in reraise raise value.with_traceback(tb) File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 445, in _make_request six.raise_from(e, None) File "<string>", line 3, in raise_from File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 440, in _make_request httplib_response = conn.getresponse() File "/usr/lib/python3.9/http/client.py", line 1347, in getresponse response.begin() File "/usr/lib/python3.9/http/client.py", line 307, in begin version, status, reason = self._read_status() File "/usr/lib/python3.9/http/client.py", line 276, in _read_status raise RemoteDisconnected("Remote end closed connection without" urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/srv/blends.debian.org/misc/machine_readable/fetch-machine-readable_salsa.py", line 107, in output_metadata items = project.repository_tree(path=subdir, recursive=False) File "/usr/lib/python3/dist-packages/gitlab/cli.py", line 42, in wrapped_f return f(*args, **kwargs) File "/usr/lib/python3/dist-packages/gitlab/exceptions.py", line 279, in wrapped_f return f(*args, **kwargs) File "/usr/lib/python3/dist-packages/gitlab/v4/objects/__init__.py", line 4663, in repository_tree return self.manager.gitlab.http_list(gl_path, query_data=query_data, **kwargs) File "/usr/lib/python3/dist-packages/gitlab/__init__.py", line 646, in http_list return list(GitlabList(self, url, query_data, get_next=False, **kwargs)) File "/usr/lib/python3/dist-packages/gitlab/__init__.py", line 777, in __init__ self._query(url, query_data, **self._kwargs) File "/usr/lib/python3/dist-packages/gitlab/__init__.py", line 782, in _query result = self._gl.http_request("get", url, query_data=query_data, **kwargs) File "/usr/lib/python3/dist-packages/gitlab/__init__.py", line 531, in http_request result = self.session.send(prepped, timeout=timeout, **settings) File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 498, in send raise ConnectionError(err, request=request) requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/srv/blends.debian.org/misc/machine_readable/fetch-machine-readable_salsa.py", line 283, in <module> if output_metadata(pr, 'debian', debianmetadata): File "/srv/blends.debian.org/misc/machine_readable/fetch-machine-readable_salsa.py", line 117, in output_metadata if sid_branch in branches: File "/usr/lib/python3/dist-packages/gitlab/base.py", line 105, in __eq__ if self.get_id() and other.get_id(): AttributeError: 'str' object has no attribute 'get_id' I'm currently running the script with some debugging code but I'm a bit tired for today and have to see how far I get tomorrow. In any case thanks for your attempt to help Andreas. -- http://fam-tille.de