Whamcloud - gitweb
LU-17096 debian: add obd_test.ko, llog_test.ko to lustre-tests 98/52398/8
authorTimothy Day <timday@amazon.com>
Sun, 17 Sep 2023 01:00:35 +0000 (21:00 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Mon, 18 Sep 2023 16:39:21 +0000 (16:39 +0000)
The obd_test.ko module was missing from the lustre-tests
Debian package. Hence, it wasn't being installed on the
Ubuntu clients during testing. This caused sanity/55a and
sanity/55b to consistently fail.

Add llog_test.ko to lustre-tests also. It's not unheard of to
use Ubuntu for Lustre server. So the package may as well include
llog_test.ko.

Also, update debian/.gitignore.

Test-Parameters: trivial testlist=sanity env=ONLY=55,ONLY_REPEAT=50 clientdistro=ubuntu2204
Test-Parameters: trivial testlist=sanity env=ONLY=55,ONLY_REPEAT=50
Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I050de4563478996828886ca623fa96b58f9fef5e
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52398
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Thomas Stibor <thomas@stibor.net>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
autoMakefile.am
debian/.gitignore
debian/lustre-tests.install.in [moved from debian/lustre-tests.install with 58% similarity]

index ce125f0..ceabe62 100644 (file)
@@ -452,6 +452,8 @@ debs: undef.h debs_common
                        export IB_OPTIONS="--with-o2ib=yes"; \
                fi; \
        fi; \
+       sed "s/_KVERS_/$(LINUXRELEASE)/g" debian/lustre-tests.install.in \
+               > debian/lustre-tests.install; \
        dpkg-buildpackage -us -uc -I.git -I\*.out[0-9]\* -I\*.swp || { \
                rc=$${PIPESTATUS[0]}; \
                cp $$debiantmp/control.bkp debian/control || true && \
index 1a5c37b..e9c103e 100644 (file)
@@ -1,6 +1,7 @@
 /*.log
 /*.substvars
 /.debhelper
+/changelog
 /files
 /lustre-dev
 /lustre-source
@@ -11,4 +12,5 @@
 /lustre-*-utils
 /lustre-server-utils.install
 /lustre-client-utils.install
+/lustre-tests.install
 /tmp
similarity index 58%
rename from debian/lustre-tests.install
rename to debian/lustre-tests.install.in
index e90eafe..ad47368 100644 (file)
@@ -1,3 +1,4 @@
+debian/tmp/lib/modules/_KVERS_/updates/kernel/fs/lustre/*_test.ko      usr/lib/modules/_KVERS_/updates/kernel/fs/lustre/
 debian/tmp/usr/lib/lustre/tests/*      usr/lib/lustre/tests
 debian/tmp/usr/bin/mcreate             usr/bin
 debian/tmp/usr/bin/statx               usr/bin