Not deterministic failure in service_update_test_stack_preview

Bug #1496886 reported by Steven Hardy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Steve Baker

Bug Description

Running the unit tests locally I'm sometimes seeing this:

pythonlogging:'': {{{INFO [heat.engine.service] Previewing update of stack service_update_test_stack_preview}}}

Traceback (most recent call last):
  File "heat/tests/engine/service/test_stack_update.py", line 748, in test_stack_update_preview_replaced_update_not_allowed_prop
    replaced = [x for x in result['replaced']][0]
IndexError: list index out of range
Ran 5121 (+2) tests in 405.847s (-15.909s)
FAILED (id=63, failures=1 (+1), skips=6)
error: testr failed (1)
ERROR: InvocationError: '/opt/stack/heat/.tox/py27/bin/python setup.py testr --slowest --testr-args=^(?!heat_integrationtests)'
_________________________________________________________________ summary _________________________________________________________________
ERROR: py27: commands failed

Then, running tox -e py27 again works. Not sure of the root cause yet, but clearly it's not good if this is also happening in the gate.

Tags: gate-failure
Steven Hardy (shardy)
tags: added: gate-failure
Changed in heat:
status: New → Triaged
importance: Undecided → High
Changed in heat:
milestone: none → liberty-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

Changed in heat:
assignee: nobody → Steve Baker (steve-stevebaker)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

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

commit bab3b3afaaee5973177e16cfc01ee8384eee34ec
Author: Steve Baker <email address hidden>
Date: Fri Sep 18 02:28:11 2015 +0000

    Revert "Additional unit tests for update-preview"

    Both of these tests appear to have races which cause gate
    failures. This is affecting RC1 changes landing so lets
    revert for now while it is investigated.

    This reverts commit 92107789ad28da86b877e1d0c35cb0c7a8e9e437.
    Closes-Bug: #1496886

    Change-Id: I411be70ab88e05ad9dc79b3bf147b282bbda34b0

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: liberty-rc1 → 5.0.0
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.