Skip to content

Commit c4651f9

Browse files
committed
fix pbench results
1 parent a50c56d commit c4651f9

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

fio/fio_run

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -792,12 +792,14 @@ execute_test()
792792
else
793793
tar hcf /tmp/results_pbench_fio_${to_tuned_setting}.tar export_fio_data
794794
fi
795-
value=`$TOOLS_BIN/set_pbench_variables --host_config $to_configuration --sys_type $to_sys_type --test fio --pbench_user $pbench_user --run_label $to_run_label`
795+
value=`$TOOLS_BIN/set_pbench_variables --host_config $to_configuration --sys_type $to_sys_type --test fio --pbench_user $to_user --run_label $to_run_label`
796796
results_prefix=`echo $value | cut -d: -f 2`
797797
hostname=`echo $value | cut -d: -f 2`
798798

799+
ts=`date "+%Y.%m.%dT%H.%M.%S"`
800+
subdir="pbench-user-benchmark-${to_user}-${test_name}_test_${ts}"
799801
if [ $etcd_opts -eq 0 ]; then
800-
$TOOLS_BIN/pbench_copy_data --hostname "${to_puser}_${to_run_label}" --user "${to_puser}" --prefix ${results_prefix}/fio_run_rt=${run_time} --copy $to_pbench_copy
802+
$TOOLS_BIN/pbench_copy_data --hostname "${to_puser}_${to_run_label}" --user "${to_puser}" --prefix ${results_prefix}/fio/${sub_dir} --copy $to_pbench_copy
801803
else
802804
$TOOLS_BIN/pbench_copy_data --hostname "${to_puser}_${to_run_label}" --user "${to_puser}" --prefix ${results_prefix}/etcd_run_rt=${run_time} --copy $to_pbench_copy
803805
fi

0 commit comments

Comments
 (0)