Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 40 additions & 6 deletions config/tests/guest/libvirt/ras.cfg
Original file line number Diff line number Diff line change
@@ -1,26 +1,36 @@
include tests-shared.cfg

# Basic VM credentials and identification
username = root
password = 123456
main_vm = avocado-vt-vm1
vms = avocado-vt-vm1

#Network
nettype = bridge
netdst=virbr0

# Using Text mode of installation
display = 'nographic'

take_regular_screendumps = no
keep_screendumps_on_error = no
keep_screendumps = no
store_vm_register = no

# Binaries path
virt_install_binary = /usr/bin/virt-install
qemu_img_binary = /usr/bin/qemu-img
qemu_binary = /usr/bin/qemu-system-ppc64
emulator_path = /usr/bin/qemu-system-ppc64

# VM settings
use_os_variant=yes
hvm_or_pv = hvm
machine_type = pseries
only bridge
no xen, lxc, esx, ovmf

#Filterout unwanted disk types
no ide,xenblk,lsi_scsi,ahci,sd
no qed,qcow2v3,raw_dd,vmdk, usb2
Expand All @@ -31,28 +41,52 @@ only no_9p_export
only no_pci_assignable
only (image_backend=filesystem)
only smallpages

# CPU and Memory
smp = 32
vcpu_cores = 32
vcpu_threads = 1
vcpu_sockets = 1
# 32G
mem = 32768

# Test Variants
variants:
- guest_import:
only unattended_install.import.import.default_install.aio_native

- guest_ras:
variants:
- non_acl:
# virsh dump tests with no crash utility
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl
no virsh.dump.positive_test.non_acl.pause_dump.live
no virsh.dump.positive_test.non_acl.live_dump
no virsh.dump.positive_test.non_acl.invalid_image_format

- acl_test:
action_lookup = "connect_driver:QEMU domain_name:${main_vm}"
only virsh.dump.positive_test.acl_test
# # virsh dump acl tests with no crash utility - COMMENTED OUT FOR NOW
# - virsh_dump.acl_test:
# action_lookup = "connect_driver:QEMU domain_name:${main_vm}"
# only virsh.dump.positive_test.acl_test
# no virsh.dump.positive_test.acl_test.pause_dump.live
# no virsh.dump.positive_test.acl_test.live_dump
# no virsh.dump.positive_test.acl_test.invalid_image_format

- negative:
# virsh dump negative tests with no crash utility
- virsh_dump.negative_test:
only virsh.dump.negative_test
no virsh.dump.negative_test.invalid_option2
no virsh.dump.negative_test.invalid_option3

# virsh dump tests with crash utility
- virsh_dump.crash_utility_tests:
only virsh.dump.crash_utility_tests

# guest kdump tests
- guest_kdump:
only guest_kernel_debugging.guest_kdump
no guest_kernel_debugging.guest_kdump.kdump_with_stress
no guest_kernel_debugging.guest_kdump.two_guests_kdump_with_stress
no guest_kernel_debugging.guest_kdump.four_guests_kdump_with_stress

- guest_remove:
only remove_guest.without_disk
104 changes: 104 additions & 0 deletions config/tests/guest/libvirt/ras_p1.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
include tests-shared.cfg

# Basic VM credentials and identification
username = root
password = 123456
main_vm = avocado-vt-vm1
vms = avocado-vt-vm1

#Network
nettype = bridge
netdst=virbr0

# Using Text mode of installation
display = 'nographic'

take_regular_screendumps = no
keep_screendumps_on_error = no
keep_screendumps = no
store_vm_register = no

# Binaries path
virt_install_binary = /usr/bin/virt-install
qemu_img_binary = /usr/bin/qemu-img
qemu_binary = /usr/bin/qemu-system-ppc64
emulator_path = /usr/bin/qemu-system-ppc64

# VM settings
use_os_variant=yes
hvm_or_pv = hvm
machine_type = pseries
only bridge
no xen, lxc, esx, ovmf

#Filterout unwanted disk types
no ide,xenblk,lsi_scsi,ahci,sd
no qed,qcow2v3,raw_dd,vmdk, usb2
no e1000-82540em,e1000-82545em,e1000-82544gc,xennet,nic_custom
only no_virtio_rng
only smp2
only no_9p_export
only no_pci_assignable
only (image_backend=filesystem)
only smallpages

# CPU and Memory
smp = 32
vcpu_cores = 32
vcpu_threads = 1
vcpu_sockets = 1
mem = 32768

# Test Variants
variants:
- guest_import:
only unattended_install.import.import.default_install.aio_native

- guest_ras:
variants:
# virsh dump tests with no crash utility
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.no_option
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.pause_dump.crash
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.pause_dump.reset
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.crash_dump
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.reset_dump
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.lzop_format_dump
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.gzip_format_dump
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.bzip2_format_dump
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.xz_format_dump

# virsh dump tests with crash utility
- virsh_dump.crash_utility_tests:
only virsh.dump.crash_utility_tests.memory_dump.elf_format
- virsh_dump.crash_utility_tests:
only virsh.dump.crash_utility_tests.memory_dump.kdump-zlib_format
- virsh_dump.crash_utility_tests:
only virsh.dump.crash_utility_tests.memory_dump.kdump-lzo_format
- virsh_dump.crash_utility_tests:
only virsh.dump.crash_utility_tests.memory_dump.kdump-snappy_format
- virsh_dump.crash_utility_tests:
only virsh.dump.crash_utility_tests.memory_crash_dump
- virsh_dump.crash_utility_tests:
only virsh.dump.crash_utility_tests.memory_bypass_cache_dump

