Re: [Ksummit-discuss] [MAINTAINERS SUMMIT] & [TECH TOPIC] Improve regression tracking
From: Frank Rowand <hidden>
Date: 2017-07-07 04:52:25
On 07/06/17 20:33, Fengguang Wu wrote:
On Wed, Jul 05, 2017 at 11:27:07AM -0400, Steven Rostedt wrote: [snip]quoted
I need to be clearer on this. What I meant was, if there's a bug where someone has a test that easily reproduces the bug, then if there's not a test added to selftests for said bug, then we should shame those into doing so.Besides shaming, there's one more option -- acknowledgement. When it's a test case or test tool that discovered the bug, we could acknowledge it by adding one line in the bug fixing patch. The exact forms can be discussed, but here are some examples to show the basic idea: Tool: lockdep Tool: ktest Tool: smatch Tool: trinity Tool: syzkaller Tool: xfstests/tests/ext4/025 Tool: scripts/coccinelle/locks/call_kern.cocci Tool: tools/testing/selftests/bpf/test_align.c Reports from test infrastructures like 0day could go further to help acknowledge the tool author or maintainer by showing such lines in its bug report email: You may consider adding these lines in the bug fixing patch: -----------------------[ cut here ]---------------------------------- Fixes: XXXXXXXXXX ("title of the buggy commit") Tool: tools/testing/selftests/bpf/test_align.c [off-list ref] Reported-by: 0day test robot <redacted> -----------------------[ cut here ]---------------------------------- Regards, Fengguang _______________________________________________ Ksummit-discuss mailing list Ksummit-discuss-cunTk1MwBs98uUxBSJOaYoYkZiVZrdSR2LY78lusg7I@public.gmane.org https://lists.linuxfoundation.org/mailman/listinfo/ksummit-discuss
That is a great idea! If a tool is shown to be catching a large number of bugs then I am more likely to add it to my test process. -Frank