← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1182271] Re: Nova unit tests fail on CentOS 6 when python-jinja2 package is installed

 

Abandoned that change. Apparently it should now be possible to simply
uncap requests since we've started doing a pip install -U to work around
the previoys site packages related breakage. I'll propose that revert to
nova instead and see how it fares.

** Changed in: openstack-ci
       Status: In Progress => Invalid

** Changed in: openstack-ci
   Importance: Medium => Undecided

** Changed in: nova
       Status: Fix Released => In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1182271

Title:
  Nova unit tests fail on CentOS 6 when python-jinja2 package is
  installed

Status in OpenStack Compute (Nova):
  In Progress
Status in OpenStack Core Infrastructure:
  Invalid

Bug description:
  The requests library released 1.2.1 today which brings in sphinx as a
  new dependency. One of sphinx's transitive dependencies is on a newer
  version of jinja than is provided in the python-jinja2 package on
  CentOS 6, and since nova's unit tests allow site-packages in the venv
  for libvirt support this cap is needed so that gate-nova-python26 will
  continue to work.

  2013-05-20 22:58:19.611 | Downloading/unpacking requests>=0.8 (from python-cinderclient>=1.0.1->-r /home/jenkins/workspace/gate-nova-python26/tools/pip-requires (line 25))
  2013-05-20 22:58:19.611 |   Running setup.py egg_info for package requests
  2013-05-20 22:58:19.611 |     Couldn't find index page for 'sphinx' (maybe misspelled?)
  2013-05-20 22:58:19.611 |     warning: no files found matching 'README'
  2013-05-20 22:58:19.611 |     no previously-included directories found matching 'doc/_build'
  2013-05-20 22:58:19.611 |     
  2013-05-20 22:58:19.611 |     Installed /home/jenkins/workspace/gate-nova-python26/.tox/py26/build/requests/Sphinx-1.2b1-py2.6.egg
  2013-05-20 22:58:19.611 |     Searching for docutils>=0.7
  2013-05-20 22:58:19.611 |     Reading http://pypi.openstack.org/openstack/docutils/
  2013-05-20 22:58:19.611 |     Reading http://pypi.openstack.org/openstack/docutils/?C=S;O=A
  2013-05-20 22:58:19.612 |     Reading http://pypi.openstack.org/openstack/docutils/?C=N;O=D
  2013-05-20 22:58:19.612 |     Reading http://pypi.openstack.org/openstack/docutils/?C=D;O=A
  2013-05-20 22:58:19.612 |     Reading http://pypi.openstack.org/openstack/docutils/?C=M;O=A
  2013-05-20 22:58:19.612 |     Best match: docutils 0.10
  2013-05-20 22:58:19.612 |     Downloading http://pypi.openstack.org/openstack/docutils/docutils-0.10.tar.gz
  2013-05-20 22:58:19.612 |     Processing docutils-0.10.tar.gz
  2013-05-20 22:58:19.612 |     Writing /tmp/tmp.xs1DIWN3pg/easy_install-ma2nIo/docutils-0.10/setup.cfg
  2013-05-20 22:58:19.612 |     Running docutils-0.10/setup.py -q bdist_egg --dist-dir /tmp/tmp.xs1DIWN3pg/easy_install-ma2nIo/docutils-0.10/egg-dist-tmp-DJs1s0
  2013-05-20 22:58:19.612 |     warning: no files found matching 'MANIFEST'
  2013-05-20 22:58:19.612 |     warning: no files found matching '*' under directory 'extras'
  2013-05-20 22:58:19.612 |     warning: no previously-included files matching '.cvsignore' found under directory '*'
  2013-05-20 22:58:19.613 |     warning: no previously-included files matching '*.pyc' found under directory '*'
  2013-05-20 22:58:19.613 |     warning: no previously-included files matching '*~' found under directory '*'
  2013-05-20 22:58:19.613 |     warning: no previously-included files matching '.DS_Store' found under directory '*'
  2013-05-20 22:58:19.613 |     zip_safe flag not set; analyzing archive contents...
  2013-05-20 22:58:19.613 |     docutils.parsers.rst.directives.misc: module references __file__
  2013-05-20 22:58:19.613 |     docutils.writers.docutils_xml: module references __path__
  2013-05-20 22:58:19.613 |     docutils.writers.latex2e.__init__: module references __file__
  2013-05-20 22:58:19.613 |     docutils.writers.odf_odt.__init__: module references __file__
  2013-05-20 22:58:19.613 |     docutils.writers.s5_html.__init__: module references __file__
  2013-05-20 22:58:19.613 |     docutils.writers.html4css1.__init__: module references __file__
  2013-05-20 22:58:19.613 |     docutils.writers.pep_html.__init__: module references __file__
  2013-05-20 22:58:19.613 |     
  2013-05-20 22:58:19.613 |     Installed /home/jenkins/workspace/gate-nova-python26/.tox/py26/build/requests/docutils-0.10-py2.6.egg
  2013-05-20 22:58:19.613 |     Traceback (most recent call last):
  2013-05-20 22:58:19.614 |       File "<string>", line 16, in <module>
  2013-05-20 22:58:19.614 |       File "/home/jenkins/workspace/gate-nova-python26/.tox/py26/build/requests/setup.py", line 55, in <module>
  2013-05-20 22:58:19.614 |         'Programming Language :: Python :: 3.3',
  2013-05-20 22:58:19.614 |       File "/usr/lib64/python2.6/distutils/core.py", line 113, in setup
  2013-05-20 22:58:19.614 |         _setup_distribution = dist = klass(attrs)
  2013-05-20 22:58:19.614 |       File "/home/jenkins/workspace/gate-nova-python26/.tox/py26/lib/python2.6/site-packages/distribute-0.6.34-py2.6.egg/setuptools/dist.py", line 221, in __init__
  2013-05-20 22:58:19.614 |         self.fetch_build_eggs(attrs.pop('setup_requires'))
  2013-05-20 22:58:19.614 |       File "/home/jenkins/workspace/gate-nova-python26/.tox/py26/lib/python2.6/site-packages/distribute-0.6.34-py2.6.egg/setuptools/dist.py", line 245, in fetch_build_eggs
  2013-05-20 22:58:19.614 |         parse_requirements(requires), installer=self.fetch_build_egg
  2013-05-20 22:58:19.615 |       File "/home/jenkins/workspace/gate-nova-python26/.tox/py26/lib/python2.6/site-packages/distribute-0.6.34-py2.6.egg/pkg_resources.py", line 598, in resolve
  2013-05-20 22:58:19.615 |         raise VersionConflict(dist,req) # XXX put more info here
  2013-05-20 22:58:19.615 |     pkg_resources.VersionConflict: (Jinja2 2.2.1 (/usr/lib64/python2.6/site-packages), Requirement.parse('Jinja2>=2.3'))
  2013-05-20 22:58:19.615 |     Complete output from command python setup.py egg_info:
  2013-05-20 22:58:19.615 |     Couldn't find index page for 'sphinx' (maybe misspelled?)

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1182271/+subscriptions