Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3547111imm; Sun, 17 Jun 2018 23:12:18 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJkt+2hcTdHHu+4zNjH9dWkycaqGZSSlEJTIY//IlA9qjQL/0DGQr30FhejBprM27mOMuTS X-Received: by 2002:a62:494f:: with SMTP id w76-v6mr11991577pfa.152.1529302337983; Sun, 17 Jun 2018 23:12:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529302337; cv=none; d=google.com; s=arc-20160816; b=vy2DX6H1gsdPavlqPfiJ6znQgQw6YFE1eRCSiPFhkCHIY5NrWnKesoBCzu+I6SnzjO HPY1Uv3QjmIOqrXq0eJ9EMAQvA7MWvPa14QCWTYOnlbevnx+95YfgX4MkmV3ObWIN9AN qrjkk8aEc9+Aeaq7HO0Gt6Jbk7AlGMh0xPbQ9d3pIvbYBb0LkaljRv54ktbafS2g3tv/ StDaUVe6C8s1yKPpZlHRUY5y6254Et/YqcV1XNMoqDzZrI0zDde6raWbXuK/W88f5n6q YzEKpJGzoXeS3uLqMtiVG1cc3I0w3cVesovJ1o2xGsgb19jIxiUEQlGwFMX5U/494B9y 09QA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:mime-version:user-agent :message-id:in-reply-to:date:references:cc:to:from :arc-authentication-results; bh=X9zUroH5l1zNtfgWQwxQweMrTbeKKmKWQtXafEHJj64=; b=kx1SPp+UM+xJtl7RRfUgwR1eYdr/BVy/Epz5kMBXiXdiXaWmk8dNQjySlpEM18saWt ibAGKP1C7ZpIDx6TfiVnD79inXXKTfWzeIqxmneU+XAFtMRvwrgAHQqXURosuo0425gC 9AWVZHOWULDt2bBvXlWEpIgaFIU3PB88gZZa/lbo7rxWSMIQmuuQO6Xpob2Ys0zJs5o1 dA2RC9D5eUFDIa3gmP1bGXQt/aHwd1BtzKyvnIksHsCLUivqgFFXqP6LCxUtwH8QdAq8 xxzsB6DhGsUQTxI3w2MZEh5uejkP9wiiNr/UvCdZe01CHz9tC2twHSextjllO7yJKr3V mimw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4-v6si11772131pgc.634.2018.06.17.23.12.03; Sun, 17 Jun 2018 23:12:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754858AbeFRGLZ (ORCPT + 99 others); Mon, 18 Jun 2018 02:11:25 -0400 Received: from out02.mta.xmission.com ([166.70.13.232]:36691 "EHLO out02.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754544AbeFRGLX (ORCPT ); Mon, 18 Jun 2018 02:11:23 -0400 Received: from in02.mta.xmission.com ([166.70.13.52]) by out02.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1fUnNm-0004xj-0c; Mon, 18 Jun 2018 00:11:18 -0600 Received: from 97-119-124-205.omah.qwest.net ([97.119.124.205] helo=x220.xmission.com) by in02.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1fUnNW-00024I-Kv; Mon, 18 Jun 2018 00:11:17 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Dmitry Vyukov Cc: "Theodore Y. Ts'o" , Linus Torvalds , Tetsuo Handa , Greg Kroah-Hartman , Guenter Roeck , Linux Kernel Mailing List , Andrew Morton , syzkaller , Stephen Rothwell , David Miller , Wu Fengguang References: <873735n3dy.fsf@xmission.com> <20180116173440.GA15893@kroah.com> <81a0eb59-c204-9e36-13b7-88c2ea99ceab@I-love.SAKURA.ne.jp> <20180610015107.GC5020@thunk.org> <20180611012250.GD5020@thunk.org> Date: Mon, 18 Jun 2018 01:10:49 -0500 In-Reply-To: (Dmitry Vyukov's message of "Fri, 15 Jun 2018 11:54:16 +0200") Message-ID: <87602gmxp2.fsf@xmission.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1fUnNW-00024I-Kv;;;mid=<87602gmxp2.fsf@xmission.com>;;;hst=in02.mta.xmission.com;;;ip=97.119.124.205;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX19vVjeD04paReLVmPC77ULfXHbXK7SFp8I= X-SA-Exim-Connect-IP: 97.119.124.205 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa07.xmission.com X-Spam-Level: X-Spam-Status: No, score=-0.2 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,TVD_RCVD_IP,T_TM2_M_HEADER_IN_MSG autolearn=disabled version=3.4.1 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.0 TVD_RCVD_IP Message was received from an IP address * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.5000] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa07 1397; Body=1 Fuz1=1 Fuz2=1] X-Spam-DCC: XMission; sa07 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ;Dmitry Vyukov X-Spam-Relay-Country: X-Spam-Timing: total 15022 ms - load_scoreonly_sql: 0.03 (0.0%), signal_user_changed: 2.4 (0.0%), b_tie_ro: 1.67 (0.0%), parse: 0.80 (0.0%), extract_message_metadata: 11 (0.1%), get_uri_detail_list: 2.5 (0.0%), tests_pri_-1000: 3.1 (0.0%), tests_pri_-950: 1.13 (0.0%), tests_pri_-900: 0.96 (0.0%), tests_pri_-400: 28 (0.2%), check_bayes: 27 (0.2%), b_tokenize: 9 (0.1%), b_tok_get_all: 10 (0.1%), b_comp_prob: 2.9 (0.0%), b_tok_touch_all: 3.6 (0.0%), b_finish: 0.54 (0.0%), tests_pri_0: 245 (1.6%), check_dkim_signature: 0.49 (0.0%), check_dkim_adsp: 3.1 (0.0%), tests_pri_500: 14727 (98.0%), poll_dns_idle: 14720 (98.0%), rewrite_mail: 0.00 (0.0%) Subject: Re: what trees/branches to test on syzbot X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dmitry Vyukov writes: > On Mon, Jun 11, 2018 at 3:22 AM, Theodore Y. Ts'o wrote: >> On Sun, Jun 10, 2018 at 08:11:05AM +0200, Dmitry Vyukov wrote: >>> >>> The set of trees where a crash happened is visible on dashboard, so >>> one can see if it's only linux-next or whole set of trees. Potentially >>> syzbot can act differently depending on this predicate, but I don't >>> see what should be the difference. However, this does not fully save >>> from falsely assessing bugs as linux-next-only just because they >>> happened few times and only on linux-next so far. >> >> So how about this, only report something as being a linux-next >> regression if (a) there is a reproducer, and (b) the reproducer does >> not trigger any kind of crash on mainline? >> >>> There is also a problem with rebasing of linux-next: reported commit >>> hashes do not make sense and we can forget about bisection. >> >> If there is a valid reproducer, bisection should simply be a matter ofu >> running and if we know the reproducer doesn't trigger on mainline, >> then the bisection should only require no more than 8-10 VM runs. For >> Linux-next, this would be *super* valuable. Reporting the commit ID >> and the one-line commit summary will be enough for most maintainers, >> since even if they are using a rewinding head, so long as the >> bisection can be done quickly enough (e.g., within a few days), it >> will still be in their git repository. >> >> And if you have a reproducer, then once it's identified as a >> linux-next reproducer with a guilty commit, that can be confirmed by >> either (a) seeing if you can revert the commit and if it makes the >> problem go away, or (b) figure out which subsystem git tree the commit >> was introduced via, and then verify that the reproducer triggers on >> the tip of the subsystem git tree. >> >> All of this will require development effort, so I suspect it's not >> something we'll see from syzbot tomorrow --- but it's not >> *impossible*. >> >> I think though that sending e-mail about a linux-next syzbot crash if >> there is a reproducer and the reproducer doesn't trigger a crash on >> mainline should be really simple to implement, and it would add huge >> value without spamming the subsystem maintainers. > > > But if this also happens on upstream, then we want to report it > twofold. So this predicate can be reduced to "report crashes that > happen only on linux-next iff they have reproducers", right? > We will probably also need something that will auto-invalidate old > bugs that were never reported. > > Re backwards bisection (when bug is introduced), we can actually test > linux-next-history instead of linux-next, right? > But forward bisection (when bug is fixed) unfortunately won't work > because these commits are not connected to HEAD. And forward bisection > is very important, otherwise who will bring order to all these > hundreds of open bugs? > https://syzkaller.appspot.com/ Maybe you want to monitor linux-next and see if the problem commits disappear. That can let you stop worrying about the issue. I don't see the point of worrying about which linux-next build a problem appeared in. It is the first commit that reproduces the problem that is interesting. That commit tells you who did something that was problematic. If you notify the committer with the reproducer they should be able to reproduce the problem and fix it. Very rarely I suspect it will be the merge commit into linux-next that is the problem, but most of the time these commits are going to be in the subsystem trees. Eric