Commit Graph

44 Commits

Author SHA1 Message Date
Yan, Zheng
ad02795ad5 qa/workunits/fs/misc: test for setting empty ACL
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-06-01 17:42:24 +08:00
Gregory Farnum
6bbc6b50bb Merge pull request #7901 from jcsp/wip-pycephfs-fixes
libcephfs: fix python tests and fix getcwd on missing dir

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2016-03-23 17:05:22 -07:00
Gregory Farnum
fcce59e46d Merge pull request #7713 from ukernel/wip-filelock-deadlock
Wip filelock deadlock

Reviewed-by: John Spray <john.spray@redhat.com>
2016-03-15 12:25:56 -07:00
John Spray
aed1872a1c qa: add test_python for cephfs
Borrowed this from rados/test_python.  It's for
invoking the test that lives in src/test/pybind/test_cephfs.py

Signed-off-by: John Spray <john.spray@redhat.com>
2016-03-14 12:32:56 +00:00
Sage Weil
c31e94d3b5 qa/workunits/fs/misc/layout_vxattrs: test layout.pool_namespace
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:18:17 -05:00
Sage Weil
58a00e01f5 qa/workunits/fs/misc/layout_vxattr.sh: detect data pool name
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:16:58 -05:00
Yan, Zheng
7987e545cd qa/workunits/fs/misc: Add workunit for file lock deadlock detection
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-02-22 10:34:59 +08:00
Greg Farnum
12a55d6b1a rstats: enable by default on client; move test workunit to its own dir
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2016-02-18 12:44:22 -08:00
Yan, Zheng
8a6f1f7fba qa/workunits/fs/misc: Add a workunit for tar kernel Documents
the test fails if some files were changed while being archived

Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-01-27 23:45:00 +08:00
Gregory Farnum
ea3fd2e58d Merge pull request #6496 from ceph/wip-fs-snaptests
qa/workunits/snaps: move snap tests into fs sub-directory

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-01-19 11:38:15 -08:00
Yan, Zheng
da52b5e4de Workunits : fs/misc/: check if cache is used in direct IO
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-11-26 22:59:31 +08:00
Yan, Zheng
4580cf5d79 qa/workunits/snaps: move snap tests into fs sub-directory
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-11-09 11:09:22 +08:00
John Spray
278a6ae097 qa: add fs layout case for stripe_size decrease
The case fixed by commit:
 mds: fix setting whole layout in one vxattr

Signed-off-by: John Spray <john.spray@redhat.com>
2015-08-06 14:59:36 +01:00
Yazen Ghannam
d3dbfffefb Workunits : fs/misc/chmod.sh : Include ACL characters in permission check.
Signed-off-by: Yazen Ghannam <yazen.ghannam@linaro.org>
2015-07-09 04:36:28 -04:00
Yan, Zheng
905c31e78b qa: use "sudo rmdir" to remove test data of multiple_rsync.sh
Fixes: #12019
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-06-16 15:06:22 +08:00
John Spray
832f33ad5e qa: use "sudo cp" in multiple_rsync.sh
VirtualBox has some files with weird
permissions in its /usr/lib, which was
tripping up this usually-safe operation
when run as an unprivileged user.

Fixes: #11959
Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-11 11:11:44 +01:00
John Spray
0de68ebbe5 qa: fix multiple_rsync.sh to avoid using /usr/ directly
While we're at it, take only /usr/lib instead of all of /usr
to keep the overall file count more modest.

Fixes: #11807
Signed-off-by: John Spray <john.spray@redhat.com>
2015-06-02 18:53:14 +01:00
Yan, Zheng
4ececa3dc4 qa/workunits/fs/misc: fix filelock_interrupt.py
Handle the case that kernel does not support fcntl.F_OFD_SETLK.
Also fix the code that checks if fnctl fails with errno == EINTR.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-03-02 21:08:03 +08:00
John Spray
a0af5de972 qa: move fs quota to its own dir
This is because running fs/misc on a kclient
should not include quota (quota not supported
on kernel client).

