← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1742688] Re: test_live_migration_actions notification sample test fails intermittently with 'notification instance.live_migration_rollback.start hasn't been received'

 

Reviewed:  https://review.openstack.org/532816
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=8b444de795263fc65128030098708331e8ff0afb
Submitter: Zuul
Branch:    master

commit 8b444de795263fc65128030098708331e8ff0afb
Author: Balazs Gibizer <balazs.gibizer@xxxxxxxxxxxx>
Date:   Thu Jan 11 14:23:15 2018 +0100

    Increase notification wait timeout in functional tests
    
    In the baseline the wait_for_notification() functional test util
    function by default waits maximum 1 second for a notification to
    arrive. Based on recent gate failures it seems that it is not enough
    in some cases for the notitification to arrive. Therefore this patch
    bumps the default timeout to 10 seconds. This will only make the test
    execution slower if the notifiication arrives later or does not even
    arrive. So in the happy case the test execution will not be slower.
    
    Change-Id: I75e2bcd87535de7e44bdf317c3ab12ba8952dcca
    Closes-Bug: #1742688


** 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/1742688

Title:
  test_live_migration_actions notification sample test fails
  intermittently with 'notification
  instance.live_migration_rollback.start hasn't been received'

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Traceback (most recent call last):
    File "nova/tests/functional/notification_sample_tests/test_instance.py", line 63, in test_live_migration_actions
      action(server)
    File "/home/zuul/src/git.openstack.org/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
      return func(*args, **keywargs)
    File "nova/tests/functional/notification_sample_tests/test_instance.py", line 78, in _test_live_migration_rollback
      self._wait_for_notification('instance.live_migration_rollback.start')
    File "nova/tests/functional/notification_sample_tests/notification_sample_base.py", line 231, in _wait_for_notification
      'notification %s hasn\'t been received' % event_type)
    File "/home/zuul/src/git.openstack.org/openstack/nova/.tox/functional/local/lib/python2.7/site-packages/unittest2/case.py", line 702, in assertTrue
      raise self.failureException(msg)
  AssertionError: False is not true : notification instance.live_migration_rollback.start hasn't been received

  
  There was 5 failures in the last 7 days.

  http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22AssertionError%3A%20False%20is%20not%20true%20%3A%20notification%20instance.live_migration_rollback.start%20hasn't%20been%20received%5C%22

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


References