[Gluster-devel] GlusterFS test on FreeBSD
Justin Clift
jclift at redhat.com
Mon Aug 12 16:51:24 UTC 2013
On 12/08/2013, at 5:40 PM, Kaleb S. KEITHLEY wrote:
> On 08/12/2013 12:19 PM, Mike Ma wrote:
>> Hi Kaleb,
>>
>> I've recently managed to mount and use a gluster volume on FreeBSD, with
>> the latest FreeBSD head.
>> So maybe the next step is to test it with some test suites?
>> Can I ask what benchmarks you normally use?
>> What tests should I pass?
>
> In the source tree there is a test subdir containing both smoke and regression tests. Ideally these would all pass; run them with the perl-Test-Harness package.
>
> Beyond that you can also run a couple iozone tests on a client where the volume is mounted.
There's the start of a write up for how to use the Gluster Test Framework here:
http://www.gluster.org/community/documentation/index.php/Using_the_Gluster_Test_Framework
(note, you're completely encouraged to add a new FreeBSD section to that :>)
I suspect a lot of the tests will "just work" with FreeBSD, as the existing test suite
is written in bash (.sh). There are a few tests that could be Linux only, which might
need some work in the tests to skip over on non-Linux platforms. (not hard to do)
As a side thing, I've been looking into using Autotest with GlusterFS as a potential
different approach. Autotest turns out to be a complete pig to use for multi-node stuff
though, has opaque/unreadable source, and isn't cross platform. So, not suitable. :(
STAF (staf.sourceforge.net) looks like it would be better, but I haven't put time into
real investigation yet.
Hopefully some of this info is useful. :)
+ Justin
--
Open Source and Standards @ Red Hat
twitter.com/realjustinclift
More information about the Gluster-devel
mailing list