From: Elena Gryaznova Date: Tue, 22 Mar 2022 15:34:14 +0000 (+0300) Subject: LU-15674 tests: skip cifs tests for mlnx 5.4 X-Git-Tag: 2.15.51~144 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=68133f67b1cea559aa3436846b4c7625fbfee0a0 LU-15674 tests: skip cifs tests for mlnx 5.4 OFED installation caused CIFS to break in RHEL8.4 Release: 5.4 https://docs.nvidia.com/networking/display/MLNXENv543100/Known+Issues Test-Parameters: trivial Signed-off-by: Elena Gryaznova HPE-bug-id: LUS-10825 Reviewed-by: Alexey Lyashkov Reviewed-by: Alexander Zarochentsev Change-Id: Id2d0e98fbfa1a24460fc6eb229da1ba6e659ad38 Reviewed-on: https://review.whamcloud.com/46893 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/parallel-scale-cifs.sh b/lustre/tests/parallel-scale-cifs.sh index cb1c40e..ed88c28 100644 --- a/lustre/tests/parallel-scale-cifs.sh +++ b/lustre/tests/parallel-scale-cifs.sh @@ -20,10 +20,6 @@ init_logging . $LUSTRE/tests/setup-cifs.sh -check_and_setup_lustre - -# first unmount all the lustre clients -cleanup_mount $MOUNT # lustre client used as samba server (default is mds node) LUSTRE_CLIENT_SMBSRV=${LUSTRE_CLIENT_SMBSRV:-$(facet_active_host $SINGLEMDS)} SMBSHARE=${SMBSHARE:-lustretest} @@ -37,6 +33,13 @@ SMBCLIENTS=$(exclude_items_from_list $SMBCLIENTS $LUSTRE_CLIENT_SMBSRV) [ -z "$SMBCLIENTS" ] && skip_env "need at least two nodes: samba server and samba client" +do_nodes $SMBCLIENTS modinfo cifs | grep dummy > /dev/null && + skip_env "OFED installation caused CIFS to break in RHEL8.4 mlnx 5.4" + +check_and_setup_lustre +# first unmount all the lustre clients +cleanup_mount $MOUNT + # set CONFIGURE_SMB=false to skip smb config CONFIGURE_SMB=${CONFIGURE_SMB:-true}