[Gluster-devel] Unable to run Gluster Test Framework on CentOS 7

Kiran Patil kirantpatil at gmail.com
Tue Sep 23 07:39:28 UTC 2014


Hi,

I followed the below steps to run tests.

The link
http://gluster.org/community/documentation/index.php/Using_the_Gluster_Test_Framework
does not have info for CentOS 7 and I tried to follow the same steps with
epel pointing to release 7

Here are the steps for CentOS 7:

1. Install EPEL:

$ sudo yum install -y
http://epel.mirror.net.in/epel/7/x86_64/e/epel-release-7-1.noarch.rpm

2. Install the CentOS 7.x dependencies:

$ sudo yum install -y --enablerepo=epel cmockery2-devel dbench git
libacl-devel mock nfs-utils perl-Test-Harness yajl xfsprogs
$ sudo yum install -y --enablerepo=epel python-webob1.0
python-paste-deploy1.5 python-sphinx10 redhat-rpm-config
==> The missing packages are
    No package python-webob1.0 available.
    No package python-paste-deploy1.5 available.
    No package python-sphinx10 available.

$ 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

3. Create the mock user

$ sudo useradd -g mock mock

4. Running the testcases results in error as below

[root at fractal-c5ac glusterfs]# ./run-tests.sh

... GlusterFS Test Framework ...

Running all the regression test cases
[09:55:02] ./tests/basic/afr/gfid-mismatch.t .................... Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/afr/gfid-self-heal.t ................... Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/afr/metadata-self-heal.t ............... Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/afr/read-subvol-data.t ................. Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/afr/read-subvol-entry.t ................ Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/afr/resolve.t .......................... Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/afr/self-heal.t ........................ Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/afr/sparse-file-self-heal.t ............ Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/afr/stale-file-lookup.t ................ Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/bd.t ................................... Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/cdc.t .................................. Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/ec/ec-12-4.t ........................... Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/ec/ec-3-1.t ............................ Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/ec/ec-4-1.t ............................ Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/ec/ec-5-1.t ............................ Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/ec/ec-5-2.t ............................ Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/ec/ec-6-2.t ............................ Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/ec/ec-7-3.t ............................ Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/ec/ec.t ................................ Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/ec/nfs.t ............................... Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/ec/self-heal.t ......................... Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/file-snapshot.t ........................ Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:02] ./tests/basic/fops-sanity.t .......................... Dubious,
test returned 1 (wstat 256, 0x100)
No subtests run
[09:55:03] ./tests/basic/gfid-access.t .......................... Dubious,
test returned 1 (wstat 256, 0x100)

Both glusterd and glusterfsd are running fine

[root at fractal-c5ac glusterfs]# systemctl status glusterd.service
glusterd.service - GlusterFS an clustered file-system server
   Loaded: loaded (/usr/lib/systemd/system/glusterd.service; enabled)
   Active: active (running) since Tue 2014-09-23 14:45:42 IST; 45min ago
  Process: 12246 ExecStart=/usr/sbin/glusterd -p /run/glusterd.pid
(code=exited, status=0/SUCCESS)
 Main PID: 12247 (glusterd)
   CGroup: /system.slice/glusterd.service
           └─12247 /usr/sbin/glusterd -p /run/glusterd.pid

Sep 23 14:45:40 fractal-c5ac.fractal.lan systemd[1]: Starting GlusterFS an
clustered file-system server...
Sep 23 14:45:42 fractal-c5ac.fractal.lan systemd[1]: Started GlusterFS an
clustered file-system server.

[root at fractal-c5ac glusterfs]# systemctl status glusterfsd.service
glusterfsd.service - GlusterFS brick processes (stopping only)
   Loaded: loaded (/usr/lib/systemd/system/glusterfsd.service; enabled)
   Active: active (exited) since Tue 2014-09-23 13:06:49 IST; 2h 25min ago
  Process: 1360 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
 Main PID: 1360 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/glusterfsd.service

Sep 23 13:06:49 fractal-c5ac.fractal.lan systemd[1]: Starting GlusterFS
brick processes (stopping only)...
Sep 23 13:06:49 fractal-c5ac.fractal.lan systemd[1]: Started GlusterFS
brick processes (stopping only).

Thanks,

Kiran.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20140923/6031ece6/attachment.html>


More information about the Gluster-devel mailing list