Bug 1131713 - Port glusterfs regressions on MacOSX/Darwin
Summary: Port glusterfs regressions on MacOSX/Darwin
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: scripts
Version: mainline
Hardware: x86_64
OS: Mac OS
medium
medium
Target Milestone: ---
Assignee: Chris Williams
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-19 21:44 UTC by Harshavardhana
Modified: 2015-05-14 17:43 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.7.0
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-14 17:27:13 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Harshavardhana 2014-08-19 21:44:18 UTC
Description of problem:

Amount of issues pertaining around stability of codebase other than Linux requires porting of all the regression tests to the respective platforms.

This bugzilla is meta bug placeholder for MacOSX/Darwin regression tests porting.

Comment 1 Anand Avati 2014-08-19 23:21:48 UTC
REVIEW: http://review.gluster.org/8499 (porting: regressions tests first cut) posted (#1) for review on master by Harshavardhana (harsha)

Comment 2 Anand Avati 2014-08-19 23:26:23 UTC
REVIEW: http://review.gluster.org/8499 (porting: regressions tests first cut) posted (#2) for review on master by Harshavardhana (harsha)

Comment 3 Anand Avati 2014-08-20 01:28:24 UTC
REVIEW: http://review.gluster.org/8499 (porting: `pidof` portability) posted (#3) for review on master by Harshavardhana (harsha)

Comment 4 Anand Avati 2014-08-20 01:28:29 UTC
REVIEW: http://review.gluster.org/8501 (porting: Make sure TAP output is compliant with no spaces) posted (#1) for review on master by Harshavardhana (harsha)

Comment 5 Anand Avati 2014-08-20 09:07:44 UTC
REVIEW: http://review.gluster.org/8499 (porting: `pidof` portability for OSX/FreeBSD) posted (#4) for review on master by Harshavardhana (harsha)

Comment 6 Anand Avati 2014-08-20 09:07:51 UTC
REVIEW: http://review.gluster.org/8501 (porting: various fixes regression tests) posted (#2) for review on master by Harshavardhana (harsha)

Comment 7 Anand Avati 2014-08-20 20:59:54 UTC
REVIEW: http://review.gluster.org/8499 (porting: `pidof` portability for OSX/FreeBSD) posted (#5) for review on master by Harshavardhana (harsha)

Comment 8 Anand Avati 2014-08-20 20:59:58 UTC
REVIEW: http://review.gluster.org/8501 (porting: various fixes regression tests OSX/FreeBSD) posted (#3) for review on master by Harshavardhana (harsha)

Comment 9 Anand Avati 2014-08-20 21:08:55 UTC
REVIEW: http://review.gluster.org/8499 (porting: `pidof` portability for OSX/FreeBSD) posted (#6) for review on master by Harshavardhana (harsha)

Comment 10 Anand Avati 2014-08-20 21:09:01 UTC
REVIEW: http://review.gluster.org/8501 (porting: various fixes regression tests OSX/FreeBSD) posted (#4) for review on master by Harshavardhana (harsha)

Comment 11 Anand Avati 2014-08-20 21:16:16 UTC
REVIEW: http://review.gluster.org/8499 (porting: `pidof` portability for OSX/FreeBSD) posted (#7) for review on master by Harshavardhana (harsha)

Comment 12 Anand Avati 2014-08-20 21:16:22 UTC
REVIEW: http://review.gluster.org/8501 (porting: various fixes regression tests OSX/FreeBSD) posted (#5) for review on master by Harshavardhana (harsha)

Comment 13 Anand Avati 2014-08-22 08:04:05 UTC
REVIEW: http://review.gluster.org/8499 (porting: `pidof` portability for OSX/FreeBSD) posted (#8) for review on master by Harshavardhana (harsha)

Comment 14 Anand Avati 2014-08-22 08:04:09 UTC
REVIEW: http://review.gluster.org/8501 (porting: various fixes regression tests OSX/FreeBSD) posted (#6) for review on master by Harshavardhana (harsha)

Comment 15 Anand Avati 2014-08-24 07:12:28 UTC
REVIEW: http://review.gluster.org/8499 (porting: `pidof` portability for OSX/FreeBSD) posted (#9) for review on master by Harshavardhana (harsha)

Comment 16 Anand Avati 2014-08-24 07:12:36 UTC
REVIEW: http://review.gluster.org/8501 (porting: various fixes regression tests OSX/FreeBSD) posted (#7) for review on master by Harshavardhana (harsha)

Comment 17 Anand Avati 2014-08-24 07:12:39 UTC
REVIEW: http://review.gluster.org/8520 (porting: Provide setfattr/getfattr implementation) posted (#1) for review on master by Harshavardhana (harsha)

