Commit Graph

720 Commits

Author SHA1 Message Date
Sam Lang
96458387c7 workunit: Move cleanup to separate run
Removing the scratchdir in the remote run command
at the end of the script invocation will do the remove
once the first script finishes.  With possibly a shared
scratch dir across workunit clients, we want to wait to
remove the scratch dir once all the workunit scripts have
completed.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-11-08 09:09:23 -06:00
Sam Lang
f0080b021e workunit: Allow scratch dir to already exist
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-11-08 09:09:23 -06:00
Sam Lang
ea02fb74b9 workunit: Add option to use specified subdir
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-11-08 09:09:23 -06:00
Samuel Just
bd83ed70dc ceph_manager: add test_min_size action
Thrasher can now with configurable frequency test min_size by
taking down all but one osd, waiting, killing that osd and bringing
back the others, and verifying that the cluster goes clean.

Signed-off-by: Samuel Just <sam.just@inktank.com>
2012-11-07 12:56:31 -08:00
Josh Durgin
6c9d45e399 schedule: fix var name 2012-11-02 11:33:46 -07:00
Josh Durgin
5f4414e072 schedule: add option to display jobs in the queue
beanstalkd doesn't let you list jobs in the queue, but you can
inpsect specific job ids.
2012-11-02 11:08:59 -07:00
Alex Elder
f88a2f73d8 rbd task: support xfstests repeat count
This adds the ability to use the new repeat count argument to the
run_xfstests.sh script.  By default, the test suite will be run
once, but if a count is specified the script will execute the suite
that many times, but will only perform the setup (building the
tests, etc.) once.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
2012-11-01 13:49:58 -05:00
Josh Durgin
c16c14b373 Merge pull request #4 from ceph/wip-buck
Use the configured username for _make_scratch_dir
2012-10-25 18:12:28 -07:00
Joe Buck
53ff33a7f0 Use the configured username for _make_scratch_dir 2012-10-25 17:42:32 -07:00
David Zafman
e10b99a301 Add exit to kcon_most script
Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-25 10:08:05 -07:00
Josh Durgin
afcf2ea81c coverage: note db table structure 2012-10-24 16:11:12 -07:00
Sage Weil
b4bf14edd5 add exec task 2012-10-22 16:51:54 -07:00
Joe Buck
abc1fedb2c Merge pull request #2 from ceph/wip-buck
Wip buck
2012-10-22 12:04:46 -07:00
Joe Buck
a8f4f8853d fixing the tense of my README change 2012-10-22 12:01:53 -07:00
buck
41d1257c16 Edit to README.bst to note that the ssh keys needed in the targets entries are the hosts public ssh key and not the users defined in the same entry 2012-10-22 12:01:35 -07:00
David Zafman
ce7d997362 New nfs task that performs NFS client mount of export (see knfsd)
Fixes: 3245
Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-10 18:18:14 -07:00
David Zafman
cac4a6acbc New knfsd task that does an nfs server export
Ability to specify options
    By default only export to current hosts

Fixes: 3245
Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-10 18:18:14 -07:00
David Zafman
939c3aee7f New kcon_most task that enables most ceph kernel logging
Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-10 18:18:14 -07:00
David Zafman
558590c1f9 Fix ceph-fuse example
Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-10 18:18:14 -07:00
David Zafman
3ca2e220e1 Fix typo in README
Signed-off-by: David Zafman <david.zafman@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2012-10-10 18:18:14 -07:00
tamil
d94821244c Printing the number of tests passed when 'all' tests are successful
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-10-05 17:33:57 -07:00
Yehuda Sadeh
7c9dc932e1 radosgw-admin: usage should time out after 20 minutes
Not 45 seconds.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-10-01 17:17:14 -07:00
Sage Weil
7a593a08ab console: add console task
Log the sol console of every target to a file in the archive dir.
2012-09-30 21:08:41 -07:00
Sage Weil
b22e3ea526 internal: stop warning about lockdep circular dependency
This is coming from xfs, currently.  Bah.
2012-09-30 21:07:58 -07:00
Sage Weil
ee3407fa04 include newpool in osd cap for client.0
This is needed by the kclient_workunit_kclient task.
2012-09-29 08:55:58 -07:00
Josh Durgin
13c91dba67 misc: use new syntax for osd caps
pool=pool1,pool2 is not valid for the new grammar
2012-09-28 10:07:45 -07:00
Sage Weil
30748f36e2 fix lock held when returning to user space typo 2012-09-23 08:03:17 -07:00
Josh Durgin
a09153b688 Allow scheduled jobs to use different teuthology branches
teuthology-[schedule|suite] get a parameter to specify the branch,
to put the job in a branch-specific queue. Workers running that
branch of teuthology can pull jobs from that queue.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2012-09-21 17:16:56 -07:00
Josh Durgin
57bb434def Fix errors found by pyflakes
A bunch of unused imports and variables.
2012-09-21 16:46:24 -07:00
Sage Weil
0395df3157 ignore 'lock held when returning to user space' from btrfs sb_internal crap 2012-09-19 16:42:02 -07:00
Sam Lang
a101e49190 replace tab with spaces
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2012-09-18 16:31:39 -07:00
Sam Lang
5ce4d70e4b fix error on teardown failing to unmount /mnt 2012-09-18 15:56:08 -07:00
Sam Lang
808e2b234e update doc to be ceph-fuse task (instead of cfuse) 2012-09-18 13:51:33 -07:00
tamil
78b7b02c07 imported subprocess module in nuke script
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-09-14 15:04:40 -07:00
Josh Durgin
d27806a293 nuke: add missing import 2012-09-13 14:31:46 -07:00
Josh Durgin
c8c7014fc0 rbd: fix typo and cast to int before comparing format 2012-09-13 14:29:43 -07:00
Josh Durgin
055bf73d50 rbd: only specify --format if not using the default
This lets older versions that do not support --format still work with
format 1 images.
2012-09-12 11:31:28 -07:00
Tommi Virtanen
79607eed3c Don't lose tracebacks of exceptions raised in a greenlet.
Exception objects don't contain the traceback of where they were
raised from (to avoid cyclic data structures wrecking gc and causing
mem leaks), so the singular "raise obj" form creates a new traceback
from the current execution location, thus losing the original location
of the error.

