On Fri, May 29, 2015 at 2:09 AM, Brian Wolff bawolff@gmail.com wrote:
Shouldnt such [pywikibot] tests be run against beta wiki not testwiki?
Primarily this hasnt happened because pywikibot doesnt have a family file for the beta wiki, but that is our issue, so I've done a simple test run on beta wiki
four initial beta wiki problems:
- no https
(not nice - that means test accounts must be created and accessed using passwords that are sent in essentially cleartext - so sharing passwords with the same account name on the real wikis is a security risk)
- invalid siteinfo interwiki map; includes entries to wikis that do not exist. That means pywikibot cant parse wikitext links, as it cant distinguish between iwprefix: and namespace: (pywikibot team might be able to reduce the impact of this wiki config problem)
- paramInfo failure that breaks pywikibot's dynamic api detection; pywikibot batch loads the paraminfo for all modules, for example issuing the following API as part of the initialisation, and it is a 503 Service Unavailable http://en.wikipedia.beta.wmflabs.org/w/api.php?action=paraminfo&modules=...
A little digging shows that the problematic module is fancycaptchareload
http://en.wikipedia.beta.wmflabs.org/w/api.php?action=paraminfo&modules=...
"Our servers are currently experiencing a technical problem. This is probably temporary and should be fixed soon. Please try again in a few minutes.
If you report this error to the Wikimedia System Administrators, please include the details below. Request: GET http://en.wikipedia.beta.wmflabs.org/w/api.php?action=paraminfo&modules=..., from 127.0.0.1 via deployment-cache-text02 deployment-cache-text02 ([127.0.0.1]:3128), Varnish XID 855090368 Forwarded for: [your IP], 127.0.0.1 Error: 503, Service Unavailable at Fri, 29 May 2015 07:57:09 GMT "
Could someone investigate this / fix that module?
Pywikibot devs could also help reduce the impact of this type of problem in the future, by falling back from batch mode fetch to loading individual modules in order to skip buggy modules.
- no SUL with the real wikis
(probably the best choice given no https on the beta cluster, but it complicates adding beta wiki to our existing Travis-CI test matrix which includes real wikis)
actual results at https://travis-ci.org/jayvdb/pywikibot-core/builds/64532033
-- John Vandenberg