X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Fsanity-sec.sh;h=bb537dab95ccb7cf8f6e045494dda68a730f59ed;hp=30bfeb2e020618ff7ecd83d407b1efcaad869f5c;hb=aa9938a26b2fd58afc53bd25020e8940464d1855;hpb=4ea24bdabb2b318721605bd185c32bbc1e9bc924 diff --git a/lustre/tests/sanity-sec.sh b/lustre/tests/sanity-sec.sh index 30bfeb2..bb537da 100755 --- a/lustre/tests/sanity-sec.sh +++ b/lustre/tests/sanity-sec.sh @@ -880,6 +880,8 @@ wait_nm_sync() { local mgs_ip=$(host_nids_address $mgs_HOST $NETTYPE | cut -d' ' -f1) local i + echo "On MGS ${mgs_ip}, ${proc_param} = $out1" + # wait up to 10 seconds for other servers to sync with mgs for i in $(seq 1 10); do for node in $(all_server_nodes); do @@ -891,6 +893,7 @@ wait_nm_sync() { out2=$(do_node $node_ip $LCTL get_param \ nodemap.$proc_param 2>/dev/null) + echo "On $node ${node_ip}, ${proc_param} = $out2" [ "$out1" != "$out2" ] && is_sync=false && break done $is_sync && break @@ -1689,7 +1692,7 @@ test_27() { # test mount point content do_node ${clients_arr[0]} test -d $MOUNT/$subdir || - error "fileset not cleared on nodemap c0" + (ls $MOUNT ; error "fileset not cleared on nodemap c0") fileset_test_cleanup nodemap_test_cleanup