tempest check_uptodate fails in tox since stevedore is not a requirement

Bug #1333998 reported by Matt Riedemann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Medium
Matt Riedemann

Bug Description

If you don't have stevedore installed in site-packages, running check_uptodate.sh will fail since stevedore isn't in requirements.txt:

pep8 runtests: commands[1] | /home/jenkins/workspace/osee-tempest-merge/tools/config/check_uptodate.sh
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/jenkins/workspace/osee-tempest-merge/tempest/common/generate_sample_tempest.py", line 20, in <module>
    from tempest.openstack.common.config import generator
  File "tempest/openstack/common/config/generator.py", line 32, in <module>
    import stevedore.named
ImportError: No module named stevedore.named

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

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

Changed in tempest:
assignee: nobody → Matt Riedemann (mriedem)
status: New → In Progress
Changed in tempest:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tempest (master)

Reviewed: https://review.openstack.org/102346
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=a0c76894d685c55f4ee767f5f70019c120bb00da
Submitter: Jenkins
Branch: master

commit a0c76894d685c55f4ee767f5f70019c120bb00da
Author: Matt Riedemann <email address hidden>
Date: Tue Jun 24 13:56:57 2014 -0700

    Require stevedore for check_uptodate.sh

    The Oslo config generator imports the stevedore.named module but
    stevedore isn't listed as a requirement for Tempest, so config
    generation can fail with an ImportError.

    Closes-Bug: #1333998

    Change-Id: I47ecac0f5881aceb279391a981780a2dd72f0d2b

Changed in tempest:
status: In Progress → 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.