git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Willy Tarreau <w@1wt.eu>
To: david@lang.hm
Cc: Stephen Clark <sclark46@earthlink.net>,
	Evgeniy Polyakov <johnpol@2ka.mipt.ru>,
	"Rafael J. Wysocki" <rjw@sisk.pl>,
	Andrew Morton <akpm@linux-foundation.org>,
	Tilman Schmidt <tilman@imap.cc>,
	Valdis.Kletnieks@vt.edu, Mark Lord <lkml@rtr.ca>,
	David Miller <davem@davemloft.net>,
	jesper.juhl@gmail.com, yoshfuji@linux-ipv6.org, jeff@garzik.org,
	linux-kernel <linux-kernel@vger.kernel.org>,
	git@vger.kernel.org, netdev@vger.kernel.org
Subject: Re: Reporting bugs and bisection
Date: Mon, 14 Apr 2008 06:39:39 +0200	[thread overview]
Message-ID: <20080414043939.GA6862@1wt.eu> (raw)
In-Reply-To: <alpine.DEB.1.10.0804131546370.9318@asgard>

On Sun, Apr 13, 2008 at 04:51:34PM -0700, david@lang.hm wrote:
> cross-posted to git for the suggestion at the bottom
> 
> On Sun, 13 Apr 2008, Stephen Clark wrote:
> 
> >Evgeniy Polyakov wrote:
> >>On Sun, Apr 13, 2008 at 10:33:49PM +0200, Rafael J. Wysocki (rjw@sisk.pl) 
> >>wrote:
> >>>Things like this are very disappointing and have a very negative impact 
> >>>on bug
> >>>reporters.  We should do our best to avoid them.
> >>
> >>Shit happens. This is a matter of either bug report or those who were in
> >>the copy list. There are different people and different situations, in
> >>which they do not reply.
> >>
> >Well less shit would happen if developers would take the time to at least 
> >test their patches before they were submitted. It like we will just have 
> >the poor user do our testing for us. What kind of testing do developers 
> >do. I been a linux user and have followed the LKML for a number of years 
> >and have yet to see
> >any test plans for any submitted patches.
> 
> I've been reading LKML for 11 years now, I've tested kernels and reported 
> a few bugs along the way.
> 
> the expectation is that the submitter should have tested the patches 
> before submitting them (where hardware allows). but that "where hardware 
> allows" is a big problem. so many issues are dependant on hardwre that 
> it's not possible to test everything.
> 
> there are people who download, compile and test the tree nightly (with 
> farms of machines to test different configs), but they can't catch 
> everything.
> 
> expecting the patches to be tested to the point where there are no bugs is 
> unreasonable.
[...]

Agreed. The difficulty is that only the developer knows how confident
he is in his code. Even the subsystem maintainer does not know, which
is the real issue since as long as the code is not identified, he does
not know whom to ping.

And I think that it might help if we could add a "Trust" rating to the
patches we submit, similarly to "Tested-By" or "Signed-off-by". We could
use 1 to 5. Basically, when the patch was completed at 3am and just builds,
it's more likely 1/5. When it has been stressed for 1 week, it would be
4/5. 5/5 would only be used in backports of known working code, for some
wide-used external patches, or for trivial patches (eg: doc/whitespace
fixes). The goal would clearly not be to just trust patches with a high
rate (since they might break when associated with others), but for the
subsystem maintainer to quickly check if there are some of them the
author does not 100% trust, in which case he could ping the author to
check if his patch *may* cause the reported problem.

What makes this rating system delicate is that the rate cannot be changed
afterwards. But after all, that's not much of a problem. A bug may very
well reveal itself one year after the code was merged, so it's really the
developer's estimation which matters.

For this to be efficiently used, we would need git-commit to accept a
new "-T <rating>" argument with the following possible values :

   0: untested (default)
   1: builds
   2: seems to be working
   3: passed basic non-regression tests
   4: survived stress testing at the developer's
   5: known to be working for a long time somewhere else

I'm sure many people would find this useless (or in fact reject the
idea because it would show that most code will be rated 1 or 2),
but I really think it can help subsystem maintainers make the relation
between a reported bug and a possible submitter.

