Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimeoutError on the ‘Failed CI-Jobs’ Metric in combination with Gitlab #2037

Closed
denniebouman opened this issue Apr 9, 2021 · 0 comments · Fixed by #2045
Closed

TimeoutError on the ‘Failed CI-Jobs’ Metric in combination with Gitlab #2037

denniebouman opened this issue Apr 9, 2021 · 0 comments · Fixed by #2045
Assignees
Labels
Bug Something isn't working

Comments

@denniebouman
Copy link
Member

The ‘Failed CI-Jobs’ Metric in combination with Gitlab causes/receives a ‘TimeoutError’ when there are many old/previous pipelines (and so also jobs). This is probably caused by the implementation of #1813 .

QT version: v3.19.1

Error:

Connection error
Traceback (most recent call last):
  File "/home/collector/base_collectors/source_collector.py", line 109, in __safely_get_source_responses
    responses = await self._get_source_responses(api_url)
  File "/home/collector/source_collectors/gitlab/base.py", line 31, in _get_source_responses
    all_responses.extend(responses := await super()._get_source_responses(*next_urls))
  File "/home/collector/base_collectors/source_collector.py", line 137, in _get_source_responses
    raise response
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 1104, in throw
    self._coro.throw(arg)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client.py", line 544, in _request
    await resp.start(conn)
  File "/usr/local/lib/python3.9/site-packages/aiohttp/client_reqrep.py", line 905, in start
    self._continue = None
  File "/usr/local/lib/python3.9/site-packages/aiohttp/helpers.py", line 656, in __exit__
    raise asyncio.TimeoutError from None
asyncio.exceptions.TimeoutError
@denniebouman denniebouman added the Bug Something isn't working label Apr 9, 2021
@denniebouman denniebouman changed the title TimeoutError The ‘Failed CI-Jobs’ Metric in combination with Gitlab TimeoutError on the ‘Failed CI-Jobs’ Metric in combination with Gitlab Apr 9, 2021
@fniessink fniessink self-assigned this Apr 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants