kilo: pkg_resources.ContextualVersionConflict: (fixtures 1.2.1 (/home/jenkins/workspace/periodic-ceilometer-python27-kilo/.tox/py27/lib/python2.7/site-packages), Requirement.parse('fixtures>=1.3.0'), set(['testtools']))

Bug #1555721 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Invalid
Undecided
Matt Riedemann
oslo.db
Fix Released
Critical
Matt Riedemann
Nominated for Kilo by Matt Riedemann

Bug Description

http://logs.openstack.org/periodic-stable/periodic-ceilometer-python27-kilo/028b5e5/console.html#_2016-03-10_06_13_29_443

The problem is testscenarios is uncapped and installed before testtools in test-requirements.txt for ceilometer:

Collecting testtools (from testscenarios>=0.4->oslo.db<1.8.0,>=1.7.0->ceilometer==2015.1.4.dev5)

https://github.com/openstack/ceilometer/blob/stable/kilo/test-requirements.txt#L28

We just have to install testtools first.

Matt Riedemann (mriedem)
tags: added: kilo-backport-potential
Matt Riedemann (mriedem)
Changed in ceilometer:
status: New → In Progress
assignee: nobody → Matt Riedemann (mriedem)
Revision history for this message
Matt Riedemann (mriedem) wrote :

Ah damn, so oslo.db==1.7.3 is getting installed, which requires:

https://github.com/openstack/oslo.db/blob/1.7.3/requirements.txt#L17

Which pulls in testscenarios>=0.4 from it's requirements.txt, and oslo.db is installed from ceilometer's requirements.txt, which gets installed before test-requirements.txt, so we don't get our re-order or cap we can do...

We can't really cap testscenarios in stable/kilo because it has no version range on testtools:

https://github.com/testing-cabal/testscenarios/blob/0.5/requirements.txt#L2

Revision history for this message
Matt Riedemann (mriedem) wrote :

We have to put the testtools dep capped in requirements.txt in oslo.db and release that as 1.7.4.

Changed in oslo.db:
status: New → Confirmed
assignee: nobody → Matt Riedemann (mriedem)
Changed in ceilometer:
status: In Progress → Invalid
Changed in oslo.db:
importance: Undecided → High
importance: High → Critical
Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/oslo.db 1.7.4

This issue was fixed in the openstack/oslo.db 1.7.4 release.

Matt Riedemann (mriedem)
Changed in oslo.db:
status: Confirmed → 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.