Joe Gordon 35bb428f95 Add launchpad support to check_success
Make check_success query launchpad to provide more useful output.

The goal is to make the output of check_success more useful by adding
bug title, and affected projects etc.

Change-Id: Ifd95056ade720be080cccf36196fad7bf4514ffd
2013-11-19 21:56:17 -08:00
2013-09-23 15:27:39 -07:00
2013-09-23 15:27:39 -07:00
2013-09-23 15:27:39 -07:00
2013-09-23 15:27:39 -07:00
2013-09-23 15:27:39 -07:00
2013-09-23 15:27:39 -07:00
2013-09-23 15:27:39 -07:00
2013-11-19 20:34:47 -08:00
2013-11-19 20:40:37 -08:00
2013-09-30 10:29:32 -07:00
2013-10-02 14:56:49 -07:00
2013-09-23 15:27:39 -07:00

elastic-recheck

"Classify tempest-devstack failures using ElasticSearch"

Idea

When a tempest job failure is detected, by monitoring gerrit (using gerritlib), a collection of logstash queries will be run on the failed job to detect what the bug was.

Eventually this can be tied into the rechecker tool and launchpad

queries.yaml

All queries are stored in a yaml file called: queries.yaml

Guidelines for queries.yaml

  • After a bug is resolved and has no more hits in elasticsearch, it should be removed
  • Queries should get as close as possible to fingerprinting the root cause
  • Queries should not return any hits for successful jobs, this is a sign the query isn't specific enough

Future Work

  • Move config files into a separate directory
  • Make unit tests robust
  • Merge both binaries
  • Add debug mode flag
  • Split out queries repo
  • Expand gating testing
  • Cleanup and document code better
  • 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

Main Dependencies

  • gerritlib
  • pyelasticsearch
Description
Classify tempest-devstack failures using ElasticSearch
Readme 14 MiB
Languages
Python 53.3%
JavaScript 38.1%
HTML 7.5%
Makefile 0.5%
CSS 0.4%
Other 0.2%