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

Github Actions error (or warning) #516

Open
nulls opened this issue Mar 20, 2023 · 0 comments
Open

Github Actions error (or warning) #516

nulls opened this issue Mar 20, 2023 · 0 comments
Labels
bug Something isn't working infrastructure tests

Comments

@nulls
Copy link
Member

nulls commented Mar 20, 2023

https://github.com/saveourtool/save-cli/actions/runs/4466559035

It's not clear does it lead to failure or not:
We have successful job with warning: https://github.com/saveourtool/save-cli/actions/runs/4466559035/jobs/7845287700.

Request GET /search/issues?q=type%3Apr+repo%3A%22saveourtool%2Fsave-cli%22+4cd51c0fc9085f8b7b2cff6f5b1c922777591e72&per_page=100 failed with 403: Forbidden

We have job without warning: https://github.com/saveourtool/save-cli/actions/runs/4466559035/jobs/7845287867.

And we have job with error after warning: https://github.com/saveourtool/save-cli/actions/runs/4466559035/jobs/7845288000

During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "D:\a\_actions\EnricoMi\publish-unit-test-result-action\v1\python\publish_test_results.py", line 387, in <module>
      main(settings, gha)
    File "D:\a\_actions\EnricoMi\publish-unit-test-result-action\v1\python\publish_test_results.py", line 135, in main
      Publisher(settings, gh, gha).publish(stats, results.case_results, conclusion)
    File "D:\a\_actions\EnricoMi\publish-unit-test-result-action\v1\python\publish\publisher.py", line 150, in publish
      pulls = self.get_pulls(self._settings.commit)
    File "D:\a\_actions\EnricoMi\publish-unit-test-result-action\v1\python\publish\publisher.py", line 168, in get_pulls
      issues = list(self._gh.search_issues(f'type:pr repo:"{self._settings.repo}" {commit}'))
    File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\github\PaginatedList.py", line 56, in __iter__
      newElements = self._grow()
    File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\github\PaginatedList.py", line 67, in _grow
      newElements = self._fetchNextPage()
    File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\github\PaginatedList.py", line 199, in _fetchNextPage
      headers, data = self.__requester.requestJsonAndCheck(
    File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\github\Requester.py", line 354, in requestJsonAndCheck
      *self.requestJson(
    File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\github\Requester.py", line 454, in requestJson
      return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode)
    File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\github\Requester.py", line 528, in __requestEncode
      status, responseHeaders, output = self.__requestRaw(
    File "D:\a\_actions\EnricoMi\publish-unit-test-result-action\v1\python\publish_test_results.py", line 157, in throttled_gh_request_raw
      return gh_request_raw(cnx, verb, url, requestHeaders, input)
    File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\github\Requester.py", line 555, in __requestRaw
      response = cnx.getresponse()
    File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\github\Requester.py", line 127, in getresponse
      r = verb(
    File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\requests\sessions.py", line 542, in get
      return self.request('GET', url, **kwargs)
    File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\requests\sessions.py", line 529, in request
      resp = self.send(prep, **send_kwargs)
    File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\requests\sessions.py", line 645, in send
      r = adapter.send(request, **kwargs)
    File "C:\hostedtoolcache\windows\Python\3.9.13\x64\lib\site-packages\requests\adapters.py", line 510, in send
      raise RetryError(e, request=request)
  requests.exceptions.RetryError: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /search/issues?q=type%3Apr+repo%3A%22saveourtool%2Fsave-cli%22+4cd51c0fc9085f8b7b2cff6f5b1c92[277](https://github.com/saveourtool/save-cli/actions/runs/4466559035/jobs/7845288000#step:4:283)7591e72&per_page=100 (Caused by ResponseError('too many 403 error responses'))
  Error: Process completed with exit code 1.
@nulls nulls added bug Something isn't working tests infrastructure labels Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working infrastructure tests
Projects
None yet
Development

No branches or pull requests

1 participant