From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id E1E01B14 for ; Fri, 7 Jul 2017 03:33:07 +0000 (UTC) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id BD7293CB for ; Fri, 7 Jul 2017 03:33:06 +0000 (UTC) Date: Fri, 7 Jul 2017 11:33:02 +0800 From: Fengguang Wu To: Steven Rostedt Message-ID: <20170707033302.rgpq5knzx3qvvr2p@wfg-t540p.sh.intel.com> References: <576cea07-770a-4864-c3f5-0832ff211e94@leemhuis.info> <20170703123025.7479702e@gandalf.local.home> <20170705084528.67499f8c@gandalf.local.home> <4080ecc7-1aa8-2940-f230-1b79d656cdb4@redhat.com> <20170705092757.63dc2328@gandalf.local.home> <20170705140607.GA30187@kroah.com> <20170705112707.54d7f345@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20170705112707.54d7f345@gandalf.local.home> Cc: ksummit-discuss@lists.linuxfoundation.org, Carlos O'Donell , linux-api@vger.kernel.org, Thorsten Leemhuis , Shuah Khan Subject: Re: [Ksummit-discuss] [MAINTAINERS SUMMIT] & [TECH TOPIC] Improve regression tracking List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Jul 05, 2017 at 11:27:07AM -0400, Steven Rostedt wrote: [snip] >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 Reported-by: 0day test robot -----------------------[ cut here ]---------------------------------- Regards, Fengguang