Last modified: 2014-09-10 07:22:21 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 T70636, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68636 - No enabled connection [Called from CirrusSearch\ElasticsearchIntermediary::failure in /srv/vagrant/mediawiki/extensions/CirrusSearch/includes/ElasticsearchIntermediary.php at line 97]
No enabled connection [Called from CirrusSearch\ElasticsearchIntermediary::fa...
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 67216
  Show dependency treegraph
 
Reported: 2014-07-26 23:29 UTC by Nemo
Modified: 2014-09-10 07:22 UTC (History)
3 users (show)

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


Attachments

Description Nemo 2014-07-26 23:29:27 UTC
Shouldn't be bug 67605 because here I had actually disabled CirrusSearch, see bug 67295; but its absence made other tests fail, it seems.

2) SolrTTMServerTest::testSearchableTTMServer
Search backend error during sending 1 documents to the content index after 5867.  Operation timed out [Called from CirrusSearch\ElasticsearchIntermediary::failure in /srv/vagrant/mediawiki/extensions/CirrusSearch/includes/ElasticsearchIntermediary.php at line 97]

/srv/vagrant/mediawiki/includes/debug/MWDebug.php:303
/srv/vagrant/mediawiki/includes/debug/MWDebug.php:157
/srv/vagrant/mediawiki/includes/GlobalFunctions.php:1202
/srv/vagrant/mediawiki/extensions/CirrusSearch/includes/ElasticsearchIntermediary.php:97
/srv/vagrant/mediawiki/extensions/CirrusSearch/includes/Updater.php:277
/srv/vagrant/mediawiki/extensions/CirrusSearch/includes/Updater.php:206
/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

3) SolrTTMServerTest::testMediaWikiTestCaseParentSetupCalled
Search backend error during sending 1 documents to the content index after 1.  No enabled connection [Called from CirrusSearch\ElasticsearchIntermediary::failure in /srv/vagrant/mediawiki/extensions/CirrusSearch/includes/ElasticsearchIntermediary.php at line 97]

/srv/vagrant/mediawiki/includes/debug/MWDebug.php:303
/srv/vagrant/mediawiki/includes/debug/MWDebug.php:157
/srv/vagrant/mediawiki/includes/GlobalFunctions.php:1202
/srv/vagrant/mediawiki/extensions/CirrusSearch/includes/ElasticsearchIntermediary.php:97
/srv/vagrant/mediawiki/extensions/CirrusSearch/includes/Updater.php:277
/srv/vagrant/mediawiki/extensions/CirrusSearch/includes/Updater.php:206
/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

5) MessageGroupStatesUpdaterJobTest::testHooks
Search backend error during sending 1 documents to the content index after 78.  No enabled connection [Called from CirrusSearch\ElasticsearchIntermediary::failure in /srv/vagrant/mediawiki/extensions/CirrusSearch/includes/ElasticsearchIntermediary.php at line 97]

/srv/vagrant/mediawiki/includes/debug/MWDebug.php:303
/srv/vagrant/mediawiki/includes/debug/MWDebug.php:157
/srv/vagrant/mediawiki/includes/GlobalFunctions.php:1202
/srv/vagrant/mediawiki/extensions/CirrusSearch/includes/ElasticsearchIntermediary.php:97
/srv/vagrant/mediawiki/extensions/CirrusSearch/includes/Updater.php:277
/srv/vagrant/mediawiki/extensions/CirrusSearch/includes/Updater.php:206
/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/MessageGroupStatesUpdaterJobTest.php:180
/srv/vagrant/mediawiki/extensions/Translate/tests/phpunit/MessageGroupStatesUpdaterJobTest.php:125
/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 Niklas Laxström 2014-08-26 11:56:37 UTC
Somewhere I wrote that there should be a way for external services like TTMServer or CirrusSearch disable themselves or provide testing instance while running unit tests.

We can work around this issue by setting $wgTranslateTranslationServices to empty array in this test, but there are likely other tests where we accidentally hit the production ttmserver index.
Comment 2 Gerrit Notification Bot 2014-08-26 12:41:53 UTC
Change 156272 had a related patch set uploaded by Nemo bis:
Consistently declare $wgTranslateTranslationServices empty in tests

https://gerrit.wikimedia.org/r/156272
Comment 3 Gerrit Notification Bot 2014-09-10 07:21:58 UTC
Change 156272 abandoned by Nemo bis:
Consistently declare $wgTranslateTranslationServices empty in tests

Reason:
No path provided for amending

https://gerrit.wikimedia.org/r/156272

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


Navigation
Links