After rewriting the extension ExternalData (the patch is here: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/ExternalData/+/618543) so that it can connect to MongoDB servers under PHP 7.* using mongodb/mongodb library that needs mongodb PHP extension, tests run by jenkins-bot began to fail:
- quibble-vendor-mysql-php72-noselenium-docker https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php72-noselenium-docker/28611/console : FAILURE in 56s
- quibble-vendor-mysql-php73-noselenium-docker https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php73-noselenium-docker/10024/console : FAILURE in 56s
- quibble-vendor-mysql-php74-noselenium-docker https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php74-noselenium-docker/8429/console : FAILURE in 1m 01s
- quibble-vendor-selenium-docker https://integration.wikimedia.org/ci/job/quibble-vendor-selenium-docker/27281/console : FAILURE in 1m 10s
The tests run composer test, which checks dependencies from composer.json. Since ext-mongodb is not enabled in the docker images used for testing, the tests fail.
Can mongodb PHP extension be added to the testing environment, or some other workaround be used?
A similar issue: T226585.