Bug 1360575

Summary: Fix spurious failures in ec.t
Product: [Community] GlusterFS Reporter: Pranith Kumar K <pkarampu>
Component: testsAssignee: Pranith Kumar K <pkarampu>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 3.8.1CC: bugs, mvignesh, ndevos
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1359001 Environment:
Last Closed: 2016-08-12 09:48:11 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: 1359001    
Bug Blocks:    

Description Pranith Kumar K 2016-07-27 05:16:14 UTC
+++ This bug was initially created as a clone of Bug #1359001 +++

Description of problem:
    Problem:
    Because of timing issue sometimes the mount is unmounted
    even before the version is updated, this is leading to
    not triggering heals.
    
    Fix:
    One way to fix this would be to increate 'sleep 2' to 'sleep 10'
    but that would slow things down. I changed the way ec learns
    it needs xattr healing so that it triggers heals even when the
    xattrs are not marked correctly.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

--- Additional comment from Vijay Bellur on 2016-07-22 00:59:51 EDT ---

REVIEW: http://review.gluster.org/14980 (tests: Fix timing issue in ec.t) posted (#1) for review on master by Pranith Kumar Karampuri (pkarampu)

--- Additional comment from Vijay Bellur on 2016-07-22 11:14:00 EDT ---

COMMIT: http://review.gluster.org/14980 committed in master by Jeff Darcy (jdarcy) 
------
commit 1c9b229a860908ffc0c0134450c9218bc8079c22
Author: Pranith Kumar K <pkarampu>
Date:   Fri Jul 22 10:25:49 2016 +0530

    tests: Fix timing issue in ec.t
    
    Problem:
    Because of timing issue sometimes the mount is unmounted
    even before the version is updated, this is leading to
    not triggering heals.
    
    Fix:
    One way to fix this would be to increate 'sleep 2' to 'sleep 10'
    but that would slow things down. I changed the way ec learns
    it needs xattr healing so that it triggers heals even when the
    xattrs are not marked correctly.
    
    Change-Id: I1c82041166443ae7079dd99b89ea2ed170233ba3
    BUG: 1359001
    Signed-off-by: Pranith Kumar K <pkarampu>
    Reviewed-on: http://review.gluster.org/14980
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Jeff Darcy <jdarcy>

Comment 1 Vijay Bellur 2016-07-27 05:53:01 UTC
REVIEW: http://review.gluster.org/15024 (tests: Fix timing issue in ec.t) posted (#1) for review on release-3.8 by Pranith Kumar Karampuri (pkarampu)

Comment 2 Vijay Bellur 2016-07-27 14:29:08 UTC
COMMIT: http://review.gluster.org/15024 committed in release-3.8 by Niels de Vos (ndevos) 
------
commit 9112c896e7ad3087654a1bc8bc0d78c5effa885d
Author: Pranith Kumar K <pkarampu>
Date:   Fri Jul 22 10:25:49 2016 +0530

    tests: Fix timing issue in ec.t
    
    Problem:
    Because of timing issue sometimes the mount is unmounted
    even before the version is updated, this is leading to
    not triggering heals.
    
    Fix:
    One way to fix this would be to increate 'sleep 2' to 'sleep 10'
    but that would slow things down. I changed the way ec learns
    it needs xattr healing so that it triggers heals even when the
    xattrs are not marked correctly.
    
     >Change-Id: I1c82041166443ae7079dd99b89ea2ed170233ba3
     >BUG: 1359001
     >Signed-off-by: Pranith Kumar K <pkarampu>
     >Reviewed-on: http://review.gluster.org/14980
     >Smoke: Gluster Build System <jenkins.org>
     >NetBSD-regression: NetBSD Build System <jenkins.org>
     >CentOS-regression: Gluster Build System <jenkins.org>
     >Reviewed-by: Jeff Darcy <jdarcy>
    
    BUG: 1360575
    Change-Id: I3e7812e3b54caee651e20d4f5dd7dded2f2aa8d6
    Signed-off-by: Pranith Kumar K <pkarampu>
    Reviewed-on: http://review.gluster.org/15024
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Niels de Vos <ndevos>

Comment 3 Niels de Vos 2016-08-12 09:48:11 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.8.2, please open a new bug report.

glusterfs-3.8.2 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://www.gluster.org/pipermail/announce/2016-August/000058.html
[2] https://www.gluster.org/pipermail/gluster-users/