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

TASK DESCRIPTION
_______________ 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="">\\'>
    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.


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

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

To: Dalba
Cc: Aklapper, pywikibot-bugs-list, Dalba, Wenyi, Mahveotm, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to