Bug 1315658 - Spurious failure in mount-nfs-auth.t
Summary: Spurious failure in mount-nfs-auth.t
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: nfs
Version: mainline
Hardware: All
OS: NetBSD
medium
medium
Target Milestone: ---
Assignee: Niels de Vos
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-08 11:17 UTC by Jiffin
Modified: 2018-08-29 03:37 UTC (History)
5 users (show)

Fixed In Version: glusterfs-4.1.3 (or later)
Clone Of:
Environment:
Last Closed: 2018-08-29 03:37:25 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.