Last modified: 2014-01-03 16:19:38 UTC
Upon trying to merge a revision that didn't touch the actual running code or unit tests, it was noticed that the tests apparently currently in place are broken. This should be fixed 15:15:09 1) MathLaTeXMLTest::testIntegration 15:15:09 Rendering of a+b in plain Text mode 15:15:09 Failed asserting that two strings are equal. 15:15:09 --- Expected 15:15:09 +++ Actual 15:15:09 @@ @@ 15:15:09 -'<span class="tex" dir="ltr" id="a_b"><math xmlns="http://www.w3.org/1998/Math/MathML" id="p1.1.m1" class="ltx_Math" alttext="a+b" xml:id="p1.1.m1.1" display="inline" xref="p1.1.m1.1.cmml"> <semantics xml:id="p1.1.m1.1a" xref="p1.1.m1.1.cmml"> <mrow xml:id="p1.1.m1.1.4" xref="p1.1.m1.1.4.cmml"> <mi xml:id="p1.1.m1.1.1" xref="p1.1.m1.1.1.cmml">a</mi> <mo xml:id="p1.1.m1.1.2" xref="p1.1.m1.1.2.cmml">+</mo> <mi xml:id="p1.1.m1.1.3" xref="p1.1.m1.1.3.cmml">b</mi> </mrow> <annotation-xml xml:id="p1.1.m1.1.cmml" encoding="MathML-Content" xref="p1.1.m1.1"> <apply xml:id="p1.1.m1.1.4.cmml" xref="p1.1.m1.1.4"> <plus xml:id="p1.1.m1.1.2.cmml" xref="p1.1.m1.1.2"/> <ci xml:id="p1.1.m1.1.1.cmml" xref="p1.1.m1.1.1">a</ci> <ci xml:id="p1.1.m1.1.3.cmml" xref="p1.1.m1.1.3">b</ci> </apply> </annotation-xml> <annotation xml:id="p1.1.m1.1b" encoding="application/x-tex" xref="p1.1.m1.1.cmml">a+b</annotation> </semantics> </math></span>' 15:15:09 +'<strong class='error'>Failed to parse(LaTeXML timeout from 'http://latexml.mathweb.org/convert'): a+b</strong> 15:15:09 +' 15:15:09 15:15:09 /srv/ssd/jenkins-slave/workspace/mwext-Math-testextensions-master/extensions/Math/tests/MathLaTeXMLTest.php:134 15:15:09 /srv/ssd/jenkins-slave/workspace/mwext-Math-testextensions-master/tests/phpunit/MediaWikiTestCase.php:123 15:15:09 /srv/ssd/jenkins-slave/workspace/mwext-Math-testextensions-master/tests/phpunit/MediaWikiPHPUnitCommand.php:80 15:15:09 /srv/ssd/jenkins-slave/workspace/mwext-Math-testextensions-master/tests/phpunit/MediaWikiPHPUnitCommand.php:64 15:15:09
https://integration.wikimedia.org/ci/job/mwext-Math-testextensions-master/453/console is possibly easier to read! ;)
https://gerrit.wikimedia.org/r/#/c/85801/
Change 104994 had a related patch set uploaded by Physikerwelt: Skip LaTeXML integration tests https://gerrit.wikimedia.org/r/104994
Seems to be related to Jenkins, since the test work locally. This test worked fine for month. But at some point in time Jenkins did no longer allow oubound connections to the webservice. Locally the test passes even today. (Again a crucial point, that was hidden becaus the change to Math 2.0 was too big.)
The real fix is to use a http proxy which is made possible by injecting $wgHTTPProxy in MediaWiki configuration. That part is done via bug 59253 / https://gerrit.wikimedia.org/r/105198
Change 104994 abandoned by Physikerwelt: Skip LaTeXML integration tests Reason: No longer needed: See Bug: 59253 https://gerrit.wikimedia.org/r/104994
Test change https://gerrit.wikimedia.org/r/#/c/105188/ The Math integration works so I guess $wgHTTPProxy is set properly \O/