From 5eb52e556975def830fbe0a8c323bff09690b16a Mon Sep 17 00:00:00 2001 From: James Nunez Date: Mon, 7 Jan 2019 11:06:36 -0700 Subject: [PATCH] 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. Lustre-change: https://review.whamcloud.com/33994 Lustre-commit: 22676740969314b1b08a31c24e5ebc4c403e08f2 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-by: Patrick Farrell Reviewed-by: Sebastien Buisson Reviewed-by: Emoly Liu Reviewed-by: Oleg Drokin Signed-off-by: Minh Diep Reviewed-on: https://review.whamcloud.com/34297 Tested-by: Jenkins Tested-by: Maloo --- lustre/tests/sanity.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index ff7c3fa..ca3f7bf 100755 --- a/lustre/tests/sanity.sh +++ b/lustre/tests/sanity.sh @@ -70,11 +70,6 @@ init_test_env $@ . ${CONFIG:=$LUSTRE/tests/cfg/${NAME}.sh} 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" @@ -12540,7 +12535,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 -- 1.8.3.1