os-net-config: hacking fails to install

Bug #1566463 reported by Dan Prince
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Dan Prince

Bug Description

Got the following failures when trying to run unit tests in os-net-config today:

----
  Running setup.py install for hacking
    ERROR:root:Error parsing
    Traceback (most recent call last):
      File "/tmp/pip-build-tDLCK6/hacking/.eggs/pbr-0.11.1-py2.7.egg/pbr/core.py", line 109, in pbr
        attrs = util.cfg_to_args(path)
      File "/tmp/pip-build-tDLCK6/hacking/.eggs/pbr-0.11.1-py2.7.egg/pbr/util.py", line 261, in cfg_to_args
        wrap_commands(kwargs)
      File "/tmp/pip-build-tDLCK6/hacking/.eggs/pbr-0.11.1-py2.7.egg/pbr/util.py", line 482, in wrap_commands
        for cmd, _ in dist.get_command_list():
      File "/home/dprince/projects/tripleo/os-net-config/.tox/py27/lib/python2.7/site-packages/setuptools/dist.py", line 447, in get_command_list
        cmdclass = ep.resolve()
      File "/home/dprince/projects/tripleo/os-net-config/.tox/py27/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2208, in resolve
        module = __import__(self.module_name, fromlist=['__name__'], level=0)
      File "/home/dprince/projects/tripleo/os-net-config/.tox/py27/lib/python2.7/site-packages/sphinx/setup_command.py", line 21, in <module>
        from six import StringIO, string_types
    ImportError: No module named six
    error in setup command: Error parsing /tmp/pip-build-tDLCK6/hacking/setup.cfg: ImportError: No module named six
    Complete output from command /home/dprince/projects/tripleo/os-net-config/.tox/py27/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-tDLCK6/hacking/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-Rostxf-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/dprince/projects/tripleo/os-net-config/.tox/py27/include/site/python2.7:
    ERROR:root:Error parsing

    Traceback (most recent call last):

      File "/tmp/pip-build-tDLCK6/hacking/.eggs/pbr-0.11.1-py2.7.egg/pbr/core.py", line 109, in pbr

        attrs = util.cfg_to_args(path)

      File "/tmp/pip-build-tDLCK6/hacking/.eggs/pbr-0.11.1-py2.7.egg/pbr/util.py", line 261, in cfg_to_args

        wrap_commands(kwargs)

      File "/tmp/pip-build-tDLCK6/hacking/.eggs/pbr-0.11.1-py2.7.egg/pbr/util.py", line 482, in wrap_commands

        for cmd, _ in dist.get_command_list():

      File "/home/dprince/projects/tripleo/os-net-config/.tox/py27/lib/python2.7/site-packages/setuptools/dist.py", line 447, in get_command_list

        cmdclass = ep.resolve()

      File "/home/dprince/projects/tripleo/os-net-config/.tox/py27/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2208, in resolve

        module = __import__(self.module_name, fromlist=['__name__'], level=0)

      File "/home/dprince/projects/tripleo/os-net-config/.tox/py27/lib/python2.7/site-packages/sphinx/setup_command.py", line 21, in <module>

        from six import StringIO, string_types

    ImportError: No module named six

    error in setup command: Error parsing /tmp/pip-build-tDLCK6/hacking/setup.cfg: ImportError: No module named six

    ----------------------------------------
    Command "/home/dprince/projects/tripleo/os-net-config/.tox/py27/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-tDLCK6/hacking/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-Rostxf-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/dprince/projects/tripleo/os-net-config/.tox/py27/include/site/python2.7" failed with error code 1 in /tmp/pip-build-tDLCK6/hacking

ERROR: could not install deps [-r/home/dprince/projects/tripleo/os-net-config/requirements.txt, -r/home/dprince/projects/tripleo/os-net-config/test-requirements.txt]; v = InvocationError('/home/dprince/projects/tripleo/os-net-config/.tox/py27/bin/pip install -U -r/home/dprince/projects/tripleo/os-net-config/requirements.txt -r/home/dprince/projects/tripleo/os-net-config/test-requirements.txt (see /home/dprince/projects/tripleo/os-net-config/.tox/py27/log/py27-1.log)', 1)
___________________________________ summary ____________________________________
ERROR: py27: could not install deps [-r/home/dprince/projects/tripleo/os-net-config/requirements.txt, -r/home/dprince/projects/tripleo/os-net-config/test-requirements.txt]; v = InvocationError('/home/dprince/projects/tripleo/os-net-config/.tox/py27/bin/pip install -U -r/home/dprince/projects/tripleo/os-net-config/requirements.txt -r/home/dprince/projects/tripleo/os-net-config/test-requirements.txt (see /home/dprince/projects/tripleo/os-net-config/.tox/py27/log/py27-1.log)', 1)

Dan Prince (dan-prince)
Changed in tripleo:
assignee: nobody → Dan Prince (dan-prince)
importance: Undecided → High
Steven Hardy (shardy)
Changed in tripleo:
status: New → Triaged
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/os-net-config 5.0.0.0b1

This issue was fixed in the openstack/os-net-config 5.0.0.0b1 development milestone.

Dan Prince (dan-prince)
Changed in tripleo:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.