The mock-based LogFileReaderTest unit test was deleted entirely in JENKINS-54128 (and replaced by new integration tests which do not have this issue). Therefore this is no longer a bug.