Running Scribunto tests with docker-registry.wikimedia.org/releng/quibble-stretch, a test is failling:
1) Scribunto_LuaStandaloneInterpreterTest::testGetStatus Initial vsize Failed asserting that 0 is greater than 0. /workspace/src/extensions/Scribunto/tests/phpunit/engines/LuaStandalone/LuaStandaloneInterpreterTest.php:68 /workspace/src/tests/phpunit/MediaWikiTestCase.php:423 /workspace/src/maintenance/doMaintenance.php:94
The code calls:
class Scribunto_LuaStandaloneInterpreterTest extends Scribunto_LuaInterpreterTest { private function getVsize( $pid ) { $size = wfShellExec( wfEscapeShellArg( 'ps', '-p', $pid, '-o', 'vsz', '--no-headers' ) ); return trim( $size ) * 1024; }
The container does not have ps and wfShellExec hapilly returns an empty string.....