Whamcloud - gitweb
LU-17152 tests: unmount NFS clients with zconf_umount_clients
authorJian Yu <yujian@whamcloud.com>
Tue, 3 Oct 2023 23:44:25 +0000 (16:44 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 6 Oct 2023 23:21:12 +0000 (23:21 +0000)
commit6f979300cf954843656e2c261d69c5cb2b6d0ec8
treea59a752796a889a51b8d5852be41035704788c59
parent00548f792af9e7efdccc2e9fe0162f188c524e18
LU-17152 tests: unmount NFS clients with zconf_umount_clients

This patch fixes cleanup_nfs() to unmount NFS clients by running
zconf_umount_clients(), which can find and kill active processes
that are accessing the NFS mount point so as to avoid the
"device is busy" failure.

The patch also adds racer_on_nfs test into always_except list for
parallel-scale-nfsv4 due to LU-17154.

Lustre-change: https://review.whamcloud.com/52533
Lustre-commit: TBD (from 52a2147e8b0eca74f38b1b87991b53ccf25663cd)

Test-Parameters: trivial testlist=parallel-scale-nfsv4

Change-Id: I37a38502362399540c28e78d1343e768b490ce8b
Signed-off-by: Jian Yu <yujian@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52534
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Deiter <alex.deiter@gmail.com>
lustre/tests/parallel-scale-nfsv4.sh
lustre/tests/setup-nfs.sh