OSTF tests failed with pkg_resources.ContextualVersionConflict for requests lib

Bug #1528200 reported by Tatyanka on 2015-12-21
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Critical
Tatyanka

Bug Description

2015-12-21 08:38:51.122 | py27 runtests: commands[2] | ostf-server --config-file /home/jenkins/workspace/gate-fuel-ostf-python27/etc/tools/ostf_ci.conf --after-initialization-environment-hook
2015-12-21 08:38:51.124 | /home/jenkins/workspace/gate-fuel-ostf-python27$ /home/jenkins/workspace/gate-fuel-ostf-python27/.tox/py27/bin/ostf-server --config-file /home/jenkins/workspace/gate-fuel-ostf-python27/etc/tools/ostf_ci.conf --after-initialization-environment-hook
2015-12-21 08:38:51.305 | Traceback (most recent call last):
2015-12-21 08:38:51.306 | File ".tox/py27/bin/ostf-server", line 5, in <module>
2015-12-21 08:38:51.306 | from pkg_resources import load_entry_point
2015-12-21 08:38:51.306 | File "/home/jenkins/workspace/gate-fuel-ostf-python27/.tox/py27/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3084, in <module>
2015-12-21 08:38:51.307 | @_call_aside
2015-12-21 08:38:51.307 | File "/home/jenkins/workspace/gate-fuel-ostf-python27/.tox/py27/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3070, in _call_aside
2015-12-21 08:38:51.307 | f(*args, **kwargs)
2015-12-21 08:38:51.307 | File "/home/jenkins/workspace/gate-fuel-ostf-python27/.tox/py27/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3097, in _initialize_master_working_set
2015-12-21 08:38:51.308 | working_set = WorkingSet._build_master()
2015-12-21 08:38:51.308 | File "/home/jenkins/workspace/gate-fuel-ostf-python27/.tox/py27/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 653, in _build_master
2015-12-21 08:38:51.309 | return cls._build_from_requirements(__requires__)
2015-12-21 08:38:51.309 | File "/home/jenkins/workspace/gate-fuel-ostf-python27/.tox/py27/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 666, in _build_from_requirements
2015-12-21 08:38:51.310 | dists = ws.resolve(reqs, Environment())
2015-12-21 08:38:51.340 | File "/home/jenkins/workspace/gate-fuel-ostf-python27/.tox/py27/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 844, in resolve
2015-12-21 08:38:51.340 | raise VersionConflict(dist, req).with_context(dependent_req)
2015-12-21 08:38:51.341 | pkg_resources.ContextualVersionConflict: (requests 2.9.0 (/home/jenkins/workspace/gate-fuel-ostf-python27/.tox/py27/lib/python2.7/site-packages), Requirement.parse('requests!=2.9.0,>=2.8.1'), set(['python-novaclient']))
2015-12-21 08:38:51.341 | ERROR: InvocationError: '/home/jenkins/workspace/gate-fuel-ostf-python27/.tox/py27/bin/ostf-server --config-file /home/jenkins/workspace/gate-fuel-ostf-python27/etc/tools/ostf_ci.conf --after-initialization-environment-hook'
2015-12-21 08:38:51.341 | ___________________________________ summary ____________________________________
2015-12-21 08:38:51.341 | ERROR: py27: commands failed
2015-12-21 08:38:51.342 | + result=1

Changed in fuel:
milestone: none → 8.0
assignee: nobody → Tatyanka (tatyana-leontovich)
importance: Undecided → Critical
status: New → Confirmed
Changed in fuel:
status: Confirmed → In Progress

Reviewed: https://review.openstack.org/259974
Committed: https://git.openstack.org/cgit/openstack/fuel-ostf/commit/?id=d8cbc4f65361e034193479b19f84747d1c33894e
Submitter: Jenkins
Branch: master

commit d8cbc4f65361e034193479b19f84747d1c33894e
Author: Tatyana Leontovich <email address hidden>
Date: Mon Dec 21 14:35:49 2015 +0200

    Pin version of python novaclient

    Closes-Bug: #1528200
    Change-Id: Iba6d34d6f35cf67d41ad41164e22d89753c6418f

Changed in fuel:
status: In Progress → Fix Committed
Maciej Relewicz (rlu) on 2015-12-22
tags: added: area-python
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers