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

add case for changing requested size value of virtio-mem

Open nanli1 opened this issue 1 year ago • 4 comments

xxxx-299165: Change requested memory of virtio-mem memory device

Signed-off-by: nanli [email protected]

x86+RHEL9

 avocado run --vt-type libvirt --test-runner=runner --vt-machine-type q35 memory.devices.virtio_mem.change_memory

 (1/4) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.normal_requested.shutoff_guest: PASS (50.99 s)
 (2/4) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.zero_requested.shutoff_guest: PASS (59.30 s)
 (3/4) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.bigger_requested.shutoff_guest: PASS (58.27 s)
 (4/4) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.not_mutiple_of_block_requested.shutoff_guest: PASS (49.00 s)
 (01/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.file.normal_requested.running_guest: PASS (160.46 s)
 (02/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.file.zero_requested.running_guest: PASS (159.12 s)
 (03/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.file.bigger_requested.running_guest: PASS (159.73 s)
 (04/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.file.not_mutiple_of_block_requested.running_guest: PASS (168.38 s)
 (05/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.hugepages.normal_requested.running_guest: PASS (168.34 s)
 (06/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.hugepages.zero_requested.running_guest: PASS (159.13 s)
 (07/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.hugepages.bigger_requested.running_guest: PASS (168.42 s)
 (08/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.hugepages.not_mutiple_of_block_requested.running_guest: PASS (168.35 s)
 (09/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.memfd.normal_requested.running_guest: PASS (158.92 s)
 (10/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.memfd.zero_requested.running_guest: PASS (168.44 s)
 (11/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.memfd.bigger_requested.running_guest: PASS (168.33 s)
 (12/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.memfd.not_mutiple_of_block_requested.running_guest: PASS (168.46 s)
 (13/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.normal_requested.running_guest: PASS (168.26 s)
 (14/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.zero_requested.running_guest: PASS (159.71 s)
 (15/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.bigger_requested.running_guest: PASS (159.78 s)
 (16/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.not_mutiple_of_block_requested.running_guest: PASS (159.73 s)


arm+RHEL9

avocado run --vt-type libvirt --test-runner=runner --vt-machine-type arm64-mmio  memory.devices.virtio_mem.change_memory
 (01/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.file.normal_requested.running_guest: PASS (139.03 s)
 (02/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.file.zero_requested.running_guest: PASS (138.09 s)
 (03/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.file.bigger_requested.running_guest: PASS (137.03 s)
 (04/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.file.not_mutiple_of_block_requested.running_guest: PASS (137.95 s)
 (05/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.hugepages.normal_requested.running_guest: PASS (137.74 s)
 (06/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.hugepages.zero_requested.running_guest: PASS (137.52 s)
 (07/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.hugepages.bigger_requested.running_guest: PASS (138.14 s)
 (08/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.hugepages.not_mutiple_of_block_requested.running_guest: PASS (137.52 s)
 (09/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.memfd.normal_requested.running_guest: /
PASS (135.55 s)
 (10/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.memfd.zero_requested.running_guest: PASS (134.94 s)
 (11/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.memfd.bigger_requested.running_guest: PASS (137.45 s)
 (12/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.memfd.not_mutiple_of_block_requested.running_guest: PASS (139.19 s)
 (13/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.normal_requested.shutoff_guest: PASS (54.85 s)
 (14/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.normal_requested.running_guest: PASS (136.80 s)
 (15/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.zero_requested.shutoff_guest: PASS (54.94 s)
 (16/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.zero_requested.running_guest: PASS (135.69 s)
 (17/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.bigger_requested.shutoff_guest: PASS (55.60 s)
 (18/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.bigger_requested.running_guest: PASS (137.85 s)
 (19/20) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.not_mutiple_of_block_requested.shutoff_guest: PASS (53.58 s)


nanli1 avatar Nov 17 '23 09:11 nanli1

Arm: Virtio-mem request kernel version is >5.14 , and rhel 8 kernel version is 4.18 , so we don' t need to consider this case on Arm

Plz try 9.x, thanks!

Yingshun avatar Nov 21 '23 01:11 Yingshun

Feature owner is still updating the polarion case to maker step and matrix be more clear ,

nanli1 avatar Feb 01 '24 07:02 nanli1

@nanli1 please solve the conflicts

dzhengfy avatar Mar 28 '24 07:03 dzhengfy

One thing needs to be confirmed

  1. There are memTotal value issue , Feature owner is checking it's a bug or not.

nanli1 avatar Apr 10 '24 15:04 nanli1

@dzhengfy This pr has been around for almost 6 month, plz help review it ASAP. Thanks!

Yingshun avatar Apr 26 '24 03:04 Yingshun

avocado run --vt-type libvirt --test-runner=runner --vt-machine-type q35 memory.devices.virtio_mem.change_memory..running_guest
JOB LOG    : /var/lib/avocado/job-results/job-2024-04-28T05.41-a2ef0df/job.log
 (01/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.file.normal_requested.running_guest: PASS (206.31 s)
 (02/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.file.zero_requested.running_guest: PASS (205.21 s)
 (03/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.file.bigger_requested.running_guest: PASS (203.85 s)
 (04/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.file.not_mutiple_of_block_requested.running_guest: PASS (203.68 s)
 (05/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.hugepages.normal_requested.running_guest: PASS (204.09 s)
 (06/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.hugepages.zero_requested.running_guest: PASS (206.83 s)
 (07/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.hugepages.bigger_requested.running_guest: PASS (206.66 s)
 (08/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.hugepages.not_mutiple_of_block_requested.running_guest: PASS (204.07 s)
 (09/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.memfd.normal_requested.running_guest: PASS (206.11 s)
 (10/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.memfd.zero_requested.running_guest: PASS (206.53 s)
 (11/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.memfd.bigger_requested.running_guest: PASS (205.72 s)
 (12/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.memfd.not_mutiple_of_block_requested.running_guest: PASS (208.11 s)
 (13/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.normal_requested.running_guest: PASS (203.44 s)
 (14/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.zero_requested.running_guest: PASS (205.72 s)
 (15/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.bigger_requested.running_guest: PASS (204.01 s)
 (16/16) type_specific.io-github-autotest-libvirt.memory.devices.virtio_mem.change_memory.undefined.not_mutiple_of_block_requested.running_guest: PASS (207.85 s)

nanli1 avatar Apr 28 '24 12:04 nanli1