On 2011-05-03,at 10:12:38, wuyu8242 wrote:
>发送日期:2011-05-03 10:12:38
>收件人:Gaston, Jason D; Lucas Meneghel Rodrigues
>抄送:[email protected]
>主题:Re: RE: Re: [Autotest] Running KVM test standalone client
>>
>On 2011-04-30,at 01:09:21, Gaston, Jason D wrote:
>
>>发送日期:2011-04-30 01:09:21
>>收件人:Lucas Meneghel Rodrigues; wuyu8242
>>抄送:[email protected]
>>主题:RE: Re: [Autotest] Running KVM test standalone client
>>>
>>>Fixed in:
>>>
>>>http://autotest.kernel.org/changeset/5341
>>>
>>>Thanks Gaston,
>>>
>>>Lucas
>>>
>>
>>I just pulled down the latest and verified that it is working fine for me.
>
>I verify it under my environment and then paste out the result.
hi Lucas & Jason,
I clone the lastest code from lmr address, i.e.
git://github.com/lmr/autotest.git, just now, and then run the autotest with the
basic 3 cases, but failed, the Error Info as following:
[root@localhost debug]# cat
kvm.virtio_blk.smp2.Fedora.11.64.virtio_net.unattended_install.cdrom.ERROR
05/04 05:23:23 ERROR| kvm:0090| Test failed: AttributeError: 'module'
object has no attribute 'instantiate_vm'
05/04 05:23:23 ERROR| test:0422| Exception escaping from test:
Traceback (most recent call last):
File "/root/abc/autotest/client/common_lib/test.py", line 419, in _exec
_call_test_function(self.execute, *p_args, **p_dargs)
File "/root/abc/autotest/client/common_lib/test.py", line 612, in
_call_test_function
raise error.UnhandledTestFail(e)
UnhandledTestFail: Unhandled AttributeError: 'module' object has no attribute
'instantiate_vm' [context: preprocessing]
Traceback (most recent call last):
File "/root/abc/autotest/client/common_lib/test.py", line 605, in
_call_test_function
return func(*args, **dargs)
File "/root/abc/autotest/client/common_lib/test.py", line 291, in execute
postprocess_profiled_run, args, dargs)
File "/root/abc/autotest/client/common_lib/test.py", line 208, in
_call_run_once
self.run_once_profiling(postprocess_profiled_run,
File "/root/abc/autotest/client/common_lib/test.py", line 315, in
run_once_profiling
self.run_once(*args, **dargs)
File "/root/abc/autotest/client/tests/kvm/kvm.py", line 77, in run_once
virt_env_process.preprocess(self, params, env)
File "/root/abc/autotest/client/common_lib/error.py", line 138, in new_fn
return fn(*args, **kwargs)
File "/root/abc/autotest/client/virt/virt_env_process.py", line 250, in
preprocess
process(test, params, env, preprocess_image, preprocess_vm)
File "/root/abc/autotest/client/virt/virt_env_process.py", line 182, in
process
vm_func(test, vm_params, env, vm_name)
File "/root/abc/autotest/client/virt/virt_env_process.py", line 57, in
preprocess_vm
vm = virt_vm.instantiate_vm(vm_type=vm_type, name=name, params=params,
AttributeError: 'module' object has no attribute 'instantiate_vm'
wuyu
>>Thank you,
>>
>>Jason
>>
>>
>
>
>------------------
>wuyu8242
>2011-05-03
>
------------------
wuyu8242
2011-05-04
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest