[Swarm 10.0] Fix fuel master migration tests

Bug #1647483 reported by Sergey Novikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Dmitry Belyaninov

Bug Description

the following tests
https://product-ci.infra.mirantis.net/job/10.0.system_test.ubuntu.thread_1/158/testReport/fuel_tests.tests.test_fuel_migration/TestFuelMasterMigrate/test_compute_warm_restart/

https://product-ci.infra.mirantis.net/job/10.0.system_test.ubuntu.thread_1/158/testReport/fuel_tests.tests.test_fuel_migration/TestFuelMasterMigrate/test_compute_hard_restart

fail with

request = <SubRequest 'fuel_master_migration' for <Function 'test_compute_hard_restart'>>

    @pytest.fixture(scope='session')
    def fuel_master_migration(request):
        """Fixture which migrate Fuel Master to a compute"""

        instance = request.node.items[-1].instance
> cluster_id = instance._storage['cluster_id']
E AttributeError: 'TestHAOneControllerNeutronRestart' object has no attribute '_storage'

fuel_tests/tests/test_fuel_migration.py:33: AttributeError

Changed in fuel:
status: New → Confirmed
importance: Undecided → High
tags: added: swarm-fail
Changed in fuel:
assignee: Fuel QA Team (fuel-qa) → Dmitry Belyaninov (dbelyaninov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/428629

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (stable/newton)

Reviewed: https://review.openstack.org/428629
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=df210476edded6582db521af84b044ef10777710
Submitter: Jenkins
Branch: stable/newton

commit df210476edded6582db521af84b044ef10777710
Author: Dmitry Belyaninov <email address hidden>
Date: Fri Feb 3 08:03:55 2017 +0000

    Fix for migration tests

    Fixture for migration tests should have "function" type.
    There is no "rep_call" attribute for test call
    in case of preparation failed. Test results order check
    changed accordingly.

    Change-Id: I7e58a111501ad41701ebfaa703fb12e7a9670fed
    Partial-Bug: 1647483

tags: added: in-stable-newton
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Dmitry Belyaninov (dbelyaninov) wrote :
Changed in fuel:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/430656
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=99e4415d0ea34771e5e70d87a3d0573d69eefb5c
Submitter: Jenkins
Branch: master

commit 99e4415d0ea34771e5e70d87a3d0573d69eefb5c
Author: Dmitry Belyaninov <email address hidden>
Date: Fri Feb 3 08:03:55 2017 +0000

    Fix for migration tests

    Fixture for migration tests should have "function" type.
    There is no "rep_call" attribute for test call
    in case of preparation failed. Test results order check
    changed accordingly.

    Change-Id: I7e58a111501ad41701ebfaa703fb12e7a9670fed
    Partial-Bug: 1647483
    (cherry picked from commit df210476edded6582db521af84b044ef10777710)

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.