We log a message whenever a job complete, regardless of its completion
status. In some case, we might have very long running job that would
kill a jobrunner box, yet we would have no way to find out which jobs
were running on it.
This patch add a log entry before a job run is started.
This will double the traffic related to runJobs logs.
Change-Id: I20cb2cb69c7d125f7f531f3dadbac165b64a6998
wfWaitForSlaves();
$t = microtime( true );
$offset = $job->id;
+ $this->runJobsLog( $job->toString() . " STARTING" );
$status = $job->run();
$t = microtime( true ) - $t;
$timeMs = intval( $t * 1000 );