diff --git a/elastic_recheck/tests/unit/test_load_queries.py b/elastic_recheck/tests/unit/test_load_queries.py index a5c52cf3..194007e1 100644 --- a/elastic_recheck/tests/unit/test_load_queries.py +++ b/elastic_recheck/tests/unit/test_load_queries.py @@ -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']) diff --git a/queries/1524898.yaml b/queries/1524898.yaml new file mode 100644 index 00000000..1c0181a8 --- /dev/null +++ b/queries/1524898.yaml @@ -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"