lop-devops / tests

Test Suite
GNU General Public License v3.0
4 stars 41 forks source link

libvirt-mem: Fixing hotplug attach device suite #337

Open misanjumn opened 1 month ago

misanjumn commented 1 month ago

libvirt-mem: Fixing hotplug attach device tests

Removing the memory parameters to take the default parameters from subtest cfg Add cpu and other topology values to match the libvirt mem subtest script

Signed-off-by: Misbah Anjum N misanjum@linux.vnet.ibm.com

misanjumn commented 1 month ago

Before Patch

Test Status: FAIL

 (2153/2986) type_specific.io-github-autotest-libvirt.libvirt_mem.positive_test.memory.cold.plug.max_slots.without_reboot:  FAIL: error: Failed to attach device from /var/tmp/xml_utils_temp_8dfkwcy3.xml\nerror: unsupported configuration: Attaching memory device with size '8388608' would exceed domain's maxMemory config size '67108864'\n (25.85 s)
 (2155/2986) type_specific.io-github-autotest-libvirt.libvirt_mem.positive_test.memory.cold.plug.max_slots.with_rand_reboot:  FAIL: error: Failed to attach device from /var/tmp/xml_utils_temp_sspscnnt.xml\nerror: unsupported configuration: Attaching memory device with size '8388608' would exceed domain's maxMemory config size '67108864'\n (30.75 s)
 (2157/2986) type_specific.io-github-autotest-libvirt.libvirt_mem.positive_test.memory.cold.unplug.max_slots.without_reboot:  FAIL: error: Failed to attach device from /var/tmp/xml_utils_temp_pgu9o4v5.xml\nerror: unsupported configuration: Attaching memory device with size '8388608' would exceed domain's maxMemory config size '67108864'\n (26.72 s)
 (2159/2986) type_specific.io-github-autotest-libvirt.libvirt_mem.positive_test.memory.cold.unplug.max_slots.with_rand_reboot:  FAIL: error: Failed to attach device from /var/tmp/xml_utils_temp_oskvmbsg.xml\nerror: unsupported configuration: Attaching memory device with size '8388608' would exceed domain's maxMemory config size '67108864'\n (27.88 s)

After Patch

Test Status: PASS

 (06/12) type_specific.io-github-autotest-libvirt.libvirt_mem.positive_test.memory.cold.plug.max_slots.without_reboot:  PASS (80.23 s)
 (07/12) type_specific.io-github-autotest-libvirt.libvirt_mem.positive_test.memory.cold.plug.max_slots.with_rand_reboot:  PASS (85.62 s)
 (08/12) type_specific.io-github-autotest-libvirt.libvirt_mem.positive_test.memory.cold.unplug.max_slots.without_reboot:  PASS (91.62 s)
 (09/12) type_specific.io-github-autotest-libvirt.libvirt_mem.positive_test.memory.cold.unplug.max_slots.with_rand_reboot:  PASS (554.62 s)