Commit Graph

136 Commits

Author SHA1 Message Date
Loic Dachary
55e5160d96 erasure-code: fix bugous ec-rados-default.yaml in some suites
The ec-rados-default.yaml was linked to suites as if it was a task
although it is a workload intended for parallel upgrade tests.

The ec-rados-plugin=jerasure-k=2-m=1.yaml task is defined and used
instead, where relevant.

http://tracker.ceph.com/issues/9549 Fixes: #9549

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-09-21 18:58:43 +02:00
Samuel Just
f6582f8961 tasks: add watch_notify_same_primary
Reproduces: #9220
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-09-09 15:31:13 -07:00
Samuel Just
79989de8b0 Merge pull request #112 from ceph/wip-8231-forreview
Wip 8231 forreview

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-09-02 13:43:38 -07:00
Loic Dachary
a624d44566 erasure-code: do not schedule isa workloads just yet
they should be selectively activated, depending the isa plugin availability

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-08-31 10:47:27 +02:00
David Zafman
9ade22dd34 ceph_objectstore_tool: Add task for testing of tool of the same name
Based on ceph/src/test/ceph_objectstore_tool.py but only does
replicated pool testing and doesn't test argument validation.

Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-08-30 16:20:22 -07:00
Loic Dachary
378113cc89 erasure-code: do not schedule lrc workloads just yet
testing after renaming is in progress

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-08-30 18:31:50 +02:00
Loic Dachary
5d2a33d6da erasure-code: add various erasure-code workloads
The erasure-code directory is populated with files describing rados
workloads suitable to test the default erasure code plugins. They are
linked to the rados suite. The pre-existing rados workloads from the
rados suite are replaced with those. Two workloads only differed by the
fact that one of them had less operations than the other. The more
complete set of operations is kept and used for all workloads to
maximize coverage.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-08-30 11:17:56 +02:00
Loic Dachary
31df59f229 erasure-code: add jerasure k=3 m=1 workload
It validates that http://tracker.ceph.com/issues/9209 is fixed.

Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-08-25 19:07:39 +02:00
Sage Weil
4f9f023c74 rest-api tests: enable debugging
Hoping to catch #9058

Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-14 17:41:05 -07:00
Sage Weil
97f317d843 rados/singleton: make cache mode cycling include readforward mode
forward -> off -> writeback -> readforward -> ...

Signed-off-by: Sage Weil <sage@redhat.com>
2014-08-04 14:02:39 -07:00
Sage Weil
79357060f1 Merge pull request #53 from ceph/wip-leaks
use notcmalloc to fix leak checking
2014-07-29 15:27:54 -07:00
Sage Weil
c88e1cb1d6 rados/singleton/all/rest-api: add mds.a
The test expects an MDS.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-07-26 09:05:25 -07:00
Sage Weil
175057f3bc rados/verify: increase api tests timeout
This has been timing out for weeks to months (hard to say since before that
we were consistently hitting an OSD crash on shutdown).  The runs I've looked
at are making progress and seem fine ... just slow because of valgrind and
because of thrashing.

Backport: firefly
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-24 18:57:22 -07:00
Sage Weil
279f39d4c1 use notcmalloc builder for valgrind leak checking
This reverts 453d72b294.  It turns out that
tcmalloc defeats the leak checking in valgrind.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-07-24 11:57:06 -07:00
Sage Weil
a546e20761 rados/objectstore: move objectstore related tests from singleton-nomsgr
Just so they're in a nice convenient bunch.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-23 11:04:02 -07:00
tamil
367d4da083 added debug messages for radosbench.yaml
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2014-07-22 16:15:19 -07:00
John Spray
344d5974fd Remove mds role from rados & rgw tests
Follow up to a24efaef, remove the mds from
the (mainly singleton) test configs that
explicitly list it.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-07-22 16:44:02 +01:00
Sage Weil
2b4f740200 rados/singleton-nomsgr/all/alloc-hint: fix config syntax
Put in [osd] section.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-21 08:36:20 -07:00
Sage Weil
02a6c917ec rados/singleton-nomsgr/all/alloc-hint: enable xfs extsize for test
This is off by default; enable it for this test.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-18 13:18:53 -07:00
Sage Weil
0ee2d54533 Merge pull request #46 from ceph/wip-max-backfills
rados/thrash: set osd_max_backfill = 1 sometimes
2014-07-14 14:43:29 -07:00
Sage Weil
3150bba803 rados: test ceph-post-file
Signed-off-by: Sage Weil <sage@redhat.com>
2014-07-11 15:35:56 -07:00
Sage Weil
5e880228fd rados/thrash: set osd_max_backfill = 1 sometimes
Hopefully this will help catch leaks in the recovery reservations.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-07-01 16:09:53 -07:00
Sage Weil
f8282df84d rados/singleton/all/thrash_cache_writeback_forward_none: thrash cache pool drain
Enable/disable cache pool against a running workload.

