test_hook_pre_update_in_place intermittently fails

Bug #1626075 reported by Thomas Herve
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Thomas Herve

Bug Description

Seen here: http://logs.openstack.org/14/373614/1/gate/gate-heat-dsvm-functional-convg-mysql-lbaasv2/d5c33eb/console.html

It fails with ERROR: The "pre-update" hook is not defined on ResourceGroup "rg"

Why would the hook disappears mid-test, no idea.

Thomas Herve (therve)
Changed in heat:
milestone: ongoing → ocata-1
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/374115

Changed in heat:
assignee: nobody → Thomas Herve (therve)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to heat (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/375250

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on heat (master)

Change abandoned by Rabi Mishra (<email address hidden>) on branch: master
Review: https://review.openstack.org/375250
Reason: My bad. We doing it in an asynchronous task.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

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

commit 65e7e594c86824e5bfd888665892294a33330a0b
Author: Thomas Herve <email address hidden>
Date: Wed Sep 21 14:47:36 2016 +0200

    Set hooks before storing events

    There is a race condition where setting a hook, where we store the event
    before and only then set the hook. If somehow if a test is fast enough
    to retrieve the events and signal before the hook is actually set, it
    will fail. It makes more sense to set the hook first.

    Change-Id: I8f3c33da37419d2d9ead27aaf43949e876236bc5
    Closes-Bug: #1626075

Changed in heat:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/heat 8.0.0.0b1

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

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.