autotest / tp-libvirt

Test Provider for Libvirt and related virtualization backends
Other
33 stars 169 forks source link

Transitional_memballoon: update memory size to test in aarch64 #5842

Closed meinaLi closed 2 months ago

meinaLi commented 2 months ago

With the default memory size, the guest can't boot in aarch64. So update it to be also covered in aarch64.

meinaLi commented 2 months ago
# avocado run --vt-type libvirt --test-runner=runner --vt-machine-type q35 virtio_transitional_mem_balloon.default
JOB ID     : 8a35f729c0c28c8035b69b14a8bf1ead0732e0d4
JOB LOG    : /var/log/avocado/job-results/job-2024-08-14T22.12-8a35f72/job.log
 (1/3) type_specific.io-github-autotest-libvirt.virtio_transitional_mem_balloon.default.virtio: PASS (47.55 s)
 (2/3) type_specific.io-github-autotest-libvirt.virtio_transitional_mem_balloon.default.virtio_transitional: PASS (47.94 s)
 (3/3) type_specific.io-github-autotest-libvirt.virtio_transitional_mem_balloon.default.virtio_non_transitional: PASS (48.39 s)
RESULTS    : PASS 3 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML   : /var/log/avocado/job-results/job-2024-08-14T22.12-8a35f72/results.html
JOB TIME   : 144.50 s
meinaLi commented 2 months ago

The test result in aarch64:

# avocado run --vt-type libvirt --test-runner=runner --vt-machine-type arm64-mmio virtio_transitional_rng.default virtio_transitional_vsock.default virtio_transitional_nic.default virtio_transitional_blk.default virtio_transitional_mem_balloon.default
JOB ID     : 87be7f9be4186926fa9d955f88ae8d36a4fad283
JOB LOG    : /var/log/avocado/job-results/job-2024-08-15T02.30-87be7f9/job.log
 (01/12) type_specific.io-github-autotest-libvirt.virtio_transitional_rng.default.boot_test.virtio: PASS (46.31 s)
 (02/12) type_specific.io-github-autotest-libvirt.virtio_transitional_rng.default.boot_test.virtio_non_transitional: PASS (47.93 s)
 (03/12) type_specific.io-github-autotest-libvirt.virtio_transitional_vsock.default.boot_test.virtio: PASS (35.48 s)
 (04/12) type_specific.io-github-autotest-libvirt.virtio_transitional_vsock.default.boot_test.virtio_non_transitional: PASS (35.37 s)
 (05/12) type_specific.io-github-autotest-libvirt.virtio_transitional_nic.default.virtio.boot_test: PASS (141.23 s)
 (06/12) type_specific.io-github-autotest-libvirt.virtio_transitional_nic.default.virtio_non_transitional.boot_test: PASS (46.77 s)
 (07/12) type_specific.io-github-autotest-libvirt.virtio_transitional_blk.default.with_virtio_blk.boot_test.virtio: PASS (33.85 s)
 (08/12) type_specific.io-github-autotest-libvirt.virtio_transitional_blk.default.with_virtio_blk.boot_test.virtio_non_transitional: PASS (33.93 s)
 (09/12) type_specific.io-github-autotest-libvirt.virtio_transitional_blk.default.with_virtio_scsi.boot_test.virtio: PASS (40.88 s)
 (10/12) type_specific.io-github-autotest-libvirt.virtio_transitional_mem_balloon.default.virtio: PASS (47.99 s)
 (11/12) type_specific.io-github-autotest-libvirt.virtio_transitional_mem_balloon.default.virtio_transitional: PASS (49.04 s)
 (12/12) type_specific.io-github-autotest-libvirt.virtio_transitional_mem_balloon.default.virtio_non_transitional: PASS (49.46 s)
RESULTS    : PASS 12 | ERROR 0 | FAIL 0 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML   : /var/log/avocado/job-results/job-2024-08-15T02.30-87be7f9/results.html
JOB TIME   : 608.99 s
meinaLi commented 2 months ago

@dzhengfy @Yingshun Please also help to review this virtio transitional related PR, thanks.