Bug 1315658

Summary: Spurious failure in mount-nfs-auth.t
Product: [Community] GlusterFS Reporter: Jiffin <jthottan>
Component: nfsAssignee: Niels de Vos <ndevos>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: amukherj, bugs, jthottan, ndevos, rtalur
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: All   
OS: NetBSD   
Whiteboard:
Fixed In Version: glusterfs-4.1.3 (or later) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-29 03:37:25 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiffin 2016-03-08 11:17:48 UTC
Description of problem:
Test no 33 in mount-nfs-auth.t frequently fails for NETBSD machine.  

Version-Release number of selected component (if applicable):
mainline

How reproducible:
very rare when the test is ran individually

Steps to Reproduce:
1.
2.
3.

Additional info:
There is very small race in the code.
The export entries and netgroup entries are updated from separate thread. During this updation all the clients will be rejected. If the TEST 33(which perform subsequent large write) came into this period it got rejected.

Comment 1 Vijay Bellur 2016-03-08 13:00:10 UTC
REVIEW: http://review.gluster.org/13649 (tests : Removing spurious test case in mount-nfs-auth.t) posted (#1) for review on master by jiffin tony Thottan (jthottan)

Comment 2 Mike McCune 2016-03-28 22:50:27 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 3 Niels de Vos 2016-08-07 15:50:47 UTC
I think I found a potential fix for this. Will re-use the Change-Id if I have a fix, or at least verify that your patch prevents spurious failures.

Thanks!

Comment 4 Vijay Bellur 2016-08-09 14:58:20 UTC
REVIEW: http://review.gluster.org/13649 (nfs/auth: add locking in mnt3_auth_host) posted (#2) for review on master by Niels de Vos (ndevos)

Comment 5 Vijay Bellur 2016-08-10 10:53:12 UTC
REVIEW: http://review.gluster.org/13649 (nfs/auth: add locking in mnt3_auth_host) posted (#3) for review on master by Niels de Vos (ndevos)

Comment 6 Amar Tumballi 2018-08-29 03:37:25 UTC
This update is done in bulk based on the state of the patch and the time since last activity. If the issue is still seen, please reopen the bug.