Fixes: #10579
Signed-off-by: John Spray <john.spray@redhat.com>
2015-01-21 14:36:58 +00:00
John Spray
b578a53b03 qa: set -e explicitly in quota test
Previously was set in hashbang, which meant
that "./quota.sh" was OK, but "sh ./quota.sh" would
just run through ignoring errors.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-01-13 14:58:57 +00:00
John Spray
61126a2d71 Merge pull request #3199 from ceph/wip-qa-empty-xattr
qa: test zero size xattr

Reviewed-by: John Spray <john.spray@redhat.com>
2014-12-19 17:03:25 +00:00
Yan, Zheng
a806778322 qa: test zero size xattr
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2014-12-18 14:43:54 +08:00
Yunchuan Wen
e8063a1a63 test: modify cephfs quota test case
Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
2014-12-10 15:11:17 +08:00
Yunchuan Wen
00da974431 test: extend quota test case
Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
2014-11-24 16:29:35 +08:00
Sage Weil
59d8c947dd qa/workunits/fs/misc/quota.sh: simple quota test
Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-12 21:10:37 -08:00
Greg Farnum
abc995b6b4 qa/workunits/fs/misc: combine sudo and echo effectively
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-06 17:59:22 -08:00
Greg Farnum
3aa7797741 qa: use sudo even more when rsyncing /usr
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-11-06 17:48:01 -08:00
Greg Farnum
fa07c04231 qa: use sudo when rsyncing /usr so we can read everything
Signed-off-by: Greg Farnum <greg@inktank.com>
2014-10-22 17:11:32 -07:00
Yan, Zheng
ac92c455a9 qa/workunits/fs/misc: Add a workunit for file lock interruption
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2014-10-15 12:46:31 +08:00
Yan, Zheng
fa539b9c3f qa/workunits/fs/misc: fix syntax error
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2014-10-10 09:30:29 +08:00
Yan, Zheng
59c89760c7 qa/workunits/fs/misc: Add a workunit for ACL
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2014-09-18 14:20:59 +08:00
John Spray
82d3fcc7c7 qa: Update data pool ID for vxattrs test
Signed-off-by: John Spray <john.spray@redhat.com>
2014-07-01 18:40:02 +01:00
Greg Farnum
405063b16e workunits: provide some output in the dirfrag.sh test
Signed-off-by: Greg Farnum <greg@inktank.com>
2014-05-14 14:20:19 -07:00
Sage Weil
4f9f7f8789 qa/workunits/fs/misc/layout_vxattrs: ceph.file.layout is not listed
As of 08a3d6bd42.  A similar change was made
in the kernel.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-29 14:23:21 -07:00
Sage Weil
5873b0f03c Merge remote-tracking branch 'gh/wip-da-SCA-firefly-20140304'
Reviewed-by: Sage Weil <sage@inktank.com>
2014-03-14 11:42:30 -07:00
Sage Weil
c5b557ee88 qa/workunits: misc -> fs/misc
Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-13 17:38:08 -07:00
Danny Al-Gaaf
3a786caddc test_o_trunc.c: fix indentation to kernel style (tabs, 8 spaces)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-03-04 15:43:18 +01:00
Danny Al-Gaaf
f83690949f test_o_trunc.c: reduce scope of some variables
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-03-04 15:43:18 +01:00
Danny Al-Gaaf
c2f3f2b59e close file descriptor in error case
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-03-04 15:43:18 +01:00
Sage Weil
90ccd2676a qa/workunits/fs/multiclient_sync_read_eof.py
Simple test to verify clients behave at EOF.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-08-13 21:28:35 -07:00
Sage Weil
15e3c9a4e4 qa/workunits/fs/test_o_trunc.sh: fix path
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-13 13:25:16 -07:00
Sage Weil
672f51be3a qa/workunits/fs/test_o_trunc.sh: fix .sh to match new bin location
To match 83f308962c.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-08 09:56:29 -07:00
Sage Weil
83f308962c qa: move test_o_trunc.sh into fs dir
Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-05 11:17:29 -07:00
Sage Weil
507a4ec87b qa: move fs test binary into workunits dir so teuthology can build it
Teuthology does a make in the workunits dir, so move this in there.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-07-05 11:16:08 -07:00