heat.tests.test_stack.ResetStateOnErrorTest.test_success failure

Bug #1517359 reported by Rabi Mishra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Thomas Herve

Bug Description

http://logs.openstack.org/52/246552/1/gate/gate-heat-python27/2608470/console.html#_2015-11-18_06_35_08_953

2015-11-18 06:35:08.952 | ======================================================================
2015-11-18 06:35:08.952 | FAIL: heat.tests.test_stack.ResetStateOnErrorTest.test_success
2015-11-18 06:35:08.952 | tags: worker-3
2015-11-18 06:35:08.952 | ----------------------------------------------------------------------
2015-11-18 06:35:08.953 | Empty attachments:
2015-11-18 06:35:08.953 | pythonlogging:''
2015-11-18 06:35:08.953 | pythonlogging:'alembic'
2015-11-18 06:35:08.953 | pythonlogging:'barbicanclient'
2015-11-18 06:35:08.953 | pythonlogging:'ceilometerclient'
2015-11-18 06:35:08.953 | pythonlogging:'cinderclient'
2015-11-18 06:35:08.953 | pythonlogging:'cliff'
2015-11-18 06:35:08.953 | pythonlogging:'concurrent'
2015-11-18 06:35:08.953 | pythonlogging:'designateclient'
2015-11-18 06:35:08.953 | pythonlogging:'dogpile'
2015-11-18 06:35:08.953 | pythonlogging:'eventlet'
2015-11-18 06:35:08.953 | pythonlogging:'fasteners'
2015-11-18 06:35:08.954 | pythonlogging:'heat-provision'
2015-11-18 06:35:08.954 | pythonlogging:'heat.engine.environment'
2015-11-18 06:35:08.954 | pythonlogging:'heat_integrationtests'
2015-11-18 06:35:08.954 | pythonlogging:'heatclient'
2015-11-18 06:35:08.954 | pythonlogging:'keystoneclient'
2015-11-18 06:35:08.954 | pythonlogging:'keystonemiddleware'
2015-11-18 06:35:08.954 | pythonlogging:'magnumclient'
2015-11-18 06:35:08.954 | pythonlogging:'migrate'
2015-11-18 06:35:08.954 | pythonlogging:'mistralclient'
2015-11-18 06:35:08.954 | pythonlogging:'neutronclient'
2015-11-18 06:36:45.475 | pythonlogging:'novaclient'
2015-11-18 06:36:45.475 | pythonlogging:'object'
2015-11-18 06:36:45.475 | pythonlogging:'oslo'
2015-11-18 06:36:45.475 | pythonlogging:'oslo_concurrency'
2015-11-18 06:36:45.475 | pythonlogging:'oslo_config'
2015-11-18 06:36:45.475 | pythonlogging:'oslo_db'
2015-11-18 06:36:45.475 | pythonlogging:'oslo_i18n'
2015-11-18 06:36:45.475 | pythonlogging:'oslo_log'
2015-11-18 06:36:45.475 | pythonlogging:'oslo_messaging'
2015-11-18 06:36:45.475 | pythonlogging:'oslo_middleware'
2015-11-18 06:36:45.475 | pythonlogging:'oslo_policy'
2015-11-18 06:36:45.476 | pythonlogging:'oslo_service'
2015-11-18 06:36:45.476 | pythonlogging:'oslo_utils'
2015-11-18 06:36:45.476 | pythonlogging:'oslo_versionedobjects'
2015-11-18 06:36:45.476 | pythonlogging:'requests'
2015-11-18 06:36:45.476 | pythonlogging:'routes'
2015-11-18 06:36:45.476 | pythonlogging:'saharaclient'
2015-11-18 06:36:45.476 | pythonlogging:'sqlalchemy'
2015-11-18 06:36:45.476 | pythonlogging:'stevedore'
2015-11-18 06:36:45.476 | pythonlogging:'swiftclient'
2015-11-18 06:36:45.476 | pythonlogging:'troveclient'
2015-11-18 06:36:45.476 |
2015-11-18 06:36:45.476 | Traceback (most recent call last):
2015-11-18 06:36:45.477 | File "heat/tests/test_stack.py", line 2523, in test_success
2015-11-18 06:36:45.477 | self.assertFalse(dummy.set_state.called)
2015-11-18 06:36:45.477 | File "/home/jenkins/workspace/gate-heat-python27/.tox/py27/local/lib/python2.7/site-packages/unittest2/case.py", line 696, in assertFalse
2015-11-18 06:36:45.477 | raise self.failureException(msg)
2015-11-18 06:36:45.477 | AssertionError: True is not false
2015-11-18 06:36:45.477 | Ran 5404 tests in 155.824s
2015-11-18 06:36:45.477 | FAILED (id=0, failures=1, skips=2)
2015-11-18 06:36:45.477 | error: testr failed (1)
2015-11-18 06:36:46.901 | ERROR: InvocationError: '/home/jenkins/workspace/gate-heat-python27/.tox/py27/bin/python setup.py testr --slowest --testr-args=^(?!heat_integrationtests)'
2015-11-18 06:36:46.901 | ___________________________________ summary ____________________________________
2015-11-18 06:36:46.901 | ERROR: py27: commands failed
2015-11-18 06:36:46.908 | + result=1
2015-11-18 06:36:46.908 | + freeze_venv
2015-11-18 06:36:46.908 | + '[' -e .tox/py27/bin/pbr ']'
2015-11-18 06:36:46.908 | + freezecmd=pbr
2015-11-18 06:36:46.909 | + echo 'Begin pbr freeze output from test virtualenv:'
2015-11-18 06:36:46.909 | Begin pbr freeze output from test virtualenv:
2015-11-18 06:36:46.909 | + echo ======================================================================
2015-11-18 06:36:46.909 | ======================================================================

Rabi Mishra (rabi)
description: updated
description: updated
Thomas Herve (therve)
Changed in heat:
importance: Undecided → High
milestone: none → mitaka-1
assignee: nobody → Thomas Herve (therve)
Changed in heat:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/246797
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=a850d922b0a08feb714a68b7a6da3648a7de6aea
Submitter: Jenkins
Branch: master

commit a850d922b0a08feb714a68b7a6da3648a7de6aea
Author: Thomas Herve <email address hidden>
Date: Wed Nov 18 09:41:46 2015 +0100

    Fix ResetStateOnErrorTest.test_success

    The new test ResetStateOnErrorTest.test_success relied on a class level
    variable to do assertions, thus being sensitive to test order. This
    moves the culprit variable to the instance level.

    Change-Id: I09705903939530be0983aab830d27d80634fe23f
    Closes-Bug: #1517359

Changed in heat:
status: In Progress → Fix Committed
Revision history for this message
Zane Bitter (zaneb) wrote :

Thanks Rabi & Thomas. This was a particularly bone-headed error on my part.

Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/heat 6.0.0.0b1

This issue was fixed in the openstack/heat 6.0.0.0b1 development milestone.

Changed in heat:
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.