tempest test class manila_tempest_tests.tests.api.admin.test_migration.MigrationNFSTest is very slow

Bug #1663574 reported by Valeriy Ponomaryov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
High
Valeriy Ponomaryov

Bug Description

Commit [1] added 6 new "migration" tests to the same class. All of them are pretty slow - 2-2,5 minutes. And all of them always run in the same thread, serially. It make tempest run take about 20 minutes just because of this single thread. There is no need to run these tests serially. So, we need to split them up to separate classes, so they could be picked up by different threads and run in parallel.

[1] https://review.openstack.org/#/c/418559/
[2] http://logs.openstack.org/71/431971/2/check/gate-manila-tempest-minimal-dsvm-dummy-ubuntu-xenial/7c48f82/console.html#_2017-02-10_10_47_21_004898

Changed in manila:
milestone: none → pike-1
assignee: nobody → Valeriy Ponomaryov (vponomaryov)
importance: Undecided → High
tags: added: tempest
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

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

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

Reviewed: https://review.openstack.org/432294
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=85b3b61c6cc3c3d5f1ddeeb69d9a3a731b026bd8
Submitter: Jenkins
Branch: master

commit 85b3b61c6cc3c3d5f1ddeeb69d9a3a731b026bd8
Author: Valeriy Ponomaryov <email address hidden>
Date: Fri Feb 10 14:51:31 2017 +0200

    [Tempest] Split up share migration tests to separate classes

    All tempest tests that are located in single class always run
    serially. And one of our classes that performs lots of different
    share migration tests takes about 20 minutes. So, split them up
    to separate classes to speed up test run.

    Change-Id: I117484f56ef8de9b01db4818be0069e98b6c78fc
    Closes-Bug: #1663574

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/433770

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 5.0.0.0b1

This issue was fixed in the openstack/manila 5.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (stable/ocata)

Reviewed: https://review.openstack.org/433770
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=5ca2fb8a097163085f2e26274c0306b830edf4e7
Submitter: Jenkins
Branch: stable/ocata

commit 5ca2fb8a097163085f2e26274c0306b830edf4e7
Author: Valeriy Ponomaryov <email address hidden>
Date: Fri Feb 10 14:51:31 2017 +0200

    [Tempest] Split up share migration tests to separate classes

    All tempest tests that are located in single class always run
    serially. And one of our classes that performs lots of different
    share migration tests takes about 20 minutes. So, split them up
    to separate classes to speed up test run.

    This fix also includes a trivial optimization to the 'opposite driver
    modes migration test' as was proposed in
    commit 1181a80bf6473d3fe7ed83c0b1df7c738c2a71e5.

    Change-Id: I117484f56ef8de9b01db4818be0069e98b6c78fc
    Closes-Bug: #1663574
    (cherry picked from commit 85b3b61c6cc3c3d5f1ddeeb69d9a3a731b026bd8)
    (cherry picked from commit 1181a80bf6473d3fe7ed83c0b1df7c738c2a71e5)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila 4.0.1

This issue was fixed in the openstack/manila 4.0.1 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.