Willy


  parent reply	other threads:[~2008-04-14  4:48 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <47FEADCB.7070104@rtr.ca>
     [not found] ` <20080413121831.d89dd424.akpm@linux-foundation.org>
     [not found]   ` <20080413202118.GA29658@2ka.mipt.ru>
     [not found]     ` <200804132233.50491.rjw@sisk.pl>
     [not found]       ` <20080413205406.GA9190@2ka.mipt.ru>
     [not found]         ` <48028830.6020703@earthlink.net>
2008-04-13 23:51           ` Reporting bugs and bisection david
2008-04-14  0:36             ` Jakub Narebski
2008-04-14  4:39             ` Willy Tarreau [this message]
2008-04-14  5:39               ` Al Viro
2008-04-14  6:24                 ` Andrew Morton
2008-04-14  6:39                   ` David Miller
2008-04-14  6:43                     ` David Miller
2008-04-14  7:23                   ` Al Viro
2008-04-14  7:43                     ` Al Viro
2008-04-14  8:04                     ` Andrew Morton
2008-04-14  8:30                       ` David Miller
2008-04-14  9:06                         ` Christoph Hellwig
2008-04-14  9:46                         ` Andi Kleen
2008-04-15  5:25                           ` Bill Fink
2008-04-14 10:15                         ` Andrew Morton
2008-04-14 10:41                           ` David Miller
2008-04-14 17:35                             ` Roman Shaposhnik
2008-04-14 12:08                       ` Adrian Bunk
2008-04-14 14:43                       ` Arjan van de Ven
2008-04-14 17:51                         ` Andrew Morton
2008-04-14 18:24                           ` Arjan van de Ven
2008-04-14 19:30                           ` Ilpo Järvinen
2008-04-14 15:54                     ` James Morris
2008-04-14 22:01                       ` David Miller
2008-04-14 23:05                         ` Andrew Morton
2008-04-15  4:55                           ` Willy Tarreau
2008-04-15 13:18                             ` Work WAS(Re: " jamal
2008-04-15  9:33                       ` David Newall
2008-04-15  9:54                         ` Michael Kerrisk
2008-04-15 14:04                           ` David Newall
2008-04-15 20:51                             ` Rafael J. Wysocki
2008-04-16  2:34                               ` David Newall
2008-04-16  3:53                                 ` david
2008-04-16  9:06                                   ` David Newall
2008-04-16 11:02                                     ` Andi Kleen
2008-04-16 12:41                                   ` Stephen Clark
2008-04-16  4:29                                 ` Willy Tarreau
2008-04-16 12:13                                   ` Rafael J. Wysocki
2008-04-16 12:15                         ` Sverre Rabbelier
2008-04-16 13:26                           ` Adrian Bunk
2008-04-16 19:02                             ` Andrew Morton
2008-04-16 19:43                               ` Sverre Rabbelier
2008-04-16 19:55                               ` Adrian Bunk
2008-04-17 13:50                                 ` J. Bruce Fields
2008-04-17 15:26                                   ` Adrian Bunk
2008-04-16 19:58                               ` Alexey Dobriyan
2008-04-16 20:01                               ` Arjan van de Ven
2008-04-16 19:39                             ` Sverre Rabbelier
2008-04-16 20:16                               ` Adrian Bunk
2008-04-16 20:53                                 ` Adrian Bunk
2008-04-16 21:05                                   ` Sverre Rabbelier
2008-04-16 21:25                                     ` Adrian Bunk
2008-04-16 20:04                             ` Willy Tarreau
2008-04-16 20:55                               ` Jakub Narebski
2008-04-16 21:17                           ` Jesper Juhl
2008-04-17 17:04                             ` David Newall
2008-04-17 19:09                               ` Rafael J. Wysocki
2008-04-17 19:35                                 ` Ray Lee
2008-04-17 19:57                                   ` Sverre Rabbelier
2008-04-17 20:16                                   ` Al Viro
2008-04-17 20:38                                     ` Ray Lee
2008-04-17 20:53                                       ` Al Viro
2008-04-17 21:01                                         ` Ray Lee
2008-04-14 19:13                   ` Rene Herman
2008-04-14 20:38                     ` Andrew Morton
2008-04-14 22:18                       ` Rene Herman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080414043939.GA6862@1wt.eu \
    --to=w@1wt.eu \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=akpm@linux-foundation.org \
    --cc=davem@davemloft.net \
    --cc=david@lang.hm \
    --cc=git@vger.kernel.org \
    --cc=jeff@garzik.org \
    --cc=jesper.juhl@gmail.com \
    --cc=johnpol@2ka.mipt.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@rtr.ca \
    --cc=netdev@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=sclark46@earthlink.net \
    --cc=tilman@imap.cc \
    --cc=yoshfuji@linux-ipv6.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).