RelatedArticles unit tests were failing.
The issue originated inside MobileFrontend even though MobileFrontend's unit tests do not fail.. (weird..)
it appears to be related to the Vector skin not being installed.
We skipped the test to unblock reviews.
Restore the test and verify the tests pass inside RelatedArticles.
22:38:03 Time: 2.35 minutes, Memory: 186.16MB 22:38:03 22:38:03 There were 5 errors: 22:38:03 22:38:03 1) ApiMobileViewTest::testView with data set #0 (array('mobileview', 'Foo', '1-', '', 'Lead\n== Section 1 ==\nText 1\n=...ext 2\n'), array(array(array(0), array(1, 'Section 1', 1, '<p>Text 1</p>'), array(1, 'Section 2', 2, '<p>Text 2</p>')))) 22:38:03 BadMethodCallException: Call to a member function isMainPage() on a non-object (null) 22:38:03 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/skins/MinervaNeue/includes/skins/SkinMinerva.php:200 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/skins/MinervaNeue/includes/skins/SkinMinerva.php:228 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/includes/parser/ParserOutput.php:272 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/includes/parser/ParserOutput.php:275 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/tests/phpunit/api/ApiMobileViewTest.php:25 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/includes/api/ApiMobileView.php:614 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/includes/api/ApiMobileView.php:129 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/tests/phpunit/api/ApiMobileViewTest.php:140 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/tests/phpunit/api/ApiMobileViewTest.php:173 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/tests/phpunit/MediaWikiTestCase.php:415 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/maintenance/doMaintenance.php:111 22:38:03 22:38:03 2) ApiMobileViewTest::testView with data set #1 (array('mobileview', 'Foo', '1-', '', 'Lead\n== Section 1 ==\nText 1\n=...ext 2\n', 'text'), array(array(array(1, '<p>Text 1</p>'), array(2, '<p>Text 2</p>')))) 22:38:03 BadMethodCallException: Call to a member function isMainPage() on a non-object (null) 22:38:03 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/skins/MinervaNeue/includes/skins/SkinMinerva.php:200 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/skins/MinervaNeue/includes/skins/SkinMinerva.php:228 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/includes/parser/ParserOutput.php:272 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/includes/parser/ParserOutput.php:275 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/tests/phpunit/api/ApiMobileViewTest.php:25 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/includes/api/ApiMobileView.php:614 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/includes/api/ApiMobileView.php:129 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/tests/phpunit/api/ApiMobileViewTest.php:140 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/tests/phpunit/api/ApiMobileViewTest.php:173 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/tests/phpunit/MediaWikiTestCase.php:415 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/maintenance/doMaintenance.php:111 22:38:03 22:38:03 3) ApiMobileViewTest::testView with data set #2 (array(1, '', 'mobileview', 'Foo', '', 'Lead\n== Section 1 ==\nText 1\n=...ext 2\n'), array(array(array(1, 'Section 1', 1, '<p>Text 1</p>')))) 22:38:03 BadMethodCallException: Call to a member function isMainPage() on a non-object (null) 22:38:03 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/skins/MinervaNeue/includes/skins/SkinMinerva.php:200 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/skins/MinervaNeue/includes/skins/SkinMinerva.php:228 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/includes/parser/ParserOutput.php:272 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/includes/parser/ParserOutput.php:275 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/tests/phpunit/api/ApiMobileViewTest.php:25 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/includes/api/ApiMobileView.php:614 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/includes/api/ApiMobileView.php:129 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/tests/phpunit/api/ApiMobileViewTest.php:140 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/tests/phpunit/api/ApiMobileViewTest.php:173 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/tests/phpunit/MediaWikiTestCase.php:415 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/maintenance/doMaintenance.php:111 22:38:03 22:38:03 4) ApiMobileViewTest::testView with data set #3 (array('Main Page', 1, '', 'mobileview', '', 'Lead\n== Section 1 ==\nText 1\n=...ext 2\n'), array('', array())) 22:38:03 BadMethodCallException: Call to a member function isMainPage() on a non-object (null) 22:38:03 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/skins/MinervaNeue/includes/skins/SkinMinerva.php:200 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/skins/MinervaNeue/includes/skins/SkinMinerva.php:228 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/includes/parser/ParserOutput.php:272 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/includes/parser/ParserOutput.php:275 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/tests/phpunit/api/ApiMobileViewTest.php:25 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/includes/api/ApiMobileView.php:614 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/includes/api/ApiMobileView.php:129 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/tests/phpunit/api/ApiMobileViewTest.php:140 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/tests/phpunit/api/ApiMobileViewTest.php:173 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/tests/phpunit/MediaWikiTestCase.php:415 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/maintenance/doMaintenance.php:111 22:38:03 22:38:03 5) ApiMobileViewTest::testView with data set #6 (array('Main Page', 1, true, 'namespace', 'mobileview', '', 'Lead\n== Section 1 ==\nText 1\n=...ext 2\n'), array('', array(), 0)) 22:38:03 BadMethodCallException: Call to a member function isMainPage() on a non-object (null) 22:38:03 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/skins/MinervaNeue/includes/skins/SkinMinerva.php:200 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/skins/MinervaNeue/includes/skins/SkinMinerva.php:228 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/includes/parser/ParserOutput.php:272 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/includes/parser/ParserOutput.php:275 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/tests/phpunit/api/ApiMobileViewTest.php:25 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/includes/api/ApiMobileView.php:614 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/includes/api/ApiMobileView.php:129 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/tests/phpunit/api/ApiMobileViewTest.php:140 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/extensions/MobileFrontend/tests/phpunit/api/ApiMobileViewTest.php:173 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/tests/phpunit/MediaWikiTestCase.php:415 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/maintenance/doMaintenance.php:111 22:38:03 22:38:03 -- 22:38:03 22:38:03 There were 2 failures: 22:38:03 22:38:03 1) ParserIntegrationTest::testParse with data set "luaParserTests.txt: Scribunto: expandTemplate with headers" ('[details omitted]') 22:38:03 Failed asserting that two strings are equal. 22:38:03 --- Expected 22:38:03 +++ Actual 22:38:03 @@ @@ 22:38:03 -'<h2><span class="mw-headline" id="foo">foo</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: foo">edit</a><span class="mw-editsection-bracket">]</span></span></h2> 22:38:03 -<h2><span class="mw-headline" id="bar">bar</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Template:Scribunto_template_with_headers&action=edit&section=T-1" title="Template:Scribunto template with headers">edit</a><span class="mw-editsection-bracket">]</span></span></h2> 22:38:03 +'<h2><span class="mw-headline" id="foo">foo</span><span><a href="/index.php?title=API&action=edit&section=1" title="Edit section: foo" data-section="1" class="mw-ui-icon mw-ui-icon-element mw-ui-icon-edit-enabled edit-page">Edit</a></span></h2> 22:38:03 +<h2><span class="mw-headline" id="bar">bar</span><span><a href="/index.php?title=API&action=edit&section=T-1" title="Edit section: " data-section="T-1" class="mw-ui-icon mw-ui-icon-element mw-ui-icon-edit-enabled edit-page">Edit</a></span></h2> 22:38:03 ' 22:38:03 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/tests/phpunit/includes/parser/ParserIntegrationTest.php:37 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/maintenance/doMaintenance.php:111 22:38:03 22:38:03 2) ParserIntegrationTest::testParse with data set "citeParserTests.txt: <ref>s with the follow parameter" ('[details omitted]') 22:38:03 Failed asserting that two strings are equal. 22:38:03 --- Expected 22:38:03 +++ Actual 22:38:03 @@ @@ 22:38:03 '<p>Page one.<sup id="cite_ref-beginning_1-0" class="reference"><a href="#cite_note-beginning-1">[1]</a></sup> 22:38:03 </p><p>Page two. 22:38:03 </p> 22:38:03 -<h2><span class="mw-headline" id="References">References</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Parser_test&action=edit&section=1" title="Edit section: References">edit</a><span class="mw-editsection-bracket">]</span></span></h2> 22:38:03 +<h2><span class="mw-headline" id="References">References</span><span><a href="/index.php?title=API&action=edit&section=1" title="Edit section: References" data-section="1" class="mw-ui-icon mw-ui-icon-element mw-ui-icon-edit-enabled edit-page">Edit</a></span></h2> 22:38:03 <div class="mw-references-wrap"><ol class="references"> 22:38:03 <li id="cite_note-beginning-1"><span class="mw-cite-backlink"><a href="#cite_ref-beginning_1-0">↑</a></span> <span class="reference-text">First page footnote text. Second page footnote text.</span> 22:38:03 </li> 22:38:03 </ol></div> 22:38:03 ' 22:38:03 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/tests/phpunit/includes/parser/ParserIntegrationTest.php:37 22:38:03 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/maintenance/doMaintenance.php:111 22:38:03 22:38:03 FAILURES! 22:38:03 Tests: 5379, Assertions: 20377, Errors: 5, Failures: 2, Skipped: 16, Risky: 1. 22:38:03 Build step 'Execute shell' marked build as failure 22:38:03 Recording test results 22:38:07 [PostBuildScript] - Execution post build scripts. 22:38:07 [PostBuildScript] Build is not success : do not execute script 22:38:07 Archiving artifacts 22:38:09 Finished: FAILURE
Previously
Unit tests in MinervaNeue were a problem. These have since been fixed.
https://integration.wikimedia.org/ci/job/mwext-testextension-hhvm-jessie/10924/console
18:40:06 1) Tests\MobileFrontend\Skins\SkinMinervaTest::testGetContextSpecificModules with data set #0 (true, false, 'skins.minerva.fontchanger', true) 18:40:06 BadMethodCallException: Call to a member function inNamespace() on a non-object (null) 18:40:06 18:40:06 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/skins/MinervaNeue/includes/skins/SkinUserPageHelper.php:37 18:40:06 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/skins/MinervaNeue/includes/skins/SkinUserPageHelper.php:59 18:40:06 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/skins/MinervaNeue/includes/skins/SkinMinerva.php:201 18:40:06 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/skins/MinervaNeue/includes/skins/SkinMinerva.php:1252 18:40:06 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/vendor/wikimedia/testing-access-wrapper/src/TestingAccessWrapper.php:72 18:40:06 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/skins/MinervaNeue/tests/phpunit/skins/SkinMinervaTest.php:190 18:40:06 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/tests/phpunit/MediaWikiTestCase.php:415 18:40:06 /home/jenkins/workspace/mwext-testextension-hhvm-jessie/src/maintenance/doMaintenance.php:111 18:40:06
Theories
I suspect this test fails when MobileFrontend is not present or Minerva is included before MobileFrontend