[Gluster-users] CentOS 7: Gluster Test Framework testcases failure

Kiran Patil kirantpatil at gmail.com
Wed Sep 24 13:07:30 UTC 2014


Some of the reasons I have found so far are as below,

1. Cleanup operation does not work since killall is not part of CentOS 7

2. I used pkill and still testcases fail at first step  Ex: TEST glusterd

3. Subsequent running of testcases does not proceed and hangs at the first
testcase (tests/basic/bd.t)

Please share ideas to resolve the issue.

Thanks,
Kiran.

On Wed, Sep 24, 2014 at 3:25 PM, Kiran Patil <kirantpatil at gmail.com> wrote:

> Hi,
>
> I am running Gluster Test Framework on ZFS, XFS and most of the testcases
> are failing.
>
> Gluster version : v3.4.5
>
> Operating System: CentOS 7
>
> Please let us know how to fix it ?
>
> What could be the major changes in CentOS 7 which is causing this issue ?
> or
> Is  gluster is the culprit here ?
>
> I have pasted here the output of run-tests.sh of both XFS and ZFS with
> gluster.
>
> Test Failure on ZFS:
> -----------------------------
> [root at fractal-2590f1 glusterfs]# ./run-tests.sh
> [23:03:08] ./tests/basic/bd.t ................................ mkdir:
> cannot create directory '/fractalpool/normal/mnt/glusterfs/0': File exists
> [23:03:08] ./tests/basic/bd.t ................................ 1/26
> not ok 1
> [23:03:08] ./tests/basic/bd.t ................................ Failed
> 25/26 subtests
> [23:03:09] ./tests/basic/mount.t ............................. 1/29
> not ok 1
> not ok 6 Got "Started" instead of "Created"
> volume start: patchy: failed: Volume patchy already started
> [23:03:09] ./tests/basic/mount.t ............................. 7/29 not ok
> 7
> volume set: failed: Commit failed on localhost. Please check the log file
> for more details.
> not ok 9
> mount.nfs: requested NFS version or transport protocol is not supported
> [23:03:09] ./tests/basic/mount.t ............................. 16/29 not
> ok 16
> touch: cannot touch '/fractalpool/normal/mnt/glusterfs/0/newfile':
> Transport endpoint is not connected
> not ok 19
> stat: cannot stat '/fractalpool/normal/mnt/glusterfs/1/newfile': Transport
> endpoint is not connected
> not ok 20
> stat: cannot stat '/fractalpool/normal/mnt/nfs/0/newfile': No such file or
> directory
> not ok 21
> rm: cannot remove '/fractalpool/normal/mnt/nfs/0/newfile': No such file or
> directory
> not ok 23
> [23:03:09] ./tests/basic/mount.t ............................. 28/29 not
> ok 29
> [23:03:09] ./tests/basic/mount.t ............................. Failed
> 10/29 subtests
> [23:03:16] ./tests/basic/posixonly.t ......................... ok       <1
> s
> [23:03:16] ./tests/basic/pump.t .............................. 1/12
> not ok 1
> volume start: patchy: failed: Failed to find brick directory
> /fractalpool/normal/d/backends/patchy1 for volume patchy. Reason : No such
> file or directory
> [23:03:16] ./tests/basic/pump.t .............................. 4/12 not ok
> 4
> ./tests/basic/pump.t: line 13: cd: /fractalpool/normal/mnt/glusterfs/0:
> Transport endpoint is not connected
> [23:03:16] ./tests/basic/pump.t .............................. 6/12 volume
> replace-brick: failed: volume: patchy is not started
> [23:03:16] ./tests/basic/pump.t .............................. 7/12 not ok
> 7
> volume replace-brick: failed: volume: patchy is not started
> volume replace-brick: failed: volume: patchy is not started
> volume replace-brick: failed: volume: patchy is not started
> volume replace-brick: failed: volume: patchy is not started
> volume replace-brick: failed: volume: patchy is not started
> volume replace-brick: failed: volume: patchy is not started
> volume replace-brick: failed: volume: patchy is not started
> volume replace-brick: failed: volume: patchy is not started
> volume replace-brick: failed: volume: patchy is not started
> volume replace-brick: failed: volume: patchy is not started
> volume replace-brick: failed: volume: patchy is not started
> volume replace-brick: failed: volume: patchy is not started
> ^C
>
> Test Failure on XFS:
> ------------------------------
> [root at fractal-2590f1 glusterfs]# ./run-tests.sh
> [23:06:15] ./tests/basic/bd.t ................................ 1/26
> not ok 1
> volume start: patchy: failed: Failed to find brick directory
> /fractalpool/normal/d/backends/patchy1 for volume patchy. Reason : No such
> file or directory
> not ok 6
> [23:06:15] ./tests/basic/bd.t ................................ 7/26 not ok
> 7 Got "Created" instead of "Started"
> touch: cannot touch '/mnt/glusterfs/0/__bd_vg/lv1': Transport endpoint is
> not connected
> not ok 9
> stat: cannot stat '/dev/__bd_vg/lv1': No such file or directory
> not ok 10
> rm: cannot remove '/mnt/glusterfs/0/__bd_vg/lv1': Transport endpoint is
> not connected
> not ok 11
> touch: cannot touch '/mnt/glusterfs/0/__bd_vg/lv1': Transport endpoint is
> not connected
> not ok 13
> truncate: cannot open '/mnt/glusterfs/0/__bd_vg/lv1' for writing:
> Transport endpoint is not connected
> not ok 14
> ln: failed to access '/mnt/glusterfs/0/__bd_vg/lv2': Transport endpoint is
> not connected
> not ok 15
> stat: cannot stat '/dev/__bd_vg/lv2': No such file or directory
> not ok 16
> rm: cannot remove '/mnt/glusterfs/0/__bd_vg/lv1': Transport endpoint is
> not connected
> rm: cannot remove '/mnt/glusterfs/0/__bd_vg/lv2': Transport endpoint is
> not connected
> Volume patchy is not started
> not ok 17
> stat: cannot stat '/dev/__bd_vg/lv1': No such file or directory
> not ok 18
> Volume patchy is not started
> not ok 19
> stat: cannot stat '/dev/__bd_vg/lv2': No such file or directory
> not ok 20
> Volume patchy is not started
> not ok 21
> Volume patchy is not started
> not ok 22
> stat: cannot stat '/dev/__bd_vg/lv2': No such file or directory
> not ok 23
> rm: cannot remove '/mnt/glusterfs/0/__bd_vg/lv2': Transport endpoint is
> not connected
> rm: cannot remove '/mnt/glusterfs/0/__bd_vg/lv1': Transport endpoint is
> not connected
> volume stop: patchy: failed: Volume patchy is not in the started state
> not ok 25
> [23:06:15] ./tests/basic/bd.t ................................ Failed
> 18/26 subtests
> [23:06:18] ./tests/basic/mount.t ............................. 1/29
> not ok 1
> ^C
>
> Thanks,
> Kiran.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140924/7a07f1b7/attachment.html>


More information about the Gluster-users mailing list