From: Vallari Agrawal Date: Mon, 3 Mar 2025 12:07:27 +0000 (+0530) Subject: qa/workunit/nvmeof/fio: log when fio fails X-Git-Tag: v20.3.0~31^2~6 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=dcf61fc4d2ad1f94f36aff036a62df134c03947c;p=ceph.git 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 --- 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