On Tue, Jan 26, 2021 at 03:23:52PM +0800, Wu Fengguang wrote:
- stats.each_key do |stat|
I'd suggest this:
The fail/error/warning cases should not take input from stderr.* stderr is rather chaotic -- let it stay in any_stderr.
BTW we used blacklist for stderr stats
/c/lkp-tests/etc/ignore-stderr/
which turns out hard to maintain in increasing tests -- can easily add noisy stderr stats that are just informative messages instead of error conditions.
I'd suggest to add another white list, mainly from the comment strings in
/c/linux/include/uapi/asm-generic/errno-base.h #define EPERM 1 /* Operation not permitted */ #define ENOENT 2 /* No such file or directory */ #define ESRCH 3 /* No such process */
to only convert the well known error messages to stats.stderr.*
Thanks, Fengguang