_______________ ERROR at setup of TestPageUserAction.test_purge ________________ cls = <class 'tests.page_tests.TestPageUserAction'> @classmethod def setUpClass(cls): """Set up the test class. Check whether the site is write protected and skip the tests then. """ > super(TestPageUserAction, cls).setUpClass() tests/page_tests.py:981: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/aspects.py:637: in setUpClass site['site'].login(sysop) pywikibot/site.py:2104: in login if login_manager.login(retry=True, autocreate=autocreate): pywikibot/login.py:315: in login cookiedata = self.getCookie() pywikibot/tools/__init__.py:1820: in wrapper return obj(*new_args, **new_kwargs) pywikibot/data/api.py:3091: in getCookie login_result = login_request.submit() pywikibot/data/api.py:2038: in submit if self._internal_api_error(code, error, result): pywikibot/data/api.py:1921: in _internal_api_error self.wait() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = pywikibot.data.api.Request<wsbeta:en->'/w/api.php?lgname=Pywikibot-test&maxlag=5&action=login&format=json&lgpassword=[secure]&lgtoken=da8b23755c65911c35c7ea68042a70de5c6c12aa+\\'> def wait(self): """Determine how long to wait after a failed request.""" self.max_retries -= 1 if self.max_retries < 0: > raise TimeoutError('Maximum retries attempted without success.') E pywikibot.exceptions.TimeoutError: Maximum retries attempted without success.
The timeout is caused by the database lock on beta cluster.