Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp582168imm; Fri, 15 Jun 2018 02:55:35 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKNVIcf7U2uwiFuVs+ZhSRh5ejFxBoUXL5emC0CHxlHSDTaVKoYOGqQLoOFn7EVyJYW9/aW X-Received: by 2002:a62:8f8c:: with SMTP id n134-v6mr1160241pfd.66.1529056535796; Fri, 15 Jun 2018 02:55:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529056535; cv=none; d=google.com; s=arc-20160816; b=crcPQtFwhlhm1H/kGPv0AU7/9jr4/Yc1pjv5g2fe9vTSbE7RaNzM9fgycmfveXxd2P q+K3BSPe6ASroNmri3HPGGa25cOiQNbRgq+ohYo/CoZ+r3lkZuSznZEIwFNjmRdZVn8W KH61ecoa4w9JAOtUgWypTOnpbLKmywU5oP7DsBjY3jwXHV2OfHJi+tkKCPzSDAr+lgji Ll08SvflzsI2GPkr1i36VHAGsCVm8D3sTJG61yEs+N+tjsdsYBAK65EzyhRsBJ4XNAKz hyO8fIqVBbYSZfmO/xFMpwpYR4/ruWiktd3PjNvK5WYzlmhu/ATzO35sFYms4okCXdjI lqBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=45/UnM8lIuSyXCa+PE/uuGGrvls94/CcqU4fZ9QWB/A=; b=R4O7JojSB1kJBzdjfIk89XYJ1uLiGo9/W50GcRjNayzvpFvqv+PDDyJx4J6IJ1UGic z4C/YNEP/nR0AGDiby308jvvmeLsLTd1Swb+1JJeLekQ29yHC+D0G6Z2PKys6L/tJGS8 6XQLwqMj/J+XlHfWbQdcl6yVSjd769sLP6iaw0IrucWl4LMbr7cdmQlMhTGXaFyNmq3w cgINvSFdne8ggL/siz13rg8dzn7uZdvm1OnXjeOR2XCEcnd71S2jnRvmBS2O+0Lb/UCO DR84RqdxZwinJQxODUnahesryqH3Js5UmGB2vsIsrPQvqKEIHy2NNdzxpHIZv2Jp9Wvp EjOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="pK/J6jY+"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r25-v6si7755024pff.24.2018.06.15.02.55.20; Fri, 15 Jun 2018 02:55:35 -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; dkim=pass header.i=@google.com header.s=20161025 header.b="pK/J6jY+"; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965590AbeFOJyj (ORCPT + 99 others); Fri, 15 Jun 2018 05:54:39 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:43646 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936122AbeFOJyi (ORCPT ); Fri, 15 Jun 2018 05:54:38 -0400 Received: by mail-pf0-f193.google.com with SMTP id y8-v6so4632081pfm.10 for ; Fri, 15 Jun 2018 02:54:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=45/UnM8lIuSyXCa+PE/uuGGrvls94/CcqU4fZ9QWB/A=; b=pK/J6jY+PY2b/4e3IcJVV9QGuDqqWCHuSp2zVW1+M3WWLzmHrmNUMU/1qyIz7rpZBh QiHBqos194XTNIsRveZIUb91NB17TFpu5L33L3da5ThAcXt4FPH62jc27Q/abf0KdLy5 ljcAmER22DkG0PGvRhZZreJ7axsXnmhNMTnJgTdIOwHjYb3QEK9ZZ+YhQ648L5Lsps8z N1dY41NZ/Q63c0p+fJX4SoBBdtkrCS7n693yR4bG/0H+nbnDGCXbOGgbU5+N7fGC2JY0 4eqFJX24T6aowAmFPn4ygWUQjWggu6aNTlbp8EDoY52efMNSAPAannKVIuZGmltmcqiJ pEMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=45/UnM8lIuSyXCa+PE/uuGGrvls94/CcqU4fZ9QWB/A=; b=dmp4i+olwPanjw7Beu/TeX8FtewA7JLWv1gQWo6mG5sneH0OFK8ta2Vbe5IXm8KePm 20uISgl9YBm9JG00s54j3kuAq/TmpN9NA42K6VhaEE/u/7IUYb6BP7eEncAS0pZ6Bu9y Mq0THn3wIE5M5WnXoRKunu+l5Wu4fKb/moPKWKHI+FdjZTChChlzc79xYn/HWvbmMYAT MI1K0arGCRAFl+ZxOyZy0aZH208kT5f6GAqR9om42nwBrzhJEoeaq54mjubwVJfYP4ty N9vTbOgp2UNHb0nD5Pr8FR4NWaXIDB2L3J4Lzql+7W+Pbp87bGPaNHO+dC7bVD0Ua8Sm Bfag== X-Gm-Message-State: APt69E2E7zweu1tUpYKVEwiV6r+VslO63N7sdePWN3WD/xqnhdVoMqd9 ahUuGCGVKHyyqU8uG1Dqugpt6fZfEKlB9LAByHLQ7g== X-Received: by 2002:a65:4bcd:: with SMTP id p13-v6mr952622pgr.114.1529056477240; Fri, 15 Jun 2018 02:54:37 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:de2:0:0:0:0 with HTTP; Fri, 15 Jun 2018 02:54:16 -0700 (PDT) In-Reply-To: <20180611012250.GD5020@thunk.org> 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> From: Dmitry Vyukov Date: Fri, 15 Jun 2018 11:54:16 +0200 Message-ID: Subject: Re: what trees/branches to test on syzbot To: "Theodore Y. Ts'o" , Dmitry Vyukov , Linus Torvalds , Tetsuo Handa , Greg Kroah-Hartman , "Eric W. Biederman" , Guenter Roeck , Linux Kernel Mailing List , Andrew Morton , syzkaller , Stephen Rothwell , David Miller , Wu Fengguang Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/