== sanity test 31f: remove of open directory with open-unlink file ============================================================= 06:37:02 (1743503822) + test_mkdir /mnt/lustre/d31f + local path + local p_option + local hash_type + hash_name=('all_char' 'fnv_1a_64' 'crush') + local hash_name + local dirstripe_count=2 + local dirstripe_index=1 + local OPTIND=1 + local overstripe_count + local stripe_command=-c ++ version_code v2_15_50-185-g1ac4b9598a +++ tr '[:punct:][a-zA-Z]' ' ' ++ eval set -- 2 15 50 185 1 4 9598 +++ set -- 2 15 50 185 1 4 9598 ++ echo -n 34550457 + (( 34616393 > 34550457 )) + hash_name+=("crush2") + getopts c:C:H:i:p opt + shift 0 + '[' 1 -eq 1 ']' + path=/mnt/lustre/d31f ++ dirname /mnt/lustre/d31f + local parent=/mnt/lustre + '[' '' == -p ']' + [[ -n '' ]] + '[' 2 -le 1 ']' + is_lustre /mnt/lustre ++ stat -f -c %T /mnt/lustre + '[' lustre = lustre ']' + local mdt_index + '[' 1 -eq -1 ']' + mdt_index=1 + '[' -z '' ']' + hash_type=all_char ++ version_code 2.8.0 +++ tr '[:punct:][a-zA-Z]' ' ' ++ eval set -- 2 8 0 +++ set -- 2 8 0 ++ echo -n 34078720 + (( 34616393 >= 34078720 )) + '[' 2 -eq -1 ']' + echo 'striped dir -i1 -c2 -H all_char /mnt/lustre/d31f' striped dir -i1 -c2 -H all_char /mnt/lustre/d31f + /home/green/git/lustre-release/lustre/utils/lfs mkdir -i1 -c2 -H all_char /mnt/lustre/d31f + /home/green/git/lustre-release/lustre/utils/lfs setstripe -S 1048576 -c 1 /mnt/lustre/d31f + cp /etc/hosts /mnt/lustre/d31f + ls -l /mnt/lustre/d31f total 1 -rw-r--r-- 1 root root 158 Apr 1 06:37 hosts + /home/green/git/lustre-release/lustre/utils/lfs getstripe /mnt/lustre/d31f/hosts /mnt/lustre/d31f/hosts lmm_stripe_count: 1 lmm_stripe_size: 1048576 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 0 obdidx objid objid group 0 193 0xc1 0x280000402 + multiop_bg_pause /mnt/lustre/d31f D_c + MULTIOP_PROG=multiop + FILE=/mnt/lustre/d31f + ARGS=D_c + TMPPIPE=/tmp/multiop_open_wait_pipe.8264 + mkfifo /tmp/multiop_open_wait_pipe.8264 + echo 'multiop /mnt/lustre/d31f vD_c' multiop /mnt/lustre/d31f vD_c + local pid=137147 + multiop /mnt/lustre/d31f vD_c + echo TMPPIPE=/tmp/multiop_open_wait_pipe.8264 TMPPIPE=/tmp/multiop_open_wait_pipe.8264 + read -t 60 multiop_output + '[' 0 -ne 0 ']' + rm -f /tmp/multiop_open_wait_pipe.8264 + '[' PAUSING '!=' PAUSING ']' + return 0 + MULTIPID=137147 + rm -rv /mnt/lustre/d31f removed '/mnt/lustre/d31f/hosts' removed directory '/mnt/lustre/d31f' + test_mkdir /mnt/lustre/d31f + local path + local p_option + local hash_type + hash_name=('all_char' 'fnv_1a_64' 'crush') + local hash_name + local dirstripe_count=2 + local dirstripe_index=1 + local OPTIND=1 + local overstripe_count + local stripe_command=-c ++ version_code v2_15_50-185-g1ac4b9598a +++ tr '[:punct:][a-zA-Z]' ' ' ++ eval set -- 2 15 50 185 1 4 9598 +++ set -- 2 15 50 185 1 4 9598 ++ echo -n 34550457 + (( 34616393 > 34550457 )) + hash_name+=("crush2") + getopts c:C:H:i:p opt + shift 0 + '[' 1 -eq 1 ']' + path=/mnt/lustre/d31f ++ dirname /mnt/lustre/d31f + local parent=/mnt/lustre + '[' '' == -p ']' + [[ -n '' ]] + '[' 2 -le 1 ']' + is_lustre /mnt/lustre ++ stat -f -c %T /mnt/lustre + '[' lustre = lustre ']' + local mdt_index + '[' 1 -eq -1 ']' + mdt_index=1 + '[' -z '' ']' + hash_type=all_char ++ version_code 2.8.0 +++ tr '[:punct:][a-zA-Z]' ' ' ++ eval set -- 2 8 0 +++ set -- 2 8 0 ++ echo -n 34078720 + (( 34616393 >= 34078720 )) + '[' 2 -eq -1 ']' + echo 'striped dir -i1 -c2 -H all_char /mnt/lustre/d31f' striped dir -i1 -c2 -H all_char /mnt/lustre/d31f + /home/green/git/lustre-release/lustre/utils/lfs mkdir -i1 -c2 -H all_char /mnt/lustre/d31f + /home/green/git/lustre-release/lustre/utils/lfs setstripe -S 1048576 -c 1 /mnt/lustre/d31f + cp /etc/hosts /mnt/lustre/d31f + ls -l /mnt/lustre/d31f total 1 -rw-r--r-- 1 root root 158 Apr 1 06:37 hosts + /home/green/git/lustre-release/lustre/utils/lfs getstripe /mnt/lustre/d31f/hosts /mnt/lustre/d31f/hosts lmm_stripe_count: 1 lmm_stripe_size: 1048576 lmm_pattern: raid0 lmm_layout_gen: 0 lmm_stripe_offset: 1 obdidx objid objid group 1 177 0xb1 0x2c0000402 + multiop_bg_pause /mnt/lustre/d31f D_c + MULTIOP_PROG=multiop + FILE=/mnt/lustre/d31f + ARGS=D_c + TMPPIPE=/tmp/multiop_open_wait_pipe.8264 + mkfifo /tmp/multiop_open_wait_pipe.8264 + echo 'multiop /mnt/lustre/d31f vD_c' multiop /mnt/lustre/d31f vD_c + local pid=137166 + multiop /mnt/lustre/d31f vD_c + echo TMPPIPE=/tmp/multiop_open_wait_pipe.8264 TMPPIPE=/tmp/multiop_open_wait_pipe.8264 + read -t 60 multiop_output + '[' 0 -ne 0 ']' + rm -f /tmp/multiop_open_wait_pipe.8264 + '[' PAUSING '!=' PAUSING ']' + return 0 + MULTIPID2=137166 + kill -USR1 137147 + wait 137147 + sleep 6 + kill -USR1 137166 + wait 137166 + set +vx