-
-
Notifications
You must be signed in to change notification settings - Fork 209
Closed
Description
This happens sometimes, the last time it happend was in a dependabot PR.
Action configuration:
- name: Publish Unit Test Results
uses: EnricoMi/publish-unit-test-result-action@v1.23
if: always()
with:
files: results.xml
The output of the action:
2021-11-17 13:37:23 +0000 - publish-unit-test-results - INFO - reading results.xml
2021-11-17 13:37:23 +0000 - publish - INFO - publishing success results for commit 99aa12eb1178be560ee201031bed471b82c408c6
2021-11-17 13:37:23 +0000 - publish - INFO - creating check
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 859, in urlopen
**response_kw
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 859, in urlopen
**response_kw
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 859, in urlopen
**response_kw
[Previous line repeated 7 more times]
File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 836, in urlopen
retries = retries.increment(method, url, response=response, _pool=self)
File "/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/**ORG**/**REPO**/check-runs (Caused by ResponseError('too many 403 error responses',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/action/publish_unit_test_results.py", line 292, in <module>
main(settings, gha)
File "/action/publish_unit_test_results.py", line 103, in main
Publisher(settings, gh, gha).publish(stats, results.case_results, conclusion)
File "/action/publish/publisher.py", line 65, in publish
check_run = self.publish_check(stats, cases, conclusion)
File "/action/publish/publisher.py", line 232, in publish_check
output=output)
File "/usr/local/lib/python3.6/site-packages/github/Repository.py", line 3645, in create_check_run
input=post_parameters,
File "/usr/local/lib/python3.6/site-packages/github/Requester.py", line 355, in requestJsonAndCheck
verb, url, parameters, headers, input, self.__customConnection(url)
File "/usr/local/lib/python3.6/site-packages/github/Requester.py", line 454, in requestJson
return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
File "/usr/local/lib/python3.6/site-packages/github/Requester.py", line 529, in __requestEncode
cnx, verb, url, requestHeaders, encoded_input
File "/action/publish_unit_test_results.py", line 125, in throttled_gh_request_raw
return gh_request_raw(cnx, verb, url, requestHeaders, input)
File "/usr/local/lib/python3.6/site-packages/github/Requester.py", line 555, in __requestRaw
response = cnx.getresponse()
File "/usr/local/lib/python3.6/site-packages/github/Requester.py", line 133, in getresponse
allow_redirects=False,
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 590, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 507, in send
raise RetryError(e, request=request)
requests.exceptions.RetryError: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/**ORG**/**REPO**/check-runs (Caused by ResponseError('too many 403 error responses',))
Metadata
Metadata
Assignees
Labels
No labels