User:😂/zend-phpunit

chad@sexy /www/mediawiki/core/tests/phpunit (master)$ php phpunit.php PHPUnit 3.7.23 by Sebastian Bergmann.

Configuration read from /www/mediawiki/core/tests/phpunit/suite.xml

.............................................................  61 / 7165 (  0%) .............................................................  122 / 7165 (  1%) .............................................................  183 / 7165 (  2%) .............................................................  244 / 7165 (  3%) .............................................................  305 / 7165 (  4%) .............................................................  366 / 7165 (  5%) .............................................................  427 / 7165 (  5%) .............................................................  488 / 7165 (  6%) .............................................................  549 / 7165 (  7%) .............................................................  610 / 7165 (  8%) .............................................................  671 / 7165 (  9%) .............................................................  732 / 7165 ( 10%) .............................................................  793 / 7165 ( 11%) .............................................................  854 / 7165 ( 11%) .............................................................  915 / 7165 ( 12%) .............................................................  976 / 7165 ( 13%) ............................................................. 1037 / 7165 ( 14%) ............................................................. 1098 / 7165 ( 15%) ............................................................. 1159 / 7165 ( 16%) ............................................................. 1220 / 7165 ( 17%) ............................................................. 1281 / 7165 ( 17%) ............................................................. 1342 / 7165 ( 18%) ............................................................. 1403 / 7165 ( 19%) ............................................................. 1464 / 7165 ( 20%) ............................................................. 1525 / 7165 ( 21%) ................E............................................ 1586 / 7165 ( 22%) ............................................................. 1647 / 7165 ( 22%) ............................................................. 1708 / 7165 ( 23%) ............................................................. 1769 / 7165 ( 24%) ............................................................. 1830 / 7165 ( 25%) ............................................................. 1891 / 7165 ( 26%) ............................................................. 1952 / 7165 ( 27%) ............................................................. 2013 / 7165 ( 28%) .................................F........................... 2074 / 7165 ( 28%) ....................F........................................ 2135 / 7165 ( 29%) ............................................................. 2196 / 7165 ( 30%) ............................................................. 2257 / 7165 ( 31%) ............................................................. 2318 / 7165 ( 32%) ............................................................. 2379 / 7165 ( 33%) ............................................................. 2440 / 7165 ( 34%) ............................................................. 2501 / 7165 ( 34%) ............................................................. 2562 / 7165 ( 35%) ............................................................. 2623 / 7165 ( 36%) ............................................................. 2684 / 7165 ( 37%) ............................................................. 2745 / 7165 ( 38%) ............................................................. 2806 / 7165 ( 39%) ............................................................. 2867 / 7165 ( 40%) ............................................................. 2928 / 7165 ( 40%) ............................................................. 2989 / 7165 ( 41%) ............................................................. 3050 / 7165 ( 42%) ............................................................. 3111 / 7165 ( 43%) ............................................................. 3172 / 7165 ( 44%) ............................................................. 3233 / 7165 ( 45%) ............................................................. 3294 / 7165 ( 45%) ............................................................. 3355 / 7165 ( 46%) ............................................................. 3416 / 7165 ( 47%) ............................................................. 3477 / 7165 ( 48%) ............................................................. 3538 / 7165 ( 49%) ............................................................. 3599 / 7165 ( 50%) ............................................................. 3660 / 7165 ( 51%) ............................................................. 3721 / 7165 ( 51%) ............................................................. 3782 / 7165 ( 52%) ............................................................. 3843 / 7165 ( 53%) ............................................................. 3904 / 7165 ( 54%) ............................................................. 3965 / 7165 ( 55%) ............................................................. 4026 / 7165 ( 56%) ............................................................. 4087 / 7165 ( 57%) ............................................................. 4148 / 7165 ( 57%) ............................................................. 4209 / 7165 ( 58%) ............................................................. 4270 / 7165 ( 59%) .............................................F............... 4331 / 7165 ( 60%) ............................................................. 4392 / 7165 ( 61%) ............................................................. 4453 / 7165 ( 62%) ............................................................. 4514 / 7165 ( 63%) ............................................................. 4575 / 7165 ( 63%) ............................................................. 4636 / 7165 ( 64%) ............................................................. 4697 / 7165 ( 65%) ............................................................. 4758 / 7165 ( 66%) ............................................................. 4819 / 7165 ( 67%) ............................................................. 4880 / 7165 ( 68%) ............................................................. 4941 / 7165 ( 68%) ........................................FFFF................. 5002 / 7165 ( 69%) ............................................................. 5063 / 7165 ( 70%) ............................................................. 5124 / 7165 ( 71%) ............................................................. 5185 / 7165 ( 72%) ...S......................................................... 5246 / 7165 ( 73%) ............................................................. 5307 / 7165 ( 74%) ............................................................. 5368 / 7165 ( 74%) ............................................................. 5429 / 7165 ( 75%) .....................................................SSSSSSSS 5490 / 7165 ( 76%) S............................................................ 5551 / 7165 ( 77%) ............................................................. 5612 / 7165 ( 78%) ............................................................. 5673 / 7165 ( 79%) ............................................................. 5734 / 7165 ( 80%) ............................................................. 5795 / 7165 ( 80%) ............................................................. 5856 / 7165 ( 81%) ............................................................. 5917 / 7165 ( 82%) ............................................................. 5978 / 7165 ( 83%) ............................................................. 6039 / 7165 ( 84%) ............................................................. 6100 / 7165 ( 85%) ............................................................. 6161 / 7165 ( 85%) .......................S..................................... 6222 / 7165 ( 86%) ............................................................. 6283 / 7165 ( 87%) ............................................................. 6344 / 7165 ( 88%) ............................................................. 6405 / 7165 ( 89%) ............................................................. 6466 / 7165 ( 90%) ............................................................. 6527 / 7165 ( 91%) ............................................................. 6588 / 7165 ( 91%) ............................................................. 6649 / 7165 ( 92%) ............................................................. 6710 / 7165 ( 93%) .......FFFFF2013-10-16 19:53:40: wikidb-unittest_ (ID 8823) 3 pages (414.6|414.6/sec all|curr), 6 revs (829.3|829.3/sec all|curr), ETA 2013-10-16 19:53:41 [max 407] ................................................. 6771 / 7165 ( 94%) ............................................................. 6832 / 7165 ( 95%) ............................................................. 6893 / 7165 ( 96%) ............................................................. 6954 / 7165 ( 97%) ............................................................. 7015 / 7165 ( 97%) ..............................................

