User credentials not being released when skipException is raised on resource_setup()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| tempest |
Undecided
|
Douglas Viroel |
Bug Description
Manila tempest plugin is facing issues due to insufficient user credentials after skipping some tests. The Manila test class is raising a skipException during the resource_setup method and the credentials are not being release by the setUpClass.
Trace:
setUpClass (manila_
setUpClass (manila_
'Traceback (most recent call last):'
' File "/opt/stack/
' six.reraise(etype, value, trace)'
' File "/usr/local/
' raise value'
' File "/opt/stack/
' cls.setup_
' File "/opt/stack/
' credential_
' File "/opt/stack/
' creds = getattr(
' File "/opt/stack/
' return self.get_
' File "/opt/stack/
' net_creds = self._get_
' File "/opt/stack/
' free_hash = self._get_
' File "/usr/local/
' return f(*args, **kwargs)'
' File "/opt/stack/
' raise lib_exc.
'tempest.
'Details: Insufficient number of users provided. MigrationCancel
The fix https:/
Python version: 3.7
Tempest conf: http://
Logs: http://
Changed in tempest: | |
assignee: | nobody → Douglas Viroel (dviroel) |
status: | New → In Progress |
Reviewed: https:/
Committed: https:/
Submitter: Zuul
Branch: master
commit 7155fdfdf69dcf1
Author: Douglas Viroel <email address hidden>
Date: Tue Oct 1 13:34:52 2019 -0300
Call tearDownClass when handling skip exception on setUpClass
In setUpClass, the workaround to handle skip exception issue is
not releasing allocated resources when a skip exception is raised
on resource_setup.
Change-Id: I2a5d5d60d524bd
Closes-Bug: #1846236
Changed in tempest: | |
status: | In Progress → Fix Released |
This issue was fixed in the openstack/tempest 22.0.0 release.
Fix proposed to branch: master /review. opendev. org/686008
Review: https:/