Whamcloud - gitweb
LU-15674 tests: skip cifs tests for mlnx 5.4 93/46893/3
authorElena Gryaznova <elena.gryaznova@hpe.com>
Tue, 22 Mar 2022 15:34:14 +0000 (18:34 +0300)
committerOleg Drokin <green@whamcloud.com>
Sat, 11 Jun 2022 05:52:53 +0000 (05:52 +0000)
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 <elena.gryaznova@hpe.com>
HPE-bug-id: LUS-10825
Reviewed-by: Alexey Lyashkov <alexey.lyashkov@hpe.com>
Reviewed-by: Alexander Zarochentsev <alexander.zarochentsev@hpe.com>
Change-Id: Id2d0e98fbfa1a24460fc6eb229da1ba6e659ad38
Reviewed-on: https://review.whamcloud.com/46893
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/parallel-scale-cifs.sh

index cb1c40e..ed88c28 100644 (file)
@@ -20,10 +20,6 @@ init_logging
 
 . $LUSTRE/tests/setup-cifs.sh
 
 
 . $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}
 # 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"
 
 [ -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}
 
 # set CONFIGURE_SMB=false to skip smb config
 CONFIGURE_SMB=${CONFIGURE_SMB:-true}