Backport: firefly
Signed-off-by: Sage Weil <sage@inktank.com>
2014-06-30 13:34:21 -07:00
Samuel Just
77670aeadf thrashers/mapgap.yaml: ignore osd_map_cache_size warning
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-06-24 10:19:48 -07:00
Samuel Just
09d02abe45 Revert "rados: Fix cache_flush, cache_try_flush, cache_evict and add hit_set_list"
cache_evict is kinda broken at the moment due to snapdir nonsense.  I'm reverting this
test for now until it's fixed so it doesn't obscure the test results.

Bug: 8629
This reverts commit 3dae48c7cd.
2014-06-19 14:25:30 -07:00
David Zafman
3dae48c7cd rados: Fix cache_flush, cache_try_flush, cache_evict and add hit_set_list
Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-06-05 18:24:59 -07:00
Sage Weil
c427af0701 osd_heartbeat_grace from 20 -> 40 when running valgrind
This will mask occasional 'wrongly marked me down' errors when valgrind
is running (it makes things generally slow).

Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-28 10:11:05 -07:00
Sage Weil
a4f00abaa6 rados/singleton-nomsgr/all/objectstore: skip ceph cluster setup
Not necessary; we just need it installed.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-20 22:09:48 -07:00
Sage Weil
5be30f0d9b rados/singleton-nomsgr/all/objectstore: clean up
ceph_test_objectstore scribbles in $CWD.  Keep it inside $TESTDIR and
clean up when we are done.

Fixes: #8395
Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-20 22:09:48 -07:00
David Zafman
99e67abc94 rados/thrash: Add pool_snaps variants
Fixes: #8284

Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-05-05 11:18:14 -07:00
Samuel Just
d2d7b941dd cache-snaps.yaml: set target_max_objects to test snap flush/evict
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-05-02 17:04:09 -07:00
David Zafman
18334ea3d3 rados/thrash: Fix workload of cache-agent-big
Create a log of objects and operate on some of them
(Initial object creation counts against total operations specified)
Add limit to 20 minutes

Fixes: 8263

Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-05-01 14:39:18 -07:00
David Zafman
b080355902 Fix syntax of erasure coded pool creation
Signed-off-by: David Zafman <david.zafman@inktank.com>
2014-05-01 10:52:57 -07:00
Samuel Just
3a2c8886c3 rados: add ec and rep lost_unfound_delete tests
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-04-22 17:42:17 -07:00
Sage Weil
387110b119 rados/singleton/all/cephtool: whitelist scrub vs split vs agent issue
Signed-off-by: Sage Weil <sage@inktank.com>
2014-04-22 12:44:48 -07:00
Sage Weil
c623b3dd97 rados/thrash: whitelist 'must scrub before tier agent can activate'
Signed-off-by: Sage Weil <sage@inktank.com>
2014-04-18 06:59:27 -07:00
Josh Durgin
7afc277736 rados: include objectstore tests
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2014-04-17 18:58:33 -07:00
Sage Weil
b97c3803c5 rados/thrash: rejection backfill reservations sometimes while thrashing 2014-04-03 18:11:01 -07:00
Sage Weil
946a9685f1 rados/singleton-nomsgr: add multi-backfill reservation rejection test
This triggers #7922.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-04-03 18:08:19 -07:00
Sage Weil
cb699f6a1a rados/monthrash: shorten mon pings so that freezing triggers reconnects
This exercises (tho it doesn't necessarily verify) the mon ping reconnect
code when the thrasher freezes the mons.

See #7888.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-28 16:17:00 -07:00
Samuel Just
68343ee193 rados/thrash/workloads: make cache-agent-big use an ec base pool
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-03-27 11:51:44 -07:00
Sage Weil
a42e197f5d rados/monthrash: add pool create/delete tests
This is sufficient to trigger #7736 when combined with mon thrashing and
mon msg delay injection.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-03-17 16:16:50 -07:00
Ilya Dryomov
0815e4fa70 rados/singleton-nomsgr: add allocation hint test
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
2014-03-07 18:32:12 +02:00
Samuel Just
c6a22b33e3 rados/thrash/workloads: enable copy_from for the ec workloads
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-02-23 14:56:10 -08:00
Samuel Just
b9e1341f10 rados/thrash: add ec-radosbench workload
Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-02-18 13:49:12 -08:00
Samuel Just
386650d983 rados/thrash: add ec workloads
Adds ec workloads for snaps, small objects, read-write.

copy-from is not yet enabled.

Signed-off-by: Samuel Just <sam.just@inktank.com>
2014-02-18 13:45:39 -08:00
Sage Weil
5f8eedf01d rados/thrash: test rados against cache pool with agents
Run rados model against a pool with target_max_objects set so that the
tiering agent is working against us.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-17 16:41:25 -08:00
Sage Weil
453d72b294 don't use notcmalloc flavor for valgrind
We now have the suppressions to avoid this.  Yay!

Signed-off-by: Sage Weil <sage@inktank.com>
2014-02-11 09:44:17 -08:00
Sage Weil
47dcdb324e rados/thrash: add cache + snaps workload
Signed-off-by: Sage Weil <sage@inktank.com>
2014-01-23 07:08:10 -08:00
Josh Durgin
04fe727130 rados: add rados tool test
For now this just tests listomapvals, but it may be expanded in the
future.

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-12-31 11:44:46 -08:00