setUpClass (tempest.api.compute.images.test_images_oneserver.ImagesOneServerTestJSON) Failed at server creation

Bug #1218279 reported by Attila Fazekas
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Unassigned
tempest
Fix Released
Medium
Unassigned

Bug Description

http://logs.openstack.org/78/44178/1/gate/gate-tempest-devstack-vm-postgres-full/042f00e/

2013-08-29 08:51:47.396 | FAIL: setUpClass (tempest.api.compute.images.test_images_oneserver.ImagesOneServerTestJSON)
2013-08-29 08:51:47.397 | setUpClass (tempest.api.compute.images.test_images_oneserver.ImagesOneServerTestJSON)
2013-08-29 08:51:47.397 | ----------------------------------------------------------------------
2013-08-29 08:51:47.397 | _StringException: Traceback (most recent call last):
2013-08-29 08:51:47.397 | File "tempest/api/compute/images/test_images_oneserver.py", line 50, in setUpClass
2013-08-29 08:51:47.397 | cls.tearDownClass()
2013-08-29 08:51:47.397 | File "tempest/api/compute/base.py", line 114, in tearDownClass
2013-08-29 08:51:47.398 | super(BaseComputeTest, cls).tearDownClass()
2013-08-29 08:51:47.398 | File "tempest/test.py", line 144, in tearDownClass
2013-08-29 08:51:47.398 | at_exit_set.remove(cls)
2013-08-29 08:51:47.398 | KeyError: <class 'tempest.api.compute.images.test_images_oneserver.ImagesOneServerTestJSON'>

The server creation was the actually failed.
The setUpClass attempts to call the tearDownClass on error and throws a different exception,
the correct exception throwing is tempest side issue, but the root cause probably not.

Tags: testing
Revision history for this message
Attila Fazekas (afazekas) wrote :
Changed in tempest:
importance: Undecided → Medium
Revision history for this message
ZhiQiang Fan (aji-zqfan) wrote :

ft2.1: setUpClass (tempest.api.compute.images.test_list_image_filters.ListImageFiltersTestXML)_StringException: Traceback (most recent call last):
  File "tempest/api/compute/images/test_list_image_filters.py", line 71, in setUpClass
    cls.tearDownClass()
  File "tempest/api/compute/base.py", line 114, in tearDownClass
    super(BaseComputeTest, cls).tearDownClass()
  File "tempest/test.py", line 144, in tearDownClass
    at_exit_set.remove(cls)
KeyError: <class 'tempest.api.compute.images.test_list_image_filters.ListImageFiltersTestXML'>

in http://logs.openstack.org/25/44025/2/check/gate-tempest-devstack-vm-postgres-full/4e18840/

Revision history for this message
Alex Rudenko (alexei-rudenko) wrote :

FAIL: setUpClass (tempest.api.compute.images.test_list_image_filters.ListImageFiltersTestXML)
2013-08-31 15:10:21.072 | setUpClass (tempest.api.compute.images.test_list_image_filters.ListImageFiltersTestXML)
2013-08-31 15:10:21.073 | ----------------------------------------------------------------------
2013-08-31 15:10:21.073 | _StringException: Traceback (most recent call last):
2013-08-31 15:10:21.073 | File "tempest/api/compute/images/test_list_image_filters.py", line 71, in setUpClass
2013-08-31 15:10:21.073 | cls.tearDownClass()
2013-08-31 15:10:21.073 | File "tempest/api/compute/base.py", line 114, in tearDownClass
2013-08-31 15:10:21.073 | super(BaseComputeTest, cls).tearDownClass()
2013-08-31 15:10:21.074 | File "tempest/test.py", line 144, in tearDownClass
2013-08-31 15:10:21.074 | at_exit_set.remove(cls)
2013-08-31 15:10:21.074 | KeyError: <class 'tempest.api.compute.images.test_list_image_filters.ListImageFiltersTestXML'>

in http://logs.openstack.org/93/44593/1/check/gate-tempest-devstack-vm-full/2adbe20/console.html

tags: added: testing
Revision history for this message
Sean Dague (sdague) wrote :

I actually think this was the enable/disable server race. I'm going to close this for now. Reopen if an issue in the future

Changed in nova:
status: New → Fix Released
Changed in tempest:
status: New → Fix Released
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.