Re: CI failure in PHPUnit bootstrap

Lucas Werkmeister via Wikitech-l <[email protected]> Fri, 6 Mar 2026 12:05:49 +0100
Newsgroups gmane.science.linguistics.wikipedia.technical
Message-ID <CAFbwPjc9aCJzkQ14jOT12t3G60Sf7o=XnHJAoFQ7Y2swB_3Ptw@mail.gmail.com>
Probably T419107 <https://phabricator.wikimedia.org/T419107>.

Am Fr., 6. März 2026 um 12:03 Uhr schrieb Viktoria Hillerud via Wikitech-l <
[email protected]>:

> Hi,
>
> We are seeing a strange CI failure when running tests for the Wikispeech
> extension and we are trying to understand what is causing it.
>
> The failure occurs sometimes during patch upload, and sometimes when
> trying to merge. The issues we get is:
>
> *09:30:47* Error in bootstrap script: RuntimeException:*09:30:47* No PHPUnit config override found. Generate it manually by running `composer phpunit:config`, or automatically by running tests via `composer phpunit`.*09:30:47* #0 /workspace/src/vendor/phpunit/phpunit/src/Util/FileLoader.php(66): include_once()*09:30:47* #1 /workspace/src/vendor/phpunit/phpunit/src/Util/FileLoader.php(49): PHPUnit\Util\FileLoader::load()*09:30:47* #2 /workspace/src/vendor/phpunit/phpunit/src/TextUI/Command.php(567): PHPUnit\Util\FileLoader::checkAndLoad()*09:30:47* #3 /workspace/src/vendor/phpunit/phpunit/src/TextUI/Command.php(347): PHPUnit\TextUI\Command->handleBootstrap()*09:30:47* #4 /workspace/src/vendor/phpunit/phpunit/src/TextUI/Command.php(114): PHPUnit\TextUI\Command->handleArguments()*09:30:47* #5 /workspace/src/vendor/phpunit/phpunit/src/TextUI/Command.php(99): PHPUnit\TextUI\Command->run()*09:30:47* #6 /workspace/src/vendor/phpunit/phpunit/phpunit(107): PHPUnit\TextUI\Command::main()*09:30:47* #7 /workspace/src/vendor/bin/phpunit(122): include('...')*09:30:47* #8 {main}
>
> This issue occurs for example in this patch: 1246763 <https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikispeech/+/1246763>
>
> To check whether this was related to our code, we tried creating test
> patches:
>
> This one fails: 1248784
> <https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikispeech/+/1248784>,
> but this one succeeds: 1248785
> <https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikispeech/+/1248785>
>
> Since these patches do not change any functional code, this suggests that
> the failure may be related to the CI/test infrastructure rather than the
> extension itself.
>
> Has anyone seen this PHPUnit bootstrap error recently, or knows what might
> cause this failure in CI?
> Kind regards,
> *Viktoria Hillerud Ahlbäck*
> *Developer*
> Wikimedia Sverige (WMSE)
>
> _______________________________________________
> Wikitech-l mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/



-- 
Lucas Werkmeister (he/er)
Software Engineer

Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30-577 11 62-0
https://wikimedia.de

Imagine a world in which every single human being can freely share in the
sum of all knowledge. Help us to achieve our vision!
https://spenden.wikimedia.de

Wikimedia Deutschland — Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Charlottenburg, VR 23855 B.
Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin,
Steuernummer 27/029/42207.

_______________________________________________
Wikitech-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/