From: Abrarahmed Momin Date: Tue, 22 Mar 2016 12:09:47 +0000 (+0530) Subject: LU-8732 tests: lnet-selftest Error inserting modules X-Git-Tag: 2.9.52~26 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=7a23eb4e0136d50154e93e723ade21544c84b1c2 LU-8732 tests: lnet-selftest Error inserting modules Prevent locally derived module option MODOPTS_LIBCFS being passed as part of environment variable to remote nodes. This issue is more prominent in interop setups that have different version LIBCFS library supporting different module parameters. Test-Parameters: trivial testlist=lnet-selftest Signed-off-by: Abrarahmed Momin Signed-off-by: Arshad Hussain Change-Id: Ie56103c55611bb62a7dfb314526c48781ab20bc4 Seagate-bug-id: MRP-2675 Reviewed-by: Ujjwal Lanjewar Reviewed-by: Ashish Purkar Reviewed-by: Elena V. Gryaznova Tested-by: Elena V. Gryaznova Reviewed-on: https://review.whamcloud.com/23250 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Doug Oucharek Reviewed-by: Andreas Dilger Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index dbbba93..ba550af 100755 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -530,6 +530,9 @@ load_modules_local() { fi load_module ../libcfs/libcfs/libcfs + # Prevent local MODOPTS_LIBCFS being passed as part of environment + # variable to remote nodes + unset MODOPTS_LIBCFS [ "$PTLDEBUG" ] && lctl set_param debug="$PTLDEBUG" [ "$SUBSYSTEM" ] && lctl set_param subsystem_debug="${SUBSYSTEM# }"