Time: 2.82 minutes, Memory: 457.25Mb

There was 1 error:

1) RequestContextTest::testImportScopedSession session_write_close: open(/tmp/d/6/sess_d612ee607c87e749ef14da4983a702cd, O_RDWR) failed: No such file or directory (2)

/www/mediawiki/core/includes/context/RequestContext.php:454 /www/mediawiki/core/includes/context/RequestContext.php:486 /www/mediawiki/core/includes/ScopedCallback.php:70 /www/mediawiki/core/tests/phpunit/includes/RequestContextTest.php:60 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

--

There were 12 failures:

1) TitlePermissionTest::testUserBlock Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( 0 => Array (        0 => 'autoblockedtext'         1 => 'Useruser'         2 => 'no reason given' -        3 => '127.0.0.1' +        3 => '192.0.2.0'         4 => 'Useruser'         5 => null         6 => 'infinite'         7 => '127.0.8.1'         8 => '19:51, 16 October 2013'     ) )

/www/mediawiki/core/tests/phpunit/includes/TitlePermissionTest.php:701 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

2) TitleTest::testGetpageviewlanguage with data set #11 ('zh-cn', 'Help:I_need_somebody', 'zh', 'zh-tw', 'zh-cn') Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'zh-cn' +'zh'

/www/mediawiki/core/tests/phpunit/includes/TitleTest.php:375 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

