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

Kiran Patil kirantpatil at gmail.com
Fri Sep 26 06:16:49 UTC 2014


I forgot to mention other issues I faced and temporary fixes

1) Most of the testcases were failing due to /var/run/gluster directory not
found.

grep: /var/run/gluster/: No such file or directory
ls: cannot access /var/run/gluster: No such file or directory

I created the directory "mkdir /var/run/gluster" and rerun the tests and
testcases passed where they were failing earlier.

Justin, Is CentOS 7 considered for regression testing or not ?

How about Fedora 19/20, which one do you recommend ?

2) ./tests/bugs/../include.rc: line 123: setfattr: command not found

Setfattr command is part of attr package, # yum install attr

Thanks,
Kiran.



On Thu, Sep 25, 2014 at 7:01 PM, Kiran Patil <kirantpatil at gmail.com> wrote:

> The below testcases failing are related to xfs, cluster and others..
>
> The hardcoded ones I have fixed temporarily by providing the absolute
> pathname.
>
> Testcase /tests/bugs/bug-767095.t is fixed by changing awk parameter $5 to
> $4.
>
> Testcase tests/bugs/bug-861542.t is failing at EXPECT "N/A" port_field $V0
> '0'; # volume status
> If I change its value to to '1' it passes, is that correct ?
>
> I will keep posting the new findings and possible fixes.
>
> Test Summary Report
> --------------------------------
> ./tests/bugs/bug-802417.t                       (Wstat: 0 Tests: 39
> Failed: 2)
>   Failed tests:  28, 31
> ./tests/bugs/bug-821056.t                       (Wstat: 0 Tests: 21
> Failed: 1)
>   Failed test:  15
> ./tests/bugs/bug-861542.t                       (Wstat: 0 Tests: 13
> Failed: 1)
>   Failed test:  10
> ./tests/bugs/bug-908146.t                       (Wstat: 0 Tests: 10
> Failed: 2)
>   Failed tests:  8-9
> ./tests/bugs/bug-913555.t                       (Wstat: 0 Tests: 11
> Failed: 4)
>   Failed tests:  4-6, 9
> ./tests/bugs/bug-948686.t                       (Wstat: 0 Tests: 19
> Failed: 8)
>   Failed tests:  5-7, 9, 11, 13-15
> ./tests/bugs/bug-948729/bug-948729-force.t      (Wstat: 0 Tests: 35
> Failed: 14)
>   Failed tests:  15, 17, 19, 21, 24-27, 29-31, 33-35
> ./tests/bugs/bug-948729/bug-948729-mode-script.t (Wstat: 0 Tests: 35
> Failed: 14)
>   Failed tests:  15, 17, 19, 21, 24-27, 29-31, 33-35
> ./tests/bugs/bug-948729/bug-948729.t            (Wstat: 0 Tests: 23
> Failed: 4)
>   Failed tests:  12, 15, 19, 23
> Files=124, Tests=2031, 4470 wallclock secs ( 1.57 usr  0.24 sys + 259.31
> cusr 220.81 csys = 481.93 CPU)
> Result: FAIL
>
> Thanks,
> Kiran.
>
> On Thu, Sep 25, 2014 at 2:17 PM, Niels de Vos <ndevos at redhat.com> wrote:
>
>> On Thu, Sep 25, 2014 at 12:49:21PM +0530, Kiran Patil wrote:
>> > I installed the 'psmisc' package and it installed killall command and
>> > reverted pkill to killall in include.rc file.
>> >
>> > Testcases started executing properly and will send tests failure report
>> > soon.
>>
>> Thanks, I've added 'psmisc' to the list of packages in the wiki:
>> -
>> http://www.gluster.org/community/documentation/index.php/Using_the_Gluster_Test_Framework#Preparation_steps_for_CentOS_7_.28only.29
>>
>> Niels
>>
>> >
>> > Thanks,
>> > Kiran.
>> >
>> > On Thu, Sep 25, 2014 at 12:32 PM, Niels de Vos <ndevos at redhat.com>
>> wrote:
>> >
>> > > On Thu, Sep 25, 2014 at 10:45:49AM +0530, Kiran Patil wrote:
>> > > > pkill expects only one pattern, so I did as below in
>> tests/include.rc
>> > > file
>> > > > and test cases started working fine.
>> > > >
>> > > >     pkill  glusterfs 2>/dev/null || true;
>> > > >     pkill  glusterfsd 2>/dev/null || true;
>> > > >     pkill  glusterd 2>/dev/null || true;
>> > >
>> > > Sorry, I'm a little late to the party, but the 'killall' command
>> should
>> > > be available for CentOS-7 too. It seems to be part of the 'psmisc'
>> > > package. I guess we should add this as a dependency on the wiki page.
>> > >
>> > > Could you check if that works for you too? If not, and you are
>> > > interested, I'll help you posting a patch to make the pkill change.
>> > >
>> > > Thanks,
>> > > Niels
>> > >
>> > >
>> > > >
>> > > > On Wed, Sep 24, 2014 at 6:48 PM, Justin Clift <justin at gluster.org>
>> > > wrote:
>> > > >
>> > > > > On 24/09/2014, at 2:07 PM, Kiran Patil wrote:
>> > > > > > 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)
>> > > > >
>> > > > > This sounds like there could be a few challenges then.  I'm
>> setting up
>> > > > > a new Fedora 20 (or 21 alpha) VM in Rackspace for running btrfs
>> > > regression
>> > > > > tests on.
>> > > > >
>> > > > > Guessing that will experience these same problems as your CentOS 7
>> > > > > test run, so I'm definitely interested in this too.
>> > > > >
>> > > > > + Justin
>> > > > >
>> > > > > --
>> > > > > GlusterFS - http://www.gluster.org
>> > > > >
>> > > > > An open source, distributed file system scaling to several
>> > > > > petabytes, and handling thousands of clients.
>> > > > >
>> > > > > My personal twitter: twitter.com/realjustinclift
>> > > > >
>> > > > >
>> > >
>> > > > _______________________________________________
>> > > > Gluster-users mailing list
>> > > > Gluster-users at gluster.org
>> > > > http://supercolony.gluster.org/mailman/listinfo/gluster-users
>> > >
>> > >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20140926/f314d425/attachment-0001.html>


More information about the Gluster-devel mailing list