https://bugzilla.wikimedia.org/show_bug.cgi?id=52229
Web browser: ---
Bug ID: 52229
Summary: make safe for phpunit dies with fatal error
Product: MediaWiki
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: Unprioritized
Component: Unit tests
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
Here is the output. 67b935e is the commit which starts causing this. The issue
seems to be that $db->select() returns false, and it returns false because
"Table 'sandwiki.unittest_objectcache' doesn't exist (localhost)". I don't know
why these errors are suppressed and do no throw exceptions instead of these
warnings and fatal errors.
twn:/www/dev.translatewiki.net/w/tests/phpunit ((67b935e...)|BISECTING)$ make
safe
php phpunit.php --configuration
/www/dev.translatewiki.net/w/tests/phpunit/suite.xml --exclude-group
Broken,ParserFuzz,Destructive,Stub
PHPUnit 3.7.8 by Sebastian Bergmann.
Configuration read from /www/dev.translatewiki.net/w/tests/phpunit/suite.xml
F
Warning: Invalid argument supplied for foreach() in
/www/dev.translatewiki.net/w/includes/objectcache/SqlBagOStuff.php on line 232
...............................................EEEEEEEEEEE 59 / 11016 ( 0%)
EEE.SSSSSS.....FE
Warning: Invalid argument supplied for foreach() in
/www/dev.translatewiki.net/w/includes/objectcache/SqlBagOStuff.php on line 232
E
Warning: Invalid argument supplied for foreach() in
/www/dev.translatewiki.net/w/includes/objectcache/SqlBagOStuff.php on line 232
EEE
Warning: Invalid argument supplied for foreach() in
/www/dev.translatewiki.net/w/includes/objectcache/SqlBagOStuff.php on line 232
EEEEEEEE.............................. 118 / 11016 ( 1%)
........................................................... 177 / 11016 (
1%)
........................................................... 236 / 11016 (
2%)
........................................................... 295 / 11016 (
2%)
........................................................... 354 / 11016 (
3%)
........................................................... 413 / 11016 (
3%)
........................................................... 472 / 11016 (
4%)
........................................................... 531 / 11016 (
4%)
........................................................... 590 / 11016 (
5%)
........................................................... 649 / 11016 (
5%)
........................................................... 708 / 11016 (
6%)
........................................................... 767 / 11016 (
6%)
........................................................... 826 / 11016 (
7%)
........................................................... 885 / 11016 (
8%)
........................................................... 944 / 11016 (
8%)
........................................................... 1003 / 11016 (
9%)
........................................................... 1062 / 11016 (
9%)
........................................................... 1121 / 11016 (
10%)
........................................................... 1180 / 11016 (
10%)
........................................................... 1239 / 11016 (
11%)
........................................................... 1298 / 11016 (
11%)
........................................................... 1357 / 11016 (
12%)
...................................................E....... 1416 / 11016 (
12%)
........................................................... 1475 / 11016 (
13%)
.................................................F
Warning: Invalid argument supplied for foreach() in
/www/dev.translatewiki.net/w/includes/objectcache/SqlBagOStuff.php on line 232
.......F
Warning: Invalid argument supplied for foreach() in
/www/dev.translatewiki.net/w/includes/objectcache/SqlBagOStuff.php on line 232
. 1534 / 11016 ( 13%)
.F
Warning: Invalid argument supplied for foreach() in
/www/dev.translatewiki.net/w/includes/objectcache/SqlBagOStuff.php on line 232
Fatal error: Call to a member function numRows() on a non-object in
/www/dev.translatewiki.net/w/includes/objectcache/SqlBagOStuff.php on line 512
make: *** [safe] Error 255
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l