Josh Durgin
b6c43d2aff
rbd: add a command to delete all snapshots of an image
...
This makes deleting images with many snapshots easier.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2012-01-05 10:19:17 -08:00
Greg Farnum
4ea8ad438f
qa: add a slightly more stressful anchortable test
...
This creates more than 8 links.
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2012-01-04 17:11:36 -08:00
Greg Farnum
c8a13f2b7d
qa: fix mdstable script for proper injectargs use.
...
This script is fairly primitive, but somebody might find it useful...
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2012-01-04 17:11:36 -08:00
Sage Weil
8658f0d55b
qa: load-gen-mix-small-long
...
30 minutes
Signed-off-by: Sage Weil <sage@newdream.net>
2012-01-04 14:21:46 -08:00
Josh Durgin
6687ccf5dc
workunits: update rbd test for new error format
...
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-12-30 10:32:05 -08:00
Sage Weil
37013b6fe5
qa: load-gen-mix-small.sh
2011-12-29 09:59:26 -08:00
Sage Weil
5804477b20
qa: trivial_libceph test
...
This currently fails... see #1827
Signed-off-by: Sage Weil <sage@newdream.net>
2011-12-13 16:31:02 -08:00
Sage Weil
6ff95e9d23
qa: rados load-gen workunits
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-12-13 08:19:37 -08:00
Josh Durgin
cf279a8b72
workunits: print tests pjd runs
...
This will tell us which ones actually failed within a test suite.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-12-09 16:31:42 -08:00
Josh Durgin
8afa5a5d9e
workunits: fix secret file and temp file removal for kernel rbd
...
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-12-06 14:20:31 -08:00
Josh Durgin
bcd26fca71
workunits: make rbd kernel workunit executable
...
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-12-06 13:36:51 -08:00
Josh Durgin
66b6b1bff8
workunits: add some tests for kernel rbd
...
This covers some snapshot and resize functions that aren't tested by fs benchmarks.
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-12-06 10:31:17 -08:00
Josh Durgin
f418775d2c
workunits: rados python workunit should be executable
...
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-11-14 08:18:47 -08:00
Josh Durgin
5407fa70f8
workunits: add workunit for running rgw and rados python tests
...
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-11-10 17:03:12 -08:00
Greg Farnum
d4faf5889d
qa: workunit to run test_libcephfs_readder
...
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-11-03 13:55:53 -07:00
Josh Durgin
e161ce1593
workunits: test rbd python bindings
...
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-10-24 15:32:47 -07:00
Josh Durgin
bfb5ceb2bd
workunits: add rbd rollback and snapshot removal tests
...
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-10-24 15:32:47 -07:00
Josh Durgin
f4aa69a872
workunit: check that rbd info returns the right size for snapshots
...
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-10-24 15:32:47 -07:00
Josh Durgin
b968ff3a0e
workunit: clean up temporary files
...
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-10-03 12:20:25 -07:00
Sage Weil
2269dc255a
test_async_snap: loop a finite number of times.
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-29 11:50:01 -07:00
Sage Weil
697e664cc5
qa: btrfs: test_async_snap
...
Hammer on the btrfs async sync/snap create/remove ioctls.
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-29 11:48:00 -07:00
Sage Weil
3e9a936062
doc: more c* -> ceph-* renames
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-22 16:18:37 -07:00
Sage Weil
6f8f140350
c* -> ceph-*
...
Hopefully I didn't miss too much...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-22 15:08:25 -07:00
Sage Weil
6228389df8
qa: add test_librbd workunit
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-12 14:01:46 -07:00
Josh Durgin
b37b61eb76
workunit: use sudo when first reading /sys... too
...
Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
2011-09-09 14:48:20 -07:00
Greg Farnum
efaf91b665
workunit: and delete root-owned file
...
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-09-09 13:41:14 -07:00
Greg Farnum
d021b22339
workunit: you need sudo to look at /sys/kernel/debug
...
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-09-09 13:32:21 -07:00
Greg Farnum
34822ad435
workunits: make file_layout.sh more robust
...
We don't have a great way to guarantee mdsmap updates, but they
should happen on their own and we can loop. Closes #1518 .
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-09-08 13:27:25 -07:00
Sage Weil
2641eb395d
qa: test false
2011-09-02 10:51:55 -07:00
Sage Weil
9ff3505751
qa: add multiple_rsync.sh workunit
...
For #1318
Signed-off-by: Sage Weil <sage@newdream.net>
2011-08-31 17:41:12 -07:00
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
Sage Weil
a1a71471c2
qa: test witness subtree adjustment
...
This exercises the mds at least; we don't have a way to verify mds
behavior currently.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-08 11:22:26 -07:00
Sage Weil
21795aaf5d
qa: add dir rename tests
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-07 20:49:45 -07:00
Sage Weil
2969161b9e
qa: add rename dir checks
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-07 13:34:57 -07:00
Sage Weil
2cb0c110b5
qa: rename tests
...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-06-07 13:27:31 -07:00
Tommi Virtanen
c9825f0874
automake: Make debug targets known but not built by default in non-debug builds.
...
With this, "./configure --without-debug && make -C src testceph" will work.
Before this, it would use make builtin rules, and fail to compile in a
confusing manner.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-04-27 12:16:52 -07:00
Tommi Virtanen
a66da4af25
qa: Remove fsx workunit.
...
Covered better by autotest, these days.
2011-04-07 14:07:24 -07:00
Colin Patrick McCabe
a3475610eb
direct_io_test: use mkstmp instead of mkostemps
...
mkostemps isn't present in older glibc versions, like the ones in CentOS
5.5. We don't really use any of the extra functionality of mkostemps in
this test.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-03-17 18:02:17 -07:00
Samuel Just
3fccc0a9f2
qa/workunits: added fsstress.sh
...
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
2011-03-02 15:55:48 -08:00
Tommi Virtanen
718c42b9df
Make git ignore qa/workunits/direct_io_test.
2011-02-11 12:58:06 -08:00
Wesley Spikes
12a47f5648
s3.sh: simple bug fix
2011-02-10 15:43:30 -08:00
Sage Weil
be8cdb08b2
qa: test for proper i_complete handling
...
This reproduces some buggery with rename vs I_COMPLETE on the kernel
client.
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-02-07 09:15:21 -08:00
Colin Patrick McCabe
e251f51fb8
direct_io_test: fix signed/unsigned, printf flags
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-02-03 03:54:22 -08:00
Colin Patrick McCabe
942eb0e015
workunits: direct_io_test: fix error message
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-01-21 02:51:59 -08:00
Colin Patrick McCabe
6a20b83a63
workunits: direct_io_test: add cmdline options
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-01-20 11:18:22 -08:00
Colin Patrick McCabe
42709d1bff
workunits: direct_io_test: test more iterations
...
Test seeking around in an O_DIRECT file to see if we read what we
should.
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-01-20 11:07:37 -08:00
Colin Patrick McCabe
f1d7af97f3
workunits: add direct_io_test
...
Signed-off-by: Colin McCabe <colin.mccabe@dreamhost.com>
2011-01-20 10:46:55 -08:00
Colin Patrick McCabe
512cc974fb
qa: Add tiobench test
...
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2011-01-14 04:38:51 -08:00
Sage Weil
62024d0448
qa: add xattr check
...
Signed-off-by: Sage Weil <sage@newdream.net>
2011-01-13 15:47:30 -08:00
Colin Patrick McCabe
13e8507b73
auth: make g_conf.keyring a plain old string
...
Make g_conf.keyring a plain old string rather than an array of strings.
Don't do substitution using the user's HOME variable-- this could lead
to security holes for setuid processes.
Get rid of AuthMonitor::read_keyfile because there is already a Keyring
member function, Keyring::load, that does the same thing.
qa/rbd/common.sh: we can now use cconf to figure out what the keyring
is.
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2011-01-02 12:19:35 -08:00
Colin Patrick McCabe
c846615d8b
qa: rbd: small optimization to script
...
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-12-30 10:38:36 -08:00