Bug 1142420

Summary: tests: regression, can't run `prove $t` in {basic,bugs,encryption,features,performance} subdirs
Product: [Community] GlusterFS Reporter: Kaleb KEITHLEY <kkeithle>
Component: testsAssignee: bugs <bugs>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: bugs, gluster-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.6.0beta1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1142419 Environment:
Last Closed: 2014-11-11 08:39: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: 1142419    
Bug Blocks: 1117822    

Description Kaleb KEITHLEY 2014-09-16 17:55:31 UTC
+++ This bug was initially created as a clone of Bug #1142419 +++

Description of problem:

In 3.5 and earlier I could:

  % cd .../tests/basic; prove bd.t

and it would work

In master and 3.6 it no longer works.

Comment 1 Anand Avati 2014-09-16 18:03:40 UTC
REVIEW: http://review.gluster.org/8753 (tests: regression, can't run `prove $t` in subdirs) posted (#1) for review on release-3.6 by Kaleb KEITHLEY (kkeithle)

Comment 2 Anand Avati 2014-09-16 20:55:23 UTC
REVIEW: http://review.gluster.org/8753 (tests: regression, can't run `prove $t` in subdirs) posted (#2) for review on release-3.6 by Kaleb KEITHLEY (kkeithle)

Comment 3 Anand Avati 2014-09-21 17:31:28 UTC
COMMIT: http://review.gluster.org/8753 committed in release-3.6 by Vijay Bellur (vbellur) 
------
commit 936cf82d93e1e5204fe375f5c1f472ed7917b165
Author: Kaleb S. KEITHLEY <kkeithle>
Date:   Tue Sep 16 14:00:03 2014 -0400

    tests: regression, can't run `prove $t` in subdirs
    
    In various tests we already use the pattern:
    
      . $(dirname $0)/../include.rc
    
    to locate various .rc files.
    
    Use the same pattern we already use to also find the new env.rc
    
    Change-Id: Ib7878c3f7f6491fcec401e9adbaa696ace392fae
    BUG: 1142420
    Signed-off-by: Kaleb S. KEITHLEY <kkeithle>
    Reviewed-on: http://review.gluster.org/8753
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Harshavardhana <harsha>
    Tested-by: Harshavardhana <harsha>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 4 Niels de Vos 2014-09-22 12:46:30 UTC
A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED.

Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution.

[1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html
[2] http://supercolony.gluster.org/pipermail/gluster-users/

Comment 5 Niels de Vos 2014-11-11 08:39: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.6.1, please reopen this bug report.

glusterfs-3.6.1 has been announced [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://supercolony.gluster.org/pipermail/gluster-users/2014-November/019410.html
[2] http://supercolony.gluster.org/mailman/listinfo/gluster-users