[Avocado-devel] 'module' object has no attribute 'TestNAError'

Lukáš Doktor ldoktor at redhat.com
Wed Sep 9 16:51:56 UTC 2015


Well, Andrei, try running "rpm -qV autotest-framework", maybe something 
happened on your machine...

Dne 9.9.2015 v 18:49 Lucas Meneghel Rodrigues napsal(a):
> I've just tried in my spare RHEL7 VM and the definition is also there.
>
> Maybe there's a corruption / badly installed rpm in your machine?
>
> On Wed, Sep 9, 2015 at 1:40 PM, Andrei Stepanov <astepano at redhat.com>
> wrote:
>> Hello
>>
>> I am trying to run test unattended_install
>> It fails..
>>
>>
>> In logs I can see:
>>
>> 18:11:12 test             L0499 ERROR| ERROR
>> io-github-autotest-qemu.unattended_install.url.extra_cdrom_ks.default_install.aio_threads.1
>> -> AttributeError: 'module' object has no attribute 'TestNAError'
>>
>> 18:11:11 stacktrace       L0039 ERROR| Reproduced traceback from:
>> /mnt/tests/spice/qe-tests/avocado/avocado/core/plugins/vt.py:573
>> 18:11:11 stacktrace       L0042 ERROR| Traceback (most recent call last):
>> 18:11:11 stacktrace       L0042 ERROR|   File
>> "/mnt/tests/spice/qe-tests/avocado/avocado/core/plugins/vt.py", line
>> 367, in runTest
>> 18:11:11 stacktrace       L0042 ERROR|     except error.TestNAError,
>> details:
>> 18:11:11 stacktrace       L0042 ERROR| AttributeError: 'module' object
>> has no attribute 'TestNAError'
>> 18:11:11 stacktrace       L0043 ERROR|
>> 18:11:11 test             L0482 ERROR| Traceback (most recent call last):
>>
>> 18:11:11 test             L0482 ERROR|   File
>> "/mnt/tests/spice/qe-tests/avocado/avocado/core/plugins/vt.py", line
>> 615, in _run_avocado
>>     raise test_exception
>>
>> 18:11:11 test             L0482 ERROR| AttributeError: 'module' object
>> has no attribute 'TestNAError'
>>
>>
>>
>> # rpm -q autotest-framework
>> autotest-framework-0.16.2-1.el7.noarch
>>
>> grep -rn TestNAError /usr/lib/python2.7/site-packages/autotest
>>
>> nothing
>>
>>
>>
>> Full logs now available at:
>>
>> http://astepano1.brq.redhat.com/job-results/job-2015-09-09T18.11-481cfe4/job.log
>>
>>
>>
>>
>
> _______________________________________________
> Avocado-devel mailing list
> Avocado-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/avocado-devel




More information about the Avocado-devel mailing list