Page MenuHomePhabricator

TestInternetArchive.testInternetArchiveNewest sometimes fails with ConnectionError: ('Connection aborted.', BadStatusLine("''",))
Closed, ResolvedPublic

Description

4028.5
4015.3
4006.3

E           requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine("''",))

Event Timeline

Change 351238 had a related patch set uploaded (by Dalba; owner: Dalba):
[pywikibot/core@master] weblib_tests.py: Skip TestInternetArchive if there is a ConnectionError

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

Change 351238 abandoned by Dalba:
weblib_tests.py: Skip TestInternetArchive if there is a ConnectionError

Reason:
It may be better to retry inside the getInternetArchiveURL function

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

Change 351241 had a related patch set uploaded (by Dalba; owner: Dalba):
[pywikibot/core@master] getInternetArchiveURL: Retry http.fetch if there is a ConnectionError

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

Change 351241 merged by jenkins-bot:
[pywikibot/core@master] getInternetArchiveURL: Retry http.fetch if there is a ConnectionError

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

Dalba claimed this task.