# guest kdump tests
- guest_kdump:
only guest_kernel_debugging.guest_kdump.kdump_no_stress
- guest_kdump:
only guest_kernel_debugging.guest_kdump.kdump_with_stress_crash_utility
- guest_kdump:
only guest_kernel_debugging.guest_kdump.two_guests_kdump_no_stress
- guest_kdump:
only guest_kernel_debugging.guest_kdump.two_guests_kdump_with_stress_crash_utility

- guest_remove:
only remove_guest.without_disk
76 changes: 76 additions & 0 deletions config/tests/guest/libvirt/ras_p2.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
include tests-shared.cfg

# Basic VM credentials and identification
username = root
password = 123456
main_vm = avocado-vt-vm1
vms = avocado-vt-vm1

#Network
nettype = bridge
netdst=virbr0

# Using Text mode of installation
display = 'nographic'

take_regular_screendumps = no
keep_screendumps_on_error = no
keep_screendumps = no
store_vm_register = no

# Binaries path
virt_install_binary = /usr/bin/virt-install
qemu_img_binary = /usr/bin/qemu-img
qemu_binary = /usr/bin/qemu-system-ppc64
emulator_path = /usr/bin/qemu-system-ppc64

# VM settings
use_os_variant=yes
hvm_or_pv = hvm
machine_type = pseries
only bridge
no xen, lxc, esx, ovmf

#Filterout unwanted disk types
no ide,xenblk,lsi_scsi,ahci,sd
no qed,qcow2v3,raw_dd,vmdk, usb2
no e1000-82540em,e1000-82545em,e1000-82544gc,xennet,nic_custom
only no_virtio_rng
only smp2
only no_9p_export
only no_pci_assignable
only (image_backend=filesystem)
only smallpages

# CPU and Memory
smp = 32
vcpu_cores = 32
vcpu_threads = 1
vcpu_sockets = 1
mem = 32768

# Test Variants
variants:
- guest_import:
only unattended_install.import.import.default_install.aio_native

- guest_ras:
variants:
# virsh dump tests with no crash utility
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.bypass_cache_dump
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.bypass_cache_reset_dump
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.include_guest_memory_dump
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.exclude_guest_memory_dump

# guest kdump tests
- guest_kdump:
only guest_kernel_debugging.guest_kdump.four_guests_kdump_no_stress
- guest_kdump:
only guest_kernel_debugging.guest_kdump.four_guests_kdump_with_stress_crash_utility

- guest_remove:
only remove_guest.without_disk
92 changes: 92 additions & 0 deletions config/tests/guest/libvirt/ras_p3.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
include tests-shared.cfg

# Basic VM credentials and identification
username = root
password = 123456
main_vm = avocado-vt-vm1
vms = avocado-vt-vm1

#Network
nettype = bridge
netdst=virbr0

# Using Text mode of installation
display = 'nographic'

take_regular_screendumps = no
keep_screendumps_on_error = no
keep_screendumps = no
store_vm_register = no

# Binaries path
virt_install_binary = /usr/bin/virt-install
qemu_img_binary = /usr/bin/qemu-img
qemu_binary = /usr/bin/qemu-system-ppc64
emulator_path = /usr/bin/qemu-system-ppc64

# VM settings
use_os_variant=yes
hvm_or_pv = hvm
machine_type = pseries
only bridge
no xen, lxc, esx, ovmf

#Filterout unwanted disk types
no ide,xenblk,lsi_scsi,ahci,sd
no qed,qcow2v3,raw_dd,vmdk, usb2
no e1000-82540em,e1000-82545em,e1000-82544gc,xennet,nic_custom
only no_virtio_rng
only smp2
only no_9p_export
only no_pci_assignable
only (image_backend=filesystem)
only smallpages

# CPU and Memory
smp = 32
vcpu_cores = 32
vcpu_threads = 1
vcpu_sockets = 1
mem = 32768

# Test Variants
variants:
- guest_import:
only unattended_install.import.import.default_install.aio_native

- guest_ras:
variants:
# virsh dump tests with no crash utility
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.memory_dump.default_format
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.memory_dump.elf_format
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.memory_dump.kdump-zlib_format
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.memory_dump.kdump-lzo_format
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.memory_dump.kdump-snappy_format
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.memory_crash_dump
- virsh_dump.positive_test:
only virsh.dump.positive_test.non_acl.memory_bypass_cache_dump

# virsh dump negative tests with no crash utility
- virsh_dump.negative_test:
only virsh.dump.negative_test.no_dump_file
- virsh_dump.negative_test:
only virsh.dump.negative_test.unexist_dir_dump
- virsh_dump.negative_test:
only virsh.dump.negative_test.invalid_option1
- virsh_dump.negative_test:
only virsh.dump.negative_test.invalid_option4
- virsh_dump.negative_test:
only virsh.dump.negative_test.shutoff_dump
- virsh_dump.negative_test:
only virsh.dump.negative_test.acl_test
- virsh_dump.negative_test:
only virsh.dump.negative_test.no_space_left

- guest_remove:
only remove_guest.without_disk