Jason Dillaman
9ca496a7d1
qa/suite/rbd: simple migration import test case
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-11-02 19:58:55 -05:00
Sage Weil
2ee9365d0b
qa: log-whitelist -> log-ignorelist
...
Signed-off-by: Sage Weil <sage@newdream.net>
2020-08-24 19:53:08 +00:00
Mykola Golub
55024dcb74
qa/suites/rbd: run c api tests on immutable object cache
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-07-23 15:54:18 +01:00
Yin Congmin
1af4ed0a76
librbd/image: fix immutable object cache read failed bug when daemon down
...
Fix bug: read child image failed when enabling immutable object cache and daemon down
Signed-off-by: Yin Congmin <congmin.yin@intel.com>
2020-07-01 14:19:59 -04:00
Yin Congmin
25f1f62cba
qa: add tests for immutable object cache
...
based on qemu task, use immutable_object_cache task to test parent cache
based on rbd_fio task, use immutable_object_cache task to test parent cache
Signed-off-by: Yin Congmin <congmin.yin@intel.com>
Signed-off-by: Feng Hualong <hualong.feng@intel.com>
2020-07-01 14:19:59 -04:00
Mykola Golub
a834e7115e
qa/suites/rbd: enable random distro for nbd tests
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2020-05-09 16:36:49 +01:00
Jason Dillaman
267af5fcae
qa/suites/rbd: tweak 'require_osd_release' to 'pacific'
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-04-14 08:43:29 -04:00
Jason Dillaman
5cf9cd5d1c
Merge pull request #33900 from dillaman/wip-44459
...
qa/suites/rbd: removed OpenStack tempest test cases
Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-03-12 19:22:22 -04:00
Jason Dillaman
232d48f511
qa/suites/rbd: removed OpenStack tempest test cases
...
The OpenStack tempests tests do not stay stable and break approximately
every six months. Remove the test suite for now.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-03-11 15:36:22 -04:00
Jason Dillaman
606d866393
qa/suites/rbd: exercise different snapshot-based mirroring image features
...
Ensure that snapshot-based mirroring is tested in different RBD image
feature combinations.
Fixes: https://tracker.ceph.com/issues/44396
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-03-10 19:23:02 -04:00
Kefu Chai
63f5528930
Merge pull request #33584 from liewegas/fix-39525
...
compressor/lz4: work around bug in liblz4 versions <1.8.2
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-03-04 12:44:38 +08:00
Sage Weil
8c8fb59dcf
qa/objectstore: test all bluestore compression algorithms
...
Signed-off-by: Sage Weil <sage@redhat.com>
2020-03-02 13:01:22 -06:00
Jason Dillaman
d6f4ce2a38
qa: test cases for snapshot-based mirroring
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-03-02 10:53:44 -05:00
Jason Dillaman
1e7e13036b
Merge pull request #33493 from zhengchengyao/read
...
librbd: improved support for balanced and localized reads
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2020-02-27 16:18:20 -05:00
zhengyin
18e683932e
test: add read balance mode test case
...
Signed-off-by: Zheng Yin <zhengyin@cmss.chinamobile.com>
2020-02-26 21:33:27 +08:00
Sridhar Seshasayee
e527067666
qa: Whitelist 'slow request' within a bunch of tests
...
Signed-off-by: Sridhar Seshasayee <sseshasa@redhat.com>
2020-02-24 19:59:56 +05:30
Jason Dillaman
ffa791f540
qa: move existing rbd-mirror functional test to journal-specific test
...
A new functional test for snapshot-based mirroring will be created and
the other stress-tests should eventually be applied to both snapshot-
and journal-based mirroring.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2020-01-30 10:26:36 -05:00
Patrick Donnelly
02b3883dd0
Merge PR #32363 into master
...
* refs/pull/32363/head:
qa: add .qa link
Reviewed-by: Sage Weil <sage@redhat.com>
2020-01-06 12:18:12 -08:00
Jason Dillaman
e9daf2d034
qa/suites/rbd: fixed download path for Ubuntu Bionic
...
The OS image was changed in a9ee4bcf24
from Xenial to Bionic,
but the Bionic image path is incorrect.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-12-23 15:20:35 -05:00
Patrick Donnelly
4562823a19
qa: add .qa link
...
Continuation of 716db6e2fd
.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2019-12-19 14:31:09 -08:00
Sage Weil
a9ee4bcf24
qa/suites/rbd/openstack: use 18.04, not 16.04
...
Signed-off-by: Sage Weil <sage@redhat.com>
2019-12-16 17:11:47 -06:00
Jason Dillaman
a6bf714a16
qa/suites/rbd: fix errant tab in yaml which is causing parsing failures
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-10-15 13:51:58 -04:00
Mykola Golub
a3b1373535
Merge pull request #30558 from dillaman/wip-41555
...
rbd-mirror: image status should report remote status
Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-10-15 14:20:12 +03:00
Sage Weil
71d74aa8c6
qa: more tries for mon tell when injecting msgr failures
...
With failure injection the default 2 tries isn't quite enough
Signed-off-by: Sage Weil <sage@redhat.com>
2019-10-11 14:16:42 -05:00
Jason Dillaman
eaec1786ee
qa/workunits/rbd: tweak mirror test case to handle peer status
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-10-08 11:17:15 -04:00
David Zafman
ded58ef91d
test: Ignore OSD_SLOW_PING_TIME* if injecting socket failures
...
Fixes: https://tracker.ceph.com/issues/41743
Signed-off-by: David Zafman <dzafman@redhat.com>
2019-10-03 09:09:10 -07:00
Jason Dillaman
85f98c01c0
qa/suites/rbd: test case for rbd-mirror bootstrap
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-09-20 08:09:21 -04:00
Jason Dillaman
63a8f6c2c3
qa: test case for new rbd background tasks
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-07-25 08:58:37 -04:00
Mykola Golub
11e2951243
qa/suites/rbd: allow to test with require-min-compat-client octopus
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-06-23 10:06:45 +01:00
Nathan Cutler
47645be3bb
qa/rbd: add cram-based snap diff test
...
Fixes: http://tracker.ceph.com/issues/39447
Signed-off-by: Shyukri Shyukriev <shshyukriev@suse.com>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-06-14 09:42:23 +02:00
Mykola Golub
34112907a7
Merge pull request #27694 from dillaman/wip-39386
...
qa/suites/rbd: added writearound cache test permutations
Reviewed-by: Mykola Golub <mgolub@suse.com>
2019-04-22 18:13:02 +03:00
Jason Dillaman
ead16e9ad7
qa/suites/rbd: added writearound cache test permutations
...
Also tweaked the existing writeback cache test permutations to
specify the use of the writeback cache policy.
Fixes: http://tracker.ceph.com/issues/39386
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-04-19 14:11:43 -04:00
Jason Dillaman
d83d598c12
qa/suites/rbd: add random distro selection to librbd tests
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-04-18 08:57:04 -04:00
Mykola Golub
1a2243403d
qa/suites/rbd: enable QOS functional test
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2019-03-22 14:59:01 +00:00
Jason Dillaman
8410cb05bd
qa/suites/rbd: enable partial discard test
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-02-26 07:42:36 -05:00
Mykola Golub
8cd3062323
rbd-mirror: use active/active policy by default
...
Fixes: http://tracker.ceph.com/issues/38453
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2019-02-25 11:23:25 -05:00
Sage Weil
9ee3ce1ecd
Merge PR #25345 into master
...
* refs/pull/25345/head:
qa/suites: fix bluestore links
qa/objectstore: bluestore -> bluestore-{bitmap,stupid}
Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2018-12-06 08:42:04 -06:00
Sage Weil
269910fc8b
qa/suites: fix bluestore links
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-12-05 10:30:14 -06:00
Jason Dillaman
6ac41ccbaf
Merge pull request #24214 from iridescent-rsy/bursting_io
...
librbd: reduce the TokenBucket fill cycle and support bursting io configuration
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-11-09 19:53:55 -05:00
Shiyang Ruan
fd613b1c32
librbd: make the minimum of schedule tick for QoS configurable.
...
Signed-off-by: Shiyang Ruan <ruansy.fnst@cn.fujitsu.com>
2018-11-07 13:28:56 +08:00
Shiyang Ruan
761393a955
librbd: support burst limit configuration.
...
Signed-off-by: Shiyang Ruan <ruansy.fnst@cn.fujitsu.com>
2018-11-07 13:25:53 +08:00
Jason Dillaman
c1f950236b
qa/tasks: qemu task now uses a relative path in suite repo for test
...
This makes it easier to re-run tests against a suite branch without
requiring a full ceph-ci build and repo.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-10-11 20:23:39 -04:00
Jason Dillaman
3e8f16b484
qa/suites/rbd: increase librbd debug level for mirror-thrash
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-24 15:12:26 -04:00
Jason Dillaman
d3a1a831ac
qa/workunits/rbd: new test for rbd-mirror peer config-key secrets
...
Fixes: http://tracker.ceph.com/issues/24688
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-09-13 09:58:34 -04:00
Ilya Dryomov
592f566b4e
qa/tasks/cram: tasks now must live in the repository
...
Commit 0d8887652d
("qa/tasks/cram: use suite_repo repository for all
cram jobs") removed hardcoded git.ceph.com links, but as it turned out
it is still used for nightlies. There is no good way to accommodate
the different URL schemes, so let's get rid of URLs altogether.
Fixes: https://tracker.ceph.com/issues/27211
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-09-06 22:32:39 +02:00
Ilya Dryomov
0d8887652d
qa/tasks/cram: use suite_repo repository for all cram jobs
...
Currently git.ceph.com is hardcoded for all cram jobs. Testing
modifications is a pain: one needs to push to either ceph/ceph.git or
ceph/ceph-ci.git (depending on where the ceph branch is at, triggering
unnecessary builds in the latter case) and wait for the mirror to sync.
Runs scheduled against branches in developer's forks fail.
Move away from git.ceph.com to allow mixing branches and repositories,
similar to workunits.
Fixes: https://tracker.ceph.com/issues/27211
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-09-03 22:07:20 +02:00
Patrick Donnelly
b39f9d06dc
qa: fix symlinks indirectly pointing at qa to .qa
...
Building on the previous commit.
Command used:
$ find suites/ -type l -and -not -name .qa -execdir ~/fix.sh {} \;
fix.sh:
#!/bin/bash
link="$(readlink "$1")"
echo $link
dirlink="$(dirname "$link")"
baselink="$(basename "$link")"
while true; do
echo $dirlink
if [ "$dirlink" -ef ~/ceph/qa ]; then
ln -nsf ".qa/$baselink" "$1"
exit
else
baselink="$(basename "$dirlink")/$baselink"
dirlink="$(dirname "$dirlink")"
if [ "$dirlink" -ef . ]; then
break
fi
fi
done
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-06-26 11:48:38 -07:00
Patrick Donnelly
716db6e2fd
qa: add .qa helper link
...
This utilizes the recent feature in teuthology [1] to skip hidden files in
suites when building the job matrix.
Idea of this change is to enable referring to the top-level qa directory in a
position-independent way such that copies of a suite to another location do not
break any symlinks.
[1] https://github.com/ceph/teuthology/pull/1185
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-06-26 11:33:48 -07:00
Jason Dillaman
21ec764499
qa/tasks: rbd_mirror_thrash should wait for daemon exit before restarting
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-31 09:48:47 -04:00
David Zafman
918921ab2f
test: Need to escape parens in log-whitelist for grep
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-05-21 09:47:59 -07:00