Commit Graph

29 Commits

Author SHA1 Message Date
Josh Durgin
9b2c4fa4ad s3/swift tests: call radosgw-admin as the right client
This allows the right region and zone info to be read from ceph.conf

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-07-31 13:32:58 -07:00
Yehuda Sadeh
3b3816df58 s3tests: clone correct branch
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-07-29 09:09:51 -07:00
Josh Durgin
343a42c0d8 s3tests: fix client configurations that aren't dictionaries
They're always used as dictionaries later on.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-07-09 18:51:03 -07:00
Sage Weil
253cc98d98 enable-coredump -> adjust-ulimits
and set max_files to be big, too!
2013-06-23 09:15:28 -07:00
Sage Weil
a9f3eb6310 s3tests: add force-branch with higher precdence than 'branch'
This way we can force a branch despite something in overrides.

Signed-off-by: Sage Weil <sage@inktank.com>
2013-05-02 13:47:46 -07:00
Josh Durgin
f866037f04 s3tests: revert useless portion of 1c50db6a46
Perhaps it was attempting to debug something, but it shouldn't have been committed.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-04-30 17:02:28 -07:00
Josh Durgin
2dcce57c00 rgw tests: remove users after each test
These should all be cleanup up at some point. They're
almost all the same code.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-04-30 16:49:04 -07:00
Josh Durgin
3c604251d9 rgw tests: clean up immediately after the test
There's no need for an explicit cleanup function, so move it back
to where it came from (except in s3roundtrip, which did not have it).

Instead, since these use a nested contextmanager, pass through
and yield to the top-level run_tasks after the nested
contextmanager has finished (and thus run all the cleanup steps
in the subtasks for this test).

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-04-30 16:47:34 -07:00
Yehuda Sadeh
820c72b8d0 s3tests, s3readwrite, swift: cleanup explicitly
Cleaning up test dir explicitly after run, so that
consecutive runs don't fail.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2013-04-29 11:24:04 -07:00
Sander Pool
fa1f89478a Install ceph debs and use installed debs
The ceph task installs ceph using the debian
packages now, and all invocations of binaries installed
in {tmpdir}/binary/usr/local/bin/ are replace with
the use of the binaries installed in standard locations
by the debs.

Author:    Sander Pool <sander.pool@inktank.com>
Signed-off-by: Sam Lang <sam.lang@inktank.com>
2013-02-18 13:39:03 -08:00
Sam Lang
3eb19c8107 Replace /tmp/cephtest/ with configurable path
Teuthology uses /tmp/cephtest/ as the scratch test directory for
a run.  This patch replaces /tmp/cephtest/ everywhere with a
per-run directory: {basedir}/{rundir} where {basedir} is a directory
configured in .teuthology.yaml (/tmp/cephtest if not specified),
and {rundir} is the name of the run, as given in --name.  If no name
is specified, {user}-{timestamp} is used.

To get the old behavior (/tmp/cephtest), set test_path: /tmp/cephtest
in .teuthology.yaml.

This change was modivated by #3782, which requires a test dir that
survives across reboots, but also resolves #3767.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-01-31 08:23:31 -06:00
Sage Weil
b8e6ce4db9 s3tests: fix typo 2012-11-22 13:59:58 -08:00
Yehuda Sadeh
26df886d82 rgw-logsocket: a task to verify opslog socket works
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
2012-11-20 13:57:24 -08:00
Sage Weil
617534e769 s3tests: run against arbitrary branch/sha1 of s3-tests.git 2012-09-10 11:08:57 -07:00
Sage Weil
7d5c7ee8c6 pull s3-tests.git using git, not http 2012-06-06 16:00:55 -07:00
Sage Weil
ce951cf4ca ceph.newdream.net -> ceph.com 2012-05-05 09:30:41 -07:00
Sage Weil
1970713a2f github.com/NewDreamNetwork -> github.com/ceph 2012-03-02 10:55:56 -08:00
Josh Durgin
1ac4bb10fc Add necessary imports for s3 tasks, and keep them alphabetical. 2012-02-21 15:04:00 -08:00
Yehuda Sadeh
92110e5a44 rgw: access key uses url safe chars
Signed-off-by: Yehuda Sadeh <yehuda.sadeh@dreamhost.com>
2012-02-21 12:12:03 -08:00
Sage Weil
709d944112 use local mirrors for (most) github urls
A cronjob on ceph.newdream.net updates these every 15 minutes.  Sigh.
2012-01-15 22:52:58 -08:00
Greg Farnum
cb425c1580 s3-tests: use radosgw-admin instead of radosgw_admin
Signed-off-by: Greg Farnum <gregory.farnum@dreamhost.com>
2011-09-30 09:26:42 -07:00
Tommi Virtanen
37d7d51534 s3tests: Clone repository from github.
Signed-off-by: Tommi Virtanen <tommi.virtanen@dreamhost.com>
2011-09-16 11:09:45 -07:00
Tommi Virtanen
29a242d97d Move orchestra to teuthology.orchestra so there's just one top-level package. 2011-09-13 14:53:02 -07:00
Tommi Virtanen
ec49a5f263 Callers of task s3tests.create_users don't need to provide dummy "fixtures" dict. 2011-09-09 13:22:03 -07:00
Stephon Striplin
d7d995e82b allow s3tests.create_users defaults be overridden 2011-08-09 14:28:08 -07:00
Josh Durgin
0086109767 Make targets a dictionary mapping hosts to ssh host keys. 2011-07-19 17:13:13 -07:00
Tommi Virtanen
1b2c96416f Skip s3-tests marked fails_on_rgw, they will fail anyway. 2011-07-06 14:17:24 -07:00
Tommi Virtanen
06fb9b95e3 The shell exits after the command, hence there is no need for pushd/popd. 2011-07-06 14:15:51 -07:00
Josh Durgin
cd524a6904 Add s3tests task. 2011-07-01 16:18:59 -07:00