[Bug 52229] make safe for phpunit dies with fatal error

2013-08-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=52229

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

   Priority|Unprioritized   |High
Version|unspecified |1.22-git

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 52229] make safe for phpunit dies with fatal error

2013-08-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=52229

--- Comment #4 from Amir E. Aharoni amir.ahar...@mail.huji.ac.il ---
(In reply to comment #3)
  It does produce these errors if I do
  php revert 67b935e
 
 I meant to write:
 
 It does produce these errors if I do
 php revert 67b935e

I _REALLY_ meant to write:

It does NOT produce these errors if I do
php revert 67b935e

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 52229] make safe for phpunit dies with fatal error

2013-08-06 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=52229

Amir E. Aharoni amir.ahar...@mail.huji.ac.il changed:

   What|Removed |Added

 CC||amir.ahar...@mail.huji.ac.i
   ||l

--- Comment #1 from Amir E. Aharoni amir.ahar...@mail.huji.ac.il ---
I can reproduce something similar.

I run:

php phpunit.php --group Wikibase

And it fails like this:


...  1652 / 14349 (
11%)
...  1711 / 14349 (
11%)
...  1770 / 14349 (
12%)
...  1829 / 14349 (
12%)
PHP Fatal error:  Call to a member function numRows() on a
non-object in /home/amire80/dev/livowiki/includes/objectcache/SqlBagOStuff.php
on line 512
PHP Stack trace:
PHP   1. {main}() /home/amire80/dev/livowiki/tests/phpunit/phpunit.php:0
PHP   2. MediaWikiPHPUnitCommand::main()
/home/amire80/dev/livowiki/tests/phpunit/phpunit.php:119
PHP   3. MediaWikiPHPUnitCommand-run()
/home/amire80/dev/livowiki/tests/phpunit/MediaWikiPHPUnitCommand.php:64
PHP   4. PHPUnit_TextUI_Command-run()
/home/amire80/dev/livowiki/tests/phpunit/MediaWikiPHPUnitCommand.php:80
PHP   5. PHPUnit_TextUI_TestRunner-doRun()
/usr/share/pear/PHPUnit/TextUI/Command.php:176
PHP   6. PHPUnit_Framework_TestSuite-run()
/usr/share/pear/PHPUnit/TextUI/TestRunner.php:346
PHP   7. PHPUnit_Framework_TestSuite-run()
/usr/share/pear/PHPUnit/Framework/TestSuite.php:705
PHP   8. PHPUnit_Framework_TestSuite-run()
/usr/share/pear/PHPUnit/Framework/TestSuite.php:705
PHP   9. PHPUnit_Framework_TestSuite-run()
/usr/share/pear/PHPUnit/Framework/TestSuite.php:705
PHP  10. PHPUnit_Framework_TestSuite-runTest()
/usr/share/pear/PHPUnit/Framework/TestSuite.php:745
PHP  11. MediaWikiTestCase-run()
/usr/share/pear/PHPUnit/Framework/TestSuite.php:775
PHP  12. PHPUnit_Framework_TestCase-run()
/home/amire80/dev/livowiki/tests/phpunit/MediaWikiTestCase.php:116
PHP  13. PHPUnit_Framework_TestResult-run()
/usr/share/pear/PHPUnit/Framework/TestCase.php:769
PHP  14. PHP_Invoker-invoke()
/usr/share/pear/PHPUnit/Framework/TestResult.php:646
PHP  15. call_user_func_array() /usr/share/pear/PHP/Invoker.php:93
PHP  16. PHPUnit_Framework_TestCase-runBare()
/usr/share/pear/PHP/Invoker.php:93
PHP  17. PHPUnit_Framework_TestCase-runTest()
/usr/share/pear/PHPUnit/Framework/TestCase.php:824
PHP  18. ReflectionMethod-invokeArgs()
/usr/share/pear/PHPUnit/Framework/TestCase.php:969
PHP  19. Wikibase\Test\ItemMoveTest-testMovePrevention()
/usr/share/pear/PHPUnit/Framework/TestCase.php:969
PHP  20. Title-moveTo()
/home/amire80/dev/livowiki/extensions/Wikibase/repo/tests/phpunit/includes/ItemMoveTest.php:89
PHP  21. Title-isValidMoveOperation()
/home/amire80/dev/livowiki/includes/Title.php:3611
PHP  22. Title-getUserPermissionsErrors()
/home/amire80/dev/livowiki/includes/Title.php:3516
PHP  23. Title-getUserPermissionsErrorsInternal()
/home/amire80/dev/livowiki/includes/Title.php:1716
PHP  24. Title-checkPermissionHooks()
/home/amire80/dev/livowiki/includes/Title.php:2234
PHP  25. wfRunHooks() /home/amire80/dev/livowiki/includes/Title.php:1842
PHP  26. Hooks::run()
/home/amire80/dev/livowiki/includes/GlobalFunctions.php:3835
PHP  27. call_user_func_array()
/home/amire80/dev/livowiki/includes/Hooks.php:199
PHP  28. PageTranslationHooks::lockedPagesCheck()
/home/amire80/dev/livowiki/includes/Hooks.php:199
PHP  29. SqlBagOStuff-get()
/home/amire80/dev/livowiki/extensions/Translate/tag/PageTranslationHooks.php:772
PHP  30. SqlBagOStuff-getMulti()
/home/amire80/dev/livowiki/includes/objectcache/SqlBagOStuff.php:200
PHP  31. SqlBagOStuff-garbageCollect()
/home/amire80/dev/livowiki/includes/objectcache/SqlBagOStuff.php:221
PHP  32. SqlBagOStuff-expireAll()
/home/amire80/dev/livowiki/includes/objectcache/SqlBagOStuff.php:478
PHP  33. SqlBagOStuff-deleteObjectsExpiringBefore()
/home/amire80/dev/livowiki/includes/objectcache/SqlBagOStuff.php:483


It does produce these errors if I do
php revert 67b935e

-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l