Page MenuHomePhabricator
Paste P13772

Other extension modules cause test failures
ActivePublic

Authored by Sebastian_Berlin-WMSE on Jan 14 2021, 4:12 PM.
$ dev/phpunit.sh
Using PHP 7.2.22-1+0~20190902.26+debian9~1.gbpd64eb7+wmf1
PHPUnit 8.5.8 by Sebastian Bergmann and contributors.
............................................................... 63 / 156 ( 40%)
...................................FFFFFF.F.................... 126 / 156 ( 80%)
.............................. 156 / 156 (100%)
Time: 56.03 seconds, Memory: 56.25 MB
There were 7 failures:
1) MediaWiki\Wikispeech\Tests\WikispeechHooksTest::testOnBeforePageDisplayDontLoadModulesIfWrongNamespace
Failed asserting that an array is empty.
/vagrant/mediawiki/extensions/Wikispeech/tests/phpunit/WikispeechHooksTest.php:107
/vagrant/mediawiki/tests/phpunit/MediaWikiIntegrationTestCase.php:437
/vagrant/mediawiki/maintenance/doMaintenance.php:106
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[localisation] [debug] LocalisationCache using store LCStoreNull []
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[Wikispeech] [info] MediaWiki\Wikispeech\Hooks\WikispeechHooks::shouldWikispeechRun: Not loading Wikispeech: unsupported namespace. []
===
2) MediaWiki\Wikispeech\Tests\WikispeechHooksTest::testOnBeforePageDisplayDontLoadModulesIfWikispeechDisabled
Failed asserting that an array is empty.
/vagrant/mediawiki/extensions/Wikispeech/tests/phpunit/WikispeechHooksTest.php:115
/vagrant/mediawiki/tests/phpunit/MediaWikiIntegrationTestCase.php:437
/vagrant/mediawiki/maintenance/doMaintenance.php:106
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[localisation] [debug] LocalisationCache using store LCStoreNull []
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[Wikispeech] [info] MediaWiki\Wikispeech\Hooks\WikispeechHooks::shouldWikispeechRun: Not loading Wikispeech: disabled by user. []
===
3) MediaWiki\Wikispeech\Tests\WikispeechHooksTest::testOnBeforePageDisplayDontLoadModulesIfLackingRights
Failed asserting that an array is empty.
/vagrant/mediawiki/extensions/Wikispeech/tests/phpunit/WikispeechHooksTest.php:123
/vagrant/mediawiki/tests/phpunit/MediaWikiIntegrationTestCase.php:437
/vagrant/mediawiki/maintenance/doMaintenance.php:106
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[localisation] [debug] LocalisationCache using store LCStoreNull []
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[Wikispeech] [info] MediaWiki\Wikispeech\Hooks\WikispeechHooks::shouldWikispeechRun: Not loading Wikispeech: user lacks right "wikispeech-listen". []
===
4) MediaWiki\Wikispeech\Tests\WikispeechHooksTest::testOnBeforePageDisplayDontLoadModulesIfServerUrlInvalid
Failed asserting that an array is empty.
/vagrant/mediawiki/extensions/Wikispeech/tests/phpunit/WikispeechHooksTest.php:133
/vagrant/mediawiki/tests/phpunit/MediaWikiIntegrationTestCase.php:437
/vagrant/mediawiki/maintenance/doMaintenance.php:106
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[localisation] [debug] LocalisationCache using store LCStoreNull []
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[localisation] [debug] LocalisationCache using store LCStoreNull []
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[Wikispeech] [warning] MediaWiki\Wikispeech\Hooks\WikispeechHooks::validateConfiguration: Configuration value for 'WikispeechSpeechoidUrl' is not a valid URL: {value} {"value":"invalid-url"}
[Wikispeech] [info] MediaWiki\Wikispeech\Hooks\WikispeechHooks::shouldWikispeechRun: Not loading Wikispeech: config invalid. []
===
5) MediaWiki\Wikispeech\Tests\WikispeechHooksTest::testOnBeforePageDisplayDontLoadModulesIfRevisionNotAccessible
Failed asserting that an array is empty.
/vagrant/mediawiki/extensions/Wikispeech/tests/phpunit/WikispeechHooksTest.php:141
/vagrant/mediawiki/tests/phpunit/MediaWikiIntegrationTestCase.php:437
/vagrant/mediawiki/maintenance/doMaintenance.php:106
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[localisation] [debug] LocalisationCache using store LCStoreNull []
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[Wikispeech] [info] MediaWiki\Wikispeech\Hooks\WikispeechHooks::shouldWikispeechRun: Not loading Wikispeech: non-current revision. []
===
6) MediaWiki\Wikispeech\Tests\WikispeechHooksTest::testOnBeforePageDisplay_invalidPageContentLanguage_dontLoadModule
Failed asserting that an array is empty.
/vagrant/mediawiki/extensions/Wikispeech/tests/phpunit/WikispeechHooksTest.php:148
/vagrant/mediawiki/tests/phpunit/MediaWikiIntegrationTestCase.php:437
/vagrant/mediawiki/maintenance/doMaintenance.php:106
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[localisation] [debug] LocalisationCache using store LCStoreNull []
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[localisation] [debug] LocalisationCache using store LCStoreNull []
[localisation] [debug] LocalisationCache::isExpired(sv): cache missing, need to make one []
[localisation] [debug] LocalisationCache::recache: got localisation for sv from source []
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[ContentHandler] [info] Registered handler for wikitext: WikitextContentHandler []
[Wikispeech] [info] MediaWiki\Wikispeech\Hooks\WikispeechHooks::shouldWikispeechRun: Not loading Wikispeech: unsupported language. []
===
7) MediaWiki\Wikispeech\Tests\WikispeechHooksTest::testOnBeforePageDisplay_actionIsntView_dontLoadModule
Failed asserting that an array is empty.
/vagrant/mediawiki/extensions/Wikispeech/tests/phpunit/WikispeechHooksTest.php:162
/vagrant/mediawiki/tests/phpunit/MediaWikiIntegrationTestCase.php:437
/vagrant/mediawiki/maintenance/doMaintenance.php:106
=== Logs generated by test case
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[localisation] [debug] LocalisationCache using store LCStoreNull []
[objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
[objectcache] [debug] fetchOrRegenerate(global:revision-row-1.29:wiki-unittest_:3:8): miss, new value computed []
[objectcache] [debug] fetchOrRegenerate(global:NameTableSqlStore:slot_roles:wiki-unittest_): miss, new value computed []
[objectcache] [debug] fetchOrRegenerate(global:NameTableSqlStore:content_models:wiki-unittest_): miss, new value computed []
[objectcache] [debug] fetchOrRegenerate(wiki-unittest_:page-content-model:8): miss, new value computed []
[ContentHandler] [info] Registered handler for wikitext: WikitextContentHandler []
[Wikispeech] [info] MediaWiki\Wikispeech\Hooks\WikispeechHooks::shouldWikispeechRun: Not loading Wikispeech: unsupported action. []
===
FAILURES!
Tests: 156, Assertions: 437, Failures: 7.

Event Timeline

Sebastian_Berlin-WMSE updated the paste's language from autodetect to bash.