run-fio-tests: make test runs more resilient
authorVincent Fu <vincent.fu@samsung.com>
Tue, 21 Sep 2021 21:27:11 +0000 (21:27 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 17 Oct 2021 13:22:55 +0000 (07:22 -0600)
commitaa9f26276e1961fab2d33e188f5a2432360c9c14
tree9243232578563cbe8be4e8d51dc2a3013191706c
parentccf9d1efdae8a440fff750037117428f27e40b43
run-fio-tests: make test runs more resilient

Catch exceptions that occur during test setup/running/evaluation. This
makes it more likely that the entire test suite can run to completion
even if some tests fail in an unexpected fashion.

In particular I have seen failures in FioJobTest_t0014() when the test
is run on a bare metal machine. Without this patch these failures make
the entire script grind to a halt.

Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
Link: https://lore.kernel.org/r/20210921212639.61319-1-vincent.fu@samsung.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/run-fio-tests.py