stable/juno unit tests blocked: ContextualVersionConflict: (oslo.i18n 1.3.1 (/home/jenkins/workspace/periodic-glance-python27-juno/.tox/py27/lib/python2.7/site-packages), Requirement.parse('oslo.i18n>=1.5.0'), set(['oslo.utils', 'pycadf']))

Bug #1458968 reported by Adam Gandelman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Invalid
Undecided
Unassigned
Nominated for Juno by Dolph Mathews
keystonemiddleware
Invalid
Undecided
Unassigned

Bug Description

stable/juno unit tests are failing on (multiple) dependency conflicts. Reproducible outside the gate simply running the py27 or py26 tox env locally:

Tests in glance.tests.unit.test_opts fail with:

ContextualVersionConflict: (oslo.i18n 1.3.1 (/home/jenkins/workspace/periodic-glance-python27-juno/.tox/py27/lib/python2.7/site-packages), Requirement.parse('oslo.i18n>=1.5.0'), set(['oslo.utils', 'pycadf']))

This isn't affecting stable/juno tempest runs of this stuff since devstack sets up libraries directly from tip of the stable branches, where requirements have been updated to avoid this. Those fixes haven't been pushed out via releases to pypi, which is what the unit tests rely on.

There are two paths of conflict

glance (stable/juno) (keystonemiddleware>=1.0.0,<1.4.0)
  -> keystonemiddleware (1.3.1) (pycadf>=0.6.0)
      -> pycadf (0.9.0)
          -> CONFLICT oslo.config>=1.9.3 # Apache-2.0
          -> CONFLICT oslo.i18n>=1.5.0 # Apache-2.0

As per GR, we should be getting pycadf>=0.6.0,!=0.6.2,<0.7.0, but keystomemiddleware's uncapped dep is pulling in the newer.
https://review.openstack.org/#/c/173123/ resolves the issue by adding the proper stable/juno caps to keystonemiddleware stable/juno, but it looks like those changes need to be released as keystonemiddlware 1.3.2

summary: - stable/juno unit tests wedged: ContextualVersionConflict: (oslo.i18n
+ stable/juno unit tests blocked: ContextualVersionConflict: (oslo.i18n
1.3.1 (/home/jenkins/workspace/periodic-glance-
python27-juno/.tox/py27/lib/python2.7/site-packages),
Requirement.parse('oslo.i18n>=1.5.0'), set(['oslo.utils', 'pycadf']))
Revision history for this message
Dolph Mathews (dolph) wrote :
Changed in glance:
status: New → Invalid
Changed in keystonemiddleware:
status: New → Invalid
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.