[23:37:45] + ulimit -n 512 [23:37:45] + LOCKFILE=/var/lock/scap.operations_mediawiki-config.lock [23:37:45] + '[' -O /var/lock/scap.operations_mediawiki-config.lock ']' [23:37:45] + /usr/bin/scap version [23:37:46] 4.261.0 [23:37:46] + /usr/bin/scap prep auto [23:37:47] 23:37:47 Started scap prep auto [23:37:47] 23:37:47 Update https://gerrit.wikimedia.org/r/operations/mediawiki-config (master branch) in /srv/mediawiki-staging [23:37:48] 23:37:48 https://gerrit.wikimedia.org/r/operations/mediawiki-config checked out at commit ee3d1b814a5c342eae33f6c35ab49ccc1bbfcc6e [23:37:48] 23:37:48 Update https://gerrit.wikimedia.org/r/mediawiki/core (master branch) in /srv/mediawiki-staging/php-master [23:37:50] 23:37:50 Changes pulled down since last fetch: [23:37:50] commit 529cb018ea1ae6d9489cc5d16482a8c730822921 [23:37:50] Author: DannyS712 [23:37:50] Date: Mon Mar 1 18:52:18 2021 +0000 [23:37:50] [23:37:50] tests: Split LinkBatchTest into separate unit tests [23:37:50] [23:37:50] Change-Id: If4f901a62469b9395c90c75076edc3d163acf8fe [23:37:50] [23:37:50] commit 5782bdb7e2b61bbb25ffe6a032a88ed8616cc8ae [23:37:50] Author: Timo Tijhof [23:37:50] Date: Tue Feb 17 03:58:21 2026 +0000 [23:37:50] [23:37:50] phpunit: Fix "HTTP request blocked" failures when using InstantCommons [23:37:50] [23:37:50] == Why == [23:37:50] [23:37:50] Hundreds of tests fail when wgUseInstantCommons = true in [23:37:50] LocalSettings.php, requiring developers to keep toggling this on and [23:37:50] off in order to run tests locally. After a few years of doing that, [23:37:50] let's fix this. [23:37:50] [23:37:50] Even seemingly unrelated tests like OutputPageTest were affected, [23:37:50] because when we lookup a title in the File-namespace and it doesn't [23:37:50] exist, we must also check foreign FileRepo. This includes when we're [23:37:50] dealing with the page title separate from rendering a thumbnail [23:37:50] or parsing wikitext. [23:37:50] [23:37:50] ``` [23:37:50] OutputPageTest::testGetJsVarsAboutPageLang with data set #24 [23:37:50] [23:37:50] HTTP request blocked: [23:37:50] https://commons.wikimedia.org/w/api.php?titles=File%3AExample&…&uselang=sr [23:37:50] by MediaWiki\FileRepo\ForeignAPIRepo::httpGet. Use MockHttpTrait. [23:37:50] /mediawiki/tests/phpunit/mocks/NullHttpRequestFactory.php:46 [23:37:50] /mediawiki/includes/FileRepo/ForeignAPIRepo.php:559 [23:37:50] … [23:37:50] /mediawiki/includes/FileRepo/FileRepo.php:474 [23:37:50] /mediawiki/includes/FileRepo/RepoGroup.php:149 [23:37:50] /mediawiki/includes/Page/WikiFilePage.php:58 [23:37:50] /mediawiki/includes/Page/WikiFilePage.php:110 [23:37:50] /mediawiki/includes/Page/WikiFilePage.php:239 [23:37:50] /mediawiki/includes/Page/Article.php:2168 [23:37:50] /mediawiki/includes/Actions/ActionFactory.php:239 [23:37:50] /mediawiki/includes/Actions/ActionFactory.php:383 [23:37:50] /mediawiki/includes/Context/RequestContext.php:309 [23:37:50] /mediawiki/includes/Output/OutputPage.php:4186 [23:37:50] /mediawiki/tests/phpunit/includes/Output/OutputPageTest.php:3410 [23:37:50] ``` [23:37:50] [23:37:50] == What == [23:37:50] [23:37:50] Load order: [23:37:50] [23:37:50] * /tests/phpunit/bootstrap.php [23:37:50] calls TestSetup::loadSettingsFiles() [23:37:50] which sets MW_SETUP_CALLBACK and loads Setup.php [23:37:50] * /includes/Setup.php [23:37:50] * calls MW_SETUP_CALLBACK -> TestSetup::applyInitialConfig [23:37:50] * TestSetup::applyInitialConfig [THIS PATCH] [23:37:50] * calls applyDynamicDefaults() [23:37:50] * /includes/SetupDynamicConfig.php [23:37:50] * Turns $wgUseInstantCommons into $wgForeignFileRepos [23:37:50] [23:37:50] This means when applyInitialConfig() runs, we only need to [23:37:50] flip $wgUseInstantCommons because it hasn't yet created [23:37:50] and appended the $wgForeignFileRepos entry. However, people may [23:37:50] also add other entries to $wgForeignFileRepos, such as when overriding [23:37:50] or testing options for userAgent, cache expiry, and hotlinking; so [23:37:50] reset this as well. [23:37:50] [23:37:50] Bug: T277470 [23:37:50] Bug: T262443 [23:37:50] Change-Id: Ica54f955b079356407cb08dbc6fd3436933a21ae [23:37:50] [23:37:50] 23:37:50 https://gerrit.wikimedia.org/r/mediawiki/core checked out at commit 529cb018ea1ae6d9489cc5d16482a8c730822921 [23:37:50] 23:37:50 Update https://gerrit.wikimedia.org/r/mediawiki/extensions (master branch) in /srv/mediawiki-staging/php-master/extensions [23:37:53] 23:37:53 Changes pulled down since last fetch: [23:37:53] commit 8f60d6f9ebd6d6c852d43fc9fa9e00938adfefe6 [23:37:53] Author: Umherirrender [23:37:53] Date: Sat Jun 13 01:30:12 2026 +0200 [23:37:53] [23:37:53] Update git submodules [23:37:53] [23:37:53] * Update AbuseFilter from branch 'master' [23:37:53] to ca3554c9d4a9a673a264fe3c6b6ae058df188ad6 [23:37:53] - tests: Use Title::makeTitle instead of Title::newFromText [23:37:53] [23:37:53] Avoid parsing known titles in tests to improve performance [23:37:53] [23:37:53] Change-Id: I7720b6cc187523a053865e63dd270278369d6447 [23:37:53] [23:37:53] commit a10d152089432680f7e58876c74524f79f902fe0 [23:37:53] Author: Umherirrender [23:37:53] Date: Sat Jun 13 01:27:59 2026 +0200 [23:37:53] [23:37:53] Update git submodules [23:37:53] [23:37:53] * Update ArticlePlaceholder from branch 'master' [23:37:53] to 143f788369b2b1497f3f4d537e88da73f27cea17 [23:37:53] - tests: Use Title::makeTitle instead of Title::newFromText [23:37:53] [23:37:53] Avoid parsing known titles in tests to improve performance [23:37:53] [23:37:53] Change-Id: I4b77177a92af858375f620b0ab151a74f4134f17 [23:37:53] [23:37:53] 23:37:53 https://gerrit.wikimedia.org/r/mediawiki/extensions checked out at commit 8f60d6f9ebd6d6c852d43fc9fa9e00938adfefe6 [23:40:11] 23:40:11 Update https://gerrit.wikimedia.org/r/mediawiki/vendor (master branch) in /srv/mediawiki-staging/php-master/vendor [23:40:12] 23:40:12 https://gerrit.wikimedia.org/r/mediawiki/vendor checked out at commit be635f69a64e93fb8f72d5addb9505cf03cf1343 [23:40:12] 23:40:12 Update https://gerrit.wikimedia.org/r/mediawiki/skins (master branch) in /srv/mediawiki-staging/php-master/skins [23:40:13] 23:40:13 https://gerrit.wikimedia.org/r/mediawiki/skins checked out at commit 04d8f0aa6900259beb26c19cf1ee1100fdf4ea08 [23:40:19] 23:40:19 MediaWiki master successfully checked out. [23:40:19] 23:40:19 Finished scap prep auto (duration: 02m 32s) [23:40:20] + /usr/bin/scap sync-world 'wmf-beta-update-all run' [23:40:21] ___ ____ [23:40:21] ⎛ ⎛ ,---- [23:40:21] \ //==--' [23:40:21] _//|,.·//==--' ____________________________ [23:40:21] _OO≣=- ︶ ᴹw ⎞_§ ______ ___\ ___\ ,\__ \/ __ \ [23:40:21] (∞)_, ) ( | ______/__ \/ /__ / /_/ / /_/ / [23:40:21] ¨--¨|| |- ( / ______\____/ \___/ \__^_/ .__/ [23:40:21] ««_/ «_/ jgs/bd808 /_/ [23:40:21] [23:40:21] 23:40:21 Started scap sync-world: wmf-beta-update-all run [23:40:27] 23:40:27 Started cache_git_info [23:40:56] 23:40:56 Finished cache_git_info (duration: 00m 29s) [23:40:56] 23:40:56 Started l10n-update [23:41:01] 23:41:01 Updating ExtensionMessages-master.php [23:41:12] 23:41:13 Updating LocalisationCache for master using 2 thread(s) [23:41:12] 23:41:13 Running rebuildLocalisationCache.php (cdb) [23:41:18] 23:41:18 0 languages rebuilt out of 549 [23:41:18] 23:41:19 Use --force to rebuild the caches which are still fresh. [23:41:22] 23:41:22 Running rebuildLocalisationCache.php (php) [23:41:27] 23:41:27 0 languages rebuilt out of 549 [23:41:27] 23:41:27 Use --force to rebuild the caches which are still fresh. [23:41:31] 23:41:31 Generating JSON versions and md5 files (as www-data) [23:41:39] 23:41:39 Finished l10n-update (duration: 00m 42s) [23:41:39] 23:41:39 Checking for new runtime errors locally [23:41:45] 23:41:45 Started sync-canaries [23:41:45] 23:41:45 sync-canaries: 0% (ok: 0; fail: 0; left: 1) [23:41:52] 23:41:52 sync-canaries: 100% (in-flight: 0; ok: 1; fail: 0; left: 0) [23:41:52] 23:41:52 Per-host sync duration: average 7.4s, median 7.4s [23:41:52] 23:41:52 rsync transfer: average 467833 bytes/host, total 467833 bytes [23:41:52] 23:41:52 Started scap-cdb-rebuild-canaries [23:41:52] 23:41:52 scap-cdb-rebuild: 0% (ok: 0; fail: 0; left: 1) [23:41:54] 23:41:54 scap-cdb-rebuild: 100% (in-flight: 0; ok: 1; fail: 0; left: 0) [23:41:54] 23:41:54 Finished scap-cdb-rebuild-canaries (duration: 00m 01s) [23:41:54] 23:41:54 Started sync-wikiversions-canaries [23:41:54] 23:41:54 sync-wikiversions: 0% (ok: 0; fail: 0; left: 1) [23:41:55] 23:41:55 sync-wikiversions: 100% (in-flight: 0; ok: 1; fail: 0; left: 0) [23:41:55] 23:41:55 Finished sync-wikiversions-canaries (duration: 00m 00s) [23:41:55] 23:41:55 Started php-fpm-restarts-canaries [23:41:55] 23:41:55 Running '/usr/local/sbin/restart-php-fpm-all' on 1 host(s) [23:41:55] 23:41:55 php-fpm-restart: 0% (ok: 0; fail: 0; left: 0) [23:41:56] 23:41:56 php-fpm-restart: 100% (in-flight: 0; ok: 1; fail: 0; left: 0) [23:41:56] 23:41:56 Finished php-fpm-restarts-canaries (duration: 00m 00s) [23:41:56] 23:41:56 Finished sync-canaries (duration: 00m 11s) [23:41:56] 23:41:56 Waiting 20 seconds for canary traffic... [23:42:16] 23:42:16 Logstash checker counted 0 error(s) in the last 20 seconds. OK. [23:42:16] 23:42:16 Started sync-apaches [23:42:16] 23:42:16 sync-apaches: 0% (ok: 0; fail: 0; left: 3) [23:42:24] 23:42:24 sync-apaches: 100% (in-flight: 0; ok: 3; fail: 0; left: 0) [23:42:24] 23:42:24 Per-host sync duration: average 6.1s, median 5.4s [23:42:24] 23:42:24 rsync transfer: average 467833 bytes/host, total 1403499 bytes [23:42:24] 23:42:24 Finished sync-apaches (duration: 00m 07s) [23:42:24] 23:42:24 Waiting 20 seconds for production traffic... [23:42:44] 23:42:44 Logstash checker counted 0 error(s) in the last 20 seconds. OK. [23:42:44] 23:42:44 Started scap-cdb-rebuild-prod [23:42:44] 23:42:44 scap-cdb-rebuild: 0% (ok: 0; fail: 0; left: 4) [23:42:46] 23:42:46 scap-cdb-rebuild: 100% (in-flight: 0; ok: 4; fail: 0; left: 0) [23:42:46] 23:42:46 Finished scap-cdb-rebuild-prod (duration: 00m 02s) [23:42:46] 23:42:46 Started sync-wikiversions-prod [23:42:46] 23:42:46 sync-wikiversions: 0% (ok: 0; fail: 0; left: 4) [23:42:47] 23:42:47 sync-wikiversions: 100% (in-flight: 0; ok: 4; fail: 0; left: 0) [23:42:47] 23:42:47 Finished sync-wikiversions-prod (duration: 00m 00s) [23:42:47] 23:42:47 Started php-fpm-restarts-prod [23:42:47] 23:42:47 Running '/usr/local/sbin/restart-php-fpm-all' on 2 host(s) [23:42:47] 23:42:47 php-fpm-restart: 0% (ok: 0; fail: 0; left: 0) [23:42:48] 23:42:48 php-fpm-restart: 100% (in-flight: 0; ok: 2; fail: 0; left: 0) [23:42:48] 23:42:48 Finished php-fpm-restarts-prod (duration: 00m 01s) [23:42:48] 23:42:48 Running purgeMessageBlobStore.php [23:42:51] 23:42:51 Finished scap sync-world: wmf-beta-update-all run (duration: 02m 30s) [23:42:51] + /usr/local/bin/wmf-beta-update-databases.py