Conversation
The script generates a report with all checks that depend on log messages. Signed-off-by: Marcin Wilk <marcin.wilk@canonical.com>
|
Why would we need this? Why do we care if x number of scenarios depended on log messages? |
|
Ah, I see. Thanks! |
|
@wilkmar im happy to get this landed if we can improve a couple of things; firstly you need to add this to tox.ini pyfiles e.g. diff --git a/tox.ini b/tox.ini
index b4ac51c76..5e7d7146b 100644
--- a/tox.ini
+++ b/tox.ini
@@ -31,7 +31,8 @@ passenv =
pyfiles =
{toxinidir}/hotsos \
{[testenv]unit_tests} \
- {toxinidir}/tools/validation
+ {toxinidir}/tools/validation \
+ {toxinidir}/tools/misc
setenv =
HOTSOS_ROOT={toxinidir}/hotsos
PYTHONHASHSEED=0it will raise quite a lot of linting errors that need to be fixed. Secondly, we now have three areas of code that are discovering scenario files but in different ways and I would like to explore how we can unify them. |
The script generates a report with all checks that depend on log messages.
The example 'short' report:
The example 'full' report: