Comment 2 for bug 1555079

Revision history for this message
Ivan (iremizov) wrote :

The problem is in dependencies:

==================================== ERRORS ====================================
_____________ ERROR collecting devops/tests/test_libvirt_driver.py _____________
devops/tests/test_libvirt_driver.py:21: in <module>
    from devops.tests import factories
devops/tests/factories.py:19: in <module>
    import factory
.tox/py27/local/lib/python2.7/site-packages/factory/__init__.py:43: in <module>
    from .faker import Faker
.tox/py27/local/lib/python2.7/site-packages/factory/faker.py:41: in <module>
    import faker
.tox/py27/local/lib/python2.7/site-packages/faker/__init__.py:4: in <module>
    from faker.factory import Factory
.tox/py27/local/lib/python2.7/site-packages/faker/factory.py:10: in <module>
    from faker.config import DEFAULT_LOCALE, PROVIDERS, AVAILABLE_LOCALES
.tox/py27/local/lib/python2.7/site-packages/faker/config.py:13: in <module>
    AVAILABLE_LOCALES = find_available_locales(PROVIDERS)
.tox/py27/local/lib/python2.7/site-packages/faker/utils/loading.py:19: in find_available_locales
    provider_module = import_module(provider_path)
/usr/lib/python2.7/importlib/__init__.py:37: in import_module
    __import__(name)
.tox/py27/local/lib/python2.7/site-packages/faker/providers/internet/__init__.py:6: in <module>
    from ipaddress import ip_address, ip_network, IPV4LENGTH, IPV6LENGTH
E ImportError: No module named ipaddress
__________ ERROR collecting devops/tests/test_libvirt_xml_builder.py ___________
devops/tests/test_libvirt_xml_builder.py:23: in <module>
    from devops.tests import factories
devops/tests/factories.py:19: in <module>
    import factory
.tox/py27/local/lib/python2.7/site-packages/factory/__init__.py:43: in <module>
    from .faker import Faker
.tox/py27/local/lib/python2.7/site-packages/factory/faker.py:41: in <module>
    import faker
.tox/py27/local/lib/python2.7/site-packages/faker/__init__.py:4: in <module>
    from faker.factory import Factory
.tox/py27/local/lib/python2.7/site-packages/faker/factory.py:10: in <module>
    from faker.config import DEFAULT_LOCALE, PROVIDERS, AVAILABLE_LOCALES
.tox/py27/local/lib/python2.7/site-packages/faker/config.py:13: in <module>
    AVAILABLE_LOCALES = find_available_locales(PROVIDERS)
.tox/py27/local/lib/python2.7/site-packages/faker/utils/loading.py:19: in find_available_locales
    provider_module = import_module(provider_path)
/usr/lib/python2.7/importlib/__init__.py:37: in import_module
    __import__(name)
.tox/py27/local/lib/python2.7/site-packages/faker/providers/internet/__init__.py:6: in <module>
    from ipaddress import ip_address, ip_network, IPV4LENGTH, IPV6LENGTH
E ImportError: No module named ipaddress
________________ ERROR collecting devops/tests/test_manager.py _________________
devops/tests/test_manager.py:30: in <module>
    from devops.tests import factories
devops/tests/factories.py:19: in <module>
    import factory
.tox/py27/local/lib/python2.7/site-packages/factory/__init__.py:43: in <module>
    from .faker import Faker
.tox/py27/local/lib/python2.7/site-packages/factory/faker.py:41: in <module>
    import faker
.tox/py27/local/lib/python2.7/site-packages/faker/__init__.py:4: in <module>
    from faker.factory import Factory
.tox/py27/local/lib/python2.7/site-packages/faker/factory.py:10: in <module>
    from faker.config import DEFAULT_LOCALE, PROVIDERS, AVAILABLE_LOCALES
.tox/py27/local/lib/python2.7/site-packages/faker/config.py:13: in <module>
    AVAILABLE_LOCALES = find_available_locales(PROVIDERS)
.tox/py27/local/lib/python2.7/site-packages/faker/utils/loading.py:19: in find_available_locales
    provider_module = import_module(provider_path)
/usr/lib/python2.7/importlib/__init__.py:37: in import_module
    __import__(name)
.tox/py27/local/lib/python2.7/site-packages/faker/providers/internet/__init__.py:6: in <module>
    from ipaddress import ip_address, ip_network, IPV4LENGTH, IPV6LENGTH
E ImportError: No module named ipaddress

looks like deps are incompatible or outdated.

Git rev. is dbe556d3bd55285aec28bda2875c83d11af5965d