Commit Graph

63 Commits

Author SHA1 Message Date
Greg Farnum
e8261e52d1 fs: enable ceph-fuse permission checking for all pjd suites
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-10-03 11:13:41 -07:00
John Spray
795094628b suites: update log whitelist for scrub msg
Fixes: http://tracker.ceph.com/issues/16016
Signed-off-by: John Spray <john.spray@redhat.com>
2016-09-29 17:19:58 +01:00
John Spray
ab320c974d suites/fs: pin java test to ubuntu
Workaround for #16640

Signed-off-by: John Spray <john.spray@redhat.com>
2016-09-08 10:29:47 +01:00
John Spray
4411d34ecb Merge pull request #1109 from batrick/fs-fuse_default_permissions
fs: fuse_default_permissions = 0 for kernel build test

Reviewed-by: John Spray <john.spray@redhat.com>
2016-09-06 20:26:59 +01:00
John Spray
bafbeebf08 suites: switch filesystem tests from btrfs to xfs
btrfs threw up occasional failures, and the long term
target will be bluestore instead of btrfs.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-09-02 10:34:59 +01:00
Patrick Donnelly
3ec94d2055
fs: fuse_default_permissions = 0 for kernel build test
Ported from Zheng's #22: 2e283ce6d7

"This can reduce the test time becuase it avoids sending getattr request
whenever the kernel checks inode permission."

This is part of an effort to eliminate unnecessary differences between
multimds and fs suites.

Signed-off-by: Patrick Donnelly <batrick@batbytes.com>
2016-08-07 22:57:15 -04:00
John Spray
41e51eb500 suites: fix asok_dump_tree.yaml
This had an extra ceph and install task.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-07-28 11:36:16 +01:00
Douglas Fuller
c669f1ecd5 cephfs: add test for dump tree admin socket command
Add test_dump_tree to validate the MDS admin socket command
dump tree. Add a parameter for path_to_ino to enable the use of
lstat() instead of stat()

See: http://tracker.ceph.com/issues/11171
See: https://github.com/ceph/ceph/pull/9925
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2016-07-28 11:35:56 +01:00
Patrick Donnelly
dc165e632a
cephfs: test fragment size limit
The fragment configuration uses 10000 for the fragment max size. The reason for
this is that many tests add 1000 files to a single directory which will hit
this limit without fragmentation catching up.

The test_dirfrag_limit test confirms:

o That the directory fragment size cannot exceed mds_bal_fragment_size_max (using a limit of 50 in all configurations).
o That fragmentation (forced) will allow more entries to be created.
o That unlink fails when the stray directory fragment becomes too large and that unlinking may continue once those strays are purged.

Tests: https://github.com/ceph/ceph/pull/9789
Issue: http://tracker.ceph.com/issues/16164

Signed-off-by: Patrick Donnelly <batrick@batbytes.com>
2016-06-29 11:20:26 -04:00
Gregory Farnum
1a12d9cae6 Merge pull request #853 from ceph/wip-cephfs-test-python
suites: invoke libcephfs python tests
2016-03-23 17:06:40 -07:00
John Spray
e2176667a0 tasks/cephfs: move the journaltool smoke test into python land
This is one of those things that had a convoluted .yaml file
because it predated the ability to write explicit procedural
python tests.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-11 10:36:43 +00:00
John Spray
5a78390d82 suites: invoke libcephfs python tests
Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-10 13:20:55 +00:00
Greg Farnum
c4e064fade add test for norstats functionality
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-02-03 02:18:42 -08:00
Greg Farnum
d26f2ed164 suites/fs: fix ceph.restart syntax
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-01-18 17:56:10 -08:00
Yan, Zheng
67c0033716 suites/fs: cephfs_journal_tool: wait for health after restart
Fixes: #14395
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-01-18 16:22:30 +08:00
Sage Weil
98e683a327 fs: fix two frag_enable fragments
Badly formatted yaml

Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-25 16:06:15 -04:00
John Spray
9eb65dd1be tasks/cephfs: move mds_scrub_checks
...into a CephFSTestCase.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-10-02 17:41:18 +01:00
Sage Weil
5eb0e4dd2f suites: sudo ceph
Signed-off-by: Sage Weil <sage@redhat.com>
2015-09-11 12:15:01 -04:00
John Spray
c2031ad777 suites/fs: enable directory fragmentation
Setting this in tests globally as a precursor
to enabling it by default in the shipping code.
Set a low mds bal split size in order to make
us hit the fragmentation code more often in
than we usually would in a single MDS environment.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-07-13 13:25:53 +01:00
Greg Farnum
dd2fa897c6 suites/fs: use a two-node layout for most userspace tests
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-06-08 17:29:40 -07:00
Greg Farnum
8aeacaa59f fs: fix up dd testing again
We need to change into the directory during the same shell session as we actually
run the dd...

Fixes: #10861

Backport: hammer, giant, firefly, dumpling

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-03-20 17:33:10 -07:00
Greg Farnum
977a221f92 extra_packages: stop trying to install libcephfs stuff
These package names all differ across distros, and they're included in
teuthology's install task anyway.

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-02-05 11:21:46 -08:00
Greg Farnum
30e5f3d931 do not try and install libcephfs-java via extra_packages
It's been added to the default install task, because the
package name varies across distros.

Fixes: #10510

Signed-off-by: Greg Farnum <greg@gregs42.com>
2015-01-28 11:18:40 -08:00
John Spray
8ed4f120d6 Merge pull request #316 from ceph/wip-active-asok-10361
mds_scrub_checks: only direct ops at the active MDS

