Last modified: 2014-10-02 16:00:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T70672, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68672 - hhvm: SolrTTMServerTest::testSearchableTTMServer BadMethodCallException: Call to a member function getMessage() on a non-object (NULL)
hhvm: SolrTTMServerTest::testSearchableTTMServer BadMethodCallException: Call...
Status: UNCONFIRMED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: hhvm
Depends on:
Blocks: 67216
  Show dependency treegraph
 
Reported: 2014-07-27 12:25 UTC by Nemo
Modified: 2014-10-02 16:00 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nemo 2014-07-27 12:25:33 UTC
This doesn't happen to me with php5 but does with hhvm and roles translate + cirrussearch (or gettingstarted, which implies cirrussearch) enabled. Once I disabled cirrussearch and gettingstarted, the test was skipped correctly, "No test TTMServer available".

Niklas said "I think CirrusSearch should disable itself when it detects unit tests are being run".

vagrant@nemobis:/srv/vagrant/mediawiki/tests/phpunit$ php phpunit.php suites/ExtensionsTestSuite.php 

[...]

PHPUnit 3.7.37 by Sebastian Bergmann.

[...]

There were 2 errors:

1) SolrTTMServerTest::testSearchableTTMServer
BadMethodCallException: Call to a member function getMessage() on a non-object (NULL)

/srv/vagrant/mediawiki/extensions/Translate/tag/TranslatablePage.php:253
/srv/vagrant/mediawiki/extensions/Translate/tag/PageTranslationHooks.php:47
/srv/vagrant/mediawiki/includes/Hooks.php:206
/srv/vagrant/mediawiki/includes/GlobalFunctions.php:4031
/srv/vagrant/mediawiki/includes/parser/Parser.php:402
/srv/vagrant/mediawiki/includes/content/WikitextContent.php:327
/srv/vagrant/mediawiki/includes/content/AbstractContent.php:486
/srv/vagrant/mediawiki/extensions/CirrusSearch/includes/Updater.php:410
/srv/vagrant/mediawiki/extensions/CirrusSearch/includes/Updater.php:330
/srv/vagrant/mediawiki/extensions/CirrusSearch/includes/Updater.php:192
/srv/vagrant/mediawiki/extensions/CirrusSearch/includes/Updater.php:67
/srv/vagrant/mediawiki/extensions/CirrusSearch/includes/Job/LinksUpdate.php:48
/srv/vagrant/mediawiki/extensions/CirrusSearch/includes/Job/Job.php:55
/srv/vagrant/mediawiki/extensions/Translate/tests/phpunit/SolrTTMServerTest.php:176
/srv/vagrant/mediawiki/extensions/Translate/tests/phpunit/SolrTTMServerTest.php:36
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiTestCase.php:133
/srv/vagrant/mediawiki/tests/phpunit/MediaWikiPHPUnitCommand.php:42
/srv/vagrant/mediawiki/tests/phpunit/phpunit.php:160
Comment 1 Ori Livneh 2014-09-28 09:22:49 UTC
I tried reproducing this by clearing all roles and the enabling just translate and cirrussearch. I did get two test failures, but they appear to be legitimate bugs and internal to CirrusSearch. SolrTTMServerTest::testSearchableTTMServer was correctly skipped ("No test TTMServer available"). Nemo, can you still reproduce this?
Comment 2 Nemo 2014-10-02 16:00:29 UTC
I'll re-test at some point together with the rest of the stuff.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links