Whamcloud - gitweb
LU-8394 tests: exportfs unexport failure can be ignored 90/21290/2
authorLai Siyao <lai.siyao@intel.com>
Wed, 13 Jul 2016 19:17:51 +0000 (12:17 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 27 Jul 2016 03:02:25 +0000 (03:02 +0000)
During NFS test cleanup, 'service nfs stop' is called before
'exportfs -u', while the former one should have unexport all
already, so the failure of the latter can be ignored.

Test-Parameters: trivial alwaysuploadlogs \
envdefinitions=ONLY=compilebench \
clientdistro=el7 ossdistro=el7 mdsdistro=el7 \
testlist=parallel-scale-nfsv3,parallel-scale-nfsv4

Signed-off-by: Lai Siyao <lai.siyao@intel.com>
Change-Id: I4a6931202dccde2909cab6c60c3ebc002fe4fd98
Reviewed-on: http://review.whamcloud.com/21290
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/setup-nfs.sh

index 0d92fa9..ea2eb19 100755 (executable)
@@ -63,7 +63,7 @@ cleanup_nfs() {
                                 service nfsserver stop || service nfs stop" ||
                                return 1
 
-    do_nodes $LUSTRE_CLIENT "exportfs -u *:$MNTPNT" || return 1
+    do_nodes $LUSTRE_CLIENT "exportfs -u *:$MNTPNT"
 
     do_nodes $LUSTRE_CLIENT "exportfs -v"
 }