Bug 1313776 - ec-read-policy.t can report a false-failure
Summary: ec-read-policy.t can report a false-failure
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: disperse
Version: 3.7.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Xavi Hernandez
QA Contact:
URL:
Whiteboard:
Depends On: 1313775
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-02 10:37 UTC by Xavi Hernandez
Modified: 2016-04-19 07:22 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.7.9
Doc Type: Bug Fix
Doc Text:
Clone Of: 1313775
Environment:
Last Closed: 2016-03-29 06:25:10 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Xavi Hernandez 2016-03-02 10:37:54 UTC
+++ This bug was initially created as a clone of Bug #1313775 +++

Description of problem:

One of the tests in ec-read-policy.t checks for READ operations in all bricks using the output of a 'gluster volume profile' command and couting lines containing "READ". This can fail if, for some reason, one or more bricks has also executed a READDIR fop.

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-03-02 11:36:37 CET ---

REVIEW: http://review.gluster.org/13575 (tests: Fix spurious failure of ec-read-policy.t) posted (#1) for review on master by Xavier Hernandez (xhernandez)

Comment 1 Vijay Bellur 2016-03-02 10:41:24 UTC
REVIEW: http://review.gluster.org/13576 (tests: Fix spurious failure of ec-read-policy.t) posted (#1) for review on release-3.7 by Xavier Hernandez (xhernandez)

Comment 2 Vijay Bellur 2016-03-02 16:22:07 UTC
COMMIT: http://review.gluster.org/13576 committed in release-3.7 by Pranith Kumar Karampuri (pkarampu) 
------
commit f7063e738c16ae89d49968cdf4161792fae5431e
Author: Xavier Hernandez <xhernandez>
Date:   Wed Mar 2 11:35:44 2016 +0100

    tests: Fix spurious failure of ec-read-policy.t
    
    >Change-Id: I5297e24dd10cbfbcd671fe630ae3e960b9daa8f8
    >Reviewed-on: http://review.gluster.org/13575
    >BUG: 1313775
    >Signed-off-by: Xavier Hernandez <xhernandez>
    
    Change-Id: Ib0ea04a9040400ea67c141592e2ba34e40272408
    BUG: 1313776
    Signed-off-by: Xavier Hernandez <xhernandez>
    Reviewed-on: http://review.gluster.org/13576
    Smoke: Gluster Build System <jenkins.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.com>

Comment 3 Raghavendra Talur 2016-03-10 07:42:09 UTC
"tests" component is for tests framework only.
File a bug under test component if you find a bug in 
1. any of the *.rc files under tests/ 
2. run-tests.sh


For everything else, the bug should be filed on
1. component which is being tested by .t file if the .t file requires fix.
2. component which is causing a valid .t file to fail in regression.

I have used my best judgement here to move the bug to right component.
In case of ambiguity, I have placed the blame on the .t file component.

Please consider test bugs under the same backlog list that tracks other bugs in your component.

Comment 4 Kaushal 2016-04-19 07:22:29 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.7.9, please open a new bug report.

glusterfs-3.7.9 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] https://www.gluster.org/pipermail/gluster-users/2016-March/025922.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


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