<div dir="ltr"><div><span style="font-family:arial,helvetica,sans-serif">Hi,<br><br></span></div><span style="font-family:arial,helvetica,sans-serif">I followed the below steps to run tests.<br><br>The link <a href="http://gluster.org/community/documentation/index.php/Using_the_Gluster_Test_Framework">http://gluster.org/community/documentation/index.php/Using_the_Gluster_Test_Framework</a> does not have info for CentOS 7 and I tried to follow the same steps with epel pointing to release 7<br><br>Here are the steps for CentOS 7:<br><br>1. Install EPEL: <br></span><pre><span style="font-family:arial,helvetica,sans-serif"><font>$ sudo yum install -y <a href="http://epel.mirror.net.in/epel/7/x86_64/e/epel-release-7-1.noarch.rpm">http://epel.mirror.net.in/epel/7/x86_64/e/epel-release-7-1.noarch.rpm</a></font><br><br><font>2. Install the CentOS 7.x dependencies:<br><br></font><font>$ sudo yum install -y --enablerepo=epel cmockery2-devel dbench git libacl-devel mock nfs-utils perl-Test-Harness yajl xfsprogs
<br>$ sudo yum install -y --enablerepo=epel python-webob1.0 python-paste-deploy1.5 python-sphinx10 redhat-rpm-config
<br>==&gt; The missing packages are<br>    No package python-webob1.0 available.<br>    No package python-paste-deploy1.5 available.<br>    No package python-sphinx10 available.<br><br>$ sudo yum install -y --enablerepo=epel autoconf automake bison dos2unix flex fuse-devel libaio-devel libibverbs-devel \
     librdmacm-devel libtool libxml2-devel lvm2-devel make openssl-devel pkgconfig \
     python-devel python-eventlet python-netifaces python-paste-deploy \
     python-simplejson python-sphinx python-webob pyxattr readline-devel rpm-build \
     systemtap-sdt-devel tar
</font> <br></span></pre><p><span style="font-family:arial,helvetica,sans-serif">3. Create the mock user <br></span></p><p><span style="font-family:arial,helvetica,sans-serif">$ sudo useradd -g mock mock</span></p><p></p><p>4. Running the testcases results in error as below</p><p>[root@fractal-c5ac glusterfs]# ./run-tests.sh <br><br>... GlusterFS Test Framework ...<br><br>Running all the regression test cases<br>[09:55:02] ./tests/basic/afr/gfid-mismatch.t .................... Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/afr/gfid-self-heal.t ................... Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/afr/metadata-self-heal.t ............... Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/afr/read-subvol-data.t ................. Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/afr/read-subvol-entry.t ................ Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/afr/resolve.t .......................... Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/afr/self-heal.t ........................ Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/afr/sparse-file-self-heal.t ............ Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/afr/stale-file-lookup.t ................ Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/bd.t ................................... Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/cdc.t .................................. Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/ec/ec-12-4.t ........................... Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/ec/ec-3-1.t ............................ Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/ec/ec-4-1.t ............................ Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/ec/ec-5-1.t ............................ Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/ec/ec-5-2.t ............................ Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/ec/ec-6-2.t ............................ Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/ec/ec-7-3.t ............................ Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/ec/ec.t ................................ Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/ec/nfs.t ............................... Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/ec/self-heal.t ......................... Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/file-snapshot.t ........................ Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:02] ./tests/basic/fops-sanity.t .......................... Dubious, test returned 1 (wstat 256, 0x100)<br>No subtests run <br>[09:55:03] ./tests/basic/gfid-access.t .......................... Dubious, test returned 1 (wstat 256, 0x100)<br><br><span style="font-family:arial,helvetica,sans-serif"></span></p><p><span style="font-family:arial,helvetica,sans-serif">Both glusterd and glusterfsd are running fine</span></p><p><span style="font-family:arial,helvetica,sans-serif">[root@fractal-c5ac glusterfs]# systemctl status glusterd.service<br>glusterd.service - GlusterFS an clustered file-system server<br>   Loaded: loaded (/usr/lib/systemd/system/glusterd.service; enabled)<br>   Active: active (running) since Tue 2014-09-23 14:45:42 IST; 45min ago<br>  Process: 12246 ExecStart=/usr/sbin/glusterd -p /run/glusterd.pid (code=exited, status=0/SUCCESS)<br> Main PID: 12247 (glusterd)<br>   CGroup: /system.slice/glusterd.service<br>           └─12247 /usr/sbin/glusterd -p /run/glusterd.pid<br><br>Sep 23 14:45:40 fractal-c5ac.fractal.lan systemd[1]: Starting GlusterFS an clustered file-system server...<br>Sep 23 14:45:42 fractal-c5ac.fractal.lan systemd[1]: Started GlusterFS an clustered file-system server.<br></span></p><p><span style="font-family:arial,helvetica,sans-serif">[root@fractal-c5ac glusterfs]# systemctl status glusterfsd.service<br>glusterfsd.service - GlusterFS brick processes (stopping only)<br>   Loaded: loaded (/usr/lib/systemd/system/glusterfsd.service; enabled)<br>   Active: active (exited) since Tue 2014-09-23 13:06:49 IST; 2h 25min ago<br>  Process: 1360 ExecStart=/bin/true (code=exited, status=0/SUCCESS)<br> Main PID: 1360 (code=exited, status=0/SUCCESS)<br>   CGroup: /system.slice/glusterfsd.service<br><br>Sep 23 13:06:49 fractal-c5ac.fractal.lan systemd[1]: Starting GlusterFS brick processes (stopping only)...<br>Sep 23 13:06:49 fractal-c5ac.fractal.lan systemd[1]: Started GlusterFS brick processes (stopping only).<br></span></p><p><span style="font-family:arial,helvetica,sans-serif">Thanks,</span></p><p><span style="font-family:arial,helvetica,sans-serif">Kiran.<br></span></p></div>