From dcf61fc4d2ad1f94f36aff036a62df134c03947c Mon Sep 17 00:00:00 2001 From: Vallari Agrawal Date: Mon, 3 Mar 2025 17:37:27 +0530 Subject: [PATCH] qa/workunit/nvmeof/fio: log when fio fails Log using "[nvmeof.fio]" when fio fails. This helps to grep "[nvmeof." to see all test events. Signed-off-by: Vallari Agrawal --- qa/workunits/nvmeof/fio_test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/qa/workunits/nvmeof/fio_test.sh b/qa/workunits/nvmeof/fio_test.sh index 2883f4c02f49e..a94aaf3c5be66 100755 --- a/qa/workunits/nvmeof/fio_test.sh +++ b/qa/workunits/nvmeof/fio_test.sh @@ -104,6 +104,7 @@ fio --showcmd $fio_file set +e sudo fio $fio_file if [ $? -ne 0 ]; then + echo "[nvmeof.fio]: fio failed!" status_log exit 1 fi -- 2.39.5