X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Freplay-vbr.sh;h=c475a8c882b791bd493077882c646d00a4a508ef;hb=a2d5b2e83c0a512a3ea59698e8481621ab5856c2;hp=2b1f0317d564136e8e2aea98e15a5d0bbfc30232;hpb=265d247c0199b3a914cd1f286ca99eaeb98f08cd;p=fs%2Flustre-release.git diff --git a/lustre/tests/replay-vbr.sh b/lustre/tests/replay-vbr.sh old mode 100644 new mode 100755 index 2b1f031..c475a8c --- a/lustre/tests/replay-vbr.sh +++ b/lustre/tests/replay-vbr.sh @@ -7,6 +7,12 @@ set -e # bug number: 16356 ALWAYS_EXCEPT="12a $REPLAY_VBR_EXCEPT" +case "$(lsb_release -sr)" in # only disable tests for el7 +7*) # bug number: LU-6455 + ALWAYS_EXCEPT="$ALWAYS_EXCEPT 4i 4j 4k 10b" + ;; +esac + SAVE_PWD=$PWD LUSTRE=${LUSTRE:-$(cd $(dirname $0)/..; echo $PWD)} SETUP=${SETUP:-} @@ -20,6 +26,7 @@ init_logging remote_mds_nodsh && log "SKIP: remote MDS with nodsh" && exit 0 +# ~6 (min)" [ "$SLOW" = "no" ] && EXCEPT_SLOW="7" build_test_filter @@ -727,11 +734,11 @@ test_7_cycle() { # should fail as conflict expected client_evicted $CLIENT1 || rc=1 - wait_recovery_complete $SINGLEMDS - wait_mds_ost_sync $SINGLEMDS + wait_recovery_complete $SINGLEMDS + wait_mds_ost_sync || error "wait_mds_ost_sync failed" - rm -rf $DIR/$tdir - return $rc + rm -rf $DIR/$tdir + return $rc } test_7a() { @@ -887,7 +894,14 @@ test_7g() { first="createmany -o $DIR/$tdir/$tfile- 1; mv $DIR/$tdir/$tfile-0 $DIR/$tdir/$tfile" lost="createmany -o $MOUNT2/$tdir/$tfile- 1" last="link $DIR/$tdir/$tfile-0 $DIR/$tdir/$tfile-1" - test_7_cycle "$first" "$lost" "$last" || error "Test 7g.3 failed" + if [ $(lustre_version_code $SINGLEMDS) -lt $(version_code 2.5.1) ] + then + test_7_cycle "$first" "$lost" "$last" || + error "Test 7g.3 failed" + else #LU-4442 LU-3528 + test_7_cycle "$first" "$lost" "$last" && + error "Test 7g.3 failed" + fi return 0 } run_test 7g "rename, {lost}, create"