list_image_filters.ListImageFiltersTestJSON failure (no attribute image2_id)

Bug #1168586 reported by John Griffith on 2013-04-13
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Sean Dague

Bug Description

From run:

2013-04-12 23:29:06.535 | ======================================================================
2013-04-12 23:29:06.535 | ERROR: test suite for <class 'tempest.tests.compute.images.test_list_image_filters.ListImageFiltersTestJSON'>
2013-04-12 23:29:06.535 | ----------------------------------------------------------------------
2013-04-12 23:29:06.535 | Traceback (most recent call last):
2013-04-12 23:29:06.535 | File "/usr/lib/python2.7/dist-packages/nose/", line 208, in run
2013-04-12 23:29:06.535 | self.setUp()
2013-04-12 23:29:06.535 | File "/usr/lib/python2.7/dist-packages/nose/", line 291, in setUp
2013-04-12 23:29:06.535 | self.setupContext(ancestor)
2013-04-12 23:29:06.535 | File "/usr/lib/python2.7/dist-packages/nose/", line 314, in setupContext
2013-04-12 23:29:06.535 | try_run(context, names)
2013-04-12 23:29:06.535 | File "/usr/lib/python2.7/dist-packages/nose/", line 478, in try_run
2013-04-12 23:29:06.536 | return func()
2013-04-12 23:29:06.536 | File "/opt/stack/new/tempest/tempest/tests/compute/images/", line 70, in setUpClass
2013-04-12 23:29:06.536 | cls.client.delete_image(cls.image2_id)
2013-04-12 23:29:06.536 | AttributeError: type object 'ListImageFiltersTestJSON' has no attribute 'image2_id'

Full output available here:

summary: - tempest/postgres test_list_image_filters failure
+ list_image_filters failure no attribute image2_id
summary: - list_image_filters failure no attribute image2_id
+ list_image_filters.ListImageFiltersTestJSON failure (no attribute
+ image2_id)
Sean Dague (sdague) wrote :

There is very clearly a code bug on cleanup here, trying to figure out if this is going to be quickly eliminated by fixtures, or if we should fix it in tree before then.

Changed in tempest:
status: New → Confirmed
importance: Undecided → High
milestone: none → havana-2

Fix proposed to branch: master

Changed in tempest:
assignee: nobody → Sean Dague (sdague)
status: Confirmed → In Progress

Submitter: Jenkins
Branch: master

commit d62bf1c66a3832ed8dba0fed88dc319002a984b9
Author: Sean Dague <email address hidden>
Date: Wed Jun 5 14:36:25 2013 -0400

    add create_image_from_server to base class for auto cleanup

    this test's cleanup logic was fragile enough that it caused additional
    breaks when it fell over, leaving resources around. Create a
    create_image_from_server as an equiv of create_server to ensure
    that images are auto cleaned up at the end of the run, or if we

    Added logging for exception if found during clear_images

    Added logging if we failed in setupClass

    Fixes bug #1168586

    Change-Id: I1cbd904a71eb81926195c3e7894003fe5016b12e

Changed in tempest:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers