← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1717917] Re: test_resize_server_error_and_reschedule_was_failed failing due to missing notification

 

Reviewed:  https://review.openstack.org/509750
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=265ed23bb20c8d860ec49daeff2e9c8eea1b57f0
Submitter: Jenkins
Branch:    master

commit 265ed23bb20c8d860ec49daeff2e9c8eea1b57f0
Author: Balazs Gibizer <balazs.gibizer@xxxxxxxxxxxx>
Date:   Thu Oct 5 11:56:56 2017 +0200

    stabilize test_resize_server_error_and_reschedule_was_failed
    
    The Ia5311ffc12784987c138b127e43cfc52019cb3ea patch tried to fix a fluctuation
    in the test_resize_server_error_and_reschedule_was_failed functional test.
    But the test still fluctuates even after that patch is merged[1]. Looking back
    to the origin patch the problem is obvious and embarrassing. The extra
    _wait_for_notification call was introduced _after_ the assert that checks
    the number of received notifications. So the original patch never worked.
    
    This patch moves the extra wait call _before_ the assert.
    
    [1] http://logs.openstack.org/55/483955/9/check/gate-nova-tox-functional-ubuntu-xenial/209d046/console.html#_2017-10-04_21_52_53_807624
    
    Change-Id: I4c104842cbde587dc9c67f5fde84140252cdcdb5
    Closes-Bug: #1717917


** Changed in: nova
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1717917

Title:
  test_resize_server_error_and_reschedule_was_failed failing due to
  missing notification

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  The test_resize_server_error_and_reschedule_was_failed case was failed
  in jenkins couple of times[1]. It seems that the test only wait for
  the instance to go to ERROR state but compute.exception notification
  emitted after that which make the test racy.

  [1]
  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22testtools.matchers._impl.MismatchError%3A%202%20!%3D%201%3A%20Unexpected%20number%20of%20notifications%3A%5C%22

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1717917/+subscriptions


References