Actions
action #108503
openCollect and prominently display warnings from autoinst.log
Start date:
2016-02-10
Due date:
% Done:
0%
Estimated time:
Description
Motivation¶
We recently look into the autoinst.log of a failed job, and saw many different perl warnings (mostly "use of uninitialized value") that were actually unrelated to the failure.
It's hard to find a "real" problem in the log because of that.
Sometimes the warnings happen because of the test code, and sometimes it's code in os-autoinst that could actually be improved.
We should show the warnings in a prominent way in the UI, but also collect them in a way that allows us to search for all jobs with warnings to analyze them from time to time
Acceptance Criteria¶
AC1: Perl Warnings are prominently shown in the web ui
AC2: We have possibility to search for all (recent) jobs with warnings to analyze them
Suggestions¶
- At the end of the job, parse autoinst.log for perl warnings and collect them in a seperate file
- Highlight this file in the Log tab of the job
Actions