Bug 1358114

Summary: tests: ./tests/bitrot/br-stub.t fails intermittently
Product: [Community] GlusterFS Reporter: Kotresh HR <khiremat>
Component: testsAssignee: Kotresh HR <khiremat>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: v3.10.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1360578 (view as bug list) Environment:
Last Closed: 2017-03-08 09:32:13 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:
Bug Depends On:    
Bug Blocks: 1360578, 1360579    

Description Kotresh HR 2016-07-20 06:04:01 UTC
Description of problem:
./tests/bitrot/br-stub.t fails intermittently in regression.

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

How reproducible:
Intermittently

Steps to Reproduce:
Regression run

Actual results:
./tests/bitrot/br-stub.t fails occasionally

Expected results:
./tests/bitrot/br-stub.t should always pass

Additional info:

Comment 1 Vijay Bellur 2016-07-20 06:18:57 UTC
REVIEW: http://review.gluster.org/14960 (tests: Fix spurious failure of br-stub.t) posted (#1) for review on master by Kotresh HR (khiremat)

Comment 2 Vijay Bellur 2016-07-20 07:09:01 UTC
REVIEW: http://review.gluster.org/14961 (tests: Wait for a while for gluster-NFS server to start) posted (#1) for review on master by soumya k (skoduri)

Comment 3 Vijay Bellur 2016-07-21 14:25:34 UTC
COMMIT: http://review.gluster.org/14960 committed in master by Jeff Darcy (jdarcy) 
------
commit f4bbe515097e0149c78c1fc1bae9fb90928e7cd8
Author: Kotresh HR <khiremat>
Date:   Wed Jul 20 11:36:31 2016 +0530

    tests: Fix spurious failure of br-stub.t
    
    The nfs mount fails occasionally in ./tests/bitrot/br-stub.t.
    The reason being nfs mount is attempted before the gluster
    nfs has come up. It is a race and hence happens occasionally.
    The patch fixes it by waiting for nfs server to come up
    before mount.
    
    Thanks skoduri for root causing it.
    
    Change-Id: I3adbf2363514635785c02b1478733095ad0b74cf
    BUG: 1358114
    Signed-off-by: Kotresh HR <khiremat>
    Reviewed-on: http://review.gluster.org/14960
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: Poornima G <pgurusid>
    Reviewed-by: soumya k <skoduri>
    Reviewed-by: jiffin tony Thottan <jthottan>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Jeff Darcy <jdarcy>