3) ParserTests::testParserTest with data set #537 ('pre-save transform: Signature expansion', '* pre-save transform: Signature expansion Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'* 127.0.0.1 -* 127.0.0.1 -* 127.0.0.1 -* 127.0.0.1 ' +'* 192.0.2.0 +* 192.0.2.0 +* 192.0.2.0 +* 192.0.2.0 '
 * ', '* 127.0.0.1
 * 127.0.0.1
 * 127.0.0.1
 * 127.0.0.1 ', 'pst', '')
 * 127.0.0.1
 * 127.0.0.1 ', 'pst', '')

/www/mediawiki/core/tests/phpunit/includes/parser/NewParserTest.php:662 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

4) SearchEngineTest::testTextSearch Plain search failed Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( 0 => 'Smithee' +   1 => 'Smithee' )

/www/mediawiki/core/tests/phpunit/includes/search/SearchEngineTest.php:141 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

5) SearchEngineTest::testTextPowerSearch Power search failed Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( 0 => 'Smithee' -   1 => 'Talk:Not Main Page' +   1 => 'Smithee' +   2 => 'Smithee' +   3 => 'Talk:Not Main Page' +   4 => 'Talk:Not Main Page' +   5 => 'Talk:Not Main Page' )

/www/mediawiki/core/tests/phpunit/includes/search/SearchEngineTest.php:152 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

6) SearchEngineTest::testTitleSearch Title search failed Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( 0 => 'Alan Smithee' -   1 => 'Smithee' +   1 => 'Alan Smithee' +   2 => 'Alan Smithee' +   3 => 'Alan Smithee' +   4 => 'Smithee' +   5 => 'Smithee' +   6 => 'Smithee' +   7 => 'Smithee' )

/www/mediawiki/core/tests/phpunit/includes/search/SearchEngineTest.php:162 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

7) SearchEngineTest::testTextTitlePowerSearch Title power search failed Failed asserting that two arrays are equal. --- Expected +++ Actual @@ @@ Array ( 0 => 'Alan Smithee' -   1 => 'Smithee' -   2 => 'Talk:Smithee' +   1 => 'Alan Smithee' +   2 => 'Alan Smithee' +   3 => 'Smithee' +   4 => 'Smithee' +   5 => 'Smithee' +   6 => 'Smithee' +   7 => 'Talk:Smithee' +   8 => 'Talk:Smithee' +   9 => 'Talk:Smithee' )

/www/mediawiki/core/tests/phpunit/includes/search/SearchEngineTest.php:174 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

8) BackupDumperPageTest::testFullTextPlain Node name Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'ip' +'username'

/www/mediawiki/core/tests/phpunit/maintenance/DumpTestCase.php:210 /www/mediawiki/core/tests/phpunit/maintenance/DumpTestCase.php:246 /www/mediawiki/core/tests/phpunit/maintenance/DumpTestCase.php:319 /www/mediawiki/core/tests/phpunit/maintenance/backup_PageTest.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

9) BackupDumperPageTest::testFullStubPlain Node name Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'ip' +'username'

/www/mediawiki/core/tests/phpunit/maintenance/DumpTestCase.php:210 /www/mediawiki/core/tests/phpunit/maintenance/DumpTestCase.php:246 /www/mediawiki/core/tests/phpunit/maintenance/DumpTestCase.php:319 /www/mediawiki/core/tests/phpunit/maintenance/backup_PageTest.php:166 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

10) BackupDumperPageTest::testCurrentStubPlain Node name Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'ip' +'username'

/www/mediawiki/core/tests/phpunit/maintenance/DumpTestCase.php:210 /www/mediawiki/core/tests/phpunit/maintenance/DumpTestCase.php:246 /www/mediawiki/core/tests/phpunit/maintenance/DumpTestCase.php:319 /www/mediawiki/core/tests/phpunit/maintenance/backup_PageTest.php:211 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

11) BackupDumperPageTest::testCurrentStubGzip Node name Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'ip' +'username'

