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

TASK DESCRIPTION
  site_generators_tests -v TestSiteGenerators.test_all_links fails on several 
wikis for two days or more.
  
    D:\pwb\GIT\core>pwb -site:wikipedia:de site_generators_tests -v 
TestSiteGenerators.test_all_links
    tests: max_retries reduced from 15 to 1
    test_all_links (__main__.TestSiteGenerators.test_all_links)
    Test the site.alllinks() method. ... ERROR
     46.650s
    ======================================================================
    ERROR: test_all_links (__main__.TestSiteGenerators.test_all_links)
    Test the site.alllinks() method.
    ----------------------------------------------------------------------
    Traceback (most recent call last):
      File "D:\pwb\GIT\core\tests\site_generators_tests.py", line 340, in 
test_all_links
        fwd = list(mysite.alllinks(total=10))
              ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "D:\pwb\GIT\core\pywikibot\site\_generators.py", line 1013, in 
alllinks
        for link in algen:
        ...<3 lines>...
            yield p
      File "<frozen _collections_abc>", line 356, in __next__
      File "D:\pwb\GIT\core\pywikibot\tools\collections.py", line 279, in send
        return next(self._started_gen)
               ~~~~^^^^^^^^^^^^^^^^^^^
      File "D:\pwb\GIT\core\pywikibot\data\api\_generators.py", line 607, in 
generator
        self.data = self.request.submit()
                    ~~~~~~~~~~~~~~~~~~~^^
      File "D:\pwb\GIT\core\pywikibot\data\api\_requests.py", line 1284, in 
submit
        self._data = super().submit()
                     ~~~~~~~~~~~~~~^^
      File "D:\pwb\GIT\core\pywikibot\data\api\_requests.py", line 993, in 
submit
        response, use_get = self._http_request(use_get, uri, body, headers,
                            ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                               paramstring)
                                               ^^^^^^^^^^^^
      File "D:\pwb\GIT\core\pywikibot\data\api\_requests.py", line 684, in 
_http_request
        response = http.request(self.site, uri=uri,
                   ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^
                                method='GET' if use_get else 'POST',
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                                data=data, headers=headers, **kwargs)
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "D:\pwb\GIT\core\pywikibot\comms\http.py", line 283, in request
        r = fetch(baseuri, headers=headers, **kwargs)
            ~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "D:\pwb\GIT\core\pywikibot\comms\http.py", line 457, in fetch
        callback(response)
        ~~~~~~~~^^^^^^^^^^
      File "D:\pwb\GIT\core\pywikibot\comms\http.py", line 333, in 
error_handling_callback
        raise ServerError(response)
    pywikibot.exceptions.ServerError: 
HTTPSConnectionPool(host='de.wikipedia.org', port=443): Read timed out. (read 
timeout=45)
    
    ----------------------------------------------------------------------
    Ran 1 test in 48.283s
    
    FAILED (errors=1)
  
  It works for wikisource:zh and wikipedia:en. Pywikibot tests for MacOS is 
failing; wikipedia:de is used here as default site.

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

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

To: Xqt
Cc: Aklapper, pywikibot-bugs-list, Xqt, mevo, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, 
Mdupont, JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, 
Masti, Alchimista, Krenair
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to