Filter non-voting jobs from the uncategorized bugs page

Change I1f3c2a65104db39fdd7d786d421cded1b436a5f6 added the 'voting'
field which has been tracking results for a couple of weeks now, so
let's use it to filter the initial set of results for the uncategorized
bugs page.

Change-Id: If66c9f5f2f0dea344f941a6a072ff0c30a86e7f2
This commit is contained in:
Matt Riedemann 2015-11-05 11:50:24 -08:00
parent d032d4a5c9
commit c272ddfbaf
3 changed files with 6 additions and 7 deletions

View File

@ -137,9 +137,9 @@ stack that can cause many tempest tests to fail.
and push the patch up for review.
You can also help classify `Unclassified failed jobs
<http://status.openstack.org/elastic-recheck/data/uncategorized.html>`_, which is
an aggregation of all failed gate jobs that don't currently have elastic-recheck
fingerprints.
<http://status.openstack.org/elastic-recheck/data/uncategorized.html>`_, which
is an aggregation of all failed voting gate jobs that don't currently have
elastic-recheck fingerprints.
Removing Bug Signatures
@ -210,5 +210,3 @@ Future Work
- Move away from polling ElasticSearch to discover if its ready or not
- Add nightly job to propose a patch to remove bug queries that return
no hits -- Bug hasn't been seen in 2 weeks and must be closed
- Store whether or not the job is non-voting in ElasticSearch so that we can
filter non-voting jobs from the uncategorized bugs page.

View File

@ -78,7 +78,8 @@ def all_fails(classifier):
all_fails = {}
query = ('filename:"console.html" '
'AND message:"Finished: FAILURE" '
'AND build_queue:"gate"')
'AND build_queue:"gate" '
'AND voting:"1"')
results = classifier.hits_by_query(query, size=30000)
facets = er_results.FacetSet()
facets.detect_facets(results, ["build_uuid"])

View File

@ -82,7 +82,7 @@
{% endfor %}
</div>
<div class='crm114-verbiage'>
Failures on this page are collected from all gate failures that don't match current elastic-recheck bug fingerprints.<br>
Failures on this page are collected from all voting gate failures that don't match current elastic-recheck bug fingerprints.<br>
The crm114 links are logstash queries showing log messages that have been flagged as potential errors.<br>
More information on the system can be found <a href="http://docs.openstack.org/infra/system-config/logstash.html#crm114">here</a>
</div>