Bug 1405451 - tests/bugs/snapshot/bug-1316437.t test is causing spurious failure
Summary: tests/bugs/snapshot/bug-1316437.t test is causing spurious failure
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: snapshot
Version: 3.9
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: rjoseph
QA Contact:
URL:
Whiteboard:
Depends On: 1404573
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-16 14:40 UTC by rjoseph
Modified: 2017-03-08 10:23 UTC (History)
1 user (show)

Fixed In Version: glusterfs-3.9.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1404573
Environment:
Last Closed: 2017-03-08 10:23:02 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description rjoseph 2016-12-16 14:40:59 UTC
+++ This bug was initially created as a clone of Bug #1404573 +++

Description of problem:
https://build.gluster.org/job/centos6-regression/1624/consoleText

================================================================================
[13:51:48] Running tests in file ./tests/bugs/snapshot/bug-1316437.t
./tests/bugs/snapshot/bug-1316437.t .. 
1..7
ok 1, LINENUM:9
ok 2, LINENUM:13
ok 3, LINENUM:15
ok 4, LINENUM:17
ok 5, LINENUM:19
not ok 6 , LINENUM:24
FAILED COMMAND: ! [ 14775 -gt 0 ]
ok 7, LINENUM:28
Failed 1/7 subtests 

Test Summary Report
-------------------
./tests/bugs/snapshot/bug-1316437.t (Wstat: 0 Tests: 7 Failed: 1)
  Failed test:  6
Files=1, Tests=7, 22 wallclock secs ( 0.02 usr  0.01 sys +  2.44 cusr  1.55 csys =  4.02 CPU)
Result: FAIL
End of test ./tests/bugs/snapshot/bug-1316437.t
================================================================================

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 Worker Ant on 2016-12-16 04:08:49 EST ---

REVIEW: http://review.gluster.org/16162 (tests: Fix spurious test failure in bug-1316437.t) posted (#1) for review on master by Rajesh Joseph (rjoseph)

--- Additional comment from Worker Ant on 2016-12-16 09:36:49 EST ---

COMMIT: http://review.gluster.org/16162 committed in master by Rajesh Joseph (rjoseph) 
------
commit e9d8525a0d34130ba2a582109937b8e79eecf6ab
Author: Rajesh Joseph <rjoseph>
Date:   Thu Dec 15 20:51:30 2016 +0530

    tests: Fix spurious test failure in bug-1316437.t
    
    After sending SIGTERM to gluster process we immediately
    check if process exited. We should wait for some time
    before checking process state.
    
    BUG: 1404573
    Change-Id: Iaba0067f6e880a7fe38e11b9fa0fe9bd103b19e2
    Signed-off-by: Rajesh Joseph <rjoseph>
    Reviewed-on: http://review.gluster.org/16162
    Smoke: Gluster Build System <jenkins.org>
    Reviewed-by: Avra Sengupta <asengupt>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Reviewed-by: N Balachandran <nbalacha>
    CentOS-regression: Gluster Build System <jenkins.org>

Comment 1 Worker Ant 2016-12-16 14:43:43 UTC
REVIEW: http://review.gluster.org/16165 (tests: Fix spurious test failure in bug-1316437.t) posted (#1) for review on release-3.9 by Rajesh Joseph (rjoseph)

Comment 2 Worker Ant 2016-12-16 15:07:58 UTC
REVIEW: http://review.gluster.org/16165 (tests: Fix spurious test failure in bug-1316437.t) posted (#2) for review on release-3.9 by Rajesh Joseph (rjoseph)

Comment 3 Worker Ant 2016-12-20 07:25:29 UTC
COMMIT: http://review.gluster.org/16165 committed in release-3.9 by Rajesh Joseph (rjoseph) 
------
commit fa9d627738bd249e27ddc9800774f8b6247e9429
Author: Rajesh Joseph <rjoseph>
Date:   Thu Dec 15 20:51:30 2016 +0530

    tests: Fix spurious test failure in bug-1316437.t
    
    After sending SIGTERM to gluster process we immediately
    check if process exited. We should wait for some time
    before checking process state.
    
    
    > Reviewed-on: http://review.gluster.org/16162
    > Smoke: Gluster Build System <jenkins.org>
    > Reviewed-by: Avra Sengupta <asengupt>
    > NetBSD-regression: NetBSD Build System <jenkins.org>
    > Reviewed-by: N Balachandran <nbalacha>
    > CentOS-regression: Gluster Build System <jenkins.org>
    (cherry picked from commit e9d8525a0d34130ba2a582109937b8e79eecf6ab)
    
    BUG: 1405451
    Change-Id: Iaba0067f6e880a7fe38e11b9fa0fe9bd103b19e2
    Signed-off-by: Rajesh Joseph <rjoseph>
    Reviewed-on: http://review.gluster.org/16165
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Avra Sengupta <asengupt>

Comment 4 Kaushal 2017-03-08 10:23:02 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.9.1, please open a new bug report.

glusterfs-3.9.1 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/gluster-users/2017-January/029725.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.