Bug 1425743 - Tier ./tests/bugs/glusterd/bug-1303028-Rebalance-glusterd-rpc-connection-issue.t
Summary: Tier ./tests/bugs/glusterd/bug-1303028-Rebalance-glusterd-rpc-connection-issue.t
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: tests
Version: mainline
Hardware: Unspecified
OS: Unspecified
high
low
Target Milestone: ---
Assignee: hari gowtham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-02-22 09:46 UTC by hari gowtham
Modified: 2017-05-30 18:44 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.11.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-30 18:44:46 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description hari gowtham 2017-02-22 09:46:10 UTC
Description of problem:
the test seems to have spurious failures
https://build.gluster.org/job/centos6-regression/3283/console

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

How reproducible:
spurious

Steps to Reproduce:
1.run the test
2.
3.

Actual results:
fails a few times

Expected results:
should be passing consistently

Additional info:
  02:36:38 [10:36:38] Running tests in file
./tests/bugs/glusterd/bug-1303028-Rebalance-glusterd-rpc-connection-issue.t
   02:36:45 No volumes present
   02:37:36 Tiering Migration Functionality: patchy: failed: Tier daemon
is not running on volume patchy
   02:37:36 ./tests/bugs/glusterd/../../tier.rc: line 133: * 3600 +  *
60 + : syntax error: operand expected (error token is "* 3600 +  * 60 + ")
   02:37:36
./tests/bugs/glusterd/bug-1303028-Rebalance-glusterd-rpc-connection-issue.t:
line 23: [: : integer expression expected
   02:37:41 Tiering Migration Functionality: patchy: failed: Tier daemon
is not running on volume patchy
   02:37:41 ./tests/bugs/glusterd/../../tier.rc: line 133: * 3600 +  *
60 + : syntax error: operand expected (error token is "* 3600 +  * 60 + ")
   02:37:41
./tests/bugs/glusterd/bug-1303028-Rebalance-glusterd-rpc-connection-issue.t:
line 23: [: : integer expression expected
   02:37:41
./tests/bugs/glusterd/bug-1303028-Rebalance-glusterd-rpc-connection-issue.t:
line 23: [: -: integer expression expected
   02:37:41
./tests/bugs/glusterd/bug-1303028-Rebalance-glusterd-rpc-connection-issue.t
..
   ...
   02:37:41 ok 14, LINENUM:69
   02:37:41 not ok 15 Got "1" instead of "0", LINENUM:70
   02:37:41 FAILED COMMAND: 0 tier_daemon_check
   02:37:41 not ok 16 Got "1" instead of "0", LINENUM:72
   02:37:41 FAILED COMMAND: 0 non_zero_check
   02:37:41 not ok 17 Got "1" instead of "0", LINENUM:75
   02:37:41 FAILED COMMAND: 0 non_zero_check
   02:37:41 not ok 18 Got "1" instead of "0", LINENUM:77
   02:37:41 FAILED COMMAND: 0 non_zero_check -
   02:37:41 Failed 4/18 subtests

Comment 1 Worker Ant 2017-02-22 10:42:24 UTC
REVIEW: https://review.gluster.org/16711 (TESTS/TIER: bug-1303028-Rebalance-glusterd-rpc-connection-issue.t) posted (#1) for review on master by hari gowtham (hari.gowtham005)

Comment 2 Worker Ant 2017-02-23 07:03:49 UTC
REVIEW: https://review.gluster.org/16711 (TESTS/TIER: bug-1303028-Rebalance-glusterd-rpc-connection-issue.t) posted (#2) for review on master by hari gowtham (hari.gowtham005)

Comment 3 Worker Ant 2017-02-23 11:50:25 UTC
COMMIT: https://review.gluster.org/16711 committed in master by Shyamsundar Ranganathan (srangana) 
------
commit a88cb01c78c9a13d2879917b54ead26dce8cc63c
Author: hari gowtham <hgowtham>
Date:   Wed Feb 22 15:19:20 2017 +0530

    TESTS/TIER: bug-1303028-Rebalance-glusterd-rpc-connection-issue.t
    
    PROBLEM: spurious failure of the test.
    
    CAUSE: the function "rebalance_run_time" calculates the total time
    the tier has been running for. this being a test case, the run time
    of tier can be 0 and when the function adds up zero it results in
    zero. and thus it starts to fail.
    
    FIX: Give it some time for the function to add up the values.
    
    Signed-off-by: hari gowtham <hgowtham>
    
    Change-Id: Ie270f3f3c8942081cca85dc49ef8fec76f3a261a
    BUG: 1425743
    Reviewed-on: https://review.gluster.org/16711
    Smoke: Gluster Build System <jenkins.org>
    Tested-by: hari gowtham <hari.gowtham005>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Shyamsundar Ranganathan <srangana>

Comment 4 Shyamsundar 2017-05-30 18:44:46 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.11.0, please open a new bug report.

glusterfs-3.11.0 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://lists.gluster.org/pipermail/announce/2017-May/000073.html
[2] https://www.gluster.org/pipermail/gluster-users/


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