Tempest tests fail with AttributeError: 'Manager' object has no attribute 'default_params_with_timeout_values'

Bug #1651229 reported by Alfredo Moralejo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Undecided
Ghanshyam Mann

Bug Description

When running tempest tests for trove in master branch we are getting some test failure with following backtrace:

==============================
Failed 1 tests - output below:
==============================

setUpClass (trove.tests.tempest.tests.api.database.flavors.test_flavors.DatabaseFlavorsTest)
--------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "/tmp/openstack/tempest/tempest/test.py", line 270, in setUpClass
        six.reraise(etype, value, trace)
      File "/tmp/openstack/tempest/tempest/test.py", line 260, in setUpClass
        cls.setup_clients()
      File "/usr/lib/python2.7/site-packages/trove/tests/tempest/tests/api/database/flavors/test_flavors.py", line 27, in setup_clients
        super(DatabaseFlavorsTest, cls).setup_clients()
      File "/usr/lib/python2.7/site-packages/trove/tests/tempest/tests/api/database/base.py", line 48, in setup_clients
        **cls.os.default_params_with_timeout_values)
    AttributeError: 'Manager' object has no attribute 'default_params_with_timeout_values'

I think this is related to https://review.openstack.org/#/c/355586/

Tags: ci
tags: added: ci
Revision history for this message
Alfredo Moralejo (amoralej) wrote :

Fix for this issue is being managed in https://review.openstack.org/#/c/412655/.

Changed in trove:
assignee: nobody → Ghanshyam Mann (ghanshyammann)
status: New → In Progress
Revision history for this message
Alfredo Moralejo (amoralej) wrote :

This should be fixed by https://review.openstack.org/#/c/412511 from tempest side.

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

Reviewed: https://review.openstack.org/412655
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=ed0c41bedab3c93acbe1c363062a97c0274313c9
Submitter: Jenkins
Branch: master

commit ed0c41bedab3c93acbe1c363062a97c0274313c9
Author: ghanshyam <email address hidden>
Date: Tue Dec 20 08:59:31 2016 +0900

    Fix Trove tempest plugin

    Id518a6d87d0949737cd1c50cb6a83149b85e5f85 removes the
    class variable from tempest - 'default_params_with_timeout_values'
    This was kept in tempest only to be used for baremetal tests.
    Due to that, trove tempest tests are failing-
    http://logs.openstack.org/71/410971/3/check/gate-tempest-dsvm-trove-ubuntu-xenial/f2146d4/logs/testr_results.html.gz

    Each Temepst plugin should either have their own config options
    for builld timeout etc or use the default one.

    Currently this commit makes use of timeout and other values from
    config which are stable.

    Closes-Bug: #1651229

    Change-Id: Id3c91f6e4228d2a3e9151b71940b9a4c94c2eb36

Changed in trove:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/trove 7.0.0.0b3

This issue was fixed in the openstack/trove 7.0.0.0b3 development milestone.

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.