PennyDreadfulMTG / perf-reports

2 stars 2 forks source link

Error running task ['maintenance', 'hourly'] #63011

Open vorpal-buildbot opened 8 months ago

vorpal-buildbot commented 8 months ago

Reported on CLI by CLI

ConnectTimeout HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/PennyDreadfulMTG/Penny-Dreadful-Tools (Caused by ConnectTimeoutError(, 'Connection to api.github.com timed out. (connect timeout=15)')) Stack Trace: ``` Python traceback Traceback with variables (most recent call last): File "/home/pdadmin/decksite/run.py", line 129, in task run_all_tasks(module, 'HOURLY') args = ['maintenance', 'hourly'] module = 'maintenance' name = 'hourly' multiverse = oracle = c = ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/PennyDreadfulMTG/Penny-Dreadful-Tools (Caused by ConnectTimeoutError(, 'Connection to api.github.com timed out. (connect timeout=15)'))")) repo = File "/home/pdadmin/decksite/run.py", line 195, in run_all_tasks raise error module = 'maintenance' with_flag = 'HOURLY' error = ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/PennyDreadfulMTG/Penny-Dreadful-Tools (Caused by ConnectTimeoutError(, 'Connection to api.github.com timed out. (connect timeout=15)'))")) m = APP = _importer = FileFinder('/home/pdadmin/decksite/maintenance') modname = 'validate_translations_test' _ispkg = False s = timer = 29722638.092131097 t = 31.550005596131086 repo = File "/home/pdadmin/decksite/run.py", line 186, in run_all_tasks s.run() module = 'maintenance' with_flag = 'HOURLY' error = ConnectTimeout(MaxRetryError("HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/PennyDreadfulMTG/Penny-Dreadful-Tools (Caused by ConnectTimeoutError(, 'Connection to api.github.com timed out. (connect timeout=15)'))")) m = APP = _importer = FileFinder('/home/pdadmin/decksite/maintenance') modname = 'validate_translations_test' _ispkg = False s = timer = 29722638.092131097 t = 31.550005596131086 repo = File "/home/pdadmin/decksite/maintenance/homepage_cache.py", line 12, in run merges = news.code_merges(start_date, end_date, force_refresh=True) start_date = datetime.datetime(2024, 2, 16, 8, 0, tzinfo=) end_date = datetime.datetime(2024, 2, 24, 5, 45, 37, 564288, tzinfo=datetime.timezone.utc) File "/home/pdadmin/decksite/decksite/data/news.py", line 62, in code_merges merges = [Container({'date': dtutil.UTC_TZ.localize(pull.merged_at), 'title': pull.title, 'url': pull.html_url, 'type': 'code-release'}) for pull in repo.get_pull_requests(start_date, end_date, max_items) if not 'Not News' in [label.name for label in pull.as_issue().labels]] start_date = datetime.datetime(2024, 2, 16, 8, 0, tzinfo=) end_date = datetime.datetime(2024, 2, 24, 5, 45, 37, 564288, tzinfo=datetime.timezone.utc) max_items = 9223372036854775807 force_refresh = True allow_fetch = True merges = [] File "/home/pdadmin/decksite/shared/repo.py", line 130, in get_pull_requests git_repo = g.get_repo(repo_name) start_date = datetime.datetime(2024, 2, 16, 8, 0, tzinfo=) end_date = datetime.datetime(2024, 2, 24, 5, 45, 37, 564288, tzinfo=datetime.timezone.utc) max_pull_requests = 9223372036854775807 repo_name = 'PennyDreadfulMTG/Penny-Dreadful-Tools' gh_user = 'vorpal-buildbot' gh_pass = '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' g = File "/home/pdadmin/decksite/.venv/lib/python3.10/site-packages/github/MainClass.py", line 363, in get_repo headers, data = self.__requester.requestJsonAndCheck("GET", url) self = full_name_or_id = 'PennyDreadfulMTG/Penny-Dreadful-Tools' lazy = False url_base = '/repos/' url = '/repos/PennyDreadfulMTG/Penny-Dreadful-Tools' File "/home/pdadmin/decksite/.venv/lib/python3.10/site-packages/github/Requester.py", line 443, in requestJsonAndCheck *self.requestJson( self = verb = 'GET' url = '/repos/PennyDreadfulMTG/Penny-Dreadful-Tools' parameters = None headers = Traceback (most recent call last): File "/home/pdadmin/decksite/.venv/lib/python3.10/site-packages/traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) TypeError: 'str' object is not callable input = None File "/home/pdadmin/decksite/.venv/lib/python3.10/site-packages/github/Requester.py", line 580, in requestJson return self.__requestEncode(cnx, verb, url, parameters, headers, input, encode) self = verb = 'GET' url = '/repos/PennyDreadfulMTG/Penny-Dreadful-Tools' parameters = None headers = Traceback (most recent call last): File "/home/pdadmin/decksite/.venv/lib/python3.10/site-packages/traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) TypeError: 'str' object is not callable input = None cnx = None encode = .encode at 0x7fa34f3f83a0> File "/home/pdadmin/decksite/.venv/lib/python3.10/site-packages/github/Requester.py", line 685, in __requestEncode status, responseHeaders, output = self.__requestRaw( self = cnx = None verb = 'GET' url = '/repos/PennyDreadfulMTG/Penny-Dreadful-Tools' parameters = {} requestHeaders = {'Authorization': 'Basic dm9ycGFsLWJ1aWxkYm90OmdocF9tcXg2MmZFOElyM0lLckhpdjJJV1J6QnRXekI4R1AyRDkwcUw=', 'User-Agent': 'PyGithub/Python'} input = None encode = .encode at 0x7fa34f3f83a0> encoded_input = None File "/home/pdadmin/decksite/.venv/lib/python3.10/site-packages/github/Requester.py", line 723, in __requestRaw response = cnx.getresponse() self = cnx = verb = 'GET' url = '/repos/PennyDreadfulMTG/Penny-Dreadful-Tools' requestHeaders = {'Authorization': 'Basic dm9ycGFsLWJ1aWxkYm90OmdocF9tcXg2MmZFOElyM0lLckhpdjJJV1J6QnRXekI4R1AyRDkwcUw=', 'User-Agent': 'PyGithub/Python'} input = None original_cnx = None File "/home/pdadmin/decksite/.venv/lib/python3.10/site-packages/github/Requester.py", line 164, in getresponse r = verb( self = verb = > url = 'https://api.github.com:443/repos/PennyDreadfulMTG/Penny-Dreadful-Tools' File "/home/pdadmin/decksite/.venv/lib/python3.10/site-packages/requests/sessions.py", line 602, in get return self.request("GET", url, **kwargs) self = url = 'https://api.github.com:443/repos/PennyDreadfulMTG/Penny-Dreadful-Tools' kwargs = {'headers': {'Authorization': 'Basic dm9ycGFsLWJ1aWxkYm90OmdocF9tcXg2MmZFOElyM0lLckhpdjJJV1J6QnRXekI4R1AyRDkwcUw=', 'User-Agent': 'PyGithub/Python'}, 'data': None, 'timeout': 15, 'verify': True, 'allow_redirects': False} File "/home/pdadmin/decksite/.venv/lib/python3.10/site-packages/requests/sessions.py", line 589, in request resp = self.send(prep, **send_kwargs) self = method = 'GET' url = 'https://api.github.com:443/repos/PennyDreadfulMTG/Penny-Dreadful-Tools' params = None data = None headers = Traceback (most recent call last): File "/home/pdadmin/decksite/.venv/lib/python3.10/site-packages/traceback_with_variables/core.py", line 222, in _to_cropped_str raw = print_(obj) TypeError: 'str' object is not callable cookies = None files = None auth = None timeout = 15 allow_redirects = False proxies = {} hooks = None stream = None verify = True cert = None json = None req = prep = settings = {'proxies': OrderedDict(), 'stream': False, 'verify': True, 'cert': None} send_kwargs = {'timeout': 15, 'allow_redirects': False, 'proxies': OrderedDict(), 'stream': False, 'verify': True, 'cert': None} File "/home/pdadmin/decksite/.venv/lib/python3.10/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) self = request = kwargs = {'timeout': 15, 'proxies': OrderedDict(), 'stream': False, 'verify': True, 'cert': None} allow_redirects = False stream = False hooks = {'response': []} adapter = start = 1708753537.5649586 File "/home/pdadmin/decksite/.venv/lib/python3.10/site-packages/requests/adapters.py", line 507, in send raise ConnectTimeout(e, request=request) self = request = stream = False timeout = Timeout(connect=15, read=15, total=None) verify = True cert = None proxies = OrderedDict() conn = url = '/repos/PennyDreadfulMTG/Penny-Dreadful-Tools' chunked = False requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/PennyDreadfulMTG/Penny-Dreadful-Tools (Caused by ConnectTimeoutError(, 'Connection to api.github.com timed out. (connect timeout=15)')) ```

Exception_hash: d614402e20ce3d7ab9edc266ae56816b54fe5ae8