tp-libvirt icon indicating copy to clipboard operation
tp-libvirt copied to clipboard

Add VM Lifecycle Management Test

Open veedlaw opened this issue 1 year ago • 2 comments

Automated test case: xxxx-33025

Special Handling for UEFI:

  • The test includes handling for UEFI guests, where the EFI vars NVRAM file is backed up before updating the VM's XML to avoid issues with UEFI VMs.

This PR relies on https://github.com/avocado-framework/avocado-vt/pull/3849) being merged beforehand.

veedlaw avatar Feb 22 '24 11:02 veedlaw

Please add the test results of a run in a comment.

smitterl avatar Feb 27 '24 08:02 smitterl

Test run results:

# avocado run --vt-type libvirt --test-runner=runner my-example-test.destroy
No python imaging library installed. Screendump and Windows guest BSOD detection are disabled. In order to enable it, please install python-imaging or the equivalent for your distro.
No python imaging library installed. PPM image conversion to JPEG disabled. In order to enable it, please install python-imaging or the equivalent for your distro.
JOB ID     : c35459111080439ee4aa7a7ca86d3415371ec731
JOB LOG    : /var/lib/avocado/job-results/job-2024-02-27T07.20-c354591/job.log
 (1/1) type_specific.io-github-autotest-libvirt.my-example-test.destroy: PASS (298.15 s)
RESULTS    : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML   : /var/lib/avocado/job-results/job-2024-02-27T07.20-c354591/results.html
JOB TIME   : 324.19 s
# avocado run --vt-type libvirt --test-runner=runner my-example-test.coredump_destroy
No python imaging library installed. Screendump and Windows guest BSOD detection are disabled. In order to enable it, please install python-imaging or the equivalent for your distro.
No python imaging library installed. PPM image conversion to JPEG disabled. In order to enable it, please install python-imaging or the equivalent for your distro.
JOB ID     : 2a8c317d7dfc091f722c72679de66508f4f4dd30
JOB LOG    : /var/lib/avocado/job-results/job-2024-02-27T07.39-2a8c317/job.log
 (1/1) type_specific.io-github-autotest-libvirt.my-example-test.coredump_destroy: PASS (287.89 s)
RESULTS    : PASS 1 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML   : /var/lib/avocado/job-results/job-2024-02-27T07.39-2a8c317/results.html
JOB TIME   : 313.87 s

veedlaw avatar Feb 27 '24 12:02 veedlaw