Comment 18 Anand Avati 2014-08-24 20:16:07 UTC
REVIEW: http://review.gluster.org/8499 (porting: `pidof` portability for OSX/FreeBSD) posted (#10) for review on master by Harshavardhana (harsha)

Comment 19 Anand Avati 2014-08-24 20:16:10 UTC
REVIEW: http://review.gluster.org/8501 (porting: various fixes regression tests OSX/FreeBSD) posted (#8) for review on master by Harshavardhana (harsha)

Comment 20 Anand Avati 2014-08-24 20:16:14 UTC
REVIEW: http://review.gluster.org/8520 (porting: Provide setfattr/getfattr implementation) posted (#2) for review on master by Harshavardhana (harsha)

Comment 21 Anand Avati 2014-08-26 05:56:41 UTC
REVIEW: http://review.gluster.org/8499 (porting: `pidof` portability for OSX/FreeBSD) posted (#11) for review on master by Harshavardhana (harsha)

Comment 22 Anand Avati 2014-08-26 05:56:44 UTC
REVIEW: http://review.gluster.org/8501 (porting: various fixes regression tests OSX/FreeBSD) posted (#9) for review on master by Harshavardhana (harsha)

Comment 23 Anand Avati 2014-08-26 05:56:51 UTC
REVIEW: http://review.gluster.org/8520 (porting: Provide setfattr/getfattr implementation) posted (#3) for review on master by Harshavardhana (harsha)

Comment 24 Anand Avati 2014-08-26 17:20:36 UTC
REVIEW: http://review.gluster.org/8499 (porting: `pidof` portability for OSX/FreeBSD) posted (#12) for review on master by Harshavardhana (harsha)

Comment 25 Anand Avati 2014-08-26 17:20:39 UTC
REVIEW: http://review.gluster.org/8501 (porting: various fixes regression tests OSX/FreeBSD) posted (#10) for review on master by Harshavardhana (harsha)

Comment 26 Anand Avati 2014-08-26 17:20:41 UTC
REVIEW: http://review.gluster.org/8520 (porting: Provide setfattr/getfattr implementation) posted (#4) for review on master by Harshavardhana (harsha)

Comment 27 Anand Avati 2014-08-26 20:49:02 UTC
REVIEW: http://review.gluster.org/8499 (porting: `pidof` portability for OSX/FreeBSD) posted (#13) for review on master by Harshavardhana (harsha)

Comment 28 Anand Avati 2014-08-26 20:49:05 UTC
REVIEW: http://review.gluster.org/8501 (porting: various fixes regression tests OSX/FreeBSD) posted (#11) for review on master by Harshavardhana (harsha)

Comment 29 Anand Avati 2014-08-26 20:49:08 UTC
REVIEW: http://review.gluster.org/8520 (porting: Provide setfattr/getfattr implementation) posted (#5) for review on master by Harshavardhana (harsha)

Comment 30 Anand Avati 2014-08-26 20:54:33 UTC
REVIEW: http://review.gluster.org/8499 (porting: `pidof` portability for OSX/FreeBSD) posted (#14) for review on master by Harshavardhana (harsha)

Comment 31 Anand Avati 2014-08-26 20:54:36 UTC
REVIEW: http://review.gluster.org/8501 (porting: various fixes regression tests OSX/FreeBSD) posted (#12) for review on master by Harshavardhana (harsha)

Comment 32 Anand Avati 2014-08-26 20:54:39 UTC
REVIEW: http://review.gluster.org/8520 (porting: Provide setfattr/getfattr implementation) posted (#6) for review on master by Harshavardhana (harsha)

