tempest-sahara-tests job broken

Bug #1425835 reported by Sergey Reshetnyak
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
High
Jacob Bin Wang

Bug Description

Error:

setUpClass (tempest.scenario.data_processing.client_tests.test_cluster_templates.ClusterTemplateTest)
-----------------------------------------------------------------------------------------------------

Captured traceback:
~~~~~~~~~~~~~~~~~~~
    Traceback (most recent call last):
      File "tempest/test.py", line 241, in setUpClass
        cls.resource_setup()
      File "tempest/scenario/data_processing/client_tests/base.py", line 60, in resource_setup
        cls.floating_ip_pool = cls.get_floating_ip_pool_id_for_neutron()
      File "tempest/scenario/data_processing/client_tests/base.py", line 118, in get_floating_ip_pool_id_for_neutron
        if network['label'] == CONF.data_processing.floating_ip_pool:
    TypeError: string indices must be integers

Changed in sahara:
status: New → Confirmed
importance: Undecided → High
milestone: none → kilo-3
Changed in sahara:
status: Confirmed → In Progress
assignee: nobody → Sergey Reshetnyak (sreshetniak)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (master)

Reviewed: https://review.openstack.org/159440
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=c1e16a48ac91f71d5ff4cc518c6d7d5f7154862d
Submitter: Jenkins
Branch: master

commit c1e16a48ac91f71d5ff4cc518c6d7d5f7154862d
Author: Sergey Reshetnyak <email address hidden>
Date: Thu Feb 26 15:35:05 2015 +0300

    Fix tempest client tests in Sahara

    Change-Id: I60e09e79ec3a222b3257f0ee86b93ee2fc862c0e
    Closes-bug: #1425835

Changed in sahara:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to sahara (master)

Reviewed: https://review.openstack.org/162568
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=1ffe2a7abe577b513b9d5dfa9ff299a33df52817
Submitter: Jenkins
Branch: master

commit 1ffe2a7abe577b513b9d5dfa9ff299a33df52817
Author: Sergey Reshetnyak <email address hidden>
Date: Mon Mar 9 11:50:35 2015 +0300

    Fix tempest tests for Sahara

    Fix getting network id in client tests

    Related-bug: #1425835

    Change-Id: I27d4746fd4225637cf0e808ca31399ec5019c508

Changed in sahara:
status: Fix Committed → Confirmed
assignee: Sergey Reshetnyak (sreshetniak) → nobody
Changed in sahara:
milestone: kilo-3 → kilo-rc1
Changed in sahara:
assignee: nobody → Jacob Bin Wang (dongliang0531)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to sahara (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/165684

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

Reviewed: https://review.openstack.org/165684
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=b899115562849356541ddd125ff4364f204c7b9b
Submitter: Jenkins
Branch: master

commit b899115562849356541ddd125ff4364f204c7b9b
Author: Jacob Bin Wang <email address hidden>
Date: Thu Mar 19 11:23:24 2015 +0800

    Fix log import error in tempest tests for Sahara

    Fix log import error in base class of client tests.
    Tempest now use olso.log for logging,
    instead of log module from tempest common or tempest-lib.

    Closes-bug: #1425835

    Change-Id: Idb1ea80af5f567e198380171b0c9216952b85b50

Changed in sahara:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in sahara:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in sahara:
milestone: kilo-rc1 → 2015.1.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara-tests (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara-tests (master)
Download full text (9.0 KiB)

Reviewed: https://review.openstack.org/357664
Committed: https://git.openstack.org/cgit/openstack/sahara-tests/commit/?id=e163f7925974ce7a74e29cbf83db7fb00103e470
Submitter: Jenkins
Branch: master

commit 87bae8585033bf371a936d2de330a89d791244ad
Author: Matthew Treinish <email address hidden>
Date: Tue Jun 28 11:53:22 2016 -0400

    Remove unecessary decorators from private interface

    This commit removes the usage of the services decorators from the
    tempest plugin tests. That decorator is an internal interface and
    not meant for external consumption, and is now causing failures
    because of recent tempest changes. Plugins should only use documented
    stable interfaces. [1]

    Also the use of the decorator here actually adds nothing to the tests.
    They do 2 things, add a test attr to filter by service and add a skip
    check on the service availability. However both of these are already
    done, data_processing is already part of the test_id so filtering
    will just work and the skip check for sahara is baked into the base
    test class. So using this decorator does nothing except break the
    plugin.

    [1] http://docs.openstack.org/developer/tempest/plugin.html#stable-tempest-apis-plugins-may-use

    Change-Id: I45587d065c1b7b7f28feb29e8845f8f0f8405b8c

commit f4db8224967267e91abb05dd9c526318589f383b
Author: ZhiQiang Fan <email address hidden>
Date: Mon Apr 18 22:00:47 2016 +0800

    update options mentioned in tempest readme

    Some options have already been deprecated but still used in tempest
    README.rst, let's use the new one.

    Change-Id: Ic3bfb66b0898869149126c21aef0b2fd673385e2

commit f82c7db143bb7bf3c358e735f9646a17684ba5b6
Author: Luigi Toscano <email address hidden>
Date: Fri Feb 26 11:24:32 2016 +0100

    Use the integrated tempest.lib module

    Tempest-lib has been reintegrated into tempest (as code, but it still provides
    a stable API). The old library is still available, but tempest tests are
    failing because when sahara is installed and exports the scenario tests
    for python clients, python-lib is not installed (it's correcly in
    test-requirements.txt, not requirements.txt), and tempest does not
    install tempest-lib anymore. Hence, fix the tests to use the new
    official location.

    Change-Id: Iaded03ee387b4a0bbabb7bfe9e54d38e010d9c4f

commit 85ce728189d8f8a63843ebde5950a0c56233fa3a
Author: luhuichun <email address hidden>
Date: Tue Dec 1 14:09:22 2015 +0800

    Replacing all hard coded cluster status using cluster_utils

    Change-Id: I9550e98553da9f7bfc57923e44a789e07a912ff4
    Closes-bug: 1517061

commit 0abdc18a94089bf698582daa051a96fd645935f3
Author: Evgeny Sikachev <email address hidden>
Date: Thu Nov 26 13:40:51 2015 +0300

    Add missed checks for testing update method

    In tempest tests for saharaclient we have missed methods
    for checking update of templates.
    Closes-bug: #1520140

    Change-Id: I8191e3344ecffd7a2ed442ba3d561741701c45e2

commit 80bfb9a469d2a289e903b19488214855b8a7fa94
Author: Evgeny Sikachev <email address hidden>
Date: Tue Nov 17 16:05:04 2015 +0300

    Adding t...

Read more...

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/sahara-tests 0.3.0

This issue was fixed in the openstack/sahara-tests 0.3.0 release.

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.