The use of pbench-user-benchmark at line 59 of workloads/templates/workload-fio-script-cm.yml appears to be incorrect.
By definition of how pbench-user-benchmark works, when run_snafu returns, pbench-user-benchmark will stop execution and all collection of tool data, and the created /var/lib/pbench-agent/pbench-user-benchmark_${config}_${datestamp} directory it created will be buttoned up.
Later on line 79, when fiotest.sh is invoked, another pbench run directory will be created for that fio test.
Perhaps consider one of two changes:
- Drop the use of
pbench-user-benchmark at line 59, and just invoke run_snafu without it.
- Drop the use of
pbench-fio at line 105 and let "snafu" orchestrate the fio workload itself.