/www/mediawiki/core/tests/phpunit/maintenance/DumpTestCase.php:210 /www/mediawiki/core/tests/phpunit/maintenance/DumpTestCase.php:246 /www/mediawiki/core/tests/phpunit/maintenance/DumpTestCase.php:319 /www/mediawiki/core/tests/phpunit/maintenance/backup_PageTest.php:253 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

12) BackupDumperPageTest::testXmlDumpsBackupUseCase Node name Failed asserting that two strings are equal. --- Expected +++ Actual @@ @@ -'ip' +'username'

/www/mediawiki/core/tests/phpunit/maintenance/DumpTestCase.php:210 /www/mediawiki/core/tests/phpunit/maintenance/DumpTestCase.php:246 /www/mediawiki/core/tests/phpunit/maintenance/DumpTestCase.php:319 /www/mediawiki/core/tests/phpunit/maintenance/backup_PageTest.php:323 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

There were 11 skipped tests:

1) QueryAllSpecialPagesTest::testQuerypageSqlQuery SQL query for page BrokenRedirects can not be tested on MySQL backend (it reopens a temporary table)

/www/mediawiki/core/tests/phpunit/includes/specials/QueryAllSpecialPagesTest.php:65 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

2) LanguageGvTest::testGetPluralRuleType with data set #0 ('Form 4', 0) This test won't work since convertPlural for gv doesn't seem to actually follow our plural rules.

/www/mediawiki/core/tests/phpunit/languages/LanguageGvTest.php:20 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

3) LanguageGvTest::testGetPluralRuleType with data set #1 ('Form 2', 1) This test won't work since convertPlural for gv doesn't seem to actually follow our plural rules.

/www/mediawiki/core/tests/phpunit/languages/LanguageGvTest.php:20 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

4) LanguageGvTest::testGetPluralRuleType with data set #2 ('Form 3', 2) This test won't work since convertPlural for gv doesn't seem to actually follow our plural rules.

/www/mediawiki/core/tests/phpunit/languages/LanguageGvTest.php:20 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

5) LanguageGvTest::testGetPluralRuleType with data set #3 ('Form 4', 3) This test won't work since convertPlural for gv doesn't seem to actually follow our plural rules.

/www/mediawiki/core/tests/phpunit/languages/LanguageGvTest.php:20 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

6) LanguageGvTest::testGetPluralRuleType with data set #4 ('Form 1', 20) This test won't work since convertPlural for gv doesn't seem to actually follow our plural rules.

/www/mediawiki/core/tests/phpunit/languages/LanguageGvTest.php:20 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

7) LanguageGvTest::testGetPluralRuleType with data set #5 ('Form 2', 21) This test won't work since convertPlural for gv doesn't seem to actually follow our plural rules.

/www/mediawiki/core/tests/phpunit/languages/LanguageGvTest.php:20 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

8) LanguageGvTest::testGetPluralRuleType with data set #6 ('Form 3', 22) This test won't work since convertPlural for gv doesn't seem to actually follow our plural rules.

/www/mediawiki/core/tests/phpunit/languages/LanguageGvTest.php:20 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

9) LanguageGvTest::testGetPluralRuleType with data set #7 ('Form 4', 23) This test won't work since convertPlural for gv doesn't seem to actually follow our plural rules.

/www/mediawiki/core/tests/phpunit/languages/LanguageGvTest.php:20 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

10) LanguageGvTest::testGetPluralRuleType with data set #8 ('Form 4', 50) This test won't work since convertPlural for gv doesn't seem to actually follow our plural rules.

/www/mediawiki/core/tests/phpunit/languages/LanguageGvTest.php:20 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

11) LanguageTest::testKnownCldrLanguageTag The LanguageNames class is not available. The cldr extension is probably not installed.

/www/mediawiki/core/tests/phpunit/languages/LanguageTest.php:474 /www/mediawiki/core/tests/phpunit/MediaWikiTestCase.php:116 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:80 /www/mediawiki/core/tests/phpunit/MediaWikiPHPUnitCommand.php:64

FAILURES! Tests: 7061, Assertions: 609849, Failures: 12, Errors: 1, Skipped: 11.