This enables tests that were marked as skipped for bug LU-2059, now
tracked as LU-4274. The skipped tests are ones failing due to
mounting OSTs without MGS started causes OST mount to hang and wait
for MGS.
Test-Parameters: trivial osscount=2 mdscount=2 ostcount=2 mdtcount=1 mdtfilesystemtype=zfs ostfilesystemtype=zfs testlist=conf-sanity,insanity,sanity-quota
Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: I3e27a7583c857d416ef3a0bd2d5ee74814975def
Reviewed-on: https://review.whamcloud.com/7113
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
test_5d() {
grep " $MOUNT " /etc/mtab &&
test_5d() {
grep " $MOUNT " /etc/mtab &&
- error false "unexpected entry in mtab before mount" && return 10
+ error "unexpected entry in mtab before mount"
start_ost || error "OST start failed"
start_mds || error "MDS start failed"
start_ost || error "OST start failed"
start_mds || error "MDS start failed"
- stop_ost || error "Unable to stop OST1"
+ stop_ost -f || error "Unable to stop OST1"
mount_client $MOUNT || error "mount_client $MOUNT failed"
umount_client $MOUNT -f || error "umount_client $MOUNT failed"
cleanup_nocli || error "cleanup_nocli failed with $?"
mount_client $MOUNT || error "mount_client $MOUNT failed"
umount_client $MOUNT -f || error "umount_client $MOUNT failed"
cleanup_nocli || error "cleanup_nocli failed with $?"
- grep " $MOUNT " /etc/mtab &&
+ ! grep " $MOUNT " /etc/mtab ||
error "$MOUNT entry in mtab after unmount"
error "$MOUNT entry in mtab after unmount"
}
run_test 5d "mount with ost down"
}
run_test 5d "mount with ost down"
test_19b() {
start_ost || error "Unable to start OST1"
test_19b() {
start_ost || error "Unable to start OST1"
- stop_ost || error "Unable to stop OST1"
+ stop_ost -f || error "Unable to stop OST1"
}
run_test 19b "start/stop OSTs without MDS"
}
run_test 19b "start/stop OSTs without MDS"
test_1() {
[ $MDSCOUNT -lt 2 ] && skip "needs >= 2 MDTs" && return
test_1() {
[ $MDSCOUNT -lt 2 ] && skip "needs >= 2 MDTs" && return
- [ "$(facet_fstype mds2)" = "zfs" ] &&
- skip "LU-2059: no local config for ZFS MDTs" && return
-
clients_up
shutdown_facet mds1
clients_up
shutdown_facet mds1
fi
if [ $(facet_fstype $SINGLEMDS) = "zfs" ]; then
fi
if [ $(facet_fstype $SINGLEMDS) = "zfs" ]; then
-# bug number for skipped test: LU-2836 LU-6836 LU-2836 LU-2059
- ALWAYS_EXCEPT="$ALWAYS_EXCEPT 3 4a 6 7d"
+# bug number for skipped test: LU-2836 LU-6836 LU-2836
+ ALWAYS_EXCEPT="$ALWAYS_EXCEPT 3 4a 6"
# bug number for skipped test: LU-5638
ALWAYS_EXCEPT="$ALWAYS_EXCEPT 11 33 34 35"
# bug number: LU-2887
# bug number for skipped test: LU-5638
ALWAYS_EXCEPT="$ALWAYS_EXCEPT 11 33 34 35"
# bug number: LU-2887