[Avocado-devel] Issue running type_specific.io-github-autotest-qemu.pci_hotplug.hotplug_block.blk_virtio_blk.with_reboot:

Navine Thomas navine.thomas at oracle.com
Fri May 4 07:43:05 UTC 2018


Hi
When running the test case - 
type_specific.io-github-autotest-qemu.pci_hotplug.hotplug_block.blk_virtio_blk.with_reboot, 
I see the following error -
  "Could find a suitable method for hotplugging drive in this version of 
qemu" in the log file.

2018-05-04 00:02:24,025 stacktrace       L0044 ERROR| Reproduced 
traceback from: /usr/lib/python2.7/site-packages/avocado_vt/test.py:406
2018-05-04 00:02:24,026 stacktrace       L0047 ERROR| Traceback (most 
recent call last):
2018-05-04 00:02:24,026 stacktrace       L0047 ERROR|   File 
"/usr/lib/python2.7/site-packages/autotest/client/shared/error.py", line 
140, in new_fn
2018-05-04 00:02:24,026 stacktrace       L0047 ERROR|     return 
fn(*args, **kwargs)
2018-05-04 00:02:24,026 stacktrace       L0047 ERROR|   File 
"/var/lib/avocado/data/avocado-vt/test-providers.d/downloads/io-github-autotest-qemu/qemu/tests/pci_hotplug.py", 
line 331, in run
2018-05-04 00:02:24,027 stacktrace       L0047 ERROR|     raise 
error.TestError("Could find a suitable method for hotplugging"
2018-05-04 00:02:24,027 stacktrace       L0047 ERROR| TestError: Could 
find a suitable method for hotplugging drive in this version of qemu

Its failing at 
https://github.com/autotest/tp-qemu/blob/master/qemu/tests/pci_hotplug.py

325    drive_cmd_type = is_supported_command("drive_add", 
"__com.redhat_drive_add")
326    if not drive_cmd_type:
327        test.error("Could find a suitable method for hotplugging"
328                         " drive in this version of qemu")


Is there something wrong with my configuration that "drive_add" is not 
supported? I've tried with the default JeOS and also Fedora. The qemu 
version I'm running is 2.10.


Thanks
Navine






More information about the Avocado-devel mailing list