Page MenuHomePhabricator

test_old_version_sites tests of site_detect_tests.MediaWikiSiteTestCase often fails
Closed, ResolvedPublicBUG REPORT

Description

12:36:35 ======================================================================
12:36:35 FAIL: test_old_version_sites (tests.site_detect_tests.MediaWikiSiteTestCase) (url='www.thelemapedia.org')
12:36:35 Test detection of old MediaWiki sites.
12:36:35 ----------------------------------------------------------------------
12:36:35 Traceback (most recent call last):
12:36:35   File "/src/tests/site_detect_tests.py", line 117, in test_old_version_sites
12:36:35     self.assertNoSite(url)
12:36:35   File "/src/tests/site_detect_tests.py", line 53, in assertNoSite
12:36:35     MWSite(url)
12:36:35 AssertionError: (<class 'AttributeError'>, <class 'pywikibot.exceptions.ClientError'>, <class 'ConnectionError'>, <class 'RuntimeError'>, <class 'pywikibot.exceptions.ServerError'>, <class 'requests.exceptions.ConnectionError'>, <class 'requests.exceptions.Timeout'>, <class 'requests.exceptions.TooManyRedirects'>) not raised

www.thelemapedia.org has MW 1.44.5 but needs many seconds for response.

Event Timeline

Xqt triaged this task as High priority.Aug 9 2026, 11:22 AM

Change #1323805 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] tests: remove www.thelemapedia.org from site_detect_tests.py test matrix

https://gerrit.wikimedia.org/r/1323805

Xqt claimed this task.

Change #1323805 merged by jenkins-bot:

[pywikibot/core@master] tests: remove www.thelemapedia.org from site_detect_tests.py test matrix

https://gerrit.wikimedia.org/r/1323805