Add query for volume-backed live migration abort bug 1524898

Like bug 1539271, we should track failures for the live migration
tests in the non-voting multinode job(s).

This has 103 hits in 7 days, all failures.

Change-Id: Ibc65c035614f233f67653c3ca941244704e66c11
Related-Bug: #1524898
This commit is contained in:
Matt Riedemann 2016-03-01 12:24:14 -05:00
parent 964e9ad646
commit 291da244af
2 changed files with 7 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class TestLoadQueries(tests.TestCase):
self.assertIsNotNone(q['bug'])
self.assertIsNotNone(q['query'])
# check for the allow-nonvoting flag
if q['bug'] == '1539271':
if 'allow-nonvoting' in q:
self.assertNotIn('voting:1', q['query'])
else:
self.assertIn('voting:1', q['query'])

6
queries/1524898.yaml Normal file
View File

@ -0,0 +1,6 @@
# NOTE(mriedem): This is a non-voting job but we want to track the failures
# for volume-backed live migration in the multinode jobs.
allow-nonvoting: True
query: >
message:"Live Migration failure: operation failed: migration job: unexpectedly failed" AND
tags:"screen-n-cpu.txt"