Sam Lang
ac07afa205
test: Dont check initial permissions
...
We can't check the initial permissions of the
file because the umask may be set to something
other than 0022. The check isn't needed to check
for chmod correctness anyway.
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-10-22 15:27:12 -05:00
Sage Weil
ddde1c8f6a
Merge branch 'wip-testrados'
...
Lightly-reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-21 09:01:33 -07:00
Sam Lang
352a7e268e
test: Make the test filename unique to test
...
This fixes up the chmod test to use a unique
filename to test with, and avoid clobbering of
other tests and commonly named files.
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-10-18 17:15:45 -05:00
Sage Weil
8791db7453
qa: run multiprocess rados tests
...
These now pass, except for the watch/notify one.
Signed-off-by: Sage Weil <sage@inktank.com>
2012-10-16 17:52:26 -07:00
Sam Lang
58020d44c7
test: Add a workunit for chmod
...
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-10-16 15:17:38 -05:00
Dan Mick
8518115e25
rbd cli tests: copy.sh was looking for old version of rbd ls -l output
...
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2012-10-09 17:13:49 -07:00
Josh Durgin
f1ad419282
qa: report success if race is not detected
...
This test still verifies that the race is handled correctly if it
occurs, but will no longer clutter test results with spurious failures
when the race is not reproduced.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-04 16:50:46 -07:00
Dan Mick
37ffb278c8
qa scripts: Replace cut -f 1 with awk '{print $1;}'
...
This is to handle TextTable output, which doesn't use tabs
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-04 17:04:09 -07:00
Dan Mick
61b2e4d6ac
rbd: use TextTable to implement ls -l
...
Signed-off-by: Dan Mick <dan.mick@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-04 15:20:29 -07:00
Josh Durgin
9e8f69a0da
qa: try to reproduce a race more times
...
This was failing occassionally in the nightly runs.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-02 12:33:07 -07:00
Sage Weil
7af24bbda2
libcephfs: fix test workunit
...
Signed-off-by: Sage Weil <sage@inktank.com>
2012-09-30 21:02:36 -07:00
Sage Weil
18921ed2ef
Merge remote-tracking branch 'gh/wip-watch-header-race'
2012-09-27 13:37:52 -07:00
Josh Durgin
e177680903
librbd: ensure header is up to date after initial read
...
Use an assert version op in combination with our watch, and re-read
the header until it's not stale. Header updates are infrequent, so
this should not cause any delay with normal use.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-09-24 12:09:46 -07:00
Sage Weil
0c07607fb8
qa: move all rados class unit tests into qa/workunits/cls
...
This includes the existing rbd one; teh suite is getting fixed to match.
See #3097 .
Signed-off-by: Sage Weil <sage@inktank.com>
2012-09-20 15:12:39 -07:00
Alex Elder
ed43d4de12
rbd/copy.sh: fix typo
...
Or maybe it was a spello, or a thinko, or something. In any case
I'm pretty sure Josh intended to call the function he added in
commit 78d6a60ca, and not the non-existent "test_import_args".
Signed-off-by: Alex Elder <elder@inktank.com>
2012-09-18 22:51:10 -05:00
Josh Durgin
f530659786
Merge remote branch 'origin/wip-librbd-locking'
...
Conflicts:
qa/workunits/rbd/copy.sh
Reviewed-by: Sage Weil <sage.weil@inktank.com>
2012-09-18 16:06:25 -07:00
Josh Durgin
78d6a60c59
qa: test args for rbd import
...
Make sure that --pool/--dest-pool and --image/--dest all work
interchangeably.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-09-14 17:17:29 -07:00
Josh Durgin
eeaa92c471
rbd: add locking commands
...
The locker (entity_name_t) will be different each time the rbd
command line tool is run, so 'lock remove' is always breaking a lock.
Fixes : #2556
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-09-07 18:38:27 -07:00
Josh Durgin
fd1c634b13
qa: update rbd tests and runner
...
* no longer need to wait for watch timeout since #2948 was fixed
* use --format 2 instead of --new-format
* add test_cls_rbd to run-rbd-tests script
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-09-07 18:38:27 -07:00
Josh Durgin
18054ba46f
Merge branch 'wip-rbd-protect' into master
...
Conflicts:
src/librbd.cc
src/librbd/cls_rbd_client.h
2012-08-16 12:57:58 -07:00
Josh Durgin
9071764a6b
qa: remove rbd image when done
...
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-07-30 11:19:53 -07:00
Sage Weil
640e5fdebc
qa: simple tests for 'ceph osd create|rm' commands
...
Signed-off-by: Sage Weil <sage@inktank.com>
2012-07-27 10:43:26 -07:00
Sage Weil
4788567e0f
qa: simple test for pool create/delete commands
...
Signed-off-by: Sage Weil <sage@inktank.com>
2012-07-27 10:43:26 -07:00
Sage Weil
7586cde9de
qa/workunits/suites/pjd.sh: bash -x
...
This will let us see what test is failing, exactly, and what its inputs
were. Hoping to help find #2187 .
Signed-off-by: Sage Weil <sage@inktank.com>
2012-07-18 10:52:44 -07:00
Josh Durgin
3dd65a897b
qa: download tests from specified branch
...
These python tests aren't installed, so they need to be downloaded
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-07-13 09:42:27 -07:00
Josh Durgin
d82a502680
qa: add rbd remove tests
...
These check that removing an image still works if an rbd rm
command was interrupted partway through.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-07-02 14:18:21 -07:00
Josh Durgin
1c096a8062
qa: run rbd tests against old and new formats
...
Now it's not the caller's responsibility to specify the format,
and we can eliminate a job from the qa suite.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-07-02 14:18:21 -07:00
Josh Durgin
aa3255b844
qa: add tests for rbd ls with old and new formats
...
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-07-02 14:18:21 -07:00
Josh Durgin
288bde3f9e
qa: restructure rbd cli tests
...
Move tests into functions and remove all images at the end of each.
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-07-02 14:18:21 -07:00
Josh Durgin
0ad14c95c0
qa: add rbd command rename tests
...
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-07-02 14:18:21 -07:00
Sage Weil
d9e902f9c5
ceph.newdream.net -> ceph.com
...
wiki url -> docs url
2012-06-16 14:50:29 -07:00
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