<div dir="ltr">On Wed, Sep 10, 2014 at 2:56 AM, Gilles Dubuc <span dir="ltr"><<a href="mailto:gilles@wikimedia.org" target="_blank">gilles@wikimedia.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Several of the multimedia tests (and probably more) failed this morning due to that error: <br><pre><font size="1"><span><b>03:14:07</b> </span>++ /srv/deployment/integration/</font><font size="1">slave-scripts/bin/mw-api-</font><font size="1">siteinfo.py <br><a href="http://en.wikipedia.beta.wmflabs.org/w/api.php" target="_blank">http://en.wikipedia.beta.wmflabs.org/w/api.php</a> git_branch</font></pre></div></blockquote><div><br></div><div>As Zeljko says, the real problem is all of beta labs was 404.<br></div><div>To avoid wasting time in misdiagnosis, instead of mw-api-siteinfo.py reporting JSON parsing errors from <br><pre> siteinfo = json.loads(response.content)</pre>it should earlier fail with "ERROR 404 <span style="font-family:courier new,monospace">response</span> from<a href="http://en.wikipedia.beta.wmflabs.org/w/api.php" target="_blank"> http://en.wikipedia.beta.wmflabs.org/w/api.php</a> , aggghhh!"<br><br></div><div>If there's a general healthcheck graph for beta labs accessible to mortals, can someone add it to <a href="https://www.mediawiki.org/wiki/Beta_cluster">https://www.mediawiki.org/wiki/Beta_cluster</a> or <a href="https://wikitech.wikimedia.org/wiki/Beta">https://wikitech.wikimedia.org/wiki/Beta</a><br></div><div><br></div><div>Big thanks to jeremyb, who was up all night working on this.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><pre><span><b>03:14:07</b> </span>++ /srv/deployment/integration/slave-scripts/bin/mw-api-siteinfo.py <a href="http://en.wikipedia.beta.wmflabs.org/w/api.php" target="_blank">http://en.wikipedia.beta.wmflabs.org/w/api.php</a> git_branch
<span><b>03:14:07</b> </span>Traceback (most recent call last):
<span><b>03:14:07</b> </span> File "/srv/deployment/integration/slave-scripts/bin/mw-api-siteinfo.py", line 90, in <module>
<span><b>03:14:07</b> </span> main()
<span><b>03:14:07</b> </span> File "/srv/deployment/integration/slave-scripts/bin/mw-api-siteinfo.py", line 78, in main
<span><b>03:14:07</b> </span> siteinfo = json.loads(response.content)
<span><b>03:14:07</b> </span> File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
<span><b>03:14:07</b> </span> return _default_decoder.decode(s)
<span><b>03:14:07</b> </span> File "/usr/lib/python2.7/json/decoder.py", line 369, in decode
<span><b>03:14:07</b> </span> raise ValueError(errmsg("Extra data", s, end, len(s)))
<span><b>03:14:07</b> </span>ValueError: Extra data: line 1 column 4 - line 1 column 18 (char 4 - 18)</pre><br><br><a href="https://integration.wikimedia.org/ci/job/browsertests-MultimediaViewer-en.wikipedia.beta.wmflabs.org-os_x_10.9-safari-sauce/153/console" target="_blank">https://integration.wikimedia.org/ci/job/browsertests-MultimediaViewer-en.wikipedia.beta.wmflabs.org-os_x_10.9-safari-sauce/153/console</a><br></div>
<br>_______________________________________________<br>
QA mailing list<br>
<a href="mailto:QA@lists.wikimedia.org">QA@lists.wikimedia.org</a><br>
<a href="https://lists.wikimedia.org/mailman/listinfo/qa" target="_blank">https://lists.wikimedia.org/mailman/listinfo/qa</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">=S Page Features engineer<br></div>
</div></div>