All of lore.kernel.org
 help / color / mirror / Atom feed
From: Suresh Jayaraman <sjayaraman-IBi9RG/b67k@public.gmane.org>
To: Steve French <smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
	linux-cifs <linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Pavel Shilovsky
	<piastryyy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Shirish Pargaonkar
	<shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	luk-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org
Subject: Re: Regression tests for CIFS client
Date: Thu, 09 Aug 2012 20:15:07 +0530	[thread overview]
Message-ID: <5023CCF3.8070905@suse.com> (raw)
In-Reply-To: <CAH2r5mt_ss8YGYLRjQ5dKiRntWCribtScFOtz3hTno6TJQXQqA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On 08/08/2012 07:20 PM, Steve French wrote:
> On Wed, Aug 8, 2012 at 7:41 AM, Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
>> On Wed, 08 Aug 2012 17:31:09 +0530
>> Suresh Jayaraman <sjayaraman-IBi9RG/b67k@public.gmane.org> wrote:

>>>
>>> The primary intent of the tests is to provide some basic infrastructure
>>> upon which tests can be added easily in the future and these tests are
>>> by no means comprehensive. I have tried to avoid duplicating tests
>>> already done by Connectathon and other tests but there could still be a
>>> few duplicates in there. The tests are only lightly tested.
>>>
>>> Currently cifstests is hosted here:
>>>
>>>    https://github.com/sureshjayaram/cifstests
>>>
>>
>> Sounds like a very worthwhile endeavor. The key to any testing
>> infrastructure is to make it very easy to run the tests. Any hassle in
>> setting it up is a reason not to do so, so you want to make sure there
>> are no such barriers.
>>
>> You also want to make sure that you have the ability to drill down into
>> a single test failure without needing to run a bunch of goop around it.
>> The cthon suite is good for this since most of the tests are written in
>> C. That makes it easy to strace them to track down problems. I assume
>> we'll be able to write tests in C and just have the python framework
>> call them?
> 
> I like the idea of something expandable that we can add tests to (e.g.
> for cifs specific mount options, or to add tests to cover recently
> reported bugs).

Yeah, one of the reasons to keep these tests separate and not adding to
xfstests or other is it, it will give us more flexibility to add CIFS
specific tests without doing a lot of testing on other filesystems.

> I have patches to run xfstests over cifs, but I mostly run
> connectathon and dbench and fsx.  Ideally running regression tests
> could be triggered by commits to a staging tree (or branch of
> cifs-2.6.git) on git.samba.org although not certain how easy this

While that would be ideal, I think if we could run such tests atleast
twice during a release cycle (let's say once during -rc1 and once during
final rc), it would still help us to catch regressions.


Thanks
Suresh

  parent reply	other threads:[~2012-08-09 14:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-08 12:01 Regression tests for CIFS client Suresh Jayaraman
     [not found] ` <50225505.3080303-IBi9RG/b67k@public.gmane.org>
2012-08-08 12:41   ` Jeff Layton
     [not found]     ` <20120808084149.26325074-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2012-08-08 13:50       ` Steve French
     [not found]         ` <CAH2r5mt_ss8YGYLRjQ5dKiRntWCribtScFOtz3hTno6TJQXQqA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-09 14:45           ` Suresh Jayaraman [this message]
2012-08-09 14:37       ` Suresh Jayaraman
     [not found]         ` <5023CB44.8000802-IBi9RG/b67k@public.gmane.org>
2012-08-09 15:03           ` Jeff Layton
     [not found]             ` <20120809110351.22847557-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2012-08-10  5:27               ` Suresh Jayaraman
     [not found]                 ` <50249BC7.2000205-IBi9RG/b67k@public.gmane.org>
2012-08-10 10:41                   ` Jeff Layton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5023CCF3.8070905@suse.com \
    --to=sjayaraman-ibi9rg/b67k@public.gmane.org \
    --cc=jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=luk-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org \
    --cc=piastryyy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=shirishpargaonkar-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=smfrench-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.