Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
    13:10:10 ____________ ERROR at setup of 
TestLogentries.test_UploadEntry_tewp ____________
    13:10:10 
    13:10:10 cls = <class 'tests.logentries_tests.TestLogentries'>
    13:10:10 
    13:10:10     @classmethod
    13:10:10     def setUpClass(cls) -> None:
    13:10:10         """Set up the test class.
    13:10:10     
    13:10:10         Prevent tests running if the host is down.
    13:10:10         """
    13:10:10 >       super().setUpClass()
    13:10:10 
    13:10:10 tests/aspects.py:666: 
    13:10:10 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ 
    13:10:10 tests/aspects.py:1145: in setUpClass
    13:10:10     data['site'] = Site(data['code'], data['family'],
    13:10:10 pywikibot/__init__.py:274: in Site
    13:10:10     _sites[key] = interface(code=code, fam=fam, user=user)
    13:10:10                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    13:10:10 pywikibot/site/_apisite.py:138: in __init__
    13:10:10     self.login(cookie_only=True)
    13:10:10 pywikibot/site/_apisite.py:394: in login
    13:10:10     if self.userinfo['name'] == self.user():
    13:10:10        ^^^^^^^^^^^^^
    13:10:10 pywikibot/site/_apisite.py:672: in userinfo
    13:10:10     uidata = uirequest.submit()
    13:10:10              ^^^^^^^^^^^^^^^^^^
    13:10:10 pywikibot/data/api/_requests.py:1078: in submit
    13:10:10     response, use_get = self._http_request(use_get, uri, body, 
headers,
    13:10:10 pywikibot/data/api/_requests.py:775: in _http_request
    13:10:10     self.wait()
    13:10:10 pywikibot/data/api/_requests.py:1045: in wait
    13:10:10     super().wait(delay)
    13:10:10 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ _ _ _ _ 
    13:10:10 
    13:10:10 self = 
pywikibot.data.api._requests.Request<lobbypedia:lobbypedia->'/w/api.php?action=query&meta=userinfo&uiprop=blockinfo|groups|hasmsg|ratelimits|rights&formatversion=2&maxlag=5&format=json'>
    13:10:10 delay = None
    13:10:10 
    13:10:10     def wait(self, delay: int | float | None = None) -> None:
    13:10:10         """Determine how long to wait after a failed request.
    13:10:10     
    13:10:10         :param delay: Minimum time in seconds to wait. Overwrites
    13:10:10             ``retry_wait`` variable if given. The delay doubles 
each
    13:10:10             retry until ``retry_max`` seconds is reached.
    13:10:10         """
    13:10:10         if not hasattr(self, 'max_retries'):
    13:10:10             self.max_retries = pywikibot.config.max_retries
    13:10:10     
    13:10:10         if not hasattr(self, 'retry_wait'):
    13:10:10             self.retry_wait: int | float = 
pywikibot.config.retry_wait
    13:10:10     
    13:10:10         if not hasattr(self, 'current_retries'):
    13:10:10             self.current_retries = 1
    13:10:10         else:
    13:10:10             self.current_retries += 1
    13:10:10     
    13:10:10         if self.current_retries > self.max_retries:
    13:10:10 >           raise pywikibot.exceptions.ApiTimeoutError(
    13:10:10                 'Maximum retries attempted without success.')
    13:10:10 E           pywikibot.exceptions.ApiTimeoutError: Maximum retries 
attempted without success.
    13:10:10 
    13:10:10 pywikibot/data/__init__.py:47: ApiTimeoutError
    13:10:10 =============================== warnings summary 
===============================
    13:10:10 tests/reflinks_tests.py: 10 warnings
    13:10:10 tests/template_bot_tests.py: 7 warnings
    13:10:10   /src/pywikibot/pagegenerators/_generators.py:1232: 
_NotImplementedWarning: allrevisions=False returns first revision found, 
usually earliest. For most recent, use revisions='latest'. For oldest, use 
revisions='earliest','allrevisions' is deprecated since release 9.0.0.
    13:10:10     dump = xmlreader.XmlDump(filename, on_error=pywikibot.error)
    13:10:10 
    13:10:10 
tests/reflinks_tests.py::TestReferencesBotConstructor::test_xml_multiple_namespace_ids
    13:10:10   /src/scripts/reflinks.py:751: UserWarning: Site objects have 
been created before arguments were handled
    13:10:10     local_args = pywikibot.handle_args(args)
    13:10:10 
    13:10:10 tests/replacebot_tests.py::TestReplacementsMain::test_cmd_and_fix
    13:10:10   /src/scripts/replace.py:976: UserWarning: Site objects have been 
created before arguments were handled
    13:10:10     local_args = pywikibot.handle_args(args)
    13:10:10 
    13:10:10 
tests/xmlreader_tests.py::ExportDotThreeTestCase::test_XmlDumpRedirect
    13:10:10   /src/tests/xmlreader_tests.py:68: _NotImplementedWarning: 
allrevisions=False returns first revision found, usually earliest. For most 
recent, use revisions='latest'. For oldest, use 
revisions='earliest','allrevisions' is deprecated since release 9.0.0.
    13:10:10     pages = list(xmlreader.XmlDump(
    13:10:10 
    13:10:10 -- Docs: 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html
    13:10:10 =========================== short test summary info 
============================
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_BlockEntry_dewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_BlockEntry_enwow - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_BlockEntry_old - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_BlockEntry_tewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_DeleteEntry_dewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_DeleteEntry_enwow - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_DeleteEntry_old - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_DeleteEntry_tewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_ImportEntry_dewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_ImportEntry_enwow - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_ImportEntry_old - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_ImportEntry_tewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_MoveEntry_dewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_MoveEntry_enwow - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_MoveEntry_old - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_MoveEntry_tewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_NewusersEntry_dewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_NewusersEntry_enwow - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_NewusersEntry_old - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_NewusersEntry_tewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_PatrolEntry_dewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_PatrolEntry_enwow - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_PatrolEntry_old - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_PatrolEntry_tewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_ProtectEntry_dewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_ProtectEntry_enwow - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_ProtectEntry_old - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_ProtectEntry_tewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_RightsEntry_dewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_RightsEntry_enwow - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_RightsEntry_old - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_RightsEntry_tewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_ThanksEntry_dewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_ThanksEntry_enwow - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_ThanksEntry_old - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_ThanksEntry_tewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_UploadEntry_dewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_UploadEntry_enwow - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_UploadEntry_old - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 ERROR 
tests/logentries_tests.py::TestLogentries::test_UploadEntry_tewp - 
pywikibot.exceptions.ApiTimeoutError: Maximum retries attempted without success.
    13:10:10 = 1794 passed, 55 skipped, 256 deselected, 12 xfailed, 20 
warnings, 40 errors in 889.17s (0:14:49) =

TASK DETAIL
  https://phabricator.wikimedia.org/T434974

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to