aodh tempest failed due to upstream module change

Bug #1554920 reported by Lianhao Lu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Aodh
Fix Released
Medium
Lianhao Lu

Bug Description

running tempest through 'testr run aodh' fails with the following output:

Failed to import test module: aodh.tests.tempest.api.test_alarming_api
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 456, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/local/lib/python2.7/dist-packages/unittest2/loader.py", line 395, in _get_module_from_name
    __import__(name)
  File "/opt/stack/aodh/aodh/tests/tempest/api/test_alarming_api.py", line 17, in <module>
    from aodh.tests.tempest.api import base
  File "/opt/stack/aodh/aodh/tests/tempest/api/base.py", line 18, in <module>
    from aodh.tests.tempest.service import client
  File "/opt/stack/aodh/aodh/tests/tempest/service/client.py", line 18, in <module>
    from tempest.common import service_client
ImportError: cannot import name service_client

This is due to the tempest upstream merged patch: https://review.openstack.org/#/c/287388/

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

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

Changed in aodh:
assignee: nobody → Lianhao Lu (lianhao-lu)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to aodh (master)

Reviewed: https://review.openstack.org/290294
Committed: https://git.openstack.org/cgit/openstack/aodh/commit/?id=592f221e664aaeea1d5d8d57b8f01a696a055ac4
Submitter: Jenkins
Branch: master

commit 592f221e664aaeea1d5d8d57b8f01a696a055ac4
Author: Lianhao Lu <email address hidden>
Date: Wed Mar 9 14:22:35 2016 +0800

    Fixed tempest error due to upstream change

    Upstream tempest has dropped the service_client module which we use in
    our aodh tempest test. Replace that with upstream formal rest_client in
    the tempest.lib path.

    Change-Id: Ica5cc39b5ace6d4104b3c724d79f73c25b37bb1a
    Closes-Bug: #1554920

Changed in aodh:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/aodh 2.0.0.0rc1

This issue was fixed in the openstack/aodh 2.0.0.0rc1 release candidate.

Liusheng (liusheng)
Changed in aodh:
importance: Undecided → Medium
milestone: none → mitaka-rc1
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.