Comment 33 Anand Avati 2014-08-26 22:27:33 UTC
COMMIT: http://review.gluster.org/8499 committed in master by Harshavardhana (harsha) 
------
commit 74cf4e1920db1edae6728cfe632e4ca7aea5be59
Author: Harshavardhana <harsha>
Date:   Tue Aug 19 16:14:03 2014 -0700

    porting: `pidof` portability for OSX/FreeBSD
    
    - Provide a portable `pidof` just to be used specifically with
      glusterfs regression tests on OSX and FreeBSD. This was
      written after countless hrs of effort to get a sane `pidof`
      working on either of the environments.
      `pidof` comes at the wake of lack of proper procfs support
      and also incompatible way of handling process names since
      glusterd/glusterfs are symbolic links to 'glusterfsd'
    - tests/utils/* directory should be part of 'PATH' to avoid
      abspath calculation using $(dirname)
    - cleanup() - rpcinfo command prints error on FreeBSD/OSX fix it
    
    Change-Id: I35f86273624cb279da1c8fae056ca27669e251d8
    BUG: 1131713
    Signed-off-by: Harshavardhana <harsha>
    Reviewed-on: http://review.gluster.org/8499
    Reviewed-by: Jeff Darcy <jdarcy>
    Tested-by: Gluster Build System <jenkins.com>

Comment 34 Anand Avati 2014-08-27 07:25:13 UTC
REVIEW: http://review.gluster.org/8501 (porting: various fixes regression tests OSX/FreeBSD) posted (#13) for review on master by Harshavardhana (harsha)

Comment 35 Anand Avati 2014-08-27 07:25:17 UTC
REVIEW: http://review.gluster.org/8520 (porting: Provide setfattr/getfattr implementation) posted (#7) for review on master by Harshavardhana (harsha)

Comment 36 Anand Avati 2014-08-29 06:45:37 UTC
REVIEW: http://review.gluster.org/8501 (porting: various fixes regression tests OSX/FreeBSD) posted (#14) for review on master by Harshavardhana (harsha)

Comment 37 Anand Avati 2014-08-29 06:45:40 UTC
REVIEW: http://review.gluster.org/8520 (porting: Provide setfattr/getfattr implementation) posted (#8) for review on master by Harshavardhana (harsha)

Comment 38 Anand Avati 2014-08-29 09:10:27 UTC
REVIEW: http://review.gluster.org/8501 (porting: various fixes regression tests OSX/FreeBSD) posted (#15) for review on master by Harshavardhana (harsha)

Comment 39 Anand Avati 2014-08-29 16:13:10 UTC
COMMIT: http://review.gluster.org/8501 committed in master by Harshavardhana (harsha) 
------
commit 2dd53eb4de91c25817af85475cfa9ff66e79c97b
Author: Harshavardhana <harsha>
Date:   Tue Aug 19 18:24:23 2014 -0700

    porting: various fixes regression tests OSX/FreeBSD
    
    - `wc -l` on OSX/FreeBSD adds spurious spaces, this clobbers
      up TAP output parsers - fix it.
    - `umount -l` doesn't exist on OSX/FreeBSD use 'umount -f' if
       available.
    - Add check for 'file' version, to handle mime type variations
      across versions
    - Converge 'glusterfs --attribute-timeout=0 --entry-timeout=0'
      into '$GFS'
    - Modify remaining 'mount -t nfs' to use 'mount_nfs'
    - Update sha1sum for OSX to use 'openssl sha1'.
    
    Change-Id: Id1012faa5d67a921513d220e7fa9cebafe830d34
    BUG: 1131713
    Signed-off-by: Harshavardhana <harsha>
    Reviewed-on: http://review.gluster.org/8501
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>

Comment 40 Anand Avati 2014-08-29 17:58:27 UTC
REVIEW: http://review.gluster.org/8520 (porting: Provide setfattr/getfattr implementation) posted (#9) for review on master by Harshavardhana (harsha)

Comment 41 Anand Avati 2014-09-03 18:12:05 UTC
REVIEW: http://review.gluster.org/8520 (porting: Provide setfattr/getfattr implementation) posted (#10) for review on master by Harshavardhana (harsha)

Comment 42 Anand Avati 2014-09-04 22:11:27 UTC
REVIEW: http://review.gluster.org/8520 (porting: Provide setfattr/getfattr implementation) posted (#11) for review on master by Harshavardhana (harsha)

Comment 43 Anand Avati 2014-09-05 17:04:24 UTC
COMMIT: http://review.gluster.org/8520 committed in master by Harshavardhana (harsha) 
------
commit fd500d4396f910e4cf759e0fffa4daf4ed24745a
Author: Harshavardhana <harsha>
Date:   Sat Aug 23 02:14:36 2014 -0700

    porting: Provide setfattr/getfattr implementation
    
    - Use 'getfattr' properly avoid redundant options during xattr query
    - Untabify certain parts of tests (remove tabs)
    - Avoid backtick evaluation for certain values to make code more portable.
    - Use awk on FreeBSD/Darwin, since 'wc' implementation is broken and adds
      spurious spaces in its output.
    
    Change-Id: I7dcc0b70874e43b4cda8c306ed18a31b7a3f990a
    BUG: 1131713
    Signed-off-by: Harshavardhana <harsha>
    Reviewed-on: http://review.gluster.org/8520
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Emmanuel Dreyfus <manu>
    Tested-by: Emmanuel Dreyfus <manu>

Comment 46 Niels de Vos 2015-05-14 17:27:13 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.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 47 Niels de Vos 2015-05-14 17:35:33 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.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 48 Niels de Vos 2015-05-14 17:37:55 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.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 49 Niels de Vos 2015-05-14 17:43:18 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.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[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.