[QA] Error coming from mw-api-siteinfo.py
S Page
spage at wikimedia.org
Wed Sep 10 18:53:30 UTC 2014
On Wed, Sep 10, 2014 at 2:56 AM, Gilles Dubuc <gilles at wikimedia.org> wrote:
> Several of the multimedia tests (and probably more) failed this morning
> due to that error:
>
> *03:14:07* ++ /srv/deployment/integration/slave-scripts/bin/mw-api-siteinfo.py
> http://en.wikipedia.beta.wmflabs.org/w/api.php git_branch
>
>
As Zeljko says, the real problem is all of beta labs was 404.
To avoid wasting time in misdiagnosis, instead of mw-api-siteinfo.py
reporting JSON parsing errors from
siteinfo = json.loads(response.content)
it should earlier fail with "ERROR 404 response from
http://en.wikipedia.beta.wmflabs.org/w/api.php , aggghhh!"
If there's a general healthcheck graph for beta labs accessible to mortals,
can someone add it to https://www.mediawiki.org/wiki/Beta_cluster or
https://wikitech.wikimedia.org/wiki/Beta
Big thanks to jeremyb, who was up all night working on this.
> *03:14:07* ++ /srv/deployment/integration/slave-scripts/bin/mw-api-siteinfo.py http://en.wikipedia.beta.wmflabs.org/w/api.php git_branch*03:14:07* Traceback (most recent call last):*03:14:07* File "/srv/deployment/integration/slave-scripts/bin/mw-api-siteinfo.py", line 90, in <module>*03:14:07* main()*03:14:07* File "/srv/deployment/integration/slave-scripts/bin/mw-api-siteinfo.py", line 78, in main*03:14:07* siteinfo = json.loads(response.content)*03:14:07* File "/usr/lib/python2.7/json/__init__.py", line 326, in loads*03:14:07* return _default_decoder.decode(s)*03:14:07* File "/usr/lib/python2.7/json/decoder.py", line 369, in decode*03:14:07* raise ValueError(errmsg("Extra data", s, end, len(s)))*03:14:07* ValueError: Extra data: line 1 column 4 - line 1 column 18 (char 4 - 18)
>
>
>
>
> https://integration.wikimedia.org/ci/job/browsertests-MultimediaViewer-en.wikipedia.beta.wmflabs.org-os_x_10.9-safari-sauce/153/console
>
> _______________________________________________
> QA mailing list
> QA at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/qa
>
>
--
=S Page Features engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.wikimedia.org/pipermail/qa/attachments/20140910/39135747/attachment.html>
More information about the QA
mailing list