Tempest tests "test_promote_out_of_sync_share_replica" and "test_resync_share_replica" are concurrency-prone
Bug #1631314 reported by
Valeriy Ponomaryov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
Fábio Oliveira |
Bug Description
Recently, in CI, was observed error in one of replication tests [1].
Where we do following:
1) Create share
2) Create replica
3) Reset state of replica to "out_of_sync"
4) Wait for updated "out_of_sync" status
5) Try to promote replica
And there is possible concurrency between steps 3 and 4 when we can get periodic replica update that occurred in case of observed error [1].
Proof:
Call of API comes first [2], then arrives periodic update [3] and, finally, tempest test tries to get updated status in [4] and sees that it has "in_sync" status as was [1].
summary: |
- Concurrency of periodic replica update call and manual replica status - update + Tempest test "test_promote_out_of_sync_share_replica" is concurrency- + prone |
description: | updated |
description: | updated |
description: | updated |
tags: | added: replication tempest |
Changed in manila: | |
assignee: | nobody → Goutham Pacha Ravi (gouthamr) |
milestone: | none → ocata-1 |
status: | New → Confirmed |
tags: | added: races |
summary: |
- Tempest test "test_promote_out_of_sync_share_replica" is concurrency- - prone + Tempest tests "test_promote_out_of_sync_share_replica" and + "test_resync_share_replica" are concurrency-prone |
Changed in manila: | |
assignee: | nobody → Douglas Viroel (dviroel) |
Changed in manila: | |
assignee: | Douglas Viroel (dviroel) → nobody |
Changed in manila: | |
assignee: | nobody → Fábio Oliveira (fabiooliveira1) |
Changed in manila: | |
milestone: | none → yoga-1 |
To post a comment you must log in.
One more occurrence:
http:// logs.openstack. org/06/ 384606/ 1/check/ gate-manila- tempest- minimal- dsvm-dummy- ubuntu- xenial- nv/1d08dc3/ logs/tempest_ 2/testr_ results. html.gz