Reviewed-by: John Spray <john.spray@redhat.com>
2015-01-28 13:59:48 +00:00
Greg Farnum
8a5f76d10b fs: move into the ceph-fuse mount before doing a test
Fixes: #10465

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-01-27 15:00:06 -08:00
Greg Farnum
8d2715eb45 mds_scrub_checks: only direct ops at the active MDS
Change the config option from mds_id to mds_rank to reflect the
fact that it's the rank we want to make use of (and will continue
to want when we're doing stuff like force exporting from one rank
to another).

Fixes: #10361

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-01-27 11:17:04 -08:00
John Spray
82159315b6 suites/fs: isolate quota task
Quota script is moved out of fs/misc so that kclient
doesn't try to run it.  Update cfuse suite to find
the new location, and only enable quota for this
one script rather than enabling across
all misc tests.

Fixes: #10579
Signed-off-by: John Spray <john.spray@redhat.com>
2015-01-21 14:39:47 +00:00
Greg Farnum
c3eee83fb0 fs: enable client quota on cfuse_workunit_misc
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2015-01-12 11:23:55 -08:00
Ken Dreyer
8a317125fc drop tiobench tests
The tiobench software has been abandoned upstream for years. Fedora and
Debian are no longer shipping the tiobench package, so we've had to
carry the package ourselves in the Ceph project, and we're trying to
slim down our dependencies where it makes sense to do so.

Nuke the tiobench tests.

http://tracker.ceph.com/issues/10152 Refs: #10152

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2015-01-06 08:59:14 -07:00
Sage Weil
c58af9f26b fs/basic/tasks/cfuse_workunit_misc: timeout at 6h
The multiple_rsync can take a while.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-13 06:58:22 -08:00
Greg Farnum
6c26c073de mds_scrub_checks: Run scrub and flush commands against the MDS.
We mostly do a variety of successful ones, but we also corrupt the store
using the rados tool and make sure we get the expected error codes. Includes
a yaml fragment so the task gets run as part of the fs/basic suite.

Signed-off-by: Greg Farnum <greg@inktank.com>
2014-11-07 13:06:13 -08:00
John Spray
0d37b8e412 suites/fs: add cephfs_journal_tool test
Fixes: #4886

Signed-off-by: John Spray <john.spray@redhat.com>
2014-08-21 23:09:00 +01:00
John Spray
a06df52a3f clusters: Remove mds from default fixed-* configs
Create a separate fixed-3-cephfs cluster config for
use in the filesystem tests.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-07-18 18:18:36 +01:00
Sage Weil
adca646413 workunits/misc -> fs/misc
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-13 17:36:05 -07:00
Sage Weil
88efa65e6c Revert "fs/basic: multimds"
This reverts commit aea501beb7.

Let's put this in a separate subdir for now.  It won't pass on firefly because
the libcephfs changes aren't there.
2014-03-11 21:07:44 -07:00
Sage Weil
aea501beb7 fs/basic: multimds
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-07 08:38:25 -08:00
John Spray
a3e052b65e suites/fs/basic: add mds_creation_retry
This invokes the new mds_creation_failure task from
teuthology, ahead of mounting the FS and running the
trivial_sync workload.  It is a regression test
for #7485.

Fixes: #7485

Signed-off-by: John Spray <john.spray@inktank.com>
2014-02-26 18:10:31 +00:00
John Spray
b2d34313f2 fs: Fix bad "mds set inline_data" syntax
Signed-off-by: John Spray <john.spray@inktank.com>
2014-02-10 17:11:15 +00:00
Sage Weil
021d94caac fs/basic: test with inline data
Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-02 17:16:21 -08:00
Greg Farnum
0e00d8c1d2 turn on mds & client debugging
Signed-off-by: Greg Farnum <greg@inktank.com>
2013-10-15 12:05:28 -07:00
Sage Weil
92cc980be4 make btrfs.yaml a symlink 2013-10-02 13:30:13 -07:00
Sage Weil
30c56cc1cb mark all existing collections with %
This is ignored by old teuthology, but used by newer code to tell us when
to generate a product of all directory items.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-28 11:24:29 -07:00
Sage Weil
84d7651707 test_o_trunc.sh moved 2013-07-05 11:18:30 -07:00
Sage Weil
998a5134a6 fs: add o_trunc test on ceph-fuse
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-03 21:56:00 -07:00
Joe Buck
18e975eb6d ceph-qa-suite: updating Hadoop tests
Changes to the teuthology YAML parsing
necessitates a small tweak to the Hadoop
and libceph-fs YAML files.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
2013-05-20 11:39:25 -07:00
Joe Buck
a095075fe4 ceph-qa: update Hadoop tests overrides
Changes to the install teuthology task have caused the
Hadoop tasks to fail. This patch fixes the test specification
to enable it to run correctly.

Signed-off-by: Joe Buck <jbbuck@gmail.com>
2013-05-10 19:00:13 -07:00
Greg Farnum
495438f7d1 apparently this should never work on our current configs
Signed-off-by: Greg Farnum <greg@inktank.com>
2013-05-06 10:26:22 -07:00
Greg Farnum
5d5e0a6ec1 Revert "turn on debugging for MDS and Client in FS runs"
We want to apply debugging and whitelists, not one or the
other -- whoops!
This reverts commit cb1e8ed954.

Signed-off-by: Greg Farnum <greg@inktank.com>
2013-04-25 09:14:50 -07:00
Sage Weil
bbcba29271 set 'filestore flush min = 0' for all ffsb jobs
Until we fix #4579
2013-04-22 20:59:25 -07:00
Greg Farnum
60e7fb4152 turn on debugging for MDS and Client in FS runs
Signed-off-by: Greg Farnum <greg@inktank.com>
2013-04-18 16:22:08 -07:00