Page MenuHomePhabricator

LiveTranslate causes fatals in Special:RunJobs and Special:JavaScriptTest in tests
Closed, DeclinedPublic0 Estimated Story Points

Description

Unsure where the bug is, so tagging all potential projects.

09:18:34 1) SpecialPageFatalTest::testSpecialPageDoesNotFatal with data set "RunJobs" (SpecialRunJobs Object (...))
09:18:34 === Logs generated by test case
09:18:34 [wfDebug] [debug] IP: 127.0.0.1 {"private":false}
09:18:34 ===
09:18:34 Headers already sent, should send headers earlier than wfHttpError [Called from MediaWiki\HeaderCallback::warnIfHeadersSent in /workspace/src/includes/HeaderCallback.php at line 74]
09:18:34 
09:18:34 /workspace/src/includes/debug/MWDebug.php:309
09:18:34 /workspace/src/includes/debug/MWDebug.php:164
09:18:34 /workspace/src/includes/HeaderCallback.php:74
09:18:34 /workspace/src/includes/libs/HttpStatus.php:104
09:18:34 /workspace/src/includes/GlobalFunctions.php:1659
09:18:34 /workspace/src/includes/specials/SpecialRunJobs.php:50
09:18:34 /workspace/src/tests/phpunit/includes/specials/SpecialPageExecutor.php:108
09:18:34 /workspace/src/tests/phpunit/includes/specials/SpecialPageExecutor.php:36
09:18:34 /workspace/src/tests/phpunit/structure/SpecialPageFatalTest.php:33
09:18:34 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:453
09:18:34 /workspace/src/maintenance/doMaintenance.php:99
09:18:34 
09:18:34 2) SpecialPageFatalTest::testSpecialPageDoesNotFatal with data set "JavaScriptTest" (SpecialJavaScriptTest Object (...))
09:18:34 === Logs generated by test case
09:18:34 [wfDebug] [debug] IP: 127.0.0.1 {"private":false}
09:18:34 ===
09:18:34 Cannot modify header information - headers already sent by (output started at /workspace/src/includes/debug/MWDebug.php:309)
09:18:34 
09:18:34 /workspace/src/includes/specials/SpecialJavaScriptTest.php:195
09:18:34 /workspace/src/includes/specials/SpecialJavaScriptTest.php:53
09:18:34 /workspace/src/tests/phpunit/includes/specials/SpecialPageExecutor.php:108
09:18:34 /workspace/src/tests/phpunit/includes/specials/SpecialPageExecutor.php:36
09:18:34 /workspace/src/tests/phpunit/structure/SpecialPageFatalTest.php:33
09:18:34 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:453
09:18:34 /workspace/src/maintenance/doMaintenance.php:99

https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php72-docker/14243/console