jayvdb created this task. jayvdb added a subscriber: jayvdb. jayvdb added a project: Pywikibot-tests. Restricted Application added subscribers: Aklapper, pywikipedia-bugs.
TASK DESCRIPTION Maybe we should catch timeouts on wqd and not report an them as an error? That **might** hide real problems...?
https://travis-ci.org/wikimedia/pywikibot-core/jobs/51129125
``` ======================================================================
ERROR: testQueryApiGetter (tests.wikidataquery_tests.TestApiSlowFunctions) Test that we can actually retreive data and that caching works. ----------------------------------------------------------------------
Traceback (most recent call last): File "/home/travis/build/wikimedia/pywikibot-core/tests/wikidataquery_tests.py", line 251, in testQueryApiGetter data = w.query(q) File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/wikidataquery.py", line 590, in query data = self.getDataFromHost(fullQueryString) File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/data/wikidataquery.py", line 561, in getDataFromHost resp = http.request(None, url) File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/tools.py", line 869, in wrapper return obj(*__args, **__kw) File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 249, in request r = fetch(uri, *args, **kwargs) File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 362, in fetch error_handling_callback(request) File "/home/travis/build/wikimedia/pywikibot-core/pywikibot/comms/http.py", line 282, in error_handling_callback raise Server504Error("Server %s timed out" % request.hostname) Server504Error: Server wdq.wmflabs.org timed out ```
TASK DETAIL https://phabricator.wikimedia.org/T89769
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: jayvdb Cc: pywikipedia-bugs, jayvdb, Aklapper
pywikipedia-bugs@lists.wikimedia.org