tempest test "ShareServersAdminTest.test_list_share_servers_with_filters_2_status" is concurrency-prone

Bug #1670757 reported by Valeriy Ponomaryov
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Medium
Valeriy Ponomaryov

Bug Description

Sometimes tempest CI jobs fail with error [1] in test "test_list_share_servers_with_filters_2_status" that is located in "manila_tempest_tests/tests/api/admin/test_share_servers.py" module.

It fails because it can pick up random share server with "creating" status and then try to filter share servers by this status, but before second call server can get his status changed.

[1] http://logs.openstack.org/92/438892/4/check/gate-manila-tempest-minimal-dsvm-dummy-ubuntu-xenial/fe5c9ce/logs/tempest_1/testr_results.html.gz

Tags: tempest
Changed in manila:
importance: Undecided → Medium
assignee: nobody → Valeriy Ponomaryov (vponomaryov)
milestone: none → pike-1
status: New → In Progress
tags: added: tempest
description: updated
summary: tempest test
- "manila_tempest_tests.tests.api.admin.test_share_servers.ShareServersAdminTest.test_list_share_servers_with_filters_2_status"
- is concurrency-prone
+ "ShareServersAdminTest.test_list_share_servers_with_filters_2_status" is
+ concurrency-prone
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/442633

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

Reviewed: https://review.openstack.org/442633
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=46d499a85c0c40307172799a757193c50be0076f
Submitter: Jenkins
Branch: master

commit 46d499a85c0c40307172799a757193c50be0076f
Author: Valeriy Ponomaryov <email address hidden>
Date: Tue Mar 7 20:03:13 2017 +0300

    [Tempest] Fix concurrency in test with listing share servers

    Before it was possible to pick up temporary status of share server
    and fail to filter share servers as second API call, because status
    could be changed. Fix it by filtering with 'active' status.

    Change-Id: Idcff68ce475d31b38a34d410970cc839b06d18b3
    Closes-Bug: #1670757

Changed in manila:
status: In Progress → Fix Released
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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.