[go: up one dir, main page]

Page MenuHomePhabricator

CentralAuthApiSessionProviderTest::testUserScriptsDisabled is failing in CI
Closed, ResolvedPublic

Description

Similar to T353512. Seen in the GlobalBlocking extension. Seems to be caused by the MediaWiki-extensions-WikimediaEvents extension.

23:26:36 1) CentralAuthApiSessionProviderTest::testUserScriptsDisabled
23:26:36 MediaWiki\Session\Session::getUser(): MediaWiki\User\User was not expected to be called.
23:26:36 
23:26:36 /workspace/src/extensions/WikimediaEvents/includes/WikimediaEventsHooks.php:106
23:26:36 /workspace/src/includes/HookContainer/HookContainer.php:159
23:26:36 /workspace/src/includes/HookContainer/HookRunner.php:945
23:26:36 /workspace/src/includes/Output/OutputPage.php:3010
23:26:36 /workspace/src/extensions/CentralAuth/tests/phpunit/CentralAuthTokenSessionProviderTestBase.php:339
23:26:36 phpvfscomposer:///workspace/src/vendor/phpunit/phpunit/phpunit:106

https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php74-noselenium/12729/console

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1034190 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/extensions/CentralAuth@master] Mock Session::getUser in ::testUserScriptsDisabled

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

Dreamy_Jazz triaged this task as Unbreak Now! priority.
Dreamy_Jazz added a subscriber: Urbanecm_WMF.

Change #1034190 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@master] Mock Session::getUser in ::testUserScriptsDisabled

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

Change #1034174 had a related patch set uploaded (by Gergő Tisza; author: Dreamy Jazz):

[mediawiki/extensions/CentralAuth@wmf/1.43.0-wmf.6] Mock Session::getUser in ::testUserScriptsDisabled

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

Change #1034174 merged by jenkins-bot:

[mediawiki/extensions/CentralAuth@wmf/1.43.0-wmf.6] Mock Session::getUser in ::testUserScriptsDisabled

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