Classify tempest-devstack failures using ElasticSearch
545012839a
This includes a number of changes to prevent printing to stdout and enable using daemonContext so that we can run bot.py as a daemon. |
||
---|---|---|
tests | ||
.gitignore | ||
.testr.conf | ||
bot.py | ||
elasticRecheck.conf | ||
elasticRecheck.py | ||
LICENSE | ||
proof_of_concept.py | ||
queries.json | ||
README.md | ||
recheckwatchbot.yaml | ||
requirements.txt | ||
tox.ini |
elasticRecheck
Classify tempest-devstack failures using a list of elastic search queries.
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
Future Work
- Pull in list of queries from a more flexible source, so a commit isn't needed to update each time
- Turn into a server app
- Make unit tests robust and not need internet
Dependencies
- gerritlib
- pyelasticsearch