ImagesOneServerTestJSON failure in setup not logged
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
The setup method calls teardown in case create server fails.
However in case of failure during teardown itself, the original error will be lost.
@classmethod
def setUpClass(cls):
cls.client = cls.images_client
if not cls.config.
raise cls.skipExcepti
try:
resp, cls.server = cls.create_
except Exception:
raise
Other tests which take a similar approach log the error before calling teardown:
except Exception as exc:
raise
Changed in tempest: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in tempest: | |
assignee: | nobody → Shweta P (shweta-ap05) |
Issue is still there.