Commit Graph

230 Commits

Author SHA1 Message Date
Colin Patrick McCabe
634cca9530 qa: rbd: Update rbd test to use the new rbd sysfs
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-12-30 10:38:36 -08:00
Colin Patrick McCabe
323ac1a72d qa: rbd: disable automatic keyring discovery
Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-12-30 10:38:36 -08:00
Colin Patrick McCabe
de8f021204 qa/rbd: minor fixes
* qa/rbd/common: create tempdir for script

* qa/rbd/common: try harder to find monhost (try "mon addr" and also
"mon.a addr")

* qa/rbd/rbd.sh: honor $mnt parameter

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
2010-12-29 15:36:22 -08:00
Sage Weil
3d10b34074 mds: fix null_snapflush with multiple intervening snaps
The client is allowed to not send a snapflush if there is no dirty metadata
to write for a given snap.  However, the mds can only look up inodes by
the last snapid in the interval.  So, when doing a null_snapflush (filling
in for snapflushes the client didn't send), we have to walk forward through
intervening snaps until we find the right inode.

Note that this means we will call _do_snap_update multiple times on the
same inode, but with different snapids.

Add unit test to check this.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-11-10 20:58:49 -08:00
Yehuda Sadeh
10466c5263 qa: add rbd test 2010-10-28 15:49:21 -07:00
Yehuda Sadeh
b6ffdf18f2 qa: add basic rbd test 2010-10-28 14:32:06 -07:00
Sage Weil
7f493a11cb qa: add ffsb 2010-10-13 10:09:43 -07:00
Colin Patrick McCabe
3bab6ac16a Add the setup-chroot.sh script
The setup-chroot.sh script is very handy for building the server in a
chroot environment. I thought I would share it here in case anyone else
finds it useful.
2010-09-28 19:25:10 -07:00
Yehuda Sadeh
628e28e2b2 qa: improved rgw tests 2010-09-24 10:16:14 -07:00
Yehuda Sadeh
1eaec17943 qa: add simple rgw test 2010-09-22 22:40:28 -07:00
Sage Weil
381447d9f5 qa: add snaptest-git-ceph.sh 2010-09-21 13:55:12 -07:00
Sage Weil
2e5731b6db qa: update snaptests, add snaptest-multi-capsnaps.sh 2010-09-17 08:09:19 -07:00
Sage Weil
6dae938316 qa: rename snapmove -> snaptest-parents 2010-08-25 21:36:19 -07:00
Sage Weil
27cc3bdd8c qa: add snaptest-dir-rename.sh 2010-08-25 16:24:41 -07:00
Greg Farnum
54d661aca6 qa: add blogbench test to qa 2010-08-25 16:10:57 -07:00
Sage Weil
1c176ee009 qa: clean up snaptest-* suite a bit 2010-08-24 16:01:47 -07:00
Greg Farnum
5b099f5c65 Revert "qa: remove random ordering from runallonce, for predictable resource matching"
This snuck in by mistake in the leaks merge.

This reverts commit 8778bacf3b.
2010-08-24 13:55:30 -07:00
Sage Weil
7172a637b7 qa: snaptest-xattrwb.sh 2010-08-24 12:13:53 -07:00
Sage Weil
10ed52012b qa: chmod +x snaptest-authwb.sh 2010-08-24 12:13:53 -07:00
Greg Farnum
09fbe8650e Merge branch 'leaks' into unstable
Conflicts:
	src/mds/Locker.cc
2010-08-24 10:35:35 -07:00
Greg Farnum
6ace230b8f Merge branch 'unstable' into leaks
Conflicts:
	src/mds/Locker.cc
2010-08-23 23:41:41 -07:00
Sage Weil
fc8176c892 qa: add test for snapcap writeback of auth bits 2010-08-22 15:19:53 -07:00
Sage Weil
8950599aef qa: test xattr snap wb 2010-08-22 15:18:21 -07:00
Sage Weil
466c002f18 qa: add snaptest-snap-rm-cmp
This (usually) reproduced a bug where:

 - we write a big file
 - snap it
 - remove it.  this makes the mds cow it.
 - cp the snapped version.
   - mds syncs the head
   - client starts writeback
   - (sometimes!) client sends other caps back to the mds
     - mds does null flushsnap, not realizing a real one is still coming
2010-08-18 13:44:34 -07:00
Greg Farnum
5a89b8b2c9 qa: add simple snaprealm test script. 2010-08-17 17:01:43 -07:00
Sage Weil
9dd2ffd710 qa: snaptest-capwb check no snapflush case first 2010-08-17 14:29:30 -07:00
Sage Weil
d2205a9423 qa: snaptest-upchildreams.sh should clean up after itself 2010-08-17 14:29:30 -07:00
Sage Weil
2551651069 qa: add capwb check for case where client doesn't send flushsnap 2010-08-17 14:29:30 -07:00
Sage Weil
a4930d9eea qa: add snaptest-estale.sh
Verify requests withing snapped namespace are directed to the proper
MDS.  We should never get ESTALE, only ENOENT.
2010-08-17 12:00:07 -07:00
Sage Weil
4b6deda441 qa: make snaptest-2 output less ugly 2010-08-16 16:45:26 -07:00
Sage Weil
eb5213eee0 qa: show rm/cp progress on snaptest-2 2010-08-16 14:51:25 -07:00
Sage Weil
4e9ae5d978 qa: add test that client updates realm children on snap update 2010-08-16 14:51:25 -07:00
Greg Farnum
ab2026952f qa: add snap-rm-diff.sh to look for issues with snapshot integrity.
Currently passes the script, although running these steps manually
(especially with smaller files) fails a fair percentage of the time for me.
2010-08-16 11:48:12 -07:00
Greg Farnum
8778bacf3b qa: remove random ordering from runallonce, for predictable resource matching 2010-08-06 16:10:44 -07:00
Sage Weil
8100841986 qa: echo output 2010-08-06 11:35:04 -07:00
Sage Weil
7e00212761 qa: add snap test for cap writeback
This used to fail/hang before the cap cloning business was fixed up.
2010-08-05 16:16:02 -07:00
Sage Weil
6bd40ac96e qa: consistent snaptest-%d.sh naming 2010-07-27 13:22:36 -07:00
Greg Farnum
8195899a15 qa: add localized version of Thomas Mueller's snaptest-2.sh
http://github.com/vinzent/ceph-testsuite/blob/master/tests/snaptest-2
2010-07-27 12:13:47 -07:00
Greg Farnum
7bba8447c4 qa: runoncfuse shouldn't start cfuse in background any more. 2010-07-23 14:37:48 -07:00
Sage Weil
56cc68d125 qa: do untar_snap_rm on two different tarballs (medium and big) 2010-07-02 15:59:36 -07:00
Greg Farnum
18c305abb8 qa: set runoncfuse.sh to run cfuse in background and kill at end of tests.
This is an imperfect solution at best, since it doesn't handle errors at all,
but it'll have to do for now.
2010-06-30 16:06:52 -07:00
Sage Weil
eeede270a8 qa: read recently written/deleted data back from snap 2010-06-24 16:49:52 -07:00
Sage Weil
35095434d9 qa: another mds test fix... wait long enough for the previous death to trigger 2010-06-17 13:44:12 -07:00
Sage Weil
920b2d8974 qa: fix mdstable failure tests 2010-06-17 13:09:22 -07:00
Sage Weil
58fe4b8d54 qa: add untar_snap_rm.sh 2010-06-07 22:18:59 -07:00
Sage Weil
8fcb0cc423 qa: make pjd clean up 2010-04-29 14:28:51 -07:00
Sage Weil
09916d3508 qa: set -e in workunits 2010-04-14 12:40:58 -07:00
Sage Weil
4d5ce888f2 qa: run tests in random order 2010-04-02 20:07:34 -07:00
Sage Weil
e6bc437528 qa: make snaptest trigger capsnap dirty(caps)==0 bug
Prior to ceph-client.git commit 819ccbfa448, this will cause a

	VFS: Busy inodes after unmount of ceph. Self-destruct in 5 seconds.  Have a nice day...

on umount.
2010-04-01 09:44:04 -07:00
Sage Weil
4d174b593a qa: make snaptest.sh repeatable in same dir 2010-03-31 14:46:20 -07:00
Sage Weil
4abb47a24c qa: drop numeric prefix from workunits 2010-03-30 21:24:45 -07:00
Sage Weil
864b1a40b6 qa: fix loopall.sh mode 2010-03-24 11:50:23 -07:00
Sage Weil
d58656f901 qa: make pjd test behave when run twice in same dir 2010-03-18 10:20:37 -07:00
Sage Weil
7d88f7fdb0 qa: add fsx workunit 2010-03-18 10:20:37 -07:00
Sage Weil
60677da9af qa: add loopall.sh 2010-03-17 11:13:53 -07:00
Sage Weil
3ebbec2708 qa: runallonce.sh each workunit in a clean directory 2010-03-16 15:51:04 -07:00
Sage Weil
f059e49d5c qa: fix snaptest1.sh 2010-03-15 23:47:24 -07:00
Sage Weil
a7ae330d22 qa: make -j on kernel build 2010-03-08 15:10:45 -08:00
Sage Weil
038a8eba44 qa: download linux tarball from ceph.newdream.net for kernel compile test 2010-02-26 14:50:54 -08:00
Sage Weil
4a68eb4d14 qa: specify logdir on command line (or assume rundir)
Don't just put logs with the qa source.  Among other things that
means we can't run runallonce.sh twice.
2010-02-25 12:25:10 -08:00
Sage Weil
65f5123645 qa: fix snaptest1.sh 2010-02-16 16:00:59 -08:00
Sage Weil
fa5478bba0 qa: +x snaptest1.sh 2010-02-11 15:33:09 -08:00
Sage Weil
b509371e1e qa: fix up runallonce.sh 2010-02-11 10:36:45 -08:00
Sage Weil
14f2c78614 qa: dl pjd.tgz
Then we can switch the symlink later
2009-12-28 20:05:32 -08:00
Sage Weil
3ef32643f2 qa: don't fail rm of old log 2009-12-23 08:52:18 -08:00
Sage Weil
775d6825b2 qa: make logging more forgiving 2009-12-23 08:52:18 -08:00
Greg Farnum
580dd13514 qa: Copy the output of each test to a log file 2009-12-15 13:23:23 -08:00
Greg Farnum
796d3ba3c5 qa: Whoops, never added the runonkclient script 2009-12-14 15:46:06 -08:00
Sage Weil
43ab6e519c qa: fix runallonce target dir verification 2009-12-11 11:56:27 -08:00
Yehuda Sadeh
9922ae1f55 qa: add bonnie++ to the workunits 2009-12-07 16:48:35 -08:00
Sage Weil
ee44121f4d qa: put qa used files on ceph.newdream.net
avoid hitting external servers if we can :)
2009-12-04 11:25:44 -08:00
Greg Farnum
6250b9329f qa: Rename a file for future clarity. 2009-12-01 17:32:38 -08:00
Sage Weil
83e2b9cc79 qa: specify test path as argument ot runallone.sh 2009-12-01 16:18:56 -08:00
Sage Weil
defeedb545 qa: test mdstable failures 2009-12-01 16:19:19 -08:00
Greg Farnum
a3cb25c955 qa: We want to stop on errors. Add new scripts. 2009-11-17 09:13:47 -08:00
Greg Farnum
565448b5bd qa: prepare for a hierarchical test script system 2009-11-12 16:44:35 -08:00
Sage Weil
12482dba16 qa: test subdir mounts 2009-11-06 13:52:12 -08:00
Sage Weil
b7263cab90 qa: add dbench 2009-10-21 10:35:44 -07:00
Sage Weil
0a83ec847b qa: add pjd test; change default monhost to cosd0 2009-10-16 16:38:51 -07:00
Sage Weil
1d95c8f097 qa: start new qa dir, add some client tests 2009-10-09 12:19:35 -07:00