public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: david@lang.hm
To: Stephen Clark <sclark46@earthlink.net>
Cc: Evgeniy Polyakov <johnpol@2ka.mipt.ru>,
	"Rafael J. Wysocki" <rjw@sisk.pl>,
	Andrew Morton <akpm@linux-foundation.org>,
	Willy Tarreau <w@1wt.eu>, 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: Sun, 13 Apr 2008 16:51:34 -0700 (PDT)	[thread overview]
Message-ID: <alpine.DEB.1.10.0804131546370.9318@asgard> (raw)
In-Reply-To: <48028830.6020703@earthlink.net>

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.

bisecting is a very powerful tool, but I do think that sometimes 
developers lean on it a bit much. taking the attitude (as some have) that 
'if the reporter can't be bothered to do a bisection I can't be bothered 
to deal with the bug' is going way too far.

if a bug can be reproduced reliably on a test system then bisecting it may 
reveal the patch that introduced or unmasked the bug (assuming that there 
aren't other problems along the way), but if the bug takes a long time to 
show up after a boot, or only happens under production loads, bisecting it 
may not be possible. that doesn't mean that the bug isn't real, it just 
means that the user is going to have to stick with an old version until 
there is a solution or work-around.

even in the hard-to-test situations, the reporter is usually able to test 
a few fixes, but there's a big difference between going to management and 
saying "the kernel guru's think that this will help, can we test it this 
weekend" 2-3 times and doing a bisection that will take 10-15 cycles to 
find the problem.

it's very reasonable to ask the reporter if they can bisect the problem, 
but if they say that they can't, declaring that they are out of luck is 
not reasonable, it just means that it's going to take more thinking to 
find the problem instead of being able to let the mechanical bisect 
process narrow things down for you. it may mean that the developer will 
need to make a patch to instrament an old (working) kernel that has 
minimal impact on that kernel so that the reporter can run this to gather 
information about what the load is so that the developer can try to 
simulate it on a new (non-working) kernel

in theory everyone has a test environment that lets them simulate 
everything in their production envrionment. in practice this is only true 
at the very low end (where it's easy to do) and the very high end (where 
it's so critical that it's done no matter how much it costs). Everyone 
else has a test environment that can test most things, but not everything. 
As such when they run into a problem they may not be able to do lots of 
essentially random testing.

elsewhere in this thread someone said that the pre-git way was to do a 
manual bisect where the developer would send patches backing out specific 
changes to find the problem. one big difference between tat and bisecting 
the problem is that the manual process was focused on the changes in the 
area that is suspected of causing the problem, while the git bisect 
process goes after all changes. this makes it much more likely that the 
tester will run into unrelated problems along the way.

I wonder if it would be possible to make a variation of git bisect that 
only looked at a subset of the tree when picking bisect points (if you are 
looking for a e1000 bug, testing bisect points that haven't changed that 
driver won't help you for example). If this can be done it would speed up 
the reporters efforts, but will require more assistance from the 
developers (who would need to tell the reporters what subtrees to test) so 
it's a tradeoff of efficiancy vs simplicity.

David Lang

  parent reply	other threads:[~2008-04-13 23:56 UTC|newest]

Thread overview: 122+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20080409.182228.193699767.davem@davemloft.net>
     [not found] ` <47FE3020.1070502@imap.cc>
     [not found]   ` <9a8748490804101509l5d043ff8w565dc44dfeaf0072@mail.gmail.com>
     [not found]     ` <20080410.154651.101700010.davem@davemloft.net>
2008-04-11  0:16       ` 2.6.25-rc8: FTP transfer errors Mark Lord
2008-04-11  0:24         ` David Miller
2008-04-11  0:27           ` Mark Lord
2008-04-11  0:39             ` David Miller
2008-04-11  1:23               ` Mark Lord
2008-04-11  6:40                 ` Ilpo Järvinen
2008-04-11 13:19                   ` Mark Lord
2008-04-11 14:35                     ` Evgeniy Polyakov
2008-04-11 14:59                       ` Mark Lord
2008-04-11 15:18                         ` Evgeniy Polyakov
2008-04-11 18:07                           ` David Miller
2008-04-11 21:29                             ` Evgeniy Polyakov
2008-04-12  8:44                             ` Willy Tarreau
2008-04-12  9:49                               ` David Miller
2008-04-13 18:15                                 ` Rafael J. Wysocki
2008-04-13 18:51                                   ` Sergio Luis
2008-04-13 19:24                                     ` Rafael J. Wysocki
2008-04-11 19:58                         ` Valdis.Kletnieks
2008-04-11 22:16                       ` Tilman Schmidt
2008-04-11 22:25                         ` Evgeniy Polyakov
2008-04-11 22:27                           ` David Miller
2008-04-11 23:23                           ` Tilman Schmidt
2008-04-12  5:37                             ` Evgeniy Polyakov
2008-04-12  7:06                             ` Ilpo Järvinen
2008-04-11 22:26                         ` David Miller
2008-04-11 19:58                 ` Valdis.Kletnieks
2008-04-11 22:27                   ` Tilman Schmidt
2008-04-13 18:40                     ` Reporting bugs and bisection (was: Re: 2.6.25-rc8: FTP transfer errors) Rafael J. Wysocki
2008-04-13 18:47                       ` Willy Tarreau
2008-04-13 19:18                         ` Andrew Morton
2008-04-13 19:27                           ` Rafael J. Wysocki
2008-04-13 19:47                           ` Reporting bugs and bisection David Miller
2008-04-13 20:21                           ` Reporting bugs and bisection (was: Re: 2.6.25-rc8: FTP transfer errors) Evgeniy Polyakov
2008-04-13 20:33                             ` Rafael J. Wysocki
2008-04-13 20:54                               ` Evgeniy Polyakov
2008-04-13 22:24                                 ` Reporting bugs and bisection Stephen Clark
2008-04-13 22:41                                   ` Rafael J. Wysocki
2008-04-13 23:51                                   ` david [this message]
2008-04-14  0:36                                     ` Jakub Narebski
2008-04-14  4:39                                     ` Willy Tarreau
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
2008-04-14  9:26                                   ` Andi Kleen
2008-04-13 20:35                             ` David Miller
2008-04-14 10:18                           ` Reporting bugs and bisection (was: Re: 2.6.25-rc8: FTP transfer errors) Ingo Molnar
2008-04-14 10:29                             ` Reporting bugs and bisection Andi Kleen
2008-04-13 20:10                         ` Reporting bugs and bisection (was: Re: 2.6.25-rc8: FTP transfer errors) Adrian Bunk
2008-04-14  9:58                         ` Reporting bugs and bisection Andi Kleen
2008-04-14 10:00                           ` Willy Tarreau
2008-04-14 10:16                             ` Andi Kleen
2008-04-15 21:53               ` about bisections (was: Re: 2.6.25-rc8: FTP transfer errors) Ingo Molnar
2008-04-15 22:30                 ` about bisections David Miller
2008-04-15 22:48                   ` Ingo Molnar
2008-04-11  0:56           ` 2.6.25-rc8: FTP transfer errors Tilman Schmidt
2008-04-11  1:08             ` David Miller
2008-04-11  0:26         ` David Miller
2008-04-11  0:29           ` Mark Lord
2008-04-11  2:59             ` YOSHIFUJI Hideaki / 吉藤英明
2008-04-11  3:18               ` [PATCH 2.6.25] net sockets: fix timewait namespace regression Mark Lord
2008-04-11  3:51                 ` David Miller
2008-04-11  7:50               ` 2.6.25-rc8: FTP transfer errors Pavel Emelyanov

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=alpine.DEB.1.10.0804131546370.9318@asgard \
    --to=david@lang.hm \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=akpm@linux-foundation.org \
    --cc=davem@davemloft.net \
    --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=w@1wt.eu \
    --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