Use the ring buffer

Enable logging to the ring buffer through an environment variable (and
use it in the test setup). Enrich some error & fatal logs with dumping
the ring buffer.
1 job for ringbuf in 6 minutes and 30 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Test
passed #6397
test

00:06:30