From 037abde0c33f4fff49c237e8588a45cc3da21c59 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Tue, 11 Feb 2020 23:48:36 -0700 Subject: [PATCH] LU-11915 tests: add debugging to conf-sanity test_115 After updating the e2fsprogs build version to 1.45.2.wc2, this test is not longer being skipped, and is failing to mount the newly-formatted OST0000 due to errors registering with the MGS (target index already in use). Since the MDS+MGS was just reformatted, that doesn't make sense. Continue to skip this test until we understand why it is failing, but use ALWAYS_EXCEPT instead of blaming the e2fsprogs version. Test-Parameters: trivial testlist=conf-sanity Signed-off-by: Andreas Dilger Change-Id: I59c689763481c4fc3677ca1807101de09599bb77 Reviewed-on: https://review.whamcloud.com/37548 Tested-by: jenkins Tested-by: Maloo Reviewed-by: James Nunez Reviewed-by: Wei Liu Reviewed-by: Oleg Drokin --- lustre/tests/conf-sanity.sh | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 690e1ea..031affe 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -15,7 +15,7 @@ init_logging ALWAYS_EXCEPT="$CONF_SANITY_EXCEPT 32newtarball" # bug number for skipped test: LU-11915 -ALWAYS_EXCEPT="$ALWAYS_EXCEPT 110" +ALWAYS_EXCEPT="$ALWAYS_EXCEPT 110 115" # UPDATE THE COMMENT ABOVE WITH BUG NUMBERS WHEN CHANGING ALWAYS_EXCEPT! if $SHARED_KEY; then @@ -8353,6 +8353,14 @@ test_115() { IMAGESIZE=$((3072 << 30)) # 3072 GiB stopall + + echo "client1: " + lctl dl + mount | grep lustre + echo "mds1: " + do_facet mds1 "hostname; ifconfig; lctl dl; mount" + echo "ost1: " + do_facet ost1 "hostname; ifconfig; lctl dl; mount" # We need MDT size 3072GB, because it is smallest # partition that can store 2B inodes do_facet $SINGLEMDS "mkdir -p $TMP/$tdir" @@ -8365,9 +8373,9 @@ test_115() { local mdsdev=$(do_facet $SINGLEMDS "losetup -f") do_facet $SINGLEMDS "losetup $mdsdev $mdsimgname" - local mds_opts="$(mkfs_opts mds1 $(mdsdevname 1)) --device-size=$IMAGESIZE \ + local mds_opts="$(mkfs_opts mds1 $(mdsdevname 1)) \ --mkfsoptions='-O ea_inode,^resize_inode,meta_bg \ - -N 2247484000 -E lazy_itable_init'" + -N 2247484000 -E lazy_itable_init' --device-size=$IMAGESIZE" add mds1 $mds_opts --mgs --reformat $mdsdev || skip_env "format large MDT failed" opts="$(mkfs_opts ost1 $(ostdevname 1)) \ -- 1.8.3.1