Gevent explicitly wants to throw away the traceback, to release any
objects the greenlet may still be referring to, closing files,
releasing locks etc. In this case, we think it's safe, so stash the
exception info away in a holder object, and resurrect it on the other
side of the results queue.

http://stackoverflow.com/questions/9268916/how-to-capture-a-traceback-in-gevent

This can be reproduced easily with

	from teuthology.parallel import parallel
	def f():
	    raise RuntimeError("bork")
	with parallel() as p:
	    p.spawn(f)

and looking at the resulting traceback with and without this change.
2012-09-11 11:25:21 -07:00
Alex Elder
f64cedf4db rbd: allow xfstests task to specify rbd image formats
This adds the ability to specify the rbd image format to use for the
scratch and test devices for the rbd.xfstests task.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
2012-09-10 19:38:21 -05:00
Alex Elder
73a29cdf91 rbd: allow image format to be specified
This adds the ability to specify an rbd image format (either 1 or 2)
for an rbd image.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Dan Mick <dan.mick@inktank.com>
2012-09-10 19:37:25 -05:00
tamil
39efbbcc2d Suppress valgrind error "Invalid write 8"
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-09-10 15:02:47 -07:00
Yehuda Sadeh
d6c2ded087 radosgw-admin: update task for new usage reporting
Usage reporting output has been modified, also use the new
--categories input param.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-09-10 11:24:25 -07:00
Sage Weil
be426d1b1e schedule_suite.sh: try to use same branch for s3-tests.git
If it isn't there, warn and fall back to master.
2012-09-10 11:09:25 -07:00
Sage Weil
3473c2ed1d s3tests: run against arbitrary branch/sha1 of s3-tests.git 2012-09-10 11:08:57 -07:00
Sage Weil
db8037d998 debian ntp servers 2012-09-09 14:23:12 -07:00
Mike Ryan
f8e1f5c222 task: die on ceph error or coredump
This task allows ceph to signal to teuth that it should die immediately
by touching a file under /tmp/cephtest

Signed-off-by: Mike Ryan <mike.ryan@inktank.com>
2012-09-04 09:52:38 -07:00
Sage Weil
dc1c247abc disable lockdep recursive warnings until #3040 is fixed 2012-08-24 19:23:34 -07:00
Sage Weil
b6b302890f internal: fix escaping of \b in syslog grep 2012-08-23 11:00:39 -07:00
Sage Weil
82cefa2477 suppress this valgrind error
<error>
  <unique>0x4</unique>
  <tid>1</tid>
  <kind>InvalidWrite</kind>
  <what>Invalid write of size 8</what>
  <stack>
    <frame>
      <ip>0x400A299</ip>
      <obj>/lib/x86_64-linux-gnu/ld-2.15.so</obj>
      <fn>do_lookup_x</fn>
      <dir>/build/buildd/eglibc-2.15/elf</dir>
      <file>dl-lookup.c</file>
      <line>250</line>
    </frame>
    <frame>
      <ip>0x403122F</ip>
    </frame>
    <frame>
      <ip>0x400A522</ip>
      <obj>/lib/x86_64-linux-gnu/ld-2.15.so</obj>
      <fn>_dl_lookup_symbol_x</fn>
      <dir>/build/buildd/eglibc-2.15/elf</dir>
      <file>dl-lookup.c</file>
      <line>739</line>
    </frame>
  </stack>
  <auxwhat>Address 0x7feffeec8 is on thread 1's stack</auxwhat>
</error>

pops up recently
2012-08-23 11:00:39 -07:00
Sage Weil
b800496bb4 ceph: fix cpu_profile default 2012-08-19 20:16:43 -07:00