Page MenuHomePhabricator
Paste P493

(An Untitled Masterwork)
ActivePublic

Authored by Mattflaschen-WMF on Apr 8 2015, 4:39 PM.
Tags
None
Referenced Files
F110090: file
Apr 8 2015, 4:39 PM
Subscribers
None
vagrant@mediawiki-vagrant:~$ sudo -u www-data php5 /vagrant/mediawiki/tests/phpunit/phpunit.php /vagrant/mediawiki/extensions/Flow/tests/phpunit
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/20-xhprof.ini on line 2 in Unknown on line 0
PHPUnit 4.6.2 by Sebastian Bergmann and contributors.
Configuration read from /vagrant/mediawiki/tests/phpunit/suite.xml
Deprecated configuration setting "strict" used
..........................................S..........S......... 63 / 472 ( 13%)
.S............................................................. 126 / 472 ( 26%)
...........SS.....SSSS......................................... 189 / 472 ( 40%)
...................................................EF.......... 252 / 472 ( 53%)
............................................................... 315 / 472 ( 66%)
............................................................... 378 / 472 ( 80%)
....................................EEEEEEEEEEEE............... 441 / 472 ( 93%)
...............................
Time: 3.9 minutes, Memory: 99.75Mb
There were 13 errors:
1) Flow\Tests\NotifiedUsersTest::testWatchingTopic
Flow\Import\ImportException: No active thread!
/vagrant/mediawiki/extensions/Flow/includes/Import/Postprocessor/LqtNotifications.php:89
/vagrant/mediawiki/extensions/Flow/includes/Import/Postprocessor/LqtNotifications.php:76
/vagrant/mediawiki/extensions/Echo/controller/NotificationController.php:273
/vagrant/mediawiki/extensions/Echo/controller/NotificationController.php:290
/vagrant/mediawiki/extensions/Echo/controller/NotificationController.php:79
/vagrant/mediawiki/extensions/Echo/model/Event.php:146
/vagrant/mediawiki/extensions/Flow/includes/Notifications/Controller.php:151
/vagrant/mediawiki/extensions/Flow/tests/phpunit/Notifications/NotifiedUsersTest.php:42
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
2) Flow\Tests\UrlGeneratorTest::testBoardLink with data set #0 (Title Object (...), 'updated', true)
PHPUnit_Framework_Exception: Argument #2 (No Value) of PHPUnit_Framework_Assert::assertArrayHasKey() must be a array or ArrayAccess
/vagrant/mediawiki/extensions/Flow/tests/phpunit/UrlGeneratorTest.php:55
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
3) Flow\Tests\UrlGeneratorTest::testBoardLink with data set #1 (Title Object (...), 'updated', false)
PHPUnit_Framework_Exception: Argument #2 (No Value) of PHPUnit_Framework_Assert::assertArrayHasKey() must be a array or ArrayAccess
/vagrant/mediawiki/extensions/Flow/tests/phpunit/UrlGeneratorTest.php:55
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
4) Flow\Tests\UrlGeneratorTest::testBoardLink with data set #2 (Title Object (...), 'created', true)
PHPUnit_Framework_Exception: Argument #2 (No Value) of PHPUnit_Framework_Assert::assertArrayHasKey() must be a array or ArrayAccess
/vagrant/mediawiki/extensions/Flow/tests/phpunit/UrlGeneratorTest.php:55
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
5) Flow\Tests\UrlGeneratorTest::testBoardLink with data set #3 (Title Object (...), 'created', false)
PHPUnit_Framework_Exception: Argument #2 (No Value) of PHPUnit_Framework_Assert::assertArrayHasKey() must be a array or ArrayAccess
/vagrant/mediawiki/extensions/Flow/tests/phpunit/UrlGeneratorTest.php:55
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
6) Flow\Tests\UrlGeneratorTest::testWatchTopicLink with data set #0 (Title Object (...), Flow\Model\UUID Object (...))
PHPUnit_Framework_Exception: Argument #2 (No Value) of PHPUnit_Framework_Assert::assertArrayHasKey() must be a array or ArrayAccess
/vagrant/mediawiki/extensions/Flow/tests/phpunit/UrlGeneratorTest.php:96
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
7) Flow\Tests\UrlGeneratorTest::testWatchTopicLink with data set #1 (Title Object (...), Flow\Model\UUID Object (...))
PHPUnit_Framework_Exception: Argument #2 (No Value) of PHPUnit_Framework_Assert::assertArrayHasKey() must be a array or ArrayAccess
/vagrant/mediawiki/extensions/Flow/tests/phpunit/UrlGeneratorTest.php:96
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
8) Flow\Tests\UrlGeneratorTest::testWatchTopicLink with data set #2 (Title Object (...), Flow\Model\UUID Object (...))
PHPUnit_Framework_Exception: Argument #2 (No Value) of PHPUnit_Framework_Assert::assertArrayHasKey() must be a array or ArrayAccess
/vagrant/mediawiki/extensions/Flow/tests/phpunit/UrlGeneratorTest.php:96
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
9) Flow\Tests\UrlGeneratorTest::testWatchTopicLink with data set #3 (Title Object (...), Flow\Model\UUID Object (...))
PHPUnit_Framework_Exception: Argument #2 (No Value) of PHPUnit_Framework_Assert::assertArrayHasKey() must be a array or ArrayAccess
/vagrant/mediawiki/extensions/Flow/tests/phpunit/UrlGeneratorTest.php:96
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
10) Flow\Tests\UrlGeneratorTest::testUnwatchTopicLink with data set #0 (Title Object (...), Flow\Model\UUID Object (...))
PHPUnit_Framework_Exception: Argument #2 (No Value) of PHPUnit_Framework_Assert::assertArrayHasKey() must be a array or ArrayAccess
/vagrant/mediawiki/extensions/Flow/tests/phpunit/UrlGeneratorTest.php:110
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
11) Flow\Tests\UrlGeneratorTest::testUnwatchTopicLink with data set #1 (Title Object (...), Flow\Model\UUID Object (...))
PHPUnit_Framework_Exception: Argument #2 (No Value) of PHPUnit_Framework_Assert::assertArrayHasKey() must be a array or ArrayAccess
/vagrant/mediawiki/extensions/Flow/tests/phpunit/UrlGeneratorTest.php:110
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
12) Flow\Tests\UrlGeneratorTest::testUnwatchTopicLink with data set #2 (Title Object (...), Flow\Model\UUID Object (...))
PHPUnit_Framework_Exception: Argument #2 (No Value) of PHPUnit_Framework_Assert::assertArrayHasKey() must be a array or ArrayAccess
/vagrant/mediawiki/extensions/Flow/tests/phpunit/UrlGeneratorTest.php:110
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
13) Flow\Tests\UrlGeneratorTest::testUnwatchTopicLink with data set #3 (Title Object (...), Flow\Model\UUID Object (...))
PHPUnit_Framework_Exception: Argument #2 (No Value) of PHPUnit_Framework_Assert::assertArrayHasKey() must be a array or ArrayAccess
/vagrant/mediawiki/extensions/Flow/tests/phpunit/UrlGeneratorTest.php:110
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
--
There was 1 failure:
1) Flow\Tests\NotifiedUsersTest::testWatchingBoard
Failed asserting that an array contains 10.
/vagrant/mediawiki/extensions/Flow/tests/phpunit/Notifications/NotifiedUsersTest.php:79
/vagrant/mediawiki/extensions/Flow/tests/phpunit/Notifications/NotifiedUsersTest.php:64
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
--
There were 9 skipped tests:
1) Flow\Tests\BufferedBagOStuffTest::testMergeFailDelayed
Unable to fork, can't test merge
/vagrant/mediawiki/extensions/Flow/tests/phpunit/Data/BagOStuff/BufferedBagOStuffTest.php:211
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
2) Flow\Tests\LocalBufferedBagOStuffTest::testMergeFailDelayed
Unable to fork, can't test merge
/vagrant/mediawiki/extensions/Flow/tests/phpunit/Data/BagOStuff/BufferedBagOStuffTest.php:211
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
3) Flow\Tests\BufferedCacheTest::testMergeFailDelayed
Unable to fork, can't test merge
/vagrant/mediawiki/extensions/Flow/tests/phpunit/Data/BagOStuff/BufferedBagOStuffTest.php:211
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
4) Flow\Tests\Formatter\FormatterTest::testCheckUserFormatter with data set #0 ('With only a topicId reply sho...t fail', Closure Object (...), 'reply', Flow\Model\UUID Object (...), Flow\Model\UUID Object (...), null)
CheckUser is not available
/vagrant/mediawiki/extensions/Flow/tests/phpunit/Formatter/FormatterTest.php:53
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
5) Flow\Tests\Formatter\FormatterTest::testCheckUserFormatter with data set #1 ('With topicId and postId shoul...t fail', Closure Object (...), 'reply', Flow\Model\UUID Object (...), Flow\Model\UUID Object (...), Flow\Model\UUID Object (...))
CheckUser is not available
/vagrant/mediawiki/extensions/Flow/tests/phpunit/Formatter/FormatterTest.php:53
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
6) Flow\Tests\Handlebars\FlowPostMetaActionsTest::testTimestampEdited with data set #0 ('never been edited', '02:52, 1 October 2014', array(true, 'creator', 'creator', null))
DomCrawler component is not available.
/vagrant/mediawiki/extensions/Flow/tests/phpunit/Handlebars/FlowPostMetaActionsTest.php:81
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
7) Flow\Tests\Handlebars\FlowPostMetaActionsTest::testTimestampEdited with data set #1 ('last edited by post creator', 'Edited 04:21, 9 October 2014', array(false, 'creator', 'creator', 'creator'))
DomCrawler component is not available.
/vagrant/mediawiki/extensions/Flow/tests/phpunit/Handlebars/FlowPostMetaActionsTest.php:81
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
8) Flow\Tests\Handlebars\FlowPostMetaActionsTest::testTimestampEdited with data set #2 ('last edited by other than post creator', 'Edited by author 04:21, 9 October 2014', array(false, 'author', 'creator', 'author'))
DomCrawler component is not available.
/vagrant/mediawiki/extensions/Flow/tests/phpunit/Handlebars/FlowPostMetaActionsTest.php:81
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
9) Flow\Tests\Handlebars\FlowPostMetaActionsTest::testTimestampEdited with data set #3 ('most recent revision not a co...t edit', 'Edited 04:21, 9 October 2014', array(false, 'author', 'creator', 'creator'))
DomCrawler component is not available.
/vagrant/mediawiki/extensions/Flow/tests/phpunit/Handlebars/FlowPostMetaActionsTest.php:81
/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:131
FAILURES!
Tests: 472, Assertions: 1343, Failures: 1, Errors: 13, Skipped: 9.
Warning: Must specify directory location for XHProf runs. Trying /tmp as default. You can either pass the directory location as an argument to the constructor for XHProfRuns_Default() or set xhprof.output_dir ini param.

Event Timeline

Mattflaschen-WMF updated the paste's language from autodetect to autodetect.