qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: John Snow <jsnow@redhat.com>
To: Cornelia Huck <cohuck@redhat.com>, Thomas Huth <thuth@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] QEMU Summit 2017: minutes
Date: Tue, 28 Nov 2017 13:30:23 -0500	[thread overview]
Message-ID: <72bd7016-cf0b-713c-444b-cc1f25787cd8@redhat.com> (raw)
In-Reply-To: <20171128103632.48f11fba.cohuck@redhat.com>



On 11/28/2017 04:36 AM, Cornelia Huck wrote:
> On Tue, 28 Nov 2017 09:33:52 +0100
> Thomas Huth <thuth@redhat.com> wrote:
> 
>> On 27.11.2017 23:03, John Snow wrote:
>>>
>>> On 11/23/2017 11:31 AM, Peter Maydell wrote:  
>> [...]
>>>> Continuous Integration:
>>>>  * Christian Borntraeger: qemu-iotests have broken a lot, they should be
>>>>    run before patches are merged  
>>>
>>> This, rather unfortunately, is a huge testing burden. I try to make sure
>>> I do it for everything I submit, but for the volume of block patches it
>>> really does rely CI. The more we add (to our pitifully sparse iotesting,
>>> I might add) the longer it takes. Ensuring per-patch testing begins to
>>> take prohibitively long.
>>>
>>> Perhaps per-pull or per-merge becomes more feasible. Maybe if we do
>>> implement a block-next amalgam we'd be able to batch our testing on a
>>> weekly basis.  
>>
>> I think you block-layer folks should do at least run the qemu-iotests
>> before sending a pull request to Peter. The iotests should really not be
>> broken in upstream master.
> 
> This is unlikely to cover the iotest failures on s390 (due to usage of
> ccw, strange backing devices, etc.), though. We have basically two
> options here:
> - Continue to rely on the IBM folks finding those problems (which will
>   likely be post-merge, but better than nothing.)
> - Have patchew (which has a bot on s390) execute the iotests - which is
>   time-consuming.
> 

Does patchew test pull requests? Perhaps Peter could wait for an ACK
from patchew before committing. Peter and patchew could check PRs in
tandem and perhaps he can commit fully only when patchew ACKs.

for PRs specifically, perhaps patchew can indeed send an affirmative ACK
to the list indicating success.

>>
>>>>  * Peter Maydell: If it isn't tested by "make check" then it isn't tested:
>>>>    so if something is regularly regressing then it needs to be added to
>>>>    "make check".  
>>>
>>> Is this tenable long term? We can't conceivably state that we will never
>>> test things that aren't in "make check" -- we ought to have different
>>> tiers, at least. The full testing suite should run for RC tags at least,
>>> but it's not feasible (I think?) to run the entire battery of tests on
>>> every commit... but that shouldn't stop us from running them /sometimes/...  
>>
>> We've already got "make check SPEED=slow" for running tests that take a
>> lot of time. So maybe you could do that in the iotests as well, so that
>> the normal, quick tests can be run during "make check" and the full
>> iotest suite is only run during "make check SPEED=slow" ?
> 
> +1 to that. Having a subset covered by default is better than nothing
> at all.
> 

Sure, I was just taking issue with Peter's phrasing of 'If it isn't
tested by "make check" then it isn't tested' -- this sounds like policy
we should change and indeed formalize fast and slow paths.

Of course, this is the block maintainers' job more than anyone else's,
hence some other musings above and in my initial reply.

  reply	other threads:[~2017-11-28 18:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-23 16:31 [Qemu-devel] QEMU Summit 2017: minutes Peter Maydell
2017-11-27 22:03 ` John Snow
2017-11-28  8:33   ` Thomas Huth
2017-11-28  9:36     ` Cornelia Huck
2017-11-28 18:30       ` John Snow [this message]
2017-11-29  8:31         ` Cornelia Huck
2017-11-29  9:06           ` Fam Zheng

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=72bd7016-cf0b-713c-444b-cc1f25787cd8@redhat.com \
    --to=jsnow@redhat.com \
    --cc=cohuck@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    /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).