Skip to content

Commit a58bd68

Browse files
Misbah Anjum Nspoorthys1303
authored andcommitted
Update backuprestore.cfg to fix parameter
The virsh.snapshot_create_as.negative_tests.network_disk.iscsi.device_lun requires bus as "scsi" and target as "sdb" The default bus "virtio" (virtio-blk) and default disk "sda" are leading to error since virtio-blk is not support for iscsi emulation and default disk sda is leading to duplicacy. Signed-off-by: Misbah Anjum N <misanjum@linux.vnet.ibm.com>
1 parent 0c1a92e commit a58bd68

1 file changed

Lines changed: 54 additions & 43 deletions

File tree

‎config/tests/guest/libvirt/backuprestore.cfg‎

Lines changed: 54 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -45,48 +45,59 @@ variants:
4545
only unattended_install.import.import.default_install.aio_native
4646

4747
- guest_backuprestore:
48-
only virsh.snapshot_dumpxml,virsh.snapshot_par_cur,virsh.snapshot_disk,virsh.snapshot_create_as
49-
#Skipping qed 98 test cases ,as these are supported only for libvirt having version 1.1.0
50-
no virsh.snapshot_disk..attach_img_qed
51-
#gluster not supported on HOST OS
52-
no virsh.snapshot_disk.no_delete.positive_test.no_pool.network_disk
53-
no virsh.snapshot_disk.no_delete.negative_test.no_pool.network_disk
54-
#Skipping test case due to bug (https://bugzilla.redhat.com/show_bug.cgi?id=1083345)
55-
no virsh.snapshot_disk.delete_test.positive_test.no_pool.attach_img_qcow2.snapshot_from_xml.disk_internal.memory_no
56-
no virsh.snapshot_disk.delete_test.positive_test.pool_vol
57-
no virsh.snapshot_disk.no_delete.positive_test.no_pool.attach_img_qcow2.snapshot_from_xml.disk_internal.memory_no
58-
no virsh.snapshot_disk.no_delete.positive_test.pool_vol.dir_pool.attach_img_qcow2.v_qcow2.snapshot_from_xml.disk_internal.memory_no
59-
no virsh.snapshot_disk.no_delete.positive_test.pool_vol.dir_pool.attach_img_qcow2.v_qcow2v3.snapshot_from_xml.disk_internal.memory_no
60-
no virsh.snapshot_disk.no_delete.positive_test.pool_vol.netfs_pool.attach_img_qcow2.v_qcow2.snapshot_from_xml.disk_internal.memory_no
61-
no virsh.snapshot_disk.no_delete.positive_test.pool_vol.netfs_pool.attach_img_qcow2.v_qcow2v3.snapshot_from_xml.disk_internal.memory_no
62-
no virsh.snapshot_disk.no_delete.positive_test.pool_vol.netfs_gluster_pool.attach_img_qcow2.v_qcow2.snapshot_from_xml.disk_internal.memory_no
63-
no virsh.snapshot_disk.no_delete.positive_test.pool_vol.netfs_gluster_pool.attach_img_qcow2.v_qcow2v3.snapshot_from_xml.disk_internal.memory_no
64-
#Blocked by bug 152314
65-
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.disk_only_spec
66-
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.check_libvirtd_log
67-
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.quiesce_with_diskonly.with_diskspec
68-
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.live_memspec.compress_default
69-
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.live_memspec.compress_format.raw
70-
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.live_memspec.compress_format.xz
71-
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.live_memspec.compress_format.lzop
72-
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.live_memspec.compress_format.gzip
73-
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.live_memspec.compress_format.bzip2
74-
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.no_metadata_with_memspec
75-
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.reuse_external
76-
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.multi_disk_external
77-
no virsh.snapshot_create_as.positive_tests.acl_test.file_disk.no_snapshot_attr.name_with_double_dash
78-
no virsh.snapshot_create_as.positive_tests.acl_test.file_disk.no_snapshot_attr.quiesce_with_diskonly.no_diskspec
79-
no virsh.snapshot_create_as.positive_tests.acl_test.file_disk.no_snapshot_attr.atomic_with_diskonly
80-
no virsh.snapshot_create_as.positive_tests.acl_test.file_disk.no_snapshot_attr.no_metadata
81-
no virsh.snapshot_create_as.positive_tests.acl_test.file_disk.no_snapshot_attr.no_metadata_with_diskonly
82-
no virsh.snapshot_create_as.positive_tests.acl_test.file_disk.no_snapshot_attr.multi_snapshots
83-
no virsh.snapshot_create_as.positive_tests.non_acl.file_disk.with_snapshot_attr.disk_only_spec
84-
no virsh.snapshot_create_as..quiesce_without_diskonly
85-
no virsh.snapshot_create_as.positive_tests.disk_only_spec
86-
no virsh.snapshot_create_as.positive_tests.reuse_external
87-
no virsh.snapshot_create_as.positive_tests.multi_snapshots
88-
no virsh.snapshot_create_as..gluster
89-
no virsh.snapshot_disk.delete_test
90-
48+
variants:
49+
- snapshot:
50+
only virsh.snapshot_dumpxml,virsh.snapshot_par_cur,virsh.snapshot_disk,virsh.snapshot_create_as
51+
# Skipping qed 98 test cases ,as these are supported only for libvirt having version 1.1.0
52+
no virsh.snapshot_disk..attach_img_qed
53+
# Gluster not supported on HOST OS
54+
no virsh.snapshot_disk.no_delete.positive_test.no_pool.network_disk
55+
no virsh.snapshot_disk.no_delete.negative_test.no_pool.network_disk
56+
# Skipping test case due to bug (https://bugzilla.redhat.com/show_bug.cgi?id=1083345)
57+
no virsh.snapshot_disk.delete_test.positive_test.no_pool.attach_img_qcow2.snapshot_from_xml.disk_internal.memory_no
58+
no virsh.snapshot_disk.delete_test.positive_test.pool_vol
59+
no virsh.snapshot_disk.no_delete.positive_test.no_pool.attach_img_qcow2.snapshot_from_xml.disk_internal.memory_no
60+
no virsh.snapshot_disk.no_delete.positive_test.pool_vol.dir_pool.attach_img_qcow2.v_qcow2.snapshot_from_xml.disk_internal.memory_no
61+
no virsh.snapshot_disk.no_delete.positive_test.pool_vol.dir_pool.attach_img_qcow2.v_qcow2v3.snapshot_from_xml.disk_internal.memory_no
62+
no virsh.snapshot_disk.no_delete.positive_test.pool_vol.netfs_pool.attach_img_qcow2.v_qcow2.snapshot_from_xml.disk_internal.memory_no
63+
no virsh.snapshot_disk.no_delete.positive_test.pool_vol.netfs_pool.attach_img_qcow2.v_qcow2v3.snapshot_from_xml.disk_internal.memory_no
64+
no virsh.snapshot_disk.no_delete.positive_test.pool_vol.netfs_gluster_pool.attach_img_qcow2.v_qcow2.snapshot_from_xml.disk_internal.memory_no
65+
no virsh.snapshot_disk.no_delete.positive_test.pool_vol.netfs_gluster_pool.attach_img_qcow2.v_qcow2v3.snapshot_from_xml.disk_internal.memory_no
66+
# Blocked by bug 152314
67+
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.disk_only_spec
68+
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.check_libvirtd_log
69+
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.quiesce_with_diskonly.with_diskspec
70+
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.live_memspec.compress_default
71+
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.live_memspec.compress_format.raw
72+
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.live_memspec.compress_format.xz
73+
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.live_memspec.compress_format.lzop
74+
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.live_memspec.compress_format.gzip
75+
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.live_memspec.compress_format.bzip2
76+
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.no_metadata_with_memspec
77+
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.reuse_external
78+
no virsh.snapshot_create_as..file_disk.no_snapshot_attr.multi_disk_external
79+
no virsh.snapshot_create_as.positive_tests.acl_test.file_disk.no_snapshot_attr.name_with_double_dash
80+
no virsh.snapshot_create_as.positive_tests.acl_test.file_disk.no_snapshot_attr.quiesce_with_diskonly.no_diskspec
81+
no virsh.snapshot_create_as.positive_tests.acl_test.file_disk.no_snapshot_attr.atomic_with_diskonly
82+
no virsh.snapshot_create_as.positive_tests.acl_test.file_disk.no_snapshot_attr.no_metadata
83+
no virsh.snapshot_create_as.positive_tests.acl_test.file_disk.no_snapshot_attr.no_metadata_with_diskonly
84+
no virsh.snapshot_create_as.positive_tests.acl_test.file_disk.no_snapshot_attr.multi_snapshots
85+
no virsh.snapshot_create_as.positive_tests.non_acl.file_disk.with_snapshot_attr.disk_only_spec
86+
# Needs change of parameter, running it later
87+
no virsh.snapshot_create_as.negative_tests.network_disk.iscsi.device_lun
88+
no virsh.snapshot_create_as..quiesce_without_diskonly
89+
no virsh.snapshot_create_as.positive_tests.disk_only_spec
90+
no virsh.snapshot_create_as.positive_tests.reuse_external
91+
no virsh.snapshot_create_as.positive_tests.multi_snapshots
92+
no virsh.snapshot_create_as..gluster
93+
no virsh.snapshot_disk.delete_test
94+
95+
# Default virtio (virtio-blk) is not supported for iscsi emulation
96+
# Hence, change it to scsi bus
97+
- snapshot_create_as.negative_tests.network_disk.iscsi.device_lun:
98+
disk_target_bus = "scsi"
99+
disk_target = "sdb"
100+
only virsh.snapshot_create_as.negative_tests.network_disk.iscsi.device_lun
101+
91102
- guest_remove:
92103
only remove_guest.without_disk

0 commit comments

Comments
 (0)