[libvirt] Need help with running libvirt-test-api

Kairui Song kasong at redhat.com
Fri Jun 9 06:42:29 UTC 2017


Hi,

I can confirmed it's a bug introduced by commit e55e0ce9, you can revert it
or apply the patch in the attachments.

On Fri, Jun 9, 2017 at 12:27 AM, <lmurthy at codeaurora.org> wrote:

> Hi All,
>   I am new to libvirt; to create a virtual machine using libvirt-test-API
> framework, I am starting with "repos/domain/linux_domain.conf".
>   Before starting the script, I downloaded Fedora-Server-DVD-aarch64-23.iso
> under /var/lib/libvirt/images, and changed the parameter
> "testfullimagepath" under global.cfg to reflect the path of iso image.
> On trying to run the script using python libvirt-test-api --casefile
> /home/fedora/libvirt-test-API/cases/linux_domain.conf -l 1
> I am getting below error message. Please let me know how to resolve this.
>
>
> Log file:
> root at null-8cfdf006971f:~/libvirt-test-API# python libvirt-test-api
> --casefile /home/ubuntu/libvirt-test-API/cases/linux_domain.conf -l 1
>
> Parameter guestname is required
> the No.1 : domain:install_linux_cdrom
>
> Parameter guestname is required
> the No.2 : domain:install_linux_check
>
> Parameter guestname is required
> the No.3 : domain:shutdown
>
> Parameter guestname is required
> the No.4 : domain:start
>
> Parameter guestname is required
> the No.5 : domain:guest_time
>
> Parameter guestname is required
> the No.6 : domain:set_guest_time
>
> Parameter guestname is required
> the No.8 : domain:securitylabel
>
> Parameter guestname is required
> the No.9 : domain:coredump_with_format
>
> Parameter guestname is required
> the No.10 : domain:destroy
>
> Parameter guestname is required
> the No.11 : domain:undefine
>
> Parameter guestname is required
> the No.12 : domain:define
>
> Parameter guestname is required
> the No.13 : domain:suspend
>
> Parameter guestname is required
> the No.14 : domain:resume
>
> Parameter guestname is required
> the No.15 : domain:autostart
>
> Parameter guestname is required
> the No.16 : domain:ifstats
>
> Parameter guestname is required
> the No.17 : domain:blkstats
>
> Parameter guestname is required
> the No.18 : domain:dump
>
> Parameter guestname is required
> the No.19 : domain:attach_disk
>
> Parameter guestname is required
> the No.20 : domain:detach_disk
>
> Parameter guestname is required
> the No.21 : domain:cpu_affinity
>
> Parameter guestname is required
> the No.22 : domain:balloon_memory
>
> Parameter guestname is required
> the No.23 : domain:open_graphicsfd
>
> Parameter guestname is required
> the No.24 : domain:domain_fsfreeze
>
> Parameter guestname is required
> the No.25 : domain:domain_fsthaw
>
> Parameter guestname is required
> the No.26 : virconn:connection_security_model
>
> Parameter guestname is required
> the No.27 : domain:cpu_status
>
> Parameter guestname is required
> the No.28 : domain:set_memory_period
>
> Parameter guestname is required
> the No.29 : domain:add_del_iothread
>
> Parameter guestname is required
> the No.30 : domain:pin_iothread
>
> Parameter guestname is required
> the No.31 : domain:info_iothread
>
> Parameter guestname is required
> the No.32 : domain:fsinfo
>
> Parameter guestname is required
> the No.33 : domain:set_user_passwd
>
> root at null-8cfdf006971f:~/libvirt-test-API#
> root at null-8cfdf006971f:~/libvirt-test-API#
>
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
>



-- 
Best Regards,
Kairui Song
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170609/460a717a/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-parsing-error.patch
Type: text/x-patch
Size: 1511 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170609/460a717a/attachment-0001.bin>


More information about the libvir-list mailing list