Page MenuHomePhabricator

SPARQL tests often fails due to Timeout
Open, LowPublicBUG REPORT

Event Timeline

Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald Transcript
Xqt renamed this task from SPARL tests often fails due to Timeout to SPARQL tests often fails due to Timeout.Aug 29 2020, 10:39 AM
Xqt triaged this task as High priority.
Xqt added a project: Wikidata-Query-Service.

This is a wikidata issue retrieving siteinfo

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

[pywikibot/core@master] [tests] Skip SPARQL tests on TimeoutError

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

Xqt lowered the priority of this task from High to Low.May 17 2021, 7:35 PM

Change 692369 merged by jenkins-bot:

[pywikibot/core@master] [tests] Skip SPARQL tests on TimeoutError

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

Can this be closed? It seems to be resolved by disabling those tests. In any case, relying on an external service during testing seems to be bad practice and is likely to fail again if re-enabled. Especially if that dependency is WDQS, which is known to be unstable in terms of response times.

Tests aren’t disabled but the whole CI test is not marked as failure if that single test fails due to TimeoutError. As sparql interface is part of the framework and may be used by scripts it is necessary to test it. These timeouts seems to be an upstream issue (from Pywikibot's point of view) and should be solved anyway. Bot owner may expect the sparql interface working.