Commit Graph

150 Commits

Author SHA1 Message Date
Greg Farnum
b826749255 workunits: make file_layout test setting only one parameter
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-25 12:51:06 -07:00
Sage Weil
ddc567429d mon: allow wildcards for mon cap command matching
We need wildcards, actually.  * is any token, ... is 1 or more tokens.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-08-23 15:24:44 -07:00
Sage Weil
9c498e0f1e qa: add unit tests for mon cap 'allow command ...' stanzas
Signed-off-by: Sage Weil <sage@newdream.net>
2011-08-23 14:03:47 -07:00
Sage Weil
d5a9301f2c qa: define _GNU_SOURCE for qa helpers; add btrfs dir makefile
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-08-22 21:18:00 -07:00
Sage Weil
39b6a9c495 qa: add rbd copy workunit
Test copying an image and snapshot.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-08-22 16:53:55 -07:00
Colin Patrick McCabe
3ce41446a6 Define _GNU_SOURCE in src/Makefile.am
We end up needing _GNU_SOURCE in a bunch of places-- to get direct i/o,
pipe2, and some other Linux-specific interfaces.

Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-22 15:35:13 -07:00
Greg Farnum
9f5d16384a file_layout.sh: add test for setting a new data pool
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-08-18 17:36:22 -07:00
Colin Patrick McCabe
8c822a80e5 Merge branch 'wip-librados-tests'
Conflicts:
	src/include/rados/librados.hpp
	src/librados.cc
	src/rgw/rgw_rados.cc
	src/testradospp.cc
2011-08-18 17:00:38 -07:00
Colin Patrick McCabe
184c2f5d98 qa/workunits/rados/test.sh:explicitly invoke tests
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-17 12:41:15 -07:00
Colin Patrick McCabe
930bd329e7 Add qa/workunits/rados/test.sh
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-08-17 12:35:39 -07:00
Sage Weil
46645936c5 Merge commit 'v0.33' 2011-08-17 10:47:02 -07:00
Sage Weil
ce00564049 qa: test rename into snapped dir
Tests fix for #1399.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-08-17 09:07:08 -07:00
Sage Weil
47ab2bab4f qa/fsstress: be verbose
Signed-off-by: Sage Weil <sage@newdream.net>
2011-08-10 14:01:06 -07:00
Sage Weil
1c1d92ec83 qa: move fsx.sh 2011-08-03 18:04:33 -07:00
Sage Weil
ab537f1e04 Revert "qa: Remove fsx workunit."
This reverts commit a66da4af25.  Still useful
to have this around.
2011-08-03 18:04:33 -07:00
Greg Farnum
3eb1ba8652 qa: make dir tests run by default in rename all.sh
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-07-08 11:09:32 -07:00
Greg Farnum
03b6c40b17 qa: mds rename: account for not being in the ceph root dir
We need to know the Ceph absolute path. We can't actually
derive that for sure (if we aren't mounted into the root), but this
at least lets us deal with being in our own subdirectories.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-07-06 15:02:42 -07:00
Greg Farnum
b5e4a31930 move mds rename tests to workunits directory
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-07-06 14:20:35 -07:00
Greg Farnum
e483bb6b80 qa: mds rename: Rework so it will function in teuthology as a workunit:
work in current directory, not hardcoded mnt path
use CEPH_TOOL variable rather than hardcoded local executable
pass CEPH_ARGS to scripts so you don't need to export it into the environment.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-07-06 14:20:35 -07:00
Sage Weil
902f699c38 qa: add clone_range tool
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-29 12:58:49 -07:00
Sage Weil
7d7544192f qa: file_layout.sh is kclient only
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-29 10:49:01 -07:00
Sage Weil
1247a22453 qa: fix file_layout.sh mode
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-29 09:48:26 -07:00
Sage Weil
b5510a6641 qa: move file_layout into workunits/misc
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-29 09:51:36 -07:00
Sage Weil
f7fb547549 qa: make kernel_untar_build.sh output more helpful
- rm -rv
- list remaining files on failure

to help debug #1230

Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-28 16:07:39 -07:00
Greg Farnum
033f2d6327 qa: add file_layout.sh workunit
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-06-28 10:36:26 -07:00
Greg Farnum
92b0e8e8e4 qa: initial commit of file_layout.sh
This tests the file layout functionality. Right now you need to
check the comparisons yourself. Expect that to change shortly.

Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-06-27 12:07:45 -07:00
Sage Weil
81900994f8 qa: wget -q for kenrel_untar_build.sh
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-23 15:57:35 -07:00
Sage Weil
6725e748e9 qa: simple rbd import/export test
Fixes: #1211
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-21 20:31:00 -07:00
Sage Weil
abafef3bcd qa: clean up after snaptest-multiple-capsnaps.sh
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-21 15:52:46 -07:00
Sage Weil
04d10d1028 qa: tiobench workunit: remove timeout
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-20 11:47:24 -07:00
Sage Weil
6fb971ffdb qa: organize workunits
Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-17 15:01:56 -07:00
Sage Weil
9e4adf0de9 qa: make snap-rm-diff workunit clean up
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-17 09:22:24 -07:00
Sage Weil
e9f308df87 qa: wget -q
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-17 09:22:17 -07:00
Sage Weil
3aa6a4d658 qa: pjd must run as root 2011-06-16 14:07:26 -07:00
Tommi Virtanen
af9879deca qa: Make snaptest-git-ceph.sh clean up after itself.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-06-15 11:27:54 -07:00
Sage Weil
954e09661f qa: do not use automake for workunit makefiles
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-14 12:53:33 -07:00
Sage Weil
40f5ab9659 qa/workunits/direct_io: fit .gitignore
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-14 12:35:35 -07:00
Sage Weil
66229c7a54 qa: direct_io: fix warnings
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 22:11:51 -07:00
Sage Weil
8ce98b22de qa: test_sync_io: zero buffers prior to read
Be extra paranoid to ensure we read back the correct data and didn't
just find it in undefined memory.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-13 16:23:28 -07:00
Sage Weil
d89c9a1303 qa: test_sync_io improvements
Exit (without removing foo) on error.

Allow read- or write-only operation.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-13 16:18:23 -07:00
Sage Weil
1e96f71fba qa: fix test_shorT_dio_read
No args, hardcode filename.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-13 14:17:16 -07:00
Sage Weil
9d1e897107 qa: fix loopall, runallonce scripts
Run anything executable.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-13 13:31:35 -07:00
Sage Weil
d5bba79ebb qa: move compiled workunits into organized directory
No need for a separate qa/src/ dir; just put them where we want them.  We
need to ignore non-executable files when doing the bulk runs anyway.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-06-13 13:29:30 -07:00
Sage Weil
d851deeac1 qa: add short directio read test
This tests for the bug fixed by linux commit:c3cd628.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 13:22:06 -07:00
Sage Weil
8a12a01cf7 qa: add henry's direct io tests
Not sure what the second one is testing, actually, but including it anyway.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 13:22:06 -07:00
Sage Weil
7087b2da91 qa: include $basedir/src/ (qa/src/) in path
This lets the workunits find stuff build in qa/src/, in case you are
running using these (old) scripts.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 13:22:06 -07:00
Sage Weil
8147076d98 qa: add direct and sync io workunits
Just run the test programs in ../src

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 13:22:06 -07:00
Sage Weil
adc98c0e0e qa: expand test_sync_io
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 13:22:06 -07:00
Sage Weil
f2aef3e1da qa: organize workunits a bit
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-13 13:22:06 -07:00
Sage Weil
953bb605e6 qa: move compiled items into qa/src/ 2011-06-13 13:22:06 -07:00