debian-koji-osbuild/plugins
Ondřej Budai d38e11ea8a builder: add retries to composer API calls
The status calls are sometimes failing on:
upstream connect error or disconnect/reset before headers. reset reason:
connection termination

Since all requests are going through the company proxy, I think that the
networking isn't working 100% reliably. This commit adds a retry mechanism
provided by the urllib3 library. It will retry on all networking issues and
also on some 5xx errors that makes sense to retry (like gateway failures).

A test is added that runs the compose waiting code against a mock server
that fails every second request. This is imho sufficient to mimick a flaky
networking.
2022-08-05 14:53:37 +02:00
..
builder builder: add retries to composer API calls 2022-08-05 14:53:37 +02:00
cli pylint: fix new errors 2022-06-29 16:00:36 +02:00
hub plugins: add support for customizations 2022-05-03 12:28:05 +02:00