ubuntu 14 failed to run tox -e genconf

Bug #1623308 reported by yong sheng gong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
yong sheng gong
Liberty
Won't Fix
High
yong sheng gong
Mitaka
Won't Fix
High
yong sheng gong

Bug Description

  Could not find .egg-info directory in install record for warlock>=1.0.1,!=1.3.0,<2 (from python-glanceclient>=2.3.0,!=2.4.0->-r /home/ubuntu/kolla/test-requirements.txt (line 18))
  Running setup.py install for positional
    ERROR:root:Error parsing
    Traceback (most recent call last):
      File "/home/ubuntu/kolla/.tox/py27/local/lib/python2.7/site-packages/pbr/core.py", line 111, in pbr
        attrs = util.cfg_to_args(path, dist.script_args)
      File "/home/ubuntu/kolla/.tox/py27/local/lib/python2.7/site-packages/pbr/util.py", line 264, in cfg_to_args
        wrap_commands(kwargs)
      File "/home/ubuntu/kolla/.tox/py27/local/lib/python2.7/site-packages/pbr/util.py", line 566, in wrap_commands
        cmdclass = ep.resolve()
      File "/home/ubuntu/kolla/.tox/py27/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2255, in resolve
        module = __import__(self.module_name, fromlist=['__name__'], level=0)
      File "/home/ubuntu/kolla/.tox/py27/local/lib/python2.7/site-packages/testrepository/setuptools_command.py", line 33, in <module>
        from testrepository import commands
      File "/home/ubuntu/kolla/.tox/py27/local/lib/python2.7/site-packages/testrepository/commands/__init__.py", line 40, in <module>
        import subunit
      File "/home/ubuntu/kolla/.tox/py27/local/lib/python2.7/site-packages/subunit/__init__.py", line 129, in <module>
        from extras import safe_hasattr
    ImportError: No module named extras
    error in setup command: Error parsing /home/ubuntu/kolla/.tox/py27/build/positional/setup.cfg: ImportError: No module named extras
    Complete output from command /home/ubuntu/kolla/.tox/py27/bin/python2.7 -c "import setuptools, tokenize;__file__='/home/ubuntu/kolla/.tox/py27/build/positional/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-fLnawr-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/ubuntu/kolla/.tox/py27/include/site/python2.7:
    ERROR:root:Error parsing

Traceback (most recent call last):

  File "/home/ubuntu/kolla/.tox/py27/local/lib/python2.7/site-packages/pbr/core.py", line 111, in pbr

    attrs = util.cfg_to_args(path, dist.script_args)

  File "/home/ubuntu/kolla/.tox/py27/local/lib/python2.7/site-packages/pbr/util.py", line 264, in cfg_to_args

    wrap_commands(kwargs)

  File "/home/ubuntu/kolla/.tox/py27/local/lib/python2.7/site-packages/pbr/util.py", line 566, in wrap_commands

    cmdclass = ep.resolve()

  File "/home/ubuntu/kolla/.tox/py27/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2255, in resolve

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

  File "/home/ubuntu/kolla/.tox/py27/local/lib/python2.7/site-packages/testrepository/setuptools_command.py", line 33, in <module>

    from testrepository import commands

  File "/home/ubuntu/kolla/.tox/py27/local/lib/python2.7/site-packages/testrepository/commands/__init__.py", line 40, in <module>

    import subunit

  File "/home/ubuntu/kolla/.tox/py27/local/lib/python2.7/site-packages/subunit/__init__.py", line 129, in <module>

    from extras import safe_hasattr

ImportError: No module named extras

error in setup command: Error parsing /home/ubuntu/kolla/.tox/py27/build/positional/setup.cfg: ImportError: No module named extras

----------------------------------------
Cleaning up...
Command /home/ubuntu/kolla/.tox/py27/bin/python2.7 -c "import setuptools, tokenize;__file__='/home/ubuntu/kolla/.tox/py27/build/positional/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-fLnawr-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/ubuntu/kolla/.tox/py27/include/site/python2.7 failed with error code 1 in /home/ubuntu/kolla/.tox/py27/build/positional
Traceback (most recent call last):
  File "../bin/pip", line 11, in <module>
    sys.exit(main())
  File "/home/ubuntu/kolla/.tox/py27/local/lib/python2.7/site-packages/pip/__init__.py", line 185, in main
    return command.main(cmd_args)
  File "/home/ubuntu/kolla/.tox/py27/local/lib/python2.7/site-packages/pip/basecommand.py", line 161, in main
    text = '\n'.join(complete_log)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 29: ordinal not in range(128)

ERROR: could not install deps [-r/home/ubuntu/kolla/requirements.txt, -r/home/ubuntu/kolla/test-requirements.txt]
____________________________________________________ summary ____________________________________________________
ERROR: py27: could not install deps [-r/home/ubuntu/kolla/requirements.txt, -r/home/ubuntu/kolla/test-requirements.txt]

Changed in kolla:
assignee: nobody → yong sheng gong (gongysh)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.openstack.org/369796

Changed in kolla:
status: New → In Progress
Steven Dake (sdake)
Changed in kolla:
importance: Undecided → High
milestone: none → newton-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/369796
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=8f5a42c1f002e04fe564e7a9f8e5ac1353f118a1
Submitter: Jenkins
Branch: master

commit 8f5a42c1f002e04fe564e7a9f8e5ac1353f118a1
Author: gong yong sheng <gong.yongsheng@99cloud.net>
Date: Wed Sep 14 10:59:53 2016 +0800

    Add extras and pytz>=2013.6 into test requirements

    These two modules are seemingly installed in ubuntu 16 and Fedora
    systems. Ubuntu 14 needs them to be included explicitly.

    Change-Id: I3e56453c36be20b160ba61a26015ec8ed0fa02a4
    Closes-bug: 1623308

Changed in kolla:
status: In Progress → 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.