When the build times out and this fails, there are no logs really so we have to base this on the build timeout message in the console log. Note that we are essentially doing a wildcard for the timeout value but we restrict the query based on build_name to avoid hits on some swift jobs. Related-Bug: #1258682 Change-Id: I0db0e08627609b44ec8ea132b980021f8d7b7b9d
|7 years ago|
|doc/source||7 years ago|
|elastic_recheck||7 years ago|
|queries||7 years ago|
|web||7 years ago|
|.coveragerc||7 years ago|
|.gitignore||7 years ago|
|.gitreview||7 years ago|
|.testr.conf||7 years ago|
|CONTRIBUTING.rst||7 years ago|
|LICENSE||7 years ago|
|MANIFEST.in||7 years ago|
|README.rst||7 years ago|
|babel.cfg||7 years ago|
|elasticRecheck.conf.sample||7 years ago|
|recheckwatchbot.yaml||7 years ago|
|requirements.txt||7 years ago|
|setup.cfg||7 years ago|
|setup.py||7 years ago|
|test-requirements.txt||7 years ago|
|tox.ini||7 years ago|
"Classify tempest-devstack failures using ElasticSearch"
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
All queries are stored in separate yaml files in a queries directory at the top of the elastic_recheck code base. The format of these files is ######.yaml (where ###### is the bug number), the yaml should have a
query keyword which is the query text for elastic search.
Guidelines for good queries
In order to support rapidly added queries, it's considered socially acceptable to +A changes that only add 1 new bug query, and to even self approve those changes by core reviewers.
Most transient bugs seen in gate are not bugs in tempest associated with a specific tempest test failure, but rather some sort of issue further down the stack that can cause many tempest tests to fail.
elastic-recheck/queries/BUGNUMBER.yamland push the patch up for review. https://git.openstack.org/cgit/openstack-infra/elastic-recheck/tree/queries