Branch "stable/kilo" is broken

Bug #1480314 reported by Valeriy Ponomaryov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keystoneclient
Fix Released
Medium
Unassigned

Bug Description

Branch "stable/kilo" is broken because of updated dependencies.

$ git checkout stable/kilo
Branch stable/kilo set up to track remote branch stable/kilo from origin.
Switched to a new branch 'stable/kilo'

$ tox -e py27
py27 develop-inst-nodeps: /home/vponomaryov/Documents/python/projects/python-keystoneclient
py27 installed: appdirs==1.4.0,Babel==2.0,bandit==0.12.0,coverage==3.7.1,debtcollector==0.6.0,discover==0.4.0,docutils==0.12,ecdsa==0.13,extras==0.0.3,fixtures==1.3.1,flake8==2.2.4,funcsigs==0.4,functools32==3.2.3.post2,hacking==0.10.2,httplib2==0.9.1,iso8601==0.1.10,Jinja2==2.8,jsonschema==2.5.1,keyring==5.3,linecache2==1.0.0,lxml==3.4.4,MarkupSafe==0.23,mccabe==0.2.1,mock==1.3.0,monotonic==0.3,mox3==0.8.0,msgpack-python==0.4.6,netaddr==0.7.15,netifaces==0.10.4,oauthlib==1.0.1,os-client-config==1.6.0,os-testr==0.2.0,oslo.config==2.1.0,oslo.context==0.4.0,oslo.i18n==2.2.0,oslo.log==1.7.0,oslo.serialization==1.7.0,oslo.utils==2.1.0,oslosphinx==3.0.0,oslotest==1.9.0,paramiko==1.15.2,pbr==1.3.0,pep8==1.5.7,prettytable==0.7.2,pycrypto==2.6.1,pyflakes==0.8.1,Pygments==2.0.2,-e git+https://github.com/openstack/python-keystoneclient@3914c0ce8138619f895c5ee1e4ca193cf594b9f8#egg=python_keystoneclient-origin_stable_kilo,python-mimeparse==0.1.4,python-subunit==1.1.0,pytz==2015.4,PyYAML==3.11,requests==2.7.0,requests-mock==0.6.0,six==1.9.0,Sphinx==1.2.3,stevedore==1.6.0,tempest-lib==0.7.0,testrepository==0.0.20,testresources==0.2.7,testscenarios==0.5.0,testtools==1.8.0,traceback2==1.4.0,unittest2==1.1.0,WebOb==1.4.1,wheel==0.24.0,wrapt==1.10.5
py27 runtests: PYTHONHASHSEED='3271412569'
py27 runtests: commands[0] | python setup.py testr --testr-args=
running testr
running=${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./keystoneclient/tests/unit} --list
--- import errors ---
Failed to import test module: keystoneclient.tests.unit
Traceback (most recent call last):
  File "/home/vponomaryov/Documents/python/projects/python-keystoneclient/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 490, in _find_test_path
    package = self._get_module_from_name(name)
  File "/home/vponomaryov/Documents/python/projects/python-keystoneclient/.tox/py27/local/lib/python2.7/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
    __import__(name)
  File "keystoneclient/__init__.py", line 33, in <module>
    from keystoneclient import access
  File "keystoneclient/access.py", line 23, in <module>
    from keystoneclient import service_catalog
  File "keystoneclient/service_catalog.py", line 23, in <module>
    from keystoneclient import exceptions
  File "keystoneclient/exceptions.py", line 31, in <module>
    from keystoneclient.openstack.common.apiclient.exceptions import * # noqa
  File "keystoneclient/openstack/common/apiclient/exceptions.py", line 28, in <module>
    from keystoneclient.openstack.common._i18n import _
  File "keystoneclient/openstack/common/_i18n.py", line 19, in <module>
    import oslo.i18n
ImportError: No module named oslo.i18n
Non-zero exit code (2) from test listing.
error: testr failed (3)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-keystoneclient (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/207906

Revision history for this message
Dolph Mathews (dolph) wrote :

This may have been an issue, but I'm not able to reproduce this.

To illustrate, this is passing: https://review.openstack.org/#/c/207973/

Changed in python-keystoneclient:
status: New → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-keystoneclient (stable/kilo)

Change abandoned by Dolph Mathews (<email address hidden>) on branch: stable/kilo
Review: https://review.openstack.org/207906
Reason: stable/kilo seems to have been fixed by https://review.openstack.org/#/c/207973/

I've marked the referenced bug as Invalid since it's not reproducible today.

Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :

"stable/kilo" is not fixed.

Just look at code [1] - there is used old "oslo" namespace. That is not available in "stable/kilo" and if you try import module "keystoneclient/openstack/common/_i18n.py" you will get "ImportError".

So, python-keystoneclient still a BLOCKER, at least, for project "python-manilaclient" of "stable/kilo" branch.

[1] https://github.com/openstack/python-keystoneclient/blob/65d3907d/keystoneclient/openstack/common/_i18n.py#L19

Changed in python-keystoneclient:
status: Invalid → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-keystoneclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/226648

Changed in python-keystoneclient:
assignee: nobody → Julia Varlamova (jvarlamova)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-keystoneclient (master)

Change abandoned by Julia Varlamova (<email address hidden>) on branch: master
Review: https://review.openstack.org/226648

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-keystoneclient (stable/kilo)

Reviewed: https://review.openstack.org/207906
Committed: https://git.openstack.org/cgit/openstack/python-keystoneclient/commit/?id=e9c0f09a13beb7e25686e5aa576e400d0c29aa9b
Submitter: Jenkins
Branch: stable/kilo

commit e9c0f09a13beb7e25686e5aa576e400d0c29aa9b
Author: Julia Varlamova <email address hidden>
Date: Wed Sep 23 04:27:11 2015 -0400

    Sync oslo-incubator common code

    Sync common code to address changes made in dependencies and make branch
    "stable/kilo" workable.

    Cherry-pick commits 0cc741a, 2aacb111, ac17de97 from oslo-incubator

    Change-Id: If746912c99a83806137ca96e0863c4ff2ea8d96c
    Closes-Bug: #1480314

tags: added: in-stable-kilo
Dolph Mathews (dolph)
Changed in python-keystoneclient:
assignee: Julia Varlamova (jvarlamova) → nobody
Revision history for this message
Steve Martinelli (stevemar) wrote :
Changed in python-keystoneclient:
status: In Progress → Fix Released
importance: Undecided → Medium
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.