Temporarily server failures can happen when listing a GitLab instance,
HTTP status codes 502, 503 or 520 are returned in that case.
So adapt lister requests retry policy to execute requests again when
such errors are encountered.
Related to T3442
Differential D6020
gitlab: Adapt requests retry policy to consider HTTP 50x status codes anlambert on Jul 23 2021, 1:54 PM. Authored by Tags None Subscribers None
Details
Temporarily server failures can happen when listing a GitLab instance, So adapt lister requests retry policy to execute requests again when Related to T3442
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D6020 (id=21759)Rebasing onto f00d41d0cd... Current branch diff-target is up to date. Changes applied before testcommit 73f85c0b8a429c973334606263722fc3086178c1 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Fri Jul 23 13:51:10 2021 +0200 gitlab: Adapt requests retry policy to consider HTTP 50x status codes Temporarily server failures can happen when listing a GitLab instance, HTTP status codes 502, 503 or 520 are returned in that case. So adapt lister requests retry policy to execute requests again when such errors are encountered. Related to T3442 See https://jenkins.softwareheritage.org/job/DLS/job/tests-on-diff/333/ for more details. |