Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2699708imm; Sat, 9 Jun 2018 23:14:17 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKE8EF+e/vTOj6tMs6zV5XBiNAxlMftcawgwBGWtVBMNbhN6ZJWvAP3hw0lvotEoKk0HcvV X-Received: by 2002:a62:d97:: with SMTP id 23-v6mr12696715pfn.202.1528611257615; Sat, 09 Jun 2018 23:14:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528611257; cv=none; d=google.com; s=arc-20160816; b=EpbqmSvZbr0qwS77Aj88tnAQz2dFgE00OzQBToHQgR7QFrUjLz2gOUJDRwab4iwfIO DO6uudm1NUP4N967Mj40F59HafTyw6z8z9fL3mwXMYs4ykWikrdEg+dnuSQhNz1Te3ga VgXIBS39TaZqfSeR2qU4iJaWhxRTRgGFWDsXmnVyX304jc6PxNIgycBe2uo8EyKXgRST 0quOk9MT3T64z742tnUO0h36cu/lPsl50/Jyp9VZpm6WVc2UFkdD5Bh7y76V+MlA+6Co AZUNkRzPvEbJ54Qw6zlMoy4eOFnRUXqM3ocFKVu90V89xTT3ZWKydSPdIukIMvm90Hez IEfQ== 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=RJUqumIEOBUZ7LddMIceNZhfhKF/uwHTxvdNtEZlW6c=; b=0+Xe7hmmAH1wfIpilDGX1ltAiKb6iUVybJrNPcSqxq2P/yDVs8NispNdECg0TMgTaD FlAca7M+VCZz3NrDwR4fcnEY76gQHxqA7L0y+LFd019v6HX4b4eu3AYqgI+b5KkVyEBP ktD3ApegX6ShIyMRcSP8xWm1vRW/KDX+2yqhfUU76A6FnG74BIaHPlY2thO2L7rVrvWG fUF7QH2gARH2o0uaWE6LvzXxW8uLWiBq+eVZesSO5pcUEDcxydvgVW7LH8AEihk/g4Yv LNNswWlFPRsXyU18DnQJbZjGDuiBqbx+E0P/COXI/GkKvzwC5q9ig4Gcb+IeN1F+5S+R RHFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=tVdmi0hA; 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 c88-v6si22390025pfe.29.2018.06.09.23.14.01; Sat, 09 Jun 2018 23:14: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; dkim=pass header.i=@google.com header.s=20161025 header.b=tVdmi0hA; 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 S1753712AbeFJGL1 (ORCPT + 99 others); Sun, 10 Jun 2018 02:11:27 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:35359 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751697AbeFJGL0 (ORCPT ); Sun, 10 Jun 2018 02:11:26 -0400 Received: by mail-pl0-f66.google.com with SMTP id k1-v6so2112152plt.2 for ; Sat, 09 Jun 2018 23:11:26 -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=RJUqumIEOBUZ7LddMIceNZhfhKF/uwHTxvdNtEZlW6c=; b=tVdmi0hAMF3WJi0/XrNCVibKCM3XzZBVOBuP1pJ+FH1yuWAmlRF35esLAGZ39cDdlr PEiyOE10QUxg/3jBVRBTUMzwNi58ycR+3BII+hJWWvOryKEm+wV7VU7sXBnFzzRKCzE7 Y1TsyhK0QEgIYcvXzWJmA25R0Y4Q2YgpLzS6gVa6ggSUSRlaZb46GJEGM52MYQjzODFF Sa6b6ezVY8iOoK15pTAx8S40hZmh1V4GBtvDg0jaQbTRyWTjSy7Fg4Tl6N1xjNM65WBH soinphpOwk5APThjqO83SLIOsbF1npaLmkXPWw/Fl1+2cWq3STc6C5JRS82X2cjpWT0h 485w== 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=RJUqumIEOBUZ7LddMIceNZhfhKF/uwHTxvdNtEZlW6c=; b=NafPK8TTlpCZaYUilKDzFM5NC8jvpbnRHpi6X6gmtMHJy8GCP34/xf1dwY9BHKfw/5 NVmmjJFh9rCyRDLKE6buiMMGeGn0xJ/EUejrkGwPidvEVcDMqPFAJ/JNXqwsiA1eF9Ld jQHysZFrHl3yAuivgjqvCU23t+ACkqlAZFvrK7XJw7Z4Rt5tAQeAf3MVumyNDLOQ269L DuE8wSwdMrbmbaImzSL87n1+1jGcM4GhvErFrGL8Uimus/qxvftbHHhn2zFWHZVOaxaM bvspt385bcMCjWOTUNG1O5IKgDvcQGMaSi6xP1sHGsKrzs1pkdS5VmrAYUCdjCX7qWTX w3vg== X-Gm-Message-State: APt69E2c2HariaxnqF+JuUqHY26EvddEFwZfou7OP8KyRG5Tk7wl+fqY 4ixvlXqqiIQ5byDP8eT3dVfTtdb9qjEvQHcW1cy/Gg== X-Received: by 2002:a17:902:bb81:: with SMTP id m1-v6mr13393811pls.117.1528611085769; Sat, 09 Jun 2018 23:11:25 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:d42:0:0:0:0 with HTTP; Sat, 9 Jun 2018 23:11:05 -0700 (PDT) In-Reply-To: <20180610015107.GC5020@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> From: Dmitry Vyukov Date: Sun, 10 Jun 2018 08:11:05 +0200 Message-ID: Subject: Re: what trees/branches to test on syzbot To: "Theodore Y. Ts'o" , Linus Torvalds , Tetsuo Handa , Dmitry Vyukov , 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 Sun, Jun 10, 2018 at 3:51 AM, Theodore Y. Ts'o wrote: > On Sat, Jun 09, 2018 at 03:17:21PM -0700, Linus Torvalds wrote: >> I think it would be lovely to get linux-next back eventually, but it >> sounds like it's just too noisy right now, and yes, we should have a >> baseline for the standard tree first. >> >> But once there's a "this is known for the baseline", I think adding >> linux-next back in and then maybe even have linux-next simply just >> kick out trees that cause problems would be a good idea. >> >> Right now linux-next only kicks things out based on build issues (or >> extreme merge issues), afaik. But it *would* be good to also have >> things like syzbot do quality control on linux-next. > > Syzbot is always getting improved to find new classes of problems. So > the only way to get a baseline would be to use an older version of > syzbot for linux-next, and to have it suppress sending e-mails about > failures that are duplicates that were already found via the mainline > tree. > > Then periodically, once version N has run for M weeks, and has spewed > some large number of new failures to LKML, then you could promote > version N to be run against linux-next, and so hopefully the only > thing it would report against linux-next are regressions, and not > duplicates of new bugs also being found via the latest and greatest > version of syzbot being run against the mainline kernel. 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. But using an older syzkaller revision won't save from this fully either, because (1) some bugs take long time to find, and (2) a bug can be hidden by another known bug, so when the second bug is fixed the first one suddenly pops up, but it's not a new bug (and the chances are that the second one will be fixed on linux-next first, so the first bug will look like linux-next-only). I think re removing commits from linux-next, one of the main signals can be: were there recent changes related to the bug. Looking at new bugs being reported, frequently it's quite obvious (e.g. "use-after-free in foo" and a recent "make foo faster"). But in general, if we go with linux-next, maintainers and developers need to agree to deal with this additional aspect during bug triage. There is also a problem with rebasing of linux-next: reported commit hashes do not make sense and we can forget about bisection. On a related note, recently Greg suggested to onboard more subsystem -next trees (currently we test only net-next and bpf-next), so I tried to formulate requirements for these trees: https://github.com/google/syzkaller/issues/592 - not rebased (commit hashes work, bisection works) - maintained in a reasonably good shape (no tons of assorted crashes) - reasonably active (makes sense to test) - merge upstream periodically (bugs are getting fixed) - with maintainers who are willing to cooperate and fix bugs Any volunteers? Thanks