From: James Nunez Date: Mon, 7 Jan 2019 18:06:36 +0000 (-0700) Subject: LU-11161 tests: start running sanity 160g again X-Git-Tag: 2.12.51~6 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=22676740969314b1b08a31c24e5ebc4c403e08f2;p=fs%2Flustre-release.git LU-11161 tests: start running sanity 160g again sanity test 160g was failing when run in a DNE configuration and we stopped running this test meaning added to the ALWAYS_EXCEPT list. The problem is that the test did not write enough files to exceed changelog idle index threshold for deregistering users. Start running sanity test 160g with DNE testing again. Test-Parameters: trivial Test-Parameters: ostfilesystemtype=ldiskfs mdtfilesystemtype=ldiskfs clientcount=2 mdscount=2 mdtcount=4 osscount=1 ostcount=8 testlist=sanity Signed-off-by: James Nunez Change-Id: I286ef8eb7c4638ff8f357db54c4926d5a2f20ac4 Reviewed-on: https://review.whamcloud.com/33994 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Patrick Farrell Reviewed-by: Sebastien Buisson Reviewed-by: Emoly Liu Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index 8a4dde1..3cba5fc 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -71,11 +71,6 @@ init_test_env $@ get_lustre_env init_logging -if [[ $MDSCOUNT -gt 1 ]]; then - # bug number: LU-11161 - ALWAYS_EXCEPT+=" 160g" -fi - # 5 12 (min)" [ "$SLOW" = "no" ] && EXCEPT_SLOW="27m 64b 68 71 115 300o" @@ -12581,7 +12576,10 @@ test_160g() { local nbcl=$(changelog_dump | wc -l) [[ $nbcl -eq 0 ]] && error "no changelogs found" - for param in "changelog_max_idle_indexes=$((nbcl / 2))" \ + # reduce the max_idle_indexes value to make sure we exceed it + max_ndx=$((nbcl / 2 - 1)) + + for param in "changelog_max_idle_indexes=$max_ndx" \ "changelog_gc=1" \ "changelog_min_gc_interval=2" \ "changelog_min_free_cat_entries=3"; do