summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c1d465d)
Some failures of obdfilter-survey do not cause an error in
obdfilter-survey.sh In some cases obdfilter-survey did not
cleanup echo clients it had created and that could hang
umount of osts.
Change test-framework.sh::cleanupall to remove echo clients before
trying to umount to prevent the echo clients from holding the OST or
MDS/MGS open forever.
Test-Parameters: trivial testlist=obdfilter-survey osscount=1 ostcount=2 mdscount=1 mdtcount=1
Test-Parameters: trivial testlist=obdfilter-survey mdtfilesystemtype=zfs ostfilesystemtype=zfs osscount=1 ostcount=2 mdscount=1 mdtcount=1
Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: I63ae59da84101c782aa9d5e7216cce3b3b1ff2fe
Reviewed-on: https://review.whamcloud.com/9350
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Andriy Skulysh <c17819@cray.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
######################################################################
# customize per survey
######################################################################
# customize per survey
host=${host_names[$i]}
devno=($(get_ec_devno $host "${client_names[$i]}" "${ost_names[$i]}"))
if ((${#devno[@]} != 3)); then
host=${host_names[$i]}
devno=($(get_ec_devno $host "${client_names[$i]}" "${ost_names[$i]}"))
if ((${#devno[@]} != 3)); then
fi
devnos[$i]=${devno[0]}
client_names[$i]=${devno[1]}
fi
devnos[$i]=${devno[0]}
client_names[$i]=${devno[1]}
rm $tmpf
if [ $first_obj = "ERROR" ]; then
print_summary "created object #s on $client_name not contiguous"
rm $tmpf
if [ $first_obj = "ERROR" ]; then
print_summary "created object #s on $client_name not contiguous"
fi
first_objs[$idx]=$first_obj
done # $ndevs
fi
first_objs[$idx]=$first_obj
done # $ndevs
declare -a pidarray
for host in ${unique_hosts[@]}; do
remote_shell $host \
declare -a pidarray
for host in ${unique_hosts[@]}; do
remote_shell $host \
- "lctl set_param -n osd*.*OST*.force_sync 1 &>/dev/null || true"
+ "lctl set_param -n osd*.*.force_sync 1 &>/dev/null || true"
echo "starting run for test: $test rsz: $rsz " \
"threads: $thr objects: $nobj" >> ${vmstatf}_${host}
done
echo "starting run for test: $test rsz: $rsz " \
"threads: $thr objects: $nobj" >> ${vmstatf}_${host}
done
local cmd="NETTYPE=$NETTYPE thrlo=$thrlo nobjhi=$nobjhi thrhi=$thrhi size=$size case=$case rslt_loc=${TMP} targets=\"$targets\" $OBDSURVEY"
echo + $cmd
eval $cmd
local cmd="NETTYPE=$NETTYPE thrlo=$thrlo nobjhi=$nobjhi thrhi=$thrhi size=$size case=$case rslt_loc=${TMP} targets=\"$targets\" $OBDSURVEY"
echo + $cmd
eval $cmd
cat ${TMP}/obdfilter_survey*
cat ${TMP}/obdfilter_survey*
+ [ $rc = 0 ] || error "$OBDSURVEY failed: $rc"
}
test_1a () {
obdflter_survey_run disk
}
test_1a () {
obdflter_survey_run disk
nfs_client_mode && return
cifs_client_mode && return
nfs_client_mode && return
cifs_client_mode && return
- CLEANUP_DM_DEV=true stopall $*
+ CLEANUP_DM_DEV=true stopall $*
unload_modules
cleanup_sk
unload_modules
cleanup_sk