Whamcloud - gitweb
LU-15363 tests: don't use lustre module to test lnet
authorJames Simmons <jsimmons@infradead.org>
Wed, 30 Mar 2022 13:10:28 +0000 (09:10 -0400)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 29 Jul 2023 07:55:40 +0000 (07:55 +0000)
commit4ec5e98b2d98a2fb15390c9a563f22852141fc09
tree39f7d4322d9308392570126647e941a1bd0785c7
parent46b641fa1485664140cc91ca8bb3ee4f4601c5cb
LU-15363 tests: don't use lustre module to test lnet

Currently sanity-lnet.sh loads the lustre modules to properly
initialize the lnet modules. This doesn't work with the native
Linux client since it only starts up LNet after mounting the
file system. We shouldn't be using lustre to test lnet so
load lnet modules with config_on_load option to properly setup
the default LNet configuration.

Also fix ksocklnd-config to use bash so sanity-lnet.sh can
pass on Ubuntu.

Lustre-change: https://review.whamcloud.com/45834
Lustre-commit: e41f91dc90a0977f7ea85b199b7e5809c56b810e

Test-Parameters: trivial testlist=sanity-lnet
Change-Id: Ifffc51625f5c2ffbb3ab811b75739c0e6407a821
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51666
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/scripts/ksocklnd-config
lustre/tests/sanity-lnet.sh
lustre/tests/test-framework.sh