Whamcloud - gitweb
LU-8305 tests: add traces for sanity-sec
[fs/lustre-release.git] / lustre / tests / sanity-sec.sh
index fba1d5c..bb537da 100755 (executable)
@@ -105,7 +105,6 @@ MDT=$(do_facet $SINGLEMDS lctl get_param -N "mdt.\*MDT0000" |
 do_facet $SINGLEMDS "mkdir -p $CONFDIR"
 IDENTITY_FLUSH=mdt.$MDT.identity_flush
 IDENTITY_UPCALL=mdt.$MDT.identity_upcall
-MDSSECLEVEL=mdt.$MDT.sec_level
 
 SAVE_PWD=$PWD
 
@@ -881,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
@@ -892,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
@@ -1690,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