[libvirt] All virsh commands testing failed with git head

Osier Yang jyang at redhat.com
Tue Nov 29 10:59:46 UTC 2011


On 2011年11月29日 18:55, Daniel Veillard wrote:
> On Tue, Nov 29, 2011 at 06:46:26PM +0800, Osier Yang wrote:
>> Part of the error log is pasted, looks like it's caused by
>> the calling of virNodeSuspendInit in virInitialize.
>> ================================
>
>    Weird that worked for me , lemme recheck that everything went in ...
>
>> cd tests; LIBVIRT_DEBUG=1 VIR_TEST_DEBUG=1 ./virshtest; cd -
>> TEST: virshtest
>>   1) virsh list (default)                                              ...
>> Offset 0
>> Expect [ ]
>> Actual [2011-11-29 18:44:38.153: 24448: info : libvirt version: 0.9.7
>> 2011-11-29 18:44:38.153: 24448: error : virNodeSuspendInit:86 :
>> Failed to get host power management features
>>   ]
>
>    Are you running the tests as root ?
> If no, that's weird
> If yes, do you have pm-utils package installed ?

Yes, as root, and pm-utils installed.

[root at foo libvirt]# pm-is-supported --suspend
[root at foo libvirt]# echo $?
0

Regards,
Osier




More information about the libvir-list mailing list