qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] [RESEND2] Qemu unmaintained?


From: Mark McLoughlin
Subject: Re: [Qemu-devel] [PATCH] [RESEND2] Qemu unmaintained?
Date: Mon, 14 Sep 2009 08:49:55 +0100

On Sun, 2009-09-13 at 19:19 +0300, Avi Kivity wrote:
> On 09/10/2009 11:36 PM, Mark McLoughlin wrote:
> > On Thu, 2009-09-10 at 21:40 +0300, Avi Kivity wrote:
> >
> >    
> >> (and we're quite far from catching every regression btw).
> >>      
> > That's kind of my point. A lot of regressions are only found after
> > they've been pushed. Delaying a push delays finding those regressions.
> >    
> 
> That makes sense if the regression tests don't find any regressions.

Or if the regression tests take too long - rather than regression tests
that take 5 hours to run, I'd prefer to see a subset of those which
takes e.g. 30 minutes be used to sanity check a tree before pushing it.

This would allow smaller batches to be pushed more regularly, while the
more in-depth testing can be done less regularly on batches not much
larger than are being pushed now.

> If 
> they do, then pushing despite those regressions means everyone is now 
> hitting the regressions, swearing, and trying to work around them.  We 
> get massive parallelism but little progress.

Not all regressions are equal. I wouldn't mind some regressions in the
tree so long as they are being tracked as "must be fixed" before the
release.

Clearly anything causing people to swear should be reverted. Assuming
you can tell which patch caused the problem.

> > Don't get me wrong - we certainly want to avoid regressions and doing
> > some testing before pushing is a good idea, but there is a balance to be
> > struck.
> >
> > It's also the case that not all patches are equal. It should be possible
> > to short-cut the process for small patches, or regression fixes, or
> > patches from a trusted author who has done significant testing already.
> >    
> 
> I think reducing the batch size will also help.  If the batch contains 
> 100 patches there's a high likelihood of a regression in there.  If 
> you're testing 10-15 patches at a time it may actually work, and if not, 
> you can easily guess who the offender is.

The batch size is determined by the length of time the testing takes,
right?

But agree, with a large batch, you're more likely to find at least one
regression, to struggle to figure out which patch caused the regression
and to go through several iterations before you have something to push.

Cheers,
Mark.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]