提交 b84eb18c 编写于 作者: Q Qianqian Zhu

Add data-plane as a matrix for all block jobs

Signed-off-by: NQianqian Zhu <qizhu@redhat.com>
上级 fdd35e9a
...@@ -18,6 +18,18 @@ ...@@ -18,6 +18,18 @@
base_image = "images/sn1" base_image = "images/sn1"
top_image = "images/sn3" top_image = "images/sn3"
expected_image_file = "images/sn1" expected_image_file = "images/sn1"
variants:
- @default:
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
#Add a redundant iothread for testing purpose
iothreads = "iothread0 iothread1"
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
variants: variants:
- with_payload: - with_payload:
type = block_commit_stress type = block_commit_stress
......
...@@ -21,6 +21,18 @@ ...@@ -21,6 +21,18 @@
kill_vm = yes kill_vm = yes
alive_check_cmd = dir alive_check_cmd = dir
tmp_dir = /tmp tmp_dir = /tmp
variants:
- @default:
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
#Add a redundant iothread for testing purpose
iothreads = "iothread0 iothread1"
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
variants: variants:
- simple_test: - simple_test:
type = block_stream_simple type = block_stream_simple
...@@ -89,15 +101,6 @@ ...@@ -89,15 +101,6 @@
after_finished = "unload_stress reboot verify_alive" after_finished = "unload_stress reboot verify_alive"
variants: variants:
- @default: - @default:
- data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
iothreads = iothread0
virtio_blk:
blk_extra_params_image1 = "iothread=${iothreads}"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=${iothreads}"
- cancel_async: - cancel_async:
wait_finished = no wait_finished = no
cancel_timeout_image1 = 3 cancel_timeout_image1 = 3
......
...@@ -16,6 +16,18 @@ ...@@ -16,6 +16,18 @@
kill_vm = yes kill_vm = yes
alive_check_cmd = dir alive_check_cmd = dir
tmp_dir = /tmp tmp_dir = /tmp
variants:
- @default:
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
#Add a redundant iothread for testing purpose
iothreads = "iothread0 iothread1"
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
variants: variants:
- simple_test: - simple_test:
type = block_stream_negative type = block_stream_negative
......
...@@ -34,6 +34,18 @@ ...@@ -34,6 +34,18 @@
repeat_times = 3 repeat_times = 3
cancel_timeout = 5 cancel_timeout = 5
#For drive_mirror_complete, target image will not be boot by default, as boot_target_image=no #For drive_mirror_complete, target image will not be boot by default, as boot_target_image=no
variants:
- @default:
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
#Add a redundant iothread for testing purpose
iothreads = "iothread0 iothread1"
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
variants: variants:
- 2qcow2: - 2qcow2:
image_format_target = "qcow2" image_format_target = "qcow2"
......
...@@ -32,6 +32,18 @@ ...@@ -32,6 +32,18 @@
repeat_times = 3 repeat_times = 3
cancel_timeout = 5 cancel_timeout = 5
negative_test = yes negative_test = yes
variants:
- @default:
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
#Add a redundant iothread for testing purpose
iothreads = "iothread0 iothread1"
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
variants: variants:
- 2qcow2: - 2qcow2:
image_format_target = "qcow2" image_format_target = "qcow2"
......
...@@ -18,6 +18,18 @@ ...@@ -18,6 +18,18 @@
before_incremental = "stop" before_incremental = "stop"
after_incremental = "verify_job_info reopen" after_incremental = "verify_job_info reopen"
check_params = "" check_params = ""
variants:
- @default:
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
#Add a redundant iothread for testing purpose
iothreads = "iothread0 iothread1"
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
variants: variants:
- @default: - @default:
before_full_backup = "create_files reboot stop" before_full_backup = "create_files reboot stop"
...@@ -38,12 +50,3 @@ ...@@ -38,12 +50,3 @@
granularity = 32768 granularity = 32768
- 131072: - 131072:
granularity = 131072 granularity = 131072
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
iothreads = iothread0
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
...@@ -13,6 +13,18 @@ ...@@ -13,6 +13,18 @@
create_cmd = "dd if=/dev/urandom of=%s bs=1M count=1024" create_cmd = "dd if=/dev/urandom of=%s bs=1M count=1024"
file_create = /var/tmp/file file_create = /var/tmp/file
clean_cmd = rm -f clean_cmd = rm -f
variants:
- @default:
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
#Add a redundant iothread for testing purpose
iothreads = "iothread0 iothread1"
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
variants: variants:
- simple_test: - simple_test:
type = live_snapshot_simple type = live_snapshot_simple
...@@ -104,3 +116,10 @@ ...@@ -104,3 +116,10 @@
force_create_image = yes force_create_image = yes
force_create_image_image1 = no force_create_image_image1 = no
after_finished = "reboot verify_alive" after_finished = "reboot verify_alive"
with_data_plane:
virtio_blk:
blk_extra_params_sn1 = "iothread=iothread0"
blk_extra_params_sn2 = "iothread=iothread1"
virtio_scsi:
bus_extra_params_sn1 = "iothread=iothread0"
bus_extra_params_sn2 = "iothread=iothread1"
...@@ -16,6 +16,18 @@ ...@@ -16,6 +16,18 @@
remove_snapshot_images = yes remove_snapshot_images = yes
pre_command = "sync && echo 3 > /proc/sys/vm/drop_caches" pre_command = "sync && echo 3 > /proc/sys/vm/drop_caches"
post_command = "sync && echo 3 > /proc/sys/vm/drop_caches" post_command = "sync && echo 3 > /proc/sys/vm/drop_caches"
variants:
- @default:
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
#Add a redundant iothread for testing purpose
iothreads = "iothread0 iothread1"
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
variants: variants:
- pause: - pause:
file_create = file_create =
......
...@@ -11,6 +11,18 @@ ...@@ -11,6 +11,18 @@
create_cmd = "dd if=/dev/urandom of=%s bs=1M count=1024" create_cmd = "dd if=/dev/urandom of=%s bs=1M count=1024"
file_create = /var/tmp/file file_create = /var/tmp/file
clean_cmd = rm -f clean_cmd = rm -f
variants:
- @default:
- with_data_plane:
only Host_RHEL.m7
only virtio_blk virtio_scsi
#Add a redundant iothread for testing purpose
iothreads = "iothread0 iothread1"
virtio_blk:
blk_extra_params_image1 = "iothread=iothread0"
virtio_scsi:
no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
bus_extra_params_image1 = "iothread=iothread0"
variants: variants:
- simple_test: - simple_test:
type = live_snapshot_negative type = live_snapshot_negative
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册