Deferred delete tests might fail if periodic cleanup task runs

Bug #1146510 reported by Hans Lindgren
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Hans Lindgren

Bug Description

All deferred delete tests set reclaim_instance_interval to 1. This is fine for the test_deferred_delete test that depends on the periodic task _reclaim_queued_deletes to run.

For the other tests however, in the unlikely event that the periodic task do run before the tests are done, it will interfere with the tests by terminating the instance in the middle of it.

An example of this can be seen here: http://logs.openstack.org/23376/3/gate/gate-nova-python26/18069/console.html.gz

By setting the interval longer than the actual test run, this can be avoided.

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

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

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

Reviewed: https://review.openstack.org/23528
Committed: http://github.com/openstack/nova/commit/f98012174005faa4a88cb694ee900396f50f0f75
Submitter: Jenkins
Branch: master

commit f98012174005faa4a88cb694ee900396f50f0f75
Author: Hans Lindgren <email address hidden>
Date: Tue Mar 5 11:02:46 2013 +0100

    Adjusts reclaim instance interval of deferred delete tests

    All deferred delete tests set reclaim_instance_interval to 1. This is
    fine for the test_deferred_delete test that depends on the periodic
    task _reclaim_queued_deletes to run.

    For the other tests however, in the unlikely event that the periodic
    task do run before the tests are done, it will interfere with the tests
    by terminating the instance in the middle of it.

    By setting the interval longer than the actual test run, this can be
    avoided.

    Resolves bug 1146510.

    Change-Id: I606cd9f3277cc86cf4f9811da2a10efc7433b9d0

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-rc1 → 2013.1
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.