summaryrefslogtreecommitdiff
path: root/qa
Commit message (Collapse)AuthorAgeFilesLines
* qa: download tests from specified branchJosh Durgin2012-07-132-2/+4
| | | | | | These python tests aren't installed, so they need to be downloaded Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
* qa: disable xfstest 68 for nowSage Weil2012-06-141-1/+1
| | | | | | | | | Stop the qa noise we fix #2410. Looks like a freeze/thaw thing. Maybe Jan's new freeze/thaw code will address this? That's probably wishful thinking. Signed-off-by: Sage Weil <sage@inktank.com>
* qa: disable xfstest 219 for nowSage Weil2012-06-141-1/+1
| | | | | | | | The cause of 219 failing is non-obvious. Disable it for now. :( Avoids #2522. Signed-off-by: Sage Weil <sage@inktank.com>
* workunits/rbd: add workunit for running cls_rbd testsJosh Durgin2012-06-101-0/+5
| | | | Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
* workunits/rbd: disable remove_with_watcher testJosh Durgin2012-06-101-1/+1
| | | | | | This will fail until #2533 is fixed. Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
* workunits/rbd: allow creating images in different formatsJosh Durgin2012-06-092-3/+3
| | | | | | | This will allow adding more arguments for testing combinations of features in the future. Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
* qa: stress_watch.sh workunit runs test_stress_watchSage Weil2012-05-311-0/+5
| | | | Signed-off-by: Sage Weil <sage@inktank.com>
* qa: fix mon single_host_multi.sh testSage Weil2012-05-211-1/+1
| | | | Signed-off-by: Sage Weil <sage@inktank.com>
* qa: use full paths for mon bootstrap testsSage Weil2012-05-1810-57/+59
| | | | Signed-off-by: Sage Weil <sage@inktank.com>
* qa: add mon test for seeding bootstrap mon peers via admin socketSage Weil2012-05-181-0/+66
| | | | Signed-off-by: Sage Weil <sage@inktank.com>
* qa: add a bunch of mon bootstrap testsSage Weil2012-05-189-0/+368
| | | | | | | | | | | | | These's are comprehensive because a lot of the startup logic is about picking a local address, and it's difficult to do test that on a single host. They cover the other variables surrounding mon bringing up, though: - part of initial monmap, or not - new nodes given all prior nodes, or not - new nodes have self included in monmap seed, or not - initial quorum members Signed-off-by: Sage Weil <sage@inktank.com>
* run_xfstests.sh: drop #62Sage Weil2012-04-301-1/+1
| | | | | | Until #2359 is resolved. Signed-off-by: Sage Weil <sage@newdream.net>
* fix file_layout.sh layouts testSage Weil2012-04-281-8/+4
| | | | | | preferred_osd is not gone. Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* qa: drop rgw.py from test_python.sh workunitSage Weil2012-04-181-2/+0
| | | | Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* qa: comment out xfstest 232Alex Elder2012-04-171-2/+4
| | | | | | | | | | | | | | | | | Test 232 in the xfstests suite produces an XFS error in the log when run over an RBD device. This is most likely an XFS problem that will be tracked separately (in tracker 2302). My original plan with getting this checked in was to have it run a baseline set of the tests--all known to pass on rbd devices--with the intention of doing ongoing work to add back missing tests (at least from the "auto" group) as we understand and fix whatever makes them produce failures. So just comment out test 232 so the xfstests script is able to run to completion without error. Signed-off-by: Alex Elder <elder@dreamhost.com>
* run_xfstests.sh: ensure cleanup on errorsAlex Elder2012-04-141-2/+2
| | | | | | | | | | | | Because we exit on any error (due to 'set -e'), the cleanup call was never getting made in the event of an error. The net effect of that was that a filesystem could be left mounted, and rbd cleanup then couldn't complete because the module was in use. Fix the trap call so it calls cleanup on exit as well as error. Switch to using the capitalized signal names in the call. Signed-off-by: Alex Elder <elder@dreamhost.com>
* run_xfstests.sh: pass test result via exit statusAlex Elder2012-04-141-2/+2
| | | | | | | | | | | It turns out that xfstests *does* exit with non-zero status when a test fails. Its exit status is the number of tests that failed (which, now that we have over 255 tests could be an issue...) Save the exit status and make it be the result of the run. Signed-off-by: Alex Elder <elder@dreamhost.com
* qa: add run_xfsests.sh scriptAlex Elder2012-04-131-0/+418
| | | | | | | | | | | | | Add a script that runs xfstests over a pair of devices that are specified using command line arguments. The tests are run using a specified filesystem type (xfs, ext4, or btrfs). A default set of tests is run if none is specified on the command line. Normally there's an "auto" group used for this purpose, but for now I've laid out a (large) subset of them that I know pass on rbd devices. These can be updated as we find they work reliably. Signed-off-by: Alex Elder <elder@dreamhost.com>
* qa: kclient/file_layout.sh: ...Sage Weil2012-03-131-3/+5
| | | | Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* qa: kclient/file_layout.sh pokingSage Weil2012-03-121-0/+1
| | | | Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* qa: use recent kernel for kernel_untar_build.shSage Weil2012-03-121-2/+4
| | | | | | Happier on oneiric! Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* qa/workunits/kclient/file_layout: escape *Sage Weil2012-03-111-3/+3
| | | | | | Escape * so that it is expanded as root. Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* github.com/NewDreamNetwork -> github.com/cephSage Weil2012-03-022-3/+3
|
* qa/btrfs/test_rmdir_async_snapSage Weil2012-02-202-0/+62
| | | | | | | Attempt to reproduce btrfs bug when rmdirs race with an async snap. Unsuccessful. Best guess is that we need multiple threads to trigger. Signed-off-by: Sage Weil <sage@newdream.net>
* qa/btrfs/.gitignore: ignore targetsSage Weil2012-02-131-0/+2
| | | | Signed-off-by: Sage Weil <sage@newdream.net>
* qa/btrfs/create_async_snapSage Weil2012-02-102-1/+35
| | | | | | Stupid tool to call the async snap ioctl. Until the btrfs tool does it. Signed-off-by: Sage Weil <sage@newdream.net>
* trivial_libceph: need O_RDWRSage Weil2012-02-071-1/+1
| | | | Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
* qa/workunits/rados/load-gen-mix.shSage Weil2012-01-161-1/+1
| | | | | | 10k objects, not 100k! Signed-off-by: Sage Weil <sage@newdream.net>
* qa: rados load-gen: use rbd poolSage Weil2012-01-165-5/+5
| | | | No replay interval.
* rados: fix load-gen 'max-ops'Sage Weil2012-01-165-5/+0
| | | | | | | 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>
* qa/client/gen-1774.shSage Weil2012-01-121-0/+2067
| | | | | | | | Capture Alexandre's script for reproducing #1774 here for posterity, until we write a properly harnessed test for this. Currently, workunits can't mount/unmount, and we don't have a way to make ceph-fuse drop it's cache. Signed-off-by: Sage Weil <sage@newdream.net>
* rbd: add a command to delete all snapshots of an imageJosh Durgin2012-01-052-0/+2
| | | | | | This makes deleting images with many snapshots easier. Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
* qa: add a slightly more stressful anchortable testGreg Farnum2012-01-041-0/+26
| | | | | | This creates more than 8 links. Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
* qa: fix mdstable script for proper injectargs use.Greg Farnum2012-01-041-1/+1
| | | | | | This script is fairly primitive, but somebody might find it useful... Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
* qa: load-gen-mix-small-longSage Weil2012-01-041-0/+11
| | | | | | 30 minutes Signed-off-by: Sage Weil <sage@newdream.net>
* workunits: update rbd test for new error formatJosh Durgin2011-12-301-1/+1
| | | | Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
* qa: load-gen-mix-small.shSage Weil2011-12-291-0/+11
|
* qa: trivial_libceph testSage Weil2011-12-132-0/+80
| | | | | | This currently fails... see #1827 Signed-off-by: Sage Weil <sage@newdream.net>
* qa: rados load-gen workunitsSage Weil2011-12-133-0/+33
| | | | Signed-off-by: Sage Weil <sage@newdream.net>
* workunits: print tests pjd runsJosh Durgin2011-12-091-1/+1
| | | | | | This will tell us which ones actually failed within a test suite. Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
* workunits: fix secret file and temp file removal for kernel rbdJosh Durgin2011-12-061-3/+3
| | | | Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
* workunits: make rbd kernel workunit executableJosh Durgin2011-12-061-0/+0
| | | | Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
* workunits: add some tests for kernel rbdJosh Durgin2011-12-061-0/+101
| | | | | | This covers some snapshot and resize functions that aren't tested by fs benchmarks. Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
* workunits: rados python workunit should be executableJosh Durgin2011-11-141-0/+0
| | | | Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
* workunits: add workunit for running rgw and rados python testsJosh Durgin2011-11-101-0/+7
| | | | Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
* qa: workunit to run test_libcephfs_readderGreg Farnum2011-11-031-0/+5
| | | | Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
* workunits: test rbd python bindingsJosh Durgin2011-10-241-0/+5
| | | | Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
* workunits: add rbd rollback and snapshot removal testsJosh Durgin2011-10-241-4/+14
| | | | Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
* workunit: check that rbd info returns the right size for snapshotsJosh Durgin2011-10-241-0/+4
| | | | Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>
* workunit: clean up temporary filesJosh Durgin2011-10-031-1/+3
| | | | Signed-off-by: Josh Durgin <josh.durgin@dreamhost.com>