Skip to content

Commit 00906fd

Browse files
authored
Merge pull request #13 from redhat-performance/remove_pbench
Remove support for pbench
2 parents 0a120cc + 5725a90 commit 00906fd

File tree

1 file changed

+2
-29
lines changed

1 file changed

+2
-29
lines changed

io_burst/burst_io.sh

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,6 @@ usage()
141141
source test_tools/general_setup --usage
142142
}
143143

144-
execute_via_pbench()
145-
{
146-
echo $TOOLS_BIN/execute_pbench --cmd_executing "$0" $arguments --test $test_name --spacing 11 --results_dir io_burst >> /tmp/debugging
147-
$TOOLS_BIN/execute_pbench --cmd_executing "$0" $arguments --test $test_name --spacing 11 --results_dir io_burst
148-
}
149-
150144
execute_via_shell()
151145
{
152146
pushd $run_dir
@@ -337,21 +331,7 @@ popd
337331

338332
results_file="results_burst_io_${to_tuned_setting}.out"
339333

340-
#
341-
# If a pbench user was not designated set it to $user
342-
#
343-
if [[ $to_puser == "noone" ]]; then
344-
to_puser=$user
345-
fi
346-
347-
for iteration in `seq 1 1 $to_times_to_run`
348-
do
349-
if [ $to_pbench -eq 1 ]; then
350-
execute_via_pbench
351-
else
352-
execute_via_shell
353-
fi
354-
done
334+
execute_via_shell
355335

356336
cd /tmp
357337
$TOOLS_BIN/test_header_info --front_matter --results_file $results_file --host $to_configuration --sys_type $to_sys_type --tuned $to_tuned_setting --results_version $burst_io_version --test_name $test_name_run
@@ -374,12 +354,5 @@ echo $results >> test_results_report
374354
tar cf /tmp/${results_file}.tar $results_file
375355

376356
${curdir}/test_tools/save_results --curdir $curdir --home_root $to_home_root --test_name $test_name --tuned_setting $to_tuned_setting --version $burst_io_version --user $to_user --results $results_file --other_files test_results_report
377-
if [[ -d "/var/lib/pbench-agent" ]]; then
378-
copy_to=`echo ${results_file} | sed "s/results_burst/results_pbench_burst/g"`
379-
cp -R /tmp/${results_file}.tar ${copy_to}.tar
380-
change_to=`ls -drt /var/lib/pbench-agent/* | grep pbench-user-benchmark | grep io_burst | grep -v tar | grep -v copied | tail -1`
381-
pushd ${change_to}
382-
tar xf /tmp/${copy_to}.tar
383-
popd
384-
fi
357+
385358
exit 0

0 commit comments

Comments
 (0)