[ovirt-devel] OST failing in 004_basic_sanity add_filter_parameter
Juan Hernández
jhernand at redhat.com
Wed Jun 28 10:21:29 UTC 2017
On 06/28/2017 11:14 AM, Milan Zamazal wrote:
> Daniel Belenky <dbelenky at redhat.com> writes:
>
>> Can you please provide more logs? lago.log and the test_logs dir will
>> assist to get down to the issue
>
> Hi, I've hit the problem too. It seems to be as simple as that the
> given method is not defined, we don't know what's missing. Here is the
> traceback:
>
> File "/usr/lib64/python2.7/unittest/case.py", line 369, in run
> testMethod()
> File "/usr/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
> self.test(*self.arg)
> File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 129, in wrapped_test
> test()
> File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 59, in wrapper
> return func(get_test_prefix(), *args, **kwargs)
> File "/usr/lib/python2.7/site-packages/ovirtlago/testlib.py", line 78, in wrapper
> prefix.virt_env.engine_vm().get_api(api_ver=4), *args, **kwargs
> File "/home/pdm/ovirt/lago/ovirt-system-tests/basic-suite-master/test-scenarios/004_basic_sanity.py", line 414, in add_filter_parameter
> ovirt_api4.system_service())
> File "/home/pdm/ovirt/lago/ovirt-system-tests/basic-suite-master/test-scenarios/004_basic_sanity.py", line 74, in _get_network_fiter_parameters_service
> return nics_service.nic_service(id=nic.id)\
> AttributeError: 'VmNicService' object has no attribute 'network_filter_parameters_service'
>
> I'm attaching lago.log, I'll send you test_logs privately not to pollute
> the mailing list.
>
The network filter parameters concept was added in version 4.2.9 of the
specification of the API. The python SDK is currently using version
4.2.6 of that specification, so that method will simply not be there. We
need to update the SDK to use the newer version of the model, and then
you need to use that new version of the SDK.
>
>
>
>> On Tue, Jun 27, 2017 at 6:16 PM, Valentina Makarova <makarovavs07 at gmail.com>
>> wrote:
>>
>>> Hello!
>>>
>>> After pull last master branch of ovirt_system_tests 004 test fails
>>> in add_filter_parameter in basic-suite-master with error:
>>>
>>> AttributeError: 'VmNicService' object has no attribute
>>> 'network_filter_parameters_service'
>>>
>>> After first running fail I updated all yum packages using yum upgrade,
>>> updated lago, lago-ovirt, ovirt-sdk-python
>>> using pip install --upgrade. And I have next version of this packages:
>>> lago (0.39.0), lago-ovirt (0.41.0)
>>> ovirt-engine-sdk-python (4.1.5)
>>> But error is still open. (I run ./run_suilte without -s. and it should
>>> update internal repo)
>>>
>>> Do I forget to update something else?
>>>
>>> Sincerely, Valentina Makarova
>>>
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/devel
>>>
>>>
>>>
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/devel
More information about the Devel
mailing list