For some unknown reason the Ext-Wikibase job can start eating all memory and send gallium to swap. When running update.php, it eventually stop at:
5:55:24 [exec] ...site_identifiers table already exists.
The PHP process then eat as much memory as it can before getting killed by Linux OOM catcher. The command line for one the process was:
php /var/lib/jenkins/jobs/Ext-Wikibase/workspace/maintenance/update.php --quick --conf /var/lib/jenkins/jobs/MediaWiki-Tests-Extensions/workspace/LocalSettings.php
Will have to investigate.
I have disabled the Ext-Wikibase job as a workaround.
Version: unspecified
Severity: major