From 3ce4db58fec6b20261baec2575ce363244a6db37 Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Thu, 7 Nov 2024 12:38:57 -0800 Subject: [PATCH] LU-10733 tests: increase conf-sanity/106 OST size conf-sanity test_106 is trying to create ~64k files, but OST0000 only has about 48k objects in this case, so the file creates are failing during the test. This makes the test somewhat unreliable and hitting errors not related to what was originally intended (llog wrap handling). Increase the OSTSIZE for this test to handle the number of objects needed by the test so it can run more reliably. Lustre-change: https://review.whamcloud.com/50732 Lustre-commit: 334d780617561c66c91697fb1681ce24b5379387 Test-Parameters: trivial Test-Parameters: testlist=conf-sanity env=ONLY=106 Test-Parameters: testlist=conf-sanity env=ONLY=106 Test-Parameters: testlist=conf-sanity env=ONLY=106 Test-Parameters: testlist=conf-sanity env=ONLY=106 Test-Parameters: testlist=conf-sanity env=ONLY=106 Test-Parameters: testlist=conf-sanity env=ONLY=106 Test-Parameters: optional env=SLOW=yes,ENABLE_QUOTA=yes \ clientdistro=el8.9 serverdistro=el8.10 testlist=conf-sanity Test-Parameters: optional env=SLOW=yes,ENABLE_QUOTA=yes \ clientdistro=ubuntu2204 serverdistro=el8.9 testlist=conf-sanity Test-Parameters: optional env=SLOW=yes,ENABLE_QUOTA=yes \ clientdistro=sles15sp5 serverdistro=el8.9 testlist=conf-sanity Signed-off-by: Andreas Dilger Change-Id: Ie33825801172ea565d9d1d5fb81595d2cad65677 Reviewed-by: Alex Deiter Reviewed-by: Jian Yu Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/56918 Reviewed-by: Oleg Drokin Tested-by: jenkins Tested-by: Maloo --- lustre/tests/conf-sanity.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 07b381a..7326e7e 100755 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -8172,22 +8172,23 @@ run_test 105 "check file creation for ro and rw bind mnt pt" test_106() { local repeat=5 + local creates=64768 # one full plain llog + # ensure there are enough inodes in the filesystem + (( OSTSIZE < (creates + 1024) * 8)) && OSTSIZE=$(((creates + 1024) * 8)) reformat setup_noconfig + lfs df -i mkdir -p $DIR/$tdir || error "create $tdir failed" lfs setstripe -c 1 -i 0 $DIR/$tdir #define OBD_FAIL_CAT_RECORDS 0x1312 do_facet mds1 $LCTL set_param fail_loc=0x1312 fail_val=$repeat for ((i = 1; i <= $repeat; i++)); do - - #one full plain llog - createmany -o $DIR/$tdir/f- 64768 - - createmany -u $DIR/$tdir/f- 64768 + createmany -o $DIR/$tdir/f- $creates || lfs df -i + createmany -u $DIR/$tdir/f- $creates + wait_delete_completed $((TIMEOUT * 7)) done - wait_delete_completed $((TIMEOUT * 7)) #ASSERTION osp_sync_thread() ( thread->t_flags != SVC_RUNNING ) failed #shows that osp code is buggy do_facet mds1 $LCTL set_param fail_loc=0 fail_val=0 -- 1.8.3.1