From 291da244af866e0b879b74b1dd59ed13334888be Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Tue, 1 Mar 2016 12:24:14 -0500 Subject: [PATCH] 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 --- elastic_recheck/tests/unit/test_load_queries.py | 2 +- queries/1524898.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 queries/1524898.yaml 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"