test_live_migration_actions notification sample test fails intermittently with 'notification instance.live_migration_rollback.start hasn't been received'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Balazs Gibizer |
Bug Description
Traceback (most recent call last):
File "nova/tests/
action(server)
File "/home/
return func(*args, **keywargs)
File "nova/tests/
self.
File "nova/tests/
'notification %s hasn\'t been received' % event_type)
File "/home/
raise self.failureExc
AssertionError: False is not true : notification instance.
There was 5 failures in the last 7 days.
Changed in nova: | |
assignee: | nobody → Balazs Gibizer (balazs-gibizer) |
tags: | added: testing |
Changed in nova: | |
importance: | Undecided → Low |
The logs does not show anything unusual. Locally I was not able to reproduce the problem during more than 50 trials. By comparing the logs between the local successful run and the gate failures the only interesting thing differences is timing. On my machine the it took less then a second from starting the second compute to execute the live migration and receive the rollback notification. On the gate failure it took 4 seconds from starting the second compute to get the last log message before the test failed. So it seems that the gate execution a lot slower. Currently the timeout to wait for the rollback notification to arrive is 1 second. So it is possible that the test times out on the gate before the notification has a chance to arrive.