Whamcloud - gitweb
LU-15762 tests: skip llapi_hsm_test113 on old server 86/58786/10
authorAndreas Dilger <adilger@whamcloud.com>
Mon, 14 Apr 2025 23:31:09 +0000 (17:31 -0600)
committerOleg Drokin <green@whamcloud.com>
Fri, 2 May 2025 02:21:02 +0000 (02:21 +0000)
commit066ead4d1eecd0e3586582b4866f12b1a1a8f628
tree05c56414ebd40c890117c78f255f34a2812831ad
parentd253156f43caed3438e3b42656766c02561e2b2c
LU-15762 tests: skip llapi_hsm_test113 on old server

Skip sanity-hsm test_500 sub-subtest 113 for old server interop.

This requires adding some infrastructure to allow skipping some
sub-subtests in llapi_hsm_test.c. Moved from llapi_layout_test.c
to llapi_test_utils.c and enhanced to allow non-contiguous test
numbering and sharing between test files.

Modify llapi_layout_test.c to include these same improvements.

Update code style in sanity-hsm test_500 and sanity test_27D so
both modified test programs run in review-subtest-change sessions.

Fix version check in sanity/27D that always skipped sub-subtest 34.

Test-Parameters: trivial testlist=sanity-hsm env=ONLY=500 serverversion=2.14
Fixes: f684172237 ("LU-11085 mdt: revise recording of hsm progress updates.")
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I1d234632444404346142e45e74b61ffbe6500c1e
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/58786
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Rajeev Mishra <rajeevm@hpe.com>
Reviewed-by: Nikitas Angelinas <nikitas.angelinas@hpe.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/Makefile.am
lustre/tests/llapi_hsm_test.c
lustre/tests/llapi_layout_test.c
lustre/tests/llapi_test_utils.c [new file with mode: 0644]
lustre/tests/llapi_test_utils.h [new file with mode: 0644]
lustre/tests/sanity-hsm.sh
lustre/tests/sanity.sh