* xfstest groups for network file systems
@ 2016-03-03 16:53 Steve French
2016-03-03 21:01 ` Dave Chinner
0 siblings, 1 reply; 2+ messages in thread
From: Steve French @ 2016-03-03 16:53 UTC (permalink / raw)
To: fstests, linux-fsdevel
In experimenting with automating tests better for network file systems
(NFS and CIFS/SMB3), I noticed that xfstest doesn't have test groups
that help distinguish a good subset of tests to run over them. My
goal was to have an easy way to run:
- a quick (under 15 minute) build verification test of SMB3 (and also
similarly for NFSv4.2)
- a full regression test of SMB3 (and also NFSv4.2) that runs all valid tests
The existing test group "quick" has some tests that are quick only for
a local filesystem and can be quite slow when run over a network.
And there are few file system specific test groups (there is one for
udf).
I have a patch that adds a "cifs-quick" test group (can be changed to
"smb3-quick" if anyone prefers that name since our goal is to test the
more important, newer dialects) and a "cifs" (or "cifs-slow" or
"cifs-full"). Similarly I have one for "nfs-quick"
But before I submit there are two obvious questions:
1) Should these test groups (in particular "cifs-quick" and
"nfs-quick") include any tests that we know will fail today? (e.g.
permissions errors that require adding a new feature to the smb3
implementation in the kernel file system, or silly rename problems
that are difficult to work around and have not been addressed in the
kernel clients)
2) Should we create additional test groups by dialect or target server
(e.g. smb3-quick vs. cifs-quick vs. cifs-samba-quick vs. nfsv3-quick
vs. nfsv4.2-quick)? For example, some testcases will work over CIFS
protocol but not over SMB3? or are valid (or will fail on only one
dialect or for one serrver type e.g. for NFSv4.2 but not for NFSv3).
For example there is one test that fails to Samba server (due to a
negative time error) but works to Windows server targets, and there
are tests which require fallocate so will fail to servers or server fs
that don't implement punch hole, zero range etc.
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: xfstest groups for network file systems
2016-03-03 16:53 xfstest groups for network file systems Steve French
@ 2016-03-03 21:01 ` Dave Chinner
0 siblings, 0 replies; 2+ messages in thread
From: Dave Chinner @ 2016-03-03 21:01 UTC (permalink / raw)
To: Steve French; +Cc: fstests, linux-fsdevel
On Thu, Mar 03, 2016 at 10:53:41AM -0600, Steve French wrote:
> In experimenting with automating tests better for network file systems
> (NFS and CIFS/SMB3), I noticed that xfstest doesn't have test groups
> that help distinguish a good subset of tests to run over them. My
> goal was to have an easy way to run:
>
> - a quick (under 15 minute) build verification test of SMB3 (and also
> similarly for NFSv4.2)
> - a full regression test of SMB3 (and also NFSv4.2) that runs all valid tests
>
> The existing test group "quick" has some tests that are quick only for
> a local filesystem and can be quite slow when run over a network.
> And there are few file system specific test groups (there is one for
> udf).
>
> I have a patch that adds a "cifs-quick" test group (can be changed to
> "smb3-quick" if anyone prefers that name since our goal is to test the
> more important, newer dialects) and a "cifs" (or "cifs-slow" or
> "cifs-full"). Similarly I have one for "nfs-quick"
>
> But before I submit there are two obvious questions:
> 1) Should these test groups (in particular "cifs-quick" and
> "nfs-quick") include any tests that we know will fail today? (e.g.
Don't care.
> 2) Should we create additional test groups by dialect or target server
> (e.g. smb3-quick vs. cifs-quick vs. cifs-samba-quick vs. nfsv3-quick
> vs. nfsv4.2-quick)?
Again, don't care.
Test groups are simply arbitrary collections of existing tests. If
you want to maintain a set of tests for this purpose, then simply
send patches to annotate all the existing group files.
However, it will be up to you in future to add relevant new tests to
those groups, as you cannot expect other developers to know what is
a fast/slow test for nfs/cifs when they add new tests.
> and there
> are tests which require fallocate so will fail to servers or server fs
> that don't implement punch hole, zero range etc.
They should fail the _require* rules for the given feature and so
tests that use those features should not run on filesystem/server
combinations that don't support those features.
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-03 21:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-03 16:53 xfstest groups for network file systems Steve French
2016-03-03 21:01 ` Dave Chinner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).