Commit Graph

140 Commits

Author SHA1 Message Date
Josh Durgin
5cd33cdd23 workunits/rbd: add workunit for running cls_rbd tests
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-06-10 22:01:19 -07:00
Josh Durgin
031d42ad1f workunits/rbd: disable remove_with_watcher test
This will fail until #2533 is fixed.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-06-10 21:59:07 -07:00
Josh Durgin
3d7925b1ae workunits/rbd: allow creating images in different formats
This will allow adding more arguments for testing combinations
of features in the future.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-06-09 17:24:50 -07:00
Sage Weil
95e0a880c8 qa: stress_watch.sh workunit runs test_stress_watch
Signed-off-by: Sage Weil <sage@inktank.com>
2012-05-31 16:46:25 -07:00
Sage Weil
352247e1b9 fix file_layout.sh layouts test
preferred_osd is not gone.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-28 14:52:56 -07:00
Sage Weil
f1de0d6cb3 qa: drop rgw.py from test_python.sh workunit
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-04-18 21:27:49 -07:00
Sage Weil
e5934f10be qa: kclient/file_layout.sh: ...
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-03-13 12:55:53 -07:00
Sage Weil
401a571613 qa: kclient/file_layout.sh poking
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-03-12 15:01:59 -07:00
Sage Weil
968d29d138 qa: use recent kernel for kernel_untar_build.sh
Happier on oneiric!

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-03-12 12:01:41 -07:00
Sage Weil
945218cc30 qa/workunits/kclient/file_layout: escape *
Escape * so that it is expanded as root.

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2012-03-11 20:36:47 -07:00
Sage Weil
70360f840e github.com/NewDreamNetwork -> github.com/ceph 2012-03-02 11:00:08 -08:00
Sage Weil
e93999f96a qa/workunits/rados/load-gen-mix.sh
10k objects, not 100k!

Signed-off-by: Sage Weil <sage@newdream.net>
2012-01-16 13:26:01 -08:00
Sage Weil
ba83e8c6dd qa: rados load-gen: use rbd pool
No replay interval.
2012-01-16 13:25:46 -08:00
Sage Weil
51e402e3c2 rados: fix load-gen 'max-ops'
This was mixed up with min/max_op_len.  And max_ops wasn't being used
the initial object creation stage, flooding the OSDs.  Or during run().

Signed-off-by: Sage Weil <sage@newdream.net>
2012-01-16 10:40:33 -08:00
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
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
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
3e9a936062 doc: more c* -> ceph-* renames
Signed-off-by: Sage Weil <sage@newdream.net>
2011-09-22 16:18:37 -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