OSTF tests: error during the execution: 'TestUserTenantRole' has no attribute 'smoke_flavor'

Bug #1263667 reported by Timur Nurlygayanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Anastasiia Naboikina

Bug Description

During the Full OSTF Tests Suite execution we can see in the logs the following error:

2013-12-23 10:55:36 INFO (connectionpool) Starting new HTTP connection (1): 10.20.0.12
2013-12-23 10:55:36 DEBUG (connectionpool) "GET http://192.168.0.2:35357/v2.0/tenants/349b93dd945c441b8446e0bf2fc5da2d HTTP/1.1" 404 118
2013-12-23 10:55:36 DEBUG (httpclient) Request returned failure status: 404
2013-12-23 10:55:36 DEBUG (nmanager) OSTF test flavor cannot be deleted.
2013-12-23 10:55:36 DEBUG (nmanager) Traceback (most recent call last):
  File "/opt/fuel_plugins/ostf/lib/python2.6/site-packages/fuel_health/nmanager.py", line 790, in tearDownClass
    cls.compute_client.flavors.delete(cls.smoke_flavor)
AttributeError: type object 'TestUserTenantRole' has no attribute 'smoke_flavor'

Tags: ostf
Changed in fuel:
assignee: nobody → Yuriy Yekovenko (yyekovenko)
Changed in fuel:
importance: High → Medium
Changed in fuel:
status: New → In Progress
Revision history for this message
Yuriy Yekovenko (yyekovenko) wrote :

I get this debug message when run Functional tests. And I do not get it when run just Heat test.
So, I think this issue does not relate to Heat. If it really relates, pls provide more detailed steps to reproduce.

Changed in fuel:
status: In Progress → Incomplete
Changed in fuel:
assignee: Yuriy Yekovenko (yyekovenko) → nobody
summary: - OSTF tests for Heat: error during the execution
+ OSTF tests: error during the execution: 'TestUserTenantRole' has no
+ attribute 'smoke_flavor'
Changed in fuel:
status: Incomplete → Confirmed
description: updated
Changed in fuel:
assignee: nobody → Anastasiia Naboikina (anaboikina)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ostf (master)

Fix proposed to branch: master
Review: https://review.openstack.org/64120

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ostf (stable/4.0)

Fix proposed to branch: stable/4.0
Review: https://review.openstack.org/64129

Changed in fuel:
importance: Medium → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (stable/4.0)

Reviewed: https://review.openstack.org/64129
Committed: https://git.openstack.org/cgit/stackforge/fuel-ostf/commit/?id=83ada35fec2664089e07fdc0d34861ae2a4d948a
Submitter: Jenkins
Branch: stable/4.0

commit 83ada35fec2664089e07fdc0d34861ae2a4d948a
Author: AnastasiiaNaboikina <email address hidden>
Date: Thu Dec 26 13:22:56 2013 +0200

    Fix for deletion of nano flavor in OSTF

    Add smoke_flavor attribute to setUpClass of SmokeChecksTest
    to prevent AttributeError upon tearDownClass invocation
    from smoke tests that don`t use it.
    Modify HeatBaseTest and TestStackActions classes so that
    they support changes.

    Change-Id: I5eff4821887e851788f55ad8dfdc62fa4f615d11
    Closes-bug: #1263667

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (master)

Reviewed: https://review.openstack.org/64120
Committed: https://git.openstack.org/cgit/stackforge/fuel-ostf/commit/?id=f561e9ae7ca0c062180de63676243f897df3f98c
Submitter: Jenkins
Branch: master

commit f561e9ae7ca0c062180de63676243f897df3f98c
Author: AnastasiiaNaboikina <email address hidden>
Date: Thu Dec 26 12:15:27 2013 +0200

    Fix for deletion of nano flavor in OSTF

    Add smoke_flavor attribute to setUpClass of SmokeChecksTest
    to prevent AttributeError upon tearDownClass invocation
    from smoke tests that don`t use it.
    Modify HeatBaseTest and TestStackActions classes so that
    they support changes.

    Change-Id: I33beb5e014781fb12ad45a212f4f81b9d7d324ca
    Closes-bug: #1263667

Changed in fuel:
milestone: 4.1 → 4.0
status: Fix Committed → 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.