[lago-devel] 'make check' fails due to yaml

Yaniv Kaul ykaul at redhat.com
Tue Mar 1 21:44:08 UTC 2016


On Tue, Mar 1, 2016 at 10:34 PM, David Caro <dcaro at redhat.com> wrote:
>
> did you install the test dependencies? (pip install -r test-requires.txt)

No, I was hoping 'make check' would do it (hopefully in a venv).
I prefer the RPM needed - I installed PyYAML and it worked.
Y.


>
> On 03/01 22:31, Yaniv Kaul wrote:
>> After today's (?) changes:
>> tests/unit/test_config.py::test_nonexistent_throws PASSED
>>
>> =====================================================================================================
>> ERRORS ======================================================================================================
>> ___________________________________________________________________________________
>> ERROR collecting tests/unit/test_dirlock.py
>> ___________________________________________________________________________________
>> tests/unit/test_dirlock.py:27: in <module>
>>     from lago import dirlock
>> lago/dirlock.py:25: in <module>
>>     import utils
>> lago/utils.py:36: in <module>
>>     import yaml
>> E   ImportError: No module named yaml
>> _________________________________________________________________________________
>> ERROR collecting tests/unit/lago/test_prefix.py
>> _________________________________________________________________________________
>> tests/unit/lago/test_prefix.py:6: in <module>
>>     from lago import prefix
>> lago/prefix.py:36: in <module>
>>     import subnet_lease
>> lago/subnet_lease.py:45: in <module>
>>     import utils
>> lago/utils.py:36: in <module>
>>     import yaml
>> E   ImportError: No module named yaml
>> _________________________________________________________________________________
>> ERROR collecting tests/unit/lago/test_utils.py
>> __________________________________________________________________________________
>> tests/unit/lago/test_utils.py:2: in <module>
>>     import yaml
>> E   ImportError: No module named yaml
>> ========================================================================================
>> 7 passed, 3 error in 0.08 seconds
>> ========================================================================================
>> Makefile:52: recipe for target 'check-local' failed
>> make: *** [check-local] Error 1
>>
>>
>>
>> I'm on:
>> commit 5178f92f435791a778d4fbd801baab532819e7b0
>> Merge: 5deacae 79bb6ca
>> Author: Lago CI bot <dcaroest+cibot at redhat.com>
>> Date:   Tue Mar 1 16:38:23 2016 +0100
>>
>>     Merge pull request #151 from lago-project/yaml_init_definition
>>
>>     Added yaml support for the init config file
>> _______________________________________________
>> lago-devel mailing list
>> lago-devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/lago-devel
>
> --
> David Caro
>
> Red Hat S.L.
> Continuous Integration Engineer - EMEA ENG Virtualization R&D
>
> Tel.: +420 532 294 605
> Email: dcaro at redhat.com
> IRC: dcaro|dcaroest@{freenode|oftc|redhat}
> Web: www.redhat.com
> RHT Global #: 82-62605



More information about the lago-devel mailing list