Whamcloud - gitweb
LU-15363 tests: don't use lustre module to test lnet 34/45834/6
authorJames Simmons <jsimmons@infradead.org>
Wed, 30 Mar 2022 13:10:28 +0000 (09:10 -0400)
committerOleg Drokin <green@whamcloud.com>
Sun, 3 Apr 2022 16:08:43 +0000 (16:08 +0000)
commite41f91dc90a0977f7ea85b199b7e5809c56b810e
tree82887a43abd61cabe6a80af0ebb422663990610e
parentcd34488668be189c5c7ce140190f9347b9c1d1e7
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.

Test-Parameters: trivial testlist=sanity-lnet
Change-Id: Ifffc51625f5c2ffbb3ab811b75739c0e6407a821
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-on: https://review.whamcloud.com/45834
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/scripts/ksocklnd-config
lustre/tests/sanity-lnet.sh
lustre/tests/test-framework.sh