Unit tests failing with requests 2.8.0

Bug #1505326 reported by Brant Knudson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Invalid
Critical
Brant Knudson
OpenStack-Ansible
Fix Released
High
Jesse Pretorius
Kilo
Fix Released
High
Jesse Pretorius
Liberty
Fix Released
High
Jesse Pretorius
Trunk
Fix Released
High
Jesse Pretorius

Bug Description

When the tests are run, a bunch of them fail:

pkg_resources.ContextualVersionConflict: (requests 2.8.0 (/home/jenkins/workspace/gate-keystone-python27/.tox/py27/lib/python2.7/site-packages), Requirement.parse('requests!=2.8.0,>=2.5.2'), set(['oslo.policy']))

global-requirements has requests!=2.8.0 , but something must be pulling in that version of requests!

Revision history for this message
Brant Knudson (blk-u) wrote :

From the log, looks like keystoneclient is the culprit:

.tox/py27/log/py27-2.log:Collecting requests>=2.5.2 (from python-keystoneclient>=1.6.0->keystone==9.0.0.dev110)

Revision history for this message
Brant Knudson (blk-u) wrote :

I proposed changes to release keystoneclient and keystonemiddleware, hopefully this will help:

keystoneclient: https://review.openstack.org/233761
keystonemiddleware: https://review.openstack.org/#/c/233763/

Dolph Mathews (dolph)
Changed in keystone:
importance: Undecided → Critical
status: New → Confirmed
Changed in openstack-ansible:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Jesse Pretorius (jesse-pretorius)
milestone: none → 12.0.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/233756
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=81a750da5ee5cd2b63eae5f13d37372dce6f0cf3
Submitter: Jenkins
Branch: master

commit 81a750da5ee5cd2b63eae5f13d37372dce6f0cf3
Author: Jesse Pretorius <email address hidden>
Date: Mon Oct 12 19:09:58 2015 +0100

    Block/cap incompatible libraries

    This updates the global requirements to block requests 2.8.0 due to:
      https://launchpad.net/bugs/1476770 and
      https://launchpad.net/bugs/1503768 and
      https://launchpad.net/bugs/1505326

    And also blocks oslo.messaging 2.6.0 temporarily due to:
      https://launchpad.net/bugs/1505295

    And also blocks oslo.versionedobjects 0.11.0 temporarily due to:
      https://launchpad.net/bugs/1505677

    And also blocks WebOb<1.5.0 temporarily due to:
      https://launchpad.net/bugs/1505153

    Related-Bug: #1476770
    Related-Bug: #1503768
    Related-Bug: #1505326
    Related-Bug: #1505295
    Related-Bug: #1505153
    Related-Bug: #1505677
    Change-Id: I3aabbf717ef21a41c7bb9d21957df838642926f0

Revision history for this message
Brant Knudson (blk-u) wrote :

Marking invalid for keystone since it wasn't actually a bug in keystone.

This was corrected by the release of keystonemiddleware and python-keystoneclient, unfortunately the release caused a new bug since it included capping WebOb which wasn't supposed to be in a release, so now there's new releases. That's bug 1505996 .

Changed in keystone:
assignee: nobody → Brant Knudson (blk-u)
status: Confirmed → Invalid
Changed in openstack-ansible:
milestone: 12.0.0 → 12.1.0
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.